Environment Variables for Username and Password are written into the Pipfile and Pipfile.lock as text

When using environment variables for private repositories as sources like this:
${my_environ_var}
everything works perfectly, but the environment variable gets substituted into clear text in the Pipfile and Pipfile.lock. If I git push everything, everyone could see my Username and Password of my private pip repository.
I am not sure if this is a bug, or if this is intended, but then I don't understand the use of this.

What is the command you are using when this happens. If you’re sending them in the shell, e.g.
$ pipenv install<EMAIL_ADDRESS>
Then this is expanded by your shell before Pipenv has a chance to see it, and there’s nothing we can do.

I added the remote source in the Pipfile as a source with the variables as:
[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "pypi"
When I fetch the packages it substitutes the values in the Pipfile for the ones in my environment.

OK. In that case, I’ll need you to fill the issue template to continue debugging.

Ok will do.

closing due to lack of movement


Segmentation fault on Ubuntu 14.04 LTS

Hello,
We are running last mod pagespped on Ubuntu 14.04 LTS (Linux xhost 3.19.0-31-generic #36~14.04.1-Ubuntu SMP Thu Oct 8 10:21:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux), mod pagespeed version <IP_ADDRESS>-7497 @8494, apache 2.4 (2.4.7-1ubuntu4.8) - mpm worker. We have tested binary stable and also beta version, both are crushing with segfault. So now I have compiled last version with symbols. Gdb output see bellow. Please, where could be the problem ?
Thanks
Modul configuration:
 ModPagespeed on
ModPagespeedInheritVHostConfig on
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedFileCachePath            "/var/cache/mod_pagespeed/"
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedSslCertDirectory "/etc/ssl/certs"
ModPagespeedFileCacheInodeLimit        500000
ModPagespeedStatistics off
ModPagespeedRateLimitBackgroundFetches off
<Location /pagespeed_admin>
    Order allow,deny
    Allow from localhost
    Allow from <IP_ADDRESS>
    SetHandler pagespeed_admin
</Location>
<Location /pagespeed_global_admin>
    Order allow,deny
    Allow from localhost
    Allow from <IP_ADDRESS>
    SetHandler pagespeed_global_admin
</Location>
ModPagespeedStatisticsLogging on
ModPagespeedMessageBufferSize 100000

in vhost, there is local configuration
ModPagespeed on
ModPagespeedEnableFilters combine_javascript
ModPagespeedLoadFromFileMatch ...
Gdb output:
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff255780e09 in net_instaweb::Variable::Add (this=0xdeadbeefdeadbeef, non_negative_delta=1) at ./pagespeed/kernel/base/statistics.h:56
56	    return AddHelper(non_negative_delta);
(gdb) bt
#0  0x00007ff255780e09 in net_instaweb::Variable::Add (this=0xdeadbeefdeadbeef, non_negative_delta=1) at ./pagespeed/kernel/base/statistics.h:56
#1  0x00007ff255c73f3c in net_instaweb::InPlaceResourceRecorder::DoneAndSetHeaders (this=0x7ff1e4188868, response_headers=0x7ff242fec920,
    entire_response_received=false) at net/instaweb/system/in_place_resource_recorder.cc:230
#2  0x00007ff255795b64 in net_instaweb::(anonymous namespace)::instaweb_in_place_check_headers_filter (filter=0x7ff2503f46c0, bb=0x7ff25a2a4830)
    at net/instaweb/apache/mod_instaweb.cc:823
#3  0x00007ff25a3af5dc in ap_content_length_filter (f=0x7ff25a2a3520, b=0x7ff25a2a4830) at protocol.c:1403
#4  0x00007ff25a3d811e in ap_send_error_response (r=0x7ff2503fa028, recursive_error=0) at http_protocol.c:1526
#5  0x00007ff25885de42 in action_handler (r=0x7ff2503f4718) at mod_actions.c:205
#6  0x00007ff25a3c3be0 in ap_run_handler (r=0x7ff2503f4718) at config.c:169
#7  0x00007ff25a3c4129 in ap_invoke_handler (r=r@entry=0x7ff2503f4718) at config.c:439
#8  0x00007ff25a3d918c in ap_internal_redirect (new_uri=<optimized out>, r=<optimized out>) at http_request.c:648
#9  0x00007ff254abacfc in handler_redirect (r=0x7ff25a2a20a0) at mod_rewrite.c:5063
#10 0x00007ff25a3c3be0 in ap_run_handler (r=0x7ff25a2a20a0) at config.c:169
#11 0x00007ff25a3c4129 in ap_invoke_handler (r=r@entry=0x7ff25a2a20a0) at config.c:439
#12 0x00007ff25a3d96ca in ap_process_async_request (r=r@entry=0x7ff25a2a20a0) at http_request.c:317
#13 0x00007ff25a3d99a4 in ap_process_request (r=r@entry=0x7ff25a2a20a0) at http_request.c:363
#14 0x00007ff25a3d6442 in ap_process_http_sync_connection (c=0x7ff25a2b02c8) at http_core.c:190
#15 ap_process_http_connection (c=0x7ff25a2b02c8) at http_core.c:231
#16 0x00007ff25a3cd220 in ap_run_process_connection (c=0x7ff25a2b02c8) at connection.c:41
#17 0x00007ff25a3cd608 in ap_process_connection (c=c@entry=0x7ff25a2b02c8, csd=csd@entry=0x7ff25a2b00b0) at connection.c:202
#18 0x00007ff2567e6293 in process_socket (bucket_alloc=0x7ff25a2a6028, my_thread_num=18, my_child_num=1, sock=0x7ff25a2b00b0, p=0x7ff25a2b0028,
    thd=0x7ff25a5539a8) at worker.c:619
#19 worker_thread (thd=0x7ff25a5539a8, dummy=<optimized out>) at worker.c:978
#20 0x00007ff25989c182 in start_thread (arg=0x7ff242fed700) at pthread_create.c:312
#21 0x00007ff2595c947d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Hi thanks for the detailed traceback.  Could you correlate this failure
against a request in your access.log and share with us the resource that
was fetched, plus your pagespeed configuration?
One other thing, can you tell us what other modules you have installed?
This looks like something we should be able to reproduce and fix.  I just
glanced at the code in question and I see it's not coded defensively
against a corrupt apache bucket brigade.
On Thu, Nov 19, 2015 at 10:16 AM, mfiala<EMAIL_ADDRESS>wrote:

Hello,
We are running last mod pagespped on Ubuntu 14.04 LTS (Linux xhost
3.19.0-31-generic #36
https://github.com/pagespeed/mod_pagespeed/issues/36~14.04.1-Ubuntu SMP
Thu Oct 8 10:21:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux), mod pagespeed
version <IP_ADDRESS>-7497 @8494, apache 2.4 (2.4.7-1ubuntu4.8) - mpm worker.
We have tested binary stable and also beta version, both are crushing with
segfault. So now I have compiled last version with symbols. Gdb output see
bellow. Please, where could be the problem ?
Thanks
Modul configuration:
ModPagespeed on
ModPagespeedInheritVHostConfig on
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedFileCachePath            "/var/cache/mod_pagespeed/"
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedSslCertDirectory "/etc/ssl/certs"
ModPagespeedFileCacheInodeLimit        500000
ModPagespeedStatistics off
ModPagespeedRateLimitBackgroundFetches off
<Location /pagespeed_admin>
Order allow,deny
Allow from localhost
Allow from <IP_ADDRESS>
SetHandler pagespeed_admin

<Location /pagespeed_global_admin>
Order allow,deny
Allow from localhost
Allow from <IP_ADDRESS>
SetHandler pagespeed_global_admin

ModPagespeedStatisticsLogging on
ModPagespeedMessageBufferSize 100000
in vhost, there is local configuration
ModPagespeed on
ModPagespeedEnableFilters combine_javascript
ModPagespeedLoadFromFileMatch ...
Gdb output:
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ff255780e09 in net_instaweb::Variable::Add
(this=0xdeadbeefdeadbeef, non_negative_delta=1) at
./pagespeed/kernel/base/statistics.h:56
56 return AddHelper(non_negative_delta);
(gdb) bt
#0 0x00007ff255780e09 in net_instaweb::Variable::Add
(this=0xdeadbeefdeadbeef, non_negative_delta=1) at
./pagespeed/kernel/base/statistics.h:56
#1 https://github.com/pagespeed/mod_pagespeed/issues/1
0x00007ff255c73f3c in
net_instaweb::InPlaceResourceRecorder::DoneAndSetHeaders
(this=0x7ff1e4188868, response_headers=0x7ff242fec920,
entire_response_received=false) at
net/instaweb/system/in_place_resource_recorder.cc:230
#2 https://github.com/pagespeed/mod_pagespeed/issues/2
0x00007ff255795b64 in net_instaweb::(anonymous
namespace)::instaweb_in_place_check_headers_filter (filter=0x7ff2503f46c0,
bb=0x7ff25a2a4830)
at net/instaweb/apache/mod_instaweb.cc:823
#3 https://github.com/pagespeed/mod_pagespeed/issues/3
0x00007ff25a3af5dc in ap_content_length_filter (f=0x7ff25a2a3520,
b=0x7ff25a2a4830) at protocol.c:1403
#4 https://github.com/pagespeed/mod_pagespeed/issues/4
0x00007ff25a3d811e in ap_send_error_response (r=0x7ff2503fa028,
recursive_error=0) at http_protocol.c:1526
#5 https://github.com/pagespeed/mod_pagespeed/issues/5
0x00007ff25885de42 in action_handler (r=0x7ff2503f4718) at mod_actions.c:205
#6 https://github.com/pagespeed/mod_pagespeed/issues/6
0x00007ff25a3c3be0 in ap_run_handler (r=0x7ff2503f4718) at config.c:169
#7 https://github.com/pagespeed/mod_pagespeed/issues/7
0x00007ff25a3c4129 in ap_invoke_handler (r=r@entry=0x7ff2503f4718) at
config.c:439
#8 https://github.com/pagespeed/mod_pagespeed/issues/8
0x00007ff25a3d918c in ap_internal_redirect (new_uri=, r=) at
http_request.c:648
#9 https://github.com/pagespeed/mod_pagespeed/issues/9
0x00007ff254abacfc in handler_redirect (r=0x7ff25a2a20a0) at
mod_rewrite.c:5063
#10 https://github.com/pagespeed/mod_pagespeed/issues/10
0x00007ff25a3c3be0 in ap_run_handler (r=0x7ff25a2a20a0) at config.c:169
#11 https://github.com/pagespeed/mod_pagespeed/issues/11
0x00007ff25a3c4129 in ap_invoke_handler (r=r@entry=0x7ff25a2a20a0) at
config.c:439
#12 https://github.com/pagespeed/mod_pagespeed/issues/12
0x00007ff25a3d96ca in ap_process_async_request (r=r@entry=0x7ff25a2a20a0)
at http_request.c:317
#13 https://github.com/pagespeed/mod_pagespeed/issues/13
0x00007ff25a3d99a4 in ap_process_request (r=r@entry=0x7ff25a2a20a0) at
http_request.c:363
#14 https://github.com/pagespeed/mod_pagespeed/issues/14
0x00007ff25a3d6442 in ap_process_http_sync_connection (c=0x7ff25a2b02c8) at
http_core.c:190
#15 https://github.com/pagespeed/mod_pagespeed/issues/15
ap_process_http_connection (c=0x7ff25a2b02c8) at http_core.c:231
#16 https://github.com/pagespeed/mod_pagespeed/issues/16
0x00007ff25a3cd220 in ap_run_process_connection (c=0x7ff25a2b02c8) at
connection.c:41
#17 https://github.com/pagespeed/mod_pagespeed/issues/17
0x00007ff25a3cd608 in ap_process_connection (c=c@entry=0x7ff25a2b02c8,
csd=csd@entry=0x7ff25a2b00b0) at connection.c:202
#18 https://github.com/pagespeed/mod_pagespeed/issues/18
0x00007ff2567e6293 in process_socket (bucket_alloc=0x7ff25a2a6028,
my_thread_num=18, my_child_num=1, sock=0x7ff25a2b00b0, p=0x7ff25a2b0028,
thd=0x7ff25a5539a8) at worker.c:619
#19 https://github.com/pagespeed/mod_pagespeed/issues/19 worker_thread
(thd=0x7ff25a5539a8, dummy=) at worker.c:978
#20 https://github.com/pagespeed/mod_pagespeed/issues/20
0x00007ff25989c182 in start_thread (arg=0x7ff242fed700) at
pthread_create.c:312
#21 https://github.com/pagespeed/mod_pagespeed/issues/21
0x00007ff2595c947d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
—
Reply to this email directly or view it on GitHub
https://github.com/pagespeed/mod_pagespeed/issues/1191.

