text:
Can't resize console properly

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Unless there is no pane above the console, such as variable explorer, debugger, etc, the console only resizes upwards to a rather limited degree, like it's hit a ceiling.    It opens at this ceiling.
What steps reproduce the problem?

Clean install into a new env.
Open the program.   Attempt to expand the console pane.

What is the expected output? What do you see instead?
Expect the console pane height to increase.
The double parallel lines mouse cursor appears but no height adjustment occurs.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 6.0.1  (conda)
Python version: 3.12.7 64-bit
Qt version: 5.15.2
PyQt5 version: 5.15.10
Operating System: Windows-10-10.0.19045-SP0

Dependencies

# Mandatory:
aiohttp >=3.9.3                  :  3.10.5 (OK)
asyncssh >=2.14.0,<3.0.0         :  2.17.0 (OK)
atomicwrites >=1.2.0             :  1.4.0 (OK)
chardet >=2.0.0                  :  4.0.0 (OK)
cloudpickle >=0.5.0              :  3.0.0 (OK)
cookiecutter >=1.6.0             :  2.6.0 (OK)
diff_match_patch >=20181111      :  20200713 (OK)
github >=2.3.0                   :  2.4.0 (OK)
importlib_metadata >=4.6.0       :  8.5.0 (OK)
intervaltree >=3.0.2             :  3.1.0 (OK)
IPython >=8.13.0,<9.0.0,!=8.17.1 :  8.27.0 (OK)
jedi >=0.17.2,<0.20.0            :  0.19.1 (OK)
jellyfish >=0.7                  :  1.0.1 (OK)
jsonschema >=3.2.0               :  4.23.0 (OK)
keyring >=17.0.0                 :  24.3.1 (OK)
nbconvert >=4.0                  :  7.16.4 (OK)
numpydoc >=0.6.0                 :  1.7.0 (OK)
parso >=0.7.0,<0.9.0             :  0.8.3 (OK)
pexpect >=4.4.0                  :  4.8.0 (OK)
pickleshare >=0.4                :  0.7.5 (OK)
psutil >=5.3                     :  5.9.0 (OK)
pygments >=2.0                   :  2.15.1 (OK)
pylint >=3.1,<4                  :  3.2.7 (OK)
pylint_venv >=3.0.2              :  3.0.3 (OK)
pyls_spyder >=0.4.0              :  0.4.0 (OK)
pylsp >=1.12.0,<1.13.0           :  1.12.0 (OK)
pylsp_black >=2.0.0,<3.0.0       :  2.0.0 (OK)
pyuca >=1.2                      :  1.2 (OK)
qdarkstyle >=3.2.0,<3.3.0        :  3.2.3 (OK)
qstylizer >=0.2.2                :  0.2.2 (OK)
qtawesome >=1.3.1,<1.4.0         :  1.3.1 (OK)
qtconsole >=5.6.0,<5.7.0         :  5.6.0 (OK)
qtpy >=2.4.0                     :  2.4.1 (OK)
rtree >=0.9.7                    :  1.0.1 (OK)
setuptools >=49.6.0              :  75.1.0 (OK)
sphinx >=0.6.6                   :  7.3.7 (OK)
spyder_kernels >=3.0.0,<3.1.0    :  3.0.0 (OK)
superqt >=0.6.2,<1.0.0           :  0.6.7 (OK)
textdistance >=4.2.0             :  4.6.2 (OK)
three_merge >=0.1.1              :  0.1.1 (OK)
watchdog >=0.10.3                :  4.0.1 (OK)
yarl >=1.9.4                     :  1.18.0 (OK)
zmq >=24.0.0                     :  25.1.2 (OK)

# Optional:
cython >=0.21                    :  None (NOK)
matplotlib >=3.0.0               :  None (NOK)
numpy >=1.7                      :  2.0.1 (OK)
pandas >=1.1.1                   :  2.2.3 (OK)
scipy >=0.17.0                   :  None (NOK)
sympy >=0.7.3                    :  None (NOK)

Erm . . . on loading a new project, now it works.
Well . . .

Hey @clearoak, thanks for reporting. FYI, this is a duplicate of issue #21197, which we plan to fix in 6.1.0, to be released during the first half of next year.


text:
Toggle comments

From philippe...@gmail.com on 2011-01-27T05:24:38Z
if possible, it would be great to comment/uncomment using the same shortcut.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=540

From pierre.raybaut on 2011-04-03T03:40:20Z
Summary: Toggle comments
Status: Accepted

From pierre.raybaut on 2011-04-03T12:33:35Z
This issue was closed by revision 1210ed474c95 .
Status: Fixed

From pierre.raybaut on 2011-04-24T07:38:48Z
This issue was closed by revision 1210ed474c95 .

From pierre.raybaut on 2011-04-03T03:41:26Z
issue #606 has been merged into this issue.

source: gharchive/issue

repo: spyder-ide/spyder

license: MIT

license_type: permissive

license_source: github-api


text:
fix hanging test when not in git repository

Fixes #11546
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: bnavigator

Hello @bnavigator! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/editor/widgets/tests/test_goto.py:

Line 78:80: E501 line too long (85 > 79 characters)

Thanks for working on this.
@bnavigator you could just create a single PR for all this git related fixes.

source: gharchive/pull-request

authors: bnavigator goanpeca pep8speaks


text:
PR: Prevent double saving when running a file

Description of Changes
This PR fixes some autoformatting overlaps when a file is run in the iPython console due to duplicate calls to save when autoformatting on save is enabled

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #14653
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:  @andfoy

Hello @andfoy! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/editor/plugin.py:

Line 2623:22: E261 at least two spaces before inline comment
Line 2626:33: E127 continuation line over-indented for visual indent
Line 2627:33: E127 continuation line over-indented for visual indent
Line 2628:33: E127 continuation line over-indented for visual indent


text:
Javatar cancel the builds

When i try to build current class or working class stats bar shows building cancelled.

Did you close the build log while Javatar is building your project?

No

Do Javatar display any build log at all? If not, try increase build_log_delay  in the user's settings and test it again.

Now i solved it.
Thank You.

authors: MayankLalaiya spywhere

repo: spywhere/Javatar

license: mit

license_source: bigquery


text:
[FORMATTING] Parse error: Ambiguous grammar

BETWEEN operator with range, combined with another condition, without parenthesis is causing parse error. For example BETWEEN 25 AND 30 AND state_code = 'NY' doesn't work. BETWEEN (25 AND 30) AND state_code = 'NY' works.
Input data
SELECT * FROM users WHERE age BETWEEN 25 AND 35 AND state_code = 'NY'

Expected Output
SELECT
  *
FROM
  users
WHERE
  age BETWEEN 25 AND 35
  AND state_code  = 'NY'

Actual Output
Parse error: Ambiguous grammar

Thanks for reporting.
This is duplicate of #534

authors: mashalzia nene

repo: sql-formatter-org/sql-formatter


text:
bypass resolve-dbanetworkname

@nvarscar enter-pssession works fine if i enter ip address and fully qualified to server name.  If i enter just servername thw error i get is the winrm error. When i enter the fully name to get-dbaservice commamd i get that no services found in relevant namespaces on

Based on this comment the user needs to be using the FQDN, or our commands need to be using that.
We have 75 functions that reference the resolve command, and all that I see explicitly using the FullComputerName property. So if that configuration goes in place we have to update all 75 commands to pick up whether or not the resolve should be called at all. Another option would be to have it determine whether or not we use hostname, IP or the FQDN and let the resolve command still be called.
If a user wants the FQDN, which is what it seems Kbarb needs, then they can Set-DbatoolsConfig -Name resolve.property -Value FQDN. We adjust Resolve-DbaNetworkName to have a special property for our internal calls and based on the value of that configuration is what true property value would be populated in it. At least that is off the top how I think it could work and be more configurable, the default value was be set to FullComputerName since that is what it does now.

yup, the main deal is always the same: mssql doesn't provide the FQDNSDomainName in any place.
So, either you pass in the FQDNSDomainName, which maps finely to both SQL and the underlying server, or when your FQADDomainName doesn't match your FQDNSDomainName, and/or client domain suffixes aren't sufficient (pun intended), we're truly impossibilitated to do anything 'cause netbios ain't gonna work.
Don't get why it's a problem with dbmail though ???
Resolve-* (to get FullComputerName) should come into play just when the function needs to play with both mssql and the underlying server.

good call, ill return an object with all fields populated with the input

authors: niphlod potatoqualitee wsmelton

repo: sqlcollaborative/dbatools


text:
Migrate between workgroup servers

Is this a feature OR bug:
Feature
System Details

Operating system name and version: Windows 2003 R2

Output of dbatools version:
0.8.1.6

SQL Server version for source/target
Source SQL2005
Destination SQL 2014 of 2016

Steps to Reproduce
Old server winth windows 2003 and SQL 2005, try to migratie to new server in workgroup
Action Results
cmdlets are missing the -credentials switch for external windows credentials
Expected Results
migratie of copy things between servers that are not in a domain
Attached Logs or any exception errors
I'm not able to copy the error.....
The error is: "Connecting to remote server XXXXXX failed with the following error message: access is denied."
Windows eventlog shows the wrong credentials is the security log

@Sader82 the commands for migration include credential parameters where you can provide another login. You do not provide the command you tried but Start-SqlMigration includes two parameters to provide SourceSqlCredential and DestinationSqlCredential.
These would only be passing in the SQL Server credentials. If I recall, in order to connect between two servers in a workgroup environment the login you start the process under on the destination (because PS3.0 and above is not supported on Window Server 2003 R2) exist on both workgroup  machines with the same password it should let you authenticate.
However, I'm not sure that is needed because you can just as easily use a SQL Login. Which to use that you would call the command using the associated "SqlCredential" parameter.

