Relocate existing core pacman repo and create redirects to new location

Redirects are in place so that requests for current content at pkgs.merelinux.org/core/ redirect to pkgs/merelinux.org/core/os/x86_64


 I would've created the contract with balance 0 and avoided that if statement but it's just a matter of preference. Good catch though, I didn't realize that was causing trouble.

Thought the same, but the value needs to be transferred to the contract at its creation in case it needs the balance for some calls. This was a fix introduced by @maximopalopoli.

LGTM!
Quick question, what do you think about adding a small doc-string on the msg_value member for the CallFrame struct that explains its purpose?
From what I've found searching online, msg_value has a pretty standard definition. Yet, maybe adding a little comment helps in ensuring that we are all on the same page (Especially for newcomers to the project like myself!).
I was thinking something like this:
ethrex/crates/vm/levm/src/call_frame.rs

pub struct CallFrame {

    (...)

    /// Amount of Wei sent in transaction

    pub msg_value: U256,

    (...)

    pub depth: usize,

}

What do you think Ivan?

I agree with you. We can file an issue for adding documentation.


Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651

Also, update packages, which forced a number of changes:

Renaming isInstanceOf to TypeMatcher (from matcher package)
Hiding of Flutter's TypeMatcher in places where we were using isInstanceOf from the matcher package, since they deprecated that in favor of their class (also called TypeMatcher, of course).
Fixing several pieces of example code that now fail checks (seems that the example code checker doesn't honor the @optionalTypeArgs annotation).
Renaming some uppercase constants to lowercase (HttpResult.OK -> ok, etc.).

This replaces Florians roll, since I already had a bunch of these things in a branch from this weekend.

OK, I changed my tack here: I decided to keep our implementation of TypeMatcher, and just hide it for the tests that use the one from matcher (that used to be called isInstanceOf).  This preserves the existing API, doesn't require re-exporting, and isn't too onorous.  I still think we need to consolidate on the matcher TypeMatcher someday (since they do the same thing), but I don't want to hold up the roll for that.

This patch has a number of things that are concerning. Specifically, changing the tests to use TypeMatcher is a problem because it is less idiomatic and it conflicts with our TypeMatcher class; these are non-backwards-compatible breaking changes which are going to hurt our users for little benefit, as far as I can tell. Secondly, it appears the analyzer has stopped supporting @optionalTypeArgs in certain cases, which is a regression.
Can we revert this for now?

Heads up: Resolving this appropriately is a blocker for #18573, which blocks the g3 roll.
Please prioritize resolving any issues that need to be resolved on this merge.

I'm looking at reverting the matcher change for now; https://github.com/flutter/flutter/issues/18609 still needs investigation.

This appears to have regressed the flutter_gallery_ios32__transition_perf  missed_transition_count benchmark.

Should we revert?


Improve coprocessor registration and error handling

Fix(es) for HBase failing to register the aggregation coprocessor when WFS request includes CQL filter. Also provides failover to client-side aggregation when coprocessor registration fails.

Coverage increased (+0.01%) to 48.992% when pulling e983ea2c5c92b9783e5125b1c57781291f23ed32 on hbase-wfs-fix into 36882fa387c01a71a1cea86128f120c98661cd34 on master.


Add custom classes for tab content

Please add an ability to indicate custom classes for a tab content in the Tabs component. This could be useful to tune up the tab content itself.

you can add class to the child tag of each tab content, it's the same.

In this expample I cannot set height to 100% for tab-item div if I don't set tab-content to flex: 1.

I see.


MIDI with negative beginning tick

Hey, 👋
I encountered a case where a specific MIDI file from the Lakh dataset got it's first tick before 0.
10e903c3aa7a6b6c5ce5a74d5cfb8702.mid.zip

When inspecting tracks, the 14th (idx 13) note of the 19th (idx 18) track has a time at -4465856
for ti, track in enumerate(score.tracks):
    for ni, note in enumerate(track.notes):
        if note.time < 0:
            test = 0

Didn't have to to dig further yet, I'll just leave this open

This looks like an int overflow is occurring, I'll check further.

Seems same problem occurred in mido.

I found other MIDIs for which the resample operation shifts some of their events to negative time values
midis.zip
They all have in common very large end tick values.
To reproduce:
from pathlib import Path
from symusic import Score

paths = list(Path("midis").glob("**/*.mid"))
for path in paths:
    score = Score(path)
    score = score.resample(12, min_dur=1)
    start_tick = score.start()

@Natooz This is an int overflow caused by improper multiplication order during resample.
I've adjusted the order of multiplication in the resample and these examples no longer overflow. But an inappropriate resample can still cause an overflow, so I've further added an overflow check to determine if the scaled time is still valid.

Wonderful thank you!


Remove documents folder

This is now in .gitignore so removing from repo.

Wait did the PDF get moved into the styleguide?

Yeah @gemfarmer had moved it in previously, likely with the intent to centralize all assets. I'm not sure that this PDF would probably ever be shared with the app, but may there is a use case for having PDFs like these cataloged in the style guide? What do you think?

I think this particular PDF, I'd leave in the marketing site only (since if we did reference it in the IDP, we'd just link to the marketing site anyways)

Yeah that makes sense, I can sort it out in another PR.

sounds good! thanks


SQLAlchemy does not recognize vector column

Hello, I have an existing database with a table containing a vector column ('embeddings')
When I try to access the existing database with SQLAlchemy over automap_base(), I get error messages that the vector type for the column is not recognized.
This is how I try to connect:
conn_string = f"""postgresql+psycopg2:// (...)"""
engine = create_engine(conn_string)

    with engine.connect() as conn:
        conn.execute(text('CREATE EXTENSION IF NOT EXISTS vector'))
        conn.commit()

Base = automap_base()
Base.prepare(autoload_with=engine)

session = Session(engine)
SearchTable = Base.metadata.tables[tablename]

I get the following error message:
SAWarning: Did not recognize type 'vector' of column 'embeddings'
The column is definitely a column with type vector. What is wrong in my code?

Hi @kreleonie, you need to import the Vector type.
from pgvector.sqlalchemy import Vector


refactor(connector-sawtooth-socketio): implement core-api interfaces

See the containing epic for more context and the scope of packages that are being affected: https://github.com/hyperledger/cactus/issues/1497

Implement the connector interfaces:

factory creator function export
factory class itself
plugin class to implement the cactus plugin interface
plugin class to implement the web service plugin interface
tests to verify that it works within cmd-api-server

Done


Cannot install in macOS BigSur (M1 chip)

I'm trying to install fastecdsa on macOS BigSur (M1 chip) by running
(venv) $ pip3 install fastecdsa

and even though I previously installed gmp:
$ brew install gmp

it cant find the lib, no matter what I do
    src/curve.h:4:10: fatal error: 'gmp.h' file not found
    #include "gmp.h"

Although the error changed when I created a symlink
ln -s /opt/homebrew/include/gmp.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include

and now I get:
    ld: library not found for -lgmp
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/gcc' failed with exit code 1

I also tried:

passing the path via env CFLAGS, LDFLAGS and both via global env export (export CFLAGS=...)

LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib pip3 install fastecdsa

CFLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include pip3 install fastecdsa

xcode-select --install
endlessly brew uninstall gmp and brew install gmp, even brew reinstall gmp and brew unlink gmp
installing rosetta2
turning it off and on again

I can't put my finger on it :(

This worked for me:
CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib pip install fastecdsa

@martriay did the above work for you? If you have installed gmp via brew you should be able to point the compiler to the correct headers and libs via CFLAGS and LDFLAGs. You can use brew --prefix to determine the root path of your brew installed libs if they are different from the above comment.

@AntonKueltz no, but I compile a list of solutions to my specific problem:
https://github.com/OpenZeppelin/nile/issues/22#issuecomment-945039043

Hi @martriay, I think this should work. I just tested it on my M1 mac.
python3 -m pip install --no-binary :all: --no-use-pep517 fastecdsa
I've been using this as a pip alias for awhile now.
Give this a shot and let me know.

Hi @martriay, I think this should work. I just tested it on my M1 mac. python3 -m pip install --no-binary :all: --no-use-pep517 fastecdsa I've been using this as a pip alias for awhile now. Give this a shot and let me know.

    ld: library not found for -lgmp
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/martriay/cairo_venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-install-5v_4xzlj/fastecdsa_c2411a6e2b5c4ee6af8fde06bf939490/setup.py'"'"'; __file__='"'"'/private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-install-5v_4xzlj/fastecdsa_c2411a6e2b5c4ee6af8fde06bf939490/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-record-flm9jcii/install-record.txt --single-version-externally-managed --compile --install-headers /Users/martriay/cairo_venv/include/site/python3.9/fastecdsa Check the logs for full command output.```

Sorry to hear that this is still broken for you on the M1 chips. I have no way to repro so I'm afraid I can't help much here.

@AntonKueltz thanks for trying! I have a good-enough solution at the moment (spinning up a docker), so I'm good. Let's hope for this to work in the future.

Hi @martriay,
Ahh, I think I fixed that for another library. So the fix for that gmp issue is,
arch -arm64 brew install gmp

Hope that helps!

I would go ahead and alias brew install to arch -arm64 brew install, I've made the mistake of forgetting too many times to count.

Thanks. I did a bit of everything proposed here by using arm64, compiler flags, etc:
arch -arm64 brew install gmp

CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib python3 -m pip install --no-binary :all: --no-use-pep517 fastecdsa

And although installation succeeded, execution fails:
  File "/Users/martriay/dev/openzeppelin/cairo-contracts/env/lib/python3.9/site-packages/fastecdsa/point.py", line 1, in <module>
    from fastecdsa import curvemath
ImportError: dlopen(/Users/martriay/dev/openzeppelin/cairo-contracts/env/lib/python3.9/site-packages/fastecdsa/curvemath.cpython-39-darwin.so, 2): Symbol not found: ___gmpz_add
  Referenced from: /Users/martriay/dev/openzeppelin/cairo-contracts/env/lib/python3.9/site-packages/fastecdsa/curvemath.cpython-39-darwin.so
  Expected in: flat namespace
 in /Users/martriay/dev/openzeppelin/cairo-contracts/env/lib/python3.9/site-packages/fastecdsa/curvemath.cpython-39-darwin.so

Can you try without the CFLAGS and LDFLAGS? That and reinstalling gmp and it's dependents. And trying without the flags. I think pip is smart enough to know how to compile these things if you install gmp with arm64 arch, and the flags may be overriding(also it looks like those flags are not necessarily where the gmp lib goes as for me it is:
/opt/homebrew/include/gmp.h
/opt/homebrew/Cellar/gmp/6.2.1_1/include/gmp.h
```)
So I would just get rid of those flags and try again.