Hi,
I have created testing virtual host in apache. I have tested vhost via benchmark tool siege:
siege -v -i -d 1 -c 8 -t 10s -f urls.txt
urls.txt see attachment
urls.txt
I have tested mpm worker and also mpm prefork, the problem exists in both mpm.
There is no problem during running siege test, but after the test a segfault appears (when number of apache threads/processes decreases). The problem does not  appear everytime I am running the test. I can say, when I repeat the test 10 times, then the problem appears in one of the run.
Loaded apache modules:
core.c, http_core.c, mod_access_compat.c, mod_actions.c, mod_alias.c,
mod_auth_basic.c, mod_authn_core.c, mod_authn_file.c, mod_authz_core.c,
mod_authz_host.c, mod_authz_user.c, mod_autoindex.c, mod_deflate.c,
mod_dir.c, mod_env.c, mod_fastcgi.c, mod_filter.c, mod_info.c,
mod_instaweb.cc, mod_log_config.c, mod_logio.c, mod_mime.c,
mod_negotiation.c, mod_rewrite.c, mod_setenvif.c, mod_so.c, mod_status.c,
mod_unixd.c, mod_version.c, mod_watchdog.c, worker.c,
Server Apache Settings
Server Version: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141
Server Built: Oct 14 2015 14:20:21
Server loaded APR Version: 1.5.1-dev
Compiled with APR Version: 1.5.1-dev
Server loaded APU Version: 1.5.3
Compiled with APU Version: 1.5.3
Module Magic Number: 20120211:27
Hostname/port: localhost:80
Timeouts: connection: 300    keep-alive: 5
MPM Name: worker
MPM Information: Max Daemons: 1 Threaded: yes Forked: yes
Server Architecture: 64-bit
Server Root: /etc/apache2
Config File: /etc/apache2/apache2.conf
Server Built With: -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6
(IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -
D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -
D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/
usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -
D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/
error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -
D SERVER_CONFIG_FILE="apache2.conf"
Modul configuration (global)

ModPagespeed on
ModPagespeedInheritVHostConfig on
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedFileCachePath            "/var/cache/mod_pagespeed/"
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedSslCertDirectory "/etc/ssl/certs"
ModPagespeedFileCacheInodeLimit        500000
ModPagespeedStatistics off
ModPagespeedRateLimitBackgroundFetches off
<Location /pagespeed_admin>
    Order allow,deny
    Allow from localhost
    Allow from <IP_ADDRESS>
    SetHandler pagespeed_admin
</Location>
<Location /pagespeed_global_admin>
    Order allow,deny
    Allow from localhost
    Allow from <IP_ADDRESS>
    SetHandler pagespeed_global_admin
</Location>
ModPagespeedStatisticsLogging on
ModPagespeedMessageBufferSize 100000

Modul configuraion (testing vhost, other vhosts have  ModPagespeed unplugged)
ModPagespeed on
ModPagespeedEnableFilters combine_javascript
ModPagespeedLoadFromFileMatch "^https?://(amplion.centrum.cz|econ.slevydnes.cz)/(ads|adSeznam|cache|cache_web|css|gfx|img|js|mailing|newsletters|soutez)/" "/sdb1/www/slevydnes.cz/www/\1/"

Thanks for the config info and url list.  It looks like the only non-default module you have besides pagespeed is fastcgi; is that right?
The stack-trace you gave me points to a bug in the code that is trivial to fix, and I have attached a source-patch that you could apply and rebuild. The reason that problem hasn't showed up in the past is, I think, because there has to be some other bug upstream of PageSpeed to trigger it.  Specifically, apache transmits response-bodies between filters as bucket-brigades, and I think for us to run into our bug we have to get a corrupt brigade (two EOS-markers) from an upstream filter.  It might be sufficient to just fix the problem in mod_pagespeed, but it would be better to fix the problem at the source, if we can figure out what it is.
That's why I was hoping you could correlate the crash against your access log, but that might be hard.  But if you can, please apply this patch and see if it solves the problem:
diff --git a/pagespeed/apache/mod_instaweb.cc b/pagespeed/apache/mod_instaweb.cc
index c9d6686..b697558 100644
--- a/pagespeed/apache/mod_instaweb.cc
+++ b/pagespeed/apache/mod_instaweb.cc
@@ -828,6 +828,8 @@ apr_status_t instaweb_in_place_check_headers_filter(ap_filter_t* filter,
// Deletes recorder
recorder->DoneAndSetHeaders(&response_headers,
!request->connection->aborted);

 filter->ctx = NULL;

 break;

}
}

That patch got garbled when I pasted it in.  Attaching it instead:
patch.txt

I checked in a potential fix to trunk here, which is slightly different than the proposed patch above: https://github.com/pagespeed/mod_pagespeed/commit/4846786686eb00f2b3b079893f70b3d68559de7c
But if you can, I'd love for you to try it, preferably using this patch instead (identical to the commit):
patch2.txt
If this fixes the problem we should consider doing a 1.9 patch to resolve, however we will soon release 1.10 which will have this fix in it.

Hi Joshua,
thank you, I will work on it on Monday.
Have a nice weekend.

Hi,
I was not able to reproduce the problem, it looks that your patch has fixed the problem. Thank you Joshua. We will use the modified version of pagespeed in production. If something goes wrong, I will contact you. Are you going to add this patch to next version of pagespeed? if so, when?
Regards
Michal

This patch will be in 1.10, which should be out soon.


load main attribute layer as a default

When processing and merging the layers, by default, users end up at the shape layer in the "variables" window. While one can switch frames, a more intuitive thing would be to move to an attributes layer view. Maybe #2 can also resolve this with adding a main option:
geoframe create <attribute_file> <shapefile>, [options id(_ID) setmain] or something similar.
This would also allow users to add and merge layers in a second step once the frames are defined. Otherwise one really needs to prepare the data at fairly early stage. This gets a bit counter-intuitive from a workflow perspective. Additionally, a very likely use case scenario is that users work with a base layer, while other layers add added on as enhancements.

geoframe create now makes the created frame the current (working) frame; it also displays a description of the settings of the frame.

Updated the scripts and works perfectly!


Rework asset editors dependencies

PR Details
Description
Rework the relationship between assets and their editing counter parts.
The idea is to break the dependencies between what can be cross-platform (e.g. view models, previews) and what is UI-specific (editor views, preview views). On top of that, asset view model where directly dependent on their corresponding editor view model. This didn't make sense from an architecture point of view: asset view models should exist outside of an editing context ; they could for instance be reused to write an stand-alone previewer app. On the other hand, the editor view model knows which asset view model it is editing so a dependency in that direction makes sense.
Related Issue

#2034
#2082

Motivation and Context
As part of the editor rewrite, since it involves touching a lot of files, it is better to merge it into master before starting the biggest part of the rewrite. Otherwise, we could have a lot of conflicts as the xplat-editor branch will diverge from master. With that said, from this point we should only allow minor changes to the editor such as bug fixes, and make sure they are reported periodically to the xplat-editor branch.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Can't be sure that nothing is breaking, needs testing.
Runtime untouched, only editor changes.

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

Looks like sprite sheets are broken, opening ParticleButtons in the UI particle sample opens the ui for a split second then closes it

Looks like sprite sheets are broken, opening ParticleButtons in the UI particle sample opens the ui for a split second then closes it

That's a nice bug actually. For some reason, we were returning false in the Initialize() method for the SpriteSheetEditorViewModel.
https://github.com/stride3d/stride/blob/9cc2e6be443680ea3bf6cf5f6b86ef43d2abdc81/sources/editor/Stride.Assets.Presentation/AssetEditors/SpriteEditor/ViewModels/SpriteSheetEditorViewModel.cs#L180-L185
But so far, we didn't actually care about the boolean value. Returning true now obviously fixes it.

There's this screen that shows up after double clicking on a scene, right before it's loaded in and replaced by the scene view

In the previous version this screen would be showing up instead:

So it sounds like that loading screen never runs in your latest ?


chore: instrument various steps in the ann search

