text:
Cant get script to run

These are the errors i received when trying to run the script. I dont know what i am doing wrong but i can not get it to start running. I tried with both 2.0 and 1.1 AHK

The Switch A_ThisHotkey error is related to AutoHotkey being outdated.
The second one is kind of tricky. Some people also fixed it by updating/reinstalling AHK, for some it was fixed after updating/reinstalling and rebooting afterwards. One person told me that creating a shortcut of the script and putting it on the Desktop fixes it.

second error fix to make shortcut worked for me

authors: Lailloken Peanutte ThoronElee

repo: Lailloken/Lailloken-UI


text:
Recalibrating "the pixel-check for the inventory" didn't solve the "Item-info vanish" problem

The item info works fine in windowed mode, however, it vanished in windowed fullcreen mode, even if I recalibrated the pixel check for many times. I am running the game in 3840x2160.
One interesting thing I found is that if I do the following:

click calibration with item panel open, it shows "success".
click test, it sometimes shows "positive", sometimes shows "negative"
I continue to do the calibration until the test shows positive.
Then I hold middle mouse on an item, the item-info vanishs after a split-second.
After that, I re-click test, it shows "negative" again.

Another interesting thing I found:

Click "restart as administrator" sometimes will show the following error:

If I click "Y", it goes to the main menu of the script.
If I click "N", the script closes.
However, If i didn't click anything and move the error window to the right-bottom corner to hide it, then I hold my middle-mouse on an item, the item info works without vanishing ! So wierd...  It seems there's a part of the script which caused the vanishing problem, and the item-info checking works for me if the script didn't run correctly. Although in this case, i will not be able to see the main menu and do any settings editing anymore.

Do you know how to fix this issue?
Before the problem is solved, I will play the game with the error window hided in the corner.
Thanks a lot and sorry for my poor English.

Do you play at 2160p natively or are you using some form of upscaling? And are you maybe using graphical filters (e.g. via ReShade or Nvidia GFE)? Maybe AutoHDR in Windows?
It sounds like the script can't consistently get the right pixel-colors from screen. The error message from your screenshot is related to the version-check timing out because the GitHub servers took too long to respond.
I'm grabbing something for dinner right now, will look into the pixel-check afterwards.

Do you play at 2160p natively or are you using some form of upscaling? And are you maybe using graphical filters (e.g. via ReShade or Nvidia GFE)? Maybe AutoHDR in Windows?
It sounds like the script can't consistently get the right pixel-colors from screen. The error message from your screenshot is related to the version-check timing out because the GitHub servers took too long to respond.
I'm grabbing something for dinner right now, will look into the pixel-check afterwards.

Problem solved.
I can just press shift-F2 to disable Reshade temporarily and use item-info checking.
After that, I press shift-F2 again to enable Reshade, and play the game again.
Thanks so much for the fast and super efficient solution !

As a temporary fix, you can open ini\screen checks (2160p).ini and delete the [inventory] section and the three lines underneath. It's a bit of an oversight that one cannot disable the inventory check, only recalibrate it. If there's no data stored, the script should ignore the state of the inventory.
Depending on how many features you're going to use that depend (or make use of) on screen-reading, you may run into more problems because of ReShade.

As a temporary fix, you can open ini\screen checks (2160p).ini and delete the [inventory] section and the three lines underneath. It's a bit of an oversight that one cannot disable the inventory check, only recalibrate it. If there's no data stored, the script should ignore the state of the inventory. EDIT: restart the script after deleting the lines.
Depending on how many features you're going to use that depend on (or make use of) screen-reading, you may run into more problems because of ReShade.

It worked. I will see if it will cause any other problems and decide which method to use.
Thank you so much! I do appreciated.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
KMP Algorithm

Related Issue

Issue number (#1238)

Proposed Changes

Added readme for KMP algorithm used for pattern matching so that in later issues code can be added.

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

Output Screenshots

Change the issue also ...that looks like only for KMP readme

Change the existing readme adding your content of readme ...as there in S-StringAlgo already a readme present

Create a Fresh PR...because this one already tooks 6 commits

source: gharchive/pull-request

repo: Lakhankumawat/LearnCPP


text:
unable to run gizmo; panic: oto: NewContext can be called only once

Hi!
I was very excited to read about Gizmo when you posted about it on Reddit a while back! The graphics style reminds me of Liero, a game my friends and I loved to play when we were younger.
So, when I saw you released the code for the game, I felt very excited to take it out for a spin :)
However, after the initial go get -u github.com/Lallassu/gizmo/..., running gizmo (from within $GOPATH/src/github.com/Lallassu/gizmo results in the following error:
u@x1 ~/g/s/g/L/gizmo> gizmo
[23:40:43.204][main.go:31][main.run][DEBUG] W: Rect(0, 0, 800, 600)
[23:40:43.242][sound.go:23][main.(*sound).create][DEBUG] Loading sound jump.wav
[23:40:43.242][sound.go:23][main.(*sound).create][DEBUG] Loading sound shot.mp3
[23:40:43.314][sound.go:23][main.(*sound).create][DEBUG] Loading sound shot2.mp3
panic: oto: NewContext can be called only once

goroutine 6 [running]:
github.com/hajimehoshi/oto.NewContext(0xbb80, 0x2, 0x2, 0x31fc, 0x0, 0x0, 0x0)
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:60 +0x311
github.com/hajimehoshi/oto.NewPlayer(0xbb80, 0x2, 0x2, 0x31fc, 0xc0004121d8, 0xc000514000, 0xc000475ff0)
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:89 +0x4d
github.com/faiface/beep/speaker.Init(0xbb80, 0xc7f, 0x0, 0x0)
	/home/u/goget/src/github.com/faiface/beep/speaker/speaker.go:42 +0x154
main.(*sound).create(0x7e2aa8)
	/home/u/goget/src/github.com/Lallassu/gizmo/sound.go:32 +0x56a
main.setup()
	/home/u/goget/src/github.com/Lallassu/gizmo/main.go:66 +0x12f
main.run()
	/home/u/goget/src/github.com/Lallassu/gizmo/main.go:43 +0x313
github.com/faiface/mainthread.Run.func1(0x6622f8, 0xc00001a120)
	/home/u/goget/src/github.com/faiface/mainthread/mainthread.go:37 +0x27
created by github.com/faiface/mainthread.Run
	/home/u/goget/src/github.com/faiface/mainthread/mainthread.go:36 +0xb1

Cheers,
Robin

Hi, this issue is already posted and seems to be a bug in Windows. I've only developed and tested on OSX. I will mark this a duplicate.
A workaround would be to remove the loading of the sounds.

duplicate of #2

Hi, this issue is already posted and seems to be a bug in Windows
Sorry for the duplicate bug report.
I'm running on Linux, though, so it seems the issue is more pervasive.

Ok good to know. Though it seems to be an issue with the sound loader so I will check that out later. Sounds are not activated yet so it can be removed at the moment.

Hi, this also should be fixed with the recent Beep update here

I get further now (with the latest version of Beep), could start the game menu but not a new game it seems. Also, when I run the game a second and third time, I got the following error:
u@x1 ~/g/s/g/L/gizmo> gizmo
[22:12:34.022][main.go:31][main.run][DEBUG] W: Rect(0, 0, 800, 600)
[22:12:34.042][sound.go:23][main.(*sound).create][DEBUG] Loading sound jump.wav
[22:12:34.042][sound.go:23][main.(*sound).create][DEBUG] Loading sound shot.mp3
[22:12:34.117][sound.go:23][main.(*sound).create][DEBUG] Loading sound shot2.mp3
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x3c pc=0x7fe327797bfa]

runtime stack:
runtime.throw(0x65ec43, 0x2a)
	/home/u/go1.12/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
	/home/u/go1.12/src/runtime/signal_unix.go:374 +0x4a9

goroutine 4 [syscall]:
runtime.cgocall(0x5b56a0, 0xc000044d88, 0xc000322000)
	/home/u/go1.12/src/runtime/cgocall.go:128 +0x5b fp=0xc000044d58 sp=0xc000044d20 pc=0x427c9b
github.com/hajimehoshi/oto._Cfunc_snd_pcm_writei(0x7fe300049170, 0xc000322000, 0x42a, 0x0)
	_cgo_gotypes.go:160 +0x4e fp=0xc000044d88 sp=0xc000044d58 pc=0x55b4ce
github.com/hajimehoshi/oto.(*driver).TryWrite.func1(0xc0004162c0, 0xc00051c000)
	/home/u/goget/src/github.com/hajimehoshi/oto/driver_linux.go:140 +0x123 fp=0xc000044de0 sp=0xc000044d88 pc=0x55c2d3
github.com/hajimehoshi/oto.(*driver).TryWrite(0xc0004162c0, 0xc00051c0a0, 0x60, 0x8000, 0x100, 0x0, 0x0)
	/home/u/goget/src/github.com/hajimehoshi/oto/driver_linux.go:140 +0x1e0 fp=0xc000044e78 sp=0xc000044de0 pc=0x55bc80
