text:
TypeError: Object(...) is not a function  when  const client = useApolloClient();

Hi,
Getting
TypeError: Object(...) is not a function
when  const client = useApolloClient();  inside the component.
Thanks

Hi @killjoy2013
Could you please provide more details or ideally create a reproducible Demo on https://codesandbox.io or github? useApolloClient works in the example app: https://codesandbox.io/s/8819w85jn9 (please look at src/views/Feed.js).

Make sure you have react@next AND react-dom@next installed. Had a similar error using React Hooks API with create-react-app. Both need to be 16.7+.

@killjoy2013 I had the same problem when @next was 16.7.0-alpha1 ... then some hours later, the alpha2 came and fixed it. so check you react/react-dom version.

@killjoy2013 I'm going to close it. If you still have this problem and ensured you use the latest alphas for both react and react-dom, please add a comment.

FYI, both react@canary (0.0.0-c5b7d26c7) and react@unstable (0.0.0-0c756fb-f7f79fd) produce this error whereas alpha2 works.

@timburgess Have you ensured you use exactly the same version of both react and react-dom?

@trojanowski Yes. Upgraded a working project with npm install --save --save-exact react@canary react-dom@canary and got:

Oh, my bad, sorry.
It works! Thanks for your quick answer and your great job

authors: adrenalien atoy40 killjoy2013 timburgess trojanowski voxtex

repo: trojanowski/react-apollo-hooks


text:
🛑 Radarr4K is down

In 1f7dabc, Radarr4K (https://tronflix.app/radarr4k/activity/queue/) was down:

HTTP code: 520
Response time: 305 ms

Resolved: Radarr4K is back up in 8df86d9.

source: gharchive/issue

repo: tronyx/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Nagios is down

In c226ed8, Nagios (https://nagios.tronflix.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nagios is back up in 5ad5c27.


text:
🛑 Lidarr is down

In d545be3, Lidarr (https://tronflix.app/lidarr/activity/queue/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lidarr is back up in 12a07e1.


text:
Upgrading to gridstack 0.2.5 produces error

I'm using webpack to build, and I've been using 0.2.4 with no problems. Today, I updated to 0.2.5 and receive this error:
Uncaught TypeError: (0 , _jquery2.default)(...).gridstack is not a function
If I use npm to downgrade to 0.2.4, everything works fine again.
The offending line of code is the usual: $('.grid-stack').gridstack(options)
I'm not sure what the issue could be. Were there any requirement version increases that possibly haven't been taken care of by npm?

I figured out the issue.  My project is using jquery 2.2.0, and gridstack installed jquery 2.2.1 within its own local packages, but that wasn't enough to make gridstack work. Upgrading the higher-level version of jquery 2.2.1 worked.

license: mit

license_source: bigquery


text:
preserve selected options for server generated html

building on top of #55
this fixes the issue that the initial <option> elements in the server generated html disappear when the user selects an element from the search result list even though preserveSelected is true

@debueb thank you so much for this fix.  I can't believe I missed that when looking into this. Will get this built and released soon.

@debueb this is in v1.3.6 release.

source: gharchive/pull-request

authors: debueb truckingsim

repo: truckingsim/Ajax-Bootstrap-Select


text:
Building Lumina from source on Debian 8 (Jessie) still failing...

Initial stab at building Lumina from source on Debian 8 failed, resulting in issue #258.
That issue got fixed.
With the fix in place, I attempted to build Lumina again.
Unfortunately, it's still failing. This time I get following error:
In file included from MainUI.cpp:8:0:
ui_MainUI.h: In member function ‘void Ui_MainUI::setupUi(QMainWindow*)’:
ui_MainUI.h:122:20: error: ‘class QTabWidget’ has no member named ‘setTabBarAutoHide’
         tabWidget->setTabBarAutoHide(false);
                    ^
MainUI.cpp: In member function ‘void MainUI::replaceOne()’:
MainUI.cpp:298:8: warning: unused variable ‘done’ [-Wunused-variable]
   bool done = false;
        ^
MainUI.cpp:304:10: warning: unused variable ‘found’ [-Wunused-variable]
     bool found = cur->find( ui->line_find->text(), ui->tool_find_casesensitive->isChecked() ? QTextDocument::FindCaseSensitively : QTextDocument::FindFlags() );
          ^
Makefile:385: recipe for target 'MainUI.o' failed
make[3]: *** [MainUI.o] Error 1
make[3]: Leaving directory '/root/lumina/src-qt5/desktop-utils/lumina-textedit'
Makefile:116: recipe for target 'sub-lumina-textedit-make_first' failed
make[2]: *** [sub-lumina-textedit-make_first] Error 2
make[2]: Leaving directory '/root/lumina/src-qt5/desktop-utils'
Makefile:90: recipe for target 'sub-desktop-utils-make_first' failed
make[1]: *** [sub-desktop-utils-make_first] Error 2
make[1]: Leaving directory '/root/lumina/src-qt5'
Makefile:38: recipe for target 'sub-src-qt5-make_first' failed
make: *** [sub-src-qt5-make_first] Error 2

Branch:  qt5/1.0.0
OS: Debian 8 Jessie (64bit)

master branch also gives same error...

Seems like Lumina requires qt5 >=5.4.
setTabBarAutohide() has been added in qt 5.4 http://doc.qt.io/qt-5/qtabwidget.html#tabBarAutoHide-prop
But Debian stable aka jessie provides only 5.3.2 https://packages.debian.org/jessie/qt5-default

This was already fixed in the master branch last friday. You should be able to build Lumina with Qt 5.2 again if pulling from master.

I was able to build Lumina from source (master) successfully on Debian 8 Jessie after this fix.
Thanks to all involved.

repo: trueos/lumina


text:
Panels may disappear when Lumina defaults or system defaults are applied, or when adding a panel

From [Solved] Lumina missing panels:

… Simple fix … "return to Lumina Defaults".

Expected
A panel, populated.
Actual result
Disappearance of all panels.
Environment
… Intel HD Graphics 5500 … with one external display.
$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.79*+
   1280x800      59.81
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
   720x400       70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)
$ date ; freebsd-version ; uname -a
Sat 19 Nov 2016 09:09:53 GMT
12.0-CURRENT
FreeBSD momh167-gjp4-hpelitebook850g2-trueos.university.brighton.ac.uk 12.0-CURRENT FreeBSD 12.0-CURRENT #14 1717ae3(drm-next-4.7): Fri Oct 28 13:49:49 UTC 2016     root@gauntlet:/usr/obj/usr/src/sys/GENERIC  amd64
$

How are you reproducing this issue?  I'm not asking what the person in the thread did... how did 'you' reproduce this on your system?

HP EliteBook 850 G2, UEFI with CSM, working with just one display, external.
(AFAICT: the system stops driving the internal display when it begins driving the external; when kernel modules are loaded.)
I can log on and create panels. If I click either Return to system defaults or Return to Lumina defaults and save settings, then all panels disappear; Floating Panels and Plugins shows just the '+' icon.

https://discourse.trueos.org/t/solved-lumina-missing-panels/225/5 a more recent report from someone else:

… problems with Lumina missing panels after I installed nVidia 340 drver … dual monitor setup… played a bith with adding some panels manually and after they were added, the "Return to lumina defaults" removes all things added so my desktops are blank: …

Fixed!
https://github.com/trueos/lumina/commit/1b7f0d30506c1c9ff39acbe8cd6e6403a02ae5f2


text:
[request] GEVA instead of GVAS

Hello.
I would like to edit a PS4 save made with UE 4.16 but it does not seem to be supported by any UE save editor.
The header is a bit different from a classic GVAS, it starts with GEVASEND instead of GVAS, and I don't really know for the rest of the file.
I searched for resources online about this particular format ("GEVA" or "GEVASEND") but did not find anything relevant.
As you are pretty familiar with this (kind of) file format,
could you give a look at the attached file and maybe point me in the right direction?
Many thanks.
ue4savegame.ps4.sav.zip

The header looks mostly familiar with some small oddities. Unfortunately it looks like the save file body is either compressed or encrypted. I don't see any magic numbers that suggest a specific compression algorithm so hard to say what's going on just looking at the save file in isolation. Perhaps you could try creating a slightly modification of the save file in game and then diff the output? That might tell you things like where the compressed/encrypted data begins or whether it's a block cipher or stream cipher.

Thanks for the fast reply.

Perhaps you could try creating a slightly modified version of the save file in game and then diff the output?

A slightly modification is not really possible with this game (it's Life is strange 2) because it only saves after major decision or chapter, so, it's not like if I could spent $1 and then save, unfortunately.
Anyway, I don't want to bother you more with this, so I'm closing this ticket.
I will check if I have some other UE4 games on the PS4, in order to compare the saves.
Thanks for the suggestion and your time :)

Well you're in luck. :smile: I shared this with @LongerWarrior and he made the astute observation there is a Zlib compression stream header 4 bytes after what appears to the be the save file class name (78 9C). Sure enough, extracting this stream and passing it through Zlib produces what I would expect a save file body to look like. This commit has some messy patches that let the save file parse and re-save again which should let you edit the save as needed: 343e41895aad100b0d2a25a00f9cf21e18832722

Awesome! Many thanks to both of you!
Unfortunately, I can't get it to work, but I probably do something wrong.
What I did:
git clone https://github.com/trumank/uesave-rs.git
git checkout -b life-is-strange
cargo install --path .

Replacing /Users/tuxfamily/.cargo/bin/uesave
    Replaced package `uesave v0.2.1 (https://github.com/trumank/uesave-rs.git#64e74aa9)` with `uesave v0.2.1 (/Users/tuxfamily/Projects/divers/uesave-rs)` (executable `uesave`)

But...
/Users/tuxfamily/.cargo/bin/uesave edit ue4savegame.ps4.sav

Found non-standard magic: [47, 45, 56, 41] (GEVA) expected: GVAS, continuing to parse...
Error: at offset 577188: io error: failed to fill whole buffer

What I did wrong? How can I avoid this error? 😟
Were you able to open this save on your side, with your patch?

I think you are creating a new branch off of master when you checkout with the -b flag.
If you just want to cargo install you can skip the clone entirely: cargo install --git https://github.com/trumank/uesave-rs.git --branch life-is-strange

Oh right, my mistake 😟
Sorry for that.
It seems to work, I will try to resign the save and upload it on the PS4... probably tomorrow.
I will keep you posted.
Thanks again.

Sorry for the late reply.
I've tried many times but, somehow, the save get corrupted after edit.
Basically, I'm just trying to change the 'money' value.
I found it in the JSON, in one place, it's a float, identified with a GUID.
So I've tried to just change it by $1 ($5.03 instead of $4.03) but after the game says that the save is corrupted.
I've tried everything possible on the PS4, even to delete all saves and the game itself, in case it was some kind of internal protection, but no luck.
Of course, it works if I do not edit the save, even transferring it from a console to another one (my Slim to my Pro in this case).
So, maybe there is a kind of signature/hash in the save, or something like that.
Well, not a big deal, I was able to change this value in game/memory with ps4debug.
Thanks to the save edit, I was able to see that the value is a real float, not rounded, so it was easy to found it in memory 😉
Thank you very much for your help and your time.

authors: trumank tuxfamily

repo: trumank/uesave-rs


text:
封禁的有些太狠了

做了一些测试，大概500张的图，有些露脖子的有些也封禁了

你的阈值设的多少

0，这图都过不了

关键，索隆都过不了，hhhhh

关键，索隆都过不了.....

等我研究会

大神先忙正事，我这不急，就是做stable diffusion模型有一批图，想一遍这个工具。

大神先忙正事，我这不急，就是做stable diffusion模型有一批图，想过一遍这个工具筛选一下。

你理解错了，score是指将图像分类为 NSFW 的阈值分数，所以如果你要鉴定黄图，不能设成0，应该设置像0.9这样的值

repo: trumanwong/ComfyUI-NSFW-Detection


text:
Update .gitignore

Added ignore paths for node, less, macos, python and visual studio code.

Vi borde nog lägga till stöd för ignore-filer på Windows också.

repo: trumtomte/introduktion-git-och-github


text:
abiosis, gv

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,g]

/trunk merge

repo: trunk-io/mergequeue-staging


text:
downfalling, chookie

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,d]