@wjones127

Should we give these a level?

I don't think we've had any consistent leveling scheme so far.  Maybe:

Per operation - info
Per batch - debug

?

Yeah I'm not sure what it should be. TBH I mostly default to debug for these traces. Considering whether they are O(batches) seems reasonable.

Yeah I'm not sure what it should be. TBH I mostly default to debug for these traces. Considering whether they are O(batches) seems reasonable.

@wjones127
I actually ended up doing something slightly different.  I made everything debug except the top-level "dataset" operations.


No errors/warnings/lint are displayed

I have set up this package as described in the README. I'm using it for a stack project with versions:

Atom: 1.5.3
haskell-ghc-mod: 1.9.5
ghc-mod: <IP_ADDRESS>
ghc: 7.10.3

I get types/info when I hover over identifiers in the source code, but I do not have any error/warning/lint messages showing up, even though I have "On Save Lint" and "On Save Check" set. When I look at the Console, I see the queries to ghc-mod type and ghc-mod info, but no queries to ghc-mod check.
Do you know what the problem is?
Thanks.

I just downgraded to v1.6.6 and it now works.

Does calling check from menu/command palette work? Do you have ide-haskell installed? What version? Lastly, if you're using ide-haskell frontend, make sure 'Use Linter' is disabled in haskell-ghc-mod settings, because it switches haskell-ghc-mod to use 'linter' package to display check results -- if you don't have it installed, it won't work.

Ah that was the problem. I didn't realise 'Use Linter' meant the linter package (which was not installed). Might be worth documenting that it won't work without this?
Thanks for a amazing plugin btw!

Well, option description does explicitly state 'Use Atom Linter service for check and lint'. Maybe it's not quite obvious what that implies... I could of course add a check for linter activation, but that comes with a whole lot of caveats in itself. I'll try rewording this description though.

Done. Also added a section explaining this to README. Hopefully, this leads to less confusion.

Thanks! That's a lot clearer.


render hidden item causes flicker

Describe the bug
When I call an api to get a list, I use SwipeListView, but it renders the hidden part first and causes flickering on the first render of an item, see the example below.
Screenshots

The blinking green part is the hidden view, is there any way to avoid this phenomenon?

Can I see the code you use to render the SwipeList?
This sometimes happens when people use a TouchableOpacity for their rows instead of a TouchableHighlight

I'm seeing this as well when moving in/out of view.
Here is renderItem:
<SwipeRow disableRightSwipe rightOpenValue={-75}>
        <TouchableOpacity
          disabled={inboxStore.saving}
          style={[styles.backRightBtn, styles.backRightBtnRight]}
          onPress={() => this.onArchive(item)}
        >
          <View>
            <Icon name="ios-archive" color="white" />
            <Text color="white">Archive</Text>
          </View>
        </TouchableOpacity>
        <ListItem
          convo={item}
          account={account}
          onPress={this.onMessagePress.bind(this, item)}
        />
      </SwipeRow>

And ListItem is using TouchableHighlight

Closing as inactive


Update UXD Stablecoin icon/coingeckoId & UXP (UXD Protocol Token) icon

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

got thumbsup from @acamill

related: #14005 #14466

got thumbsup from @acamill

You read my mind ser. Have a good day :)

@acamill i meant that you thumbsuped it at https://github.com/solana-labs/token-list/issues/15782

Yes I did! All good
On Wed, 26 Jan 2022 at 11:32 PM, keone @.***> wrote:

@acamill https://github.com/acamill i meant that you thumbsuped it at
#15782 https://github.com/solana-labs/token-list/issues/15782
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/token-list/pull/15780#issuecomment-1022622098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTOZY2NCDNEWA4YD7IQJPLUYBR6JANCNFSM5M3HUJNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Loading a glTF scene doesn't use the correct UV map for ambient occlusion

Bevy version
0.13.2 and latest main (9592a40e1eb387f926b787cbb3a65d9db1dfb1a3)
Relevant system information
AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "546.33", backend: Vulkan }

What you did
Load a gltf model with a ambient occlusion lightmap
What went wrong

Expected
Actual

https://gltf-viewer.donmccurdy.com/
Bevy Scene Viewer Example

In the example there is a cube mesh and a plane mesh, each with 2 UV maps. One UV map is used for the base colour and one is used for ambient occlusion. The gltf-viewer and three.js read and render the model correctly but not in bevy. The base texture can be seen properly rendered through the broken ambient occlusion texture so I suspect that the ambient occlusion is working but the 2nd UV map is not being used or being read incorrectly.
Additional information
Model used to test: gltf_model.zip

This also has problems with UV-map, but may be different kind

It is a similar issue. The material in the file is using a specific texCoord for its occlusionTexture but this is ignored by the gltf loader: https://github.com/bevyengine/bevy/blob/ade70b3925b27f76b669ac5fd9e2c31f824d7667/crates/bevy_gltf/src/loader.rs#L856

I thought with the lightmap update in 0.13, bevy pbr supported 2 UV maps? three.js is hardcoded to use the 2nd UV map for ambient occlusion and lightmap textures and the 1st UV map for everything else. Perhaps bevy could follow the same convention until multiple UV maps become more flexible?

It is a similar issue. The material in the file is using a specific texCoord for its occlusionTexture but this is ignored by the gltf loader
Problem is that baseColorTexture uses TEXCOORD_0, but (!!!) occlusionTexture uses TEXCOORD_1, bevy_pbr does use same ATTRIBUTE_UV_0 for both of them, that's why loader can't load this glb in StandardMaterial with correct bevy_pbr interpretation


Use alternative CO tax name

Apparently, the ReteRenta tax is commonly known as "Retefuente". This is how the DIAN itself calls it in their own PDF invoice representations.

@samlown as discussed over Slack (replicating here for future reference), we can look at what the DIAN itself does, and they seem to be using "ReteRenta" internally (e.g. in the UBL) and "Retefuente" only for visualisation. So, similarly, while it's not ideal to use different names, I think it's ok to keep using RR internally and leave "Retefuente" as the display name of the tax.


[ERROR]: AUTH: Session start error, calling kill

It seems that the Auth module broke after commit: 5263efc5bc86a1d06e16cb0e57ca8cc8cac599c0
Steps to reproduce:
python examples/basic/example.py
The MC server.properties file was tested with online_mode=true and online_mode=false.
Spock is not establishing a connecting to the server at all. No entries in the mc log.

Can't reproduce, you sure your credentials are correct?

Did anyone figure this one out? I'm getting the same problem to a localhost server of version 1.8.8.

You need to turn off online-mode if you just want local connections without authentication, which is unrelated to this issue anyaay


Module 5 Group Project Kanban board

Here is the link to our project Kanban board:
https://github.com/users/RitaDee/projects/7/views/1?layout=board
We are 2 in this team working on the project @Rudy-Menekam, @RitaDee

Hi @RitaDee,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, with a 404 page error. Please fix the issues link and resubmit.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Find me on slack
Martin Afani
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi Team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is not opening check previous reviewer feedback
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi team 😊,
STATUS: APPROVED! 🥇 💯

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit: 🚀
Congratulations! 🎉
Highlights
✅ Project has met all the technical aspects you needed for this project. Keep rocking!
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


alt-f and alt-b not working as expected when using "option_as_meta": true

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it

Set "option_as_meta" setting to true
Open a terminal window
Enter text with multiple words
Try to navigate forward/backward with alt-f/alt-b

Actual result:
"special" characters appear in the terminal at the cursor position as if "option_as_meta" was not working at all
Expected behavior
Using "option_as_meta" should enable using emacs navigation shortcuts such as alt-f and alt-b
I don't have much experience with the implementation details behind this but it appears to me like the "option_as_meta" configuration is simply not working properly. In all other terminals I've used, enabling a setting similar to "option_as_meta" is enough to get the desired navigation shortcuts.
Environment
Zed 0.60.4 – /Applications/Zed.app
macOS 12.6
architecture arm64

If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue
No response

Hi! I just tested this and it seems to work correctly. Can you confirm whether you're still experiencing the issue?

Apologies I'm trying Zed again and found it worked this time. I think that last time I was not adding the terminal settings under an entry "terminal".
I think my previous settings would have looked like this:
{
    "buffer_font_size": 15,
    "option_as_meta": true
}

Rather than this:
{
    "buffer_font_size": 15,
    "terminal": {
        "option_as_meta": true
    }
}

Because I had been looking for that specific setting rather than reading the whole page from the top, I hadn't realised from the context around the description of option_as_meta that those settings had to be nested as above. Possibly this could be clearer in the documentation, but I suspect it might just be on me for not reading carefully. I can now see after reading the page that the https://zed.dev/docs/configuration/configuring-zed#available-settings section shows a "terminal" object and refers to the section lower in the page. That's probably the part I missed.

Thanks for taking the time to try it. Hopefully next time I report something it will lead somewhere more useful!

Thank you for checking in @cjpearce ! We'll fix that doc formatting, it is really confusing now that you mention it!


Takes more time to get the value from Class django.db.models.query.QuerySet

I'm using PGVector in Django. Below is the code I use to find the similairty match, but the time it takes to get the value from class QuerySet is very high like it takes more than 3 seconds.
embedding=self.get_input_embedding(inputText)
output=(
      table.objects.annotate(
            distance=CosineDistance("embedding",embedding)
      )
      .order_by(CosineDistance("embedding",embedding))
      .filter(distance__lt=1-threshold)[:2]
)
for neigh in output:
      print(neigh.Link)

The time taken to find the cosine distance (var output) is in milliseconds, but the time it takes to get the value (for loop) from output variable is more than 3 seconds. What possibly could be the reason for this.
PGVector Version - 0.2.5
Python Version - 3.10.12
Django Version - 5.0.3

Hi @vence-andersen, the query won't be executed until the loop starts (output is a QuerySet object), so that's likely what's taking the time. I'd recommend using EXPLAIN ANALYZE to debug query performance and add an index if needed.


Updates for interp_restarts refactoring

Note this is a three part release by @bena-nasa:

GFDL_atmos_cubed_sphere geos/v1.3.0
FVdycoreCubed_GridComp v1.4.1
GMAO_Shared https://github.com/GEOS-ESM/GMAO_Shared/pull/231 (branch: feature/bmauer/refactor_interp_restart)

This looks to now be zero-diff. Once we get a GMAO_Shared with the changes from @bena-nasa, we can unblock this PR.