Yes, it fails without them. Tried uninstalling gmp before too.
    /usr/local/include/stdlib.h:359:13: note: insert '_Nonnull' if the pointer should never be null
    extern char *suboptarg;         /* getsubopt(3) external variable */
                ^
                  _Nonnull
    180 warnings generated.
    gcc -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.9/src/curve.o build/temp.macosx-10.9-x86_64-3.9/src/curveMath.o build/temp.macosx-10.9-x86_64-3.9/src/point.o -lgmp -o build/lib.macosx-10.9-x86_64-3.9/fastecdsa/curvemath.cpython-39-darwin.so
    ld: library not found for -lgmp
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/usr/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/martriay/dev/openzeppelin/cairo-contracts/env/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-install-212875o5/fastecdsa_e6c1c9f4740848e79325926bc03d88c2/setup.py'"'"'; __file__='"'"'/private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-install-212875o5/fastecdsa_e6c1c9f4740848e79325926bc03d88c2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/m3/c_rs0zls4bg6k2d328r293kr0000gn/T/pip-record-ov2rq6lk/install-record.txt --single-version-externally-managed --compile --install-headers /Users/martriay/dev/openzeppelin/cairo-contracts/env/include/site/python3.9/fastecdsa Check the logs for full command output.

This worked for me:
CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib pip install fastecdsa

This also worked for me, thank you @milancermak!

This worked for me:
CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib pip install fastecdsa

This also worked for me!! Thanks

This worked Dude, thanks for that

Can you add more details @Rohith-sreedharan? Might be helpful for those stumbling into this.

As of version 2.3.0 there are also now wheels available that target M1 / arm64.

This worked for me:
CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib pip install fastecdsa

This didn't work for me on an Intel chip. Instead I had to change the path of gmp to where it actually is (ie where homebrew installs it)
CFLAGS=-I/usr/local/Cellar/gmp/6.2.1_1/include LDFLAGS=-L/usr/local/Cellar/gmp/6.2.1_1/lib pip install fastecdsa

Correct, the thread was specific to M1 architecture Macs, which installs to a different path. I recommend using brew --prefix to abstract away the install directory.

was able to make this work on M1, by

ibrew install gmp as suggested by @neilmi
python3 -m pip install --no-binary :all: fastecdsa as suggested by @justinba1010

In case anyone gets a similar error on an Intel mac
      In file included from src/curve.c:1:
      src/curve.h:4:10: fatal error: 'gmp.h' file not found
      #include "gmp.h"
               ^~~~~~~
      1 error generated.
      error: command '/usr/local/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastecdsa

Here is how I solved it -
brew install gmp
# just to make sure gmp is linked
brew unlink gmp && brew link gmp
CFLAGS=-I/usr/local/Cellar/gmp/6.3.0/include LDFLAGS=-L/usr/local/Cellar/gmp/6.3.0/lib pip install fastecdsa

For context, this was apart of my issue with installing bitcoinlib. I made sure the CFlag and LDFlag variables were set when install fastecdsa. However, when attempting to use fastecdsa, I get this error:
Traceback (most recent call last):
  File "/Volumes/OpenDive/mastering-bitcoin/HelloWorld.py", line 1, in <module>
    from bitcoinlib.wallets import Wallet
  File "/Users/marcodotio/Library/Python/3.12/lib/python/site-packages/bitcoinlib/__init__.py", line 22, in <module>
    import bitcoinlib.keys
  File "/Users/marcodotio/Library/Python/3.12/lib/python/site-packages/bitcoinlib/keys.py", line 33, in <module>
    from fastecdsa import _ecdsa
ImportError: dlopen(/Users/marcodotio/Library/Python/3.12/lib/python/site-packages/fastecdsa/_ecdsa.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '___gmpz_add'

Do you have a minimal example you can share, e.g. HelloWorld.py of how you're using bicoinlib (and by extension this library)? In general the _ecdsa package should not be used directly by external packages, the usage by the importing library may be causing issues given the way this package is currently set up.


feat(webhook): add webhook to validate kepler resource

Previously, when user created kepler with name other kepler, k8s API server would accept the resource and create it. The operator then updates the status of the resource to be invalid. This is now changed by adding Validating webhook that rejects the resource if the name does not match kepler.

https://github.com/sustainable-computing-io/kepler-operator/actions/runs/7998493408/job/21844787506?pr=362#step:8:780
Nice!

Getting error while creating Kepler on OpenShift

Tested again on fresh OpenShift cluster and validating webhooks are working as expected.


Won't follow mouse in a different Monitor

I have 2 monitors, one is 1920 x 1080, setted in source "Monitor [Capture]", and the other one is 1280 x 800, setted in source "TV [Capture]. I've created 2 different scripts for each one of the monitors ("zoom_and_follow_mouse_1.py" and "zoom_and_follow_mouse_2.py") so I can use the zoom in both of them, yet in the second monitor it just won't work. Even that it will zoom in the right source, "TV [Capture]", the zoom will follow my mouse in the 1920 x 1080 monitor and not in the 1280 x 800 monitor as intended even choosing \. \DISPLAY2 it won't track in the right monitor.

Hello! Have you found a solution for this? This is very important for my tutorials, I really need to use my secondary monitor... Thanks.

Hi @tatunts! No, I haven't found a solution to this problem, unfortunately. Yet I've noticed another issue: when I had 2 zoom scripts working simultaneously, my OBS would lag the entire computer, I haven't tested it a lot, but maybe it has something to do about the way the script was set. I'm not a programmer so I can't fix this problem, maybe we will have to wait for the developers to fix this issue or implement a new feature.

Thanks for the reply!

Should be corrected in newest commit.


Ollie: Watch mygameplus.com

Ollie requests the watch of the watch_keyword mygameplus\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mygameplus\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Machavity in Charcoal HQ


[Bug] filterAPIResults: Add namespacing on sessionStorage

Got really confused on why one of my dropdown was having a weird value. Turns out it was using that other dropdown's value.
sessionStorage stores results like: value: text
if one dropdown has value 1 and some other has 1 also, they will clash.
TL;DR when more than one dropdown is on the same page that has filterAPIResults their results will clash when both has same value.
How To Reproduce:

Have at least two dropdown
enable filterAPIResults
Have different API return same value. When I say value, I mean the value the dropdown/api module is expecting: { value: '1', text: 'text', name: 'name' }

Can't provide a fiddle cause I can't find a good fake API online. I gave the steps on how to reproduce it, I hope that's enough.

Hi @xxRockOnxx, are you sure that filterAPIResults works? Because it doesn’t exist—there was a mistake #5051 in naming and it’s filterRemoteData now.

Reminding to answer the question in the comment before.

@Banandrew sorry. I'll try to reproduce it using the new option. I updated some stuffs and moved on to some other because I'm catching some deadline.

@xxRockOnxx No worries, I thought maybe you forgot; don’t rush it, it can wait until you’re done with your work.

Fixed in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/2046


.setMessageOption breakage caused by pulling in latest mailcomposer

We've been using a pinned version of Nodemailer, v0.3.44, in production. Recently the loose mailcomposer semver used here caused us to pull in the latest mailcomposer, which broke nodemailer with this stacktrace:
/home/user/node_modules/mongoose/lib/utils.js:413
        throw err;
              ^
TypeError: Object #<MailComposer> has no method 'setMessageOption'
    at Nodemailer.setGeneralOptions (/home/user/node_modules/nodemailer/lib/nodemailer.js:241:23)
    at Nodemailer.generateMailObject (/home/user/node_modules/nodemailer/lib/nodemailer.js:196:10)
    at Nodemailer.sendMail (/home/user/node_modules/nodemailer/lib/nodemailer.js:184:10)
    at /home/user/node_modules/nodemailer/lib/nodemailer.js:69:20
    at Nodemailer.validateSettings (/home/user/node_modules/nodemailer/lib/nodemailer.js:173:5)
    at sendMail (/home/user/node_modules/nodemailer/lib/nodemailer.js:63:12)
    at Transport.transport.sendMail (/home/user/node_modules/nodemailer/lib/nodemailer.js:40:9)

If you're up for releasing a Nodemailer v0.3.46 that pins down its dependencies better, we'd definitely use it. If this is too legacy for you to bother with, that's also okay, but in that case consider this a cautionary tale.

Would you consider upgrading to 0.7.1 which should be backwards compatible with 0.3.44?

We would, yes.

Try to use v0.7.1 then. Liberal dependency usage is quite unfortunate indeed, sorry about that


Use SVG icons for clusters

The following changes will allow using SVG icons for cluster.

I signed it!

I have tried out this change and it works great.

Nice :)
Le lun. 13 mai 2019 à 17:09, Gary Little<EMAIL_ADDRESS>a
écrit :

I have tried out this change and it works great.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlemaps/v3-utility-library/pull/488?email_source=notifications&email_token=ABMJTWDKZ2DAFYJ6AMYLS53PVGOF5A5CNFSM4HMLJNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVI6VAQ#issuecomment-491907714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMJTWHNGRY27QXSQ2R4PKTPVGOF5ANCNFSM4HMLJNCQ
.


Set-LocalGroupMembers

Summary of the new feature/enhancement
Please add a Set-LocalGroupMembers function that would set the group to have only the member specified.
Right now you'd need to use Add-LocalGroupMember. Then Get-LocalGroupMember followed by Remove-LocalGroupMember to remove any that aren't in the list.
Although Get-LocalGroupMember throws an error if you have Azure-AD elements
Proposed technical implementation details (optional)

Under review by the Cmdlet Working Group

Those cmdlets are part of the LocalAccounts module which isn't part of PS7 as they use private APIs and thus can't be Open Source.