/trunk merge


text:
aposaturnium, enharden

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,e]

/trunk merge


text:
clavers, gingersnap

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,g]

/trunk merge


text:
euonymous, fordid

This pull request was generated by the 'mq' tool

/trunk merge


text:
globularity

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[g]

/trunk merge


text:
bookstall, cochylis

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,c]

/trunk merge


text:
freewheel, blossombill

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,f]

/trunk merge


text:
gershonite

This pull request was generated by the 'mq' tool

/trunk merge


text:
faction, coco

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,f]

/trunk merge


text:
fewnes, arachnoidal

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,f]

/trunk merge


text:
agrypnia, dunted

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
chimbs, glutethimide

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,g]

/trunk merge


text:
ceres, amazement

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,c]

/trunk merge


text:
calvus, escheat

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,e]

/trunk merge


text:
clinkers, aggravatingly

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,c]

/trunk merge

repo: trunk-io/mergequeue


text:
gingerwork, conches

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
coapt, bivinyl

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,c]

/trunk merge


text:
byssiferous, deuteropathy

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,d]

/trunk merge


text:
disincorporated

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d]

/trunk merge


text:
aggraded, fernier

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,f]

/trunk merge


text:
generosities, derogations

This pull request was generated by the 'mq' tool

/trunk merge


text:
deepness, edgestone

This pull request was generated by the 'mq' tool

/trunk merge


text:
dyakisdodecahedron, blunts

This pull request was generated by the 'mq' tool

/trunk merge


text:
cultirostral, giron

This pull request was generated by the 'mq' tool

/trunk merge


text:
detentive, bibbling

This pull request was generated by the 'mq' tool

/trunk merge


text:
arylation, barrelling

This pull request was generated by the 'mq' tool

/trunk merge


text:
glyptographic, apocryphalist

This pull request was generated by the 'mq' tool

/trunk merge


text:
deicides, analecta

This pull request was generated by the 'mq' tool

/trunk merge


text:
glycuronide, briner

This pull request was generated by the 'mq' tool

/trunk merge


text:
gowaned, feetless

This pull request was generated by the 'mq' tool

/trunk merge


text:
brierberry, fantasize

This pull request was generated by the 'mq' tool

/trunk merge


text:
fermentor, bungle

This pull request was generated by the 'mq' tool

/trunk merge


text:
gashed, exurbanite

This pull request was generated by the 'mq' tool

/trunk merge


text:
furnacite, chromoplasm

This pull request was generated by the 'mq' tool

/trunk merge


text:
couac, diapausing

This pull request was generated by the 'mq' tool

/trunk merge


text:
guesthouses, carbocer

This pull request was generated by the 'mq' tool

/trunk merge


text:
apophthegmatist, fucate

This pull request was generated by the 'mq' tool

/trunk merge


text:
chartographer, dimensionality

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
annex

This PR was generated by the trunk-pr-generator tool.

/trunk merge


text:
flawlessly, cruor

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
estrogenically, foolhardily

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[e,f]

/trunk merge


text:
forebrain, brunellia

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,f]

/trunk merge


text:
choriocapillaris, foederatus

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
dopamines, baxterian

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,d]

/trunk merge


text:
boweryish, fenestellidae

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,f]

/trunk merge


text:
altaid, grumly

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,g]

/trunk merge


text:
ethynyl, feldspathoidal

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[e,f]

/trunk merge


text:
grieced, erinose

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[e,g]

/trunk merge


text:
dustfall, certiorating

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
erotopathic, chubbiness

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,e]

/trunk merge


text:
canaliculation, grocers

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
entertains, formidolous

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[e,f]

/trunk merge


text:
cell, bobs

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,c]

/trunk merge


text:
dramatis, executively

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d,e]

/trunk merge


text:
cotyledonoid, endemical

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,e]

/trunk merge


text:
More advanced control for encoders, parsers and url builders