Develop

[x] Support for running without spotify credentials
[x] Dependency upgrade

:package: :robot: A new release has been made for this pull request.
To play around with this PR, pull ghcr.io/museofficial/muse:pr-1137.
Images are available for x86_64 and ARM64.

Latest commit: 4c227b29c14f952e6f8135deb1b6259fdad5ea5e

🚀 Released in Release v2.10.0.


I was looking through the latest PRs to see what's been changed, and there's no other way to produce line by line comments except on a PR, unless I just manually link to lines in an issue or something.   Seemed an easy way to give some feedback.

Thank you for taking the time, and I really do appreciate people critiquing stuff that I write.
But the way/tone with which you are doing this makes me feel like I'm being taught by somebody who feels superior than I am. Also, this is old stuff, and the PR's motivation has nothing to do with the lines you are commenting on (well, the switch part doesn't), so it feels very very out of context.
Now, that's just me being an emo. So as a realistic alternative, may I suggest that you create PRs addressing these issues? I will merge them (and, yes, point taken for each of the points you raised), and we can both get what we want?
Thanks!

Hey lestrrat,
I am really sorry about the way I handled this. I should have started a conversation before just coming in and crapping all over code from a month and a half ago.  My apologies.
I'm sorry it came across as superior.  I try to keep my review comments neutral, but I also try to explain why I'm suggesting changes.... I guess it didn't work out this time.
I'll make a PR, though honestly none of this is terribly important, they were just some minor things that stuck out when I was reading the change list.

It would have worked perfectly if this weren't an old, merged PR! :D
And while I was a bit like "WTF?", not offended, valid points, and I emphasize that I do appreciate critiques. Waiting on your PRs!


GH-4441: Bump Solr to latest version 8.x

GitHub issue resolved: #4441
Briefly describe the changes proposed in this PR:
This bumps Solr dependencies to latest version 8.x and fixes usage of deprecated Solr APIs.

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[ ] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Aside from the technical checks, an IP-check has to be performed by the Eclipse Management Organisation when upgrading a dependency to a new minor version.
Luckily this can be done using the dash-license tool, and is often just a formality: many open source components are already cleared for use, or the license can be checked automatically.

Closing this, as it seems to be a non-trivial task, and the latest version of Solr still depend on Jetty 9.x. 😢


Allow all ingress traffic to NAT instance by default

Currently, we need to input security group IDs one by one to allow ingress traffic to the NAT instance. This can be time-consuming and may not be efficient for some use cases. I propose that we explore the possibility of allowing all ingress traffic to the NAT instance by default, while still providing the option to specify security group IDs for more granular control when needed.
Please consider this feature request and let me know if any additional information is required.

@bwhaley
Thank you for the detailed response and for providing an alternative solution. I understand the security concerns around making it the default behaviour. The example you provided for adding an ingress rule to the group using the output works for me.
I appreciate your assistance, and I will close this issue.
Best regards,
uje-m


Temperature-machine won't start on Raspbian Buster

Just tried TM on Buster - and it complains about java...
Jul 24 17:01:03 rover systemd[1]: temperature-machine.service: Failed with result 'exit-code'.
Jul 24 17:02:03 rover systemd[1]: temperature-machine.service: Service RestartSec=1min expired, scheduling restart.
Jul 24 17:02:03 rover systemd[1]: temperature-machine.service: Scheduled restart job, restart counter is at 12.
Jul 24 17:02:03 rover systemd[1]: Stopped temperature data logger based on the DS18B20 sensor.
Jul 24 17:02:03 rover systemd[1]: Starting temperature data logger based on the DS18B20 sensor...
Jul 24 17:02:03 rover systemd[1]: Started temperature data logger based on the DS18B20 sensor.
Jul 24 17:02:04 rover temperature-machine[2568]: The java installation you have is not up to date
Jul 24 17:02:04 rover temperature-machine[2568]: requires at least version 1.6+, you have
Jul 24 17:02:04 rover temperature-machine[2568]: version 11.0.3
Jul 24 17:02:04 rover temperature-machine[2568]: Please go to http://www.java.com/getjava/ and download
Jul 24 17:02:04 rover temperature-machine[2568]: a valid Java Runtime and install before running .

Buster seems to have:
$ apt-cache search --names-only jre
default-jre - Standard Java or Java compatible Runtime
default-jre-headless - Standard Java or Java compatible Runtime (headless)
gcj-4.9-jre - Java runtime environment using GIJ/Classpath
gcj-4.9-jre-headless - Java runtime environment using GIJ/Classpath (headless version)
gcj-4.9-jre-lib - Java runtime library for use with gcj (jar files)
gcj-5-jre - Java runtime environment using GIJ/Classpath
gcj-5-jre-headless - Java runtime environment using GIJ/Classpath (headless version)
gcj-5-jre-lib - Java runtime library for use with gcj (jar files)
gcj-6-jre - Java runtime environment using GIJ/Classpath
gcj-6-jre-headless - Java runtime environment using GIJ/Classpath (headless version)
gcj-6-jre-lib - Java runtime library for use with gcj (jar files)
gcj-jre - Java runtime environment using GIJ/Classpath
gcj-jre-headless - Java runtime environment using GIJ/Classpath (headless version)
libjreen-dbg - powerful Jabber/XMPP library (Qt4 build) - debugging symbols
libjreen-dev - powerful Jabber/XMPP library (Qt4 build) - development files
libjreen-qt5-1 - powerful Jabber/XMPP library implemented in Qt5/C++
libjreen-qt5-dbg - powerful Jabber/XMPP library (Qt5 build) - debugging symbols
libjreen-qt5-dev - powerful Jabber/XMPP library (Qt5 build) - development files
libjreen1 - powerful Jabber/XMPP library implemented in Qt4/C++
libjrexx-java - automaton based regular expression API for java
openjdk-10-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-10-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-10-jre-zero - Alternative JVM for OpenJDK, using Zero
openjdk-11-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-11-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-11-jre-zero - Alternative JVM for OpenJDK, using Zero
openjdk-8-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-8-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-8-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
openjdk-9-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-9-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-9-jre-zero - Alternative JVM for OpenJDK, using Zero

which is all too complicated for me.... suggestions?

I did a release today (2.2) which works with Buster (the previous version does also but I made this one depend on a different version of Java).
You should just be able to run the following:
sudo apt-get update --allow-insecure-repositories
sudo apt-get install --only-upgrade temperature-machine

If you already have version 2.2 and somehow you Java version has gone sideways (it seems like you have 6 installed and you need 8), you can try installing Java 8 manually. Something like:
sudo apt-get install openjdk-8-jdk

I've not testing the later.

Aa I finished this report, put my machine back to stretch, then it updated itself..  confirm it works on stretch (just in case you get queries). I'll try the buster version tomorrow.

OK - it seems that I have Java 11 AND Java 8 installed on the system. Java11 is the default.
I ran:
update-java-alternatives --jre --set java-1.8.0-openjdk-armhf
update-java-alternatives --jre-headless --set java-1.8.0-openjdk-armhf

which seemed to do the trick. Is this overkill?

Yep I don’t think it’ll work with Java 11.
Not sure what the best command is to switch but you can test which is running with ‘java -version’.
If you’re happy, feel free to close this issue


Window Walker triggered by Win+H not Win+Crtl

Environment
Windows build number: [run "ver" at a command prompt] Microsoft Windows [Version 10.0.18362.778]
PowerToys version:  16.1
PowerToy module for which you are reporting the bug (if applicable): window walker

Steps to reproduce
install
press win +h
Expected behavior
window walker not triggered
Actual behavior
its not triggered by win + crtl at all, just win + h which interferes with another autohotkey I have
Screenshots

We have a work item to be sure we play nicely with auto hot key. For 0.18, WW will be merged into launcher.

https://github.com/microsoft/PowerToys/issues/2132


Uninstall before VC++2015-2022 before upgrading

Otherwise winget upgrade will always flag as outdated, because the older package will be still there.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Otherwise, the old version is kept installed (since multiple versions of it can be installed at the same time), and therefore, winget upgrade always flags the package as outdated unless the user manually uninstalls it.
I can confirm and reproduce this behavior for the VC++2015-2022 packages, and although I believe this can also be the case for other variants of it, I didn't try to reproduce it.
Microsoft Reviewers: Open in CodeFlow

I don't understand this issue, i've checked and regularly updated VC++2019 and 2022 via WinGet and it always removes the old version (pre 2015 does not uninstall old version tho)
But maybe its safer to do it this way since we do have complains about it all the time.. although i believe most are caused by the regex matching

@OfficialEsco you are actually very right!
The issue is because winget is detecting my x86 VC++ 2015-2022 package as the x64 one during upgrade.
However, I cannot reproduce it in Sandbox.
That must be the reason why the old version never gets uninstalled/upgraded, because Winget is trying to install x64 variant while it should install the x86 one.
https://user-images.githubusercontent.com/29582865/165140994-f5b28aa3-84b9-49ae-b9c4-aaf94c7211da.mp4

Oke good so i'm not that crazy yet, what version of winget-cli are you running on your host and in sandbox?
I've not experienced this issue in a long time, so i believe its fixed in winget-cli version 1.3, it will also be even more improved once it accepts all the ARP fields
https://github.com/microsoft/winget-pkgs/blob/d65be50b12a55401eb9195b69ceb88808dabbe9a/manifests/m/Microsoft/VC%2B%2B2015-2022Redist-x64/14.32.31326.0/Microsoft.VC%2B%2B2015-2022Redist-x64.installer.yaml#L24-L29

Understood. I will check if I'm running Winget 1.3 in the affected environment, but, sadly, I installed the latest version of x86 variant by myself and now I cannot reproduce the issue anymore.
I tried to uninstall the latest version and install the outdated one, and now it detects as the proper package.
Anyway, if this issue comes back, I will let you with more meaningful information. Thanks a lot so far!

@felipecrs
It looks like you're not the only one with that experience:
https://github.com/microsoft/winget-cli/issues/1413#issuecomment-1097982141

Hi @denelon, thanks for following up. But I don't believe it's the same situation. In my environment, I didn't have any broken or corrupted installation, nor I had any duplicated version installed. What I had was:

VC++ 2015-2022 x86 version 14.30.x.x (outdated)
VC++ 2015-2022 x64 version 14.32.x.x (up to date)

And still Winget detected the x64 variant as outdated with the version from the x86 one.
I unfortunately didn't show all the versions installed in my quick demo, but I remember that well. Anyway, if I ever get able to reproduce the issue again, I will be happy to provide more details.


Create a Global Universal System(GUS)

Hi All developers,
I would like to start a project in which the primary objective is to identify every human on Earth from birth. Reasons as below:

no matter how far our technology advance, we are no able to know how many people on Earth at this moment alive,  gonna to die soon or coming in how many days into birth.
When we left basic available unused or not utilized properly in the beginning stage, then how are we the benefits are gonna be equally and fairly distributed among us.
When we can account and identify for everyone (eg by birth cert, DNA or fingerprint) then we can give them the required help and rights that we advocate so strongly efficiency

There are many charities, foundations and NGOs already in place but none can 99.99%(the sentinelese is only race I wish to leave out for they are living happily 100% alone) simply know how to identify every living human beings they are being founded in first place. We are still living in a world governed ineffectively and economy are mainly run by big corporations we can do nothing the way they wish to profit only certain individuals.
In this internet age, I hope that soon we can come out with a complete system like WWW as a platform to access every information and  also identify,categorized, grade and review everything that is already in the market or soon to be. Then in a systematically and progressive way like MMORPG game model that a certain path can be laid out clearly of their current status, like a dashboard of yr qualification, financial, social connections etc) and indicate options available to improve in future.
As I only know the existence of most IT technologies and their features, but I 'm not tech savy enough to manage thing like website, blog, setting community in media FB, start crowdfund/source events etc. Therefore I would like to have IT professionals at this stage to volunteer setting up the right channels in the IT community to get things done. I understand that all will have their commitment to different kind of task/project on hand but for sure these will also have its' place in the GUS I intend to work out.
We know that the influence of internet can help to elect presidents, overthrow governments through media, but the existence of violence protest, riots, revolutions in blood should also reduced with better integration of IT in the when we need IT to govern our life. Poll, survey, petition are in progress everyday but they lack the speed to create new milestones to effectively change the laws, policies, regulations in time.
I do not wish to promise immediate or huge fortune to those that are willing to sacrifice their knowledge, time, resources in return. But the few examples I list now should be motivation that any charity/NGO is started in first place but totally differently from them in my way.