The @PowerShell/wg-powershell-cmdlets reviewed this.  The LocalAccounts module is part of Windows PowerShell and not PowerShell 7 (although it works with PS7).  It is not Open Source as it uses undocumented APIs and thus not something this project can extend.  Our recommendation is for the community to develop a cross-platform account management module covering all the appropriate capabilities.

I did an experiment a few years ago. There is no way to achieve compatibility either with this microsoft.powershell.localaccounts module or with ActiveDirectory one. Nevertheless, it is possible to create a useful module.
@SteveL-MSFT Can we do what we did with the Archive module? I.e., create an RFC first and preview under the MSFT team umbrella?

@iSazonov if a doc can be put out we would be more than happy to review and see which cmdlets we can build in cross platform way..

@iSazonov if you want a place to have an RFC discussion, I think you could perhaps use https://github.com/powershell/powershellmodulecoverage.  I think any resulting module should be developed and owned by the community and shipped on PSGallery, however.


Feature Request: Show restart button also before lesson is started

V25 Added a restart button to the typing page

Just noticed that too, my bad.
However, it would still be helpful to be able to restart also before typing the first letter or maybe even show the button before starting the lesson.
 In order to not ruin your stats you wan't to restart, but currently can't in this state without typing a letter or going back to the lessons list.

V25 was releleased after you issue so. Thank you for your request. I can remove the condition and show the restart button all the time.

I changed the restart button to show when the lecture is unpaused :>


Bug/issue 55 missing template lib

Fixed issue #55 which crashes app when running ParseGenApp outside of XCode:
Dyld Error Message:
  Library not loaded: @rpath/TDTemplateEngine.framework/Versions/A/TDTemplateEngine
  Referenced from: /Users/USER/Library/Developer/Xcode/DerivedData/PEGKit-evbpxkuihrhytecvnigwxryrwvcu/Build/Products/Debug/ParserGenApp.app/Contents/MacOS/ParserGenApp
  Reason: image not found

Retesting error is still happening.


added asking for rain status

small weather extension - its now possible to ask things like
"is it gonna rain tomorrow in berlin"
Pull request status:

[ ] Tests added/updated
[ ] 80 % Coverage
[x] Code conventions
[x] Doku required and added
[x] Ready for review

When there is a 0% chance of precipitation, the output is: 0% chance of null today

When there is a 0% chance of precipitation, the output is: 0% chance of null today

Ah forgot about that, will fix it. Thanks!

waiting for #482

@FlxB2 Is this ready for review now?

@Bensge i'll finish and test this tonight.

fixed with merge


Permission denied (publickey).

Hi
I' absolutly new learning docker and I'm trying to install with one line setup and Manual Quick Setup (Existing Project). I get the following error
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: invalid reference: origin/master
mv: rename compose/magento2/* to ./*: No such file or directory
mv: rename compose/magento2/.vscode to ./.vscode: No such file or directory
I have try everything, I inclusive change from zsh to bash and all I read in other issues but I don´t have any idea about what happen. Thanks in advance

Sorry, it was my git configuration.


Volume support

It's currently not possible to change the volume. This is not a big deal while audio is broken... but will be when #3 is fixed.

Implemented a volume bar for the project which was before the Major rewrite (#117) commit.

Sure, feel free to share.

Also I just realized I forgot to thank you for creating moq-js and moq-rs :).
I believe you can add the sound controller and the pause/continue easily using this.
Hope it helps.

Kerem

https://github.com/kerembkmz/moq-js￼
kerembkmz/moq-js: Typescript library for Media over QUIC
github.com

On Oct 15, 2024, at 10:07 PM, kixelated @.***> wrote:
Sure, feel free to share.
—
Reply to this email directly, view it on GitHub https://github.com/kixelated/moq-js/issues/6#issuecomment-2414800586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYFCQEKDFSUBSW5SEFVOUSDZ3VRVNAVCNFSM6AAAAABP7WH3IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUHAYDANJYGY.
You are receiving this because you commented.


Integrate With Nerd Fonts

It would be cool to show the list of nerd fonts, and if one is selected we could do a download + install of the font (automatically) and update the terminal font family.
(issue created off of a comment from youtube)

Indeed, while waiting to implement the ability to select any font installed on the system, why not just replace the three available fonts with their Nerd Font equivalents? I tried it on my end, and it seems to work well. I would like to make a pull request, but I'm not sure if it aligns with the project's philosophy and if it hasn't already been proposed.


Test 'Make sure docs replicate' fails on Android in WIFI mode

https://gist.github.com/evabishchevich/878e2a23950a22791639f44c0e9945a1

https://gist.github.com/evabishchevich/5f68947e1cbb8c55c7f5ed5813906177
branch : vNext_yarong_417_812_848, commit 082d05c
mode: WIFI

Isn't reproducing


feat: [Snyk] Security upgrade pillow from 6.2.2 to 8.1.0

Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

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

requirements.txt

⚠ Warning
scikit-image 0.14.5 requires pillow, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

589/1000  Why? Has a fix available, CVSS 7.5
Buffer Overflow SNYK-PYTHON-PILLOW-1055461
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Buffer Overflow SNYK-PYTHON-PILLOW-1055462
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

581/1000  Why? Recently disclosed, Has a fix available, CVSS 5.9
Heap-based Buffer Overflow SNYK-PYTHON-PILLOW-1059090
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

414/1000  Why? Has a fix available, CVSS 4
Out-of-Bounds SNYK-PYTHON-PILLOW-574573
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

414/1000  Why? Has a fix available, CVSS 4
Out-of-bounds Read SNYK-PYTHON-PILLOW-574574
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

414/1000  Why? Has a fix available, CVSS 4
Out-of-bounds Read SNYK-PYTHON-PILLOW-574575
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

414/1000  Why? Has a fix available, CVSS 4
Out-of-bounds Read SNYK-PYTHON-PILLOW-574576
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

469/1000  Why? Has a fix available, CVSS 5.1
Buffer Overflow SNYK-PYTHON-PILLOW-574577
pillow:  6.2.2 -> 8.1.0
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the effected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

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

coming in one snyk PR


Parse class in strict mode

Address #2465

Can you file an issue for parsing modules in strict mode as well.

I'm not big on this error message; maybe we can do something like
Cannot name an identifier 'arguments' in strict mode.
    Class bodies are parsed in strict mode.

Actually something closer to @yuit's original error:
Invalid use of '{0}' because class bodies are parsed in strict mode.

or
Cannot name an identifier '{0}' because class bodies are parsed in strict mode.


Remove Arch specific code from the upgrader

Remove Arch specific code and verify system
Use DRONE_TAG for the version to automate the process
Remove k3d comparison code

exception: (still need to check if the PID is 1 because the first process cmdline in k3s is /dev/init -- /bin/k3s)

I love how simple this is getting!

I love how simple this is getting!


[Bug] CN1.1: models names mismatch

Trying to use ControlNet 1.1 from nighly colab but getting the error
Startup time: 95.1s (import torch: 8.1s, import gradio: 1.3s, import ldm: 2.3s, other imports: 2.3s, setup codeformer: 0.2s, load scripts: 42.2s, load SD checkpoint: 30.5s, create ui: 7.1s, gradio launch: 0.9s).
Loading model: control_v11p_sd15_normalbae_fp16 [592a19d8]
Loaded state_dict from [/content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_normalbae_fp16.safetensors]
Error running process: /content/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 719, in process
    model_net = self.load_control_model(p, unet, unit.model, unit.low_vram)
  File "/content/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 502, in load_control_model
    model_net = self.build_control_model(p, unet, model, lowvram)
  File "/content/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 544, in build_control_model
    assert os.path.exists(override_config), f'Error: The model config {override_config} is missing. ControlNet 1.1 must have configs.'
AssertionError: Error: The model config /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_v11p_sd15_normalbae_fp16.yaml is missing. ControlNet 1.1 must have configs.

But the content of extension models HAVE the corresponding file - but it is named control_v11p_sd15_normalbae.yaml (no _fp16 postfix). Seems model downloading should omit this postfix (extension inherit yaml name from model file name)

Hi @IPv6 👋 maybe fixed please try again


undefined reference to `tensorflow::str_util::EndsWith

On Kubuntu 18.08
TensorFlow 1.13 installed from source.
Python 3.6
Bazel 19.2
GCC 7.4.0
In the past, i have a tested program in ubuntu 16.04 and it run fine. I make the migration to ubuntu 18.04, recompile tensorflow for c++ and obtain the libraries libtensorflow_cc.so and libtensorflow_framework.so.
When i tried to compile my program using "cmake .. && make"  see the following messages:
tensorflowlabelimageclassification.cpp:(.text+0x2bff): undefined reference to tensorflow::str_util::EndsWith(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >)' tensorflowlabelimageclassification.cpp:(.text+0x2d3c): undefined reference to tensorflow::str_util::EndsWith(std::basic_string_view<char, std::char_traits >, std::basic_string_view<char, std::char_traits >)'
tensorflowlabelimageclassification.cpp:(.text+0x2ee3): undefined reference to `tensorflow::str_util::EndsWith(std::basic_string_view<char, std::char_traits >, std::basic_string_view<char, std::char_traits >)'
Any help?
Thanks.
Dibet
Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@dibet, The TensorFlow team does not officially support cmake, sorry. Please try out with Bazel.

Hi, i just write to inform how i resolve my problem.
In the past (ubuntu 16.04 and gcc 5) i was compiling using  -std=c++17.
Now, on ubuntu 18.04 and gcc 7 i need to use  -std=c++14
I don't know the reason but i fix it in that way.
Thanks.

Thanks for sharing your resolution. Closing since its resolved. Thanks!


Add Styled-Components, React-Apollo, Lodash

I thought that it might be nice to add some of these larger libraries on to your list.

Thank you. Can you use [version] in the url?
The test is failing because we are using too much memory during the tests... I need to find a solution for that...

Is this the method you want to use going forward.  I can definitely do that.  Can you should be the example that you are talking about?

On Apr 2, 2018, at 12:52 PM, Thomas Sileghem<EMAIL_ADDRESS>wrote:
Thank you. Can you use [version] in the url?
The test is failing because we are using too much memory during the tests... I need to find a solution for that...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mastilver/module-to-cdn/pull/11#issuecomment-377976354, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9vGJku1XVCpsTlbJfvVZCfRd1hz-jXks5tkldOgaJpZM4TDkjO.

for example do<EMAIL_ADDRESS>

I have been trying to make it work.  I am going to drop it.

I'm closing this one, as there is too many modules that are not umd


Support search by multiple fields on Catalogs

The default query in MLTE only allows search by id or type. Expand this for catalogs with new filters. More specifically, allow searching by problem type, problem domain, property category, or code type. Potentially by catalog name as well.

Closed in #478


Simple Java operations hanging

Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)
10.0.17134.407

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

I'm trying to use javac to compile an incredible simple, pretty much "Hello World", java program. In WSL, running javac path/to/file.java will hang, never returning. In PowerShell, it compiles perfectly fine.
Note that this is random. In 3 tests I did of trying to javac the same file, it worked 1 out of 3 times.
I also tested java path.to.file and it randomly hung as well.

What's wrong / what should be happening instead:
It hangs and never returns. It should compile the Java program.

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

First time using strace - it attached to the process, but nothing else was shown.
javac --showversion returns  1.8.0_191.

Note that this is random. In 3 tests I did of trying to javac the same file, it worked 1 out of 3 times.

Works here. Compiles all day.

(Copy&paste specific commands and their output, or include screen shots)

No repro steps provided, naturally.
$ cat /proc/version
Linux version 4.4.0-17134-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #345-Microsoft Wed Sep 19 17:47:00 PST 2018
$ lsb_release -d
Description:    Ubuntu 18.04.1 LTS
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install openjdk-8-jdk-headless
$ cd ~ && mkdir javahello && cd javahello
$ wget -O HelloWorld.java https://goo.gl/54MVVG
$ javac -version
javac 1.8.0_191
$ javac HelloWorld.java
$ java HelloWorld
Hello, World

"No repro steps provided, naturally." I'm assuming the naturally bit was said with a nice smile. ;)
I did provide repro steps - specifically the javac and java commands. This is not specific to one Java file. For me I'm seeing it with multiple, short, HelloWorld style examples. If there is more info I can provide, please let me know.

Hey Reymond:
We ask for detailed repro steps becuase we have to diagnose so many highly variant scenarios, tools, and environments. Full repro steps REALLY help us reproduce YOUR specific issues using specific versions/builds of specific tools.
I also created a simple Java Hello World repo and tested locally on my machine running Windows 10 18303, in an Ubuntu 18.04 WSL instance, following these steps:
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install openjdk-8-jdk-headless
$ cd ~/dev/
$ git clone git@github.com:bitcrazed/hellojava.git
$ cd hellojava/
$ javac -version
javac 1.8.0_191
$ javac hello.java
$ java hello
Hello World!
$ seq 10 | xargs -Iz java hello
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!

I've not managed to hang Java running this HelloWorld sample.
You mention that you tried running strace. When I do I see this:
$ strace java hello
execve("/usr/bin/java", ["java", "hello"], 0x7ffffcaeabd8 /* 18 vars */) = 0
brk(NULL)                               = 0x7fffc4e9b000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/usr/lib/jvm/java-8-openjdk-amd6"..., 4096) = 46
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/../lib/amd64/jli/tls/x86_64/x86_64/libjli.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