:information_source: Allow more advanced control for tweaking parsers, decoders and url builders. This is particularly useful for applications integrating with systems which are either not strictly following the OAuth2.0 specifications, or, systems who introduce custom fields of some importance for the underlying application. (see #29, #23, #21)
OAuth - MINOR

Added:
type GrantType
    = AuthorizationCode
    | Password
    | ClientCredentials
    | RefreshToken
    | CustomGrant String

grantTypeToString : GrantType -> String

type ResponseType
    = Code
    | Token
    | CustomResponse String

responseTypeToString : ResponseType -> String

OAuth.Implicit - MAJOR

Added:
makeAuthorizationUrlWith :
    ResponseType
    -> Dict String String
    -> Authorization
    -> Url

Changed:
-- type alias Parsers =
--     { tokenParser :
--           Query.Parser (Maybe Token)
--     , errorParser :
--           Query.Parser (Maybe ErrorCode)
--     , authorizationSuccessParser :
--           String -> Query.Parser AuthorizationSuccess
--     , authorizationErrorParser :
--           ErrorCode -> Query.Parser AuthorizationError
--     }

type alias Parsers error success =
    { tokenParser :
          Query.Parser (Maybe Token)
    , errorParser :
          Query.Parser (Maybe ErrorCode)
    , authorizationSuccessParser :
          String -> Query.Parser success
    , authorizationErrorParser :
          ErrorCode -> Query.Parser error
    }

-- defaultParsers : Parsers
defaultParsers : Parsers AuthorizationError AuthorizationSuccess

-- parseTokenWith : Parsers -> Url -> AuthorizationResult
parseTokenWith : Parsers error success -> Url -> AuthorizationResultWith error success

OAuth.AuthorizationCode - MAJOR

Added:
makeAuthorizationUrlWith :
    ResponseType
    -> Dict String String
    -> Authorization
    -> Url

makeTokenRequestWith :
    OAuth.GrantType
    -> Json.Decoder success
    -> Dict String String
    -> (Result Http.Error success -> msg)
    -> Authentication
    -> RequestParts msg

Changed:
-- type AuthorizationResult
--     = Empty
--     | Error AuthorizationError
--     | Success AuthorizationSuccess

type alias AuthorizationResult =
    AuthorizationResultWith AuthorizationError AuthorizationSuccess

type AuthorizationResultWith error success
    = Empty
    | Error error
    | Success success

-- type alias Parsers =
--     { codeParser :
--           Query.Parser (Maybe String)
--     , errorParser :
--           Query.Parser (Maybe ErrorCode)
--     , authorizationSuccessParser :
--           String -> Query.Parser AuthorizationSuccess
--     , authorizationErrorParser :
--           ErrorCode -> Query.Parser AuthorizationError
--     }

type alias Parsers error success =
    { codeParser :
          Query.Parser (Maybe String)
    , errorParser :
          Query.Parser (Maybe ErrorCode)
    , authorizationSuccessParser :
          String -> Query.Parser success
    , authorizationErrorParser :
          ErrorCode -> Query.Parser error
    }

-- defaultParsers : Parsers
defaultParsers : Parsers AuthorizationError AuthorizationSuccess

-- parseCodeWith : Parsers -> Url -> AuthorizationResult
parseCodeWith : Parsers error success -> Url -> AuthorizationResultWith error success

OAuth.AuthorizationCode.PKCE - MAJOR

Added:
makeAuthorizationUrlWith :
    ResponseType
    -> Dict String String
    -> Authorization
    -> Url

makeTokenRequestWith :
    OAuth.GrantType
    -> Json.Decoder success
    -> Dict String String
    -> (Result Http.Error success -> msg)
    -> Authentication
    -> RequestParts msg

Changed:
-- type AuthorizationResult
--     = Empty
--     | Error AuthorizationError
--     | Success AuthorizationSuccess

type alias AuthorizationResult =
    AuthorizationResultWith AuthorizationError AuthorizationSuccess

type AuthorizationResultWith error success
    = Empty
    | Error error
    | Success success

-- type alias Parsers =
--     { codeParser :
--           Query.Parser (Maybe String)
--     , errorParser :
--           Query.Parser (Maybe ErrorCode)
--     , authorizationSuccessParser :
--           String -> Query.Parser AuthorizationSuccess
--     , authorizationErrorParser :
--           ErrorCode -> Query.Parser AuthorizationError
--     }

type alias Parsers error success =
    { codeParser :
          Query.Parser (Maybe String)
    , errorParser :
          Query.Parser (Maybe ErrorCode)
    , authorizationSuccessParser :
          String -> Query.Parser success
    , authorizationErrorParser :
          ErrorCode -> Query.Parser error
    }

-- defaultParsers : Parsers
defaultParsers : Parsers AuthorizationError AuthorizationSuccess

-- parseCodeWith : Parsers -> Url -> AuthorizationResult
parseCodeWith : Parsers error success -> Url -> AuthorizationResultWith error success

OAuth.ClientCredentials - MINOR

Added:
makeTokenRequestWith :
    GrantType
    -> Json.Decoder success
    -> Dict String String
    -> (Result Http.Error success -> msg)
    -> Authentication
    -> RequestParts msg

OAuth.Password - MINOR

Added:
makeTokenRequestWith :
    GrantType
    -> Json.Decoder success
    -> Dict String String
    -> (Result Http.Error success -> msg)
    -> Authentication
    -> RequestParts msg

OAuth.Refresh - MINOR

Added:
makeTokenRequestWith :
    GrantType
    -> Json.Decoder success
    -> Dict String String
    -> (Result Http.Error success -> msg)
    -> Authentication
    -> RequestParts msg

Just what I needed, it was easy to migrate to the new version. Thanks!

authors: KtorZ adrianbunea


text:
Refactor sign-in flow file

Make it dynamic

This is not applicable as tests have been moved to waci test spec in https://github.com/trustbloc/sandbox/pull/1360

repo: trustbloc/sandbox


text:
Update scroll chainId

The Scroll mainnet chainId is 534352 now.

Hi @zzq0826, is there a chance you can broadcast a Scroll mainnet transaction by using WalletCore? Otherwise, you can just change this expected transaction hex to f86c01830f424083030d4094a6bc5ee0b1e904dd0773c5555d2f6833fe937a6886b5e620f480008083104ec3a0c43ee3d34f7758e05e2f54df227eb7780ad97d06e91e03ef6a3c91d4bea6e42fa07d075f20776f7f485faca6f057110fd2745a5cdd6cf121682ef7791619a03ade

Hi @zzq0826, is there a chance you can broadcast a Scroll mainnet transaction by using WalletCore? Otherwise, you can just change this expected transaction hex to f86c01830f424083030d4094a6bc5ee0b1e904dd0773c5555d2f6833fe937a6886b5e620f480008083104ec3a0c43ee3d34f7758e05e2f54df227eb7780ad97d06e91e03ef6a3c91d4bea6e42fa07d075f20776f7f485faca6f057110fd2745a5cdd6cf121682ef7791619a03ade

Thanks! @satoshiotomakan i will do that.
And we have many users who use TrustWallet, and during usage, they have reported issues connecting TrustWallet to the Scroll network. Upon my investigation, it seems that Scroll is not among the supported EVM networks.
After this pr. I wonder if it's possible to have our network appear on the EVM list. If there are any other necessary steps, please let me know.

@zzq0826 thanks for the note. I'll initiate the process of adding Scroll mainnet to the app.

repo: trustwallet/wallet-core


text:
fix: Fix typo in operator's arguments

Operator's arguments changed from --eanble-services to --enable-services
trustyai.opendatahub.io_lmevaljobs.yaml and zz_generated.deepcopy.go regenerated.

thanks for the fix and regen
/LGTM

authors: ruivieira yhwang


text:
Made a bit more friendly for python 3

I made a few changes to support python 3 better, mostly regarding strings as they often need decoding from bytes to utf-8. Judging from the tests the changes don't seem to break backwards compatibility for Python 2.7

A warning: I've only made changes as I needed them, so this PR is not intended to make the full library python3-compliant, but it certainly takes some steps towards that goal.

Nice, thank you!

authors: raffazizzi tkuhn

repo: trustyuri/trustyuri-python


text:
"HttpsErrorImpl: [syncContractArtifact] Missing parameter." Error while deploying contracts.

Hello, I've been trying to deploy my contracts on a mainnet fork with hardhat. In order to debug things, i'd love to use Ethernal with hardhat, but I keed getting this error.
arthur@arthur-TUF-ubuntu:~/Bureau/hardhat$ npx hardhat run scripts/deploy.js  [Ethernal]  Logged in with <EMAIL>@gmail.com [Ethernal]  Using default workspace "Mainnet Fork" HttpsErrorImpl: [syncContractArtifact] Missing parameter.     at new HttpsErrorImpl (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/src/api/error.ts:66:5)     at _errorForResponse (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/src/api/error.ts:175:10)     at Service.<anonymous> (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/src/api/service.ts:296:19)     at step (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/node_modules/tslib/tslib.js:143:27)     at Object.next (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/node_modules/tslib/tslib.js:124:57)     at fulfilled (/home/arthur/Bureau/hardhat/node_modules/@firebase/functions/node_modules/tslib/tslib.js:114:62)     at processTicksAndRejections (node:internal/process/task_queues:96:5) {   code: 'unknown',   details: undefined }
I did everything exactly as said in the documentation. Feel free to ask if you need more informations.

Hi, can you show me that code that pushes to Ethernal, please?
Also, is the name parameter that you pass to the push function exactly the same than the contract name?

Hi, I'm having this issue as well trying to deploy an ERC-721 contract, it deploys fine using Hardhat but if I try to push the artifact with ethernal it outputs the following:
`
[Ethernal]  Logged in with mateocarriqui7@gmail.com
[Ethernal]  Using default workspace "aquarium-wars"
An unexpected error occurred:
HttpsErrorImpl: [syncContractArtifact] Missing parameter.
at new HttpsErrorImpl (/home/system32uwu/repos/aquarium-wars/node_modules/@firebase/functions/src/api/error.ts:66:5)
at _errorForResponse (/home/system32uwu/repos/aquarium-wars/node_modules/@firebase/functions/src/api/error.ts:175:10)
at Service. (/home/system32uwu/repos/aquarium-wars/node_modules/@firebase/functions/src/api/service.ts:296:19)
at step (/home/system32uwu/repos/aquarium-wars/node_modules/tslib/tslib.js:143:27)
at Object.next (/home/system32uwu/repos/aquarium-wars/node_modules/tslib/tslib.js:124:57)
at fulfilled (/home/system32uwu/repos/aquarium-wars/node_modules/tslib/tslib.js:114:62)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'invalid-argument',
details: undefined
}
error Command failed with exit code 1.
`
Code:
task('deploy-nft', 'Deploys a new NFT collection')
  .addPositionalParam(
    'baseUri',
    'Base URI',
    undefined,
    types.string,
    false
  )
  .addPositionalParam(
    'name',
    'Name of the collection',
    undefined,
    types.string,
    false
  )
  .addPositionalParam(
    'symbol',
    'Symbol of the collection',
    undefined,
    types.string,
    false
  )
  .addPositionalParam('price', 'Mint Price', undefined, types.int, false)
  .addPositionalParam(
    'maxmint',
    'Max amount allowed to be minted at once',
    undefined,
    types.int,
    false
  )
  .addPositionalParam(
    'reserved',
    'Amount reserved for events and giveaways',
    undefined,
    types.int,
    false
  )
  .addPositionalParam(
    'supply',
    'Maximum supply',
    undefined,
    types.int,
    false
  )
  .setAction(
    async (
      { baseUri, name, symbol, price, maxmint, reserved, supply },
      hre
    ) => {
      const AQLF = await hre.ethers.getContractFactory('AquariumLifeForm')
      const aqlf = await AQLF.deploy(
        baseUri,
        name,
        symbol,
        price,
        maxmint,
        reserved,
        supply
      )

      await aqlf.deployed()

      // await hre.ethernal.push({
      //   name: name,
      //   address: aqlf.address,
      // })

      console.log(`${await aqlf.symbol()} deployed to:`, aqlf.address)
    }
  )

Hey, can you double check and make sure that name & aqlf.address are defined, please?

Ok, thanks, can you delete the artifacts folder and try to recompile, deploy and push again, please?

I did a couple times but no luck, I even tried a new project, but it seems that it builds to fail tokens that are not ERC-20 ones, does it work for you?

Hey, sorry for the late reply, I was away last week. Yes it works for me for all kind of tokens.
Any way you could share the new project that you setup and doesn't work? So I can reproduce.

Hi! I deleted npm and yarn cache, deleted yarn.lock, reinstalled ethernal globally, reinstalled dependencies and it magically worked now ¯_(ツ)_/¯.

To file under "Javascript mysteries" I guess 🤣
Glad it works anyway!

@antoinedc I've tried deleting npm cache, artifacts, package-lock, reinstalled all the node_modules but I've got the same error as @system32uwu. I've also checked that the name and the address have values (not undefined) and that the name is the same as defined in the contract. What can I do to make it works without this exception?:
HttpsErrorImpl: [syncContractArtifact] Missing parameter.
at new HttpsErrorImpl (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/src/api/error.ts:66:5)
at _errorForResponse (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/src/api/error.ts:175:10)
at Service. (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/src/api/service.ts:296:19)
at step (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/node_modules/tslib/tslib.js:143:27)
at Object.next (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/node_modules/tslib/tslib.js:124:57)
at fulfilled (/home/joscy/Scrivania/Projects/hardhat-examples/hardhat-sample/node_modules/@firebase/functions/node_modules/tslib/tslib.js:114:62)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'invalid-argument',
details: undefined
}

UPDATE: I've found the problem. Make sure that the name passed to ethernal push: (contract: ContractInput) match exaclty the contract's name and not any other formatted name string stored as info into the contract as variable (for example I used to pass the name "My Perfect Token" that was different from the class contract name definition).

Ah yes, always forget about this one :) there is a line about it in the doc & in the repo, but i'll try to make it more prominent/clearer. I know it's not very convenient but I haven't found more automatic way to detect artifacts & deployment addresses with Hardhat.

authors: Jhoscy antoinedc artbm system32uwu

repo: tryethernal/hardhat-ethernal


text:
Enhance cli experiment

as-is

install package

npm i ts-animal

execute package

npx ts-animal tiger

to-be

execute package

npx ts-animal tiger

resolved #13

repo: ts-animal/ts-animal


text:
how to use result of lassosum to plink

Hi,
When I run the example of lassosum, it is difficult for me to get the same result from lassosum and plink. lassosum code is:
library(lassosum)
setwd(system.file("data", package="lassosum"))
ss <- fread("summarystats.txt")
ref.bfile <- "refpanel"
test.bfile <- "testsample"
LDblocks <- "EUR.hg19"
cor <- p2cor(p = ss$P_val, n = 60000, sign=log(ss$OR_A1))
out <- lassosum.pipeline(cor=cor, chr=ss$Chr, pos=ss$Position,
                         A1=ss$A1, A2=ss$A2, # A2 is not required but advised
                         ref.bfile=ref.bfile, test.bfile=test.bfile,
                         LDblocks = LDblocks)