We can create a place for anyone on earth that from birth they are guarantee to get basic necessities in food,shelter, medical, education, till their legal age.
Anyone can vote to execute events that affect other life through democratic process regardless of current boundary. eg war, acceptance of GMO, set limit of production on vehicles/ poultry which pollute and reduce with target, full disclosure of risk of new services/products that we only see the benefits corporations sell but never the mass negative consequence that are set to be monitored(just look at the timeline that risk of cars, new medicine, chemicals, or even ham and bacon, tobacco, etc take to be regulated/banned after they are invented. profited before being controlled/banned.
Our model of economy will never have enough jobs to keep everyone happy but with concept of universal income monthly regardless of employment status to keep one sufficient to live/ work in acceptable conditions of their interest.(food, shelter guaranteed). People of higher qualification will get additional and all those in niche industry won;t end up doing minimum pay wages or jobless in worst situation.
No job interview as you can choose any place to work and progress by merit equally.
Everyone will get more time to learn skills required/interested rather than only when in profession. eg. no policeman required if there is no crime but there could be citizen are certified and trained living as normal citizen to be group when necessary to fight crime.
A place for everyone in a tightly controlled world with common sense, moral, code of conduct drawn clearly and managed with facts and statistics and even for the out of mind or extremists on Earth. But with education of the population reach a higher level and standards, we can truly have countries or continents where people are totally free from laws and governments rules and can still be peaceful and happy. Measures only taken when necessary and readily available.

More details can be found in my google link and I not only invite professional in the IT industry to come in, but also experts in all fields that we will need for advice and support in the later stages.
https://plus.google.com/103161605064965362019/posts/4D6Ue1fZKHD
Feel free to add yr comments/feedback/suggestions even if negative and forgive my messy write up:) People are free to copy this concept and work on their own or partner me at this initial stage. Volunteers/sponsors/ who wish to collaborate in term of skills/fund/resources please contact me<EMAIL_ADDRESS>skype:felix.lim1 or +66628431808 (bangkok)

I'm going to close this. It's not a reflection on the merits of the proposed idea (which I haven't considered), but rather this is not an issue with this project. There are other places much more appropriate for things like this. Might I suggest reddit.


the error from example1

I tried to run the example1.py but found this error. Also, it has been encountered when I create a linear model.

it seems like python 3.10 is necessary.

Yes, a new version of python is required. Sorry for forgetting to include the version instructions for Python.


Client Allocation Request for: gcrl

Client Allocation Questions
Core Information

Name: gcrl
Website / Social Media: gcrl.com, (@gcrl, Twitter)
Region: Asia excl. Greater China
DataCap Requested: 32 GiB
Addresses to be Notarized: f14142135623730950488016887
Notary Requested: Irene Young

This user’s identity has been verified through filplus.storage


Add asBool to Clock

Type of issue: feature request

Impact: API addition (no impact on existing code)

Development Phase: request
What is the current behavior?
To change a Clock to a Bool, I have to do myClock.asUInt.asBool.
What is the expected behavior?
Simply call asBool: myClock.asBool.

This has been done in PR #1285


Change from a single view app to tabbed app

Is this in progress. I can take up this otherwise.

Hey! Nope I did not start yet. Feel free to send a pull request and we can continue to work on it in a branch.


Grading overview page improvements

Grading overview page improvements
Summary: Introduces changes and fixes to improve the performance and user experience of the datagrid rendering submissions in the grading overviews page. Addresses #751 and #896.
Changelog

Enforce default sort on grading overviews by descending assessmentId and submissionId during receipt of backend HTTP response

Avoids re-applying the default sort each time the Grading component changes internal state - significant performance improvement

Edit componentDidUpdate of Grading component to only re-sort grading overviews in the datagrid when acknowledging notifications

Avoids re-applying the sort to float submissions with notifications to the top on every state change - significant performance improvement, resolves #896

Reduce pagination page size of the datagrid from 50 to 25

Reduces rendering workload from custom rendered cells; improves UX by reducing amount of vertical scrolling required - significant performance improvement

Add custom pagination controls for the datagrid in the control panel at top of the page

Replaces the default ag-grid pagination panel at the bottom of the datagrid
Uses BlueprintJS components, resolves #751

Bugfixes

Fix datagrid not resizing when its width shrinks, which introduces an unnecessary horizontal scrollbar
Fix notifications column being partially hidden when datagrid width shrinks

Screenshots
Demonstration of changes (GIF)
TBD
Last updated 1 Sept 2019, 05:30PM

Pull Request Test Coverage Report for Build 3354

0 of 37 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 36.916%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/mocks/gradingAPI.ts
0
2
0.0%

src/sagas/requests.ts
0
4
0.0%

src/components/academy/grading/index.tsx
0
31
0.0%

Totals

Change from base Build 3326:
-0.2%

Covered Lines:
2680

Relevant Lines:
6495

💛  - Coveralls


(BKR-506) Fix FQDN

Can one of the admins verify this patch?

ok to test

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/1506/
Test PASSed.


Monday 24-07-2023 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Morning

hi

Morning

Good Morning

present!

Good morning

good morning

present

Good morning

Good morning !

Good morning everyone 🖤

present

present

present


npm install fails in samples/js-application-appinsight on MacOS with no member named 'ForceSet' in 'v8::Object'

Category

[ ] Question
[X] Bug
[ ] Enhancement

Expected or Desired Behavior
npm install successfully installs dependencies.
Observed Behavior
npm install fails:
[andrasg@Andrass-MacBook-Pro js-application-appinsights]$ npm install

><EMAIL_ADDRESS>install /Users/andrasg/OneDrive - Microsoft/sp-dev-fx-extensions/samples/js-application-appinsights/node_modules/deasync
> node ./build.js

  CXX(target) Release/obj.target/deasync/src/deasync.o
In file included from ../src/deasync.cc:3:
In file included from ../../nan/nan.h:192:
../../nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object'
  return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
         ~~~  ^

Steps to Reproduce

clone repo
cd /samples/js-application-appinsight
npm install

My bad, switched to node@8 and started working.


chore(commitlint): add commitlint config

:tada: This PR is included in version 2.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Generate DDL from object browser

Right-clicking on a database object and clicking Generate SQL should be a thing

Do you mean the generation of the CREATE TABLE SQL?
Do you know if there are APIs / tools that can be used for this?

@szsascha yes, there is!
https://www.ibm.com/docs/en/i/7.4?topic=services-generate-sql-procedure

I've just looked more into it.
My current plan is to open a new, unsafed editor tab with the CREATE TABLE statements after rightclicking a file in the object browser.
Is there already a piece of code in the extension where a new, unsafed editor tab is opened? I already tried the following but it leaves without exception on Uri.parse. https://stackoverflow.com/questions/41068197/vscode-create-unsaved-file-and-add-content

@szsascha Yes! The search results open up in a brand new tab - check that out!

@worksofliam I just implemented this feature. Would be really nice if you could have a look on it :)

I'll check it out!

Part of the Db2 for i extension. It will not be added to the base.


NullPointerException from WriteTimeoutTask.operationComplete()

Expected behavior
Not to throw null pointer exception
Actual behavior
An application was recently upgraded to Netty 4 and I am observing unexplainable Null pointer being thrown.
2021-03-02T17:56:37,551 WARN  [DefaultPromise] An exception was thrown by io.netty.handler.timeout.WriteTimeoutHandler$WriteTimeoutTask.operationComplete()
java.lang.NullPointerException: null
	at io.netty.handler.timeout.WriteTimeoutHandler.removeWriteTimeoutTask(WriteTimeoutHandler.java:165) ~[db-8569c76d.jar:?]
	at io.netty.handler.timeout.WriteTimeoutHandler.access$000(WriteTimeoutHandler.java:66) ~[db-8569c76d.jar:?]
	at io.netty.handler.timeout.WriteTimeoutHandler$WriteTimeoutTask.operationComplete(WriteTimeoutHandler.java:217)

Steps to reproduce
No definitive reproducible steps as this seems to happen sporadically. So far, the application is restarted and left alone, and in couple of minutes sometimes hours, the Null pointer exception pops up in the log.
Perhaps someone more familiar with the internals  of the framework have an idea why and how this is happening?
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.59.Final
JVM version (e.g. java -version)
openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.9+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9+11-LTS, mixed mode, sharing)

