text:
.Rprofile ignored when running an R script

Snakemake version
5.7.1
Describe the bug
A rule executing an R script using the script directive does not execute the content of .Rprofile. I found out this was the case because my packrat environment is not being loaded (the line source("packrat/init.R" is inside .Rprofile)
Logs
If applicable, any terminal output to help explain your problem.
Minimal example
Configure a packrat folder

R -e 'install.packages(\"packrat\", repos=\"http://cran.us.r-project.org\")'
R -e 'packrat::init()'

Install RMySQL

R -e 'install.packages(c("RMySQL"))'

Create a rule executing an R file with only one line:

library(RMySQL)

Additional context
.Rprofile, packrat folder and the snakefile are in the root directory

I found out that it was a consequence of this fix. I agree with the last comments, this breaks packrat and the alternative of loading the .Rprofile on every new script seems a bit cumbersome.
Is there a flag (can we add one if it doesn't exist) to load a .Rprofile for all scripts?

I think it is indeed best to explicitly load .Rprofile in the script if it needs it. This way, the reader immediately sees the dependency instead of having to know about such internals. The downsides of loading .Rprofile and thereby accidentally including user specific context is just too large. Also, having a global flag would not help, because workflow results should not depend on command line flags given. This would hamper reproducibility.

Probably not the best place to ask, but I had a question regarding this.
Say a colleague has R installed with all the requisite third-party libraries, but they have them in a user-library (which normally gets loaded via ~/.Rprofile).
How can they download an run a workflow I've made in Snakemake?  I don't want to specify my paths in the .R files as that won't make the workflow portable.  I feel like I'm missing the expected workflow here - can someone clarify?

@deto, just another user here, but you can achieve this by setting the R_LIBS_USER environment variable before running Snakemake (but see #490)

I think it is indeed best to explicitly load .Rprofile in the script if it needs it. This way, the reader immediately sees the dependency instead of having to know about such internals. The downsides of loading .Rprofile and thereby accidentally including user specific context is just too large. Also, having a global flag would not help, because workflow results should not depend on command line flags given. This would hamper reproducibility.

The problem with loading .Rprofile in every script is that it is easy to forget to do so. That is not a problem, of course, when it causes an error. But sometimes the script will run but produce unexpected results due to the package version differences.
Could maybe the renv environment be specified similarly to the way conda environments are?

authors: JulioV deto johanneskoester kalenkovich karldw

repo: snakemake/snakemake


text:
Selects not working on firefox and other browsers occasionally

I searched and could not find any issues relating to this specific problem I'm having.
I am using latest version (v1.13.18)
jQuery 3.2.1, Bootstrap 4.3.1, Bootstrap select 1.13.18.  I found this issue using Chrome browser and Firefox browser.
I can't see to create an isolated test case, as it only happens to me with Firefox.

I'm creating a dashboard for a bot that I have several people who are testing it.  In this dashboard, I have a fairly empty select element:
<select class="selectpicker ruletargets"     data-live-search="true" title="Loading..."     class="permissiontargets" id="removeruletargets"     disabled data-size="5"></select>
Later, I have a script that adds options to the above select (and many others, but they are exactly the same as above except different classes + ids), as I request an endpoint which requests a websocket for data, and returns it to the page.  I edit them using this piece of code:
        } else {
            select.html("")

            var copt = [`<optgroup label="Cogs">`]
            for (let name of json.data.COGS) {
                copt.push(`<option value="${name}">${name}</option>`)
            }
            copt.push("</optgroup>")
            select.append(copt.join(""))

            var cmopt = [`<optgroup label="Commands">`]
            for (let name of json.data.COMMANDS) {
                cmopt.push(`<option value="${name}">${name}</option>`)
            }
            cmopt.push("</optgroup>")
            select.append(cmopt.join(""))
        }
        select.selectpicker({ title: "Choose target" })
        select.removeAttr("disabled")
        select.selectpicker("refresh")

I'm not sure if this is the supported way of editing, but I found a few things online pointing to do it in this way.  However, while testing this, my users have figured out that it usually looks fine on Chrome (I did have one person saying it looked like it had on Firefox), but on Firefox, it was just a bulleted list.  I was able to reproduce the issue on Firefox, but not on Google Chrome.  I have screenshots below so they can be seen.  You can also view the full code examples at https://github.com/NeuroAssassin/Red-Dashboard/blob/master/reddash/app/home/templates/guild.html.
Chrome:

Firefox:

and it keeps going afterwards, with the two bottom dropdowns.

Please link me to some sort of a live example. If you'd rather not post the link here, feel free to send me an email.

I do have a live example (it's what the above screenshots are for) however it requires Discord as authorization, so it would require you to join a server.  Does that work, or would you rather me make a separate one?

Actually, nvm, I managed to create a separate example and reproduced.  Here's the link: https://run.plnkr.co/preview/ckcp4xllp0008316bxsjtv1gv/

The preview links expire after a certain amount of time. Try linking directly to the editor view.

Recreated it: note that the external link has to be opened in firefox or it won't show.  Seems that it also only happens when you run it after document is ready, but not entirely sure about that.  Here's the link: https://plnkr.co/edit/qDlHHB4MK88SMDGh

Any update on this?

Having this same problem.
Ran on my PC, when other devs pulled code from repository would not work in their browser. Mine is working in Google, but not Firefox

I'm having similar problem.
http://www.santacasabarretos.com.br/farmacia/atb.php is correctly showing on Desktops and some mobile phones, but in Chrome 87.0.4280.86 & Android 10 it doesn't work. I installed other browsers like Firefox, Edge and Opera but still doesn't work on that phone.

source: gharchive/issue

authors: ErichNiem NeuroAssassin caseyjhol mateusfpaula

repo: snapappointments/bootstrap-select

license: MIT

license_type: permissive

license_source: github-api


text:
changed contract address

If you want to create a space follow this guide
https://docs.snapshot.page/guides/create-a-space

@Jeffqg123 Would you like to migrate your space to your ENS space instead of editing this space, you will can edit on your side without PR after?

@Jeffqg123 Would you like to migrate your space to your ENS space instead of editing this space, you will can edit on your side without PR after?

Could you merge this one and we will migrate our ens space

Could you merge this one and we will migrate our ens space

source: gharchive/pull-request

repo: snapshot-labs/snapshot-spaces


text:
Voting popup vanish without alert when VP calculation fail

Describe the bug
Voting popup vanish without alert when VP calculation fail
To Reproduce
Steps to reproduce the behavior:
Vote here:
https://snapshot.org/#/superumans.eth/proposal/0x7b5671ec730ee4a88102f9d727785fc8e08ca563013a26dc68e86b23854c0581
Expected behavior
An alert should be displayed
Additional context
The behavior also happened a few days ago on another proposal.

Can't reproduce. The proposal you linked doesn't load at all for me.

Can't reproduce. The proposal you linked doesn't load at all for me.

I think I have captured a video of the issue, does it help if I share it ?

@samuveth
https://youtu.be/ix-Jz_CPUjg

Hmm, not really :)

Probably the same as here: https://github.com/snapshot-labs/snapshot/pull/1671
I'll take care of handling it properly.

authors: metrox-eth mktcode samuveth

repo: snapshot-labs/snapshot


text:
🛑 Snap! Wiki is down

In f84cb44, Snap! Wiki (https://snapwiki.miraheze.org) was down:

HTTP code: 503
Response time: 484 ms

Resolved: Snap! Wiki is back up in 1a7eb35.

repo: snapwiki/SnapWikiUptime


text:
support postActiv

haven't looked into it much yet. evidently a GNU Social fork? not sure how widely used it is. the main https://postactiv.com/ site is currently down. https://www.patreon.com/postActiv has some info, including claims that it supports both OStatus and ActivityPub.

I think this project is no longer active and this issue can be closed.

Confirmed, thanks!

authors: aciccarello snarfed

repo: snarfed/bridgy-fed


text:
Support predis 2.0

Hi,
It seems that upgrading to predis 2.0 is causing trouble.
I got this error when I tried :
!  Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#72
!!    #message: """
!!      Attempted to load class "Factory" from namespace "Predis\Profile".\n
!!      Did you forget a "use" statement for e.g. "Predis\Command\Factory", "Predis\Connection\Factory", "JsonSchema\Constraints\Factory" or "Doctrine\DBAL\Driver\IBMDB2\Exception\Factory"?
!!      """
!!    #code: 0
!!    #file: "./vendor/snc/redis-bundle/src/DependencyInjection/SncRedisExtension.php"
!!    #line: 170
!!    trace: {
!!      ./vendor/snc/redis-bundle/src/DependencyInjection/SncRedisExtension.php:170 { …}
!!      ./vendor/snc/redis-bundle/src/DependencyInjection/SncRedisExtension.php:117 { …}
!!      ./vendor/snc/redis-bundle/src/DependencyInjection/SncRedisExtension.php:68 { …}
!!      ./vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php:76 { …}
!!      ./vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php:42 { …}
!!      ./vendor/symfony/dependency-injection/Compiler/Compiler.php:82 { …}
!!      ./vendor/symfony/dependency-injection/ContainerBuilder.php:757 { …}
!!      ./vendor/symfony/http-kernel/Kernel.php:546 { …}
!!      ./vendor/symfony/http-kernel/Kernel.php:787 { …}
!!      ./vendor/symfony/http-kernel/Kernel.php:128 { …}
!!      ./vendor/bref/symfony-bridge/src/BrefKernel.php:62 { …}
!!      ./vendor/symfony/framework-bundle/Console/Application.php:168 { …}
!!      ./vendor/symfony/framework-bundle/Console/Application.php:74 { …}
!!      ./vendor/symfony/console/Application.php:171 { …}
!!      ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}
!!      ./vendor/autoload_runtime.php:35 { …}
!!      ./bin/console:12 {
!!        ›
!!        › require_once dirname(DIR).'/vendor/autoload_runtime.php';
!!        ›
!!        arguments: {
!!          "/var/www/html/vendor/autoload_runtime.php"
!!        }
!!      }
!!    }
!!  }
!!  2022-06-08T18:33:11+00:00 [critical] Uncaught Error: Class "Predis\Profile\Factory" not found
!!
Best,
Julien

I've released 4.2.0 which declares conflict with predis 2.0 for the time being. I encourage somebody to work on proper support though. I don't use predis myself anymore, so this could otherwise take a while.

Try loading the new predis client in SncRedisExtension.php instead of profiles (they were removed in predis 2.0), here is an example
$profileId = sprintf('snc_redis.client.%s_profile', $client['alias']);
$clientDef = new Definition(\Predis\Client::class);
$clientDef->setPublic(false);
$container->setDefinition($profileId, $clientDef);

This will break everything if you have a custom configuration in the service container for the predis profiles, but if you were using a default configuration (like me) then this should do the job temporarily until a proper fix is released

Hi, thanks for looking into it. I ended up migrating to Phpredis anyway after finding out it's 6x time faster :)

finding out it's 6x time faster

Interesting, do you have some references to this? Or is it something purely internal? Any other info you could provide about this?

The article is from 2019 but seems relevant : https://akalongman.medium.com/phpredis-vs-predis-comparison-on-real-production-data-a819b48cbadb

I might be interested in implementing support for Predis 2. It looks like it will be required to get rid of deprecation warnings with PHP 8.2.
Any guidelines on what an implementation might look like? Do we want to support both Predis 1 and 2, or would a major version bump to drop Predis 1 be acceptable?

We don't need to support both and major version bump depends on how much configuration changes, but I don't have issues with early major bump to get this support either

authors: edsrzf macr1408 ostrolucky pesseyjulien

repo: snc/SncRedisBundle

license: mit

license_source: bigquery


text:
Couldn't match this pattern "/v:major.:minor/*"

I'm trying to match the api version number from the url like this:
UrlPattern = require 'url-pattern'
pattern = UrlPattern.newPattern '/v:major.:minor/*'
result = pattern.match(req.path)
console.log result

When I use this url /v1.1/resource/?token=1234567890 it gives me:
{ 'major.:minor': '1.1', _: [ 'resource/' ] }

but I'm trying to match the :major & :minor version numbers!

sorry for taking so long to answer !
:major.minor matches everything until the next / (or custom separator).
this is intentional.
the best solution at the moment is something like this:
UrlPattern = require 'url-pattern'
pattern = UrlPattern.newPattern '/v:version/*'
result = pattern.match(req.path)
if result?
  [minor, major] = result.version.split('.')

it would certainly be useful to allow multiple characters to act as separators
which would make your example behave as you wanted it to.
i will improve the way separators are handled in the next version.
i am leaving this issue open to remind me of that.

I thought the semicolon in :major & in :minor are enough to do the trick (like one could do when adding a route to Express framework), but anyway I did something similar to the solution you proposed,
I'm glad you are going to consider it in next release, & I think if you concentrated on matching with the semicolon somehow, it would be much more accurate.
Good Luck :)

yes, that would be ideal and thats how it should work.
: followed by at least one alphanumeric char (name) should match everything until the next non-alphanumeric char.

But this didn't match v:major.:minor with me although I'm using semicolons before major & before minor

true.
my last comment was not about the current behaviour.
it was about ideal behaviour that i will implement in the next version.
sorry if i was being unclear :)

Never mind :) , it is great to hear that :+1:

in version 0.8 this is now working as you expected :)
see all changes here: https://github.com/snd/url-pattern#08

Great :)
I'll apply it in my project soon, thanks for the follow up, I hope you the best in your projects.

authors: abdelhady snd

repo: snd/url-pattern


text:
Compatibility Issue: Temporary Table Creation in save_as_table Conflicts with Snowflake Native Apps

I've encountered a compatibility problem when using snowflake-ml-python within a Snowflake Native App environment. The issue stems from the internal use of snowpark.DataFrame.save_as_table within the library (e.g., in OrdinalEncoder).
This method appears to create a temporary table under the hood:
https://github.com/snowflakedb/snowflake-ml-python/blob/2932445f3e0fbf42000d51ec9c9256032570ed76/snowflake/ml/modeling/preprocessing/ordinal_encoder.py#L250-L258
However, Snowflake Native Apps have a restriction that prevents the creation of temporary tables. This incompatibility renders certain parts of snowflake-ml-python unusable within Native Apps.
Suggested Resolution:
I'd like to request that the team consider a modification to address this limitation.

Thanks for reporting. We are aware of this issue. Native Apps team is considering some workaround for this.

@sfc-gh-sdas . Do you know if there is a workaround for this yet?

authors: Synohara patrickhowerter sfc-gh-sdas

repo: snowflakedb/snowflake-ml-python


text:
package.cache: you don't have permission to modify this file

Just now I got this interesting error on Windows (on top of ghc/ghc@a1950e6dc03b560105903ad44050b1570f3bc24f):
...
/-------------------------------------------------------------------\
| Successfully built library 'ghc-prim' (Stage1, way v).            |
| Library: _build/stage1/libraries/ghc-prim/libHSghc-prim-0.5.2.0.a |
| Library synopsis: GHC primitives.                                 |
\-------------------------------------------------------------------/
| Run Tar Extract: libraries/integer-gmp/gmp/gmp-tarballs/gmp-6.1.2-nodoc.tar.bz2 => C:/Users/IEUser/AppData/Local/Temp/extra-dir-613326556233
| Copy file: libraries/integer-gmp/gmp/gmpsrc.patch => C:/Users/IEUser/AppData/Local/Temp/extra-dir-613326556233/gmpsrc.patch
| Apply patch C:/Users/IEUser/AppData/Local/Temp/extra-dir-613326556233/gmpsrc.patch
patching file gmp-6.1.2/configure
patching file gmp-6.1.2/Makefile.am
patching file gmp-6.1.2/Makefile.in
patching file gmp-6.1.2/configure.ac
patching file gmp-6.1.2/mpn/asm-defs.m4
| Move directory: C:/Users/IEUser/AppData/Local/Temp/extra-dir-613326556233/gmp-6.1.2 => _build/stage1/gmp
| Run Configure "_build/stage1/gmp": _build/stage1/gmp/Makefile.in => _build/stage1/gmp/Makefile
| Fix _build/stage1/libraries/base/package-data.mk
| Fix _build/stage1/libraries/base/inplace-pkg-config
| Run GhcPkg Update Stage1: _build/stage1/libraries/base/inplace-pkg-config => inplace/lib/package.conf.d/base-4.11.0.0.conf
base-4.11.0.0: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/base\doc\html\base\base.haddock doesn't exist or isn't a file
| Run GhcCabal: libraries/filepath/filepath.cabal => _build/stage1/libraries/filepath/package-data.mk (and 1 more)
| Run GhcCabal: libraries/xhtml/xhtml.cabal => _build/stage1/libraries/xhtml/package-data.mk (and 1 more)
| Fix _build/stage1/libraries/filepath/package-data.mk
| Run GhcCabal: libraries/array/array.cabal => _build/stage1/libraries/array/package-data.mk (and 1 more)
| Run GhcCabal: libraries/transformers/transformers.cabal => _build/stage1/libraries/transformers/package-data.mk (and 1 more)
| Run GhcCabal: libraries/ghc-boot-th/ghc-boot-th.cabal => _build/stage1/libraries/ghc-boot-th/package-data.mk (and 1 more)
| Fix _build/stage1/libraries/filepath/inplace-pkg-config
| Fix _build/stage1/libraries/transformers/package-data.mk
| Run Cc FindCDependencies Stage1: libraries/base/cbits/iconv.c => _build/stage1/libraries/base/c/cbits/iconv.o.d
| Fix _build/stage1/libraries/array/package-data.mk
| Fix _build/stage1/libraries/xhtml/package-data.mk
| Run GhcPkg Update Stage1: _build/stage1/libraries/filepath/inplace-pkg-config => inplace/lib/package.conf.d/filepath-1.4.1.2.conf
| Run Cc FindCDependencies Stage1: libraries/base/cbits/sysconf.c => _build/stage1/libraries/base/c/cbits/sysconf.o.d
filepath-1.4.1.2: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/filepath\doc\html\filepath\filepath.haddock doesn't exist or isn't a file
| Run Cc FindCDependencies Stage1: libraries/base/cbits/consUtils.c => _build/stage1/libraries/base/c/cbits/consUtils.o.d
| Run Cc FindCDependencies Stage1: libraries/base/cbits/WCsubst.c => _build/stage1/libraries/base/c/cbits/WCsubst.o.d
| Fix _build/stage1/libraries/ghc-boot-th/package-data.mk
| Fix _build/stage1/libraries/array/inplace-pkg-config
| Run Cc FindCDependencies Stage1: libraries/base/cbits/SetEnv.c => _build/stage1/libraries/base/c/cbits/SetEnv.o.d
| Run Cc FindCDependencies Stage1: libraries/base/cbits/Win32Utils.c => _build/stage1/libraries/base/c/cbits/Win32Utils.o.d
| Run Cc FindCDependencies Stage1: libraries/base/cbits/primFloat.c => _build/stage1/libraries/base/c/cbits/primFloat.o.d
| Run Cc FindCDependencies Stage1: libraries/base/cbits/CastFloatWord.cmm => _build/stage1/libraries/base/cmm/cbits/CastFloatWord.o.d
| Fix _build/stage1/libraries/ghc-boot-th/inplace-pkg-config
| Run Cc FindCDependencies Stage1: libraries/base/cbits/inputReady.c => _build/stage1/libraries/base/c/cbits/inputReady.o.d
| Fix _build/stage1/libraries/transformers/inplace-pkg-config
| Run Cc FindCDependencies Stage1: libraries/base/cbits/PrelIOUtils.c => _build/stage1/libraries/base/c/cbits/PrelIOUtils.o.d
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/sysconf.c => _build/stage1/libraries/base/c/cbits/sysconf.o
| Run Cc FindCDependencies Stage1: libraries/base/cbits/DarwinUtils.c => _build/stage1/libraries/base/c/cbits/DarwinUtils.o.d
| Run GhcPkg Update Stage1: _build/stage1/libraries/ghc-boot-th/inplace-pkg-config => inplace/lib/package.conf.d/ghc-boot-th-8.3.conf
ghc-boot-th-8.3: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/ghc-boot-th\doc\html\ghc-boot-th\ghc-boot-th.haddock doesn't exist or isn't a file
| Run Cc FindCDependencies Stage1: libraries/base/cbits/md5.c => _build/stage1/libraries/base/c/cbits/md5.o.d
| Fix _build/stage1/libraries/xhtml/inplace-pkg-config
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/iconv.c => _build/stage1/libraries/base/c/cbits/iconv.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/SetEnv.c => _build/stage1/libraries/base/c/cbits/SetEnv.o
| Run GhcPkg Update Stage1: _build/stage1/libraries/array/inplace-pkg-config => inplace/lib/package.conf.d/array-0.5.2.0.conf
| Run Ghc CompileHs Stage1: libraries/base/cbits/CastFloatWord.cmm => _build/stage1/libraries/base/cmm/cbits/CastFloatWord.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/consUtils.c => _build/stage1/libraries/base/c/cbits/consUtils.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/PrelIOUtils.c => _build/stage1/libraries/base/c/cbits/PrelIOUtils.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/WCsubst.c => _build/stage1/libraries/base/c/cbits/WCsubst.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/DarwinUtils.c => _build/stage1/libraries/base/c/cbits/DarwinUtils.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/primFloat.c => _build/stage1/libraries/base/c/cbits/primFloat.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/Win32Utils.c => _build/stage1/libraries/base/c/cbits/Win32Utils.o
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/inputReady.c => _build/stage1/libraries/base/c/cbits/inputReady.o
| Run GhcPkg Update Stage1: _build/stage1/libraries/transformers/inplace-pkg-config => inplace/lib/package.conf.d/transformers-0.5.4.0.conf
| Run Ghc CompileCWithGhc Stage1: libraries/base/cbits/md5.c => _build/stage1/libraries/base/c/cbits/md5.o
array-0.5.2.0: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/array\doc\html\array\array.haddock doesn't exist or isn't a file
transformers-0.5.4.0: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/transformers\doc\html\transformers\transformers.haddock doesn't exist or isn't a file
| Run GhcPkg Update Stage1: _build/stage1/libraries/xhtml/inplace-pkg-config => inplace/lib/package.conf.d/xhtml-3000.2.2.conf
| Run GhcCabal: libraries/deepseq/deepseq.cabal => _build/stage1/libraries/deepseq/package-data.mk (and 1 more)
| Run GhcCabal: libraries/stm/stm.cabal => _build/stage1/libraries/stm/package-data.mk (and 1 more)
xhtml-3000.2.2: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/xhtml\doc\html\xhtml\xhtml.haddock doesn't exist or isn't a file
ghc-pkg.exe: C:\Users\IEUser\ghc\inplace\lib\package.conf.d\package.cache: you don't have permission to modify this file
shakeArgsWith    0.000s    0%
Function shake   0.221s    0%
Database read    0.017s    0%
With database    0.032s    0%
Running rules  322.456s   99%  =========================
Total          322.726s   99%
Error when running Shake build system:
* inplace/lib/package.conf.d/xhtml-3000.2.2.conf
user error (Development.Shake.cmd, system command failed
Command: inplace/bin/ghc-pkg.exe update --force -v0 _build/stage1/libraries/xhtml/inplace-pkg-config
Exit code: 1
Stderr:
xhtml-3000.2.2: Warning: haddock-interfaces: C:/Users/IEUser/ghc/_build/stage1/libraries/xhtml\doc\html\xhtml\xhtml.haddock doesn't exist or isn't a file
ghc-pkg.exe: C:\Users\IEUser\ghc\inplace\lib\package.conf.d\package.cache: you don't have permission to modify this file
)

hadrian/build.stack.sh --configure -j --flavour=quickest  0.05s user 0.06s system 0% cpu 5:25.04 total

ls suggests I have permissions:
IEUser@MSEDGEWIN10 /c/Users/IEUser/ghc (git)-[remotes/nh2github/bug-8684-interruptible-hWaitForInput] % ls -lah inplace/lib/package.conf.d/package.cache
-rw-r--r-- 1 IEUser None 40K Nov 25 14:55 inplace/lib/package.conf.d/package.cache

Maybe it's something about some ghc-pkg invocations running in parallel on Windows, and that's not OK?

My workaround is to just re-run it.
I'm using ghc-8.0.2 installed via stack.

@nh2 Thanks for reporting. I think I've seen this occasionally hitting CI, but I could never figure out why this happens. We use Shake resources to limit the number of parallel accesses to the package database, but presumably the error says that two processes collided when accessing package.conf.d/package.cache.
By the way, googling for package.conf.d\package.cache: you don't have permission to modify this file reveals quite a lot of similar reports outside of Hadrian. Could this be a GHC bug?

GHC 8.0 was plagued by this problem - GHC 8.2  is vastly better, but it still happens occasionally. There's definitely GHC-level races on this file. I thought we were using Shake to avoid them, but I guess not entirely.

@ndmitchell Thanks! Do you think there is a GHC ticket for this problem? I tried to find an existing ticket, but only found a closed one.

It's been closed since it got fixed in 8.2 :) Or at least  it got mostly fixed, I still see it from time to time but it's a lot better at least.

I see :) Well, I'm tempted to close this issue then.
All: if you think we can somehow workaround this GHC bug in Hadrian, please reopen this issue.

Does every GHC compile take the ghc-pkg reader lock? I think it should.

@ndmitchell Yes. GHC takes a readPackageDb resource, whereas ghc-pkg takes writePackageDb:
https://github.com/snowleopard/hadrian/blob/master/src/Rules.hs#L78-L81
This is not type-checked though, so we might have missed this somewhere. We could in principle make this more type-safe, but I'm not sure if this is worth it.

Given it still fails we probably did miss something somewhere.

Hmm, I'll double check, but didn't you say above that it's a GHC bug? That is it got better in 8.2 but is still a bug that you've come across?

It's long known issue in ghc-pkg that if you read/write concurrently to the package db it fails with the above error. See https://github.com/commercialhaskell/stack/issues/2617. GHC 8.2 made it a lot better, but I still don't think it's perfect. Hadrian works around it with reader/writer resources, but clearly the workaround isn't perfect either.

Can’t we fix this in ghc-pkg?

It was fixed in ghc-pkg in 8.2. However, it still occurs occasionally for me so I suspect the fix is incomplete.

OK, I've reopened this issue. Let's check that our workaround this ghc-pkg issue covers all cases.

I would actually far prefer to not workaround bugs in ghc-pkg and rather just fix them. Working around them just means they will remain hidden until users use the compiler. @ndmitchell, can you open a ticket describing precisely what you have observed? ghc-pkg now (#13194) locks the database prior to modification so either the our locking logic is wrong or there is an unrelated bug.

When detected it was reported, and fixed. The Hadrian workaround is required until 8.2 is the GHC boot version.
Since then I’ve had it some times, but never reproducibly or reliably, most often on a machine with aggressive anti virus. If I ever have it happen reliably I’ll ticket it.

authors: angerman bgamari ndmitchell nh2 snowleopard

repo: snowleopard/hadrian


text:
Follow symlinks forever

Changes
It allows symlinks that contain directories with files in them to be followed and built properly.
First mentioned here: https://github.com/snowpackjs/snowpack/discussions/1242
For reference: https://github.com/isaacs/node-glob/issues/139
Testing
Manually with https://github.com/aaronjensen/snowpack-symlink-repro
Docs
No, it's a bug fix.

LGTM!

authors: FredKSchott aaronjensen

repo: snowpackjs/snowpack


text:
Allow enabling/disabling IDFA

Sending IDFA may not be GDPR compliant, so it would be great to allow enabling/disabling apart from enabling/disabling the mobile context. Specially, it is not a required field in mobile context schema.

Thanks for reporting this.
For completeness, the IDFA will not be tracked automatically if the Google Mobile Ads library is not added as dependency of the app. If it isn’t included, the tracker will not send the IDFA with the events.
However, your suggestion is definitely an important enhancement that we will consider in the upcoming versions.

Will be addressed in #598

authors: AlexBenny Ehab4290 matus-tomlein

repo: snowplow/snowplow-android-tracker


text:
Add the option to regenerate the page view ID with each page view event

Related to this topic: https://groups.google.com/forum/#!topic/snowplow-user/VdMVqBdoXPE
The page view ID is fixed when the JavaScript Tracker is loaded on a page. It only changes when the page is refreshed or a new page is loaded.
It'd be good to add the option to regenerate the page view ID for single page web apps and infinite scrolls.

The API call would probably look something like
snowplow("regeneratePageViewId");

I'm hazy on why we would not want to generate a new page view ID each time if the user hits trackPageView multiple times on the same page. Is there a use case for this?

I can image having an infinite scroll where the page view event is used to track what content is shown, but you still want to roll it up into a single page view.

Thanks @bogaert - the use case makes sense. I think part of the confusion here is that we are referring to this context in this ticket as a "page view ID", but the actual schema is more open-ended than this:
com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0

So I'd suggest the option to regenerate should be very explicitly named to prevent confusion. Something like:
snowplow("newWebPageForVirtualPageViews", true);

What's does the true argument do?

Nothing - we can remove!
On 2 Dec 2015 12:52 pm, "Fred Blundun" notifications@github.com wrote:

What's does the true argument do?
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow-javascript-tracker/issues/436#issuecomment-161282699
.

This has come up a couple more times – I'd be good if this were included in the next major release.

See  #500

Before implementing this ticket we need to decide if the ID should always be reset per @yalisassoon's #508, or if it should be a disable-able option...

I would make it an option, enabled by default.

one comment here is that, rather than having an id that either normalizes to the page load or normalizes to a virtual page view, it might be useful to do both by having IDs for two different contexts - one for page load and the other for pageview (virtual or otherwise).
The single page apps use case makes sense that you always want to normalize the events to an id based on virtual page view, but there are other cases where virtual page views get fired outside of single page apps.
For instance, if you have a content site that has pages that are subdivided into smaller content segments. For example a page like 'the top 50 movies on netflix right now' - this is a really long page, it loads once but has a writeup on 50 different movies. I may want to measure both the amount of time spent (or clicks from) the overall page 'top 50 movies..' and also want to measure the amount of time spent (or clicks from) each of the sub-sections, like which movie writeup and people stopping to read for a significant amount of time rather than just skimming past.
(this is a real use case by the way, we have a client that has content just like this)
In this use case, if I had to choose between the pageview id (thats stored in redshift in atomic.com_snowplowanalytics_snowplow_web_page_1) being either based on page load or virtual pageview, I'd have to decide up front which use case is more important to me, rather than having the flexibility to query in different ways depending on the question I'm trying to answer

Thanks @ryanrozich! That makes sense.
@yalisassoon @bogaert what do you think about it? I think "physical" page load can have value as well as "virtual" page reload and we probably don't want to loose it.
By "physical page load" I understand GET request for /someUri which initialize tracker code, whereas "virtual page load" is application-defined - it can be tab switch which doesn't perform GET /someUri, but something like Ajax request for /api/data/forSomeUri.

Hi @ryanrozich - in your example it feels to me like you'd want a
subsection context that's sent when a user when a particular div on a page
is in view?
For me a page view should be defined based on the user experience - if the
whole page changes and the URL changes with it, then it makes sense to
track that as a page view - whether it's a virtual page view on a single
page webapp or a new page physically loaded in the browser.
I'm struggling to imagine when I'd want to distinguish physical from
virtual page views: the only time I can imagine that being useful is if I'm
checking page load performance. (So I'd expect performance differences
whether the page loads are virtual or real.) But I suspect I'm not being
imaginative enough?
On Wed, Nov 2, 2016 at 6:14 AM, Anton Parkhomenko notifications@github.com
wrote:

Thanks @ryanrozich https://github.com/ryanrozich! That makes sense.
@yalisassoon https://github.com/yalisassoon @bogaert
https://github.com/bogaert what do you think about it? I think
"physical" page load can have value as well as "virtual" page reload and we
probably don't want to loose it.
By "physical page load" I understand GET request for /someUri which
initialize tracker code, whereas "virtual page load" is application-defined

it can be tab switch which doesn't perform GET /someUri, but something
like Ajax request for /api/data/forSomeUri.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowplow/snowplow-javascript-tracker/issues/436#issuecomment-257781664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMRu2RklToPjUh8QKx0k6P1GwRReJvMks5q6CpDgaJpZM4Gs-mO
.

--
Co-founder
Snowplow Analytics http://snowplowanalytics.com/
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 7841 954 117
@yalisassoon https://twitter.com/yalisassoon
https://twitter.com/yalisassoon
Sign up to our mailing list! http://eepurl.com/b0yEgz

Thanks for the comments @ryanrozich - we appreciate all input!
It's an interesting discussion. I agree with @yalisassoon that we shouldn't overload the page view:

For me a page view should be defined based on the user experience - if the whole page changes and the URL changes with it, then it makes sense to track that as a page view - whether it's a virtual page view on a single page webapp or a new page physically loaded in the browser.

To track what content a user has “seen” (i.e. what divs have scrolled into view), I'd create a separate event, perhaps with a second context. I think there's a ticket for that, but can't seem to find it - do you know where it is @yalisassoon?

It's more about the mechanics than the schema design but there is a content viewability ticket, Add item in-view events #98

Hi @chuwy I've been testing this and it's not working as I'd expect.
Let's take a specific sequence of track methods firing on a single web page with the web page context enabled

trackPageView
trackSelfDescribingEvent
trackStructEvent
trackSelfDescribingEvent
trackPageView
trackSelfDescribingEvent
trackSelfDescribingEvent

I'd expect to get the same web_page ID for the first 4 events, and then a second web_page ID for events 5-7.
Instead, I get one web_page ID for the first event.
Another web page ID for events 2-5.
A third web page ID for events 6-7.
So it looks like the ID is regenerating after the trackPageView event is called, rather than before.
Can you please double check?
Thanks!

Thanks for detailed info, @yalisassoon. I think you're right. This should be fixed in rc6.

Thanks @chuwy - the fix is working great!

authors: alexanderdean bogaert chuwy fblundun ryanrozich yalisassoon

repo: snowplow/snowplow-javascript-tracker


text:
Placeholder for Kinesis integration tests using kinesalite and dynalite

https://groups.google.com/d/msg/snowplow-user/pc9uP7hkHLI/YtQePA_yEgAJ
/cc @danisola

Moving to Enrich to evaluate

repo: snowplow/snowplow


text:
Kinesis Elasticsearch Sink: stop sending null for unpopulated fields

See https://github.com/snowplow/snowplow-scala-analytics-sdk/issues/11

migrated to: snowplow/snowplow-elasticsearch-loader#19

authors: BenFradet fblundun


text:
Document how to load Redshift via SSL

Currently this is missing from the documentation.
We should update this page with the different valid configuration options for ssl_mode. The legal values are:

disabled (default)
require
verify-ca or
verify-full

We should similarly update https://github.com/snowplow/snowplow/wiki/Setting-up-Redshift#ssl

@yalisassoon - I updated the Common Configuration article. However, to update the Setting up Redshift, I need a real example of (access to) SSL enabled cluster.

Thanks Ihor!
On Mon, Jul 11, 2016 at 7:59 PM, Ihor Tomilenko notifications@github.com
wrote:

@yalisassoon https://github.com/yalisassoon - I updated the Common
Configuration
https://github.com/snowplow/snowplow/wiki/Common-configuration article.
However, to update the Setting up Redshift
https://github.com/snowplow/snowplow/wiki/Setting-up-Redshift#ssl, I
need a real example of (access to) SSL enabled cluster.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowplow/snowplow/issues/2800#issuecomment-231796597,
or mute the thread
https://github.com/notifications/unsubscribe/AAMRu5V16etBErAv7VYFqr8t_Jnw5p3Kks5qUnZvgaJpZM4JIyCq
.

--
Co-founder
Snowplow Analytics http://snowplowanalytics.com/
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 7841 954 117
@yalisassoon https://twitter.com/yalisassoon
https://twitter.com/yalisassoon
Sign up to our mailing list! http://eepurl.com/b0yEgz

Not sure I understand what you need @ihortom for the second part?

@alexanderdean - that article is all about screenshots. If that is what expected, I need to produce a screenshot of some client. If that is not required and a few sentences will do then I will completed the task.

A few sentences is fine...

done

Great, closing!

authors: alexanderdean ihortom yalisassoon


text:
Possibility to set log file permissions?

Is there a way to set the log file permissions? I currently first create the file using os.OpenFile to make sure it has the permissions I need it to have. Is there a way of doing this directly using rotatefilehook?

Hey @kramer65 essentially this is a wrapper around https://github.com/natefinch/lumberjack and their response to that question is to basically do what you already are. https://github.com/natefinch/lumberjack/issues/82 If you want to lobby lumberjack to add this functionality, I'll happily expose it. Sorry for the delay.

repo: snowzach/rotatefilehook


text:
🛑 Interseed (interseed.app) is down

In 25fac05, Interseed (interseed.app) (https://interseed.app) was down:

HTTP code: 404
Response time: 133 ms

Resolved: Interseed (interseed.app) is back up in 06117b0 after 10 minutes.

repo: so-more/proof-monitoring


text:
Get region from number

Hi, I was looking to get the region (or region code) from a number, and was wondering if you would be open to pull requests for such a feature, and if so, how to structure it.

Nevermind, found that this can already be done:
iex(1)> {:ok, num} = ExPhoneNumber.parse("+31612345678", "")
{:ok,
 %ExPhoneNumber.Model.PhoneNumber{
   country_code: 31,
   country_code_source: nil,
   extension: nil,
   italian_leading_zero: nil,
   national_number: 612345678,
   number_of_leading_zeros: nil,
   preferred_domestic_carrier_code: nil,
   raw_input: nil
 }}
iex(2)> ExPhoneNumber.Metadata.get_region_code_for_number(num)
"NL"


text:
Ideas for v2.0

Hey All. Thanks for all the feedback recently. It feels good to finally get some inertia on this crate  after so long!
I'd like to get v2.0 released by the end of the year, if that's possible. Here's what I'm thinking for it:

Get all the outstanding issues and PR's done:

@j4r0u53k is working on #16 to bring in CAN FD support.
@nnarain 's PR  #24 would solve some of the API and the ExtendedID issues.
@marcelbuesing 's #21 would restore CI to the repo

Make better use of the upstream crates.

Some of the low-level types, constants, and other definitions have since been added to the upstream crates, like nix. So give a quick review and remove whatever possible from this one.

[Maybe] Consolidate the error types or make a wrapping Error type with a Result

Lately I've been finding it tough to use a lot of libraries in an application when each has a dozen error types.
It's nice when a library has a single, top-level error to say, for example, "Was this a CAN error?"

Overall cleanup:

Better documentation on all the types, functions, modules, etc
More restrictive linte like #![deny(missing_docs)], etc
Unit Tests!

Timestamps

The whole reason I wanted to update this crate in the first place was because I needed hardware timestamps!  Now I can't even remember if I did anything about that.

After that is finished and released,  I would like to start putting together v2.1 to add full NetLink support for the CAN interfaces.

Sorry for the noise, but were there any updates for the 2.0 release? If something isn't finished yet, I still think it's better to craft the new release, so users (us) could use it already, while other improvements can land in next versions.

There was some work on the Netlink portions of this crate around December with a lot left to do, but I also agree that stuff like CAN-FD should be made available as fast as possible (I also need it for other projects).

I'd agree we should get a 2.0 released soon. I'm currently still using a fork for tokio-socketcan and would like to put a PR up for that.

Yes, apologies, I got caught up on several other projects, but I need this soon, too! I had a few experiments started in January on how to clean up and finish some refactoring, but I started wondering recently if I should mostly push out what's been sitting in the repo as v2.0, and then do the further work as v3.0 if it breaks the API again.
But either way, I'll be starting back on this project this week or next at the latest...

Getting 2.0 out sooner will probably also get more people using this crate again, which will help get more people contributing to a cleanup.

After browsing every RUST/CANBUS implementations I found on github, I ended up restarting a new can-rustlib from scratch. My only target is Linux and I want to avoid any non critical dependencies. We do LTS support and when running a code for 10/15years you should think twice before adding any new dependency. My is to limit this lib to low-level Can interface, leaving tooling, async,... outside of the library.
I already had a legacy C++ Can service(doc@[1] source@[2]) that supports RawCan+BMC+J1939+OBD2+NMEA2000+... My goal is to renew this service in RUST. This new version should integrate with our new micro-service architecture[3] and VSS/kuksa_databroker[4].
From a functional point of view, Rust/new version should support:

every previously supported functionalities

RawCan+BMC+J1939+OBD2+NMEA2000+...
Microservice per message/signal Security model (Rest,Websocket,Ram/Ram,...)

New features

faster/less resource

better memory heap usage
lazy synchronization with less json serialization

message parsing: move from statics OpenXC generating static C++ code to dynamic DBC format interpretation
hopefully Rust code will be simpler/cheaper to maintain that C++ version
After two days of work, I already get promising result:
DBC parsing works (thanks to can-dbc [5]).
Message binary parsing done with bitvec
SocketCan interface done at 80%

Raw CAN and CANFD done
Filter done
Message parsing done
BMC in progress (hopefully only an other 1/2day of work)
I still have to integrate higher level CAN protocol (J1939, NMEA2000, ...) and finalize the API to get a clean separation in between the low-level and higher level.

Hopefully I will be able to publish something by the end of the week. But the code should under "work in progress" status until end of April.
[1] https://docs.redpesk.bzh/docs/en/master/redpesk-core/canbus/1-Architecture.html
[2] https://github.com/redpesk-common/canbus-binding
[3] https://github.com/redpesk-common/afb-librust
[4] https://github.com/eclipse/kuksa.val/tree/master/kuksa_databroker
[5] https://github.com/marcelbuesing/can-dbc.git

That's awesome, @fulup-bzh!
As for this crate, the final cleanup of the frame and error types is underway for v2.0, and should be done and released in the next week or two. That work is mostly up in the develop branch and should be merged into master this week.
Comments welcome.

I will close this now. If there are any specific problems with the code pertaining to the v2.0 release, please open specific tickets.

I'd agree we should get a 2.0 released soon. I'm currently still using a fork for tokio-socketcan and would like to put a PR up for that.

Agreed, what is the best way for moving forward with such a feature flag integration?

v2.0 is out. If you want to discuss additional features, feel free to open more tickets with ideas. I'd personally like to integrate async/await capabilities into this library, but in a way that is agnostic to the executor framework. Obviously tokio is the most popular, but I have several customers that use others.

authors: XVilka fpagliughi fulup-bzh jreppnow nnarain osiler therishidesai

repo: socketcan-rs/socketcan-rs


text:
Are the examples out of date for v1.7.0?

It seems like all the examples don't build for v1.7.0

Do you mean the examples currently in master?
If so, then no, they will not work with v1.7.0. The master branch is preparing for a major update to v2.0. So, relative to that, it's v1.7.0 that is out of date.

12 | use socketcan::{CanFrame, CanSocket, Frame, Socket};
   |                 ^^^^^^^^  ^^^^^^^^^  ^^^^^  ^^^^^^ no `Socket` in the root
   |                 |         |          |
   |                 |         |          no `Frame` in the root
   |                 |         no `CanSocket` in the root
   |                 no `CanFrame` in the root
   |
   = help: consider importing this trait instead:
           embedded_can::Frame
help: a similar name exists in the module
   |
12 | use socketcan::{CANFrame, CanSocket, Frame, Socket};
   |                 ~~~~~~~~
help: a similar name exists in the module
   |
12 | use socketcan::{CanFrame, CANSocket, Frame, Socket};
   |                           ~~~~~~~~~
help: a similar name exists in the module
   |
12 | use socketcan::{CanFrame, CanSocket, Frame, socket};

The blocking example fails to build with the following. I can rename CanFrame and CanSocket easily but I'm not sure where Frame comes from.

Also it looks like the CANSocket type doesn't have a receive funciton.

The examples work with v2.0
The examples do not work with v1.7.0
v2.0 is not released yet.
There are a significant number of breaking changes in v2.0

Ah ok, I misread your initial reply.

No worries. I need to get back to this and get v2.0 released. I agree. It's confusing.

Do you have an estimated time as to when 2.0 will be out?

authors: fpagliughi therishidesai


text:
[Backend manager] Crud API for Backends

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature

What this PR does / why we need it:
Implement REST APIs for create backend ,list and delete backend for all cloud vendors.
Which issue(s) this PR fixes:

Fixes #
Test Report Added?:

/kind TESTED

Test Report:
Get backends from postman :

Get specific backend :

Delete specific backend :

Message shown after specific backend delete :

Get all backends :

Create backend using AWS API :

Special notes for your reviewer:

Please don't send any mails to me
Sent from Yahoo Mail on Android
On Tue, 24 Jan 2023 at 3:57 pm, Pravin @.***> wrote:
@PravinRanjan10 commented on this pull request.
In api/pkg/backend/service.go:

@@ -122,7 +121,7 @@ func (s *APIService) GetBackend(request *restful.Request, response *restful.Resp

if err != nil {
	log.Errorf("failed to get backend details: %v %s\n", err, err.Error())

  if strings.Contains(err.Error(), "invalid input to ObjectIdHex") {

  if strings.Contains(err.Error(), "invalid input to ObjectIdHex") || strings.Contains(err.Error(), "mongo: no documents in result") {

please format this properly
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

repo: sodafoundation/multi-cloud


text:
feat: git log --stat, but annotated with codeowner

A partial implementation of git log --stat, which shows the codeowner information.
$ git codeowners log origin/master..
05a4fc chore: do the hokey cokey
 * "Cargo.lock" @ops
 * "Cargo.toml" @ops

e5fe46 feat: Discover current repository
 * "Cargo.lock" @ops
 * "Cargo.toml" @ops
 * "src/main.rs" @softprops

Summary:
 * @softprops: 1 files in 1 commits, including: "src/main.rs" in e5fe46 feat: Discover current repository
 * @ops: 4 files in 2 commits, including: "src/main.rs" in 05a4fc chore: do the hokey cokey

This helps me understand how to batch up commits for reviews by different teams, and whether a commit is inappropriate.

This is probably not ready to merge, but does do something pretty useful as-is. I'm raising this PR just in case I lose interest in taking it any further.
I also rewrote like half the application while getting to this point, making it easier to reuse the existing code. Feel free to cherry-pick out those bits.

@FauxFaux  this looks amazing! thanks

authors: FauxFaux softprops

repo: softprops/git-codeowners


text:
PullRight option KO with bootstrap 4.0.0-beta

Hi
.dropdown-menu-right class was removed in the lastest bootstrap version (4.0.0-beta).
so pullRight option does not work with this bootstrap version

The .dropdown-menu-right class is not removed in 4.0 beta, but the positioning is now done with JavaScript.

pullRight not working,
bootstrap 4.0.0
 multiselectSettings: IMultiSelectSettings = {
    enableSearch: false,
    pullRight:true ,
    // checkedStyle: 'fontawesome',
    buttonClasses: 'btn btn-default btn-block',
    dynamicTitleMaxItems: 0,
    displayAllSelectedText: false,
    maxHeight: '200px',

  };

authors: janbomber rashnk softsimon


text:
Vectors doesn't looks like vectors, but pixels

Bug
When rendering a SVG based on an XML, lines are aliased. How do I get an antialiasing effect?

Unexpected behavior
Lines are full of alias effect.
Environment info
System:
    OS: macOS 12.3
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 17.29 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.18 - ~/.yarn/bin/yarn
    npm: 8.5.0 - /usr/local/bin/npm
    Watchman: 2022.03.21.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/gerson.montenegro/.rvm/rubies/ruby-3.0.0/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8193401
    Xcode: 13.3/13E113 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.14 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.3 => 0.66.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 12.1.1
Steps To Reproduce
I'm just loading the SVG image based on an XML file. This file is:
const CircleSvg = `
<svg width="354" height="354" xmlns="http://www.w3.org/2000/svg">
 <g>
  <title>Layer 1</title>
  <ellipse stroke-width="10" ry="175.5" rx="175.5" id="svg_2" cy="177" cx="177" stroke-dasharray="5,15" stroke="#000"/>
 </g>
</svg>
`;

export default CircleSvg;

Describe what you expected to happen:
I expect to see a not aliased vector.
Short, Self Contained, Correct (Compilable), Example
This is the way I'm using the XML and the library
import { SvgXml } from 'react-native-svg';
import { CircleSvg } from 'assets/images';

const Intro = () => {
  return (
            <View>
                <SvgXml xml={CircleSvg} width="100%" height="100%" style={{flex: 1}} />
            </View>
  );
}

Any idea?. Thanks

Had some issues with SVG quality and in my case, I had to use the width and height multiplied by the current device DPR. So maybe just increasing the size of the vector can help.

Hello @gersonmontenegromatrix  @labmorales,
It seems that the issue has already been solved.
But if you still face the problem, feel free to open a new issue.
Thank you

repo: software-mansion/react-native-svg


text:
Remove @mkaput from CODEOWNERS

@mkaput is going to maintain CairoLS and will not attempt to review each PR going into Scarb from now on.

😭

authors: milancermak mkaput

repo: software-mansion/scarb


text:
Add --dev flag to scarb add and scarb rm

also added docs 🚀

Please add a [dev-dependencies] section to manifest reference https://github.com/software-mansion/scarb/blob/ff2212120ed0e3ff8340155b950f6a639ea35a89/website/docs/reference/manifest.md?plain=1#L198

Will be done in git-spr PRs


text:
Revert "Use Felt instead of StarknetChainId (#406)"

This reverts commit cefe45cd0b74555c9594b67320ff3d02e9ebba12.
Describe your changes

Linked issues

Closes
Breaking changes

[x] This issue contains breaking changes

Undoes breaking changes from #415

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (41b074c) 69.20% compared to head (06cf342) 69.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #416      +/-   ##
==========================================
+ Coverage   69.20%   69.29%   +0.09%
==========================================
  Files          71       72       +1
  Lines        3117     3127      +10
  Branches      315      315
==========================================
+ Hits         2157     2167      +10
  Misses        810      810
  Partials      150      150

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: DelevoXDG codecov-commenter

repo: software-mansion/starknet-jvm


text:
Update zio, zio-streams to 2.0.0-RC3

Updates

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

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

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

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #1379.

repo: softwaremill/sttp


text:
question 26

The various questions ask about percentages, e.g., On average, what percentage of your time is spent developing software?
but the answers are 1 to 10.
Maybe the questions should be
On average, how much of your time is spent developing software?

Already covered in the German translation ( Zeit == time, never used percentage ;-) )

authors: danielskatz mrtnhmtz

repo: softwaresaved/international-survey


text:
LNK2019 msbuild

window10 , visual studio 2019
安装的时候使用vcpkg，编译安装过程中也安装了openssl（version: 1.1.1l）。、
编写简单的示例程序，出现 LNK2019 错误（以及众多 LNK2001 ）无法解析的外部符号。
window10, clion 2020.3.2 cmake 工程使用 msbuild 为编译器出现同样的问题

@dengjunplusplus windows的编译问题麻烦有空帮看看哈～

记得切到Windows分支。

记得切到Windows分支。

大意了，谢谢~

@dengjunplusplus windows的编译问题麻烦有空帮看看哈～

谢谢~ 已经解决了笑哭😂

repo: sogou/workflow


text:
More cleanup

Fix a few bugs in report-portfolio that snuck through last time
Reduce the number of package dependencies
Reduce size / improve the manifests

Informal approval from @slopp (I think) :smile: Merge away!

repo: sol-eng/stockportfolio


text:
jit: make sure RSP is 16 byte aligned when we call into rust code

This aligns $rsp in emit_rust_call() so that if the rust code uses SIMD instructions that require alignment we don't crash

Codecov Report

Merging #515 (ccfd894) into main (e7aaea2) will increase coverage by 0.06%.
The diff coverage is 80.00%.

:exclamation: Current head ccfd894 differs from pull request most recent head 147f5f1. Consider uploading reports for the commit 147f5f1 to get more accurate results

@@            Coverage Diff             @@
##             main     #515      +/-   ##
==========================================
+ Coverage   89.63%   89.70%   +0.06%
==========================================
  Files          23       23
  Lines       10301    10311      +10
==========================================
+ Hits         9233     9249      +16
+ Misses       1068     1062       -6

Files Changed
Coverage Δ

src/jit.rs
92.18% <80.00%> (-0.18%)
:arrow_down:

... and 1 file with indirect coverage changes

I would like to emit an assertion before each rust call to find the offending call sites first and then investigate further.

I would like to emit an assertion before each rust call to find the offending call sites first and then investigate further. Working on another PR for that.

I'm working on unit tests for this, so please leave it to me 😊 But the answer is "all the call sites".
We don't try to maintain alignment anywhere. Before doing this patch I actually started changing that, but it seemed like too big a change for a backport. Also since we don't have an explicit stack allocator but we manipulate the stack as we go, it seems like it would be fragile.

We don't try to maintain alignment anywhere.

That is not true, while we do lack explicit tests, I have implemented stack padding in various places to reach 16 byte alignment. Some are marked as such in comments, e.g. https://github.com/solana-labs/rbpf/blob/e7aaea240d0d1fcadcc699dec85649ccb6d83b77/src/jit.rs#L1407

Does this fix need to be merged into main as well?

Yes, but we are working on a more detailed analysis of the places which cause misalignment first.

authors: Lichtso alessandrod codecov-commenter ryleung-solana

repo: solana-labs/rbpf


text:
Add IDL for governance program

This is a draft of an IDL for the governance program.
NOTES:

There might be some things that are in accounts and should go to types instead (and viceversa).
Instruction accounts are generated from the comments (such as // 0. [writable] The account to reallocate.)
Names of accounts could be improved (maybe too long, or not clear enough).

@gagliardetto this looks great! Missing a few new accounts however:

ProgramGovernanceV2
MintGovernanceV2
TokenGovernanceV2
SignatoryRecordV2

I think it may be better to go with auto generating the IDL using something like MPL's shank

Might be helpful to just annotate using Shank once this PR is in: https://github.com/metaplex-foundation/shank/pull/32

Might be helpful to just annotate using Shank

Yep! Was thinking the same. It would avoid needing ad-hoc updates to the IDL json file, and remove the need to mentally understand what/how to update.

authors: gagliardetto ngundotra

repo: solana-labs/solana-program-library


text:
Add Gojira WL token

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.

if you need help submitting hit me up

repo: solana-labs/token-list


text:
Add proxy support

Consul is unable to download from behind a proxy. Proxy parameters should be added and then passed down into the archive resources to enable this.

I don't think this is really necessary or advisable. This module uses
https://github.com/voxpupuli/puppet-archive#archive
You could either set your proxy at the system level (setting the http_proxy variable):
http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/
Or if you really must do it in puppet, you should do it in such a way so that it applies to all modules, not just this one:
Archive {
  proxy_server => 'foo',
}

https://docs.puppet.com/puppet/latest/reference/lang_defaults.html

Hi,
Thanks for the note on resource defaults.
I definitely wouldn't want to set a system-wide proxy as mentioned in the article you linked to. It seems to assume interactive and/or login shells. Also, a system-wide proxy setting will break connections to the local LAN unless your proxy is configured to do some sort of intelligent hairpinning for local LAN connections.
While the resource default works, I think there is a compelling argument against it. The resultant code:
Archive {
  proxy_server => 'foo',
}

class {'consul':
  param => 'bar',
  param => 'baz',
}

The Archive resource default does not appear to be related to anything. It only exists because of the knowledge of the internal implementation of the Consul module. I think having to do this is actually an argument for exposing a proxy setting in the Consul module's public interface. This is a pretty common situation with module dependencies -- very often you need to expose some of the interface of the internal modules in the interface of the containing module so that the behavior of the modules used internally can be changed.
Using the resource default could also potentially affect resources it shouldn't (Archive resource on local LAN that shouldn't go through proxy) if they happen to fall within its scope as well.

Alright you have convinced me, but only as much to leave the issue open for you or someone else to make the PR. I just worry about exposing every single option to everything in a puppet module.
I understand that there is the use case for only using an http proxy with this one puppet module, but imo a proxy setting is a system-wide thing. (You use the no_proxy var to specify the names/ips to not use the proxy for)

I agree it would be nice to be able to set this system-wide but it's up to each program as to whether it respects the *_proxy environment variables (and I've run into some that don't).
Thanks for reconsidering and reopening. After some internal deliberation, installation through proxy was abandoned in favor of another solution. I'm re-closing so you don't have the issue hanging around.

authors: solarkennedy walkamongus

repo: solarkennedy/puppet-consul


text:
Persistence

Adding 'efivars' support to Soletta. I decided to reuse 'fs' node type, but renamed it to 'persistence' - however name suggestions are welcome.
From user's perspective, it's like a dictionary: give a name to a packet and save it. User can choose storage type, currently 'efivars' and 'fs'. In case it chooses 'fs', [s]he must choose a 'fs_dir_path' - dir where persisted files will reside - but I'm open to suggestion on how to improve this: I didn't like having to make user define it for every persistence node, but maybe is more a question of config file.

v2 on #646

repo: solettaproject/soletta


text:
Grove sensors v5

Nodes for three analogic sensors of Galileo Grove Kit that would demand some calculation over raw readings to be useful: temperature, light and rotary. The idea is to provide a simple way to use these analogic sensors.
v5:
Use constants to identify internal nodes indexes on nodes.
v4:
Small style fix
Reordering temperature_converter_data structure to save space.
v3:
Exposing more parameters on nodes, like potential divider resistor resistance;
Correctly using input range mask on formulae;
Using an exponential approximation (obtained from Grove Starter Kit booklet table, using least squares) for light sensor Lux measurements;
Grove fbp examples updated to use the new nodes;
lcd-grove moved to grove module.
v2:
More meaningful name for struct member
No more relative includes.

Tks! Integrated!


text:
Docker keeps restarting?

Sorry, somehow I posted?
Anyways, the docker keeps restarting, I pulled it with solidnerd/bookstack.
This is how I created it:
docker create
--restart=always
--name=bookstack
--link mariadb-bookstack:mariadb-bookstack
-e DB_HOST=mariadb-bookstack:3306
-e DB_DATABASE=bookstack
-e DB_USERNAME=bookstack
-e DB_PASSWORD=pass
-p 8011:80
solidnerd/bookstack
Any help would be great, thank you!
EDIT: Also I am very new at using docker, so please bare with me.

Sorry, somehow I posted?
Anyways, the docker keeps restarting, I pulled it with solidnerd/bookstack.
This is how I created it:
docker create
--restart=always
--name=bookstack
--link mariadb-bookstack:mariadb-bookstack
-e DB_HOST=mariadb-bookstack:3306
-e DB_DATABASE=bookstack
-e DB_USERNAME=bookstack
-e DB_PASSWORD=pass
-p 8011:80
solidnerd/bookstack
Any help would be great, thank you!

Sorry, somehow I posted?
Anyways, the docker keeps restarting, I pulled it with solidnerd/bookstack.
This is how I created it:
docker create
--restart=always
--name=bookstack
--link mariadb-bookstack:mariadb-bookstack
-e DB_HOST=mariadb-bookstack:3306
-e DB_DATABASE=bookstack
-e DB_USERNAME=bookstack
-e DB_PASSWORD=pass
-p 8011:80
solidnerd/bookstack
Any help would be great, thank you!
EDIT: Also I am very new at using docker, so please bare with me.

Did you solve it?

repo: solidnerd/docker-bookstack


text:
Update google-cloud-bigquery to 1.137.1

Updates com.google.cloud:google-cloud-bigquery from 1.122.2 to 1.137.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-bigquery" } ]

labels: library-update, semver-minor

Superseded by #251.

repo: solidninja/albion


text:
Update CI configuration

Summary
Run different Solidus versions on different jobs for better error handling.
We're now explicitly providing the ruby version to the executor while using a matrix configuration for better extensibility.
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:

[x] I have written a thorough PR description.
[x] I have kept my commits small and atomic.
[x] I have used clear, explanatory commit messages.

The following are not always needed:

📖 I have updated the README to account for my changes.
📑 I have documented new code with YARD.
🛣 I have opened a PR to update the guides.
✅ I have added automated tests to cover my changes.
📸 I have attached screenshots to demo visual changes.

CI should be green once we release a new version of solidus_dev_support with https://github.com/solidusio/solidus_dev_support/pull/205


text:
Consolidate user input methods

use the same logic to gather user input for secure/default use modes

@yuval-k this mostly applies the interactive mode from kubesquash to the new secure mode
I intend to do another cleanup pass but I'm shifting focus to vs-code compatibility and unlocking the other languages at the moment

repo: solo-io/squash


text:
🛑 server.h-24871.kz is down

In 068808a, server.h-24871.kz (185.121.81.43) was down:

HTTP code: 0
Response time: 0 ms

Resolved: server.h-24871.kz is back up in 3a7c76d.


text:
mplace_field should use ptr_offset_inbounds

Currently, mplace_field uses ptr.ptr_offset to compute the new pointer. It should use self.ptr_offset_inbounds, or we should make sure that we cover our bases.
Some test cases (that all should be UB):
Test 1:

Uses a field access to go out-of-bounds beyond the end, but just turn the result into a raw ptr.
Use wrapping_offset to go back inbounds.
Use the ptr.

Test 2:

Use wrapping_offset to go out-of-bounds before the allocation
Use field access to go back in-bounds
Use the ptr

Duplicate of https://github.com/solson/miri/issues/447

repo: solson/miri


text:
--prefix option isn't respected

just as the title mentioned, trying to install in a non-standard path (because of using msys2 on windows) like /mingw64 by using ./configure --prefix=/mingw64 still installs to /usr regardless. Just fyi

fix is easy, making a patch as we speak and testing it, once I'm satisfied it works I'll submit it :)

A pull request has been made containing my fix :)

thx :)

repo: solus-project/evopop-icon-theme


text:
More examples

I really love the syntax and apparent optimisations but I am struggling to find it useful when playing around.
Ideally what I need to see is some example of input creation, manipulation and binding. I'm not getting it with the examples and snippets currently available.

Data attributes.
Available events.

A community site with lots of editable and documented examples is right around the corner :)

authors: krazyjakee somebee

repo: somebee/imba


text:
Unused attributes prefixed with _ don't work

For example:
#[self_referencing]
pub struct RentalStream {
    lifetime: (),
    #[borrows(lifetime)]
    #[covariant]
    context: uvc::Context<'this>,
    #[borrows(context)]
    #[covariant]
    device: uvc::Device<'this>,
    #[borrows(device)]
    #[covariant]
    device_handle: uvc::DeviceHandle<'this>,
    #[borrows(device_handle)]
    #[covariant]
    stream_handle: uvc::StreamHandle<'this>,
    #[borrows(mut stream_handle)]
    #[covariant]
    active_stream: uvc::ActiveStream<'this, ()>,
}

warning: field is never read: `active_stream`
  --> examples/demo-viz/uvc_camera.rs:41:9
   |
41 |     pub active_stream: uvc::ActiveStream<'this, ()>,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

but if I change it to _active_stream, I now get:
warning: method `with__active_stream` should have a snake case name
  --> examples/demo-viz/uvc_camera.rs:41:5
   |
41 |     _active_stream: uvc::ActiveStream<'this, ()>,
   |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `with_active_stream`
   |
   = note: `#[warn(non_snake_case)]` on by default

warning: method `borrow__active_stream` should have a snake case name
  --> examples/demo-viz/uvc_camera.rs:41:5
   |
41 |     _active_stream: uvc::ActiveStream<'this, ()>,
   |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `borrow_active_stream`

warning: method `with__active_stream_mut` should have a snake case name
  --> examples/demo-viz/uvc_camera.rs:41:5
   |
41 |     _active_stream: uvc::ActiveStream<'this, ()>,
   |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `with_active_stream_mut`

So I had to end up putting a #[allow(dead_code)] on top of my struct RentalStream, a crude hack.

I've just had this same issue, and it appears that #[allow(dead_code)] is no longer working.

This is still an issue for me, neither _ nor using #[allow(dead_code)] will disable warnings

authors: alxdb dllu fluxehub

repo: someguynamedjosh/ouroboros


text:
chore(develop): release somleng-skyetel 0.2.1

:robot: I have created a release beep boop
0.2.1 (2024-10-11)
Bug Fixes

cleanup entrypoint (#12) (e841553)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

somleng-skyetel/v0.2.1
:sunflower:

repo: somleng/somleng-integrations


text:
content: Actualizar lista de modelos

Agregar nuevos modelos a la lista de modelos de los recuersos de la pagina web.
Forma parte de la tarea: Actualizar lista modelos web en la Org. Hackathon 2024.

Hola @aaronjimv, muchísimas gracias por buscar nuevos modelos para la lista! 🤗 Perdona, en su momento no sabía si seguir extendiendo la lista de la web o pasar a recolectar los modelos en Hugging Face y dejé tu PR sin revisar 🙏 Te gustaría ayudarme a crear la lista en Hugging Face? Igualmente gracias de nuevo por recolectarlos!

Hola @aaronjimv, muchísimas gracias por buscar nuevos modelos para la lista! 🤗 Perdona, en su momento no sabía si seguir extendiendo la lista de la web o pasar a recolectar los modelos en Hugging Face y dejé tu PR sin revisar 🙏 Te gustaría ayudarme a crear la lista en Hugging Face? Igualmente gracias de nuevo por recolectarlos!

Hola @mariagrandury, gracias por escribir. Feliz de ayudar, que tendria que hacer para crear la lista en Hugging Face?

authors: aaronjimv mariagrandury


text:
Scanner Page: Default settings blurb

Currently with the adjusted layout of the scanner page, if a user has the default settings selected, it's just a lot of white space to the right of the radio buttons. I'm working on writing a sentence or two about why/how we picked the rules for the default scanner. If there is anything specific I should call out please let me know @molant and @alrra. Since the scanner + scan results PR hasn't been merged yet, I'd like to have this small snippet ready to go by the time that gets merged.

I think we removed the option that allowed users to select different rules for now, right?

I think it was removed, but if I recall correctly, there's still a radio button with default settings selected. If this is the case I think it would still be user friendly to give a brief overview of what 'default settings' mean: what are we scanning for. It doesn't have to be very detailed and can be something broad like, "We're scanning for some of the most common issues developers have with websites." Or something similar.

there's still a radio button with default settings selected.

I think we even removed that section. In any case I need to go through the blub of all that page...

authors: molant ststimac


text:
您好，关于Multi-grained Attention Network for Aspect-Level Sentiment Classification这篇论文

Multi-grained Attention Network for Aspect-Level
Sentiment Classification
这篇论文中，作者提出了一个损失函数，想问一下您有复现这个损失函数吗

same as #33

authors: SizzleWang songyouwei

repo: songyouwei/ABSA-PyTorch


text:
10 Second Delay on iOS using Tokbox 2.4.1

After upgrading to Tokbox 2.4.1 I was getting a 10 second delay before the video would show when publishing. It turns out there is a performance bug in that version when you default to the back camera.
After changing the default back to the front camera, it worked well the first time I published but then I was getting a 10 second delay the second time I started publishing. After a lot of tinkering around I narrowed it down to this line:
_session = [[OTSession alloc] initWithApiKey: apiKey sessionId:sessionId delegate:self];
It turns out that _session and _publisher still had object references left over after calling publisher.destroy() and session.disconnect() from my app.
I removed the delay by adding _session = nil; in the initSession implementation (in OpenTokPlugin.m) and  _publisher=nil; in the destroyPublisher implementation. I'm not sure if that was the best way to solve the issue, but I figured I would post it to help out anyone else having the problem, and so that a proper fix can be added.

Thanks @pfreitag could you please submit a pull request?

+1

authors: aullman mark-veenstra pfreitag

repo: songz/cordova-plugin-opentok


text:
[Thinkit] Adding ssh_client header file.

Build Results:
divya@e9e9b2e05579:/sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 324 targets (0 packages loaded, 0 targets configured).
INFO: Found 324 targets...
...
INFO: Elapsed time: 209.569s, Critical Path: 45.24s
INFO: 428 processes: 225 internal, 203 linux-sandbox.
INFO: Build completed successfully, 428 total actions
Test Results:
divya@e9e9b2e05579:/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 324 targets (0 packages loaded, 271 targets configured).
INFO: Found 207 targets and 117 test targets...
INFO: Elapsed time: 68.370s, Critical Path: 22.02s
INFO: 122 processes: 129 linux-sandbox, 17 local.
INFO: Build completed successfully, 122 total actions
//gutil:collections_test PASSED in 0.6s
//gutil:io_test PASSED in 0.6s
//gutil:proto_matchers_test PASSED in 0.6s
//gutil:proto_test PASSED in 0.5s
//gutil:status_matchers_test PASSED in 0.5s
//gutil:test_artifact_writer_test PASSED in 0.5s
//gutil:testing_test PASSED in 0.5s
//gutil:version_test PASSED in 0.9s
//p4_fuzzer:constraints_util_integration_test PASSED in 0.7s
//p4_fuzzer:fuzz_util_test PASSED in 0.8s
//p4_fuzzer:fuzzer_showcase_test PASSED in 0.8s
//p4_fuzzer:switch_state_test PASSED in 0.7s
//p4_fuzzer:table_entry_key_test PASSED in 0.1s
//p4_pdpi:built_ins_test PASSED in 0.5s
//p4_pdpi:ir_tools_test PASSED in 0.7s
//p4_pdpi:p4_runtime_matchers_test PASSED in 0.6s
//p4_pdpi:reference_annotations_test PASSED in 0.7s
//p4_pdpi:sequencing_util_test PASSED in 0.6s
//p4_pdpi:table_entry_key_test PASSED in 0.1s
//p4_pdpi/netaddr:ipv4_address_and_network_address_test PASSED in 0.5s
//p4_pdpi/netaddr:ipv6_address_test PASSED in 0.5s
//p4_pdpi/netaddr:mac_address_test PASSED in 0.5s
//p4_pdpi/packetlib:packetlib_fuzzer_test PASSED in 16.3s
//p4_pdpi/packetlib:packetlib_matchers_test PASSED in 0.6s
//p4_pdpi/packetlib:packetlib_test PASSED in 0.2s
//p4_pdpi/packetlib:packetlib_test_runner PASSED in 0.1s
//p4_pdpi/packetlib:packetlib_unit_test PASSED in 1.3s
//p4_pdpi/string_encodings:bit_string_test PASSED in 0.5s
//p4_pdpi/string_encodings:byte_string_test PASSED in 0.5s
//p4_pdpi/string_encodings:decimal_string_test PASSED in 0.0s
//p4_pdpi/string_encodings:decimal_string_test_runner PASSED in 0.0s
//p4_pdpi/string_encodings:hex_string_test PASSED in 0.1s
//p4_pdpi/string_encodings:hex_string_test_runner PASSED in 0.0s
//p4_pdpi/string_encodings:readable_byte_string_test PASSED in 0.5s
//p4_pdpi/testing:helper_function_test PASSED in 0.6s
//p4_pdpi/testing:info_test PASSED in 0.1s
//p4_pdpi/testing:info_test_runner PASSED in 0.1s
//p4_pdpi/testing:main_pd_test PASSED in 0.0s
//p4_pdpi/testing:mock_p4_runtime_server_test PASSED in 3.6s
//p4_pdpi/testing:packet_io_test PASSED in 0.1s
//p4_pdpi/testing:packet_io_test_runner PASSED in 0.1s
//p4_pdpi/testing:rpc_test PASSED in 0.1s
//p4_pdpi/testing:rpc_test_runner PASSED in 0.1s
//p4_pdpi/testing:sequencing_test PASSED in 0.1s
//p4_pdpi/testing:sequencing_test_runner PASSED in 0.1s
//p4_pdpi/testing:sequencing_util_test PASSED in 0.1s
//p4_pdpi/testing:sequencing_util_test_runner PASSED in 0.0s
//p4_pdpi/testing:table_entry_gunit_test PASSED in 0.8s
//p4_pdpi/testing:table_entry_test PASSED in 0.1s
//p4_pdpi/testing:table_entry_test_runner PASSED in 0.1s
//p4_pdpi/utils:annotation_parser_test PASSED in 0.5s
//p4_pdpi/utils:ir_test PASSED in 0.6s
//p4rt_app/event_monitoring:app_state_db_port_table_event_test PASSED in 0.9s
//p4rt_app/event_monitoring:app_state_db_send_to_ingress_port_table_event_test PASSED in 1.0s
//p4rt_app/event_monitoring:config_db_cpu_queue_table_event_test PASSED in 0.9s
//p4rt_app/event_monitoring:config_db_node_cfg_table_event_test PASSED in 1.0s
//p4rt_app/event_monitoring:config_db_port_table_event_test PASSED in 0.9s
//p4rt_app/event_monitoring:debug_data_dump_events_test PASSED in 0.9s
//p4rt_app/event_monitoring:state_verification_events_test PASSED in 0.9s
//p4rt_app/p4runtime:cpu_queue_translator_test PASSED in 0.5s
//p4rt_app/p4runtime:ir_translation_test PASSED in 0.8s
//p4rt_app/p4runtime:p4info_verification_schema_test PASSED in 0.7s
//p4rt_app/p4runtime:p4info_verification_test PASSED in 0.9s
//p4rt_app/p4runtime:packetio_helpers_test PASSED in 0.9s
//p4rt_app/p4runtime:resource_utilization_test PASSED in 0.8s
//p4rt_app/sonic:app_db_acl_def_table_manager_test PASSED in 0.7s
//p4rt_app/sonic:app_db_manager_test PASSED in 0.8s
//p4rt_app/sonic:app_db_to_pdpi_ir_translator_test PASSED in 0.7s
//p4rt_app/sonic:hashing_test PASSED in 0.7s
//p4rt_app/sonic:packet_replication_entry_translation_test PASSED in 0.8s
//p4rt_app/sonic:packetio_impl_test PASSED in 0.6s
//p4rt_app/sonic:packetio_port_test PASSED in 0.6s
//p4rt_app/sonic:response_handler_test PASSED in 0.9s
//p4rt_app/sonic:state_verification_test PASSED in 0.6s
//p4rt_app/sonic:vrf_entry_translation_test PASSED in 0.7s
//p4rt_app/sonic/adapters:fake_sonic_db_table_test PASSED in 0.1s
//p4rt_app/tests:acl_table_test PASSED in 1.3s
//p4rt_app/tests:action_set_test PASSED in 1.1s
//p4rt_app/tests:api_access_test PASSED in 1.0s
//p4rt_app/tests:arbitration_test PASSED in 1.1s
//p4rt_app/tests:cpu_queue_name_and_id_test PASSED in 1.5s
//p4rt_app/tests:debug_data_dump_test PASSED in 1.0s
//p4rt_app/tests:fixed_l3_tables_test PASSED in 2.5s
//p4rt_app/tests:forwarding_pipeline_config_test PASSED in 3.8s
//p4rt_app/tests:grpc_behavior_test PASSED in 5.4s
//p4rt_app/tests:p4_constraints_test PASSED in 0.5s
//p4rt_app/tests:p4_constraints_test_runner PASSED in 0.2s
//p4rt_app/tests:p4_programs_test PASSED in 1.5s
//p4rt_app/tests:packetio_test PASSED in 3.6s
//p4rt_app/tests:port_name_and_id_test PASSED in 2.3s
//p4rt_app/tests:resource_limits_test PASSED in 2.8s
//p4rt_app/tests:response_path_test PASSED in 2.7s
//p4rt_app/tests:role_test PASSED in 1.1s
//p4rt_app/tests:state_verification_test PASSED in 1.8s
//p4rt_app/tests:vrf_table_test PASSED in 1.5s
//p4rt_app/tests/lib:app_db_entry_builder_test PASSED in 0.1s
//p4rt_app/utils:authz_logger_test PASSED in 1.1s
//p4rt_app/utils:event_data_tracker_test PASSED in 0.0s
//p4rt_app/utils:lru_cache_test PASSED in 0.0s
//p4rt_app/utils:metric_recorder_test PASSED in 1.1s
//p4rt_app/utils:table_utility_test PASSED in 0.7s
//sai_p4/instantiations/google:clos_stage_test PASSED in 0.5s
//sai_p4/instantiations/google:fabric_border_router_p4info_up_to_date_test PASSED in 0.0s
//sai_p4/instantiations/google:middleblock_p4info_up_to_date_test PASSED in 0.0s
//sai_p4/instantiations/google:sai_p4info_fetcher_test PASSED in 0.7s
//sai_p4/instantiations/google:sai_p4info_test PASSED in 0.9s
//sai_p4/instantiations/google:sai_pd_proto_test PASSED in 0.0s
//sai_p4/instantiations/google:sai_pd_util_test PASSED in 0.5s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google:union_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test PASSED in 0.1s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 1.1s
//sai_p4/instantiations/google/test_tools:test_entries_test PASSED in 0.7s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test PASSED in 0.8s
//sai_p4/tools:p4info_tools_test PASSED in 0.5s
//sai_p4/tools:packetio_tools_test PASSED in 0.7s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test PASSED in 22.0s
Stats over 5 runs: max = 22.0s, min = 1.0s, avg = 6.3s, dev = 7.9s
Executed 117 out of 117 tests: 117 tests pass.
INFO: Build completed successfully, 122 total actions
Keyword Check:
divya@eonms3vm12:~/new_code/sonic-buildimage/src/sonic-p4rt/sonic-pins/lib/utils$ ~/keyword_checks.sh .
Keyword check Passed.

@bhagatgit , could you please review

authors: bibhuprasad-hcl divyagayathri-hcl

repo: sonic-net/sonic-pins


text:
Get ready for v0.11 and v1.0

This PR catchup Get ready for v0.11 and v1.0!
This PR also fix https://github.com/sonots/embulk-filter-stdout/issues/1#issuecomment-619551032
@dmikurube Could you take a look when you get a chance?

@dmikurube Thank you for your review. I add the publishing configuration.

@sonots Could you take a look when you get a chance?

repo: sonots/embulk-filter-stdout


text:
TransactionTimedOutError

Hi ,
Anyone have this kind of error?
pi@renogyrover:~ $ node-renogy -s /dev/ttyUSB0 -m 192.168.0.11 -u mqtt -p mqttpasswd
[1658487181379] INFO (9450 on renogyrover): Starting NodeRenogy...
[1658487181402] INFO (9450 on renogyrover): Connected to controller!
[1658487181909] ERROR (TransactionTimedOutError/9450 on renogyrover):
message: "Timed out"
errno: "ETIMEDOUT"
Is it the cable?
I am running this on raspbian with Renogy Rover 20A

I get the same; I know it is not the cable because I can talk to it over: https://github.com/rosswarren/renogymodbus

I have the same Error. I will try renogymodbus

I have the same error.  Has anyone found an answer please?

Is there any update on this one, as I get the same error.

I tried to tinker with that timeout but never got it working. I went back to the rosswarren/renogymodbus and amended to read all data sets and send to MQTT in home assistant. Took awhile and still needs tidying up but basically works. Shame this one doesn't work for whatever reason

How much did you bump the timeout by? Also, confirm the modbus address of your device as it seems some of them differ from the default.

authors: Fibdorius Joe13183 SP410 marcuslib rizalafif sophienyaa

repo: sophienyaa/NodeRenogy


text:
Right align logout button and profile button

in header @Laurin
Make sure it does not overlap with anything if the window is resized

No longer needed as the header does not contain any buttons anymore

solved indirectly with #138

authors: TwoDigitsOneNumber serainaschraff


text:
Add generate annotation command in vs-code extension

Problem
We are currently adopting sorbet on our project and one of the most repetitive task is to add type annotations to every single method. It would be great to have something that would somewhat automate this
Proposed solution

I have been working on a vs-code extension of my own to generate those annotations from a single command. Something like this:
https://github.com/sorbet/sorbet/assets/30696955/4e4d1900-e708-467c-a4b5-bdc44ad50104
But I think it would much better to have this feature built in

https://sorbet.org/docs/sig-suggestion

authors: jez rgevert

repo: sorbet/sorbet


text:
Approximate fix for static field autocorrect suggestions

Motivation

Fixes #5819
Test plan

See included automated tests.

It's kind of unfortunate that we lost the location information indicating the textual StaticField in the assignment and instead redirect to the location information for the definition of the static field

When you say "lost," you don't mean that this PR lost it, do you?
If you mean it in the sense that our CFG isn't good enough to keep track of it, I'm not sure that's true, in fact I think it's likely that we could improve this in the future but I just have opted not to spend a lot of time getting something working.

It's kind of unfortunate that we lost the location information indicating the textual StaticField in the assignment and instead redirect to the location information for the definition of the static field

When you say "lost," you don't mean that this PR lost it, do you?
If you mean it in the sense that our CFG isn't good enough to keep track of it, I'm not sure that's true, in fact I think it's likely that we could improve this in the future but I just have opted not to spend a lot of time getting something working.

Oh, no, this PR didn't lose anything.  I'm 95% certain the necessary location information is in the CFG already, it's just a matter of properly extracting it.  (Or e.g. updating TypeAndOrigins to track more information in cases like these, updating callsites, etc.)

authors: froydnj jez


text:
Add export in SQL

It must be useful for moving the part of data of tables to the different DB engines

Raw SQL export (whole db/single table) is already implemented and available in 0.9.9

But not on the SQL results. I have tables with more than dozen millions of rows and sometimes I need a couple of rows from production Postgres DB to a developer MySQL table and the simplest way to do it is just to copy/paste and execute SQL

How would this feature work on the subset of table data? My guess is that you can always write a custom sql query and export the resulting data as csv, then import that file using postgres csv import feature.
I don't think this feature request worth implementing (from my point of view) since it's based on a very specific use case.  If you'd like to make it happen - send some code ;)

authors: sosedoff varp

repo: sosedoff/pgweb


text:
Use stdlib netrc for parsing

Closes #3.

This changes API slightly in that it raises IOError for an explicitly specified netrcfile that does not exists.  But for a non-existent ~/.netrc this still passes.  Typically this will just punt the problem downstream, but that's what we have now.

Though since I'd misdiagnosed the original problem wrt to occweb, I thought the driver to fix had evaporated again.

Yes, I had not previously grokked your comment that netrc is actually in the Python std lib (focusing the issue (or non-issue)).  So it seemed like a fine thing to do for 20 minutes.

authors: jeanconn taldcroft


text:
Try fixing the sporadic derived params aliases failure

Description
This attempts to fix the  sporadic derived params aliases failure, and provides better debug info if it still fails.
Interface impacts

None.
Testing

Unit tests

[x] Mac

Functional tests

No functional testing.

Have you been able to get insight into why it has been failing?  Also, what is that test really testing?

Have you been able to get insight into why it has been failing?

No, hence the "just try something different" approach.

The test is ensuring that some MSID munging is working for CXC and MAUDE. It is not strictly necessary to check that some data was fetched, but it seems like a good thing.

My confusion was about the test trying to get overlapping time ranges from maude and eng archive and what that was testing (explicitly or implicitly).  Otherwise wondering if it could test more separately.

Yes, it's all a bit confusing. This is a tiny unimportant test, so let's not spend too much more time on this discussion and just see if this works.


text:
T18 icon only shows an square

Issue posted on Souliss by @lupin84ta
https://github.com/souliss/souliss/issues/240
"The icon of the lamp in a typical there appears only one square."

could you elaborate more? which screen? when does this happen?

authors: jkutianski shineangelic

repo: souliss/soulissapp


text:
strip comments

According to Wikipedia
Comments are allowed with parentheses at either end of the local part; e.g. "john.smith(comment)@example.com" and "(comment)john.smith@example.com" are both equivalent to "john.smith@example.com".
--https://en.wikipedia.org/wiki/Email_address

Who implements this obscure spec? Gmail, for one, doesn't:

repo: soundcloud/normailize


text:
Rename PIX&FLIX to PIXNFLIX and show video tab in assessment/grading workspace

Description
Rename PIX&FLIX to PIXNFLIX and show video tab in assessment/grading workspace.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test
Check M9 on staging.
Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 7705

3 of 10 (30.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 32.597%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/assessmentWorkspace/AssessmentWorkspace.tsx
3
5
60.0%

src/pages/academy/grading/subcomponents/GradingWorkspace.tsx
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/pages/academy/grading/subcomponents/GradingWorkspace.tsx
1
0%

Totals

Change from base Build 7701:
-0.01%

Covered Lines:
2272

Relevant Lines:
6430

💛  - Coveralls

authors: angelsl coveralls

repo: source-academy/cadet-frontend


text:
Bug fix and rotate_around_origin update

Description
generateCurve
The function now handles scaling and translation of curves manually on the coordinates of each generated point, and the cube no longer needs to be scaled or translated to fit the curve. This solves the following problem of the range of a certain axes being too small for the curve to render properly:
draw_3D_connected_full_view(1000)(t => make_3D_point(math_exp(-15)*t, math_sin(2*math_PI*t), math_pow(1-t, 2)));

If '-15' is further decreased pass a threshold, the program will treat the range of x to be exactly 0. This change also fixes the problem regarding cube not rendering when values of the coordinates are too large.
draw_3D_connected_full_view(1000)(t => make_3D_point(math_exp(111111)*t, math_sin(2*math_PI*t), math_pow(1-t, 2)));

Hence, the limitation on the coordinates has been removed. It will be documented that WebGL stops rendering points beyond a certain limit.
However, this change does not fix the following problem of rotations not working properly on draw_3D_connected_full_view:
let curve1 = t => make_3D_point(0, 0.5*math_cos(2*math_PI*t)+0.5, 0.5*math_sin(2*math_PI*t)+0.5);
// curve1 is a circle
let curve2 = rotate_around_origin(math_PI/4*(-2))(curve1);
// curve2 is a rotation of curve1 by 90 degrees clockwise
draw_3D_connected_full_view(1000)(curve2);

Users can go about this issue by adding a small value (e.g. '0.0000001') to the rotation, but that will incur a non-zero range (for y-axis in this case) and the curve will not be rendered parallel to the x-axis, as opposed to draw_3D_connected_full_view_proportional.
rotate_around_origin
The function now accepts 1 or 3 arguments (throwing error for 2 arguments). However, users have to understand that rotations in 3D are generally not commutative, and that the rotation called on 3 arguments (a, b, c) is an extrinsic rotation with Euler angles (a, b, c) about x, y, and z axis.
Removed Functions
Removed the following undocumented and unused functions:
* alternative_unit_circle
* squeeze_rectangular_portion
* squeeze_full_view
* full_view_proportional
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
[ ] Code quality improvements

How to test

Pull and build js-slang from master branch, and follow the steps here to link it to the cadet-front end.
Run an instance of cadet-frontend, and navigate to playground
Include CURVES library

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 656476571

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 28.758%

Totals

Change from base Build 653915146:
0.0%

Covered Lines:
2219

Relevant Lines:
7115

💛  - Coveralls

authors: coveralls zhenghanlee