set.seed(20190822)
pheno <- rnorm(nrow.bfile(out$test.bfile))
v <- validate(out, pheno=pheno)
beta <- v$best.beta
idx_eff <- which(beta != 0) ##lasso zero
idx <- out$sumstats$order[idx_eff]
beta_dat <- data.frame(ss[idx, 1], ss[idx, 3], ss[idx, 4], beta[idx_eff])
test_bim <- data.frame(fread("testsample.bim"))
test_snp <- test_bim[match(beta_dat[, 2], test_bim[, 4]), 2]
beta_dat2 <- data.frame(test_snp, beta_dat[, 3], beta_dat[, 4])
write.table(beta_dat2, file = "eff.txt", col.names = F, row.names = F, quote = F)

plink code is:
cd your/lassosum/datapath/
plink-1.9 --bfile testsample --score eff.txt 1 2 3 sum --out pheno_testsample

Result of lassosum:
head(v$beta.pgs)
-0.418 0.46 -0.451 0.165 0.102

Result of plink:
 FID       IID  PHENO    CNT   CNT2 SCORESUM
   0   HG00096     -9   1634    730 -0.307637
   0   HG00097     -9   1634    748 -0.102278
   0   HG00099     -9   1634    761 -0.202595
   0   HG00100     -9   1634    744 -0.0630223
   0   HG00101     -9   1634    734 -0.221991
   0   HG00102     -9   1634    740 -0.139318
   0   HG00103     -9   1634    716 -0.286505
   0   HG00105     -9   1634    722 -0.221223
   0   HG00106     -9   1634    746 -0.237664

Could you tell me the mistake? Thanks!
Best,
Sheng

Following on this thread. If developers can support output the adjusted beta, that would be the best. We can score by plink for support new file format or even dosage format.
Best regards
Wallace

lassosum and plink are not doing the same thing so I don't understand why you would expect the same result from lassosum and plink.

What do you mean by adjusted beta? From your code, you have generated beta by beta <- v$best.beta. That is correct. Furthermore, out$keep.test will give you a logical vector to indicate which SNPs in the test .bed file map to the betas.

lassosum and plink are not doing the same thing so I don't understand why you would expect the same result from lassosum and plink.

We don't expect the plink and lassosum do the same thing. We just want to use plink's scoring function to use lassosum's adjusted betas. Only the last step.
Thanks much for the prompt reply.
Best regards
Wallace

Can you explain what you mean by "adjusted beta" and how it is supposed to differ from "beta"?

Will the lassosum take in the GWAS summary (univariate beta) and LD structure between snps to update the univariate beta to a new beta (adjusted beta) to control LD between SNPs. And then time the new beta (adjusted beta) with effective allele dosage (0/1/2) to have the PRS? Apologize if my understanding is wrong.
Then our purpose is to use the new beta (adjusted beta) to calculate individual PRS by plink other than by lassosum, picking up the best parameter combination by lassosum is OK.
Best regards
Wallace

If X denote the test genotype matrix, then v$best.pgs = X %*% v$best.beta, which is the "adjusted beta" you described. It could be different from what you get from plink because, (1) plink scales the PGS after X %*% v$best.beta (according the number of SNPs used), (2) the handling of missing genotype in plink maybe different. Try specifying --fill-missing-a2 in plink, and it should have a correlation of nearly 1 with v$best.pgs.

What I understand from the question:

v$beta.pgs is already the "adjusted betas" (meaning directly usable on 0/1/2 genotypes?)
use these effects to compute individual scores with PLINK
individual scores computed with PLINK are not the same as v$best.pgs (correlation of 0.573)

@privefl, I observed the same thing a while ago as you did.
Best regards
Wallace

Hi,
Following on the same thread, would it be possible to export the "v$best.beta" along with their corresponding SNP ids from the "testsample.bim" or the "summarystats.txt" files in the form of a data frame? or does the code from @biostat0903 solve this issue?
@wavefancy @biostat0903 Did you manage to use the code that was posted at the beginning of this thread to export the betas and use plink for the downstream analysis?
Best,
Dheeraj.

Hi,
When I use the v0.4.4, the bug is fixed. Both mse and r2 looks good. Thanks!
Best,
Sheng

@dheerajbobbili1988 ,
Yes. If out is the output from the lassosum.pipeline() function, then the out$sumstats object is a data.frame which gives the details of the SNPs used in v$best.beta. You can simply concatenate the two, e.g. with, sumstats <- cbind(out$sumstats, v$best.beta).

Incidentally, if you know the A1,A2 of the bfile is the same as that in test.bfile, you can use pgs(test.bfile, v$best.beta) to generate the PGS also. The pgs function also supports parallel processing using the cluster option.

Yes, it seemed to work. Thanks a lot!!

I'm trying to export the the final pgs using the option: pgs(out$test.bfile, target.res$best.beta)
However, I'm getting the following error. How to resolve this? TIA
Error in .pgs.default(weights = weights, bfile = bfile, ...) :
Number of rows in (or vector length of) weights does not match number of selected columns in bfile

authors: Mahantesh-Biradar biostat0903 dheerajbobbili1988 privefl tshmak wavefancy

repo: tshmak/lassosum


text:
Error when running the observables example

I am trying to run the observables example as-is, via an HTTP.jl server. But when I run the example, SVG is the only thing that is visible. None of the inputs are available.

Is there something else I need to do in order to run this>?