OS version (e.g. uname -a)
Linux host 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Will have a look

@dadepo can you show me the code that adds handlers to the pipeline ?

@normanmaurer sure. Here

@dadepo that was helpful... I think it should be fixed by https://github.com/netty/netty/pull/11056


Add basic web interface

Scrapyd has a basic web interface. It would be useful to have something here too, for easy access.
Granted, you can already inspect everything with docker or kubectl, but a basic web interface still has its uses.
The idea is to have a simple interface:

show projects, versions, spiders
list jobs
schedule and cancel jobs
view job logs (after #12)

This can be very very simple.
SInce there is an API already, it does make sense to make use of it.
This means it would be a basic client-side application accessing the API. (Or add JSON and HTML responses to the API endpoints, if you can do that without polluting the API code, that may be an option. Don't over-engineer here.)
Don't use some large framework, but keep it small and simple.

Can we also use https://github.com/my8100/scrapydweb for this? If we're adhering to the same API contracts, I think this should work out-of-the-box for scrapyd_k8s as well.

Well, yes, and no. That project is meant for multiple hosts running scrapyd, with possibly different environment. It would be nice if scrapyd-k8s would work nicely in that (that would be a different issue, perhaps, or maybe not). And it may be a bit overkill.
I was thinking of something a bit more light-weight, that would be something like what scrapyd offers, but a little nicer, and more tuned to scrapyd-k8s. I would think of it something like a client-side app, talking to the existing API, so except for some asset serving, it wouldn't actually involve more code in scrapyd-k8s core (or go real-time with a websocket connection, that's not possible with regular scrapyd servers, but that can quickly get complex).
The goal is that users can get an easy overview of what is happening with scrapyd-k8s, without having to setup more things.


[Snyk] Security upgrade stylelint from 14.16.1 to 16.1.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

141/1000  Why? Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Local, EPSS: 0.01055, Social Trends: No, Days since published: 30, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: Medium, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.35, Score Version: V5
Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

should be updated as part of this PR
https://github.com/justeattakeaway/pie/pull/1280


Let template cluster add a service priority label by default

Towards https://github.com/giantswarm/giantswarm/issues/22288 https://github.com/giantswarm/giantswarm/issues/22334 https://github.com/giantswarm/giantswarm/issues/13342
This PR adds

By default, the cluster CR output will contain the label giantswarm.io/service-priority: highest
Let the user override the label value by using the --label or --service-priority flag

I added the support for aws vintage clusters as well since you already did azure. As for all the CAPI providers, there is currently no support to add labels to the cluster CR in kgs. (We template a configmap and while it includes labels, they will be added to all resources AFAIK).

I can't approve, as I'm the PR author, but @anvddriesch you can :)


Iterators (__iter__, __next__)

Maybe implement using traits.
e.g. an iterator can be Iterable trait instead


Require strict equality

The guide dictates that strict equality must be used with an exception for x == null, which matches ESLint's eqeqeq: 'smart' behaviour.

@googlebot I signed it!


Class constructor returns any (regression > 0.53.1)

Consider the following code: flow.org/try
// @flow

class Bar {
  constructor() {}

  moreBar(): Bar[] {
    return [];
  }
}

function twiddle(bar: Bar) {
  const arrayStuff = Array.from(bar.moreBar());
}

const x = new Bar();
x.somethingNotDefinedShouldError();

Clearly, it should error, as follows:
    16: x.somethingNotDefinedShouldError();
          ^ property `somethingNotDefinedShouldError`. Property not found in
    16: x.somethingNotDefinedShouldError();
        ^ Bar

And, in Flow 0.53.1 and previous, it did correctly error. However, as of version 54 and up, the code incorrectly passes.
The example may look a bit wonky, but it's as minimal as I can get it. Specifically, removing the empty constructor or the call to Array.from fixes the issue.

Here is another way to reproduce this issue:
// @flow

declare class Overload {
  static id<T>(x: T, nothing: void): T;
  // (the actual type of `nothing` doesn't matter)
  static id<T>(x: T): T;
}

class Bar {
  constructor() {}

  necessary(): Bar[] {
    // This method needs to be present, and needs to return a type that
    // "contains" `Bar` in some way: `Bar` and `Bar[]` and `Bar | 17`
    // are all fine, but `string` is not. The actual return value
    // doesn't seem to matter.
    return [];
  }
}

function twiddle(bar: Bar) {
  Overload.id(bar);
}

const x = new Bar();
x.somethingNotDefinedShouldError();

(flow.org/try)
Like the code in the OP, this code calls an overloaded method:
Overload.id has two types declared, and Array.from has six.
Unlike the code in the OP, this problem repros all the way back to
v0.37.0 (the earliest available version on flow/try).
Indeed, if the six lib/core.js definitions for from are replaced by
    static from<A>(iter: Iterable<A>): Array<A>;

and Flow is rebuilt, then the problem is fixed—but of course lots of
other tests fail, because those other signatures are actually needed.
Commit cfa3ba7204574304c6700047f495acca7bba495c sounds relevant:

Overloads + any sigs are bad -- even if a different signature matches
on the params, if the return value is mis-used then Flow lets it fall
into the "any" signature. This basically means any overload with an
"any" fallback has almost no typechecking other than that fallback.

@samwgoldman: Looks like you reviewed that commit; do you have any
context that might be helpful?
(I tried building Flow at that commit to investigate, but the build
fails due to a missing .cmi file, even when I switch my OCaml compiler
to 4.01.0 (the README-recommended version at the time) and build from
scratch.)

In either example, if the type of the constructor is annotated to return
void, the problem is fixed. In fact, the problem is fixed if the
constructor is annotated to have nearly any return type:

Bar, void, null, string, number, {}, and mixed all
work, as does Function (which is initially a little surprising,
but actually makes sense);
any and Object don’t work (which is not surprising);
empty does not work (which is somewhat surprising).

Similarly, if the class definition for Bar is replaced with a libdef
declare class Bar {
  constructor(): void;  // this line may be omitted (same effect)
  moreBar(): Bar[];
}

then the problem is fixed.
Compounded with the fact that omitting the constructor in the definition
fixes the problem, it looks like this might have to do with inferring
the type of the constructor?

Using the test case in the OP with this setup, the first bad commit
is d4a23e383903fb322bf6a588c9de9e078c53dbf9.
It seems likely, though, that this commit only revealed an underlying
bug; it is not the root cause.

We just ran into this issue as well, so I'm glad a bug has already been filed.
Here's the minimal test case I found, in case it helps. Like the first example, the presence of an unused method causes the class instance to become any. Removing the unused method fixes the type checking.
class Test<T> {
  value: T;
  constructor(value: T) {
    this.value = value;
  }
}

function create<T>(input: T | Test<T>): Test<T> {
  if (input instanceof Test) {
    return new Test(input.value);
  }
  return new Test(input);
}

const instance = new Test(1);
(instance: boolean);

Marking the constructor's return type, as @wchargin suggested, fixes the problem here too.

@stephenball1: Thanks. Unrelated to the main issue of this thread, your
code is unsound for a different reason: given your create, we may
write
const t: Test<Test<string>> = create(new Test("hi"));
const s: string = t.value.value;  // actually undefined
s.toLowerCase();

which does (and should) type-check, but has a runtime error because the
runtime type of t is only Test<string>.
Your function create: <T>(T | Test<T>) => Test<T> is in fact
unimplementable, because the two calls to create in
const base: Test<string> = new Test("hi");
const same: Test<string> = create<string>(base);
const next: Test<Test<string>> = create(base);

cannot be distinguished at runtime and are nevertheless required to
return different results.
The root problem is that the refinement input instanceof Test is
intended to refine the type of input: T | Test<T> to Test<T>, but
this is of course not valid when T is itself a Test. It is
unforunate that Flow does not detect this.
Anyway, like I said, unrelated; just thought that you’d want to know.

Ah great point. Thanks for the explanation @wchargin, it makes a lot of sense.
I originally had a more concrete type value: Array<T> inside Test, with create: <T>(Array<T> | Test<T>) => Test<T>, but removed the Array  requirement to see if the bug still occurred.

Yep, that should work; the type constructors are both distinct and
present at runtime (as opposed to, e.g., type aliases), so you should be
able to disambiguate.

I ran into this issue too in #6738 “Object construction is wrongly inferred to return any when constructing a class with a Promise-using method”. This was my minimal test case (explained in more detail in that issue):
// @flow

class Engine {
  constructor() {}

  pipe(aPromise: Promise<null>): Engine {
    aPromise.then(() => this);
    return this;
  }
}

const anEngine = new Engine(); // bug: `anEngine` has type `any` instead of `Engine`

Fixed in Flow v0.98.0.


Temporary fix to vcpkg tbb install issue

vdb tests are now failing on the windows build

vdb tests are now failing on the windows build

That's a separate issue - I'll do a new PR for that. Can you approve this one on the basis that it resolves the vcpkg install issue?


this.test.fullTitle() changes when using --watch

Prerequisites

[x] Checked that your issue hasn't already been filed by cross-referencing issues with the faq label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend that you not install Mocha globally.

Description
Adding --watch means this.test.fullTitle() prepends a space (' ') on consecutive runs.
Steps to Reproduce
git clone https://gist.github.com/fatso83/d6ef639119bc497cbc8db2e2a950e441 name-issue
cd name-issue/
npm i
npm test
sleep 2;
touch demo.test.js

Will result in
1..1
ok 1 Outer TEST
# tests 1
# pass 1
# fail 0

  1..1
not ok 1  Outer TEST
  'Outer TEST' == ' Outer TEST'
  AssertionError [ERR_ASSERTION]: 'Outer TEST' == ' Outer TEST'
      at Context.<anonymous> (demo.test.js:7:16)
# tests 1
# pass 0
# fail 1

The actual test looks like this:
describe("Outer", function() {
    it("TEST", (function() {
        assert.equal('Outer TEST',this.test.fullTitle());
    }));
});

Expected behavior: [What you expect to happen]
No errors - the full title should stay the same
Actual behavior: [What actually happens]
A space gets prepended
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
6.0.2
$ mocha --version
6.0.2

$ node --version
v11.11.0

$ lsb_release  -a
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

I have debugged this now and found the cause of this. I'll submit a PR with the fix.


Error when Haskell files are opened