@wsmelton I think your right. The only problem is that I cannot test it because my colleague has taken over the migration for that server... :-(

This can now be handled using Backup-DbaDatbase, Copy-Item with a PSDrive then Restore-DbaDatabase. @Stuart-Moore would you be interested in making a blog post to describe this or should I make it an Issue and ask someone else?

authors: Sader82 potatoqualitee wsmelton


text:
Add progress bar to Update-DbaInstance

I added some progress bars 😁

Can you update this branch, @nvarscar, and modify the warnings, perhaps make them verbose? It feels like a command that succeeds should not have 4 warnings.
For instance, it ends with "Please restart sql2017.base.local to complete the installation of SQL2017RTMCU12. No further updates will be installed on this computer"

But Microsoft doesn't emphasize it this hard in their own installer. It's just all check marks ✔
Can the last one be shown only if more than one relevant exe is found? Or perhaps don't even show it and let the command fail by itself if it lops and detects a reboot needed?
With the Cred access denied failure, can you keep that error in your backpocket and only show it if subsequent related actions fail?
The first one, I'm not sure why I needed to know that. I pointed it to a path that had a relevant patch and all succeeded.

😁 ty fred!


text:
More Linux Compatability

That was interesting -- decrypting secure strings is different on Linux so I created a new command to simplify the code and use PSCredential to do the decrypting. I also fixed a few other path issues

Merging


text:
feat: non-escape mode (draft for discussion)

this is for explanation of the discussion #861

moved to #870

Since the branch is on your fork, there is no need to remove it nor any reason for the sqlparser-rs maintainers to do so either

got it!! thank you for letting me know that!

authors: alamb canalun

repo: sqlparser-rs/sqlparser-rs


text:
Inflation inject should handle parameterized types

These cannot be specified in XML so they won't match.
We should add integration tests for this.

This also affects nested types.

The key issue was fixed, but codegen for parameterized types is still broken.

Jake, can you explain more issue? Doesn't mean that class with generics will have problems with code generation?

authors: JakeWharton emartynov

repo: square/AssistedInject


text:
authenticate interceptor leads to "java.io.IOException: unexpected end of stream on okhttp3.Address"

If I spend more time in authenticate() interceptor, than the time set as OkHttp timeout (10 seconds default) the followUp request always produces the java.io.IOException: unexpected end of stream on okhttp3.Address
This is OkHttp3.
    @Override
    public Request authenticate(Route route, Response response) throws IOException {
            try {
                Thread.sleep(20_000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

            return response.request().newBuilder()
                        .header("Authorization", "newvalidtoken")
                        .build();
        }

Could you convert this into a complete JUnit test case? Those kinds of bugs are way easier to fix.

FYI, I was seeing the same error and resolved it by setting "Connection: close" in the header.

.header("Connection","close")

It seems "Keep-Alive" is added to the HTTP header by default and was causing an issue for me on subsequent requests.

Thank you for the tip, I'll give it a try. However, I'm afraid that with "Connection: close" flag we would loose some performance, as OkHttp tries to reuse open connections. But I think it would be OK to set this header only in this 401 situation.
I did a JUnit test case with MockWeb server but was unable to reproduce this, though it always happens on real server.

No obvious next action for us to take on this.

authors: alanlee-gn southerton81 swankjesse

repo: square/okhttp


text:
How do I use an interceptor (or something else) to remove a Referer from a request after a redirect?

(For some reason I can't sign up for StackOverflow right now, please don't close my issue.)
I find this seems to be impossible, except for handling redirects manually.
Any other way to do this would be appreciated.

Use a network interceptor, and you can check the request and remove it.
    val client = OkHttpClient.Builder()
        .addNetworkInterceptor(
            Interceptor {  chain ->
                chain.proceed(removeReferer(chain.request()))
            }
        ).build()

    private fun removeReferer(request: Request) = request.newBuilder()
        .removeHeader("Referer")
        .url(request.url.newBuilder().removeAllQueryParameters("referer").build())
        .build()

Please find a way to join stackoverflow, we can't provide 1:1 support here.

You may have misunderstood me, or I may not have been clear enough.
I need to remove the Referer from requests after redirection, not all requests.

Yep, you'll need to disable followRedirects on the client, and manually handle redirects in an application interceptor, or your application.
I am curious, OkHttp isn't adding the referer header, is this in your original request?

Yes.
In browsers, the Referer is removed from the redirected request, but that's not the case with okhttp.
Handling redirects manually is far less convenient than using interceptors.
Hopefully in future releases something like the number of redirects or previous responses will be added to the request object to provide more information to process.

OkHttp isn't adding the referer header


text:
Stream the response in okcurl.

Beneficial for this website in particular:
https://http2.golang.org/clockstream

neat!

What was the behavior before? It would only emit after 2048?

@JakeWharton I guess the trick is pulling until exhausted is true. I'm guessing the former code would only read the first chunk.

suppose we could start adding mws tests for things like this in the future..

Previous behavior emitted every 2048 bytes. This emits more frequently.

authors: JakeWharton adriancole swankjesse


text:
Option value scalars are now always strings but include type information.

This also changes rendering the schema from implicitly being behind toString() to an explicit toSchema().

@swankjesse

repo: square/protoparser


text:
ADD : Support for console commands(CLI)

Is your feature request related to a problem? Please describe.
Add support for CLI applications
Describe the solution you'd like
The ability to run console commands in npm to run single-run only tasks.
Describe alternatives you've considered
None
Additional context
N/A

Please check #5, shall be adding in the official documentation soon.

repo: squareboat/nestjs-boilerplate


text:
Error : Cannot find module '@lib/localization' or its corresponding type declarations.

Installed the package successfully and then the error occured while importing the "@lib/localization" which shows following error --------> Cannot find module '@lib/localization' or its corresponding type declarations. kindly look into the following issue.
attaching the screenshot of the error for your reference.

Hey please use import { LocalizationModule } from '@squareboat/nestjs-localization/dist/src'; to import the module
I'll raise a PR to update the documentation

repo: squareboat/nestjs-localization


text:
RTL issues

i wanted to make a right to left timeline so i picked your plugin . i tried but i think its not an rtl  friend  yet? thanks bro

Hey. You could just set the startIndex setting to the number of your items in the timeline minus the number of items in the viewport. This will make it start at the end, so right to left.
Or rather than working the number out yourself, you could just add a random high startIndex of say 99 and the plugin will automatically use the highest startIndex possible. This will just leave a warning in the console of the developer tools though (but this warning will tell you the largest number you can use for the startIndex based on your timeline so you can then go back and change it).
Hope that helps.

Thank so much for the quick answer bro!
i'll try that :)

Hi,
I also wanted to use this plugin into a RTL website. But failed to figured out how to make it working for RTL mode. I tried your startindex to 99 trick but it didn't work. Can you please create a RTL example so that we can understand it clearly. Also you can use an option like owl carousel (rtl: true) feature.
Thanks
ismail

authors: djooko ismailcseku squarechip

repo: squarechip/timeline


text:
fix function signatures, to ensure compilation without warnings with latest V

With this PR:
#0 19:33:08 ᛋ master ~/.vmodules/srackham/pcre2❱v run examples/pcre2-example-1.v
['nisi', 'dis', 'diam', 'natoque']
Lorem "nisi" "dis" "diam" a cras placerat "natoque"
Lorem NISI DIS DIAM a cras placerat NATOQUE
Lorem NISI DIS DIAM a cras placerat NATOQUE
#0 19:33:26 ᛋ master ~/.vmodules/srackham/pcre2❱

i.e. there are no more warnings.

Thanks for the PR and for alerting me to this issue.
The PR changes the find_match function signature so that instead of returning none on no match (PCRE2_ERROR_NOMATCH) it returns an error with a blank string error message. This fixes the error warning but it's kind of weird to class no match as an error.
I've pushed a commit (https://github.com/srackham/pcre2/commit/98f2fbeacc6ee73b1a38577f1bd380d6cb980019) that retains the current behaviour (returns none when there is no-match). The return of none is in keeping with Go regexp package convention of returning nil on no match.
I also updated the internal get function to conform to the new V split Option/Result behaviour.

authors: spytheman srackham


text:
remove git binary dependency from the file:// protocol

My application running from a scratch Docker image, which means the only executable in it is the statically compiled application binary.
When running r, err := git.Init(memory.NewStorage(), nil) this error is returned:
exec: "git": executable file not found in $PATH

This confused me for a bit because the project claims to be 'pure Go'.
After inspecting a bit more, I think it might have been introduced with https://github.com/src-d/go-git/commit/c128f5d680f59fd125cafd90f10e39eae5f3a135 but should not be a hard dependency and cause an error.

@dustin-decker Thank you for taking the time to report this. It is definitely a bug.
There is one case where go-git uses an external git binary to push/pull from local repositories with file:// URLs, it is not expected that it requires a git binary in other cases.

Interesting, thanks for the info and the quick response. What would it take to replace that with a pure go implementation?
There have been a number of git RCE vulns usually related to config or hooks and triggered during some clone/pull/recursive operation:
https://nvd.nist.gov/vuln/detail/CVE-2018-11235
https://www.cvedetails.com/cve/CVE-2018-1000021/
https://www.cvedetails.com/cve/CVE-2017-1000117/
https://www.cvedetails.com/cve/CVE-2016-2324/
https://www.cvedetails.com/cve/CVE-2016-2315/
Some others prior to that, too.
It's be nice to be able to avoid most of that surface area.

@dustin-decker We have no hooks, and we have limited support config (e.g. no aliases), so a lot of that just does not apply to go-git.
It is currently possible to do a somewhat equivalent operation to push/pull in pure Go. We do it in borges:
https://github.com/src-d/borges/blob/dbb671496e79be1d82adedd68e2f68930c3d7082/git.go#L400
As of today, it is considered a pretty advanced use case, but it would be possible to expose this in a more user-friendly way.

I just had this in a bug report and I was thoroughly confused!
I work on a package manager/dependency tool that clones remote repositories to a cache directory, then clones the cached copy to the project root dependencies folder (equivalent of vendor in Go) for various technical reasons.
It would be great to regain dependency-less status again so consider this a use-case for that functionality!

Im running into the same problem. I tried using older version of go-git (4.5.0) but ran into the same issue. Weirdly I use 4.5.0 in another project which works just fine. Has someone done some more research on this?

Is there any potential for this dependency to be removed? This was a surprise to me as well - I expected go-git to be pure Golang and not need the git binary at all.

authors: Southclaws bufdev clstb dustin-decker smola

repo: src-d/go-git


text:
plumbing: object, Fix tag message decoding

The Decode method was adding one too many newlines to the tag message, causing signature verification to fail. This is because in signed tags produced by git, there is a newline after the PGP signature block, resulting in messageAndSig having one extra (empty) []byte element. This caused t.Message to receive one extra newline.

Can you provide a test? Thanks!

Included in https://github.com/src-d/go-git/pull/1118

authors: mcuadros scjudd


text:
Top menu looks incorrect

After redesign.
Before:

After:

After trying current sourced v0.14.0-beta.5 with a custom sourced-ui docker image built from sourced-ui-branding, I got:

I'd say that it addresses the described issues, so I'll try to rebase against current master and try again there.

authors: dpordomingo smacker

repo: src-d/sourced-ui


text:
can not install inkscape

$ zap install inkscape
[FATAL] 2021/09/28 15:20:09 main.main:main.go:159 this app does not provide any candidate for installation

Linux Distro:
Linux 5.12.19-1-MANJARO
Zap version :
Zap version Build:v2.2.0.34.gd67886f 1632061753

Yea, the inkscape catalog doesn't provide any releases since it is hosted on GitLab, but I will work on it hopefully, very soon.
One workaround is to do this for now.
zap install --from https://inkscape.org/gallery/item/21590/Inkscape-3bc2e81-x86_64.AppImage inkscape

authors: HosamHasanRamadan srevinsaju

repo: srevinsaju/zap


text:
Error

AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector'
[286532:285876:0721/104710.853:ERROR:device_event_log_impl.cc(214)] [10:47:10.853] Bluetooth: bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed.
[291800:291772:0721/104905.163:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
How do i fix (in both bot gui and bot

Actually, could you first try downgrading your selenium to 4.1.0 before trying anything else?
If you get the warning below with 4.1.0, you can ignore it unless the video doesn't start playing automatically.
DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
drivers[i].find_element_by_css_selector('[title^="Play (k)"]').click()

Actually, could you first try by downgrading selenium to 4.1.0?
If you get the error below, ignore it unless, the video doesn't autoplay.
DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
drivers[i].find_element_by_css_selector('[title^="Play (k)"]').click()

chrome only has the version 103.0.5060.134 for me and no updates are avalable, i dont know why thats why i have to use the other version of selencium and i dont have bloototh on my pc

and in administrator the bot wont start

Do you have chromedriver 104.x or 103.x in your python directory?

Selenium 4.3.0 doesn't work with this, that's why I'd like you to try selenium 4.1.0 and see if it works.

Do you have chromedriver 104.x or 103.x in your python directory?

103

zevkev#4026 can you add me on dc its easyer for me to speak there

This issue has been resolved through release 2.0.4


text:
Add GitHub examples

Hi all contributors,
Thanks for your previous contributions, and in advance for your future ones.
We are going to implement GitHub-related resources with Terraform.
Here are the main tasks:

[ ] add SSH key to the user account easy-github-user-add-ssh-key
[ ] add GPG key to the user account easy-github-user-add-gpg-key
[ ] create a new organization easy-github-organization-create-organization
[ ] add a webhook to the organization easy-github-organization-add-webhook
[ ] create new Git repository easy-github-repository-create-repository
[ ] add a webhook to the repository easy-github-repository-add-webhook
[ ] add new file to existing repository easy-github-repository-add-new-file
[ ] create a new pull request for repository easy-github-repository-create-pull-request
[ ] create a new branch in existing repository easy-github-repository-create-new-branch
[ ] set the default branch of repository easy-github-repository-set-default-branch
[ ] create a new issue in for the project easy-github-issue-create-new-issue
[ ] create a new issue label easy-github-issue-create-issue-label

Thanks all.

i will work on create new Git repository easy-github-repository-create-repository

I will work on easy-github-user-add-ssh-key

I will work on easy-github-repository-add-new-file

I will work On create a new pull request for repository easy-github-repository-create-pull-request

I will work on create a new issue in for the project easy-github-issue-create-new-issue

I will work on  add a webhook to the organization easy-github-organization-add-webhook

I will work on create a new pull request for repository easy-github-repository-create-pull-request

I will work on easy-github-organization-create-organization

I will work create a new organization easy-github-organization-create-organization

i will work on add GPG key to the user account easy-github-user-add-gpg-key

I will work on set the default branch of repository easy-github-repository-set-default-branch

I will work on  create a new organization easy-github-organization-create-organization

I will work on  create a new branch in existing repository easy-github-repository-create-new-branch

I will work on  add new file to existing repository easy-github-repository-add-new-file

I will work on  add a webhook to the repository easy-github-repository-add-webhook

I will work on create a new issue label easy-github-issue-create-issue-label

I will work on create a new issue in for the project easy-github-issue-create-new-issue

[x] OK

authors: Sms-Rk amirhgh amirnegah ehsantux mamirpanah mrunix1998 nimatbt peymansafiri ravanbod ssbostan

repo: ssbostan/terraform-awesome


text:
[CodeGenerator:] Generate default context entity

When not using any ContextAttributes no default entity type will be generated... SAD!

Turned out not to be true. GLAD!

repo: sschmid/Entitas-CSharp


text:
[FEATURE] Spelling Bee Game

Description
A spelling bee game will typically involve the user being given a word with the help of audio and then they have to attempt to spell it correctly. This game is designed to help players improve their spelling skills while providing an enjoyable and engaging experience.
After spelling it, you have to click on submit and you will be told if the answer is correct or not.
Screenshots
Increase the volume for better understanding
https://github.com/ssitvit/Games-and-Go/assets/130481025/c2f3140e-39b7-4067-b3b2-44d41d6ed263
Additional information
This game will put your spelling skills at test.

@panwar8279 @raj03kumar I'd appreciate if you'd have a look into this game and would assign me this issue.
Thanks & Regards

Hi @vaanyasharmaaa , I am assigning this task to you. Kindly complete within a week. Make sure your game will be in react because it's react based repository. Good luck for your work!

repo: ssitvit/Games-and-Go


text:
Cache Clear fix on Temp files not deleting

On windows the cache is set to /tmp - which causes bad things when you do cache clear #304
Problem:
When user does not give cache_path in .servicex, the default temp directory is used. Therefore when you try to clear the cache, some files are not deleted due to permission issue.
Fix:
Rather than having /tmp as the default added /tmp/servicex_$USER.
This ensures the local cache is set to this path and it is safely deleted when clearing cache
Code changes:
In the configuration.py-> expand_cache_path(cls, v), changed the default value of v="/tmp" to v="/tmp/servicex_$USER"
Added tests for this new changes in test_config.py

The reason I used the ${USER} because inside the same function, a condition was present to replace this with the username of the system.
if "${USER}" in s_path and "UserName" in os.environ:
            s_path = s_path.replace("${USER}", os.environ["UserName"])

Suggestion: if we keep the ${USER} interpolation (which I'm fairly neutral on) I suggest that instead of the environment variable logic, we switch to the standard library os.getlogin function (otherwise we are hard-coding assumptions about the client systems).


text:
订阅状态更新 导致页面卡顿问题

taskManager.subscribe
在刷新进度条时候刷新页面导致卡顿问题

因为如果在主线程中更新大量的进度时 整个页面在操作就会出现卡顿 大佬可以订阅在异步线程吗 之后在转到主线程中 或者做一个延迟处理

卡顿问题我是修改TaskManager里的subscribeDownload方法来解决，我改了1s一次：
原来的：
private fun subscribeDownload() {
downloadDisposable = connectFlowable
.doOnSubscribe { downloadHandler.onStarted() }
.subscribeOn(mainThread())
.observeOn(mainThread())
.doOnNext { downloadHandler.onDownloading(it) }
.doOnComplete { downloadHandler.onCompleted() }
.doOnError { downloadHandler.onFailed(it) }
.doOnCancel { downloadHandler.onPaused() }
.subscribeBy()
}
修改后：
private fun subscribeDownload() {
downloadDisposable = connectFlowable.sample(1, SECONDS)
.doOnSubscribe { downloadHandler.onStarted() }
.subscribeOn(mainThread())
.observeOn(mainThread())
.doOnNext { downloadHandler.onDownloading(it) }
.doOnComplete { downloadHandler.onCompleted() }
.doOnError { downloadHandler.onFailed(it) }
.doOnCancel { downloadHandler.onPaused() }
.subscribeBy()
}

卡顿问题我是修改TaskManager里的subscribeDownload方法来解决，我改了1s一次：
原来的：
private fun subscribeDownload() {
downloadDisposable = connectFlowable
.doOnSubscribe { downloadHandler.onStarted() }
.subscribeOn(mainThread())
.observeOn(mainThread())
.doOnNext { downloadHandler.onDownloading(it) }
.doOnComplete { downloadHandler.onCompleted() }
.doOnError { downloadHandler.onFailed(it) }
.doOnCancel { downloadHandler.onPaused() }
.subscribeBy()
}
修改后：
private fun subscribeDownload() {
downloadDisposable = connectFlowable.sample(1, SECONDS)
.doOnSubscribe { downloadHandler.onStarted() }
.subscribeOn(mainThread())
.observeOn(mainThread())
.doOnNext { downloadHandler.onDownloading(it) }
.doOnComplete { downloadHandler.onCompleted() }
.doOnError { downloadHandler.onFailed(it) }
.doOnCancel { downloadHandler.onPaused() }
.subscribeBy()
}

我这里也有ANR  是因为耗时操作在主线程中吗
.subscribeOn(mainThread())
.observeOn(mainThread())

邮件已收到，三日内拜读

这是日志

我把这里改成了IO 线程  然后改了两个地方的断言  效果倒是不影响 想问下 这个有什么其他影响吗

repo: ssseasonnn/RxDownload


text:
默认Node下的子Node无法退出专注模式.

我使用如下代码进行初始化, 其中data使用的是MindElixir.new方法创建一个默认的Topic.
import MindElixir, { E } from 'mind-elixir'

let options = {
  el: '#map',
  direction: MindElixir.LEFT,
  // create new map data
  data: MindElixir.new('new topic'),
  draggable: true, // default true
  contextMenu: true, // default true
  toolBar: true, // default true
  nodeMenu: true, // default true
  keypress: true, // default true
  locale: 'zh_CN', // [zh_CN,zh_TW,en,ja] waiting for PRs
  overflowHidden: false, // default false
  primaryLinkStyle: 2, // [1,2] default 1
  primaryNodeVerticalGap: 15, // default 25
  primaryNodeHorizontalGap: 15, // default 65
  allowUndo: false,
}

let mind = new MindElixir(options)
mind.init()

操作流程
当我在默认的Topic下创建子Node, 并且在子Node上打开右键菜单, 点击 专注 , 此时是可以进入子Node的专注模式的. 但是这时候在进入专注模式的子Node上点击右键菜单的 取消专注 , 此时无法退回到 new topic 这个默认根Node上.

是这么操作吗？

是的, 我尝试用readme提供的https://codepen.io/ssshooter/pen/GVQRYK进行测试, 也是无法取消专注.

明白了，是一个bug

authors: AkariMarisa ssshooter

repo: ssshooter/mind-elixir-core


text:
logicalPrefixedName() seems useless.

I tried using this in a stack where the documentation says scope.logicalPrefixedName( "name" ) to change the name of a stack from the stack fn.name and thus the assumption being that scope is this inside the stack in which it's called.
However this.logicalPrefixedName() is not a function nor is the passed in stack.logicalPrefixedName(). The only thing that works is the passed in app.logicalPrefixedName(). But when I do this and pass a name string. The actual build output omits the stack name entirely when without it the build output is the stack <stage>-<app>-<stackFn.name>-<resource> and with it the build output is just the the <stage>-<app>-<resource>.
What am I missing? The docs certainly seem wrong and by extension the only thing that does work seems to have the inverse effect by omitting a prefix name for the stack entirely?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble

authors: AshHeskes thdxr

repo: sst/sst


text:
Autodeploy Error: 'Buffer' is not assignable to parameter of type 'BinaryLike'.

Full error stack
   ▲ Next.js 15.0.3
   Creating an optimized production build ...
 ✓ Compiled successfully
   Linting and checking validity of types ...
Failed to compile.
.sst/platform/src/components/aws/function.ts:1943:23
Type error: Argument of type 'Buffer' is not assignable to parameter of type 'BinaryLike'.
  Type 'Buffer' is not assignable to type 'Uint8Array | DataView'.
    Type 'Buffer' is not assignable to type 'Uint8Array'.
      The types returned by 'entries()' are incompatible between these types.
        Type 'IterableIterator<[number, number]>' is missing the following properties from type 'ArrayIterator<[number, number]>': map, filter, take, drop, and 9 more.
  1941 |           // Calculate hash of the zip file
  1942 |           const hash = crypto.createHash("sha256");
> 1943 |           hash.update(await fs.promises.readFile(zipPath));
       |                       ^
  1944 |           const hashValue = hash.digest("hex");
  1945 |           const assetBucket = region.apply((region) =>
  1946 |             bootstrap.forRegion(region).then((d) => d.asset),
node:internal/errors:865
  const err = new Error(message);
              ^
Error: Command failed: npm run build
    at __node_internal_genericNodeError (node:internal/errors:865:15)
    at checkExecSyncError (node:child_process:890:11)
    at Object.execSync (node:child_process:962:15)
    at buildNextjsApp (file:///root/.npm/_npx/e014fccbbe7e583d/node_modules/@opennextjs/aws/dist/build.js:95:8)
    at build (file:///root/.npm/_npx/e014fccbbe7e583d/node_modules/@opennextjs/aws/dist/build.js:44:5)
    at async file:///root/.npm/_npx/e014fccbbe7e583d/node_modules/@opennextjs/aws/dist/index.js:9:1 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 601,
  stdout: null,
  stderr: null
}
Node.js v18.20.3
|  Error       abay sst:aws:Nextjs → abayBuild sst:Run
|  command exited with code 1
✕  Failed
   abay sst:aws:Nextjs → abayBuild sst:Run
   command exited with code 1
Error: Failed to run: /tmp/repo/application/node_modules/.bin/sst deploy --stage production
    at shell (file:///tmp/buildspec/index.mjs:238:13)
    at deploy (file:///tmp/buildspec/index.mjs:191:5)
    at workflow (file:///tmp/buildspec/index.mjs:161:59)
    at async runWorkflow (file:///tmp/buildspec/index.mjs:164:5)
    at async handler (file:///tmp/buildspec/index.mjs:48:5)
    at async file:///tmp/buildspec/[eval1]:1:122

Any pointers?
This happens both auto deploy and terminal deploy

My bad, issue is gone after adding "sst.config.ts" back to tsconfig. Claude fucked it up when generating code.
"exclude": ["node_modules",  "sst.config.ts"]


text:
메인화면에서 '사용자 정보' 버튼을 클릭하면

메인화면에서 '사용자 정보' 버튼을 클릭하면 운동 추천 정보를 포함한 사용자 정보가 출력되어야 하는데, 그렇게 되지 않습니다.. 혹시 이 부분 fix 가능하신 분 계실까요??

일단 GUI_Status 브랜치 병합하고 진행하죠


text:
Add asset_exists and href_exists

Related issues and pull requests

Closes #42
Enables #80

Checklist

[x] Add tests
[ ] Add docs
[ ] Update CHANGELOG

Codecov Report
Patch coverage: 40.35% and project coverage change: -1.48% :warning:

Comparison is base (77f6c03) 80.17% compared to head (e02cf40) 78.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   80.17%   78.69%   -1.48%
==========================================
  Files          15       15
  Lines         817      859      +42
==========================================
+ Hits          655      676      +21
- Misses        162      183      +21

Files Changed
Coverage Δ

src/stac_asset/__init__.py
100.00% <ø> (ø)

src/stac_asset/http_client.py
52.17% <16.66%> (-5.33%)
:arrow_down:

src/stac_asset/s3_client.py
49.27% <20.83%> (-4.18%)
:arrow_down:

src/stac_asset/planetary_computer_client.py
42.10% <27.27%> (-1.18%)
:arrow_down:

src/stac_asset/client.py
81.11% <71.42%> (-0.82%)
:arrow_down:

src/stac_asset/_functions.py
90.04% <100.00%> (+0.42%)
:arrow_up:

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

authors: codecov-commenter gadomski

repo: stac-utils/stac-asset


text:
Best way to compute forward dynamics and M inverse

Hi,
it seems that pinocchio offers different ways to compute forward dynamics and M inverse. For the forward dynamics we have:

aba: algorithm for forward dynamics
cholesky::decompose + cholesky::solve

For computing M inverse instead we have:

computeMinverse: it uses the Articulated Body formulation
cholesky::computeMinv: it uses a custom Cholesky decomposition
crba + standard inversion (e.g., with Eigen)

I was wondering if there was a way to know which approach to choose depending on the situation, or if one should benchmark the different algorithms to see which one performs best in a specific application.

To quickly answer your question and according to Analytical Derivatives of Rigid Body Dynamics Algorithms, the direct computation of Minv is much faster than all the other approaches:

using Eigen based inverse will not be able to exploit the sparsity induced by the kinematic tree, which is relevant for a legged robot (not really for a robotic arm).
if you have already computed the mass matrix at some point, then use the Cholesky decomposition approach
if you've already computed the forward dynamics (via ABA), then you should prefer the call to computeMinverse. About that, new functions will appear soon with reduced complexity and timings.

If you just want to perform the operation Minv times a vector, then you should privilege the Cholesky decomposition, because, you don't need the full expression of the Mass Matrix inverse.
I would say, you just need the full expression when you do matrix-matrix operations, e.g. when computing derivatives.

Thanks for the answer @jcarpent ! I didn't know that paper also dealt with the computation of M inverse, but it actually makes a lot of sense because that's the derivative of the dynamics w.r.t. the control!
In my case I need to compute the whole matrix J*Minv*J because then I have to compute a matrix exponential with that. The Jacobian J is the contact Jacobian with 3k rows, with k being the number of contacts, so typically 3k is (slightly) smaller than nv (size of M), such as 3k=12 and nv=18. According to you suggestions I should then use computeMinverse. Do you confirm?

For getting this matrix, I would suggest taking insparition from this code:
https://github.com/stack-of-tasks/pinocchio/blob/ada5b11e5881e3fbc28e3bac717075ed8fa6855c/src/algorithm/contact-dynamics.hxx#L39

Thanks @jcarpent , but before you wrote

if you've already computed the forward dynamics (via ABA), then you should prefer the call to computeMinverse

Instead, in the code of contact-dynamics.hxx you're using Cholesky. Since I have to call ABA, and I don't need M, I thought computeMinverse would be the best option.

I will close this issue. @andreadelprete Feel free to reopen it when needed.

authors: andreadelprete jcarpent

repo: stack-of-tasks/pinocchio


text:
Remove JointDense

As far as I know, JointDense is no more useful at all as Joint allows an easy exposition and instantiation of all the joints. I would recommend to delete it.
What do you think so far?

Delete. We have JointGeneric for virtualization.

Solved by #348.

authors: jcarpent nmansard


text:
Eigen minimum version

Currently, the minimum version is 3.0.4 and it is not correct. I know that 3.2.4 does not work and 3.2.92 does. Is it fine to update the minimum version to 3.2.92 (ubuntu 16.04) ?

I think Pinocchio is still working on 14.04 with eigen 3.2.0

@ksyy had this error with 3.2.4:
/usr/localDev/HPP/install/include/pinocchio/multibody/joint/joint-revolute.hpp:157:63:
error: could not convert ‘Eigen::DenseBase<Derived>::Zero(Eigen::DenseBase<Derived>::Index)
  [with Derived = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 3, 1> >;
           Eigen::DenseBase<Derived>::ConstantReturnType = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 3, 1> > >;
            typename Eigen::internal::traits<T>::Scalar = double;
            Eigen::DenseBase<Derived>::Index = long int]()’
from ‘const ConstantReturnType
  {aka const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 3, 1> > >}’
to ‘pinocchio::TransformRevoluteTpl<double, 0, 0>::LinearType
  {aka Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 3, 1> >}’
     LinearType translation() const { return LinearType::Zero(3); };

https://travis-ci.org/stack-of-tasks/pinocchio/builds/496407364 : job .1 is trusty, and job .2 is xenial,

Then, likely, there is one function which is not unit-tested.

The minimal version is 3.0.5.

@jcarpent Then, there is a bug at multibody/joint/joint-revolute.hpp:157

It can be repeated by compiling hpp-pinocchio devel branch, with branch topic/fcl-release of Pinocchio and Eigen 3.2.4.

The main question is in the end why @ksyy is working with 3.2.4? Because not LTS is furnished with such version.

This is the version of robotpkg-eigen3, so I suppose he got it from there, but I have no idea why this one was installed on his desktop.

It was unintended. It was a forgotten installed version which is now deleted. I opened the issue for reporting. It is not blocking us.

Solved by #695.

authors: jcarpent jmirabel nim65s


text:
Fix doc of jacobianCenterOfMass

I lost quite some time looking for a bug caused by this. It may help somebody later.
By the way, I find it a bit confusing that centerOfMass and jacobianCenterOfMass fills the same data but in different frames.

Changes Unknown when pulling 39c316e42aa5767cacc91f1b81962598556aefd0 on jmirabel:devel into ** on stack-of-tasks:master**.

authors: coveralls jmirabel


text:
preview Bug

Describe the bug
I'm currently having a problem where the preview of the projects isn't loading; it's always the loading screen.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-aavpci
Steps to reproduce
As soon as I give it instructions, it writes the code and then starts the project with npm run dev and opens the preview.
Expected behavior
Quick fix, can't work any further at the moment, the problem exists in all projects.
Screen Recording / Screenshot

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Appreciate the feedback! We are aware of this issue and are tracking it here: #1791. You can also try typing “npm run dev” in the Bolt console to see if that resolves the issue. Also, selectively disable browser extensions, especially ad blockers, to see if that resolves the issue. We appreciate your patience as improvements continue to be made!

Found the error the browser extension in chrome Urban VPN generates this error

authors: Elspecko endocytosis


text:
Add SAC tests for Node datastore

Description
This PR adds SAC unit tests for Node datastore and globaldatastore.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
We have 2 branches of unit test execution:

Postgres
Rocks

How to test

To run Postgres tests you need to do the following steps

start postgres instance in docker: docker run --name test-stackrox -p 5432:5432 -e POSTGRES_USER=sr -e POSTGRES_PASSWORD=sr -e POSTGRES_DB=sr -d postgres
export env variables:

export ROX_POSTGRES_DATASTORE=true

export USER=sr
export POSTGRES_PASSWORD=sr
export POSTGRES_DB=sr
export POSTGRES_HOST=localhost

go to directory with new test: cd central/node/datastore/dackbox/datastore
and run tests: go test -v -run "TestNodeDatastoreSAC" .

To run Rocks tests you need to do the following steps

export env variables:

export ROX_POSTGRES_DATASTORE=false

go to directory with new test: cd central/node/datastore/dackbox/datastore
and run tests: go test -v -run "TestNodeDatastoreSAC" .

Current dependencies on/for this PR:

master

PR #2553

PR #2600   👈

This comment was auto-generated by Graphite.

@mtodor if you change branch name prefix from mtodor/ to master-mtodor/ then PROW CI will run

/test go-unit-tests

/test go-unit-tests

/test images

authors: janisz mtodor

repo: stackrox/stackrox


text:
ROX-17329: Kubernetes Listener: offline mode

Description
This PR introduces:

Integration tests validating that Sensor will transmit k8s events during the reconciliation even if events were sent while the connection was broken.
The logic in the event pipeline to stop/start listener upon going into offline mode and back into connected mode.
Small refactor and new helper functions in the integration tests library

Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Testing Performed

[x] Integration tests added
[ ] Manual tests on infra cluster

/test gke-nongroovy-e2e-tests


text:
fix: run one test at a time

The previous method matched any tests that include the test-name, not
just the exact match. This solves that problem using the -E flag to
specify the filterset to match exactly.

this is precisely what i was looking into, you simply beat me to the PR lol. works fine locally, let's merge it and see if it helps

authors: obycode wileyj

repo: stacks-network/actions


text:
custom onBlur not triggered when removing AutoComplete chip.

I'm trying to trigger a custom onBlur when removing a multiselect option (i.e. autocomplete chip). However, only the default formik onBlur is called.
E.g.:
import { useField, Field } from 'formik';
import { Autocomplete } from 'formik-material-ui-lab';
import { TextField } from '@material-ui/core';

export default AutoCompleteField = ( props ) => {
	const [ field, meta, helpers ] = useField( props.name );

	return (
		<Field
			name={ name }
			component={ Autocomplete }
			autoComplete={ true }
			autoSelect={ true }
			multiple={true}
			options={ options }
			onBlur={ ( event ) => {
				field.onBlur( event );
				if ( ! meta.error ) {
					// IRL perform GraphQL mutation
					console.warn( field.value );
				}
			} }
			renderInput={ ( params ) => (
				<TextField
					{ ...params }
					error={ !! meta.touched && !! meta.error }
					helperText={ !! meta.error ? meta.error : description }
					label={ label }
					variant="outlined"
					size={ size }
					fullWidth
					required={ required }
				/>
			) }
		/>
	);
}

In the above example, field.value will only get logged after an option is added (and the field is deselected). However, if a selected option is deleted (and the field is then deselected), nothing is logged to the console.

Hi @justlevine ,
I don't see any formik-material-ui code being used here? This should probably be asked on stackoverflow or the material-ui library

@cliedeman the <Field component={Autocomplete} /> is from formik-material-ui-lab. My assumption is that the Autocomplete component isn't accepting the custom onBlur() and is instead using the default - which would make it a bug, no?

Hi @justlevine my mistake I missed that
I created a codesandbox - https://codesandbox.io/s/inspiring-glade-rv9g7
For me the blur alert gets fired

authors: cliedeman justlevine

repo: stackworx/formik-material-ui


text:
ENH: grow and shrink methods

Describe the solution you'd like
specify a length, and one of {"left", "right", "both"} and it grows or shrinks every interval accordingly

I would like to work on this

@mesejo Hey Daniel, this project is still under rapid development, and is a bit unstable.  I'm not sure these methods will be included, and I'm not even sure what these methods should do due to the two different interpretations of an array of intervals: see "with respect to set operations an interval array can be interpreted in one of two ways...." at the bottom of https://piso.readthedocs.io/en/latest/user_guide/intervalsets.html
We could merge intervals or keep them separate before - and after - a shrink or grow operation, and the two options come from the two different interpretations.
Long story short, I suggest we hold off on this one for now.  If you'd like to contribute to a similar project then I'd suggest looking through issues in the staircase repo.   That project is stable and has a development guide
Cheers, Riley.

Hey Riley! Thanks for answering. I would take a look at the issues, would you like me to help in a particular one?

@mesejo I've added a few more items to the Issue tracker which might interest you if you wanted to contribute to this project

authors: mesejo venaturum

repo: staircase-dev/piso


text:
Errors in your software

Hello Ousmane,
It took me a while to be able to figure out how to run your software. I was using it with the Peltaster fructicola genome
Here is how the stdout looked like:
[ 17-10-2020 03:16:30  ]	found compressed file: /home/ahbui/Zarul/BIN3890/FGMP/593_cleanMarkers.hmm.gz - decompressing ...
[ 17-10-2020 03:16:30  ]	Finding candidate regions
[ 17-10-2020 03:27:12  ]	Refining mapping on candidate regions
[ 17-10-2020 03:27:12  ]	Mapping proteins to assembly chunks using Exonerate
[ 17-10-2020 03:44:20  ]	Training Augustus
grep: p_fruticola.fasta.trainingSet.gb: No such file or directory
Argument "" isn't numeric in numeric ge (>=) at ./src/fgmp.pl line 252.
[ 17-10-2020 03:44:20  ]	Insufficient number of genes for augustus training :-(
Skip Augustus step
[ 17-10-2020 03:44:20  ]	Merging translated CDS and augustus predictions
[ 17-10-2020 03:44:20  ]	3198 predictions to compare to HMM models
[ 17-10-2020 03:44:20  ]	Filtering gene models
[ 17-10-2020 03:45:48  ]	Loading profiles
[ 17-10-2020 03:45:48  ]	Loading markers
[ 17-10-2020 03:45:48  ]	Loading model data
[ 17-10-2020 03:45:49  ]	Analyzing output
[ 17-10-2020 03:49:05  ]	Selecting best candidate per locus
[ 17-10-2020 03:52:02  ]	Tracking abberant gene models
[ 17-10-2020 03:52:02  ]	COMPLETENESS ESTIMATION
[ 17-10-2020 03:52:02  ]	Job completion log: 1 / 532 done
[ 17-10-2020 03:52:02  ]	Job completion log: 2 / 532 done
[ 17-10-2020 03:52:02  ]	Job completion log: 3 / 532 done
...
[ 17-10-2020 03:52:02  ]	Job completion log: 532 / 532 done
[ 17-10-2020 03:52:02  ]	DONE!
[ 17-10-2020 03:52:02  ]	Printing full report
[ 17-10-2020 03:52:02  ]	Printing summary report

There is this, for some reason the gb file was not produced. I'm guessing this is the reason Augustus didn't work properly.
grep: p_fruticola.fasta.trainingSet.gb: No such file or directory

There is also this:
Argument "" isn't numeric in numeric ge (>=) at ./src/fgmp.pl line 252.

I don't know what happened there. If I look at the summary report, I can also see something like this at the bottom.
| Key:
| Proteins = 593 conserved fungal genes
| DNA = 31 fungal highly conserved elements
| %completeness = percent of 593 FCGs in the dataset
|---------------------------------------------------------- |

What was the % completeness?
There are also so many conditions in order for the software to work. If I place the genome file anywhere but in FGMP git folder, it will not be able to find 593_cleanMarkers files. To solve this problem, I had to copy my genome file into FGMP git directory.
Thank you.

Clearly, augustus is not working, but you should still have an estimate -- it could the installation or the assembly itself. I suggest you check your augustus installation first and then retry fg.  If the problem persists, feel free send your assembly to me privately for test.
Thanks

What operating system. How did you install augustus. Did you set a separate
config path variable for it or is it installed in a directory you can write
to for config files.
I know one of the conda builds for OS X and augustus doesn’t work.
On Sat, Oct 17, 2020 at 6:46 AM Ousmane H. Cisse notifications@github.com
wrote:

Clearly, augustus is not working, but you should still have an estimate --
it could the installation or the assembly itself. I suggest you check your
augustus installation first and then retry fg. If the problem persists,
feel free send your assembly to me privately for test.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stajichlab/FGMP/issues/19#issuecomment-710977677, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAL5OYWQ6VDJDETLEEOZUTSLGNZPANCNFSM4SUGLDZA
.

--
Sent from Gmail Mobile
Jason.stajich@ucr.edu
Jason Stajich - UC Riverside
http://lab.stajich.org

My OS is Ubuntu 18.04.4 LTS x86_64.
I have Augustus 3.3.3, installed through conda. Here I attach a yaml file containing all the dependencies (including your Perl libraries) for FGMP to work on my computer. Only FGMP was installed through git.
fgmp.yaml.txt
I did not set a separate config path variable.
I tested FGMP on the Peltaster fructicola, available on NCBI assembly:
https://www.ncbi.nlm.nih.gov/assembly/GCA_001592805.2
I also made sure to shorten the sequence headers.
Thank you.

Sorry, I am seeing this now, see below my report. I think the problem is your Augustus installation.  Thx for the feedback and using fg.
Ousmane
| ---------------------------------------------------------- |
|	Fungal Highly conserved elements (FHCEs) report
| ---------------------------------------------------------- |
|	NUM OF UCEs found:	27 out of 31
|	UCEs completion estimation:	(87.1%)
| ---------------------------------------------------------- |
|	### MISSING fUCEs

|	FGMP.Non_Ribo_CE.scaffold_1.1101603.818
|	FGMP.Non_Ribo_CE.Ncra_CM002236.1.3092486.462
|	FGMP.Non_Ribo_CE.Ncra_CM002240.1.5088347.432
|	FGMP.Non_Ribo_CE.Scer_chrIV.768599.323
| ---------------------------------------------------------- |
|	SUMMARY STATISTICS
| ---------------------------------------------------------- |
|	TOTAL NUM OF PREDS ANALYZED:	3139
|	No. BEST FILTERED PREDS:	529
|	NUM OF MARKERS COMPLETE:	410
|	NUM OF MARKERS PARTIAL:	119
|	NUM OF ABBERANT PROTEINS:	0
| ---------------------------------------------------------- |
|	STATUS
| ---------------------------------------------------------- |
|	NUM OF FGMP COMPLETENESS MARKERS:	571
|	Estimate completeness:	96.3 (%)
| ---------------------------------------------------------- |
|	### MISSING MARKERS

|	OMA00231
|	OMA01205
|	OMA00288
|	OMA11412
|	OMA06592
|	OMA00668
|	OMA01480
|	OMA00679
|	OMA03693
|	OMA05885
|	OMA01024
|	OMA00362
|	OMA11117
|	OMA06910
|	OMA00039
|	OMA02804
|	OMA02061
|	OMA04443
|	OMA00643
|	OMA00063
|	OMA00538
|	OMA02226
| ---------------------------------------------------------- |
|	SUMMARY OF READS ANALYSIS
| ---------------------------------------------------------- |
|	Number of markers detected in reads:	NA
|	Estimate completeness:	NA (%)
| ---------------------------------------------------------- |
|	SUMMARY OF MULTICOPY GENES ANALYSIS
| ---------------------------------------------------------- |
|	### MULTICOPIES GENES WITH LOW COPIES NUMBER
|	33 MULTICOPY GENES ARE IN MULTICOPIES
	No evicence of collapsed regions
| ---------------------------------------------------------- |

| These results are based on the set of genes selected by OHC & JES #

| Key:
| Proteins = 593 conserved fungal genes
| DNA = 31 fungal highly conserved elements
| %completeness = percent of 593 FCGs in the dataset
|---------------------------------------------------------- |

Please look at you %completeness, how much was it?

got 96.3 (%)

What about at the bottom of the report?
| Key:
| Proteins = 593 conserved fungal genes
| DNA = 31 fungal highly conserved elements
| %completeness = percent of 593 FCGs in the dataset
|---------------------------------------------------------- |

That's just the legend describing the markers used. I think your problem is Augustus installation. I am closing this thread but you're welcome to reopen if you encounter another issue. Thx

authors: ZarulHanifah hyphaltip ocisse

repo: stajichlab/FGMP


text:
🛑 GitLab Server is down

In 1d83bfb, GitLab Server (https://gitlab01.its-telekom.eu) was down:

HTTP code: 503
Response time: 391 ms

Resolved: GitLab Server is back up in a3f8d2b.

repo: stamateas/upptime


text:
🛑 Proxima/DNS Server is down

In 02f868d, Proxima/DNS Server (http://proxima01.its-telekom.eu/livewatch.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxima/DNS Server is back up in a10de74.


text:
🛑 Proxima/DNS Server is down

In 99077e8, Proxima/DNS Server (http://proxima01.its-telekom.eu/livewatch.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxima/DNS Server is back up in 74f43ba.


text:
Split out images and static assets from case studies

Currently, the case studies have all of the images, and several megabytes of external javascript libraries built into them. This causes load and render times to be several seconds.
By splitting them up, we can reduce this time substantially since:

rendering can begin as soon as the .html file is downloaded
javascripts libraries can be cached between requests
the web browser can download multiple embedded images simultaneously

I did not update:

pool-binary-trials-rstanarm.html
radon.html
tutorial_twopl.html

Since I could not find the original source for the first two, and the last one no longer compiles due to underlying library changes.

Wow.  That was a lot of work.  I like the organization into directories.
@betanalpha: are you OK with this change?
@jgabry or @bgoodri : is there a repo for the case study on hierarchical models?
@aaronjg:  Is it faster?
The source for the radon example is in Jupyter, not knitr, and it's on @fonnesbeck's repo:
https://github.com/fonnesbeck/stan_workshop_2016/blob/master/notebooks/Multilevel Modeling.ipynb
What went wrong with the other model?  Other than no longer allowing lp__, everything should be backward compatible in Stan programs.  Or is it an issue with rstan or another library?

This is going to make it more annoying to manage the case
studies and update them whenever there are changes.  Were
this split off into another repo that we could link to from mc-stan
I’d be more inclined, but right now I’m worried about the looming
maintenance burden.

On Jun 28, 2017, at 9:22 PM, Bob Carpenter notifications@github.com wrote:
Wow. That was a lot of work. I like the organization into directories.
@betanalpha https://github.com/betanalpha: are you OK with this change?
@jgabry https://github.com/jgabry or @bgoodri https://github.com/bgoodri : is there a repo for the case study on hierarchical models?
@aaronjg https://github.com/aaronjg: Is it faster?
The source for the radon example is in Jupyter, not knitr, and it's on @fonnesbeck https://github.com/fonnesbeck's repo:
https://github.com/fonnesbeck/stan_workshop_2016/blob/master/notebooks/Multilevel Modeling.ipynb https://github.com/fonnesbeck/stan_workshop_2016/blob/master/notebooks/Multilevel Modeling.ipynb
What went wrong with the other model? Other than no longer allowing lp__, everything should be backward compatible in Stan programs. Or is it an issue with rstan or another library?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan-dev.github.io/pull/44#issuecomment-311836024, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdNlnrqjPjtNnT43DdQC6cDkdeToJJ6ks5sIvxggaJpZM4OIo2N.

@bob-carpenter Once I figured out all the dependent libraries I needed, it was pretty straightforward to build everything. I've had some sporadic downtime as I've been waiting for my stan models to run :)
Backwards Compatability For the tutorial_twopl.html, they had built a library on top of stan, and then changed the function signatures so it no longer worked. I was really impressed that all the other models ran without needing any modification.
Performance For the divergence case study it new version takes 670ms until DOMContentLoad and 1.5 seconds total, old version takes 9 s to DOM load and 9.3 s total.
To get a sense for the feel of it you can compare:
https://aaronjg.github.io/stan-dev.github.io/users/documentation/case-studies/divergences_and_bias.html
to:
http://mc-stan.org/users/documentation/case-studies/divergences_and_bias.html
If you have visited the page before may need to to a ctrl-f5 refresh to see how long it would take for a new visitor.
Organization I agree with @betanalpha, there should be a good way to maintain these going forward. I think there could be a case studies repository that can then be included as a submodule into both the example repository and the site repository. If it is set up correctly, you can just run "markdown::render_site('.')" from R and it will build the whole thing from scratch.

Moving forwards, if we’re going to split everything out into
separate files then I think we need to push everything to
a separate case studies repo.  That will also require someone
to be responsible for maintaining it as well as some policy
for deciding what gets added to it.   Unfortunately we’ve
hit a wall where we’re either going to make it a pain to
maintain the current website or significantly increase
the logistics around case studies.

On Jun 29, 2017, at 2:12 AM, aaronjg notifications@github.com wrote:
@bob-carpenter https://github.com/bob-carpenter Once I figured out all the dependent libraries I needed, it was pretty straightforward to build everything. I've had some sporadic downtime as I've been waiting for my stan models to run :)
Backwards Compatability For the tutorial_twopl.html, they had built a library on top of stan, and then changed the function signatures so it no longer worked. I was really impressed that all the other models ran without needing any modification.
Performance For the divergence case study it new version takes 670ms until DOMContentLoad and 1.5 seconds total, old version takes 9 s to DOM load and 9.3 s total.
To get a sense for the feel of it you can compare:
https://aaronjg.github.io/stan-dev.github.io/users/documentation/case-studies/divergences_and_bias.html https://aaronjg.github.io/stan-dev.github.io/users/documentation/case-studies/divergences_and_bias.html
to:
http://mc-stan.org/users/documentation/case-studies/divergences_and_bias.html http://mc-stan.org/users/documentation/case-studies/divergences_and_bias.html
If you have visited the page before may need to to a ctrl-f5 refresh to see how long it would take for a new visitor.
Organization I agree with @betanalpha https://github.com/betanalpha, there should be a good way to maintain these going forward. I think there could be a case studies repository that can then be included as a submodule into both the example repository and the site repository. If it is set up correctly, you can just run "markdown::render_site('.')" from R and it will build the whole thing from scratch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan-dev.github.io/pull/44#issuecomment-311871938, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdNlrdSkR_SiS8sJ6cl9sicUMyF5tgnks5sI0AzgaJpZM4OIo2N.

This pull request doesn't seem like that much more work since it is now just one file + one accompanying directory. Adding new case studies could be done by just dropping them into the directory. Then again, I'm just using the website and not dealing with maintaining it
If you go to having a separate repo and with the case study source and ability to compile them all, then it is more work to maintain, on the plus side the user can easily find all the data needed to run the examples, and you can easily identify when case studies break do to library issues like in the Two-Parameter Logistic Item Response Model.

Yes, what we’d really want to do is have people check in their raw
Rmd (with any necessary aux files) and have a global make script
that calls knitr on any files that have changed.  Then we can hook
in CI to ensure that the markdown files knit successfully and get
into a proper PR process.
But that’s also the problem — we’re at that precipice where going
forward would be a significant maintenance burden.  It would be
awesome, just not something we have time for at the moment.
Any volunteers?

On Jul 5, 2017, at 9:23 PM, aaronjg notifications@github.com wrote:
This pull request doesn't seem like that much more work since it is now just one file + one accompanying directory. Adding new case studies could be done by just dropping them into the directory. Then again, I'm just using the website and not dealing with maintaining it
If you go to having a separate repo and with the case study source and ability to compile them all, then it is more work to maintain, on the plus side the user can easily find all the data needed to run the examples, and you can easily identify when case studies break do to library issues like in the Two-Parameter Logistic Item Response Model http://mc-stan.org/users/documentation/case-studies/tutorial_twopl.html.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan-dev.github.io/pull/44#issuecomment-313269574, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdNltSiPTNw-l2jWuS6i30mCEqWKk2jks5sLDcHgaJpZM4OIo2N.

spring cleaning - is this still relevant or should it be closed?

Fine with me to either merge or reject. Changes proposed by @betanalpha will be too much work so if required to merge, better to just keep as is.

authors: aaronjg betanalpha bob-carpenter mitzimorris


text:
Disallow spaces inside of curly braces in JSX expressions in children (react/jsx-curly-spacing)

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
We already require no spaces inside of JSX expression in attributes, i.e. <Hello name={firstname} /> instead of <Hello name={ firstname } />.
I want to enforce the same rule for JSX expressions in children.
Before:
    "react/jsx-curly-spacing": ["error", "never"],

After:
    "react/jsx-curly-spacing": ["error", {
      "attributes": { "when": "never" },
      "children": { "when": "never" },
      "allowMultiline": true
    }],

The following patterns are considered warnings:
<Hello name={ firstname } />;
<Hello name={ firstname} />;
<Hello name={firstname } />;
<Hello>{ firstname }</Hello>;

The following patterns are not warnings:
<Hello name={firstname} />;
<Hello name={{ firstname: 'John', lastname: 'Doe' }} />;
<Hello name={
  firstname
} />;
<Hello>{firstname}</Hello>;
<Hello>{
  firstname
}</Hello>;

Shipping in standard 14.

repo: standard/standard


text:
.avif files served with no Content-Type

These are the headers I see when viewing https://standardebooks.org/images/covers/f-scott-fitzgerald_the-great-gatsby-3ea4090f-cover.avif:
HTTP/1.1 200 OK
Date: Thu, 11 Mar 2021 05:47:48 GMT
Server: Apache
Strict-Transport-Security: max-age=15768000
Upgrade: h2,h2c
Connection: Upgrade, close
Last-Modified: Wed, 10 Feb 2021 23:33:53 GMT
Accept-Ranges: bytes
Content-Length: 5298
X-UA-Compatible: IE=edge
X-Frame-Options: sameorigin
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
Referrer-Policy: no-referrer-when-downgrade
ETag: "e6d0-14b2-5bb03d60a53e0-gzip"
Content-Security-Policy: default-src 'self';

Without a Content-Type, it shows up as text in Chromium when viewed directly (with, e.g., “Open image in new tab”).

This should be fixed now!

authors: acabal bentley

repo: standardebooks/web


text:
Error 404 in Flatpak

Seems like the Flatpak is broken for some reason, as it can't send any command to the server. I enabled Passive Training, if that counts.

Mh that's not expected. May I ask what locale you are running under?

de_DE I think. It was something like almond-nl.stanford.edu, does it exist?

I think the problem is that it tries to ask the server for the German model, because of your locale. That model doesn't exist, and you get an error. We should probably limit the choice of language to the supported ones only.

The endpoint is hardcoded to https://almond-nl.stanford.edu/. Running LC_ALL=C LANG=C flatpak run edu.stanford.Almond does not solve the issue

The endpoint is correct (NL is short for "natural language", it's not the Netherlands country code). Try LC_ALL=en_US flatpak run edu.stanford.Almond and it might help. C is not a recognized language either, because posix locales are not quite the same as language tags.

I still get that 404 for some reason...

The web demo seems to point requests to almond.stanford.edu rather than almond-nl.stanford.edu?

The web demo uses a websocket connection to a server running at almond.stanford.edu. That server then issues REST calls to almond-nl.stanford.edu.
The complete endpoint would be something like https://almond-nl.stanford.edu/en-US/query?q=what time is it
Anyway, would you be able to test that PR and see if it helps?

Sure, I'll compile the code and test it later. Is the TTS engine needed for compilation?

It depends how you compile it. If you build the flatpak, it will build all the dependencies (which will take a while). If you run locally, you will need mimic (TTS) but you will be able to skip the hotword detection code. To build locally, use yarn to build the service, and node ./service/main.js to start the service; use meson build to build the gtk frontend, and ./src/edu.stanford.Almond to start it.

authors: cunidev gcampax

repo: stanford-oval/almond-gnome


text:
Seg Fault during shuffling

hachiko@ubuntu:~/Desktop/Glove/GloVe-master$ ./shuffle -verbose 2 -memory 8.0 < cooccurrence.bin > cooccurrence.shuf.bin SHUFFLING COOCCURRENCES array size: 510027366 Shuffling by chunks: processed 0 lines.Segmentation fault (core dumped)
I still be able to create vectors.txt while running ./glove but the result is far from accurate.
`
Enter three words (EXIT to break): be was have
Word: be  Position in vocabulary: 31
Word: was  Position in vocabulary: 17
Word: have  Position in vocabulary: 38
                           Word       Cosine distance

                        fleeing		0.400954

                           mond		0.391636

                  discordianism		0.389428

                    biochemical		0.368640

                          hobby		0.365726

                   polyrhythmic		0.364714

                     roosevelts		0.364072

`

The reason for this is memory. My VM dont have enough memory to rune shuffle (default is 4). I changed it into 1 and it worked.

The reason for this is memory. My VM dont have enough memory to rune shuffle (default is 4). I changed it into 1 and it worked.

Could you please tell what exactly did you change, what value and where?

In demo.sh, change the arg of memory:
`#!/bin/bash
set -e
Makes programs, downloads sample data, trains a GloVe model, and then evaluates it.
One optional argument can specify the language used for eval script: matlab, octave or [default] python
make
if [ ! -e text8 ]; then
if hash wget 2>/dev/null; then
wget http://mattmahoney.net/dc/text8.zip
else
curl -O http://mattmahoney.net/dc/text8.zip
fi
unzip text8.zip
rm text8.zip
fi
CORPUS=text8
VOCAB_FILE=vocab.txt
COOCCURRENCE_FILE=cooccurrence.bin
COOCCURRENCE_SHUF_FILE=cooccurrence.shuf.bin
BUILDDIR=build
SAVE_FILE=vectors
VERBOSE=2
MEMORY=4.0
VOCAB_MIN_COUNT=5
VECTOR_SIZE=50
MAX_ITER=15
WINDOW_SIZE=15
BINARY=2
NUM_THREADS=8
X_MAX=10
if hash python 2>/dev/null; then
PYTHON=python
else
PYTHON=python3
fi
echo
echo "$ $BUILDDIR/vocab_count -min-count $VOCAB_MIN_COUNT -verbose $VERBOSE < $CORPUS > $VOCAB_FILE"
$BUILDDIR/vocab_count -min-count $VOCAB_MIN_COUNT -verbose $VERBOSE < $CORPUS > $VOCAB_FILE
echo "$ $BUILDDIR/cooccur -memory $MEMORY -vocab-file $VOCAB_FILE -verbose $VERBOSE -window-size $WINDOW_SIZE < $CORPUS > $COOCCURRENCE_FILE"
$BUILDDIR/cooccur -memory $MEMORY -vocab-file $VOCAB_FILE -verbose $VERBOSE -window-size $WINDOW_SIZE < $CORPUS > $COOCCURRENCE_FILE
echo "$ $BUILDDIR/shuffle -memory $MEMORY -verbose $VERBOSE < $COOCCURRENCE_FILE > $COOCCURRENCE_SHUF_FILE"
$BUILDDIR/shuffle -memory $MEMORY -verbose $VERBOSE < $COOCCURRENCE_FILE > $COOCCURRENCE_SHUF_FILE
echo "$ $BUILDDIR/glove -save-file $SAVE_FILE -threads $NUM_THREADS -input-file $COOCCURRENCE_SHUF_FILE -x-max $X_MAX -iter $MAX_ITER -vector-size $VECTOR_SIZE -binary $BINARY -vocab-file $VOCAB_FILE -verbose $VERBOSE"
$BUILDDIR/glove -save-file $SAVE_FILE -threads $NUM_THREADS -input-file $COOCCURRENCE_SHUF_FILE -x-max $X_MAX -iter $MAX_ITER -vector-size $VECTOR_SIZE -binary $BINARY -vocab-file $VOCAB_FILE -verbose $VERBOSE
if [ "$CORPUS" = 'text8' ]; then
if [ "$1" = 'matlab' ]; then
matlab -nodisplay -nodesktop -nojvm -nosplash < ./eval/matlab/read_and_evaluate.m 1>&2
elif [ "$1" = 'octave' ]; then
octave < ./eval/octave/read_and_evaluate_octave.m 1>&2
else
echo "$ $PYTHON eval/python/evaluate.py"
$PYTHON eval/python/evaluate.py
fi
fi`

authors: PuJes dutkaD nvthanhtu

repo: stanfordnlp/GloVe


text:
Integrate LiteLLM

High-level explanation of the problem
DSPy currently supports many LLM providers, including OpenAI, Anthropic, and (~) Huggingface, to name a few.  Each of the LLM providers has its own wrapper script, such as module/anthropic for the Anthropic provider. This helped us in handling the custom API interface that LLM providers had. What this means:

Each LLM provider wrapper must be manually updated when an LLM API interface changes. This may change due to the introduction of new parameters, API refactoring, and significant feature upgrades.
Supporting a New LLM provider requires creating a new wrapper script and writing many redundant code.
Since API interfaces differ across API providers, standardization is lacking.

Suggested Solution
Integrate LiteLLM, which helps manage, standardize, and scale LLM providers. Here is a short summary of what LiteLLM can help us with:

Supporting New LLM providers
Maintaining Existing LLM Providers (new features from providers are easy to integrate!)
Standardization Across LLM providers (To a certain satisfactory degree)

Changes Necessary (only included significant ones)

We will create a new centralized LLM provider wrapper that implements LiteLLM. The wrapper will be the entry point for all the LLM usage.
We will start deprecating individual LLM provider wrappers such as module/anthropic. NOTE: This will not break existing code when users upgrade to the latest version, but they may miss out on new features.

Thank you @lawliet19189 ! This is the right path indeed. There's ongoing work on this, by @hmoazam and in the "rc" branch. Maybe coordinating with Hanna makes sense? She has a more detailed plan.

repo: stanfordnlp/dspy


text:
Save kwargs in HFClientVLLM

It's not possible to override max_tokens without doing this.

Thanks so much @vikhyat  ! I don't understand your comment: It's not possible to override max_tokens without doing this.
Why not?

authors: okhat vikhyat


text:
Update Stargate v1 / C*4.0 backend to 4.0.10 (from 4.0.7) -- Snyk alert

Looks like coordinator/persistence-cassandra-4.0/pom.xml for SGv1 has dependency to 4.0.7 -- unlike SGv2 which has 4.0.10. This shouldn't really matter except that Snyk decides this is world-stopping catastrophe (it is not, not even relevant for us); but it's easier to upgrade than block alert. So let's do that.

Latest C-4.0.x is 4.0.13 (as per https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all) so let's use that?

repo: stargate/stargate


text:
relates to #1717: boostratping the Docs API V2 with Quarkus

What this PR does:
This PR provides the Quarkus bootstrapping for the Docs API V2.
The best way to review this is to first read the README.MD file, I know it's long, but once you read it, it will be easier to understand all the code and configuration. Some major concerns are solved here in addition to the stuff provided by the Quarkus itself. Those are not related to the Document API, but to new micro services in general:

header-based security
multi-tenancy
Cassandra token resolving
gRPC metadata passing

There is an ExampleResource that explains how the flow should look like.
The PR does not contain any document related code. Note that only .java files, pom.xml, application.yaml, banner config and README.MD files were added by me. Everything rest is generated and I guess should not be reviewed.
It's important to mention that this project is independent for now, it's not part of the parent project. We need to find a way to have projects with different Java target in the mono-repo. Quarkus supports only Java 11+ and I bootstrapped with Java 17 actually. And used some nice new features as well. I guess the right way to do this would be toolchains. Or optionally breaking out from the main repository..
Code is not formatted, and CI is not checking this project for now. All of this will be done, once we connect to the parent project. The observability parts (metrics, tracing) are also not included as we have a separate issue for this -> #1719.
The majority of this code should go to some kind of svg2-common-quarkus project, but there is no need to do this, until we have another project moving to Quarkus.
The project for now depends only on the grpc-proto, we will connect it do the existing sgv2-service-common project once we need features from it.
I ll present more in-depth details on my demo on Thursday. Unit tests for all new components will be added once we agree on the approach being valid.
Which issue(s) this PR fixes:
Relates to #1717.
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[x] Documentation added/updated
[ ] Finalize OpenAPI dev props
[ ] Unit tests

Looks good. One bigger question: since many of the abstractions are probably to be shared, would it make sense to add another repo already, instead of adding shared components under sgv2-docsapi? I guess they are easy enough to move as the second step once we need them so adding them under Docs API initially is fine, keeps things simple.

Exactly, keeping it simple for now, I need 2h max to extract to new project and set up everything when needed..

@tatu-at-datastax What do you think about this kind of property setup:
stargate:
  auth:
    header-based:
       ...
    token-resolver:
       ...
  multi-tenancy:
    tenant-resolver:
       ...

Not sure..

The majority of this code should go to some kind of svg2-common-quarkus project, but there is no need to do this, until we have another project moving to Quarkus.

Agree with deferring the refactoring, but suggest code should move to sgv2-service-commoninstead of creating another new module.

not sure of the best place to capture this, but want to make sure we consider other factors as we work toward integrating this more broadly in the project:

adapting our maven multi-module structure to support multiple Java versions
moving common code to sgv2-service-common
update CI workflows to sure the additional JDK is present
incorporate docker image publishing from Quarkus-based services into the release workflow

@tatu-at-datastax What do you think about this kind of property setup:
stargate:
  auth:
    header-based:
       ...
    token-resolver:
       ...
  multi-tenancy:
    tenant-resolver:
       ...

Not sure..

Looks clear enough? Do you have concerns, alternatives to consider?

The majority of this code should go to some kind of svg2-common-quarkus project, but there is no need to do this, until we have another project moving to Quarkus.

Agree with deferring the refactoring, but suggest code should move to sgv2-service-commoninstead of creating another new module.

Although eventually it might not make a big difference, my feeling is that what @ivansenic suggests makes sense: framework-dependant/specific things may make sense in a package separate from more general things.
Actually I think the biggest reason for doing this is to make it practical to use frameworks other than Quarkus; if so, such impls would not want to get Q dependencies. I guess it is debatable as to how big feature this (being framework agnostic) is.

This is a new proposal, the old props are in the current application.yaml file..

not sure of the best place to capture this, but want to make sure we consider other factors as we work toward integrating this more broadly in the project:
* adapting our maven multi-module structure to support multiple Java versions

* moving common code to sgv2-service-common

* update CI workflows to sure the additional JDK is present

* incorporate docker image publishing from Quarkus-based services into the release workflow

All valid points :+1:
However not everything can be done at once..

regarding the parent project we need to agree how to handle this..
common project can be added once we need another quarkus project, don't want to do premature optimization atm
yup CI has to be solved rather sooner than later
docker image publishing can be done at the end imo

Updated to latest SG version, fixed docker image creation, added tests, addressed some review comments, etc.

@stargate/core @stargate/core-contributors Can anybody explain the deal with the cloudbuild.yaml which should resolve deps for the builds and update the "m2" bucket?

Why is it running, when all the other build files would also push to the bucket on completion?
If this was intended to be a dependency to other builds checks, why is this not the case?


text:
Adding Ledger Signer support

Is your feature request related to a problem? Please describe.
Ledger now has a Starknet App, supporting singing transactions with Stark Curve on Ledger. Any existing Starknet account can now be used with Ledger as a signer.
Describe the solution you'd like
Add a custom LedgerSigner to starknet.js
This can be part of a broader generic signer implementation, but provided as part of the SDK for simpler integration
Additional context
Reference implementation on starknet-rs:
https://github.com/xJonathanLEI/starknet-rs/blob/db1fa598232f0698d942cc974f481b5d888ac080/starknet-signers/src/ledger.rs

relevant:
https://github.com/starknet-io/starknet.js/pull/748

@amanusk Is it a JS/TS equivalence to the rust library coins-ledger?

My (very) old Nano S is not compatible with the Starknet ledger APP.
So, I ordered a new Nano X, to test it.

Nice!

I can communicate with it :
TransportNodeHid {
  exchangeTimeout: 30000,
  unresponsiveTimeout: 15000,
  deviceModel: {
    id: 'nanoX',
    productName: 'Ledger Nano X',
    productIdMM: 64,
    legacyUsbProductId: 4,
    usbOnly: false,
    memorySize: 2097152,
    masks: [ 855638016 ],
    getBlockSize: [Function: getBlockSize],
    bluetoothSpec: [ [Object] ]
  },

I have not to dig to

recover the pubkey
sign a hash (as the ledger APP is not able to build a transaction)

The job to perform is mainly to create code for these 2 red parts :

for 3 methods :

getVersion
getPubKey
sign

It was difficult, but it works.
The documentation is full of errors or missing data : https://github.com/LedgerHQ/app-starknet/blob/develop/docs/apdu.md
The current code works only in Node for a Ledger connected with USB. I have to see how to handle Web USB & Web Bluethooth...

Made with a Starknet.js Signer :

Ledger Nano X is not accepted with a Bluetooth connection, in my Linux Mint (Chrome, Brave, FireFox).
I have no knowledge about React native; so I didn't tested in mobile.
So, it works in my config in Node script & in Web DAPP  (both connected with USB).

@ivpavici
I will propose a PR for the corresponding Signer.

authors: PhilippeR26 amanusk ivpavici


text:
Remove init_lowering_group

This function is basically dead now.

Stack:

#2894
#2893 ⬅
#2882

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

Superseded by #2893

repo: starkware-libs/cairo


text:
refactor: use clap workspace in committer cli

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#317
#316
#315  👈
#313
#311
main-v0.13.2

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AvivYossef-starkware and the rest of your teammates on  Graphite

Merge activity

Aug 8, 6:40 AM EDT: @AvivYossef-starkware started a stack merge that includes this pull request via Graphite.

repo: starkware-libs/sequencer


text:
how  to make it works?OS 19042.789

Listener state is listening but not supported.

i use the autoupdate.bat
but it show this

Wait for network connection is available...
upload my termsrv.dll
termsrv.zip
Please help

Try with this..
rdpwrap.zip

Try with this..
rdpwrap.zip

Worked for me, thanks!

Duplicate of https://github.com/stascorp/rdpwrap/issues/1317

您好，您的邮件  张越   已收到！

repo: stascorp/rdpwrap


text:
Picture password seems not working

I installed RDP wrap on my main computer (Windows 10) to access it while my sister continues to use it. She usually connects with picture password, but since I have installed RDP wrap she can only connect with normal password. Picture password seems to have disappear.

Maybe it's default behaviour when RDP is enabled. Try contacting Microsoft support.

authors: binarymaster jamesmagnus


text:
Sketch out approach for Browser Wallet? RFC

Why: Problem description :grey_question:
Refer to notion doc
What: Describe what a solution should resolve :grey_exclamation:

Create an RFC with the proposed definition of wallet types and interfaces.

Consider interoperability with server and browser wallet

Let #sc-general-chat know when the RFC is ready for comment

Describe any ideas you've considered :bulb:
I thought Liam had started on a browser wallet document, but I can't find it now ...
Some other related github tickets: #23, #19. (If these tickets are no longer relevant, please close them)
Consider analyzing server wallet, and ensuring it's core functionality may be extended to a browser wallet (or defining how these core functionality may be extended)
Project management
Before closing this card,

[ ] I have created any required issues or epics
[ ] I have updated the related notion or epic documentation

Closing in favor of https://github.com/statechannels/project-management/issues/76

authors: kerzhner wunnaii

repo: statechannels/statechannels


text:
refactor open channel

This PR refactors the OpenChannelProtocol:

The protocol is now implemented as a ChannelOpener object, which has a crank method
That crank is an asynchronous method that runs a sequence of fetch/update operations, inside a transaction that it starts.
It calls out to a funding utility class (DirectFunder or LedgerFunder) depending on the funding type
These utility classes also have async crank methods, which behave similarly to the ChannelOpener, apart from accepting a transaction, instead of starting their own

In my eyes, these changes make the protocols clearer and the code easier to understand. As I'm probably not going to be doing a lot of work in the wallet anymore though, it more matters what other people think. We don't have to go down this route if the people who are going to do the majority of the work in future don't like it.
If we do want to go down this route, we'll need to perform a similar refactor on the close channel protocol.

Regarding D, I think there's a pretty easy strategy for when we come to rewrite the browser wallet. When we get to that point, we rename the channel model to PostgresChannel and introduce a Channel interface. We then add methods to that interface until the code compiles. We then write a IndexeddbChannel that implements the interface.
The advantage of doing it this way is that we can be sure that the new Channel interface is exactly what we need to run these protocols, rather than containing stale information that potentially dates back to the xstate protocols.

Regarding D, I think there's a pretty easy strategy for when we come to rewrite the browser wallet. When we get to that point, we rename the channel model to PostgresChannel and introduce a Channel interface. We then add methods to that interface until the code compiles. We then write a IndexeddbChannel that implements the interface.
The advantage of doing it this way is that we can be sure that the new Channel interface is exactly what we need to run these protocols, rather than containing stale information that potentially dates back to the xstate protocols.

Regarding D, I think there's a pretty easy strategy for when we come to rewrite the browser wallet. When we get to that point, we rename the channel model to PostgresChannel and introduce a Channel interface. We then add methods to that interface until the code compiles. We then write a IndexeddbChannel that implements the interface. (And so on with any other relevant classes).

Given that we are planning to hide the Postgres channel implementation, I'd suggest just changing the ChannelS rate type to be called Channel, and have type typeof PostgresChannel
What your suggesting would currently spread a model export throughout the codebase with the knowledge that it will be replaced with an interface in the very near future. Since ChannelState is already used, and intends to be the interface, that's a refactor that vs code will do for you, rather than updating filename imports across the codebase, twice. (Once now, once soon)

Regarding D, I think there's a pretty easy strategy for when we come to rewrite the browser wallet. When we get to that point, we rename the channel model to PostgresChannel and introduce a Channel interface. We then add methods to that interface until the code compiles. We then write a IndexeddbChannel that implements the interface. (And so on with any other relevant classes).

Given that we are planning to hide the Postgres channel implementation, I'd suggest just changing the ChannelS rate type to be called Channel, and have type typeof PostgresChannel
What your suggesting would currently spread a model export throughout the codebase with the knowledge that it will be replaced with an interface in the very near future. Since ChannelState is already used, and intends to be the interface, that's a refactor that vs code will do for you, rather than updating filename imports across the codebase, twice. (Once now, once soon)

authors: andrewgordstewart tomclose


text:
More type annotations.

38.38% to 37.29% imprecise.

CContextTable is now fully covered.
CDictionary is annotated except for initialize due to a conflict with CFileDictionary

Thanks for reviewing!

repo: static-analysis-engineering/CodeHawk-C


text:
collect metrics on test infrastructure

The test infrastructure should be able to collect all relevant metrics.
On one hand, we have

nim-metrics based metric collection and dashboarding
stdout and stderr

On the other hand there is the infrastructure provided by Testground to collect, visualize, and analyze outputs and metrics.
We should make the two work together well.

In libp2p we use nim-metrics with Prometheus output, which, in essence, updates a table pollable over HTTP.
nim-metrics also supports pushint metrics in StatsD and Carbon formats.
It also  seems realtively streightforward to extend nim-metrics to push in other formats. See code at
https://github.com/status-im/nim-metrics/blob/9070af9c830e93e5239ddc488cd65aa6f609ba73/metrics.nim#L477-L480
and around.
Specifically, it could be extended to directly push to InfluxDB in its native Line Protocol: https://docs.influxdata.com/influxdb/cloud/reference/syntax/line-protocol/

Testground documents data collection in

https://docs.testground.ai/v/master/concepts-and-architecture
https://docs.testground.ai/v/master/analyzing-the-results
https://docs.testground.ai/v/master/analyzing-the-results/capturing-profiles

For smaller tests, submit the job with --wait --collect, such as
testground run single --plan=demo --testcase=simple_tcp_ping --runner=local:docker --builder=docker:generic --instances=50 --wait --collect

For AWS k8s tests, there is a prometheus instance started as part of the test infrastructure. It pushes to InfluxDB and then optional Grafana vis. Accessible as "http://testground-infra-prometheu-prometheus:9090/"
This only captures system metrics, but we might

extend it to capture app metrics over the control (non-restricted) network.
alternatively, we could push directly to the influxDB
or use local disk output and collect afterwards using the testground collect command.

For local docker based testgrounds (--runner=local:docker), there is no Prometheus .... but we could add one.
See https://github.com/testground/testground/blob/775a58896b01063ae7d9fef0afbb4faf7a5f2bf5/pkg/runner/local_common.go#L18 for starting the local infra.
Options are then as above.

repo: status-im/nim-codex


text:
Don't automatically start playback when the page is loaded.

It's rude and annoying.

Fixed. I've also improved the way player state is stored so that it will be easier to implement gapless playback.


text:
Play conventional sounds

Some users might want to specify a sound that is played on the computer instead of having the Busylight play sounds.

Fixed in commit 93ca508890f40bcc2819fbfc78b0210a78af9f6c

repo: stdevel/IcingaBusylightAgent