That is odd, @Dale-Black. The easy part fails (the widgets), but the hard part (the WebAssembly) works. The page text is missing, too. I haven't seen that on Chrome or Firefox.
Do you have any plugins that might do something odd?
Maybe try using incognito mode (in case it's a plugin), or try using a different browser.

It seems I might just be misunderstanding the pipeline actually. When looking at the observables folder (https://github.com/tshort/WebAssemblyCompiler.jl/tree/main/examples/observables), what exact steps do you take to launch the app?
I think I am missing something going on

authors: Dale-Black tshort


text:
Error browsing back to mutations pane

Worked fine first time, second time I went back to a stack trace
2024-09-30 10:34:46,883 ERROR: panel.reactive - Callback failed for object named "Select Page" changing property {'value': 'Mutations'}
Traceback (most recent call last):
  File "/home/jk/.local/lib/python3.10/site-packages/panel/reactive.py", line 384, in _process_events

snip

    plot = self._render(doc, comm, root)
  File "/home/jk/.local/lib/python3.10/site-packages/panel/pane/holoviews.py", line 506, in _render
    return renderer.get_plot(self.object, **kwargs)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/bokeh/renderer.py", line 70, in get_plot
    plot = super().get_plot(obj, doc, renderer, **kwargs)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/renderer.py", line 236, in get_plot
    plot = self_or_cls.plotting_class(obj)(obj, renderer=renderer,
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/bokeh/plot.py", line 690, in __init__
    self.layout, self.subplots, self.paths = self._init_layout(layout)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/bokeh/plot.py", line 702, in _init_layout
    frame_ranges = OrderedDict([(key, self.compute_ranges(layout, key, frame_ranges))
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/bokeh/plot.py", line 702, in <listcomp>
    frame_ranges = OrderedDict([(key, self.compute_ranges(layout, key, frame_ranges))
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/plot.py", line 595, in compute_ranges
    self._compute_group_range(group, elements, ranges, framewise,
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/plotting/plot.py", line 705, in _compute_group_range
    data_range = el.range(el_dim, dimension_range=False)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/core/data/__init__.py", line 199, in pipelined_fn
    result = method_fn(*args, **kwargs)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/core/data/__init__.py", line 508, in range
    lower, upper = self.interface.range(self, dim)
  File "/home/jk/.local/lib/python3.10/site-packages/holoviews/core/data/pandas.py", line 182, in range
    column = column.sort_values()
  File "/home/jk/.local/lib/python3.10/site-packages/pandas/core/series.py", line 3634, in sort_values
    sorted_index = nargsort(values_to_sort, kind, bool(ascending), na_position)
  File "/home/jk/.local/lib/python3.10/site-packages/pandas/core/sorting.py", line 429, in nargsort
    indexer = non_nan_idx[non_nans.argsort(kind=kind)]
TypeError: '>' not supported between instances of 'numpy.ndarray' and 'str'

I've been unable to recreate this one.

Re-open if you hit this. I've not been able to recreate.

authors: benjeffery jeromekelleher

repo: tskit-dev/tsbrowse


text:
Player climbs over huge steps if they consist of stack of smaller steps

platforms.txt

By design

repo: tsoding/nothing


text:
some optimizations

removed markout_sobel_patches, faster on my computer

50% is in grad_to_dp, 50% in memmove

Wanted to try fixed-point type and hit bug in clang. Wild!

./run.sh
[INFO] directory `./build/` already exists
[INFO] ./build/stb_image.o is up to date
[INFO] ./build/stb_image_write.o is up to date
[INFO] CMD: cc -Wall -Wextra -ggdb -O3 -o ./build/main main.c ./build/stb_image.o ./build/stb_image_write.o -lm
[INFO] CMD: ./build/main ./images/Broadway_tower_edit.jpg ./images/Broadway_tower_squashed.jpg
OK: generated ./images/Broadway_tower_squashed.jpg
[INFO] Resizing took 3.995774secs

[INFO] directory `./build/` already exists
[INFO] ./build/stb_image.o is up to date
[INFO] ./build/stb_image_write.o is up to date
[INFO] CMD: cc -Wall -Wextra -ggdb -O3 -fopenmp-simd -fopenmp -o ./build/main main.c ./build/stb_image.o ./build/stb_image_write.o -lm
[INFO] CMD: ./build/main ./images/Broadway_tower_edit.jpg ./images/Broadway_tower_squashed.jpg
OK: generated ./images/Broadway_tower_squashed.jpg
[INFO] Resizing took 0.673004secs

Alex image is different

83.25% faster but produces slightly different image.
Does not produce any visible artifacts)

img

Ye. It is also non-deterministic. You can fix this by commenting out second '#pragma omp parallel for' (the one before dp recomputation loop).

It is deterministic, but images, are not the same. Interesting. Investigating.

authors: alex-knyaz sirynka

repo: tsoding/seam-carving


text:
Cannot reset passwords

Currently there is no way for a user to change the password from the initial password they registered with.
Users should be allowed to change passwords preferably using email and a temporary password reset token/URL.
A forgot password function should added to the login form
Security for this feature is critical as these types of forms can be abused.

Users can now reset their password, in case they forgot it, with a link on the login page which sends them an email.
Logged in users may change their password from the manage screen.


text:
Add 3d object or dynamic items to make Site look full

Add Some more Components

This issue will not update right now, I update it, next version

repo: tthugy/resume


text:
Bugfix/petugas edit

ada sedikit perubahan mas karena mungkin ada typo disini

tapi sudah saya benerin disini mas

noted.
thanks, nanti saya koreksi + deploy
On Tue, Jun 20, 2023, 14:49 Muhammad Hafiz Al Fikri <
@.***> wrote:

@MHafizAF https://github.com/MHafizAF requested your review on: #28
https://github.com/tuanpembual/pengaduan-masyarakat/pull/28
Bugfix/petugas edit.
—
Reply to this email directly, view it on GitHub
https://github.com/tuanpembual/pengaduan-masyarakat/pull/28#event-9576216107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHBICYMCRWSXCNPG4CBONTXMFIWZANCNFSM6AAAAAAZM3ZK6M
.
You are receiving this because your review was requested.Message ID:
@.***
com>

sudah saya deploy @MHafizAF

authors: MHafizAF tuanpembual

repo: tuanpembual/pengaduan-masyarakat


text:
eachBatch  method running batches at the same time.

Describe the bug
I have been using eachBatch method to consume messages from multiple partitions. The issue is each batch gets called too quick for different partitions. For eg: partition 0 contains 5 messages and are passed in a batch , I see another batch with partition 1 containing messages getting logged at the same time. It doesn't wait even a second.
Expected behavior
I want each Batch of messages to run synchronously. Batch of messages with different partitions should not be executed at the same time. Is there any property that I can use to make sure it works the way I want.
Observed behavior
eachBatch method is currently running in concurrency.
Environment:

KafkaJS version [^1.15.0]
NodeJS version [^ 16.13.0]

Additional context
Code that I'm using to run the each batch method:
           return this.consumer.run({
                eachBatchAutoResolve: true,
                eachBatch: async ({ batch, heartbeat, isRunning, isStale }) => {
                    if (!isRunning() || isStale()) return;
                    await heartbeat();
                    await callback(logger, batch.messages);
                    await heartbeat();
                },
            });

Same issue here I believe. We read more than 100 x the bytes we write into the topics. I had to manually turn it off by setting eachBatchAutoResolve: false since it's set by default to true. We are committing manually instead now.
KafkaJS: 2.2.3

Doing it manually actually doesn't fix this either it seems.

I believe this is a proper behavior. Different partitions should be able to be processed in parallel. Put the messages in the same partition if order guarantee is required.
If the callback function can take some amount of time, I would move the await heartbeat(); and if (!isRunning() || isStale()) return; into the processing of each message.

Doesn't partitionsConsumedConcurrently control this? From https://github.com/tulios/kafkajs/issues/1433,

partitionsConsumedConcurrently controls how many batches are processed concurrently, regardless of which topic(s) the partitions belong to. In other words, if you have partitionsConsumedConcurrently: 1, it doesn't matter if you're assigned 3 partitions from 1 topic or from 3 different topics, you'll still be processing one partition at any given time.

authors: ErlendFax Tayyab28 bjornmolin gabegorelick

repo: tulios/kafkajs


text:
handled UncaughtException with Consumer Runner using this.onCrash in catch #1390

by adding this catch error on this.consumerGroup.joinAndSync() in consumer/runner.js
https://github.com/tulios/kafkajs/blob/ff3b1117f316d527ae170b550bc0f772614338e9/src/consumer/runner.js#L127C49-L127C49
the following error get caught
2022-06-10T18:38:26.771Z error: uncaughtException: The coordinator is loading and hence can't process requests for this group
KafkaJSProtocolError: The coordinator is loading and hence can't process requests for this group     at createErrorFromCode (/test/node_modules/kafkajs/src/protocol/error.js:581:10)     at Object.parse (/test/node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js:35:11)     at Connection.send (/test/node_modules/kafkajs/src/network/connection.js:433:35)     at runMicrotasks (<anonymous>)     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at async Broker.[private:Broker:sendRequest] (/test/node_modules/kafkajs/src/broker/index.js:875:14)     at async Broker.joinGroup (/test/node_modules/kafkajs/src/broker/index.js:395:14)     at async ConsumerGroup.[private:ConsumerGroup:join] (/test/node_modules/kafkajs/src/consumer/consumerGroup.js:169:23)     at async /test/node_modules/kafkajs/src/consumer/consumerGroup.js:335:9     at async Runner.scheduleFetchManager (/test/node_modules/kafkajs/src/consumer/runner.js:112:11)
since this code number 14 is retriable as show in below object in error.js
{
  type: 'GROUP_LOAD_IN_PROGRESS',
  code: 14,
  retriable: true,
  message: "The coordinator is loading and hence can't process requests for this group",
}

the onCrash fucntion in consumer/index.js will try to restart and it is getting handled further instead of throwing uncaught error
this will solve #1394
kindly let me know your thoughts/suggestions

Hello @Nevon you have added the bug label on Jun 27, 2022 on issue #1390, kinldy review wather that will be resolved in this PR


text:
RuntimeError: CUDA error: peer access is not supported between these two devices

I tried running the example from the readme but received the above error. Does that mean that my hardware is not supported?
Environment

OS : Ubuntu
Python version : 3.7.11
Transformers version : 4.23.1
Whether to use Docker: no
GPUs: NVIDIA GeForce RTX 2080 Ti

@Dorcoh4 hello. I am not involved with this project, however the error you see indicates that (iirc) the PCI bus has been blocked from using root PCI bridges. This is common in virtualized cloud providers.
Where are you running the workload? I may have workarounds, depending on provider!

repo: tunib-ai/parallelformers


text:
[Cleanup] Use Akka ByteString or ByteVector as opposed to ByteBuffer/Array[Byte]

Right now, ByteBuffers are used everywhere in the ColumnStore API.   ByteBuffers are pretty horrible to work with as they are mutable, and all it takes is one accidental call to mess up the very important data pipeline flow of columnar chunks.
Ideally we want something which is 1) immutable,  and 2) can hashCode correctly and be used as keys in HashMaps, yet still allows 3) random access.
Array[Byte] is mutable, slightly better than ByteBuffer, but does not hashCode.
Instead, let's look into these alternatives:

https://github.com/scodec/scodec-bits - has a ByteVector type
Akka's ByteString - https://github.com/akka/akka/blob/v2.3.5/akka-actor/src/main/scala/akka/util/ByteString.scala - just copy this file so that the core module doesn't need to link in Akka

Closing, SegmentIds have been ported to use ByteVector.

repo: tuplejump/FiloDB


text:
expose xformers?

Tested out your xformers attention implementation. On 2080ti 22g, I am fitting 1000+ more tokens on nous-capybara. It supports P100 when compiled and would probably help those with non FA cards vs having nothing. Haven't tried SDP yet but I'm guessing it did worse? I only did Q8 cache, maybe more will fit with Q4.
edit:
I was able to test both SDP and xformers but wasn't paying attention to the outputs, just OOM. For some reason I can't get the model coherent. It's probably due to having to reshape the tensors. Xformers was faster.

Are you referencing this block here?
https://github.com/turboderp/exllamav2/blob/0fbd108e519047f33a91a7daddb46dee6be5e2c9/exllamav2/attn.py#L480

Yea. I transposed K+V to get it to inference but no go. Just get gibberish. Same for SDP. Must be missing something. xformers seemed like the inference got faster too. SDP it was the same. These functions expect q/k/v to all be the same size, for flash attention it takes care of that.

Any thoughts on flash infer?
https://github.com/flashinfer-ai/flashinfer
Looks like it has the same expectation, just looking at the example.

Doesn't it have it's own kernels? I dunno if it can be shoehorned in but I didn't look too hard. Benefit of xformers is working on non-ampere cards.

xformers support has been added. For what it's worth. (:

The latest git xformers changed where you import the mask from so that will be coming up.
It's xformers.ops.fmha.attn_bias. Found out when I rebuilt it for torch 2.3.1

authors: Ph0rk0z brucethemoose turboderp


text:
ECR returns HTTP/400 errors when using aggregators

Describe the bug
Pretty similar to https://github.com/turbot/steampipe-plugin-aws/issues/1373.
Trying to join aws_ecr_image onto aws_ecr_image_scan_finding like:
join aws_all.aws_ecr_image_scan_finding f on ( f.repository_name, f.image_tag) = ( i.repository_name, i.image_tag)

The problem is, to query aws_ecr_image_scan_finding  you need to pass repo name + image tag, and when this is done via a join, steampipe is checking each and every aggregated connection for the existence of the repository. When it can't be found, thousands of errors are dumped to the logs:
2023-10-13 06:22:46.624 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1697178165543: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 138c93fb-5726-42f1-8436-67c388ea4841, RepositoryNotFoundException: The repository with name 'XXX' does not exist in the registry with id 'XXXX'"

Steampipe version (steampipe -v)
Steampipe v0.21.1
Plugin version (steampipe plugin list)
+---------------------------------------------------+---------+-
| Installed                                         | Version |
+---------------------------------------------------+---------+-
| hub.steampipe.io/plugins/turbot/aws@latest        | 0.120.2 |
|                                                   |         |
| hub.steampipe.io/plugins/turbot/csv@latest        | 0.11.1  |
| hub.steampipe.io/plugins/turbot/jira@latest       | 0.12.1  |
| hub.steampipe.io/plugins/turbot/kubernetes@latest | 0.25.1  |
| hub.steampipe.io/plugins/turbot/steampipe@latest  | 0.9.1   |
+---------------------------------------------------+---------+-

To reproduce
Query:
(
    with latest_image_ts as (
      select
        repository_name,
        max(image_pushed_at) as image_pushed_at
      from
        aws_all.aws_ecr_image
      group by
        repository_name
    ),
    images_with_tags as (
      select
        _ctx,
        region,
        repository_name,
        image_pushed_at,
        jsonb_array_elements_text(image_tags) :: text as image_tag
      from
        aws_all.aws_ecr_image
    )
    select
      i._ctx ->> 'connection_name' as "AWS_ACCOUNT_NAME",
      i.region,
      i.repository_name,
      i.image_pushed_at,
      i.image_tag,
      f.name,
      f.uri,
      f.severity,
      f.description,
      (
        jsonb_path_query(f.attributes, '$[*] ? (@.Key == "package_name")') -> 'Value' #>>'{}')::text as package_name,
        (
          jsonb_path_query(
            f.attributes,
            '$[*] ? (@.Key == "package_version")'
          ) -> 'Value' #>>'{}')::text as package_version
          from
            images_with_tags i
            join latest_image_ts l on (l.repository_name, l.image_pushed_at) = (i.repository_name, i.image_pushed_at)
            join aws_all.aws_ecr_image_scan_finding f on ( f.repository_name, f.image_tag) = ( i.repository_name, i.image_tag)
          order by
            repository_name,
            image_tag,
            severity,
            name,
            package_name
        ) innerq;

Expected behavior
Only the account where the image exists is queried.

Hi @captainfalcon23, My apologies for the delayed response. I have executed the query as outlined in the issue description, ensuring the correct credential configuration, Steampipe CLI version, and plugin version. However, I encountered a syntax error initially. After rectifying the syntax error, I attempted the query multiple times using an aggregator connection, and in all instances, I received results.
Credential configuration file(~/.steampipe/config/aws.spc):
connection "aws" {
  plugin = "aws"
  regions = ["*"]
  profile = "aws_nagraj"
  ignore_error_codes = ["AccessDenied", "AccessDeniedException"]
}

connection "aws_aab" {
  plugin  = "aws"
  regions = ["*"]
  profile = "aws-aab"
  ignore_error_codes = ["AccessDenied", "AccessDeniedException"]
}

connection "aws_all" {
  plugin = "aws"
  type   = "aggregator"
  connections = ["aws", "aws_aab"]
}

Query:
with latest_image_ts as (
  select
    repository_name,
    max(image_pushed_at) as image_pushed_at
  from
    aws_all.aws_ecr_image
  group by
    repository_name
),
images_with_tags as (
  select
    _ctx,
    region,
    repository_name,
    image_pushed_at,
    jsonb_array_elements_text(image_tags)::text as image_tag
  from
    aws_all.aws_ecr_image
)
select
  i._ctx ->> 'connection_name' as "AWS_ACCOUNT_NAME",
  i.region,
  i.repository_name,
  i.image_pushed_at,
  i.image_tag,
  f.name,
  f.uri,
  f.severity,
  f.description,
  (
    jsonb_path_query(f.attributes, '$[*] ? (@.Key == "package_name")') -> 'Value' #>> '{}'
  )::text as package_name,
  (
    jsonb_path_query(
      f.attributes,
      '$[*] ? (@.Key == "package_version")'
    ) -> 'Value' #>> '{}'
  )::text as package_version
from
  images_with_tags i
  join latest_image_ts l on (l.repository_name, l.image_pushed_at) = (i.repository_name, i.image_pushed_at)
  join aws_all.aws_ecr_image_scan_finding f on (f.repository_name, f.image_tag) = (i.repository_name, i.image_tag)
order by
  i.repository_name,
  i.image_tag,
  f.severity,
  f.name,
  package_name;

Result:
+------------------+-----------+-----------------+---------------------------+-----------+---------------+--------------------------------------------------------------+----------+-------------+--------------+-----------------+
| AWS_ACCOUNT_NAME | region    | repository_name | image_pushed_at           | image_tag | name          | uri                                                          | severity | description | package_name | package_version |
+------------------+-----------+-----------------+---------------------------+-----------+---------------+--------------------------------------------------------------+----------+-------------+--------------+-----------------+
| aws_aab          | us-east-2 | test1           | 2023-11-20T13:43:47+05:30 | latest    | CVE-2023-5363 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5363 | HIGH     | <null>      | openssl      | 3.1.3-r0        |
| aws_aab          | us-east-2 | test1           | 2023-11-20T13:43:47+05:30 | latest    | CVE-2023-5678 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5678 | HIGH     | <null>      | openssl      | 3.1.3-r0        |
| aws_aab          | us-east-1 | tets            | 2023-11-20T12:50:13+05:30 | latest    | CVE-2023-5363 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5363 | HIGH     | <null>      | openssl      | 3.1.3-r0        |
| aws_aab          | us-east-1 | tets            | 2023-11-20T12:50:13+05:30 | latest    | CVE-2023-5678 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5678 | HIGH     | <null>      | openssl      | 3.1.3-r0        |
+------------------+-----------+-----------------+---------------------------+-----------+---------------+--------------------------------------------------------------+----------+-------------+--------------+-----------------+

I also tried the queries by splitting them up into multiple parts with an aggregator connection. Still, I have yet to receive any error.
I have a few follow-up questions. Please review the following:

First, try executing the same query using the latest version of the AWS plugin, v0.123.0, and check if the error persists.
If you still encounter issues, kindly provide us with the plugin log details. You can find these logs in ~/.steampipe/logs/plugin-*.log. Please share the log details for the specific query causing the error.
Please share the query you ran exactly with us after rectifying the syntax error. This will help us further investigate and help you.

Thank You!

Hi @ParthaI
I had a look at this and realised I actually shared the wrong query! My apologies there. The query with the issue is:
select
    distinct REPLACE(
        REPLACE(innerq."AWS_ACCOUNT_NAME", 'aws_', ''),
        '_',
        '-'
    ) as "AWS_ACCOUNT_NAME",
    innerq.region as "AWS_REGION",
    innerq.repository_name as "AWS_REPO",
    innerq.image_tag as "ECR_IMAGE_TAG",
    innerq.name as "COMMON_VULN_ID",
    innerq.uri as "VULN_INFO_URL",
    innerq.severity as "VULN_SEVERITY",
    innerq.package_version as "VULN_PACKAGE_VERSION",
    innerq.package_name as "VULN_PACKAGE_NAME"
from
    (
        with latest_image_ts as (
            select
                repository_name,
                max(image_pushed_at) as image_pushed_at
            from
                aws_all.aws_ecr_image
            group by
                repository_name
        ),
        images_with_tags as (
            select
                _ctx,
                region,
                repository_name,
                image_pushed_at,
                jsonb_array_elements_text(image_tags) :: text as image_tag
            from
                aws_all.aws_ecr_image
        )
        select
            i._ctx ->> 'connection_name' as "AWS_ACCOUNT_NAME",
            i.region,
            i.repository_name,
            i.image_pushed_at,
            i.image_tag,
            f.name,
            f.uri,
            f.severity,
            f.description,
            (
                jsonb_path_query(f.attributes, '$[*] ? (@.Key == "package_name")') -> 'Value' #>>'{}')::text as package_name,
                (
                    jsonb_path_query(
                        f.attributes,
                        '$[*] ? (@.Key == "package_version")'
                    ) -> 'Value' #>>'{}')::text as package_version
                    from
                        images_with_tags i
                        join latest_image_ts l on (l.repository_name, l.image_pushed_at) = (i.repository_name, i.image_pushed_at)
                        join aws_all.aws_ecr_image_scan_finding f on (f.repository_name, f.image_tag) = (l.repository_name, i.image_tag)
                    order by
                        repository_name,
                        image_tag,
                        severity,
                        name,
                        package_name
                ) innerq;

I have retried this today:
List of plugins:
+---------------------------------------------------+---------+
| Installed                                         | Version |
+---------------------------------------------------+---------+
| hub.steampipe.io/plugins/turbot/aws@latest        | 0.123.0 |
|                                                   |         |
| hub.steampipe.io/plugins/turbot/csv@latest        | 0.11.1  |
| hub.steampipe.io/plugins/turbot/jira@latest       | 0.13.0  |
| hub.steampipe.io/plugins/turbot/kubernetes@latest | 0.25.1  |
| hub.steampipe.io/plugins/turbot/steampipe@latest  | 0.9.1   |
+---------------------------------------------------+---------+

Steampipe ver:
Steampipe v0.21.1

In my plugin.log, logs are filled with errors like this:
2023-11-20 22:50:37.243 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 8819c533-c606-434f-ae72-1dfaf4dea2a2, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:37.245 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 66c6b81c-dd02-4aae-b7f5-2aee7eb6f495, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:37.245 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 73e2260f-e6da-4cc5-ae9c-80503619b68c, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:37.246 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 4da0204b-60c6-4f30-886f-acbf398b9974, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.150 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: c3170f8b-822b-4bb0-b2f0-f1e95c671252, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.174 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 1f212e9c-eb7d-4990-91f4-6de42dd77f99, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.180 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 0aaa08a6-3de3-42fe-bb80-08e3f5538766, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.181 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: ce9ed6ad-99d8-43e3-9e4c-8fe05730b275, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.183 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 5ac4b54d-1539-42ac-8925-c9996229cdc2, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.183 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 6f9a93e7-e0ac-4bc4-bf28-3ec38480eb5c, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.185 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 97a7d9ea-81a6-4ecb-aa01-cbc329092ccb, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.198 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: ef4c09aa-3846-41ec-98b1-89305c9f0e2b, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.199 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: d3509d9a-8472-4e77-b346-196e76e7ef7a, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.200 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 293addc8-a8d2-4c5c-a194-8b7f42ac32e4, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"
2023-11-20 22:50:41.206 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1700520630288: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 8071b372-0779-443f-a8e1-c776ac3b7383, RepositoryNotFoundException: The repository with name 'abc-app' does not exist in the registry with id '123466789'"

I am happy to share the full log over slack, but it only contains above errors, nothing much else. I believe if you have two AWS accounts, each containing repos with different names, you should be able to reproduce this. I am sure it would be fixed by using a ParentHydrate similar to https://github.com/turbot/steampipe-plugin-aws/issues/1373#issuecomment-1608895073

Hello @captainfalcon23, I appreciate you providing the information. I'll review the issue once more and let you know if I need anything else. Thank you!

Hi @captainfalcon23, I attempted to reproduce the error and discovered that it's being logged in my LOG file but not appearing in my Terminal. This behavior is expected in aggregator mode because a repository named demo, which exists in account-1, may not be present in account-2. By design, steampipe iterates the API calls per connection configured in an aggregator connection. Also, the API calls are iterated over the regions per connection specified in the steampipe config file(~/.steampipe/config/aws.spc).
Could you please confirm you are getting the error in your terminal or in your LOG file only?

I believe we shouldn't encounter the RepositoryNotFoundException, ImageNotFoundException, and ScanNotFoundException exceptions when querying the aws_ecr_image_scan_finding table in the terminal. These exceptions are already handled in the ignore configuration of the table, as specified in the table's code here.

Regarding the comment: "I believe this issue can be resolved by implementing a ParentHydrate, similar to the one discussed in this comment." It's important to note that Steampipe's design allows for the use of a ParentHydrate only one level down, not more than that.

Specifically, the aws_ecr_image table can be utilized as the ParentHydrate for the aws_ecr_image_scan_finding table, and the aws_ecr_image table, in turn, uses aws_ecr_repository as its parent.
Steampipe does not currently support parent chaining with more than one level. Like (aws_ecr_image_scan_finding -> aws_ecr_image -> aws_ecr_repository).

Thanks!

Hi @ParthaI
Could you please confirm you are getting the error in your terminal or in your LOG file only
Yes, this is correct.
 believe we shouldn't encounter the RepositoryNotFoundException, ImageNotFoundException, and ScanNotFoundException exceptions when querying the aws_ecr_image_scan_finding table in the terminal.
That is right, we don't see those errors.
It's important to note that Steampipe's design allows for the use of a ParentHydrate only one level down
That's disappointing. In my case, I have hundreds of ECR repos in which I want to get the vulnerabilities across many accounts. It just seems wrong to hit every single account and region with queries when I feel this should be handled gracefully, not to mention, it increases the query time exponentially, and logs so many failed API attempts in each accounts' Cloudtrail. I feel like not enough context is being passed - for example, in the parent tables, there will be the account and region, if those could be passed to the child tables, that would overall improve query performance for any query. Although, I don't know how Steampipes internals work, and if this is possible.
Is there any better solution or way of writing this (and other similar) queries to avoid this situation? I fell back onto doing a query for each and every account individually, and aggregating them at the end, but it's not flexible. I think also this is not a common scenario (I may be wrong) where there are 3 tables in the chain.
Happy to discuss and get some suggestions :)

@captainfalcon23, after careful consideration and review of the issue you've raised, we have decided to close this issue at the current time. We understand that the unnecessary logs have been a concern for you, and to address this specifically, I have raised an issue with our SDK team for further investigation and resolution. You can track the progress here.
We are committed to ensuring our service meets your needs and expectations, and we value your feedback and contributions to our community. If you have any additional insights or feedback, or if there's anything specific you would like to discuss further or contribute, please do not hesitate to reopen this issue or create a new one. Additionally, if you feel inclined to contribute directly through a Pull Request (PR), we welcome your contributions with open arms.

That’s fine, but the issue isn’t about logs in a log file. It’s about steampipe inefficiency of querying every account and region in an aggregation instead of smartly hydrating the tables from parents. If the context is there that an image belongs to account X in region Y, I don’t understand why steampipe can’t use that context to query the appropriate connection for further info.

@captainfalcon23, the aws_ecr_image_scan_finding table is an independent table which requires repository_name and image_tag, we can not use the aws_ecr_image table as parentHydrate here due to the current limitation of Steampipe SDK. I have provided a fix here, where you can pass region and account_id from the query as optional columns. could you please try this branch and let me know if this helps?

https://github.com/turbot/steampipe-plugin-aws/pull/2133/files

FYI I haven't forgotten about this, will take a look today

Okay, I have compiled the plugin and ran the same query as before and still I can see errors where steampipe is trying to find images in the wrong accounts. I have simplified the query, and you'll see on the 4th and 5th last lines, there is an additional join condition. But the logs still show Steampipe is checking each and every account for every repository. However, the region filter DOES appear to be working, as there is only a max of 1 call to each account to find the repo, so I think we are half way there! I tested adding/removing the region in the join, and it is clearly using the region and even the query returns much quicker when region is used in the join.
left join aws_all.aws_ecr_image_scan_finding f on f.account_id = i.account_id
    and f.region = i.region

2024-03-18 23:30:30.956 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1710804630785: aws_ecr_image_scan_finding.listAwsEcrImageScanFindings: api_error="operation error ECR: DescribeImageScanFindings, https response error StatusCode: 400, RequestID: 997753c6-6058-4e65-8c0e-86ee73e37ddd, RepositoryNotFoundException: The repository with name 'XXX/imply/manager' does not exist in the registry with id 'XXXXXXXXXXX'"

with latest_image_ts as (
    select
        repository_name,
        max(image_pushed_at) as image_pushed_at
    from
        aws_all.aws_ecr_image
    group by
        repository_name
),
images_with_tags as (
    select
        _ctx,
        account_id,
        region,
        repository_name,
        image_pushed_at,
        jsonb_array_elements_text(image_tags) :: text as image_tag
    from
        aws_all.aws_ecr_image
)
select
    i._ctx ->> 'connection_name' as "AWS_ACCOUNT_NAME",
    i.region,
    i.repository_name,
    i.image_pushed_at,
    i.image_tag,
    l.image_pushed_at
from
    images_with_tags i
    left join latest_image_ts l on (l.repository_name, l.image_pushed_at) = (i.repository_name, i.image_pushed_at)
    left join aws_all.aws_ecr_image_scan_finding f on f.account_id = i.account_id
    and f.region = i.region
    and (f.repository_name, f.image_tag) = (i.repository_name, i.image_tag)
where
    l.image_pushed_at is not null

Using region + account_id in join:
+-------+
| count |
+-------+
| 4381  |
+-------+

Time: 42.4s. Rows fetched: 13,359. Hydrate calls: 0.
>

WITHOUT Using region + account_id in join:
+-------+
| count |
+-------+
| 4473  |
+-------+

Time: 114.6s. Rows fetched: 5. Hydrate calls: 5.
>

@captainfalcon23, Could you please try out this PR, I have tested the above queries and it is working fine for me without any error logs.

@bigdatasourav Doesn't seem to be working as expected for me. This is what I've done:
steampipe plugin uninstall aws
git clone https://github.com/turbot/steampipe-plugin-aws.git
cd steampipe-plugin-aws
git checkout connection_key_columns
make
rm -rf ~/.steampipe/logs
# open steampipe in interactive mode
steampipe query
# run the query

with latest_image_ts as (
    select
        repository_name,
        max(image_pushed_at) as image_pushed_at
    from
        aws_all.aws_ecr_image
    group by
        repository_name
),
images_with_tags as (
    select
        _ctx,
        account_id,
        region,
        repository_name,
        image_pushed_at,
        jsonb_array_elements_text(image_tags) :: text as image_tag
    from
        aws_all.aws_ecr_image
)
select
    i._ctx ->> 'connection_name' as "AWS_ACCOUNT_NAME",
    i.region,
    i.repository_name,
    i.image_pushed_at,
    i.image_tag,
    l.image_pushed_at
from
    images_with_tags i
    left join latest_image_ts l on (l.repository_name, l.image_pushed_at) = (i.repository_name, i.image_pushed_at)
    left join aws_all.aws_ecr_image_scan_finding f on f.account_id = i.account_id
    and f.region = i.region
    and (f.repository_name, f.image_tag) = (i.repository_name, i.image_tag)
where
    l.image_pushed_at is not null

I can still see errors in the logs, indicating the accountid isn't being used in the join. Am I missing a step somewhere?
grep "RepositoryNotFoundException" plugin-2024-04-03.log  | wc -l
807

Hi @misraved Just checking in why this issue got closed off when the issue is not fixed?

authors: ParthaI bigdatasourav captainfalcon23

repo: turbot/steampipe-plugin-aws


text:
Plugin fails to initialize with unhandled error: interface conversion: interface {} is nil

Describe the bug
A clear and concise description of what the bug is.
steampipe-plugin-prometheus % steampipe query
Welcome to Steampipe v0.19.0-rc.10
For more information, type .help
>
Warning: failed to start plugin 'hub.steampipe.io/plugins/turbot/prometheus@latest': failed to plugin initialise plugin 'steampipe-plugin-prometheus': TableMapFunc 'pluginTableDefinitions' had unhandled error: interface conversion: interface {} is nil, not string

Steampipe version (steampipe -v)
Example: v0.3.0
Plugin version (steampipe plugin list)
Example: v0.5.0
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

@Priyanka-Chatterjee-2000 What Steampipe SDK version are you using when you get this error? Can you please also update the other parts of the issue description, e.g., Steampipe CLI version, plugin version, reproduce, etc.

Yes sure @cbruno10 I have updated the issue description with necessary details thank you !!

@Priyanka-Chatterjee-2000 Does this plugin work with the latest SDK version, v5.3.0, or do you get an error?

I have tested it with steampipe-plugin-sdk v5.2.0 in branch update-sdk-416 but I get that error there as well. No I have not added any metrics. My prometheus.spc:
connection "prometheus" {
  plugin = "prometheus"
  address = "http://localhost:9090"
  # HTTP address of your prometheus server
  # address = "http://localhost:9090"

  # List of metrics that will be considered for dynamic table creation
  # Please refer to https://prometheus.io/docs/prometheus/latest/querying/basics
  # for information about supported expressions
  # For example:
  #   - ".+" matches all metrics
  #   - "prometheus_http_request.*" matches metrics starting with "prometheus_http_request"
  #   - ".*error.*" matches metrics containing the word "error"
  metrics = [".+"]
}

Fixed in https://github.com/turbot/steampipe-plugin-prometheus/pull/9

repo: turbot/steampipe-plugin-prometheus


text:
Enable S3 transfer acceleration

This PR address the following issue: https://github.com/tus/tusd/issues/392
But, I'm not sure this is the best way to go about the feature.  Please advise if this should reside behind a feature flag or other ideas.  Thanks.

Thank you very much for this PR!

Please advise if this should reside behind a feature flag or other ideas.

Yes, I think transfer acceleration should only be enabled when a feature flag is set. Otherwise an error will occur for users if the bucket has not transfer acceleration enabled or maybe even if S3-compatible storage other than AWS S3 is used.

Please advise any more adjustments.

Issue #392

authors: Acconut netaisllc

repo: tus/tusd


text:
AEAD XChaCha20-Poly1305 IETF

I see that you say:

Payload is encrypted and authenticated using IETF XChaCha20-Poly1305. Note that this is Authenticated Encryption with Additional Data (AEAD) where the he header part of the token is the additional data.

Awesome!
I wonder if you think Branca could be useful in helping me here (see this demo fiddle, also pasted below)?
//TODO: how can this key be replaced with the key at https://softwarerecs.stackexchange.com/q/52107/14834 ?
const key = "supersecretkeyyoushouldnotcommit";
const branca = require("branca")(key);

const origText = "shhh this is a secret";
const token = branca.encode(origText);
console.log('Now here is the encrypted version: ', token);

const payload = branca.decode(token);
console.log('Hopefully what appears here is the original again (after decryption): ', payload.toString());

if (origText === payload.toString()){
	console.log('Success!');
} else {
	console.error('ERROR: they do not match!');
}

It relates to my question on Stack Exchange about replacing libsodium.js.
Thanks for your help.

Ahhh, never mind. I see that you seem to be using const sodium = require("libsodium-wrappers");, which means Branca probably won't work on iOS 11.2 either until Libsodium.js is fixed.

repo: tuupola/branca-js


text:
Implementation for mobile?

Hey there guys,
Am wondering if a JWT can be implemented for REST calls from a mobile device.
As of now, i can generate JWT tokens for browser based applications and it works pretty well. But I can't figure out how to do this for a mobile based application; any suggestions?
Thank you.

There is not any difference in difference mobile application. Just generate the token and send it as Authorization: Bearer header when you make the REST call.

authors: VeeruPV tuupola

repo: tuupola/slim-jwt-auth


text:
🛑 Prometheus is down

In bdaa1f1, Prometheus (https://prometheus.eighty-three.me) was down:

HTTP code: 523
Response time: 3002 ms

Resolved: Prometheus is back up in d9a6851.

repo: tuxpeople/monitoring


text:
feat: ipc-multiple-player

Owner

[x] Nickname(Tuya): 伽拉
[x] Intra-group review（组内审阅人员）：萧瑟

Description
ipc-multiple-player component.
Package
Please select the relevant package.

[ ] tuya-panel-animation-sdk
[ ] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[x] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk
[ ] tuya-panel-outdoor-sdk

Type of change
Please select the relevant option.

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

Self CheckList
Please check all options.

[x] Intra-group review
[x] ESLint lint
[x] Example Run
[x] Jest Run
[x] No Grammer Error
[x] No Spell Error
[x] No Merge Conflict

LGTM

Codecov Report

Merging #179 (c3bec10) into main (1e9c794) will increase coverage by 0.42%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
+ Coverage   61.57%   62.00%   +0.42%
==========================================
  Files         320      342      +22
  Lines       12100    12829     +729
  Branches     2818     2900      +82
==========================================
+ Hits         7451     7955     +504
- Misses       4617     4854     +237
+ Partials       32       20      -12

Impacted Files
Coverage Δ

packages/tuya-panel-lock-sdk/src/utils/index.tsx
73.07% <0.00%> (-26.93%)
:arrow_down:

...-panel-ipc-sdk/src/ty-ipc-native/nativeManager.tsx
9.20% <0.00%> (-0.74%)
:arrow_down:

...-ipc-sdk/src/ty-ipc-native/player-manager-func.tsx
16.05% <0.00%> (-0.36%)
:arrow_down:

packages/tuya-panel-api/src/lamp/general.ts
13.61% <0.00%> (ø)

packages/tuya-panel-api/src/robot/gyroDataApi.ts
9.72% <0.00%> (ø)

packages/tuya-panel-api/src/robot/laserDataApi.ts
8.88% <0.00%> (ø)

...l-gateway-sdk/src/components/setPassword/index.tsx
48.27% <0.00%> (ø)

...l-lamp-sdk/src/components/rhythms-circle/index.tsx
40.52% <0.00%> (ø)

...-gateway-sdk/src/components/addDeviceTip/index.tsx
40.74% <0.00%> (ø)

...rician-sdk/src/components/curtain/curtain-base.tsx
1.03% <0.00%> (ø)

... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e9c794...c3bec10. Read the comment docs.

authors: HeLiangYu XiaooSe codecov-commenter

repo: tuya/tuya-panel-sdk


text:
Feat: Display piece status of Jingles

What kind of change does this PR introduce?
This PR enables displaying piece status (missing, broken, etc.) for Jingles (SourceLayerType.TRANSITION)

Closing this as out of date / already fixed


text:
Hyperion maxing out cpu on Pi2

Hi,
first I have to say I am absolute newbie so please forgive any dumb questions or missing infos. I recently build a Ambilight with Pi2, 186 Apa102 LEDs and using this on raspian Jesse, controlled via atmolight plugin from Mediaportal.
I am currently seeing a high cpu load for my Pi2. After a while (sometimes an hour, sometimes only a few minutes) one core is at 100% CPU load, and temperatures and mem usage are increasing too. See attached pic of htop.

strace shows the following:

poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=7, events=POLLIN}], 4, 0) = 2 ([{fd=3, revents=POLLIN}, {fd=7, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
ioctl(7, FIONREAD, [911458])            = 0
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x577b1000
read(7, "\0\0000\31\10\2Z\224\0102\20@\30@\"\2001 \0223"\21,\30\0100\36\6\22\v"..., 911458) = 911458
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x576b0000
mremap(0x577b1000, 1052672, 69632, MREMAP_MAYMOVE) = 0x577b1000
munmap(0x577b1000, 69632)               = 0
mremap(0x578b2000, 460644352, 536875008, MREMAP_MAYMOVE) = 0x376af000
munmap(0x576b0000, 1052672)             = 0
gettimeofday({1453452189, 441913}, NULL) = 0
gettimeofday({1453452189, 442405}, NULL) = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(7, "\0\0\0\2\10\1", 6)            = 6
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 461545472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x577d6000
munmap(0x376af000, 536875008)           = 0
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=7, events=POLLIN}], 4, 0) = 2 ([{fd=3, revents=POLLIN}, {fd=7, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
ioctl(7, FIONREAD, [911447])            = 0
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x576d5000
read(7, "\0\0000\31\10\2Z\224\0102\20@\30@\"\200'\32!%\31\31&\32\35!\31\31%""..., 911447) = 911447
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x575d4000
mremap(0x576d5000, 1052672, 69632, MREMAP_MAYMOVE) = 0x576d5000
munmap(0x576d5000, 69632)               = 0
mremap(0x577d6000, 461545472, 536875008, MREMAP_MAYMOVE) = 0x375d3000
munmap(0x575d4000, 1052672)             = 0
gettimeofday({1453452190, 928819}, NULL) = 0
gettimeofday({1453452190, 929478}, NULL) = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(7, "\0\0\0\2\10\1", 6)            = 6
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 462442496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x576fb000
munmap(0x375d3000, 536875008)           = 0
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=7, events=POLLIN}], 4, 0) = 2 ([{fd=3, revents=POLLIN}, {fd=7, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
ioctl(7, FIONREAD, [1046956])           = 0
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x575fa000
read(7, "(\377\377\377\377\377\377\377\377\377\1\0\0000\31\10\2Z\224\0102\20@\30@\"\200E1""..., 1046956) = 1046956
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x574f9000
mremap(0x574f9000, 1052672, 2101248, MREMAP_MAYMOVE) = 0x572f8000
mremap(0x575fa000, 1052672, 69632, MREMAP_MAYMOVE) = 0x575fa000
munmap(0x575fa000, 69632)               = 0
mremap(0x572f8000, 2101248, 1052672, MREMAP_MAYMOVE) = 0x572f8000
mremap(0x576fb000, 462442496, 536875008, MREMAP_MAYMOVE) = 0x372f7000
munmap(0x572f8000, 1052672)             = 0
gettimeofday({1453452192, 640949}, NULL) = 0
gettimeofday({1453452192, 641449}, NULL) = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(7, "\0\0\0\2\10\1", 6)            = 6
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 463478784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x575fe000
munmap(0x372f7000, 536875008)           = 0
poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=7, events=POLLIN}], 4, 0) = 2 ([{fd=3, revents=POLLIN}, {fd=7, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
ioctl(7, FIONREAD, [3395655])           = 0
mmap2(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x571fd000
read(7, "\0\0000\31\10\2Z\224\0102\20@\30@\"\200\21\24\30!\33\37 \27\35\36\31\33\32\30"..., 3395655) = 3395655
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x570fc000
mremap(0x570fc000, 1052672, 2101248, MREMAP_MAYMOVE) = 0x56efb000
mremap(0x56efb000, 2101248, 4198400, MREMAP_MAYMOVE) = 0x56afa000
mremap(0x571fd000, 4198400, 69632, MREMAP_MAYMOVE) = 0x571fd000
munmap(0x571fd000, 69632)               = 0
mremap(0x575fe000, 463478784, 536875008, MREMAP_MAYMOVE) = 0x36af9000
munmap(0x56afa000, 4198400)             = 0
gettimeofday({1453452201, 111827}, NULL) = 0
gettimeofday({1453452201, 112419}, NULL) = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(7, "\0\0\0\2\10\1", 6)            = 6
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 466862080, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x572c4000
????( <unfinished ...>
+++ killed by SIGKILL +++

Do you have any pointer for me how to solve this?

Ok, seems to be settled. I've raised the bitrate from 250.000 to 750.000. No problems since then...

Hi,
Check also the resolution of the frame grabber, if you have changed to a bigger size than 64x64 it will consume more CPU/MEM.

I haven't even enabled framegrabber. But as said, raising the bitrate did the trick. Tho I still think this is a bug, shouldn't max out CPU if bitrate is too low.

@theMPstig can it be closed?

authors: smileyn64 theMPstig tpmodding

repo: tvdzwan/hyperion


text:
回车键会退到顶部

短的文章没有出现此问题，较长的文章输入时，回车键会重新定位到顶部。

https://github.com/tw93/MiaoYan/issues/140
和这个一个问题，关掉这个，跟进上一个

https://github.com/tw93/MiaoYan/releases
试试1.6 版本


text:
dockerize bikegan

load bikegan + weights into a container and dump into dockerhub

done:
https://hub.docker.com/r/twak/bikegan/
https://github.com/twak/bikegan/blob/master/docker/Dockerfile
should run with something like:
nvidia-docker run -v $(pwd)/input:/home/user/bikegan/input -v $(pwd)/output:/home/user/bikegan/output -it --rm twak/bikegan

repo: twak/chordatlas