When I open .hs files in IntelliJ, I get an error:
6:23:37 PM IOException: Cannot run program "/Users/andrew/Library/Haskell/bin/ghc-modi" (in directory "/Users/andrew/Desktop/src/genetics"): error=2, No such file or directory

I have GHC 7.8.3 installed with Homebrew, on Mac OS X 10.10.2.

You need to install ghc-modi, and provide path to it in Settings


Replace AbstractPlotting with Makie

Just a quick sed replace, I can build and use (using) the package, test is ok but it didn't show anything

Have you actually tried to create any plots? E.g. run anything from the examples folder? The test suite of this package is meaningless :D

I did tried to generate a video from a predator-prey model (Agents.jl). I didn't try the examples though.
https://user-images.githubusercontent.com/33273948/119166795-3eb0eb80-ba89-11eb-932c-f94df8735eea.mp4
Here's the full source code
using CSV
using Pkg
Pkg.activate(@__DIR__)

using InteractiveDynamics
using CairoMakie
using Agents

@agent SheepWolf GridAgent{2} begin
    species
    color
    max_energy
    max_transfert
    energy_consume
    energy
end

function init_model(; field_size = (100, 100),
    nb_preys_init = 200,
    nb_predators_init = 20,
    prey_max_energy = 1.0,
    prey_max_transfert = 0.1,
    prey_energy_consume = 0.05,
    predator_max_energy = 1.0,
    predator_energy_transfert = 0.5,
    predator_energy_consume = 0.02)

    food = rand(0:0.1:1, field_size)
    food_prod = rand(0:0.001:0.01, field_size)

    space = GridSpace(field_size)
    model = ABM(SheepWolf, space; properties = (food = food, food_prod = food_prod))

    pos = positions(model) |> collect
    for _ in 1:nb_preys_init
        id = nextid(model)
        sheep = SheepWolf(id, rand(pos), :prey, :yellow,
            prey_max_energy,
            prey_max_transfert,
            prey_energy_consume,
            rand(range(0.1, stop=prey_max_energy, length=100))
            #rand(0:(prey_max_energy/10):prey_max_energy)
           )
        add_agent!(sheep, model)
    end
    for _ in 1:nb_predators_init
        id = nextid(model)
        predator = SheepWolf(id, rand(pos), :predator, :red,
            predator_max_energy,
            predator_energy_transfert,
            predator_energy_consume,
            rand(range(0.1, stop=predator_max_energy, length=100))
           )
            #rand(0.1:(predator_max_energy/10):predator_max_energy))
        add_agent!(predator, model)
    end
    return model
end
model = init_model()

function move!(agent, model)
    walk!(agent, rand, model)
end

function prey_eat!(agent, model)
    x, y = agent.pos
    d_energy = min(agent.max_transfert, model.food[x, y])
    model.food[x, y] -= d_energy
    agent.energy = max(agent.max_energy, agent.energy + d_energy)
end

function predator_eat!(agent, model)
    dinner = filter(x -> x.species == :prey, agents_in_position(agent.pos, model) |> collect)
    if !isempty(dinner)
        prey = rand(model.rng, dinner)
        kill_agent!(prey, model)
        agent.energy = max(agent.max_energy, agent.energy + agent.max_transfert)
    end
end

function agent_step!(agent, model)
    walk!(agent, rand, model)
    walk!(agent, rand, model)
    if agent.species === :prey
        prey_eat!(agent, model)
    else
        predator_eat!(agent, model)
    end
    agent.energy -= agent.energy_consume
    if agent.energy <= 0
        kill_agent!(agent, model)
    end
end

function grass_grow!(model)
    @. model.food = min(model.food  + model.food_prod, 1)
end

adata = let prey(x) = x.species == :prey,
    predator(x) = x.species == :predator
    [
    (prey, count),
    (predator, count),
    ]
end
mdata = let food(x) = sum(x.food)
    [food]
end

model = init_model()
n = 3000
result = run!(model, agent_step!, grass_grow!, 1; adata= adata, mdata = mdata)
model = init_model()
result = @time run!(model, agent_step!, grass_grow!, n; adata= adata, mdata = mdata)

CSV.write("result.csv", result |> first)

@time abm_video(
    "sheepwolf.mp4",
    model,
    agent_step!,
    grass_grow!;
    frames = 3000,
    framerate = 60,
)

https://github.com/JuliaDynamics/InteractiveDynamics.jl/blob/7991bc5d43ce5313c5c3e364d94e9195b3295212/src/numericdata/trajectory_highlighter.jl#L122-L130
This should be changed to something like
on(scene.events.mousebutton) do e
    if e.button == Mouse.left && e.action == Mouse.press && AbstractPlotting.is_mouseinside(scene)
        ...
    end
    return false
end

Potentially with priority = 1 if you want this to take priority over axis/camera interactions and return true if you want this to stop axis interactions.

Thanks a lot @ffreyer ! Actually, this code is from some quite old, pre-MakieLayout functionality. @SebastianM-C , if you ever want to update this code, have a look at comment above!

https://github.com/JuliaDynamics/InteractiveDynamics.jl/blob/7991bc5d43ce5313c5c3e364d94e9195b3295212/src/numericdata/trajectory_highlighter.jl#L122-L130
This should be changed to something like
on(scene.events.mousebutton) do e
    if e.button == Mouse.left && e.action == Mouse.press && AbstractPlotting.is_mouseinside(scene)
        ...
    end
    return false
end

Potentially with priority = 1 if you want this to take priority over axis/camera interactions and return true if you want this to stop axis interactions.

Hi, I updated the code, I did not put priority to the on because I didn't want to mess with priority :P

I don't know what this bit of code is used for. I just thought I'd mention priority in case it's useful - for example you could put this at priority 1 (or larger) and return true to block the selection rectangle from popping up, or stop 3d cameras from rotating.
Actually, at priority 0 it might get blocked by rectangle zooms in an Axis. So maybe you want this at priority 1, be that blocking or not...

@Libbum can you test this PR? I can't, I still have to switch to VSCode.

@ndgnuh , @ffreyer thanks for the support regarding this old functionality. As soon as I switch to VSCode I will definitely test this!

Yep, I can take a look tomorrow morning.

Looks like we'll need some more attention on this. Checking the first example in Interactive-trajectory-evolution:
julia> figure, obs = interactive_evolution(
           ds, u0s; idxs, tail = 10000, diffeq, colors
       )
ERROR: MethodError: no method matching gl_promote(::Type{String})
Closest candidates are:
  gl_promote(::Type{Union{Int16, Int8}}) at /home/tim/.julia/packages/GLMakie/ayWSm/src/GLAbstraction/GLUniforms.jl:164
  gl_promote(::Type{Union{UInt16, UInt8}}) at /home/tim/.julia/packages/GLMakie/ayWSm/src/GLAbstraction/GLUniforms.jl:167
  gl_promote(::Type{T}) where T<:GeometryBasics.Mesh at /home/tim/.julia/packages/GLMakie/ayWSm/src/GLAbstraction/GLUniforms.jl:189
  ...
 Could very well be outside our control...? Not sure if @ffreyer or @SimonDanisch have any helpful tips here, or whether they can confirm that GLMakie indeed works with the new change of AP -> Makie

The only points in this source code we use strings is when configuring the figure slider and button:
https://github.com/JuliaDynamics/InteractiveDynamics.jl/blob/1182d15832f09340b4337c625ebe8e1c9459d79a/src/chaos/trajanim.jl#L132-L142

I'm guessing this is from some changed keyword argument ... Can someone point me to the code generating this plot?

@SimonDanisch these lines are relevant for plotting: https://github.com/JuliaDynamics/InteractiveDynamics.jl/blob/master/src/chaos/trajanim.jl#L99-L142

Hm the only thing that jumps out is pk... I'd make sure that it doesn't contain any unsupported kw-args.

Is there any log of any default keyword changes somewhere? Or change of support in keyword type?

BTW by default plotkwargs is an empty NamedTuple, so unlikely this causes the error.

This was an actual bug in Makie: https://github.com/JuliaPlots/Makie.jl/pull/997
Can't believe this regression wasn't caught by any test ^^

@Libbum can you please try once more now that Simon has fixed the bug?


Editor window fullscreens on save

Godot version
4.0.beta2
System information
Arch (Linux 6.0.1), KDE Plasma (5.26.0), AMD 5700G integrated graphics
Issue description
The main godot editor window goes to maximized mode when hitting either ctrl+s or one of the right click menu save buttons (scene, script etc).
Confirmed to not happen on MacOS, not sure about windows.
Steps to reproduce
Create a new project, make a scene, hit ctrl+s.
Minimal reproduction project
No response

Duplicate of https://github.com/godotengine/godot/issues/66413 (fixed in latest master branch).


Make substitution include the aarch path

Description of changes
On aarch64 systems the Java home is not set correctly. We are patching codeql to reference the nix JDK. Though we are creating an invalid JDK home on the aarch platform.
Things done
I added another sed replacement which needs to be run before the original one to take care of the -aarch path.
This is the original file in codeql:
arch="$(uname -m)"
if [ "$CODEQL_PLATFORM" = "osx64" ] && [ "$arch" = "arm64" ]; then
    : ${CODEQL_JAVA_HOME:=$CODEQL_DIST/tools/$CODEQL_PLATFORM/java-aarch64}
else
    : ${CODEQL_JAVA_HOME:=$CODEQL_DIST/tools/$CODEQL_PLATFORM/java}
fi

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

One minor nit: could you add the description to the commit message, so it's readily searchable in git log?

Done thanks!

Maybe @wegank or @r-ryantm can also review (guessing from the git history).


Signature not found!

I have a SanDisk drive with the Phison 2303 (2251-03) controller and every time when I try to embed the Payload in the Firmware I only get Signature not found!
What can I do?

@Xelef2000 Try deleting the files (in the bin folder if it exists) and re running the build.bat script. Make sure you have download sdcc 3.5.0 as well before building.

Thanks now it works


introduce AccountForStorage for StorableAccounts