# … LOTS OF OUTPUT ...

futex(0x7f5b9d9b09d0, FUTEX_WAIT, 7598, NULLHello World!
) = 0
exit_group(0)                           = ?
+++ exited with 0 +++

If you don't see anything at all when running strace, its likely there's something VERY wrong with your distro/setup.

One thing I see is that I'm on Ubuntu 16.04.5 LTS. Let me try upgrading and see if the issue goes away.

Hot diggity - I have to run and this isn't a great test, but updating seems to have corrected it. I did about 15 quick tests and javac ran perfectly each time.


Mjml not found

Hello,
We have a problem with MJML and symfony.
We are using yarn and each time we are loading a page in the website we have an error (see the linked image).
error 500
"Error Output:"
sh: 1: exec: mjml: not found.
We are using yarn and we can compile all our emails with no problem. We can send email with no problem.
If I do mjml -V in the project path I have :
mjml-core: 4.8.1
mjml-cli: 4.8.1
I'm on Ubuntu.
Do you have any solution ?
Thank you.

MJML binary isn't available in PATH when executed from PHP.
We can't really help you on this one as it's not related to MJML directly here, you can try to install it locally and access it with absolute path instead.

What can I do ?
my PATH is : /usr/bin/:$PATH:./node_modules/.bin

Well you can try to echo PATH inside PHP and see that it will be different, you should use absolute path for that as said in previous comment.


Hide credentials in cpi log

Need to hide credentials like password and apikey in cpi log

done with https://github.com/cloudfoundry/bosh-softlayer-cpi-release/pull/322

done with https://github.com/cloudfoundry/bosh-softlayer-cpi-release/pull/322


[SDLe][Native-SQL-engine]high vulnerabilities brought from Arrow 0.17.0

Snyk code scanning on OAP branch-1.x-spark-3.x

pending fix here, needs more verification on performance.
https://github.com/Intel-bigdata/arrow/pull/98

@HongW2019 the arrow chanage is merged. can you please kindly to check again? thanks!

@zhouyuan  Sure, I will check now.


how can I set the value of batch size and test_every?

Hi,
I feel confused about batch size * test_every, because this setteing will increase train time per epoch.
For example, if I use DIV2K to train (total 800 HR pics and 800 LR pics), how can I set batch size and test_every so that RCAN model can use the whole trainset just one time per epoch?
Thanks for your reply!

Hi,I have the same problem,did you solve it?

@songyonger,
You'd better set batch_size = 16(this value unchange).
If you want to use  more pictures from DIV2K dataset, you can set --data_test 0-900 and  change test_every.


Switch to a 'dev' and 'prod' build system in Grunt

This pull request adds two new modules (processhtml and focus) to allow us to more consistently have a dev and prod build.  Now all parts of the task chain have a dev and prod version... and grunt will default to dev.
Also added a template in index.html so that a dev build will import the standard JS and a prod build will use the minified JS.
This will require a npm install to get the new modules.
We need to figure out the gh-pages work quickly as this will break our ability to push the master branch directly to the gh-pages branch.  @alukach is working on integrating https://github.com/tschaub/grunt-gh-pages into our project (which can push the dist dir to the gh-pages branch).

This is to address issue #45

So, looking at this odd thing where Travis built and deployed to gh-pages.
The way our system works is that when a build passes tests, Travis runs the deploy-to-gh-pages.sh script.  In the script, these lines are supposed to abort if you're not building/testing the master branch.  Those failed.
Re-reading the Travis docs, looks like I was confused by what the TRAVIS_BRANCH environment variable represented:

TRAVIS_BRANCH:For builds not triggered by a pull request this is the name of the branch currently being built; whereas for builds triggered by a pull request this is the name of the branch targeted by the pull request (in many cases this will be master).

I assumed it meant that it was the branch being built, not to target pull request.  Will make a quick fix.

:+1: :+1: :+1: :+1: :+1: :+1: :+1:
Kind of a wild ride, that one...


minor: inconsistent group by position planning

Which issue does this PR close?

Closes #.
Rationale for this change

While #10591 found that planning for INT literals in GROUP BY clause is inconsistent. For example:
EXPLAIN SELECT "URL", COUNT(1) from hits GROUP BY 1, 3, 4, 5

produces following logical plan (this is logical plan before any optimizations):
Explain
  Projection: hits.URL, COUNT(Int64(1))
    Aggregate: groupBy=[[hits.URL, Int64(3), Int64(4), Int64(5)]], aggr=[[COUNT(Int64(1))]]
      TableScan: hits

1 resolved as column from select clause, and 3, 4, 5 remain as constants. Don't think this behavior is intended + there are couple of tests in sql_integration.rs (modified below), for similar cases, expect queries to fail.
The suggestion is to fail while planning phase for such cases, and return error, specifying first index which can not be resolved as select column.
What changes are included in this PR?