github.com/hajimehoshi/oto.(*driverWriter).Write(0xc00041a020, 0xc00051c000, 0x100, 0x8000, 0x0, 0x0, 0x0)
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:136 +0xf4 fp=0xc000044ef0 sp=0xc000044e78 pc=0x55a984
io.copyBuffer(0x68d440, 0xc00041a020, 0x68d460, 0xc000416300, 0xc00051c000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/home/u/go1.12/src/io/io.go:404 +0x1fb fp=0xc000044f68 sp=0xc000044ef0 pc=0x4b239b
io.Copy(...)
	/home/u/go1.12/src/io/io.go:364
github.com/hajimehoshi/oto.NewContext.func1(0xc00041a040)
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:79 +0x6a fp=0xc000044fd8 sp=0xc000044f68 pc=0x55bf7a
runtime.goexit()
	/home/u/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000044fe0 sp=0xc000044fd8 pc=0x47ae01
created by github.com/hajimehoshi/oto.NewContext
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:78 +0x229

goroutine 1 [select, locked to thread]:
github.com/faiface/mainthread.Run(0x6622f8)
	/home/u/goget/src/github.com/faiface/mainthread/mainthread.go:42 +0x13d
github.com/faiface/pixel/pixelgl.Run(0x6622f8)
	/home/u/goget/src/github.com/faiface/pixel/pixelgl/run.go:32 +0x57
main.main()
	/home/u/goget/src/github.com/Lallassu/gizmo/main.go:14 +0x2d

goroutine 20 [syscall]:
os/signal.signal_recv(0x0)
	/home/u/go1.12/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/home/u/go1.12/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/home/u/go1.12/src/os/signal/signal_unix.go:29 +0x41

goroutine 21 [chan receive]:
github.com/hajimehoshi/oto.(*Context).Close(0xc00041a040, 0x0, 0x0)
	/home/u/goget/src/github.com/hajimehoshi/oto/context.go:116 +0xd2
github.com/faiface/beep/speaker.Init(0xbb80, 0xc7f, 0x0, 0x0)
	/home/u/goget/src/github.com/faiface/beep/speaker/speaker.go:34 +0x2e8
main.(*sound).create(0x7e2ab0)
	/home/u/goget/src/github.com/Lallassu/gizmo/sound.go:32 +0x56a
main.setup()
	/home/u/goget/src/github.com/Lallassu/gizmo/main.go:66 +0x12f
main.run()
	/home/u/goget/src/github.com/Lallassu/gizmo/main.go:43 +0x313
github.com/faiface/mainthread.Run.func1(0x6622f8, 0xc0000760c0)
	/home/u/goget/src/github.com/faiface/mainthread/mainthread.go:37 +0x27
created by github.com/faiface/mainthread.Run
	/home/u/goget/src/github.com/faiface/mainthread/mainthread.go:36 +0xb1

Well, that's very interesting. I'll try the game on my system and let you know.

authors: Lallassu faiface mewmew

repo: Lallassu/gizmo


text:
README Update with Labs28 Contributors

Description
Added a Labs28 section to the README with contributor's photo, Linkedin, and Github
Number of Files changed
One. README.md
Questions for Reviewer
Type of Change

[ ] New Feature
[X] Feature Update
[ ] Fix Error

Status

[X] Tested

Awesome

authors: AuFeld xpandalord


text:
initial commit

Description
This pull request relates to the responsive design changes and layout changes on the child/missioncontrol page. Elements are being changed from a side-by-side layout to a stacked layout to have consistency with other breakpoints.
Fixes #
Elements are being changed from a side-by-side layout to a stacked layout to have consistency with other breakpoints.
Type of change
Design
Change Status
Complete - Ready for Review.
There are still some issues with styling the modal at landscape orientation but I think we can resolve those by removing the modal altogether as it seems unnecessary to me.
Has This Been Tested

[ ] No

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

This seems great!

Can you approve the pull request @charlene-johnson so the request can be merged?

@Robert-Lark Do we know why the checks are failing?

@brittanymclaughlin hmm its something weird with a part of the application that doesn't have anything to do with us - I looked at it with Sara this morning and she is going to get to the bottom of it so we can merge - I put more info about it in the blocker card on the trello board.

repo: Lambda-School-Labs/story-squad-fe-a


text:
Update dash header & avatar with fullname & username

Description
Add full name to dashboard header.
Add username on avatar hover.
Type of change

[x] New feature (non-breaking change which adds functionality)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Visually noted changes to dashboard header and avatar. No errors.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

 Top right corner should have Full name or first name, instead of username.  To see who is logged in.


text:
testsuite expects font to be installed

test: user error (Font file does not exist: /usr/share/lambdahack/GameDefinition/fonts/16x16xw.bdf)
The testsuite runs without setting the font dir to the location of fonts in the source directory, so the test fails without the fonts having been installed.

Hi, thanks for the report. How do you install the game and how to do you run tests? Is it Linux? From source or package? What distro?

Oh, I see, Debian, isnt' it? 0.9.5.0-1? All archs or just some? Let me look for the bug in the Debian dev corner...

Got it: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/haskell-lambdahack.html

I remember I specifically added checking the fonts accessibility to the test suite. I wanted to make sure users can find the fonts, because I've had a report the font was missing for someone.
So, you are saying, when the test is run, the font is not yet installed? That's a pity, because it means I can't test if the fonts are properly installed. Is there a way to remedy that? If the package is built with cabal or stack, whether in-place or specially, the font is always available. Is that not possible here? Is this some special kind of build?

Oh, I see
/home/mikolaj/r/DHG_packages/p/haskell-lambdahack/debian/lambdahack.install
doesn't yet know about this new font. Let me add it and see if it's enough.

@clinty: I've updated /home/mikolaj/r/DHG_packages/p/haskell-lambdahack/debian/lambdahack.install
If this works, I will similarly update the packaging for Allure.

@Mikolaj it's being run from Setup.hs.  You should be able to achieve the equivalent by doing a cabal v1-test in the source directory in an environment that doesn't have the fonts installed.  Thanks for fixing the .install file but it won't solve this particular issue.

I see. The only option to make it work without changing source code would to, before the test is run, create a ~/.LambdaHack/config.ui.ini file that overwrites the font location. But I don't know if I can copy that file from somewhere and also I need to know and provide an absolute paths for the fonts, relative path would not work.
An alternative is to wait for 0.10.0.0 release, probably in a couple of weeks, in which I disable the test (created specially for Debian :) ) or add a fallback to in-source location of the font, assuming the test is run in the directory that contains the .cabal file. And for now we could disable the tests, to sort out any other problems, e.g., deps, that are very likely to affect 0.10.0.0 as well.
What would you advice?

In-source fallback sounds good, and we can disable the test in the meantime.  I assumed we could just add a --fontDir setting to args2 but obviously I misunderstood something.

Yes, --fontDir in args2 would definitely work, even with the relative path as in `--fontDir GameDefinition/fonts", but I have no clue how to patch code via Debian scripts. I'd gladly learn by example. :)

You would put a quilt patch in debian/patches , but when I try this I get
option --fontDir: cannot parse value GameDefinition/fonts'`
Any idea why?

Strangely, it needs extra double quotes (somebody's apparently fixed that for 0.10 so I didn't notice:
    let args2 = words "--fontDir \"GameDefinition/fonts\" --dbgMsgSer --logPriority 0 --newGame 3 --maxFps 100000 --benchmark --stopAfterFrames 50 --automateAll --keepAutomated --gameMode battle --setDungeonRng 7 --setMainRng 7"

That works.  I'll push the fix so you can take a look when salsa is reachable again.

Thank's a lot! I will this patching myself for Allure, if needed. Also, I've just added the argument to the tests permanently in 0.10.0.0 --- the test is for Debian anyway, and in CI I run tests from the top of the source tree as well.

I think this is finally working fine for both LambdaHack and Allure in Debian. Thank you very much! Closing.

authors: Mikolaj clinty

repo: LambdaHack/LambdaHack

license_source: bigquery


text:
PROBLEM: Odvzet dostop do baze

Nekako mi je uspelo priti do situacije, da imam permission denied za bazo sem2023_lucijaf, na kateri delava skupaj z Laro Nahtigal. Baza najverjetneje ni izbrisana, saj še lahko Lara vidi podatke, le jaz ne morem dostopati do njih. Ali obstaja možnost, da spet dostopam do podatkov?
Prilagam izvedene postgresql vrstice. Natančneje sem z zadnjimi štirimi ukazi v ustvari_tabele.sql prišla do te težave.
1678317163634@@baza.fmf.uni-lj.si@5432@sem2023_lucijaf@public.zip

Živijo,
težava je bila verjetno prišla iz sql stavka, s katerim odvzameš pravice za dostop do baze:
REVOKE CONNECT ON DATABASE sem2023_lucijaf FROM PUBLIC, lucijaf;

Težavo bi rešil
GRANT CONNECT ON DATABASE sem2023_lucijaf TO lucijaf;

vendar ga seveda ne moreš izvesti, če nimaš dostopa do baze.
Najverjetneje ti bo moral Gašper ponovno odobriti dostop, @gasperxy.

Možna rešitev: če ima dostop do baze in pravico za deljenje pravic Lara, lahko ona poskusi izvesti
GRANT CONNECT ON DATABASE sem2023_lucijaf TO lucijaf;

Super! Hvala, je delovalo.
On Wed, Jun 21, 2023, 11:51 AM Maj Gaberšček @.***>
wrote:

Možna rešitev: če ima dostop do baze in pravico za deljenje pravic Lara,
lahko ona poskusi izvesti
GRANT CONNECT ON DATABASE sem2023_lucijaf TO lucijaf;
—
Reply to this email directly, view it on GitHub
https://github.com/LaraNahtigal/opb-recepti/issues/14#issuecomment-1600536237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPH6P5XCYJMI54HOJP3UHTXMK7ZHANCNFSM6AAAAAAZLYS4XU
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: LaraNahtigal/opb-recepti


text:
[Request] Republish Lang command

As more functionality gets added etc, more language files get updated, and you dont always ways to republish certain things.
It would be good to get something like php artisan backpack::publish language - which could be extended into php artisan backpack::publish views etc making it more simple for developers to update

That would be nice, yes. But a big issue here is that we need to delete the old files in order to republish. And we don't know if the developer has made any modification to the language files - in which case we'd destroy his work.
I think a good alternative would be a combination of:

not publishing them by default. There has to be a way for us to use language files with fallbacks to the package files, but it didn't work for me. Needs more effort.
a db-backed langfile system, where all language strings are imported and where the developer or admin can translate the files; that way, he wouldn't need to modify the lang files at all and we can overwrite them; that's the LangFileManager rewrite I was talking about;

I did read about this here -> https://laravel.com/docs/5.3/localization#overriding-package-language-files maybe its just the files are stored in the wrong structure so the waterfall effect isnt working correctly.

guess the most annoying thing about that is migrations, unless you create a seeder to populate your langs, would be even more annoying to sync them :(

Ok, so I've spent too much time on this already. My conclusion is this: we can only fix the langfile loading problem in the next breaking change.
The fix is easy to implement, but difficult for updaters. Basically, the issue is that in every package, we're loading the langfiles with the same namespace (or hint), "backpack". So only the last installed package actually gets its langfiles loaded.
In order to fix this we need to:

In every package, change how translations are loaded in the service provider. For CRUD, for example:

- $this->loadTranslationsFrom(realpath(__DIR__.'/resources/lang'), 'backpack');
+ $this->loadTranslationsFrom(realpath(__DIR__.'/resources/lang'), 'crud');

- $this->publishes([__DIR__.'/resources/lang' => resource_path('lang/vendor/backpack')], 'lang');
+ $this->publishes([__DIR__.'/resources/lang' => resource_path('lang/vendor/backpack/crud')], 'lang');

In the views, change all language translation strings:

- {{ trans('backpack::crud.admin') }}
+ {{ trans('crud::crud.admin') }}

This will fix it for new users - translation strings will first be loaded from the published ones, then fall back to the ones in the package.
But we also need to instruct ALL existing users to:
3) Change the language translation strings in any views they've overwritten.
4) Move all their published translation files in the new directory structure.
...which... is a real pain in the ass for everyone.
I am not happy at all with this solution. My main two reasons are:
A) I don't like it that you load translations strings by calling "crud" two times:
{{ trans('crud::crud.admin') }}

I don't like it at all. But I guess I can get over this.
B) It will be very very difficult for users to do this update to their views and translation directory structure, just because I messed up... So the only honest thing to do here would be to create a script to automate that for them. Four scripts, actually:

one that basically does replace_all in the views
one that basically nests the folders deeper in the lang directory

(each script in two flavours: unix and windows)

This does not sound like fun, but I'm afraid we need to fix this, because we'll be pushing new language lines in the package.
Does anybody have another solution? Please? Pretty please?

@tabacitu this needed for 3.2?

Yes, I think that's a good moment to do it too.

Added to consolidation list https://github.com/Laravel-Backpack/CRUD/issues/285