Problem
moving to not mmapping append vec files. Soon, lifetimes of borrowed account data will be limited to a callback.
Summary of Changes
Warning, messy change.
Rework StorableAccounts. account() always returns AccountForStorage.
This is because StorableAccounts abstracts away multiple layouts of vectors of accounts in memory and multiple representations. We need a return type which doesn't require copies of many fields and data and especially doesn't require allocation of a Vec for the data. AccountForStorage efficiently references an account of several current representations. Soon, the lifetime of the references in AccountForStorage will have to be limited to a callback from the storage. We could not convince the borrow checker and trait impl code that we needed a callback fn which sometimes required no explicit lifetime (AccountSharedData) and sometimes required one (StoredAccountMeta<'_>).
So, the enum of AccountSharedData was introduced. More changes to come.
Fixes #

@brooksprumo this is a messy change. I hope all benches are building now. Wanted to give you a chance to provide feedback. ty!

Codecov Report
Attention: Patch coverage is 94.73684% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (8c5a33a) to head (552c57a).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #795   +/-   ##
=======================================
  Coverage    81.9%    81.9%
=======================================
  Files         851      851
  Lines      231480   231523   +43
=======================================
+ Hits       189745   189809   +64
+ Misses      41735    41714   -21

I know we're copying more data now;

What more data are we copying?


Update some widgets to use textarea rather than input

Updated widgets (FillMaskWidget (which is TextClsWidget), TokenClsWidget, TextToSpeechWidget) to use textarea as their input element, rather than input.
Made textarea input height auto-growable until 500px

Checkout netlfy demo here
cc: @Pierrci @lewtun
Closes https://github.com/huggingface/moon-landing/issues/1523

Wow that was quick, thanks @mishig25 for this great quality-of-life improvement!

@lewtun please let me know if you have any other suggestions on the widgets 👍

@gary149 added the fix for the bug, feel free to re-review 👍


Disable requesting secrets from paths without active profiles

Is your feature request related to a problem? Please describe.
According to the reference, generic backend tries to scan available vault secrets following these rules:
/secret/{application}/{profile}
/secret/{application}
/secret/{default-context}/{profile}
/secret/{default-context}

so if I have a single secret in vault server with default application name like this:
secret/application

and if I am running the spring boot project in alpha profile, spring cloud vault tries at least 2 requests.
Created GET request for "https://vault.server:8200/v1/secret/application/alpha"
Created GET request for "https://vault.server:8200/v1/secret/application"

I see the second trial stands for default setup just in case there's no active spring profile. I understand this is reasonable, but for me it may sometimes become a little bit redundant. What if I don't want to place a default secret in path secret/application because the active profiles are always guaranteed? Still does spring cloud vault try to reach and fail with http status code 403 or 404, as the request is forbidden or the secret is not even there.
Describe the solution you'd like
I want to manually control the behavior of requesting vault secrets from various paths.
Describe alternatives you've considered
One example I came up with is to have control with properties like:
spring.cloud.vault:
    secret-without-profile: (true/false)

if false, the scanning behavior of spring cloud vault would be:
/secret/{application}/{profile}
/secret/{default-context}/{profile}

Additional context
Before asking this question, I found a conversation #179
Thanks.

We have VaultConfigurer and SecretBackendConfigurer in place for fine-grained configuration of config backends. The default context can be disabled by configuring it to a empty value. Everything beyond that point is too specific for a global configuration.
That being said, we’re not going to add further configuration properties at the moment but rather wait until this feature request gets at least another ten votes.

I understand. I hope this is still worth voting, but for now I agree that we can close this issue. Thank you for your kind explanation.

@mp911de one another small question, is it not possible to use Spring Cloud Vault version 1.1.x on Spring Boot version under 1.5? I found information from Spring Cloud intro page that says Spring Cloud Camden runs on Spring Boot 1.4, and in Camden there's no Vault. Seems like Spring cloud Vault starts from Dalston, and it runs on Boot version 1.5. If I force to do it, I of course see the exception message Cannot find class [org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration, because it's not there in Boot 1.4.
Somehow I managed to do it, however, now I feel like there's no option to use cloud Vault on Boot 1.4.

https://spring.io/projects/spring-cloud

Spring Cloud Vault was introduced with Spring Cloud Dalston which requires Spring Boot 1.5.
Boot 1.5 is EOL since August 2019. You could try using Spring Vault 1.x with Spring Boot 1.4 as these dependencies should not conflict. In any case, you would be required to configure the property source yourself.

I was about to create an issue about this and discovered this one. I was going to suggest two new properties. One to define the exact backends, and another the exact profiles to use.
spring.cloud.vault.kv.use-paths: /secret/{application}/{profile},/secret/{default-context}
spring.cloud.vault.kv.use-profiles: dev

I have the following defined,
spring.profiles.active: dev
spring.cloud.vault.kv:
  enabled: true
  backend: dept/div/team
  application-name: appname
  default-context: appname/all

My application has read access to these two paths/secrets,
dept/div/team/appname/dev
dept/div/team/appname/all

So I'm getting a 403 for things like dept/div/team/appname/all/dev and dept/div/team/appname. And additionally other profiles may be active that I don't want used.
Thanks, adding my vote.

We need this as the default behavior causes a lot of unnecessary logs. Thanks

Probably, the easiest approach would be introducing spring.cloud.vault.generic.profiles/spring.cloud.vault.kv.profiles defaulting to spring.profiles.active.

@mp911de -- Setting default-context or backend to empty throws an error. Is there something wrong I am doing?

The override spring.cloud.vault.kv.profiles is now in place. Please give it a try.

Even after setting spring.cloud.vault.kv.profile equals to empty string, application still checks secret/application path upon launch

You can manually set the vault secrets to load with a quick workaround. Let's my application is named my-app in the yml and you want to load the config, config-a and config-b secrets instead.
spring.cloud.vault:
  kv:
    enabled: true
    default-context: config
    application-name: config-a,config-b

Now if you want to only want to load one config specifically, just use the same value on default-context and application-name like this:
spring.cloud.vault:
  kv:
    enabled: true
    default-context: custom-secret
    application-name: custom-secret

You don't need to use default-context or application-name outside of this for "manual" retrieving from Spring Vault. Though I would recommend keeping the spring.application-name for yourself, Spring Vault won't try to load it anyway.


gamma catenin binding taxon restriction

Insects do not have gamma catenin, just beta.
Could you put a taxon restriction on for Insecta Taxonomy ID:50557.
Looking at PMC3141441 'The evolutionary history of the catenin gene family during metazoan evolution', looks like this restriction could be extended to non-vertebrates.
Note:
@pgaudet PANTHER:PTN000288612 gamma catenin binding

maybe only in vertebrates, but to be safe for now I will make it never in insects.

Thanks!


Document how to use your own hive metastore

Similar to https://databricks.com/blog/2017/01/30/integrating-central-hive-metastore-apache-spark-databricks.html

defer for now.


Add Code Format Option: Only VCS changed text

Please add an option when execute code format: Only VCS changed text, can be formatted.
The another plugin: 'Eclipse Code Formatter' support this.
Hope the committer consider this.

Please describe it in more detail.


fix the authen & author issue with deploy onto remote cluster

This change has been put into the code base separately, refer to https://github.com/nuclio/nuclio/blob/97b4e90213b71e7ee55544e0292ceb4529c768fa/pkg/platform/kube/consumer.go#L56


Unchecking 'Generate Image Control' still uses dynamicresources

See title, you still get (but undefined) dynamicresource bindings:
<DrawingGroup>
 <!-- -->
      <GeometryDrawing Brush="{DynamicResource Brush0}" Geometry="XXXX" />
</DrawingGroup>

How else that would work ?


Add experimental memory pressure for FrameBuffers.

Just a request for comment. It would seem we want to do this (fixes framebuffers potentially not being finalized for minutes) but we do need to ask some questions:

This should probably be done at a TextureGL level instead.
Will this handle correctly even though we are adding pressure for gRAM not system memory?

For what it's worth, I can find at least one other project using memory pressure in these scenarios:
https://github.com/virtualglobebook/OpenGlobe/blob/master/Source/Renderer/GL3x/Buffers/BufferGL3x.cs

Converting to issue for now.


Allow E2E tests for individual providers to be kicked off from CodeBuild

In the E2E pipelines, the build stage builds all the binaries required for the tests and then passes them through to the test stage, so they're available in test stage only when run through the pipeline. This also means you can't trigger E2E tests for individual providers since triggering the pipeline will make it run all the provider E2E tests. This PR allows them to be run standalone as a CodeBuild job by building the binaries in situ in the test stage if the initiator is not CodePipeline.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.18

/lgtm

/approve

/lgtm

/override eks-anywhere-e2e-presubmit


Reimplement ClaimTrie as Merkle Patricia Trie

Our Claimtrie is inefficient because it must store lots of empty nodes when storing a long name. The solution is to use this: https://github.com/ethereum/wiki/wiki/Patricia-Tree

For the sake of having this documented, we should be mindful that there is a space efficiency optimization and a time efficiency one mixed in this change. If we are doing one or both is a pending discussion.
If we just change the trie without changing the how the hash is calculated we could solve the memory issue without a hardfork. While changing how the proofs are made to match the new data structure (skipping empty nodes) would require a hardfork.

I was just doing some testing on node counts for this. With a million random strings (standard 60 characters), I end up with 25 million nodes in traditional trie. With the collapsed prefixes, I end up with 1.5 million nodes after a million insertions. That's a substantial difference! Next test: the qp trie. We can talk about where to check in my tests and what to name them next week.

I'm attaching my experiments on this. I've concluded that the prefix trie is the right structure, and that it would drastically reduce our (present) memory usage. I've also decided that it won't be enough code to justify putting it in a separate library by itself.  I'll leave it here on the shelf and hope that we can get c++11 support in lbrycrd in the very near future.
lbry_tries.zip

Last week I tested the code here with my same sample data: https://github.com/ytakano/radix_tree. It was slow and seemed to be a few nodes short of a full load. I didn't see a lot of other libraries that were easily accessible. I did not attempt to use Ethereum's trie code. It appeared complex, and I don't want to mix their code in with ours.


Search for faces asynchronously

If I have typed in my password and press enter, I still have to wait until howdy times out until my computer unlocks. Is there a way to make howdy not block the standard signin prompt?

It's implemented in the beta.


Process incoming DLC messages on a dedicated thread

Also reduce the wait time to 2s, as we're not going to starve the runtime.

#728 got merged, so this one is not needed (can be considered as an alternative if we decide for some reason it's worth it someday).


Device not turned off during a redeploy

Specific deployment https://github.com/marcolivierarsenault/tefnut/actions/runs/12213035818/job/34072186727

Looks like the turn off did not have the time to do it

at 7:54:02 the Humidifier did turn on
But it did not turn off at 7:54:09