Resolution for positions (integer literals in GROUP BY clause) now returns error on first unresolved position.
SIgnature for resolve_positions_to_exprs changed to avoid unnecessary cloning. resolve_aliases_to_exprs signature has similar changes, for the same reasons (it's been changed just for consistency with resolve_positions_... function).
Are these changes tested?

Added sqllogictests + some test coverage for resolve_positions_to_exprs
Are there any user-facing changes?

Users might experience query planning failures for GROUP BY %idx% where idx is out of bounds of SELECT expressions list (which seems to be OK from SQL semantics point of view -- PG/MySQL handle this case in the same way).

Thanks again @korowa  and @jonahgao


Update intro to symbolic

Let me know your opinion on whether a last section with a CQM example is desirable, I'm vacillating on that

Sorry, getting back to this, I actually prefer nand since you can use binary variables. I think it's easy to add a note distinguishing it from the gate version

I am OK to go with this though if you prefer


feat: add rrd parameter-count rule

I merged your previous PR, so in this we have 2 conflicts. Can you please resolve them?
They are there as the 2 PR-s changed the same lines in those 2 files.

Thank you for the PR
The feature is added to https://github.com/rrd108/vue-mess-detector/releases/tag/v0.20.0


Add completion for Hermit.

This will require completion support for Kong. There is a third party library that does it currently.

This has been implemented in https://github.com/cashapp/hermit/pull/39


YandexGPT client returns an error when invoked

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
pip install -U langchain langchain-community yandexcloud

from langchain_community.llms import YandexGPT
from langchain_core.prompts import PromptTemplate
from langchain.chains import LLMChain

os.environ['YC_API_KEY'] = 'xxxxxxx'
os.environ['YC_FOLDER_ID'] = 'xxxxxxx'
llm = YandexGPT()

template = "What is the capital of {country}?"
prompt = PromptTemplate.from_template(template)
llm_chain = LLMChain(prompt=prompt, llm=llm)
country = "Russia"

llm_chain.invoke(country)

raises an error:
Error Message and Stack Trace (if applicable)
WARNING:langchain_community.llms.yandex:Retrying langchain_community.llms.yandex.completion_with_retry.<locals>._completion_with_retry in 1.0 seconds as it raised _MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2024-08-20T07:41:09.86231059+00:00", grpc_status:16, grpc_message:"IAM token or API key has to be passed in request"}"
>.
WARNING:langchain_community.llms.yandex:Retrying langchain_community.llms.yandex.completion_with_retry.<locals>._completion_with_retry in 2.0 seconds as it raised _MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2024-08-20T07:41:11.58718279+00:00", grpc_status:16, grpc_message:"IAM token or API key has to be passed in request"}"
>.
WARNING:langchain_community.llms.yandex:Retrying langchain_community.llms.yandex.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised _MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2024-08-20T07:41:14.337100847+00:00", grpc_status:16, grpc_message:"IAM token or API key has to be passed in request"}"
>.
WARNING:langchain_community.llms.yandex:Retrying langchain_community.llms.yandex.completion_with_retry.<locals>._completion_with_retry in 8.0 seconds as it raised _MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {grpc_message:"IAM token or API key has to be passed in request", grpc_status:16, created_time:"2024-08-20T07:41:19.077443222+00:00"}"
>.
WARNING:langchain_community.llms.yandex:Retrying langchain_community.llms.yandex.completion_with_retry.<locals>._completion_with_retry in 16.0 seconds as it raised _MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2024-08-20T07:41:27.822608895+00:00", grpc_status:16, grpc_message:"IAM token or API key has to be passed in request"}"
>.
---------------------------------------------------------------------------
_MultiThreadedRendezvous                  Traceback (most recent call last)
[<ipython-input-11-91d22ce65899>](https://localhost:8080/#) in <cell line: 16>()
     14 country = "Russia"
     15
---> 16 llm_chain.invoke(country)

22 frames
[/usr/local/lib/python3.10/dist-packages/grpc/_channel.py](https://localhost:8080/#) in _next(self)
    967                     raise StopIteration()
    968                 elif self._state.code is not None:
--> 969                     raise self
    970
    971

_MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAUTHENTICATED
	details = "IAM token or API key has to be passed in request"
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {grpc_message:"IAM token or API key has to be passed in request", grpc_status:16, created_time:"2024-08-20T07:41:44.933096923+00:00"}"
>

Description
I’m trying to use the langchain library to invoke a YandexGPT model. I expected to see a successful response from the model. Instead, I receive an StatusCode.UNAUTHENTICATED error with the message.
Previously, I encountered a similar issue where the error was AttributeError: 'YandexGPT' object has no attribute '_grpc_metadata'. I resolved this by modifying the _BaseYandexGPT class to make _grpc_metadata accessible in child classes, which fixed the issue. However, recent changes to the repository reverted my fix by reintroducing the _grpc_metadata parameter as protected and setting its default value to None.
This change has led to the current issue, where the authentication details are not being passed correctly, resulting in the StatusCode.UNAUTHENTICATED error. The original fix, which made _grpc_metadata accessible, resolved the issue and allowed the code to work as expected. Reverting these changes has introduced a new error without solving the original problem.
System Info
System Information
------------------
> OS:  Linux
> OS Version:  #1 SMP PREEMPT_DYNAMIC Thu Jun 27 21:05:47 UTC 2024
> Python Version:  3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]

Package Information
-------------------
> langchain_core: 0.2.33
> langchain: 0.2.14
> langchain_community: 0.2.12
> langsmith: 0.1.99
> langchain_text_splitters: 0.2.2

Optional packages not installed
-------------------------------
> langgraph
> langserve

may #25617 fix it?

Hi @nktpv , could you please check if #25617 fixes this issue?

Hi @nktpv , could you please check if #25617 fixes this issue?

yes, this PR contains a solution to the issue described

@nktpv thanks for confirming.
Can you consult me about Pydantic? I have to drop leading underscore changing  from private field, but what's the better approach?

@nktpv thanks for confirming. Can you consult me about Pydantic? I have to drop leading underscore changing from private field, but what's the better approach?

I believe your solution is the best possible one, because to make the grpc_metadata field visible to subclasses, you can only either remove the protected access modifier or directly assign a value to the field through cls. Since the second option isn’t great, I think we can stay with your approach to solving the problem.


refactor(localforage): simpler blob support check

Rather than doing an ajax request for a blob, which shows up in the user's console and tends to cause confusion (or may even cause security exceptions in some environments; I suspect #445 is related), just do a user-agent check to determine if we're running in Chrome 37-42, which are the versions that allow you to store a blob but actually have bugs that end up breaking later down the line.
This is the same check we now use in PouchDB, both for the code simplification and to avoid the ajax request. We've been using it for about a year now with no complaints from users, so the user agent check seems to be foolproof.
You can also test this in Saucelabs (as we do) by testing against Android 5.1. Android Lollipop ships with Chrome 37 by default, and Sauce does not update the Chromium WebView in their images, meaning you can reproduce the error fairly easily that way.

That's totally nicer, even if it's a UA check, thanks 👍


Yaml File support

Add YAML file support. YAML is growing file type in the industry.

font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}

OK, i will add it soon.

                            tonghanshuang.thu

<EMAIL_ADDRESS>

    签名由
    网易邮箱大师
    定制

On 4/6/2021 18:46，Aetos<EMAIL_ADDRESS>wrote：

Add YAML file support. YAML is growing file type in the industry.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Add Tests and refactors to external accounts sync api

Issue: https://github.com/Real-Dev-Squad/website-backend/issues/1448
Parent PR:  https://github.com/Real-Dev-Squad/website-backend/pull/1468
Description:

Adds jsdoc to users fetch functions
Adds tests to users fetch functions
Changes the route to POST /external-accounts/users?action=discord-users-sync
Adds validations to query params

Test Coverage:

can you add postman output by sending a request and getting a response for some visual understanding of the feature you are building.

Can you also mention the PR for updating the doc like API contracts?


Add stack support

resolve #47

Test project: https://github.com/mizunashi-mana/test-hpc-coveralls
Travis result: https://travis-ci.org/mizunashi-mana/test-hpc-coveralls
Coveralls: https://coveralls.io/github/mizunashi-mana/test-hpc-coveralls

Notice

Not support multiple stack package

Someone created a pull request to add a similar feature to codecov-haskell: guillaume-nargeot/codecov-haskell/pull/12
That change seems simpler, but I can't judge yet whether it provides the same flexibility as your change...

@guillaume-nargeot OK, I modified my changes to refer to guillaume-nargeot/codecov-haskell#12
My changes provide below searching flows:

If use-stack-cov enabled, only using stack coverage reports
Both tix-dir/mix-dir provided, use this directories
Other case:

Searching default coverage reports (dist/hpc/dist/hpc/vanilla)
Searching stack coverage reports (stack path --local-hpc-dir)

If not found hpc directories, failed and show error messages

And, to detect stack:

Run stack --version, then if DoesNotExistError raised, failed to use stack
Detect a stack project to use stack path --project-root, then if this is not a stack project, failed to use stack

Coverage decreased (-0.2%) to 36.0% when pulling 1544d0525b75c9873fbca5f8605da513ff912725 on mizunashi-mana:add-stack-support into 04fe42c4533b3244e9fa1c2772aa5e30baf5eef0 on guillaume-nargeot:master.

Coverage decreased (-0.2%) to 36.0% when pulling 1544d0525b75c9873fbca5f8605da513ff912725 on mizunashi-mana:add-stack-support into 04fe42c4533b3244e9fa1c2772aa5e30baf5eef0 on guillaume-nargeot:master.

Coverage decreased (-0.2%) to 36.0% when pulling 1544d0525b75c9873fbca5f8605da513ff912725 on mizunashi-mana:add-stack-support into 04fe42c4533b3244e9fa1c2772aa5e30baf5eef0 on guillaume-nargeot:master.

Can you merge this? I am currently trying to move the hpc generated by stack into cabal's place, but it is failing horribly. Or just some pointer toward what I am doing wrong will help, thx
https://travis-ci.org/ThoughtWorksInc/DeepDarkFantasy#L779

@MarisaKirisame While we wait on it being merged, I just built it in a fork:
Install binary (I did it once in my Docker image):
wget -qO- https://github.com/jBugman/hpc-coveralls/releases/download/stack/coveralls.tar.gz | \
    tar xvz -C {DIR_IN_A_PATH}

Upload report:
timeout 10
hpc-coveralls {TEST_SUITE_NAME}
--tix-dir=$(stack path --local-hpc-root)/{LIBRARY_NAME}
--mix-dir=$(stack path --dist-dir)/hpc
--repo-token=$COVERALLS_TOKEN
|| true

Timeout is there because it just hangs after a successful upload for a more than a minute for some reason.


Slideshow Stops Transitionining

Hi, I'm using the slideshow and it only makes one transition for me (regardless of the time interval I've set, or how many images I've loaded in the input array). I have the slideshow in multiple places in my app, and this happens in every single place. I've tried mirroring the example given as closely as possible.
Thanks!

Hi! Could you please share your example project? I haven't experienced this issue before and cannot reproduce it on my side.

I've encountered this problem too.
self.slideShow.setImageInputs(slideImages)         self.slideShow.contentScaleMode = .scaleAspectFill         self.slideShow.slideshowInterval = 500         self.slideShow.zoomEnabled = true         self.slideShow.pageControlPosition = .hidden         self.slideShow.activityIndicator = DefaultActivityIndicator(style: .whiteLarge, color: .black)

@Mbt925 I'm sorry I still can't see the problem. I tried your code but automatic transition works correctly there...

I am using AlamofireSource.

I've been trying it with AlamofireSource too. Ideally, send me an example project demonstrating the problem and I'll look into it.

I assumed slideshowInterval was in milliseconds (self.slideShow.slideshowInterval = 500). But it seems it's in seconds. Am I correct?

NSTimeInterval is indeed seconds (use fractions for sub-seconds). Sounds like you have found the root issue there.

Oh, slideshowInterval is indeed in seconds. Sorry for the confusion, it's my fault it was not explicitly mentioned in the docs. Fixed it.
I think I can now close the issue, let me know if there are any further issues.


Allow empty type parameters in Java code of grammar files.

This allows one to use the diamond when constructing a generic class: new ArrayList<>()
This feature of the Java compiler is documented at https://docs.oracle.com/javase/7/docs/technotes/guides/language/type-inference-generic-instance-creation.html

This one together with my PR #71 introduces another Java7 feature.
However, both your and my changes are missing tests. Maybe some of the maintainers will point out the right way to add demo examples/tests for 'diamond operator' and 'try-with-resources' block.

@inponomarev You could add whatever tests you want to the test or example directories, but you would have to add the testing process into teh Ant build.xml like the other tests

@zosrothko I reworked #71, added all the remaining Java 7 features and added the tests. The proposed @emspishak 's change was cherry-picked into #71 's branch.

Like I'e been saying the solution is to get rid of checking the java syntax. I want to eventually remove all java grammar elements from the javacc grammar. But may be it's ok for now. Also, it's best to keep grammars simple - not complicate with complex java constructs and features. You should do those in your super/sub classes.

@emspishak Could you backport your PR to the 8.0.0 branch? TIA


Update Obsidian documentation to indicate that tab title bar is required

What would you like to be added?
I think you should update the documentation for the Obsidian plugin to indicate that the “Show tab title bar” option in the Appearance settings is required in order to use the Markwhen plugin correctly. I was not seeing the button bar to render Markwhen files, and normally I do not display the tab title bar in Obsidian. Once I tried enabling the tab title bar, the Markwhen buttons were visible.
Why is this needed?
Currently, this requirement isn’t noted in the documentation. Some users will not have the tab title bar enabled by default, and thus they’ll not be able to use Markwhen correctly and as intended.

@sparfenyuk I added instructions to the README.md, let me know if that works


gitlab-ce: use existing cert issuer for GitLab certs

By default, GitLab creates a self-signed wildcard certificate for minio, registry, and the gitlab web UI.  Instead, use our cluster-ca cluster issuer to create those HTTPS ingress certificates.
See https://docs.gitlab.com/charts/charts/globals.html#globalingressconfigurecertmanager

bors r+


The kaleido executable is required by the kaleido Python library, but it was not included

I installed Kaleido today using 'conda install -c conda-forge python-kaleido'. The environment I installed it to is running python 3.8.5.
When I attempted to export a Plotly plot I received the following error:
−2
−1.5
−1
−0.5
0
0.5
1
1.5
2
Dupin's Cyclide with Color Corresponding to Mean Curvature
ValueError                                Traceback (most recent call last)
Cell In [19], line 24
21 if not os.path.exists("images"):
22     os.mkdir("images")
---> 24 sig.write_image("images/sig1.svg")
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/plotly/basedatatypes.py:3829, in BaseFigure.write_image(self, *args, **kwargs)
3769 """
3770 Convert a figure to a static image and write it to a file or writeable
3771 object
(...)
3825 None
3826 """
3827 import plotly.io as pio
-> 3829 return pio.write_image(self, *args, **kwargs)
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/plotly/io/_kaleido.py:267, in write_image(fig, file, format, scale, width, height, validate, engine)
251             raise ValueError(
252                 """
253 Cannot infer image type from output path '{file}'.
(...)
261                 )
262             )
264     # Request image
265     # -------------
266     # Do this first so we don't create a file if image conversion fails
--> 267     img_data = to_image(
268         fig,
269         format=format,
270         scale=scale,
271         width=width,
272         height=height,
273         validate=validate,
274         engine=engine,
275     )
277     # Open file
278     # ---------
279     if path is None:
280         # We previously failed to make sense of file as a pathlib object.
281         # Attempt to write to file as an open file descriptor.
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/plotly/io/_kaleido.py:144, in to_image(fig, format, width, height, scale, validate, engine)
141 # Validate figure
142 # ---------------
143 fig_dict = validate_coerce_fig_to_dict(fig, validate)
--> 144 img_bytes = scope.transform(
145     fig_dict, format=format, width=width, height=height, scale=scale
146 )
148 return img_bytes
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/scopes/plotly.py:153, in PlotlyScope.transform(self, figure, format, width, height, scale)
142     raise ValueError(
143         "Invalid format '{original_format}'.\n"
144         "    Supported formats: {supported_formats_str}"
(...)
148         )
149     )
151 # Transform in using _perform_transform rather than superclass so we can access the full
152 # response dict, including error codes.
--> 153 response = self._perform_transform(
154     figure, format=format, width=width, height=height, scale=scale
155 )
157 # Check for export error, later can customize error messages for plotly Python users
158 code = response.get("code", 0)
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/scopes/base.py:293, in BaseScope._perform_transform(self, data, **kwargs)
284 """
285 Transform input data using the current scope, returning dict response with error code
286 whether successful or not.
(...)
290 :return: Dict of response from Kaleido executable, whether successful or not
291 """
292 # Ensure that kaleido subprocess is running
--> 293 self._ensure_kaleido()
295 # Perform export
296 export_spec = self._json_dumps(dict(kwargs, data=data)).encode('utf-8')
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/scopes/base.py:176, in BaseScope._ensure_kaleido(self)
170 self._std_error = io.BytesIO()
172 # Launch kaleido subprocess
173 # Note: shell=True seems to be needed on Windows to handle executable path with
174 # spaces.  The subprocess.Popen docs makes it sound like this shouldn't be
175 # necessary.
--> 176 proc_args = self._build_proc_args()
177 self._proc = subprocess.Popen(
178     proc_args,
179     stdin=subprocess.PIPE,
(...)
182     shell=sys.platform == "win32"
183 )
185 # Set up thread to asynchronously collect standard error stream
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/scopes/base.py:123, in BaseScope._build_proc_args(self)
116 def _build_proc_args(self):
117     """
118     Build list of kaleido command-line arguments based on current values of
119     the properties specified by self._scope_flags and self.chromium_args
120
121     :return: list of flags
122     """
--> 123     proc_args = [self.executable_path(), self.scope_name]
124     for k in self._scope_flags:
125         v = getattr(self, k)
File ~/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/scopes/base.py:99, in BaseScope.executable_path(cls)
97                 path = os.environ.get("PATH", os.defpath)
98                 formatted_path = path.replace(os.pathsep, "\n    ")
---> 99                 raise ValueError(
100                     """
101 The kaleido executable is required by the kaleido Python library, but it was not included
102 in the Python package and it could not be found on the system PATH.
103
104 Searched for included kaleido executable at:
105     {vendored_executable_path}
106
107 Searched for executable 'kaleido' on the following system PATH:
108     {formatted_path}\n""".format(
109                         vendored_executable_path=vendored_executable_path,
110                         formatted_path=formatted_path,
111                     )
112                 )
114         return executable_path
ValueError:
The kaleido executable is required by the kaleido Python library, but it was not included
in the Python package and it could not be found on the system PATH.
Searched for included kaleido executable at:
/Users/antonechacartegui/opt/anaconda3/envs/pltenv/lib/python3.8/site-packages/kaleido/executable/kaleido
Searched for executable 'kaleido' on the following system PATH:
/Users/antonechacartegui/opt/anaconda3/bin
/Users/antonechacartegui/opt/anaconda3/condabin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Library/TeX/texbin
/opt/X11/bin

Having this issue as well, suddenly i'm getting this error for scripts that worked fine before

I ended up installing Orca and using that engine to export my plots. It worked great for me. I'm not sure if this would help you for what you're doing but you might give it a try.

For me, I uninstalled plotly and kaleido
reinstalled latest versions
then installed "urbansim" as some vague comment on StackOverflow suggested.
Now everything works :D

I did this, then attempting to install via pip as a last-ditch effort. But it ended up returning "kaleido already satisfied". And now I can generate images.

I'm using mac 10.14.6 with python 3.10 in a conda environment whose kernel is mapped to a running jupyter notebook from a separate base environment. After installing kaleido via conda install -c conda-forge python-kaleido into my conda environment and attempting to render a static image via plotly, I encountered the same error message referenced by the OP. What I found, however, is that an a executible was installed with the kaleido package under /Users/user_name/anaconda3/envs/env_name/bin. There are two other executibles in this same /bin directory, one is under /KaleidoApp, and the second under /KaleidoApp/bin. I'm unaware of the differences between all three, besides they each have different file sizes.
I generated a copy of the kaleido executible in the /env_name/bin directory and placed it in /Users/user_name/anaconda3/envs/env_name/lib/python3.10/site-packages/kaleido/executable, restarted my env_name kernel and everything was resolved. Note that I had to create the executable directory because it didn't exist. Perhaps this is a Kaleido issue, or maybe it has something to do with conda's package manager?

I'm using mac 10.14.6 with python 3.10 in a conda environment whose kernel is mapped to a running jupyter notebook from a separate base environment. After installing kaleido via conda install -c conda-forge python-kaleido into my conda environment and attempting to render a static image via plotly, I encountered the same error message referenced by the OP. What I found, however, is that an a executible was installed with the kaleido package under /Users/user_name/anaconda3/envs/env_name/bin. There are two other executibles in this same /bin directory, one is under /KaleidoApp, and the second under /KaleidoApp/bin. I'm unaware of the differences between all three, besides they each have different file sizes.
I generated a copy of the kaleido executible in the /env_name/bin directory and placed it in /Users/user_name/anaconda3/envs/env_name/lib/python3.10/site-packages/kaleido/executable, restarted my env_name kernel and everything was resolved. Note that I had to create the executable directory because it didn't exist. Perhaps this is a Kaleido issue, or maybe it has something to do with conda's package manager?

It worked for me as well

Yes, it looks, like the executable isn't searched for in the currently active conda environment … where it obviously will be located, if conda is used to benefit from environments.

The trouble is with the custom conda environment not being activated upon kernel launch, by standard.
I've created an issue toward addressing this:
https://github.com/jupyter/docker-stacks/issues/1903

The trouble is with the custom conda environment not being activated upon kernel launch, by standard.
I've created an issue toward addressing this:
[ENH] - include conda env activation for kernel with custom environment

I had to do two things to solve this problem fully:
First, when I tried running a minimally reproducible example using save_image() which calls kaleido, I prefaced with:
reticulate::py_run_string("import sys")
but this threw the error

ModuleNotFoundError: No module named 'rpytools'

I had to copy the rpytools folder from the reticulate installation (located at: C:\Users\nrhode\Documents\R\win-library\4.1\reticulate\python) to my virtual environment folder listed as number [8] below:
library(reticulate)
sys <- import("sys", convert = TRUE)
sys$path
[1] ""
[2] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate"
[3] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate\\python39.zip"
[4] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate\\DLLs"
[5] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate\\lib"
[6] "C:\\Program Files\\RStudio\\resources\\app\\bin"
[7] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate"
[8] "C:\\Users\\nrhode\\AppData\\Local\\r-miniconda\\envs\\r-reticulate\\lib\\site-packages"

A clue came from: https://github.com/rstudio/keras/issues/615#issuecomment-856075119
This solved the first error.
>library(reticulate)
>sys <- import("sys", convert = TRUE)
>sys$path
>import("rpytools")
Module(rpytools)

Next, I attempted a minimal example which threw an error when trying to find the kaleido executable:
p <- plotly::plot_ly(x = 1:10)
reticulate::py_run_string("import sys")
plotly::save_image(p, "./pic.png")

Error:
reticulate::py_last_error()

-- Python Exception Message ----------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\scopes\plotly.py", line 103, in transform
    response = self._perform_transform(
  File "C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\scopes\base.py", line 280, in _perform_transform
    self._ensure_kaleido()
  File "C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\scopes\base.py", line 166, in _ensure_kaleido
    proc_args = self._build_proc_args()
  File "C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\scopes\base.py", line 113, in _build_proc_args
    proc_args = [self.executable_path(), self.scope_name]
  File "C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\scopes\base.py", line 89, in executable_path
    raise ValueError(
ValueError:
The kaleido executable is required by the kaleido Python library, but it was not included
in the Python package and it could not be found on the system PATH.

Searched for included kaleido executable at:
    C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\kaleido\executable\kaleido

Searched for executable 'kaleido' on the following system PATH:
...

I finally figured out where the Kaleido executables were located on my system (path below) AND that I had to add this path location explicitly to my Windows 10 Environmental variable path:
C:\Users\nrhode\AppData\Local\r-miniconda\pkgs\kaleido-core-0.1.0-h8ffe710_0\Library\bin\KaleidoApp
This solved the problem. @mnneely @siel
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] plotly_4.10.4   lubridate_1.9.3 forcats_1.0.0   stringr_1.5.1   dplyr_1.1.4
[6] purrr_1.0.2     readr_2.1.5     tidyr_1.3.1     tibble_3.2.1    ggplot2_3.5.0
[11] tidyverse_2.0.0 Pmetrics_2.1.1
loaded via a namespace (and not attached):
[1] nlme_3.1-153            fs_1.6.3                usethis_2.1.6
[4] devtools_2.4.5          webshot_0.5.5           progress_1.2.3
[7] httr_1.4.7              rprojroot_2.0.3         numDeriv_2016.8-1.1
[10] backports_1.4.1         tools_4.1.2             profvis_0.3.8
[13] utf8_1.2.4              R6_2.5.1                DT_0.32
[16] metafor_4.2-0           lazyeval_0.2.2          colorspace_2.1-0
[19] ggdist_3.2.1            withr_3.0.0             urlchecker_1.0.1
[22] tidyselect_1.2.0        gridExtra_2.3           prettyunits_1.2.0
[25] processx_3.8.3          curl_5.2.0              compiler_4.1.2
[28] cli_3.6.2               scales_1.3.0            checkmate_2.3.1
[31] mvtnorm_1.2-4           callr_3.7.5             rappdirs_0.3.3
[34] trelliscopejs_0.2.6     digest_0.6.34           rmarkdown_2.25
[37] base64enc_0.1-3         pkgconfig_2.0.3         htmltools_0.5.7
[40] sessioninfo_1.2.2       fastmap_1.1.1           htmlwidgets_1.6.4
[43] rlang_1.1.3             rstudioapi_0.14         shiny_1.8.0
[46] farver_2.1.1            generics_0.1.3          jsonlite_1.8.8
[49] crosstalk_1.2.1         mclust_6.1              distributional_0.3.2
[52] magrittr_2.0.3          metadat_1.2-0           patchwork_1.2.0
[55] Matrix_1.5-4            Rcpp_1.0.12             munsell_0.5.0
[58] fansi_1.0.6             reticulate_1.35.0       lifecycle_1.0.4
[61] yaml_2.3.8              stringi_1.8.3           mathjaxr_1.6-0
[64] pkgbuild_1.4.0          grid_4.1.2              promises_1.2.1
[67] crayon_1.5.2            miniUI_<IP_ADDRESS>          lattice_0.20-45
[70] hms_1.1.3               knitr_1.45              ps_1.7.6
[73] pillar_1.9.0            codetools_0.2-18        pkgload_1.3.2
[76] glue_1.7.0              evaluate_0.23           DistributionUtils_0.6-1
[79] data.table_1.15.0       remotes_2.4.2           png_0.1-8
[82] vctrs_0.6.5             tzdb_0.4.0              httpuv_1.6.14
[85] foreach_1.5.2           gtable_0.3.4            cachem_1.0.8
[88] xfun_0.42               mime_0.12               xtable_1.8-4
[91] later_1.3.2             autocogs_0.1.4          viridisLite_0.4.2
[94] iterators_1.0.14        memoise_2.0.1           timechange_0.3.0
[97] ellipsis_0.3.2          here_1.0.1
reticulate::py_list_packages()
package      version                requirement     channel
1            blosc       1.21.5               blosc=1.21.5 conda-forge
2            bzip2        1.0.8                bzip2=1.0.8 conda-forge
3         c-blosc2       2.13.2            c-blosc2=2.13.2 conda-forge
4  ca-certificates     2024.2.2   ca-certificates=2024.2.2 conda-forge
5             hdf5       1.14.3                hdf5=1.14.3 conda-forge
6     intel-openmp     2024.0.0      intel-openmp=2024.0.0 conda-forge
7     kaleido-core        0.1.0         kaleido-core=0.1.0 conda-forge
8             krb5       1.21.2                krb5=1.21.2 conda-forge
9           libaec        1.1.2               libaec=1.1.2 conda-forge
10         libblas        3.9.0              libblas=3.9.0 conda-forge
11        libcblas        3.9.0             libcblas=3.9.0 conda-forge
12         libcurl        8.5.0              libcurl=8.5.0 conda-forge
13          libffi        3.4.2               libffi=3.4.2 conda-forge
14        libhwloc        2.9.3             libhwloc=2.9.3 conda-forge
15        libiconv         1.17              libiconv=1.17 conda-forge
16       liblapack        3.9.0            liblapack=3.9.0 conda-forge
17       libsqlite       3.45.1           libsqlite=3.45.1 conda-forge
18         libssh2       1.11.0             libssh2=1.11.0 conda-forge
19         libxml2       2.12.5             libxml2=2.12.5 conda-forge
20         libzlib       1.2.13             libzlib=1.2.13 conda-forge
21           lz4-c        1.9.4                lz4-c=1.9.4 conda-forge
22         mathjax        2.7.7              mathjax=2.7.7 conda-forge
23             mkl     2024.0.0               mkl=2024.0.0 conda-forge
24         numexpr        2.7.3              numexpr=2.7.3 conda-forge
25           numpy       1.26.4               numpy=1.26.4 conda-forge
26         openssl        3.2.1              openssl=3.2.1 conda-forge
27            orca          1.8                   orca=1.8 conda-forge
28       packaging         23.2             packaging=23.2 conda-forge
29          pandas        2.2.1               pandas=2.2.1 conda-forge
30           patsy        0.5.6                patsy=0.5.6 conda-forge
31             pip         24.0                   pip=24.0 conda-forge
32          plotly       5.19.0              plotly=5.19.0      plotly
33     prettytable       3.10.0         prettytable=3.10.0 conda-forge
34  pthreads-win32        2.9.1       pthreads-win32=2.9.1 conda-forge
35      py-cpuinfo        9.0.0           py-cpuinfo=9.0.0 conda-forge
36        pytables        3.9.2             pytables=3.9.2 conda-forge
37          python       3.9.18              python=3.9.18 conda-forge
38 python-dateutil        2.8.2      python-dateutil=2.8.2 conda-forge
39  python-kaleido        0.1.0       python-kaleido=0.1.0 conda-forge
40   python-tzdata       2024.1       python-tzdata=2024.1 conda-forge
41      python_abi          3.9             python_abi=3.9 conda-forge
42            pytz       2024.1                pytz=2024.1 conda-forge
43          pyyaml        6.0.1               pyyaml=6.0.1 conda-forge
44           scipy       1.12.0               scipy=1.12.0 conda-forge
45      setuptools       69.1.1          setuptools=69.1.1 conda-forge
46             six       1.16.0                 six=1.16.0 conda-forge
47          snappy       1.1.10              snappy=1.1.10 conda-forge
48     statsmodels       0.14.1         statsmodels=0.14.1 conda-forge
49             tbb    2021.11.0              tbb=2021.11.0 conda-forge
50        tenacity        8.2.2             tenacity=8.2.2   pkgs/main
51              tk       8.6.13                  tk=8.6.13 conda-forge
52           toolz       0.12.1               toolz=0.12.1 conda-forge
53          tzdata        2024a               tzdata=2024a conda-forge
54            ucrt 10.0.22621.0          ucrt=10.0.22621.0 conda-forge
55        urbansim          3.2               urbansim=3.2 conda-forge
56              vc         14.3                    vc=14.3 conda-forge
57    vc14_runtime  14.38.33130   vc14_runtime=14.38.33130 conda-forge
58  vs2015_runtime  14.38.33130 vs2015_runtime=14.38.33130 conda-forge
59         wcwidth       0.2.13             wcwidth=0.2.13 conda-forge
60           wheel       0.42.0               wheel=0.42.0 conda-forge
61              xz        5.2.6                   xz=5.2.6 conda-forge
62            yaml        0.2.5                 yaml=0.2.5 conda-forge
63         zlib-ng        2.0.7              zlib-ng=2.0.7 conda-forge
64            zstd        1.5.5                 zstd=1.5.5 conda-forge
reticulate::conda_list()
name
1         base
2 r-reticulate
python
1                     C:\Users\nrhode\AppData\Local\r-miniconda/python.exe
2 C:\Users\nrhode\AppData\Local\r-miniconda\envs\r-reticulate/python.exe

I'm using mac 10.14.6 with python 3.10 in a conda environment whose kernel is mapped to a running jupyter notebook from a separate base environment. After installing kaleido via conda install -c conda-forge python-kaleido into my conda environment and attempting to render a static image via plotly, I encountered the same error message referenced by the OP. What I found, however, is that an a executible was installed with the kaleido package under /Users/user_name/anaconda3/envs/env_name/bin. There are two other executibles in this same /bin directory, one is under /KaleidoApp, and the second under /KaleidoApp/bin. I'm unaware of the differences between all three, besides they each have different file sizes.
I generated a copy of the kaleido executible in the /env_name/bin directory and placed it in /Users/user_name/anaconda3/envs/env_name/lib/python3.10/site-packages/kaleido/executable, restarted my env_name kernel and everything was resolved. Note that I had to create the executable directory because it didn't exist. Perhaps this is a Kaleido issue, or maybe it has something to do with conda's package manager?

Worked for me, thanks a lot

Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

I'm not sure if it's okay that i'm posting this (my apologies otherwise).
I encounted a similar issue and figured it might be worth it to let someone know in case they're in the same boat.
I started from the lasted version 0.2.1/post1 and went downwards until it worked with 0.1.0.post1 on windows 11.
https://github.com/plotly/Kaleido/issues/61#issuecomment-2338125494


test-branch/execute-job/quoted-authorization/7bfeee18-7be6-4cad-a37e-b47f52a1b896

PR for testing 679f1c7a9efbd48982dcd123112917da4a19eb19

/canonical/self-hosted-runners/run-workflows 679f1c7a9efbd48982dcd123112917da4a19eb19


Awesome

I will be frank, I totally forgot we already shared curiodb in RedisWeekly. I did not even take the the time to try it with Redsmin! I don't know if you did but I will be glad to give you feedbacks on how well it integrates with Redis GUIs :)

Cool!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.5 to before v4.4.286",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ba4dc61fe8c545a5d6a68b63616776556b771f51",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=acb96e782bad427ca4bb1bd94af660acd1462380"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "acb96e782bad427ca4bb1bd94af660acd1462380",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ipack: ipoctal: fix stack information leak\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.286 by commit acb96e782bad427ca4bb1bd94af660acd1462380, it was introduced in version v3.5 by commit ba4dc61fe8c545a5d6a68b63616776556b771f51. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001497


Omit the --filter=blob:none option passed to git clone

This should prevent the "filtering not recognized by server, ignoring" warning on git clone.

This still breaks in 4 out of many cases. BTW, does it really dowbload the same stuff so many times? It makes no sense.

Just re-run the failed ones and it'll complete fine...

Just re-run the failed ones and it'll complete fine...

Re-run how? Anyway, why does it git clone many times? Cannot the storage be shared between builds?

It's all different docker images, how could it possibly be shared?
There's literally a button to re-run failed jobs. Just need to click on it.

It's all different docker images, how could it possibly be shared?

Open netcat on one of them and transfer the files instead of a new git clone. Now Internet needs after one git clone.

There's literally a button to re-run failed jobs

Where? There are so many buttons...

The "spinning arrows" above the job overview.
I don't think you understand how the various images are built.
They can't communicate, they run on different VMs, and there is no guarantee they even do the same thing at the same time.
That's why the build results are so extensively cached, and I heavily prefer Github mirrors as source.
To not run into flaky upstreams and overwhelm their servers.
iconv is just one of the upstreams that are troublesome. But it's not nearly as big of an issue as you make it out to be.
Just re-run the failed jobs, and high chance they'll complete fine.

above the job overview.

There is no such header called "Job overview". I can only see Jobs, Annotations, Summary...

They can't communicate, they run on different VMs, and there is no guarantee they even do the same thing at the same time.

Of course they can communicate. They can communite with the Internet, they should be able to open outgoing ports through whatever masquerade NAT is used. You should be even able to open bittorent or ipfs direct stream from one of them to the other. It may be hard cause it needs true open ports...

The button is just at the very top of every Workflow run. If some jobs failed, it has an option to choose between re-running all or only failed.
If you can make that happen reliably, be my guest.
The chance that two builds are at the exact same spot is rather slim though, and then somehow sharing the files is even less feasible.
You'll also have to account for the possibility of some of them having a cache hit and not building anything.
I don't see any realistic way to share stuff between the parallel builds.
Keep in mind that every single build stage throws away the temporary files, like the cloned repo, after it's done building.

Oh, rerun only work after it fully fails.

BTW, are you aware that when you first fork this repo you need to create wiki (by prressing wiki and creating new page). Or it will not work (fail on "Update wiki"). And the whole "prune old releases" simply does not work anyway. It just says unable to find release... and fails, that is why all jobs are failures, even though everything works and release is published.

No, since "fork and go" is just not a primary goal of this.
It's set up to work mostly nicely, but not a setup that is ever tested.

No, since "fork and go" is just not a primary goal of this. It's set up to work mostly nicely, but not a setup that is ever tested.

This is simple to fix. Do not force updating wiki if it is unitiliased. Do not indicate general failure if pruning old releases fails.

Happy to accept PRs for that, as long as they don't break stuff.
But it's just not something I test.
I even considered constructing the cron-based jobs in such a way that they don't run anywhere else, to force any fork to take conscious action to have daily crons, reducing load on upstream git servers and Githubs Infra.

Or differenciate between not able to delete the release and trying to delete the release that does not exist. In the later case (if you deleted the release manually) just delete the git tag.

constructing the cron-based jobs in such a way that they don't run anywhere else

That is impossible.

force any fork to take conscious action to have daily crons,

Daily? I have mine building every 8 hours. On a different account, where cache still works and nothing fails. Once per day is not enough. Wireshark builds itself many times per day if commit changes https://www.wireshark.org/download/automated/win64/
Chrome/ Chromium OS /Android OS have every 30 seconds build for all platforms if commit changes. On march native and O3 and Os and what not, with clang, msvc and gcc and with 10 different sanitizers and fazzers and UBSAN and internal google secret analysers and alà FATE systems.

Hm? It's a simple check for "is this BtbN/FFmpeg-Builds, if not, fail the build". Nothing impossible about that.
The point being to avoid accidental/unused forks from causing load on Githubs and upstreams infra.
What is the point of having such an extensive archive of builds?
If you want some specific commit included, you can always trigger a build manually.
That almost seems like abuse of Githubs infra to me, to run it that often.

Abuse of Github infra was mining Bitcoin and DDOS zombies and my favourite VPN multihop pseudoproxies. This here is not abuse of anything.


Fixed extra_fields not loaded

In 84c4db8, a regression was introduced. While clearing and restoring the extraFieldsList, the checked items are not restored.

Sure thing. Let's make the linter happy.


Performance in some cases

I submitted https://github.com/djkoloski/rust_serialization_benchmark/pull/56 and found that the performance of cbor4ii on github actions is worse than serde_cbor.
I also observed that cbor4ii has a greater slowdown than serde_cbor when using cranelift backend. (10x)
I suspect this is because cbor4ii relies more on inline than other implementations. This is a case that can be optimized.

Right now we are the fastest CBOR crate for serialization, but deserialization has no advantage over serde_cbor.


WIP Monthly aggregates

@ryscheng Just a start to this
TODO:

[ ] Edit the migration to add the continuous aggregate.
[ ] Run the migration

OBE. Closing


Access Control API V2 Support

Adds support for the Access Control API V2.
New features:

Groups client
Group Members client
User Members client

Removes:

Members client (split into groups and users)

a changelog for v1 -v2 would be handy. subsequent pr?

Good idea Arun, totally forgot to update the changelog. I'll throw up a PR for that shortly.


Freeplay Revamp?

What feature do you want to get added on the base engine?
The Freeplay menu looks a bit too old. How about a enhancement?
Just add the base Freeplay menu into the engine if you want, I don't expect it to happen. But like keep the Freeplay week editor thing as the old menu. It's more simpler ig.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

ShadowMario has already said he will not add the new base game stuff other than weekend 1 to psych engine

ShadowMario has already said he will not add the new base game stuff other than weekend 1 to psych engine

Oh... My Bad.

Comment for closing issue

Comment for closing issue

It's not closed

Comment for closing issue

It's not closed

O


Small error in publication

Hi everyone,
I have read with great interest your paper on this topic and while studying the paper in detail, I stumbled upon what I believe to be a small mistake in the printed paper: The initial value for the score is not -1, but rather initialized to qspan.
In the testbed, this is defined here: https://github.com/UCLA-VAST/minimap2-acceleration/blob/master/testbed/chain.c#L48
In the current master (of minimap2), this is also true.
I am really bad at reading HLS, but the same is done in the HLS code as well: https://github.com/UCLA-VAST/minimap2-acceleration/blob/master/kernel/hls/src/device_kernel.cpp#L218
In contrast, in figure 10, the score is initialized to -1, probably was just copied from the predecessor register chain, where this does hold true.
Again, this is purely a small mistake I encountered when reading the paper, but I thought I would mention it, in case somebody else stumbles upon it.
Kind regards
Christian

Hi Christian,
Thank you for your interest in our work!
You are correct.  The initialization of score to q_span, or w[i] as in Equation (1) in our paper, is the implementation of score(i) = max{ ..., w[i] }.  We missed this in Fig. 10, because it could be implemented as either the last stage or the initialization stage.  We were preoccupied with the implementation of max{score[j] + weight(j,i)} when drawing the figure.
Thanks again for pointing this out!  It will definitely help others who got confused by our mistake.
Thanks,
Jason


Succeed to preview one blob whose size is larger than 10 MiB

Storage Explorer Version: 1.28.0-dev
Build Number: 20221221.5
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.0.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.27.1)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload one blob with .txt file extension whose size is larger than 10 MiB.
Right click the blob -> Click 'Preview'.
Check whether there is a failed activity log indicating 'The blob size must be less than 10 MiB'.

Expected Experience
There is a failed activity log indicating 'The blob size must be less than 10 MiB'.

Actual Experience
Succeed to open the preview tab.

Additional Context
The screenshot under one file share:

By design. We're now allowing to preview text files regardless of size, however, only up to the first 10MB of the file. As you can see, we show a banner indicating that the preview is only partial.


Add SpaDES.project tuto chapter

In SpaDES training book (https://predictiveecology.org/training/_book/) need a chapter/section on SpaDES.project

I have a draft locally... not pushed yet.

Now exists in workflowSimple2.qmd