authors: OwenMelbz tabacitu

repo: Laravel-Backpack/CRUD


text:
Upload multiple not save the file

I need to create page template whit upload_multiple field type but something not Ok.
In my PageTemplate.php I use this:
$this->crud->addField([
                        'name' => 'photos',
                        'label' => 'Photos',
                        'type' => 'upload_multiple',
                        'upload' => true,
                        'disk' => 'uploads',
                        'fake' => true,
                        'store_in' => 'extras',
                    ]);

In my model Page.php I use this:

protected $casts = [
        'photos' => 'array'
    ];

And Mutator:
public function setPhotosAttribute($value)
    {
        $attribute_name = "photos";
        $disk = "uploads";
        $destination_path = "page/gallery";

        $this->uploadMultipleFilesToDisk($value, $attribute_name, $disk, $destination_path);
    }

When I try to create new page the image file can't upload in the folder and in DB table "page" in column 'extras' the data is like this:
{
"photos":[
               {},
               {}
           ]
}

I can't understand where I wrong?

Not sure if upload_multiple supports fake fields and store_in, at least for the docs, can only point (just in case you didn't try yourself) that using a regular field, upload_multiple works like a charm

Maybe related to https://github.com/Laravel-Backpack/CRUD/pull/520 ?

I try without 'fake' and 'store_in' but in this case noting to save in database. I can't understand - may be for first time I use uploads whit Laravel 5.4 or may be PageTemplate can't use this type of field :(

Not sure if this is a bug or question so now it's BOTH!

Closing due to lack of info - tracked elsewhere as well.

authors: MarcosBL divanski lloy0076


text:
Added google fonts to bassets

Moved google fonts to bassets 🙌

A new inspection was created.

The inspection completed: No new issues

authors: promatik scrutinizer-notifier


text:
Добавить чатик на веб-морду

https://sidecar.gitter.im/
<script>
  ((window.gitter = {}).chat = {}).options = {
    room: 'LaravelRUS/chat'
  };
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

:+1:

authors: SerafimArts greabock

repo: LaravelRUS/GitterBot

license: mit


text:
Double Set of Parenthesis in Special Abilities

Double Set of Parenthesis in Special Abilities: Change Shape (Sm. or Med. aquatic animal or humanoid, polymorph) (Su) You can change your form.

Clarification: This did indeed break stuff, but i need to check if it still does.


text:
icontool.py guide

Description
Adds a guide/documentation on how to use icontool.py.

Fixes #1134

Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:x: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
✅ : General change (non-breaking change that doesn't fit the above categories like copyediting)

Wow my commits are messy...

Thank you for making a documentation!
can you change the 47th line of icontool_guide.md to "## Remove a link and its SVG"
also instead of having "Add an icon" and "Add an icon (with generated message)" maybe it's better to keep the first one and put a small notice below it that an -m argument can be added to print a generated message to be used in a pr
and shouldn't code blocks be in sh instead of xml since these are commands?

can you change the 47th line of icontool_guide.md to "## Remove a link and its SVG"

Done

also instead of having "Add an icon" and "Add an icon (with generated message)" maybe it's better to keep the first one and put a small notice below it that an -m argument can be added to print a generated message to be used in a pr

How do you think we could do this? I just looked at other documentation and they generally did something like this. Just a small message underneath to add -m at the end for a message?

and shouldn't code blocks be in sh instead of xml since these are commands?

I went with xml cuz its also used in CONTRIBUTING.md. I think it's just better since it keeps all the colours monotone.

How do you think we could do this?

you can add a note hightlight

Note
an -m argument can be added to print an optional generated message

the problem that it should be in a blockquote, also i didn't see this method used in this repo
or just add something like this:
Note: an -m argument can be added ...

I added it as a note. What you think now?

Good, It's clean now. I think it's ready to be merged

authors: Chefski thismoon

repo: LawnchairLauncher/lawnicons


text:
add an empty line before and after generated lists

Some Markdown implementations expect an empty line before and after a list. Otherwise the list is interpreted as a single line of text. Hence, all lists of the toc should wrapped in empty lines.

Relevant for 1.x and 2.0.

Implemented on master (v2.0.0)

repo: LaxarJS/laxar-dox


text:
feat(dot): add bashls and shellcheck

I work with shell files a lot , so this basically adds support for shell files

Thanks!

authors: folke rubiin

repo: LazyVim/LazyVim


text:
New CheatSheets for text formatting languages (markdown)

I'd like to add new section in tools for text formatting languages which can include Markdown, reStructuredText(rst),  Latex etc.

Sure go for it 👍

repo: LeCoupa/awesome-cheatsheets


text:
[DOCS] Update the setup_linter guide

This part fixes the issues when the formatting doesn't work:
In VSCode, go to any source file and press `Ctrl + Shift + I` to `Format Document`.
You will be prompted to select a default formatter. Select `clangd`.

Following the guide now will use clangd's builtin clang-format.
This has the following benefits:

Always up-to-date
Less dependencies

I still kept how to install clang-format as a bonus part.
It does not require building the whole LLVM project anymore though. It's just a small ~4MB download - all dependencies compiled in already.
Reference: https://github.com/muttleyxd/clang-tools-static-binaries

Added a separater before the bonus part.

repo: LeaYeh/webserver


text:
Vertex position not updated after cancel editing

To reproduce:

Download current leaflet.draw
Open /examples/full.html
Draw a 3 points polyline
Hit the "Edit layers" button
Move any of the points
Hit "Cancel"
Hit "Edit" again and you see the point you previously moved is retaining the canceled edit position instead of the current position

Test and not working on FF 44.0.2 and Chrome "Version 49.0.2623.87 m"

Even I'm also facing this issue in this version of release. Find the attached screenshot of the map.

I had the same problem, here's a small fiddle for reproducing:
http://jsfiddle.net/Eschon/7tw6hg1c/1/

I had the same problem.

It's worked. I changed the version of the Leaflet.Draw '0.3.0-dev' to '0.2.4'.

@massilva I had the same problem and version 0.2.4 is the solution. Cheers!

Version 0.2.4 is really decision of this issue.

Can confirm switching to 0.2.4 solves this issue.

authors: Eschon Ray-Luo fullyBoricua gavincabbage massilva mckrava vinnakotabalaji


text:
Infinite loop on bad relative errorTileUrl

How to reproduce

Leaflet version I'm using: 1.2.0
Browser (with version) I'm using: Chrome
OS/Platform (with version) I'm using: MacOs

Steps

Specify incorrect url for .tileLayer options, e.g. https://example.com/{z}/{x}/{y}.png
Specify incorrect relative errorTileUrl option, e.g. fake.png

What behaviour I'm expecting and which behaviour I'm seeing
I expect that load stops after the second 404 request. But actually I have infinite loop of request s trying to get error tile image.
Minimal example reproducing the issue
I've created bin for demonstration
https://playground-leaflet.rhcloud.com/deye/1/edit?html,output
This issue is actually unfinished #5176. The problem is in TileLayer.js:191
_tileOnError: function (done, tile, e) {
  var errorUrl = this.options.errorTileUrl;
  if (errorUrl && tile.src !== errorUrl) {      // <-- here
    tile.src = errorUrl;
  }
  done(e, tile);
},

tile.src and errorUrl don't match if you have  relative URL

Huh, interesting. Did not know the src property was automatically expanded to an absolute URL. Thanks for reporting. We'll have to look into this.
Any help you can provide is of course very welcome!

authors: fetis perliedman

repo: Leaflet/Leaflet


text:
when noWrap=true,the map cannot display completely

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x]  I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x]  I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Steps to reproduce the behavior:

use your browser
go to https://jsfiddle.net/cg625tr0/394/
the map cannot display completely

Expected behavior
Sharp picture (for map tiles)
Current behavior
cannot display completely
Environment

Leaflet version:1.7.1
Browser (with version): google
OS/Platform (with version): windows7

I think that it should display completely when set noWrap=true.

This is behaviour as expected. Leaflet does not have the capabilities to cut up images, so if a map provider gives a tile like https://a.tile.openstreetmap.org/1/0/0.png...

, then that tile displays as a whole.
If this is critical, consider rolling out your own tile server and handle data near the antimeridian accordingly.


text:
Update Actors for Foundry VTT v10.276

To Change
Actors
Kind of Change
Update
Additional Info
No response

resolved in #2291


text:
AA won't capture the macro

Foundry 0.8.8
Advanced Macros 1.6
Trigger Happy 0.87
Windows 10
Electrum

I have been using Trigger Happy + Furnace to teleport tokens, Since I moved on to 0.8.x and Advanced Macros, it stopped working.
Here is the Trigger Happy command:
@Token[SomeToken1] @Trigger[capture move] @ChatMessage[/TeleportToToken SomeToken2 0 0]

This is the TeleportToToken macro:
DAE.teleportToToken(token, args[0], args[1], args[2])

After triggering successfully, here is what's printed out on the chat:
/TeleportToToken SomeToken2 0 0

From what I know, this chat message needs to be captured by AA and not show up.
(Trigger Happy also captures the token successfully, another pointer that Trigger Happy is working correctly.)
Here is what's printed out in the console:
(3) [ChatMessage, S.fn.init(1), {…}]
0: ChatMessage {apps: {…}, _sheet: null, _roll: null, parent: null, pack: null, …}
1: S.fn.init [li.chat-message.message.flexcol]
2:
alias: "Can"
author: User {apps: {…}, _sheet: null, active: true, targets: Set(0), viewedScene: "q8Nm1VLhDwNb0r2L", …}
cssClass: ""
isWhisper: false
message:
blind: false
content: "/TeleportToToken SomeToken2 0 0"
emote: false
flags: {}
flavor: undefined
roll: undefined
sound: undefined
speaker: {scene: null, actor: null, token: null, alias: undefined}
timestamp: 1626177577714
type: 0
user: "Vz4zo3JbyA2iUxB3"
whisper: []
_id: "FTzI4r0rWvlbAIwK"
__proto__: Object
user: User {apps: {…}, _sheet: null, active: true, targets: Set(0), viewedScene: "q8Nm1VLhDwNb0r2L", …}
whisperTo: ""
__proto__: Object
length: 3
__proto__: Array(0)

1.9 update fixed the issue.


text:
Provide option to disable the border on image as fog

When an image is used as fog layer, a border is draw to show what is visible.  Provide an option to disable this border.  The use case is that the fog layer is a map without labels or other items, but the fog layer is progressively removed to show the labels/whatever on the background.

Thank you for this, Sorry for not getting back to you quickly.

This effect is caused by the tint (Player Fog Color) applied to the canvas layer.  If you set the Player Fog Settings Color to a value of #FFFFFF  this doesn't actually set the tint to white, but removes the tint effect.  https://pixijs.download/dev/docs/PIXI.Sprite.html#tint
Note that even with the tint set to #FFFFFF, any grids added to the map will still only be shown on the unmasked portion of the image, so if a grid line happens to be behind a masked area, players could still deduce that there was masked map content there.
Player Fog Color of #000000

Player Fog Color of #FFFFFF

I very much still end up with a white border:

Settings:

No, you are correct.  I was mistaken in the previous testing I'd done.  I can confirm that setting to FFFFFF still shows as white.  I had a code fix prototyped earlier.  Let me resurrect it...

Same as #46

authors: Derinzed UranusBytes

repo: League-of-Foundry-Developers/simplefog


text:
润色 quantifiers_and_equality.md

将

Given a proof of p x, in a context where x : α is arbitrary, we obtain a proof ∀ x : α, p x.

的翻译改成了更符合汉语语序的方式，原来的翻译易造成误解：
错误理解：

给定 p x 的证明，在 x : α 是任意的情况下，我们得到 ∀ x : α, p x 的证明。

正确理解：

给定 p x 的证明， 在 x : α 是任意的情况下；我们得到 ∀ x : α, p x 的证明。

有人吗？

repo: Lean-zh/tp-lean-zh


text:
wascally ignores return value of amqplib publish()

It looks like wascally ignores the return value of publish.  This is dangerous, because if publish() returns false, it means the message wasn't sent, and wascally should be waiting for a 'drain' event from the channel before trying to shovel more messages at it.

No ignore this, I'm crazy.  :)

repo: LeanKit-Labs/wascally


text:
Unable to save object's data change when dynamically access object.

Here is the schema:
var StorageShema = new Schema(
sid: String,
vault: {},
date: Date
);
// then define the StorageModel....
Here is the original function:
addVault = function (sid, data, next) {
StarageModel.findOne(
{sid:sid}, function(err,doc) {
if (!err) {
for (var prop in data) {
if (data.hasOwnProperty(prop)) {
doc.vault[prop] = data[prop];     // PROBLEM HERE
}
}
	doc.save(   function(err2) {
		if (err2) {
			next(err2);
		} else {
			next(null);
		}
	} );
       }
   }

);
};

What I 'm trying to do above is to dynamically assign different objects into Storage.vault .
It works when vault is empty.  However, if something is in 'vault' already, any change to doc.vault will not be saved. and there is no error.  Besides, I can see the new data in "doc.vault" before hitting save.
I have my solution,, which is first back up any object in doc.vault like this:
for (var prop in doc.vault) {
if (doc.vault.hasOwnProperty(prop)) {
temp[prop] = doc.vault[prop];
}
}
Then put new value into the temp object
for (var prop in data) {
if (data.hasOwnProperty(prop)) {
temp.vault[prop] = data[prop];
}
}
then assign back to doc.vault
                              doc.vault = temp;

then hit doc.save and it will save.
I just don't know what I can't make change directly in doc.vault.    Usually, if I change something like doc.sid or doc.date, and hit save, it will save the new change.  Why it behaves differently with dynamic object and dynamic object referencing?

Assigning an object literal to vault in the Schema declares it a Mixed type. Mixed types are an "anything goes" schema which has great flexibility but at the cost of mongoose not knowing when its values change.
To tell mongoose that you changed a Mixed types values use doc.markModified('vault') and your changes will be saved.
see http://mongoosejs.com/docs/schematypes.html

:D

authors: aheckmann murvinlai

repo: LearnBoost/mongoose


text:
add raspberrypi and moxa url

add "raspberrypi.org" "moxa.com"

thanks!

repo: Leask/BRICKS


text:
UpdateFirmwareModal

and all it's family

Implemented the update firmware modal as well as including it in the Manager Dashboard.
As of now I've only tested

1.5.5 => 1.6.0

will test the rest and make sure every firmware can be updated


text:
error: cx_aes_enc_block changed binding to STB_GLOBAL

Hi, thank you for providing this project.
I tried building on Mac but I'm getting the following error. I was wondering if you could give some pointers as to how to resolve this.
error: failed to run custom build command for `nanos_sdk v0.1.0 (https://github.com/LedgerHQ/ledger-nanos-sdk.git#427e686d)`

Caused by:
  process didn't exit successfully: `/Users/user/rust-app/target/debug/build/nanos_sdk-c407dcfe889b4bf1/build-script-build` (exit status: 1)
  --- stdout
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-apple-darwin")
  CFLAGS_thumbv6m-none-eabi = None
  CFLAGS_thumbv6m_none_eabi = None
  TARGET_CFLAGS = None
  CFLAGS = None
  Info: default compiler flags are disabled
  running: "clang" "-I" "/Applications/ARM/bin/../arm-none-eabi/include" "-I" "./nanos-secure-sdk/include" "-I" "./nanos-secure-sdk/lib_stusb" "-I" "./nanos-secure-sdk/lib_stusb_impl" "-I" "./nanos-secure-sdk/lib_cxng/include" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Core/Inc" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Class/HID/Inc" "-Wall" "-Wextra" "-fropi" "--target=thumbv6m-none-eabi" "-fomit-frame-pointer" "-mcpu=cortex-m0" "-fno-common" "-fdata-sections" "-ffunction-sections" "-mtune=cortex-m0" "-mthumb" "-fno-jump-tables" "-fno-builtin" "-fshort-enums" "-mno-unaligned-access" "-Wno-unused-command-line-argument" "-Wno-missing-declarations" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-Wno-sign-compare" "-Wno-unknown-pragmas" "-Wno-unknown-attributes" "-Wno-pointer-sign" "-Wno-implicit-function-declaration" "-Wno-tautological-pointer-compare" "-Wno-incompatible-pointer-types-discards-qualifiers" "-Wno-duplicate-decl-specifier" "-Wno-#warnings" "-Wno-int-conversion" "-DST31" "-DHAVE_LOCAL_APDU_BUFFER" "-DIO_HID_EP_LENGTH=64" "-DUSB_SEGMENT_SIZE=64" "-DOS_IO_SEPROXYHAL" "-DHAVE_IO_USB" "-DHAVE_L4_USBLIB" "-DHAVE_USB_APDU" "-DIO_USB_MAX_ENDPOINTS=6" "-DIO_SEPROXYHAL_BUFFER_SIZE_B=128" "-DHAVE_NES_CRYPT" "-DHAVE_ST_EDES_PLUS" "-DHAVE_ST_AES" "-DHAVE_CRC" "-DHAVE_HASH" "-DHAVE_RIPEMD160" "-DHAVE_SHA224" "-DHAVE_SHA256" "-DHAVE_SHA3" "-DHAVE_SHA384" "-DHAVE_SHA512" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD_M0" "-DHAVE_BLAKE2" "-DHAVE_GROESTL" "-DHAVE_HMAC" "-DHAVE_PBKDF2" "-DHAVE_DES" "-DHAVE_AES" "-DHAVE_MATH" "-DHAVE_RNG" "-DHAVE_RNG_RFC6979" "-DHAVE_RNG_SP800_90A" "-DHAVE_ECC" "-DHAVE_ECC_WEIERSTRASS" "-DHAVE_ECC_TWISTED_EDWARDS" "-DHAVE_ECC_MONTGOMERY" "-DHAVE_SECP256K1_CURVE" "-DHAVE_SECP256R1_CURVE" "-DHAVE_SECP384R1_CURVE" "-DHAVE_SECP521R1_CURVE" "-DHAVE_FR256V1_CURVE" "-DHAVE_STARK256_CURVE" "-DHAVE_BLS12_381_G1_CURVE" "-DHAVE_BRAINPOOL_P256R1_CURVE" "-DHAVE_BRAINPOOL_P256T1_CURVE" "-DHAVE_BRAINPOOL_P320R1_CURVE" "-DHAVE_BRAINPOOL_P320T1_CURVE" "-DHAVE_BRAINPOOL_P384R1_CURVE" "-DHAVE_BRAINPOOL_P384T1_CURVE" "-DHAVE_BRAINPOOL_P512R1_CURVE" "-DHAVE_BRAINPOOL_P512T1_CURVE" "-DHAVE_CV25519_CURVE" "-DHAVE_CV448_CURVE" "-DHAVE_ED25519_CURVE" "-DHAVE_ED448_CURVE" "-DHAVE_ECDH" "-DHAVE_ECDSA" "-DHAVE_EDDSA" "-DHAVE_ECSCHNORR" "-o" "/Users/user/rust-app/target/thumbv6m-none-eabi/debug/build/nanos_sdk-94d749e18da4553f/out/./src/c/src.o" "-c" "./src/c/src.c"
  exit status: 0
  ...
  Info: default compiler flags are disabled
  running: "clang" "-I" "/Applications/ARM/bin/../arm-none-eabi/include" "-I" "./nanos-secure-sdk/include" "-I" "./nanos-secure-sdk/lib_stusb" "-I" "./nanos-secure-sdk/lib_stusb_impl" "-I" "./nanos-secure-sdk/lib_cxng/include" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Core/Inc" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Class/HID/Inc" "-Wall" "-Wextra" "-fropi" "--target=thumbv6m-none-eabi" "-fomit-frame-pointer" "-mcpu=cortex-m0" "-fno-common" "-fdata-sections" "-ffunction-sections" "-mtune=cortex-m0" "-mthumb" "-fno-jump-tables" "-fno-builtin" "-fshort-enums" "-mno-unaligned-access" "-Wno-unused-command-line-argument" "-Wno-missing-declarations" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-Wno-sign-compare" "-Wno-unknown-pragmas" "-Wno-unknown-attributes" "-Wno-pointer-sign" "-Wno-implicit-function-declaration" "-Wno-tautological-pointer-compare" "-Wno-incompatible-pointer-types-discards-qualifiers" "-Wno-duplicate-decl-specifier" "-Wno-#warnings" "-Wno-int-conversion" "-DST31" "-DHAVE_LOCAL_APDU_BUFFER" "-DIO_HID_EP_LENGTH=64" "-DUSB_SEGMENT_SIZE=64" "-DOS_IO_SEPROXYHAL" "-DHAVE_IO_USB" "-DHAVE_L4_USBLIB" "-DHAVE_USB_APDU" "-DIO_USB_MAX_ENDPOINTS=6" "-DIO_SEPROXYHAL_BUFFER_SIZE_B=128" "-DHAVE_NES_CRYPT" "-DHAVE_ST_EDES_PLUS" "-DHAVE_ST_AES" "-DHAVE_CRC" "-DHAVE_HASH" "-DHAVE_RIPEMD160" "-DHAVE_SHA224" "-DHAVE_SHA256" "-DHAVE_SHA3" "-DHAVE_SHA384" "-DHAVE_SHA512" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD_M0" "-DHAVE_BLAKE2" "-DHAVE_GROESTL" "-DHAVE_HMAC" "-DHAVE_PBKDF2" "-DHAVE_DES" "-DHAVE_AES" "-DHAVE_MATH" "-DHAVE_RNG" "-DHAVE_RNG_RFC6979" "-DHAVE_RNG_SP800_90A" "-DHAVE_ECC" "-DHAVE_ECC_WEIERSTRASS" "-DHAVE_ECC_TWISTED_EDWARDS" "-DHAVE_ECC_MONTGOMERY" "-DHAVE_SECP256K1_CURVE" "-DHAVE_SECP256R1_CURVE" "-DHAVE_SECP384R1_CURVE" "-DHAVE_SECP521R1_CURVE" "-DHAVE_FR256V1_CURVE" "-DHAVE_STARK256_CURVE" "-DHAVE_BLS12_381_G1_CURVE" "-DHAVE_BRAINPOOL_P256R1_CURVE" "-DHAVE_BRAINPOOL_P256T1_CURVE" "-DHAVE_BRAINPOOL_P320R1_CURVE" "-DHAVE_BRAINPOOL_P320T1_CURVE" "-DHAVE_BRAINPOOL_P384R1_CURVE" "-DHAVE_BRAINPOOL_P384T1_CURVE" "-DHAVE_BRAINPOOL_P512R1_CURVE" "-DHAVE_BRAINPOOL_P512T1_CURVE" "-DHAVE_CV25519_CURVE" "-DHAVE_CV448_CURVE" "-DHAVE_ED25519_CURVE" "-DHAVE_ED448_CURVE" "-DHAVE_ECDH" "-DHAVE_ECDSA" "-DHAVE_EDDSA" "-DHAVE_ECSCHNORR" "-o" "/Users/user/rust-app/target/thumbv6m-none-eabi/debug/build/nanos_sdk-94d749e18da4553f/out/./nanos-secure-sdk/src/cx_stubs.o" "-c" "./nanos-secure-sdk/src/cx_stubs.S"
  cargo:warning=<instantiation>:4:5: error: cx_aes_dec_block changed binding to STB_GLOBAL
  cargo:warning=    .global cx_aes_dec_block
  cargo:warning=    ^
  cargo:warning=<instantiation>:4:5: error: cx_aes_enc_block changed binding to STB_GLOBAL
  cargo:warning=    .global cx_aes_enc_block
  cargo:warning=    ^
  cargo:warning=<instantiation>:4:5: error: cx_aes_init_key_no_throw changed binding to STB_GLOBAL
  cargo:warning=    .global cx_aes_init_key_no_throw
  cargo:warning=    ^
  cargo:warning=<instantiation>:4:5: error: cx_aes_iv_no_throw changed binding to STB_GLOBAL
  cargo:warning=    .global cx_aes_iv_no_throw
  cargo:warning=    ^
  cargo:warning=<instantiation>:4:5: error: cx_aes_no_throw changed binding to STB_GLOBAL
  cargo:warning=    .global cx_aes_no_throw
  cargo:warning=    ^
  ...
  cargo:warning=<instantiation>:4:5: error: cx_swap_uint64 changed binding to STB_GLOBAL
  cargo:warning=    .global cx_swap_uint64
  cargo:warning=    ^
  exit status: 1

  --- stderr

  error occurred: Command "clang" "-I" "/Applications/ARM/bin/../arm-none-eabi/include" "-I" "./nanos-secure-sdk/include" "-I" "./nanos-secure-sdk/lib_stusb" "-I" "./nanos-secure-sdk/lib_stusb_impl" "-I" "./nanos-secure-sdk/lib_cxng/include" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Core/Inc" "-I" "./nanos-secure-sdk/lib_stusb/STM32_USB_Device_Library/Class/HID/Inc" "-Wall" "-Wextra" "-fropi" "--target=thumbv6m-none-eabi" "-fomit-frame-pointer" "-mcpu=cortex-m0" "-fno-common" "-fdata-sections" "-ffunction-sections" "-mtune=cortex-m0" "-mthumb" "-fno-jump-tables" "-fno-builtin" "-fshort-enums" "-mno-unaligned-access" "-Wno-unused-command-line-argument" "-Wno-missing-declarations" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-Wno-sign-compare" "-Wno-unknown-pragmas" "-Wno-unknown-attributes" "-Wno-pointer-sign" "-Wno-implicit-function-declaration" "-Wno-tautological-pointer-compare" "-Wno-incompatible-pointer-types-discards-qualifiers" "-Wno-duplicate-decl-specifier" "-Wno-#warnings" "-Wno-int-conversion" "-DST31" "-DHAVE_LOCAL_APDU_BUFFER" "-DIO_HID_EP_LENGTH=64" "-DUSB_SEGMENT_SIZE=64" "-DOS_IO_SEPROXYHAL" "-DHAVE_IO_USB" "-DHAVE_L4_USBLIB" "-DHAVE_USB_APDU" "-DIO_USB_MAX_ENDPOINTS=6" "-DIO_SEPROXYHAL_BUFFER_SIZE_B=128" "-DHAVE_NES_CRYPT" "-DHAVE_ST_EDES_PLUS" "-DHAVE_ST_AES" "-DHAVE_CRC" "-DHAVE_HASH" "-DHAVE_RIPEMD160" "-DHAVE_SHA224" "-DHAVE_SHA256" "-DHAVE_SHA3" "-DHAVE_SHA384" "-DHAVE_SHA512" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD" "-DHAVE_SHA512_WITH_BLOCK_ALT_METHOD_M0" "-DHAVE_BLAKE2" "-DHAVE_GROESTL" "-DHAVE_HMAC" "-DHAVE_PBKDF2" "-DHAVE_DES" "-DHAVE_AES" "-DHAVE_MATH" "-DHAVE_RNG" "-DHAVE_RNG_RFC6979" "-DHAVE_RNG_SP800_90A" "-DHAVE_ECC" "-DHAVE_ECC_WEIERSTRASS" "-DHAVE_ECC_TWISTED_EDWARDS" "-DHAVE_ECC_MONTGOMERY" "-DHAVE_SECP256K1_CURVE" "-DHAVE_SECP256R1_CURVE" "-DHAVE_SECP384R1_CURVE" "-DHAVE_SECP521R1_CURVE" "-DHAVE_FR256V1_CURVE" "-DHAVE_STARK256_CURVE" "-DHAVE_BLS12_381_G1_CURVE" "-DHAVE_BRAINPOOL_P256R1_CURVE" "-DHAVE_BRAINPOOL_P256T1_CURVE" "-DHAVE_BRAINPOOL_P320R1_CURVE" "-DHAVE_BRAINPOOL_P320T1_CURVE" "-DHAVE_BRAINPOOL_P384R1_CURVE" "-DHAVE_BRAINPOOL_P384T1_CURVE" "-DHAVE_BRAINPOOL_P512R1_CURVE" "-DHAVE_BRAINPOOL_P512T1_CURVE" "-DHAVE_CV25519_CURVE" "-DHAVE_CV448_CURVE" "-DHAVE_ED25519_CURVE" "-DHAVE_ED448_CURVE" "-DHAVE_ECDH" "-DHAVE_ECDSA" "-DHAVE_EDDSA" "-DHAVE_ECSCHNORR" "-o" "/Users/user/rust-app/target/thumbv6m-none-eabi/debug/build/nanos_sdk-94d749e18da4553f/out/./nanos-secure-sdk/src/cx_stubs.o" "-c" "./nanos-secure-sdk/src/cx_stubs.S" with args "clang" did not execute successfully (status code exit status: 1).

Hey @Thegaram. I've run into the same issue. What I figured out after a couple of days of trial&error is the following:
You need specifically Apple Clang 12 to build this project. Not Apple Clang 13, vanilla Clang 12, Homebrew Clang 12 or anything else. Only Apple Clang 12!
You can download the older Command Line Tools for Xcode 12.5.1 from Apple's developer portal.

If it says the package is too old to install on your system, you'll have to extract the tools manually. This is how I did it:
❯ pkgutil --expand /Volumes/Command\ Line\ Developer\ Tools/Command\ Line\ Tools.pkg ~/Downloads/CLTools

Inside CLTools/CLTools_Executables.pkg/ there's a 380MB binary archive called Payload that has to be unpacked using this patched version of pbzx: https://github.com/nrosenstein-stuff/pbzx:
# compile pbzx
❯ git clone https://github.com/nrosenstein-stuff/pbzx.git
❯ cd pbzx
❯ brew reinstall xz
❯ clang -llzma -lxar -I/opt/homebrew/Cellar/xz/5.2.5/include pbzx.c -o pbzx
❯ sudo mv pbzx /usr/local/bin/pbzx

# unpack the CLTools payload
❯ cd ~/Downloads/CLTools/CLTools_Executables.pkg
❯ /usr/local/bin/pbzx -n Payload | cpio -i

We now have a Library/Developer/CommandLineTools extracted. I move it next to where I have CommandLineTools 13:
# rename old CLTools
❯ sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools@13

# move CLTools 12 into place
❯ sudo mv ~/Downloads/CLTools/CLTools_Executables.pkg/Library/Developer/CommandLineTools /Library/Developer/CommandLineTools

# symlink shared SDKs
❯ sudo ln -s /Library/Developer/CommandLineTools@13/SDKs /Library/Developer/CommandLineTools/SDKs

I can now compile the Rust project in question:
❯ clang --version
Apple clang version 12.0.5 (clang-1205.0.22.11)

❯ cargo build --release
...
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s

And btw, this actually worked on my Apple M1 Silicon machine with arm64. Cheers, good luck

And by the way, this actually worked on my Apple M1 Silicon machine with arm64.
For anyone interested in that, I had to install the xPack GNU Arm Embedded GCC toolchain with Apple Silicon support:
❯ npm install --global xpm@latest
❯ xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
❯ echo 'export PATH="$HOME/Library/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.3.1/.content/bin:$PATH"' >> ~/.bashrc
❯ source ~/.bashrc

❯ arm-none-eabi-gcc --version
arm-none-eabi-gcc (xPack GNU Arm Embedded GCC arm64) 10.3.1 20210824 (release)

❯ file `which arm-none-eabi-gcc`
~/Library/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.3.1/.content/bin/arm-none-eabi-gcc:
Mach-O 64-bit executable arm64

Awesome, thanks @mandrean, I'll try again following your instructions.

Hello, indeed it seems from LLVM 12+ this problem appears.
The fix is here if you want to try?

Not that fast actually, I've stumbled on this before and forgot to publish the fix 😞

It works!

authors: SionoiS Thegaram mandrean yhql

repo: LedgerHQ/rust-app


text:
🛑 MobileCompanyGlobal2 is down

In eeecef8, MobileCompanyGlobal2 (https://mglobal2.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MobileCompanyGlobal2 is back up in bb2c849.


text:
🛑 CompanyGuide4 is down

In 566fe98, CompanyGuide4 (https://comp5.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide4 is back up in ec57172.


text:
🛑 FnGuide.com2 is down

In a0cb071, FnGuide.com2 (https://www2.fnguide.com/Etc/Service?id=Monitoring_adm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FnGuide.com2 is back up in 2d756e1 after 20 minutes.


text:
Storybook markdown on the typography page is wrong...

…the breakdown into Purpose / Usage got corrupted…
https://canopy-e66e57.netlify.app/?path=/story/typography--headings

I've checked and this issue is not present in the new deployment, we will decommission the old netlify deployment soon.
https://legal-and-general-canopy.netlify.app/?path=/story/typography--headings

repo: Legal-and-General/canopy


text:
Inserting opaque objects

I would like to put fabric.Canvas in an observable.
#6

I'm curious - what's the use case for that?

@prbxr I added an opaqueObject helper in 0.21.6.
import { observable, opaqueObject } from '@legendapp/state'

const canvas = new fabric.Canvas()

const obs = observable({ text: 'hi', canvas: opaqueObject(canvas) })

This will make canvas work effectively as a primitive, so you can obs.canvas.get() and obs.canvas.set(...). And changes within the canvas won't fire any change listeners.
How does that work for you?

authors: jmeistrich prbxr

repo: LegendApp/legend-state


text:
Fix links in Ethics

https://smo-wiki.leibniz-hbi.de/Research-Ethics-and-Law
Needs proper Markdown URLs to work in "rendered" version.

Fixed. It's enough to have links in double square brackets for them to appear properly in the rendered wiki: like this
[[https://example.com]]

repo: Leibniz-HBI/Social-Media-Observatory


text:
Rotation sensor bugfix

Fixes #17
TODO

[ ] Logic to detect every full rotation
[ ] Testing

ok turns out this is very simple. PROS has similar functionality already through the Rotation::get_position() function.

repo: LemLib/LemLib


text:
[Bug]: Error generating interop assemblies

All of the following criteria must be met

[X] Changed the title so that it doesn't just says "[Bug]: "
[X] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

[X] Tried reinstalling the app.
[ ] Tried reinstalling LemonLoader.
[ ] Tried restarting the device.

Describe the issue.
Latest (1).log
It gives an error saying that it failed to generate interop assemblies, so the chainloader just wont run

Btw the game im using is a test i compiled for Il2cpp Stripping test, currently the options are:
Engine Stripping: Off
Managed Stripping: Low

Looks like an issue with interop (at least, a piece of it that I haven't touched).
Are you able to upload an unpatched version of the APK you used?

Here:
https://www.mediafire.com/file/jsnyon0ppkpik8v/StrippingTest.apk/file

Not a perfect solution, but it gets the app running. Lemon throws another error due to failed unstripping (not sure why or how), but mods still seem to load fine. This will be included in the next Lemon update, but for now you can just run the patched game once then replace the DLL in /sdcard/MelonLoader/{package name}/MelonLoader/net8 with the one in this zip.
Il2CppInterop.Generator.dll.zip

The generator keeps getting replaced with the old one.

That shouldn't be happening unless

You patched the game manually instead of with the installer
You re-patched the APK after that DLL was compiled, so my code assumes that it's older and shouldn't be used

The easy solution would just be to decompile the patched APK and replace the DLL inside instead of replacing it externally. You can do that pretty easily with APKToolGUI. Or you could wait for an update but I have no idea when that'll happen

authors: Pietrodjaowjao TrevTV

repo: LemonLoader/MelonLoader


text:
Carthage build fails

*** Building scheme "SwiftLinkPreview" in SwiftLinkPreview.xcodeproj
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/SwiftLinkPreview.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/Regex.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/PreviewError.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(5 failures)
/Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift:9:8: error: no such module 'PackageDescription'
/Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift:9:8: error: no such module 'PackageDescription'
/Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift:9:8: error: no such module 'PackageDescription'
/Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift:9:8: error: no such module 'PackageDescription'
A shell task (/usr/bin/xcrun xcodebuild -project /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/SwiftLinkPreview.xcodeproj -scheme SwiftLinkPreview -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/SwiftLinkPreview.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/Regex.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Sources/PreviewError.swift
	CompileSwift normal arm64 /Users/IO/Development/Other/other-chat-ios/Carthage/Checkouts/SwiftLinkPreview/Package.swift
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(5 failures)

@kharmabum Thanks. I fixed @ 2ab6b46. I just needed to remove Package.swift file from .xcodeproj.

authors: LeonardoCardoso kharmabum

repo: LeonardoCardoso/SwiftLinkPreview


text:
Admin pages

Add password protected admin pages to path domain.com/admin.

Done?

No admin pages in the app. Just file listing by nginx.

Okay misunderstood the description, let's create something simple at some point if needed

authors: keveri thevangelist

repo: Lepovirta/Crystallize


text:
同步飞书知识库时 “执行TypeScript脚本 下载出错: Cannot read properties of undefined (reading 'elements')”

你当前使用的Elog版本
0.14.1
Elog配置文件
module.exports = {
  write: {
    platform: 'feishu',
    yuque: {
      token: process.env.YUQUE_TOKEN,
      login: process.env.YUQUE_LOGIN,
      repo: process.env.YUQUE_REPO,
      onlyPublic: false,
      onlyPublished: true,
    },
    'yuque-pwd': {
      username: process.env.YUQUE_USERNAME,
      password: process.env.YUQUE_PASSWORD,
      login: process.env.YUQUE_LOGIN,
      repo: process.env.YUQUE_REPO,
      onlyPublic: false,
      onlyPublished: true,
    },
    notion: {
      token: process.env.NOTION_TOKEN,
      databaseId: process.env.NOTION_DATABASE_ID,
      filter: false, // {property: 'status', select: {equals: '已发布'}}
    },
    feishu: {
      type: 'wiki',
      wikiId: process.env.FEISHU_WIKI_ID,
      folderToken: process.env.FEISHU_FOLDER_TOKEN,
      appId: process.env.FEISHU_APP_ID,
      appSecret: process.env.FEISHU_APP_SECRET,
      disableParentDoc:true
    },
    flowus: {
      tablePageId: process.env.FLOWUS_TABLE_PAGE_ID,
      filter: false, // {property: 'status',value: '已发布'}
    },
    wolai: {
      token: process.env.WOLAI_TOKEN,
      pageId: process.env.WOLAI_PAGE_ID,
    }
  },
  deploy: {
    platform: 'local',
    local: {
      outputDir: './docs',
      filename: 'title',
      format: 'markdown',
    },
    halo: {
      endpoint: process.env.HALO_ENDPOINT,
      token: process.env.HALO_TOKEN,
      policyName: process.env.HALO_POLICY_NAME,
      rowType: 'html',
      needUploadImage: true,
    },
    confluence: {
      user: process.env.CONFLUENCE_USER,
      password: process.env.WORDPRESS_PASSWORD,
      endpoint: process.env.WORDPRESS_ENDPOINT,
      spaceKey: process.env.CONFLUENCE_SPACE_KEY,
      rootPageId: process.env.CONFLUENCE_ROOT_PAGE_ID, // 可选
    },
    wordpress: {
      username: process.env.WORDPRESS_USERNAME,
      password: process.env.WORDPRESS_PASSWORD,
      endpoint: process.env.WORDPRESS_ENDPOINT,
    }
  },
  image: {
    enable: true,
    platform: 'local',
    local: {
      outputDir: './docs/images',
      prefixKey: '/images',
      pathFollowDoc: true,
    },
    oss: {
      secretId: process.env.OSS_SECRET_ID,
      secretKey: process.env.OSS_SECRET_KEY,
      bucket: process.env.OSS_BUCKET,
      region: process.env.OSS_REGION,
      host: process.env.OSS_HOST,
      prefixKey: '',
    },
    cos: {
      secretId: process.env.COS_SECRET_ID,
      secretKey: process.env.COS_SECRET_KEY,
      bucket: process.env.COS_BUCKET,
      region: process.env.COS_REGION,
      host: process.env.COS_HOST,
      prefixKey: '',
    },
    qiniu: {
      secretId: process.env.QINIU_SECRET_ID,
      secretKey: process.env.QINIU_SECRET_KEY,
      bucket: process.env.QINIU_BUCKET,
      region: process.env.QINIU_REGION,
      host: process.env.QINIU_HOST,
      prefixKey: '',
    },
    upyun: {
      user: process.env.UPYUN_USER,
      password: process.env.UPYUN_PASSWORD,
      bucket: process.env.UPYUN_BUCKET,
      host: process.env.UPYUN_HOST,
      prefixKey: '',
    },
    github: {
      token: process.env.GITHUB_TOKEN,
      user: process.env.ELOG_GITHUB_USER,
      repo: process.env.ELOG_GITHUB_REPO,
      prefixKey: '',
    }
  }
}

发生了什么？
使用以下命令 执行同步时 ，报错
npx @elog/cli sync --config elog.config.js --env .elog.env --disable-cache
Elog错误日志
执行TypeScript脚本 下载出错: Cannot read properties of undefined (reading 'elements')
初始化一个TypeScript的Hello World项目 下载出错: Cannot read properties of undefined (reading 'elements')

附加信息
No response

在运行 npx @elog/cli sync --config elog.config.js --env .elog.env --disable-cache 时加上 debug 命令看下详细日志
npx @elog/cli sync --config elog.config.js --env .elog.env --disable-cache --debug

好的，麻烦了 如果需要其他信息及时沟通

已经找到问题了，麻烦尝试升级到最新 beta 版本，0.14.2-beta.0
确认没问题的话，我就把他升级到正式版

The latest release of @elog/cli is "0.14.1".
Other releases are:

beta: 0.13.3-beta.1

你用的应该是淘宝镜像吧，淘宝镜像同步的慢，建议换成 npm 官方源

我正在常识同步到https://registry.npmmirror.com中，可以晚点尝试

已经找到问题了，麻烦尝试升级到最新 beta 版本，0.14.2-beta.0 确认没问题的话，我就把他升级到正式版

已经升级到了beta版本，正常了

文档内容都正常吗？还有什么其他问题没？

现在下载图片文字看起来是正常的，但是文档内容好像还是有些问题。
这是在飞书文档里的内容

这是打开本地md文档后，下载到本地后 quote块内容不见了

这种引用里面的序号列表我应该是没考虑到，我得适配一下才行。飞书目前用的人少，需要逐渐迭代。你先不要用引用包裹，我这两天适配一下

嗯，感谢。这个工具挺好的

authors: LetTTGACO zh-d-d

repo: LetTTGACO/elog


text:
Take new screenshots for linux r2modman guide

Currently the linux r2modman guide uses some windows screenshots (specifically of r2modman) - ideally these would be updated with screenshots from a Linux environment.
If possible, these should be taken on Steam Deck since that's the environment that the majority of readers will likely be in

FWIW Gale has been a far better experience for me on Linux.

authors: YoshiRulz legoandmars

repo: LethalCompanyCommunity/ModdingWiki

license: ISC


text:
Feature minigame transitions

Start of a minigame gives description and awaits everyone to be ready.
End of a minigames shows order of standings and add points of all players.
End of all 5 rounds shows the accumulative score of each player and final positions.
Prefab variants per minigame

We agreed today on the call that this passes functionality and we can tweak further in terms of design/description independent of this.

authors: dannanvazquez ldrg

repo: LetsMakeAGameGroup/PartyGame


text:
Feat: Implement autocomplete for tag cmd

Implement the autocomplete slash command feature for /tag to suggest autocompletions for valid tags. Use the cached list from FirebaseCache

Consider including a preview of the tag content in the autocompletion in a future release

Verified on prod

repo: Leyline-gg/leyline-discord


text:
[Suggestion] Bridge Pneumatic Craft heat with Create steam engine heat

Hello 😁
My suggestion:
Implement a way for Pneumatic Craft heat to power Create steam engines. They could work only with heat pipes and compressed iron blocks, as to not change normal lava and magma heat behavior when under a boiler.
The heat could be based on the temperature of the connected blocks/pipes themselves. In this implementation, the boilers would consume heat from adjacent blocks, and would have a heat level based on the temperature. So for example, boilers at 1800 degrees C could have a heat level of 6, whereas boilers at 100 degrees C would have a heat level of 1.
Heating could alternatively be based on the number of connected blocks/pipes that are hotter than a certain temperature (like 4 compressed iron blocks that are over 100c could get a heat value of 4, similar to having 4 blaze burners fed with fuel)
Finally, a combination of the implementations could be implemented. For example, a compressed iron block at 100 degrees would have a heat level of 1, but a compressed iron block at 200 degrees could have a heat level of 2.

Hello!
In the current public version of the mod there is a block for this specific purpose called Heater (I decided to add a separate block because it's an easier solution which is unlikely to break on Create or PNC updates). It is Work In Progress and doesn't have a recipe yet, and it works a bit similar to how you described (the temperature controls how much heat the block provides to the Steam Engines). I plan to do a re-balance of the mod and finish this block.
I also have a separate topic for discussion of this feature: https://github.com/Lgmrszd/CompressedCreativity/discussions/30

repo: Lgmrszd/CompressedCreativity


text:
Mathematical formulation to allow using math libraries for applying masks to frames

For the mathematical operation it doesn't matter in what order or arrangement the frames are scanned. That means the "scan dimension" can be flattened to a linear array. The same way the arrangement of the pixels in a frame doesn't matter, that means masks and frames can be flattened to linear arrays as well.
With those extra dimensions flattened, applying a set of m masks (B) to a collection of n frames with c pixels per frame (A) can be expressed as a rectangular matrix product of A and B. A is a n x c matrix and B a c x m matrix.
That means we can use the BLAS function GEMM. For that we should be able to find a suitable fast implementation.
Notably:

Scipy https://docs.scipy.org/doc/scipy/reference/linalg.blas.html#blas-level-3-functions
Intel MKL https://software.intel.com/en-us/mkl-developer-reference-c-blas-level-3-routines
CUDA http://docs.nvidia.com/cuda/cublas/index.html#cublas-lt-t-gt-gemm
ATLAS http://math-atlas.sourceforge.net/
OpenBLAS http://www.openblas.net/

In essence, we need a fast out-of-core GEMM implementation that is optimized to read from HDF5.

I've been playing with compiling numpy against OpenBLAS and Intel MKL and using the dot product as described above. It doesn't perform well at all (up to 3x slower than naive) when the matrices are very slim (less than 16 masks) in one direction and fat in the other. Multithreading brings a performance penalty under these circumstances and doesn't use the available cores. @sk1p will verify if this happens in a naked C version as well or if it is a numpy thing. Weird!

Here's the result from OpenBLAS. It performs well with larger mask counts and stack heights. A single mask destroys performance. dieter-OpenBLAS.xlsx

And this is Intel MKL with similar results dieter-mkl.xlsx:

For comparison the manual version discussed in issue #11
result2.xlsx. Conclusion: OpenBLAS and MKL have potential for improvement for very slim rectangular matrices. The algorithms ´discussed in #11 work better for that case. Remaining question: Is this numpy-specific or does it happen in C as well?

Results by @sk1p show the same effect when using OpenBLAS in C. We will use BLAS for now and advertise a master thesis to integrate an improved algorithm in suitable BLAS implementations. That way it will be most useful and flexible.

There was one major bug in our benchmarks that prevented them from being comparable: the C BLAS implementation used doubles, where the Python version used uint32. Now, with float64, the numpy version is almost as fast as the C BLAS version, maybe fast enough for our purposes? For a single mask, the worst case in the numpy version is still 3 times slower than the equivalent C BLAS case though. This may be fixable in numpy, or if we change the way we feed data to numpy, ...
Heatmap for numpy w/ float64:

Raw results: fastdot-numpy.xlsx
Heatmap for C BLAS:

Raw results:
fastdot-openblas.xlsx
Another problem is that our results don't currently include the largest frame size, as our buffer is too small to fit 4 frames, which is our minimum stack height. But that affects both versions so results should be comparable now.

In order to get a better understanding of the observed inefficiencies in hyperspy/hyperspy#1840, here's an implementation of the benchmark that uses dask for tiling and stacking. Long story short, it is exceptionally fast. The poor performance for low stackheight and maskcount comes from the known poor performance of the used BLAS library. Optimal values are reached when the input chunks fit into the L3 cache together.

dieter-dask-OpenBLAS-tiled.xlsx

Here is the corresponding dask diagnostics output, for maskcount=16, framesize=512^2, tilesiez=256^2, stackheight=8:
The graph built:

Profiling output:

One could use the graph as a textbook example for an optimized matrix multiplication!

As we are gravitating towards using Apache Spark, I rewrote the same benchmark in Scala using DenseMatrix from spark.ml. For comparison I included an C OpenBLAS heatmap on the left. The left axis is "framesize-maskcount"

To summarize: the Scala DenseMatrix version performs as well as the C OpenBLAS implementation. This is still all local computation, it will get a little slower when distributing it via Spark.

The code for the Scala/Spark benchmark is now available in the repository.

The mathematical formulation from the original posting by @uellue should end up in our documentation, when that is done I think this issue can be closed.

repo: LiberTEM/LiberTEM


text:
Add documentation for get_diagnostics()

A dataset's get_diagnostics() method can help to find additional datasets in a HDF5 file.
Side note -- is the info button in the GUI documented that provides the same info?

The GUI uses the diagnostics property - which also contains some general information about partitioning. I guess that's also the one you would access as an API user. Note that the information therein is not meant for automated consumption in scripts (note also the weird list-of-dict structure) and is not guaranteed to be stable!

Found a typo in line 242

Found a typo in line 242

Nice catch, feel free to open a PR!

This is strange! There's no file named base.py in my repository. Do I have to create the entire file?

This is strange! There's no file named base.py in my repository

That's because the base.py file has been broken up into more but shorter files

If you update to the current master, you too should have a base.py file.

The current master doesn't have the base.py file. Also, the link points to a "tree", I think.

The current master doesn't have the base.py file.

Ah, sorry. This:

If you update to the current master, you too should have a base.py file.

was wrong, because the current version no longer has the base.py file. But you can find the same classes in that directory of smaller files (you can have a look at the __init__.py file as a kind of "index" of the package).

Also, the link points to a "tree", I think

A tree is how git maps directories to its internal data structures. So any link to a directory on github will be a link to a tree. In this case, the link is actually not a tree, but a "blob", which is how git stores specific versions of files (in this case, version 05edd...).
If you are interested how trees, blobs etc. in git work, I can recommend the official documentation on git internal objects.

What about I just copypaste the entire thing and replace the smaller files with a single base.py file? Wouldn't that be the simplest way to get it done?

While it may be simple, it will undo my work of actually separating them. We try to keep files small in order to make classes and functions easier findable. It is hard to navigate files that are longer than a few hundred lines.


text:
Fix incorrect notbook_id returned by assignment list #24

I also added tests for the data returned by the ExchangeList plugin.
Previously, only the stdout output (what is printed on the screen) was tested.
The data returned by the plugin (dictionary of assignment information) is used in the nbgrader assigment_list plugin.

Can you merge in master so the CI will run on the PR?

Done

I'll merge, but I haven't done anymore than a cursory review. Thank you!

authors: moorepants ykazakov


text:
Go Back button with wrong URL

The button that I think was supposed to be the "Go Back" button is bugged for me. I don't know if its getting the wrong URL or something but I'd like some help to change it to make it work correctly.

Or have the ability to remove the button completely since I can just open the skin-changing URL on a new tab directly from my main website.

what exactly is the problem?

The circled button.

That button takes me to this website:
https://www.000webhost.com/?utm_source=000webhostapp&utm_campaign=000_logo&utm_medium=website&utm_content=footer_img
I've never been to this website nor have any affiliation with it. My website IS hosted on 000webhost.com, but my URL is:
https://tascadozecm.000webhostapp.com/
So I need some help either changing it to the correct URL or removing the button completely. HTML and PHP are not my strong suit so I really have no idea where to change it and/or remove it.

its a button your host adds because its a free service it has nothing to do with my website.
if you want free host service without any ads you can use https://infinityfree.com

Oh ok. I thought of that possibility but since my other pages don't have that button I assumed it was something like a "Go Back" button. Thank you.


text:
https://news.bugjump.net/News.json 出现404

如题
这个文件缺失导致MFn的简单主页的某个按钮报废（原来能用的啊）

报错内容（不知道为啥图传不上来）
执行打开类自定义事件失败:下载指定的文件失败!
注意，联网帮助页面须指向一个帮助 JSON 文件，并在同路径下包含相应 XAML 文件!
例如:
-https://www.baidu.com/test.json (填写这个路径)
-https://www.baidu.com/test.xaml (同时也需要包含这个文件)
直接下载文件失败(https://news.bugjump.net/News.json)
远程服务器返回错误:(404)未找到。

你edit一下把用我这个图片

不对，又修好了

不对，又修好了

5分钟极限修复

昨天凌晨2点趁各位睡觉的时候配置反向代理服务器然后被Nginx还是.Net某一个神秘bug脑袋搞炸了，一直搞到了4点没修好，干脆就不搞了，之后恢复的时候少了点东西就炸了（

6

authors: Ad-closeNN Light-Beacon MCSteve123


text:
defrecord in instarepl produces warnings

When I eval or Instarepl a defrecord in a .clj:
  (defrecord Test [])

I get a bunch of warnings in the console:
  WARNING: Symbol IHash is not a protocol at line 4
  WARNING: Symbol ILookup is not a protocol at line 4
  WARNING: Symbol IAssociative is not a protocol at line 4
  WARNING: Symbol IPrintWithWriter is not a protocol at line 4
  WARNING: Symbol IRecord is not a protocol at line 4
  WARNING: Symbol ICollection is not a protocol at line 4
  WARNING: Symbol ISeqable is not a protocol at line 4
  WARNING: Symbol ICounted is not a protocol at line 4
  WARNING: Symbol IEquiv is not a protocol at line 4
  WARNING: Symbol IWithMeta is not a protocol at line 4
  WARNING: Symbol IMeta is not a protocol at line 4
  WARNING: Symbol IMap is not a protocol at line 4

This isn't a critical issue, but since it fills the console every time I reevaluate the file it's a bit annoying.
This may be down to my limited understanding of records, protocols, and the warning system. I have not seen this behavior with other REPLs, though I suppose they may be suppressing the warning. I've looked for any information on this and no one else seems to have mentioned this exact issue.

This issue has moved to https://github.com/LightTable/ClojureInstarepl/issues/10 as the instarepl is now its own plugin

This issue has moved to https://github.com/LightTable/ClojureInstarepl/issues/10 as the instarepl is now its own plugin

authors: cldwalker ikarth

repo: LightTable/LightTable


text:
normalize: stabilize (grad) tests

As per title. Fixes https://github.com/Lightning-AI/lightning-thunder/issues/835

Took a couple of iterations to make it pass my high bar of 10k runs of each single test :)

Seems there is some xpass with strict xfail...

The failing test looks like #844 in another shape.

authors: nikitaved t-vi

repo: Lightning-AI/lightning-thunder


text:
Update pre-commit

What does this PR do?
Redo #14987.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[n/a] Did you verify new and existing tests pass locally with your changes?
[n/a] Did you list all the breaking changes introduced by this pull request?
[n/a] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda

It turned out docformatter doesn't do well on the sphinx directive: https://github.com/PyCQA/docformatter/issues/78
- .. deprecated:: v1.8.0
-     This hook was deprecated in v1.8.0 and will be removed in v1.10.0. Please use
-     ``setup_device()`` instead.
+ .. deprecated:: v1.8.0 This hook was deprecated in v1.8.0 and will be removed in v1.10.0. Please use
+ ``setup_device()`` instead.

Docs failures look real

Let me finish this tomorrow (as it's a holiday tomorrow) or this weekend.

Let me finish this tomorrow (as it's a holiday tomorrow) or this weekend.

no rush, just checking :)

Closing this as I currently have no bandwith to finish this PR...

Opened #16257 so somebody finishes the docformatter upgrade. The other actions will be upgraded in https://github.com/Lightning-AI/lightning/pull/16224

authors: Borda akihironitta carmocca

repo: Lightning-AI/lightning


text:
move lightning_app >> lightning/app

What does this PR do?
this will alow easier developing lightning in future with lower developer overhead
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda

Is the idea that one will still be able to install the lightning_app package standalone? Meaning without the pytorch dependencies and importing from lightning_app?

I believe so, and even if not this is a PoC for doing the same with pytoch and fabric

suddenly failing CI is unrelated and is being addressed in #16584

I'll re-review once these comments are addressed

So do you see any major issue (all comments were just cosmetic)?


text:
Error translation

when the inline code have some special chars, the action will run in the while loop
The special chars: []

ex:
line='Union[str, int, None]'
in the get_inline_code function, that while loop will not break

Bug are fixing...

Solved: 962b21e

repo: Lin-jun-xiang/action-translate-readme


text:
🛑 SearXNG is down

In d61763a, SearXNG (https://searxng.linerly.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SearXNG is back up in 8b0d5bb.

repo: Linerly/status


text:
Allow customizing Linuxbrew installation directory and auto-generating a file with env vars

This is useful to allow multiple independent Linuxbrew installations by the same user.

I'm pretty sure this won't be accepted.
Personally, I think all variables such as "HOMEBREW_PREFIX", "HOMEBREW_TEMP", "HOMEBREW_CACHE" should be customizable upon installation but... unfortunately it is not up to me

Sorry for the delay in my reply, Mikhail. Thank you for your effort, but to minimize the divergence between Homebrew/install and Linuxbrew/install we prefer not to accept PRs that won't be accepted upstream in Homebrew. The recommended method to install Linuxbrew in a non-default directory is
git clone https://github.com/Linuxbrew/brew $TARGET_DIR
PATH=$TARGET_DIR/bin:$PATH
brew update

authors: maxim-belkin mbautin sjackman

repo: Linuxbrew/install


text:
🛑 UCR is down

In fdad216, UCR (https://ucr.flitswallet.app/api) was down:

HTTP code: 502
Response time: 528 ms

Resolved: UCR is back up in b9cecb7.


text:
Little released version 9.10.0 and 10.1 is not released correctly

The components pom.xml is released incorrectly which makes the download of the component from maven an issue.
For 9.3.3, the pom was released as litle-sdk-for-java-9.3.3.pom (which is correct)
But for release 9.10.0 and 10.1 it was released as pom.xml . This makes the download to maven based projects fail.
Can you please release this properly?

Maven repository has been fixed for 9.10.0, version 10.0 is not release for GA, so I will not be changing the pom file at this time.

Thanks for the quick response.

While updating, I just noticed that the pom is still not correct.
The file name should be litle-sdk-for-java-9.10.0.pom and not litle-sdk-for-java-9.10.0.xml
Can you please correct this?

.pom file should have the correct extension now

repo: LitleCo/litle-sdk-for-java


text:
Different behaviour between MongoCollection.save and MongoCollection.insertOne

Hello, doing some unit tests I realised that I there are differences between MongoCollection.save and MongoCollection.insertOne.
Also worth to mention I am using native serialization.
More specifically, I connect to Mongo specifying the UUID representation as follows:
val settings = MongoClientSettings.builder()
            .uuidRepresentation(UuidRepresentation.STANDARD)
            .applyConnectionString(connectionString)
            .build()
KMongo.createClient(settings)

When I try to insert a document in the collection using insertOne all works as expected, the proper UUID codec is used and uuid is correctly represented in MongoDB.
Instead if I use save method I got
Encoding '_id' errored with: The uuidRepresentation has not been specified, so the UUID cannot be encoded.

I tried to debug a bit in the code and I see that it looks like the initial UUID codec that is set when the client is created is overridden once I call save method.
Same thing happens for updates, so updateOne() is fine while updateOneById results in the same error above.
I didn't get any issue instead in case of reading documents using MongoCollections extension methods.
Is it something expected? Is there any other workaround rather than not use the MongoCollections extension methods?

Thank you for reporting. This is a bug in kmongo native mapping. The fix is in 4.2.1-SNAPSHOT

Thank you @zigzago . Did you already plan to release 4.2.1?

A release is planned on saturday

authors: octawizard zigzago

repo: Litote/kmongo


text:
Sample Rosbag

Could you please provide the Rosbag you prepared the demos with?

Any updates on this? This would make the setup much less horrible =D

authors: Huxwell OrcunCanDeniz


text:
we need a pre equilibration function.

pre equilibration refers to the period of time where reactants and intermediate species interact until they reach equilibration, which means that the net reaction rate = 0. This function would be important because usually cells can be assumed that are in equilibrium and then a drug or ligand is applied and takes the cell from the equilibrium and generates different dynamics and responses.
For example if we have an enzyme that binds a substrate with initial conditions E0 and S0, and with want to perturbate that interaction with a drug D with initial condition D0. If we simulate the system where we put E, S, and D at the same time they are going to be out of equilibrium from the beginning and the dynamics could be completely different than when we allow a pre-equilibration phase between E and S and then we applied the drug that takes the system out of equilibrium.

It would probably have to be something like sim.equil(model). BioNetGen has a 'steady_state' argument that you can pass to the ODE simulator. It's not all that sophisticated though. You have to give it an end time and it will quit if steady state is detected. If steady state is not detected it will just quite at the end time. The 'steady_state' flag doesn't work for SSA simulations. I'm not sure what the best approach is for this but I think it could be done somehow.

I created a very rustic pre_equilibration function:  pre_equilibration(model, time_search, tolerance=1e-6, ligand=None, ligand_value=None, parameters=None). It solves that system during the time_search and returns the time to equilibration and the concentration of species at the time of equilibration so it can be passed to the as a parameter for solving the system again. I don't know how bad of idea this is... thoughts?

repo: LoLab-VU/pysb


text:
解压完汉化包之后打不开游戏

在提问之前...

[X] 我理解 Issue 是用于反馈和解决问题的，而非吐槽评论区，将尽可能提供更多信息帮助问题解决
[X] 我填写了简短且清晰明确的标题，以便开发者在翻阅 issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
[X] 我已查看最新测试版本的更新内容，并未提及该 bug 已被修复的情况

问题描述
在b站下载的汉化包，解压到目录后，打不开游戏，这次上传了log，能帮忙看下么
日志文件
Latest.log
截图
No response
还有别的吗？
No response

看不出什么，没有任何报错，所以我帮不到你


text:
🛑 SentinelDB is down

In 5dcb776, SentinelDB (https://db.logsentinel.com) was down:

HTTP code: 502
Response time: 294 ms

Resolved: SentinelDB is back up in ed7b0d8.

repo: LogSentinel/status


text:
Web Application

Epic
Web app development. Making user interfacing and designing how the web app will look. Will be wizard style application.

Option for Download or Upload
If Download:

Will have a text box to allow user to input text.
After text is inputted, app will give user a list of objects that they can choose from.

User can relabel object chosen.

After object is chosen, app will give user a list of attributes based on object.

User can relabel attribute(s) chosen.

After attribute(s) are chosen, app will display a summary confirming details:

Text entered is correct.
Object chosen is correct (as well as label if applicable).
Attribute(s) chosen are correct (as well as label(s) if applicable).

There will be a Download button at the bottom of the page.

When download button is pressed, a CSV file is downloaded.

If Upload:

Will have an Upload button.

When pressed, user should be able to select a CSV file to upload.

After CSV file is uploaded, user will confirm if detected object is correct.

If object does not have the right name, a text box will be available for user to add the right name.

After detected object is correct or fixed, user will confirm if detected attribute(s) are correct.

If attribute(s) do not have the right name, text boxes will be available for user to add the right names.

After detected attribute(s) are correct or fixed, a text box will appear to allow user to input text.
After text is inputted, app will display a summary confirming details:

Correct CSV file was uploaded.
Correct object name.
Correct attribute(s) names.
Text entered is correct.

There will be a Update button at the bottom of the page.

When update button is pressed, program will end.

User Stories

[ ] story #4
[ ] story #5
[ ] story #6
[ ] story #7
[ ] story #8
[ ] story #9

Updated the implementation requirements after some design changes were implemented.

Done.

repo: LogicCoding/EXCELsior-ExceltoData


text:
OSOE-792: Removing double escaping

OSOE-792
Fixes #319

I'm pretty sure this isn't a valid error here:
https://github.com/Lombiq/GitHub-Actions/actions/runs/7798765332/job/21268124561?pr=322

I'm pretty sure this isn't a valid error here: https://github.com/Lombiq/GitHub-Actions/actions/runs/7798765332/job/21268124561?pr=322

Nvm, they are.

repo: Lombiq/GitHub-Actions


text:
OSOE-874: Build and Static Code Analysis not showing the offending file and line for submodules

OSOE-874
Fixes #365
Note to reviewer:
This:

Under Validate GitHub Actions Refs is a fluke of the validation logic that somehow apparently trips on a changed gitignore. It's not something that needs to be fixed.
Example showing proper errors, though neither PR diff annotations, nor errors listed in the workflow summary. This also works with submodules, see here.

It's not something that needs to be fixed.

Cool, but now I can't merge it in using auto-merge. Please do it manually.

I instead fixed the bug, was easy enough. Example of it working correctly: https://github.com/Lombiq/GitHub-Actions/actions/runs/9780745061/job/27003131801?pr=366
If you approve, I'll still need to disable the branch protection rule temporarily to merge it.

authors: Piedone sarahelsaig