text:
Generation of Duplicate Identifier

This was generated for me:
    @OneToMany(type=>product_detail, product_details=>product_details.fproduct_seq_id)
    product_details:product_detail[];

    @OneToMany(type=>product_detail, product_details=>product_details.fproduct_consist_seq_id)
    product_details:product_detail[];

which gave me the error: duplicate identifier 'product_details'
Due to more than one OneToMany Relations the names do not differ and Typescript gives an Error.
I found that the Error was in the MysqlDriver.ts:301, when the name is created:
col.name = ownerEntity.EntityName.toLowerCase() + 's'

This should be chosen different.
Thanks for any help.
More Infos:
TypeORM: 0.1.6
TypeORM-Model-Generator: 0.2.2
NPM Version: 5.5.1
Node Version: 9.2.0
Used Database: MySQL
Used Mysql-Package:  2.15.0

Fixed

actually, 10 references where not enough for me. i needed 14...
Maybe put 20 instead of 10 just to be sure ?
But thank you so much for fixing it.

authors: Joniras Kononnable

repo: Kononnable/typeorm-model-generator


text:
Hero5 Black-Video Conversion not working

Problem:
I recorded a 14s clip: GOPR0108.MP4
after that, I tried to convert/cut the clip with:
http://10.5.5.9/gp/gpControl/command/transcode/request?source=DCIM/100GOPRO/GOPR0108.MP4&res=0&fps_divisor=0&in_ms=500&out_ms=2000
The Response is:
{
"version": "5.00",
"path_info": "command/transcode/request",
"query_string": "source=DCIM/100GOPRO/GOPR0111.MP4&res=0&fps_divisor=0&in_ms=500&out_ms=2000",
"error_code": -3,
"error_msg": "400 Bad Request\r\n",
"function": "gpcontrol_cgi_handler",
"line": 170
}
with the python script I tried:
gp5.getClip(100GOPRO/GOPR0108.MP4, constants.Clip.R1080p, constants.Clip.FPS_NORMAL, 0, 2000)
but here is the answer:
"
gp5.getClip(100GOPRO/GOPR0108.MP4, constants.Clip.R1080p, constants.Clip.FPS_NORMAL, 0, 2000)
^
SyntaxError: invalid syntax
"
Details:
Does In-Camera_Edit working on GoPro 5?

GoPro Camera(s): Hero 5 Black
Firmware Version: 2.60
Steps to reproduce:
Happens every time? [Y/N]:

Oh hey :)
http://10.5.5.9/gp/gpControl/command/transcode/video_to_video?source=DCIM/101GOPRO/GOPR1452.MP4&res=0&fps_divisor=0&in_ms=500&out_ms=2000
Now its video_to_video , gopro-py-api and docs will be updated.

status can be checked with command/transcode/status
http://10.5.5.9/gp/gpControl/command/transcode/status?id=433791698348

source: gharchive/issue

authors: KonradIT distancerunner

repo: KonradIT/goprowifihack

license_type: permissive

license_source: bigquery


text:
deleting a group

IMO the user should be able to delete a group - however there are some things to consider:

should groups be deleted if its last account has been deleted?
deleting an entire group sounds like a dangerous thing. Should there be a different conformation dialog? a rollback option?

No. Because if a group has large number of account, then one has to delete all accounts one by one. That would be kind of cumbersome, from usability perspective.

I think, if the group has accounts, then confirmation while deleting the group should be enough? I don't think, rollback would involve keeping the deleted data for some time & allowing users to rollback within certain time-period, which involves a bit more complexity, than the benefit one gets it from. Thoughts?

@amit-pub thanks for your thoughts on that. For the first point I think we misunderstood: deleting a group with multiple account should work without deleting each account by itself (as mentioned in point 2.). However, if the last account in a group gets deleted should the group then also be automatically be deleted - I think it should not..
Regarding your second point: I agree with you that for now a rollback is not so much required. An idea I had is similar to yours, that a some point it would be cool so have a service running in a local network and accounts could have shared permission and can be retrieved by multiple people in the networking with the right permissions. At this stage thinking about a rollback feature could make sense, yes 😄!
However for this issue I think deleting a group should be the only concern.
something like sherlock del group group-name deletes a group instantly if no account are mapped to it, else asks for confirmation, what du you think?

authors: KonstantinGasser amit-pub

repo: KonstantinGasser/sherlock

license_source: github-api


text:
Move navigation to login and settings to the right upper corner

Because in most web applications the navigation to login and settings are located in the right upper corner of the application, it would enhance the usability of Kalamar to stick to this convention.
The navigation between different setting options should stay on the left side (see tutorial).

Removed "and settings" in the title because I added an separate issue for that. See https://github.com/KorAP/Kalamar/issues/188

repo: KorAP/Kalamar


text:
Trying to setup tytools

I am having an issue trying to setup tytools because I need to use tycmd monitor, so I am doing the steps in hacking TyTools and using a mac I do the static Qt build after that's done I make install and everything goes fine with the qt build but then when I try to do cmake ../.. the follow:
amrs-mbp:darwin MiamoorZ$ cmake ../..
CMake Error at lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
 "/Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang/../../../Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang//mkspecs/macx-clang"

but this file does not exist.  Possible reasons include:

The file was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and contained
"/Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

but not all the files it references.
Call Stack (most recent call first):
lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:172 (include)
lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:88 (find_package)
lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:88 (find_package)
lib/qt5/x86_64-darwin-clang/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/FindEasyQt5.cmake:50 (find_package)
src/tycommander/CMakeLists.txt:11 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/MiamoorZ/tytools/build/darwin/CMakeFiles/CMakeOutput.log".
CMakeOutput.log

Hi,
It is a bug in the Qt build tool which I've noticed too. I need to document it. Static builds are not encouraged by Qt and there are all sorts of bugs and weird stuff when tryong to do it.
In the folder where you extratcted (and built) Qt, you need to find and change the file that contains this path: "/Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang/../../../Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang//mkspecs/macx-clang" and replace the path with "/Users/MiamoorZ/tytools/lib/qt5/x86_64-darwin-clang/mkspecs/macx-clang".
After that it should work.

authors: Koromix amralabsi

repo: Koromix/tytools

license: unlicense


text:
[API]Resource pack can't be reload.

Describe the bug
About loading FreshAnimation resource pack, in 1.0.1, it's fine, then update, game can't reload this resource pack.
To Reproduce
Steps to reproduce the behavior:

use 1.0.1 lib, load FreshAnimation resourcepack, fine.
use 1.0.2 lib, load FreshAnimation resourcepack, broken.

Expected behavior
A clear and concise description of what you expected to happen.
Should be fine like 1.0.1
Screenshots
If applicable, add screenshots to help explain your problem.
Setup config (minecraft, modloader, libraries):

Minecraft version: 1.19.2
Mod loader: forge 43.2.6
PlayerAnimator Library version 1.0.1+1.19.2 & 1.0.2+1.19.2
MC library version (e.g. Fabric API version)

Other mods (If you use other mods, please specify! it might be an incompatibility):
There are many other mods, I can't tell them all, give me some time to make binary search.
Optional:
** Used library methods, ideas (If you're a developer, what function is not working as expected)**
Add any other context about the problem here.

The result is, there is a mod named "Ars Creo", it seems the 1.0.2 lib has some issue with it, but not in 1.0.1 and below.

never mind, I just update linked mods, they work fine again.

repo: KosmX/minecraftPlayerAnimator

license: MIT


text:
add plot modification after declaration and initialization

I want to save my plot to a variable, and then add or change some parameters.
For example, I have a plot and I want to use it with different flavours
Right now, my code looks like this:
val myPlot = plot {
            line {
                x(listOf(1, 2, 3))
                y(listOf(5, 3, 1))
            }
        }

(plot.features as MutableMap)[FeatureName("layout")] = Layout(flavor = Flavor.DARCULA)
plot.save(...)

(plot.features as MutableMap)[FeatureName("layout")] = Layout(flavor = Flavor.HIGH_CONTRAST_LIGHT)
plot.save(...)

fun myPlotWithFlavor(flavor: Flavor): Plot {
   plot {
      ....
      layout.flavor = flavor
   }
}

This creates several plots
My request is specifically about changing the current one. I understand that it's necessary to limit changes to data and possibly existing layers

@AndreiKingsley can you describe about the design of the decision?

Current design:
Add Plot.configure {} extension, that allows to add new layers and modify the layout.

authors: AndreiKingsley devcrocod

repo: Kotlin/kandy


text:
Use MVVM in shared code

Hi, how use MVVM, Live Data/Mutable Live Data in shared code? I try add moko-mvvm plugin, but it not work.

Maybe ask the developers of the library you mentioned? 🤔
"Did not work" is even not the best question to get help.
On Thu, Sep 24, 2020, 2:52 PM Diy2210 notifications@github.com wrote:

Hi, how use MVVM, Live Data/Mutable Live Data in shared code? I try add
moko-mvvm plugin, but it not work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Kotlin/kmm-sample/issues/43, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ6YPLSL4VWKIENWR3BLSHM6KPANCNFSM4RYIPQDA
.

Oh, I ask and get response: moko-mvvm now in not work with kotlin 1.4.10.
Maybe released another plugin for build mvvm in shared code?

@Diy2210 moko-mvvm work with kotlin 1.4.0 and 1.4.10 too. see response - https://github.com/icerockdev/moko-mvvm/issues/63#issuecomment-698349402

repo: Kotlin/kmm-sample


text:
🛑 Kunert is down

In c98c2ff, Kunert (https://kunert.cc/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kunert is back up in 3a46567 after 19 minutes.

repo: KrisKodira/uptime-monitor


text:
merge package from arlac77/npm-package-template

package.json

chore(package): rollup@^1.5.0
chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(engines): node@>=10.15.3
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

.travis.yml

chore(travis): remove node versions 10.15.2
chore(travis): add node versions -10,10.15.3

Codecov Report

Merging #422 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #422   +/-   ##
=======================================
  Coverage   93.93%   93.93%
=======================================
  Files           1        1
  Lines          33       33
=======================================
  Hits           31       31
  Misses          2        2

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 ddc44a9...511d91f. Read the comment docs.

Codecov Report

Merging #422 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #422   +/-   ##
=======================================
  Coverage   93.93%   93.93%
=======================================
  Files           1        1
  Lines          33       33
=======================================
  Hits           31       31
  Misses          2        2

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 ddc44a9...511d91f. Read the comment docs.

Coverage remained the same at 91.489% when pulling 511d91f096d8f64b177d56e16d1e3d4955b06670 on template-sync-1 into ddc44a9232867acd267d0ff333b933a1f22a8d87 on master.

source: gharchive/pull-request

authors: arlac77 codecov-io coveralls


text:
merge package template from Kronos-Tools/npm-package-template

Updated standard to latest version

Codecov Report

Merging #73 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   83.33%   83.33%
=======================================
  Files           1        1
  Lines          12       12
=======================================
  Hits           10       10
  Misses          2        2

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 82e47db...a3eee1d. Read the comment docs.


text:
merge package from arlac77/npm-package-template

package.json

chore(package): semantic-release@^15.9.11
chore(package): travis-deploy-once@^5.0.4

:tada: This PR is included in version 4.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: Kronos-Integration/kronos-service-koa


text:
chore(npm): sync README.md from npm-package-template

badges

Current coverage is 66.66%

Merging #15 into master will not affect coverage as of b160a15

@@            master     #15   diff @@
======================================
  Files            1       1
  Stmts            6       6
  Branches         0       0
  Methods          0       0
======================================
  Hit              4       4
  Partial          0       0
  Missed           2       2

Review entire Coverage Diff as of b160a15

Powered by Codecov. Updated on successful CI builds.

repo: Kronos-Integration/kronos-service-uti


text:
Parts/Chapters again?

I found  #184 and thought it would solve my problem, so I pulled the latest code and tried again.
Unfortunately I still get only 4 mp3 files when I try to convert asin B088C4DBYP.  The total output is about 4 MB, while the AAXC file is nearly 1GB.
Here is my commandline:
$ AAXtoMP3/AAXtoMP3 --authcode 1568f10a --target_dir test --use-audible-cli-data --chaptered aax/Heavens_River_Bobiverse_Book_4-AAX_44_128.aaxc

In case it helps, here's the json file too (as a .txt because Github won't allow .json files).
Heavens_River_Bobiverse_Book_4-chapters.json.txt

I'm having the same problem - maybe it's nested chapters?

There's a fix for nested chapters, but other stuff is broken on the master branch for me. So I manually flattened the chapters.

I went ahead and did the manual flattening thing.  In case it helps anyone else, here's the structure.
This represents a single chapter nested inside a "part".  The offset and length of the "Part" is recorded after the chapter.  This is the piece of the book where the reader says something like "Part eight".  It's very short, and its starting offset is before the chapter above it.
                {
                    "chapters": [
                        {
                            "length_ms": 436832,
                            "start_offset_ms": 59056591,
                            "start_offset_sec": 59057,
                            "title": "8.1 TO BOLDLY GO"
                        }
                    ],
                    "length_ms": 3000,
                    "start_offset_ms": 59053591,
                    "start_offset_sec": 59054,
                    "title": "8"
                }

To flatten it out, move the "Part" stuff into curly braces and put it before the chapter.  I don't know if the order matters or not, but it worked for me.
Like so:
                    "chapters": [
                        {
                    "length_ms": 3000,
                    "start_offset_ms": 59053591,
                    "start_offset_sec": 59054,
                    "title": "8"
                        },
                        {
                            "length_ms": 436832,
                            "start_offset_ms": 59056591,
                            "start_offset_sec": 59057,
                            "title": "8.1 TO BOLDLY GO"
                        }

I found a simpler manual way.  Just delete the extra sections like in the screenshot... then re-run AAXtoMP3.  It looks like it then converts the whole book.  Maybe at some point I'll figure out jq syntax enough to suggest a change that does this as part of the main script.
/home/johan/Downloads/2022-07-02_scrot.png

Here you go:
[.content_metadata.chapter_info | .. | arrays[] | del(.chapters)] | sort_by(.start_offset_ms)

authors: faaarmer j2L4e jpretori

license: WTFPL


text:
refactor: Make more consistent with other kuadrant operators

Keep Makefile consistent with other operators
Remove gateway prefix from commands and make targets

This PR is stale because it has been open for 60 days with no activity.

This PR was closed because it has been inactive for 30 days since being marked as stale.

authors: mikenairn philbrookes


text:
macだと複数行のフォーマットができない問題

おそらくコピー時の改行コードの関係だと思われる。

ノーブレークスペースの問題だったようだ

repo: KubotaDaiki/colab-formatter


text:
安卓生成图片带有换行符文字不换行

安卓表现如下

IOS表现如下

另外若若的问一句，为啥安卓会有些字符无法识别变成？有何种解决方案么？

是啊，这个是需要加入的 feature，目前换行符不支持

目前已支持

authors: CPPAlien ichizi

repo: Kujiale-Mobile/Painter


text:
Login on Admin

Check if you are logged-in already, by using API-Endpoint:
/api/v1/auth/status
if not, show a Login-Screen, which send a request to:
/api/v1/auth/login

if logged-in show username (fetched by /api/v1/auth/status)

solved in fa0dfa8d87040e0930bc2c303a66cb072cf2bf86

Known Bugs:

Login with Enter
if logged redirect to Admin

repo: Kukoon/media-ui


text:
集成Paging3时，paging3 不生效，无法进行网络请求操作

在项目中集成 Paging 3，但用在这个框架里发现并不能触发请求操作，参考代码如下：
// interface apiService
@GET("/xxx/xxx")
fun getList(@Query("page") page: Int,@Query("num") num: Int): Call<List<TestBean>>

// PagingSource
class TestPagingSource(private val apiService: ApiService) : PagingSource<Int, TestBean>() {
    override fun getRefreshKey(state: PagingState<Int, FaultLogBean>): Int? = null

    override suspend fun load(params: LoadParams<Int>): LoadResult<Int, TestBean> {
        return try {
            LogUtils.e("paging load")  // 2. 并没有走这里的方法
            val page = params.key ?: 1
            val pageSize = params.loadSize
            val testList= apiService.getList(page, pageSize).await()
            val prevKey = if (page > 1) page - 1 else null
            val nextKey = if (testList.isNotEmpty()) page + 1 else null
            LoadResult.Page(testList, prevKey, nextKey)
        } catch (e: Exception) {
            LoadResult.Error(e)
        }
    }
}

// TestRepository
val pageSize = 10
fun getTestList(): Flow<PagingData<TestBean>> {
    return Pager(
        config = PagingConfig(pageSize),
        pagingSourceFactory = { TestPagingSource(apiService) }
    ).flow
}

// intent or event
sealed class TestEvent {
    data class GetTestList(val pagingData: Flow<PagingData<TestBean>>? = null) : TestEvent()
}

//  dispatcher
class TestRequester : MviDispatcherKTX<TestEvent>() {
    ...
    is TestEvent.GetTestList -> sendResult(event.copy(testRepo.getTestList()))
}

// ui
class TestFragment {
    override fun onInput() {
        testRequest.input(TestEvent.GetTestList()) // 1. 触发请求
    }

    override fun onOutput() {
        // 3. 这里收不到消息
        testRequest.output(this) { testEvent ->
            // ...
        }
    }
}

如果用传统的 ViewModel 测试是没问题，可以触发，参考代码如下：
// viewModel
@HiltViewModel
class TestViewModel @Inject constructor(
    private val testRepo: TestRepository,
) : ViewModel() {

    fun getTestList(): Flow<PagingData<TestBean>> {
        return testRepo.getTestList().cachedIn(viewModelScope)
    }
}

// ui
class TestFragment {
    override fun onInitView() {
        lifecycleScope.launch {
            testViewModel.getTestList().collect { adapter.submitData(it) }
        } // 这边是ok的
    }
}

//  dispatcher
class TestRequester : MviDispatcherKTX() {
...
is TestEvent.GetTestList -> sendResult(event.copy(testRepo.getTestList()))
}
可以看看此处的 testRepo.getTestList() 后边是否遗漏了 .cachedIn(viewModelScope) 所致，
另外 paging 和 Dispatcher 属于同级的领域层组件，有自己独立的 flow 作为返回，适合传统方式使用，而非走 Dispatcher 的 input output。

//  dispatcher
class TestRequester : MviDispatcherKTX() {
...
is TestEvent.GetTestList -> sendResult(event.copy(testRepo.getTestList()))
}
可以看看此处的 testRepo.getTestList() 后边是否遗漏了 .cachedIn(viewModelScope) 所致，
另外 paging 和 Dispatcher 属于同级的领域层组件，有自己独立的 flow 作为返回，适合传统方式使用，
如果要走 Dispatcher 的 input output，建议是使其成为普通的实体类对象传入和回推。

// dispatcher class TestRequester : MviDispatcherKTX() { ... is TestEvent.GetTestList -> sendResult(event.copy(testRepo.getTestList())) }
可以看看此处的 testRepo.getTestList() 后边是否遗漏了 .cachedIn(viewModelScope) 所致，

和这个没关系的。
主要原因还是在 viewModelScope 作用域中并不能成功消费 PagingData，只能在 Activity 或者 Fragment 中 collect 才会触发paging3中数据请求，因此在 Dispatcher  中也无法分发 PagingData。

（对此可参考 complexRequest 案例：is ComplexIntent.ResultTest2 -> timer(1000).collect { sendResult(event) } ）

这个案例用在 PagingData 的回推也是无效。

感谢反馈，暂时建议传统方式。后续如有破局的好招，欢迎随时补充。

authors: KXwonderful KunMinX

repo: KunMinX/MVI-Dispatcher-KTX


text:
Ilman kirjautumista sivulle pääsyn toteuttaminen

Nykyinen tilanne ei salli ohjelmaan pääsyä kirjautumatta. Shibbolethiin on kuitenkin luotu route /esitieto/public , joka ohjaa kirjautumatta sivulle. Tämä ei kuitenkaan toimi tällä hetkellä, koska sen route on tuo /esitieto/public , jolle ei ole tällä hetkellä rakennettu ohjelmaan reititystä.
Miko kyseenalaista tämän ominaisuuden tärkeyttä. Kuitenkin suuri osa käyttäjistä, jos ei kaikki, tulee olemaan opiskelijoita.

Tällä hetkellä /esitieto toimii ilman kirjautumista ja /esitieto/kirjauduttu olisi tarkoitus toimia kirjautumissivuna. Jostain syystä kuitenkin sovellus ei promptaa kirjautumaan. Mahdollisesti, koska redirect tapahtuu välittömästi osoitteeseen mennessä, jonka vuoksi Shibboleth ei edes huomaa /esitieto/kirjauduttu reitissä käymistä.


text:
refactor: bump karpor version 0.3.23 => 0.3.29

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

/lgtm

authors: elliotxx ruquanzhao

repo: KusionStack/charts


text:
[WIP] docs: add abstraction documents for KCL.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

docs: add abstraction documents for KCL.

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

From the examples, i know the KCL can flexibly represent typed structured data.
But why abstract the schemas in the app.k file, the article doesn't give much more reason.
The article gave too much Render code, and these code is too complicated.

From the examples, i know the KCL can flexibly represent typed structured data. But why abstract the schemas in the app.k file, the article doesn't give much more reason. The article gave too much Render code, and these code is too complicated.

Thank you. Let me take a look and add a simple reason for the schema App, then hide and simplify the render code.

The user guide is too complicated for end users. Could you please just provide the necessary info to them, what is the MUST-to-know, and hide the rest? I think end users should not know the App schema and render code details in the first place, maybe you can put the complex in a KCL module? They should know how-to and the benefits of it first, and then show the code details if they are interested. Another suggestion is trying to simplify the code as a user.

authors: Peefy chai2010 ldxdl


text:
If set Images per Prompt > 8 it causes RuntimeError: upsample_nearest_nhwc only supports output tensors with less than INT_MAX elements

kolors/lib/python3.8/site-packages/torch/nn/functional.py", line 3922, in interpolate
return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)
RuntimeError: upsample_nearest_nhwc only supports output tensors with less than INT_MAX elements

You may fix it with pipe.enable_vae_slicing()

repo: Kwai-Kolors/Kolors


text:
text_on_image Creator - Web design #54

https://images01.nicepagecdn.com/page/30/06/html-template-300652.jpg Design a text_on_image like the above image
Create a file "text_on_image_NUM_by_(YourName).html" in the modules/text_on_image folder.
Use simple HTML and CSS and JAVASCRIPT to create the text_on_image animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "text_on_image_NUM_YOUR_NAME_.html" in the "modules/text_on_image" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/text_on_image/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
<div>
    <!---YOUR CODE---->
</div>

<style>
    /* YOUR STYLE */
</style>

<script>
    // YOUR SCRIPT if any
</script>

The goal of this issue is to create modules that other people/dev/designers can use or easily import into their projects. Avoid the desire to style all elements in the page by using codes like:
<style>

*{

}
/* OR */

div, a, h1, pre{

}

</style>

use classes or id to style the elements to avoid a collision of styles.
Remember to make your module usable across different screens(Make your design responsive).
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck and thank you.

Hey @NtemKenyor I am working on this issue.

i am interested in it and i have started working on it.

It is exciting to work on this. I have completed the page and and my PR: https://github.com/KwickerHub/WebCraftifyAI/pull/758

@NtemKenyor I am interested in this. I have started working on it.

authors: Jattulu NtemKenyor atallur2001 lchauha rahulchanumolu

repo: KwickerHub/WebCraftifyAI


text:
Sciserver-Compute job failed with unkown error message

2020-04-21 16:07:04,215 - PreProcess - DEBUG - Loading new checkpoint, as the last checkpoint was updated.
2020-04-21 16:32:22,251 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:32:32,341 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:00,438 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:10,215 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:19,417 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:28,777 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:28,916 - PreProcess - ERROR - Error on process with pid 1167,
2020-04-21 16:33:31,990 - PreProcess - ERROR - Error on process with pid 1167,

May be this has to do with extraordinary large (190MB) Checkpoint (just a hunch) that's being loaded to and from memory. Some sort of chunking or alternative strategy to lookup objects on disk should be utilized.

Upon downloading the checkpoint from sciserver-files and loading it using Pickle fails with Memory error as expected.
Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('./preprocessing/sdss')
>>> import pickle
>>> with open('537633291.ckpt', 'rb') as obj_pkl:
...     ckpt = pickle.load(obj_pkl)
...
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
MemoryError
>>>

Other libraries (like joblib) should be investigated for running the pipeline, as pickling will no longer be viable for running the pipeline.

Although, joblib provides an alternative, a better way to handle this is save objects as chunks(in separate files) and metadata on  a single textfile containing keys for the objects saved in checkpoints. That way, each checkpoint gets to have its own pickle file and will not cause memory issues.

There are some issues with using this checkpointer like:

Not saving checkpoint steps accurately. Most probably using a multiprocessing.manager.Queue().empty() is not relaible according to the documentation.

repo: KyleAMoore/Redshift-ResNet


text:
Cannot detect my customized snippets when use lazy_load(), but friendly-snippets can be detected

My snippets folder are put in ~/.config/nvim,
it's like:
nvim/
├─ snippets/
│  ├─ package.json
│  ├─ python.json

my package.json looks like this:
{
    "name": "snippets",
    "engines": {
      "vscode": "^1.11.0"
    },
    "contributes": {
      "snippets": [

        {
          "language": "python",
          "path": "./python.json"
        }

      ]
    }
  }

my config.luasnip is
require("luasnip.loaders.from_vscode").lazy_load(),
But if I change config.luasnip to
require("luasnip.loaders.from_vscode").lazy_load({paths = {"~/.config/nvim/snippets"}})
then I can load my customized snippets but I cannot load friendly-snippets.
so I don't know what I am doing wrong here.
I am using nvim-cmp, and the related config is:
    snippet = {
        -- REQUIRED - you must specify a snippet engine
        expand = function(args)
            require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
        end,
    },

How can I load them both?
Thanks for your help!
nvim --version
NVIM v0.7.0-dev+1356-g75ff156d9
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by northyear@Encroachments.local

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/HEAD-75ff156/share/nvim"

Run :checkhealth for more info

luasnip is at commit 9017e57925eecedbbd530dd4f913ee8135611d25

You should be able to call the two:
require("luasnip.loaders.from_vscode").lazy_load()   -- this will load the default paths
require("luasnip.loaders.from_vscode").lazy_load({paths = {"~/.config/nvim/snippets"}})  --this will load yours

internally lazy_load takes care of not loading the same path twice.

This works! Thank you!

I had an issue with my custom snippets no longer loading since a couple months back and I finally looked into it, and it seems as if
luasnip.filetype_extend('all', {'global'})

isn't respected if I use lazy_load(). If I switch in your code above from lazy_load() to load() it works however.
This is what ~/.config/nvim/snippets/package.json looks like:
{
  "name": "snippets",
  "engines": {
    "vscode": "^1.11.0"
  },
  "contributes": {
    "snippets": [
      {
        "language": [ "global" ],
        "path": "./global.json"
      }
    ]
  }
}

Is this a bug?

authors: melkster milanglacier


text:
Téléchargement KO via Application Google sur iOS

Bonjour,

Sur iOS
Sur l'application Google (pas Google Chrome) mais bien "Google" : https://apps.apple.com/fr/app/google/id284815942

Le message : "L'attestation est téléchargée sur votre appareil" apparait en bleu en bas de l'écran.
Mais ensuite où trouve t-on le fichier ? Car pas de dossier téléchargement sur cette app "Google"
Merci

Bonjour, L'attestation s'affiche-t-elle au sein du navigateur ? ou vous constatez seulement le message sans pouvoir retrouver l'attestation générée ?

L’attestation ne s’affiche pas du tout. Juste le message en bas et impossible de savoir où la récupérer ensuite.
Aucun problème que safari.
Ni sur Google chrome.

Reproduit sur iOS 10.3.3 et Google Chrome 71.0.3578.89, message affichée mais aucune attestation.
Pas le soucis sur Safari.

authors: gijosso infosteph thebear45800


text:
CLI compatible?

Hi, I like your ADIF tool very much, it helps me out merging logs from portable operations.
But is it also possible to run this tool from command line?

As of now, the program is not runnable in the CLI. If I get a little free time I will try to build a version with command line arguments. I will probably just end up rewriting it in C or C# if I do that.

repo: LCAllen/ADIFMerge


text:
UX for fielded and faceted Advanced Search of Sinopia data

Add advanced search options for users who would like to be able to refine their search by facets (for Sinopia only, search of external data sources limited to keyword search). Specific details to come.

Does our basic search need to be BIBFRAME aware? Can we add contributor and title? (but we don't know what a contributor is. We just know RDF)

user requests from April 5, 2021, Sinopia User Group meeting:

add ability to search by institution who created the description and by user who created it; this is especially important for training and review
search by author and title

The first checkbox could be 'Select all'. If you check that first box, then all boxes in that section are selected. If you un-check it, then none of the boxes are selected.

authors: astridu michelleif


text:
🛑 [Email] Fastmail (@rongyi.xyz) outbound is down

In f67cb85, [Email] Fastmail (@rongyi.xyz) outbound (smtp.fastmail.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [Email] Fastmail (@rongyi.xyz) outbound is back up in efcee02 after 6 minutes.


text:
Fixed and cleaned autos

This pull request includes the follow changes:
Since the auto fulcrum and auto aim have been tuned, there is no distinction between AIM_ autos and regular autos. Therefore, there is only one Mammal Egg, one Cod, one Platypus, and one Snake.
Moreover some autos were improved and renamed to better reflect the current system:
GetOutOfTheWay -> Squid (it is VERY similar to Cod)
Smart Zebra -> Horse (includes advanced auto aiming and far note capabilities)
Test -> Guinea Pig (auto names every note)
Lastly, all paths were checked to insure no egregious and unintentional changes due to way point linkage. All should be good, double checking never hurts.
The orange intake light now flashes to make it more noticeable to drivers, this can be changed if flashing is too fast.

Additionally, a slower reverse intake was created for autos called autoreverseintake. This is to ensure the note doesn't get stuck during auto run. Has been tested, works.

Lastly, AutoShootAndFulcrum now sets the fulcrum to go down after shooting. This makes multiple autoshoots possible in auto.


text:
Improve CI

It'd be nice if CI could check..

[x] algorithm quality, using a custom framework (TBD) done in a separate tools/report/quality script
[ ] algorithm performance checks using iai
[x] code coverage using grcov or tarpaulin -- done in #152
[ ] ABI stability using protodump

Also see https://github.com/dawidd6/action-download-artifact which would help show results of diffs in perf/quality (coverage would be handled by a third-party tool (TBD))

Looking at iai, it might not be possible/useful until CI can run on a specific CPU.

GitHub hosts Linux and Windows runners on Standard_DS2_v2 virtual machines in Microsoft Azure
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#cloud-hosts-for-github-hosted-runners

DSv2-series sizes run on the 3rd Generation Intel® Xeon® Platinum 8370C (Ice Lake), Intel® Xeon® Platinum 8272CL (Cascade Lake), Intel® Xeon® 8171M 2.1GHz (Skylake) or the the Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell), or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors
https://learn.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series#dsv2-series

repo: LIHPC-Computational-Geometry/coupe


text:
https://mvapich.cse.ohio-state.edu/static/media/mvapich/README-OMB.txt

OSU benchmark test case development. It is about MPI performance.

PR #816


text:
Add UMAP allocation resource

This adds UMAP as a memory resource for Umpire.  When enabled via '-DUMPIRE_ENABLE_UMAP=On', the umpire configuration will look for an installation of umap pointed to by -DUMAP_ROOT=path.  When built, the the FileMemory object will be configured to use UMAP instead of MMAP for its allocations.
For CI, build-only testing is current all that is supported.  Further testing will be enabled when TOSS4 rolls out and we have full read/write access to the userfaultfd capabilities in Linux.

@davidbeckingsale - This PR is now ready for your review.  Assuming that the build passes, it will have run a build-only CI of Umpire with UMAP enabled as previously agreed upon.  We can update to a more complete set of CI when TOSS4 has been deployed.

repo: LLNL/Umpire


text:
Make fmt header-only by default

Allows user to define preferred fmt target using UMPIRE_FMT_TARGET variable.

Is there a good way to test the various supported fmt external vs. submodule combinations? @adayton1 will you check your use case?

Is there a good way to test the various supported fmt external vs. submodule combinations? @adayton1 will you check your use case?
Does/should Umpire have a build_with_cmake test for each case, submodule and external fmt?

Umpire has a `

My bad, clicked the wrong button.

I'll update the Dockerfile so we have an Azure build that tests the install against the submodule.

This is ready to go!


text:
Slack invite is no longer valid

The Slack URL is a dead link.  Please update with an active URL.  Current (dead) is: https://join.slack.com/t/zaphq/shared_invite/enQtMjc5Njg3NjU5MzMzLWE1M2RiNjYxNWEyMTRjMzhmZDIyNTQ0YTRjNDg4MWNiMzI1ODNlODhhMzE5ZWVmMGVkOWVkMTVmNzBhNDhiZjQ

It is not working again.

authors: coolpick sairion

repo: LN-Zap/zap-desktop

license: mit


text:
fix(lnd): don't reset lnd state on hot-reload

Description:
Do not reset the lnd state when DialogLndCrashed unmounts (this only happens during hot reload).
Motivation and Context:
When the app hot reloads (in development mode), the lnd state is currently being reset and the user is sent back to the launchpad. This causes a broken app state since lnd is actually still running but the app thinks that it isn't.
How Has This Been Tested?
Trigger app hot reload and verify that user is not thrown back to the launchpad.
Types of changes:
Bug fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.002%) to 21.048% when pulling bd1f0982ad0632e8bfc0ee30b87a4efc906ab370 on mrfelton:fix/dont-reset-on-hot-reload into 35006271447bbf6b5f936023b266a87e832044d5 on LN-Zap:master.

authors: coveralls mrfelton


text:
refactor(grpc): use @grpc/proto-loader

Fix grpc depreciation warning from grpc.load:

grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead

Fix #621

Pull Request Test Coverage Report for Build 1152

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

Totals

Change from base Build 1146:
0.0%

Covered Lines:
357

Relevant Lines:
897

💛  - Coveralls

Tested ACK d7064f0

authors: JimmyMow coveralls mrfelton


text:
Separate CowHelper and stringly macros to other crates?

I'm now writing an independent project that could make use of these little helpers but depending on rust-amplify is too much (also I want MSRV to be at most 1.41). Rather than copy-pasting I'd like to separate them to their own crates and refactor them for higher quality. I'm willing to do the work of course.
Suggested changes:

Rename CowHelper to TryFromStrHelper and move to a crate called serde_try_from_str_helper
Make sure the documentation is understandable.
impl<'a> From<Cow<'a, str>> for TryFromStrHelper<'a>- this and the following impls may be useful for a fancier deserialization and looks nicer
impl<'a> From<TryFromStrHelper<'a>> for Cow<'a, str>
impl<'a> AsRef<Cow<'a, str>> for TryFromStrHelper<'a>
impl<'a> AsMut<Cow<'a, str>> for TryFromStrHelper<'a>
impl<'a> Borrow<Cow<'a, str>> for TryFromStrHelper<'a>
impl<'a> BorrowMut<Cow<'a, str>> for TryFromStrHelper<'a>
impl<'a> AsRef<str> for TryFromStrHelper<'a>
Maybe instantly stabilize (1.0) because of simplicity?
Move the macros to a crate called stringly_conversions
Define compatibility rules: when we can add another type to the "standard" macros? Suggested rules:

We can add a type added in std at any time.
We can add a type from another crate, where the type was introduced in a release not older than 24 hours.
Crate authors who wish to be added must reach out before releasing a new version.

Do not stabilize yet - announce it and wait for wider Rust community to suggest additional types.

Questions:

Should these crates belong to LNP-BP org? I don't see a problem rigth now but LMK if there's some.
Do the names make sense?
Are there other things that should be changed?

I think overall idea is great!
Few considerations/questions:

I do not understand Cow name, what it mean other than an animal :)
I am a bit afraid of crate names of big length with a lot of _ inside. May be a single serde_helpers crate with all this blocks (like try_from_str) as a features?
I will be happy to have it under LNP/BP! Can we also make it a part of this repo workspace just to reduce the number of different repos all around? Also, the whole idea of amplify crate is to have this small different additions to the core, std and serde libs that are useful everywhere, so I am ok with even having it as a just feature under the main amplify crate. If you don't need the rest of features, I think it will be good to convert each amplify mod to a feature, so users can take only those they need. This is especially important in crypto projects, where each dependency is a huge concern, and having many of them are very not welcome in the community.
Version 1.0 - agree; regarding waiting for the community - can start it as a sub-crate here with some minor version and later convert it to the feature under main crate (which is already more or less stabilized)
The rest looks fine to me!

@Kixunil btw you are already a member here in LNP/BP org as a part of "core devs" team with all necessary rights to admin this repo

Regarding rustc 1.41 support: it's done https://github.com/LNP-BP/rust-amplify/pull/8

Cow is short from "Clone on write" and it was previously called CowHelper becuase it contains Cow. However naming it by what it does instead of how it's implemented is much better. :)
I prefer short names as well but not at the cost of clarity. Maybe serde_str_helpers?
The fear of raw count of dependencies is misplaced IMO. Raw count is mostly meaningless. More relevant questions should be: How many lines of code are there? How many people maintain it? What's the reputation of those people? If the answer is "we have two more very simple crates from reputable people" I don't see a huge problem. To the contrary, it's easier to review the source code of a small crate than the source code of large crate with features. (Do the features really turn off everything not needed?) I do understand that the fear of dependencies is historically developed because there weren't great dependency managers before cargo but I don't see a good reason to stall development in this area. That being said, keeping it in a single git repository (at least for now) sounds fine.

Decided to call the type DeserStrHelper to more clearly convey that the point is deserialization, not conversion.

I see  DeserStrHelper👍🏻
serde_str_helpers is fine!
You are absolutely right. However, as a consequence of what you said, you have to count absolute number of deps as a number of "points of trust" to a team/maintainers (one per dep), so it also matters a lot.

Rght, I was thinking that having a tool to do the counting would be nice. Maybe something for cargo-audit

So since you want to support < 1.41.1 I will need to add a feature (I'll call it rust_1_41) since I also implemented From<> for Cow. Without the feature, only Into will be implemented.
I have also decided to not implement AsRef and similar things that leak internal representation in case we want to change it (e.g. using insane String trick with capacity = 0).
I'm almost done with helpers crate.

So since you want to support < 1.41.1 I will need to add a feature (I'll call it rust_1_41) since I also implemented From<> for Cow. Without the feature, only Into will be implemented.

Don't worry about that for now; I do not know how to get < 1.41.1 working and do not require it. So it will remain as a WIP PR #9  for now, and if one day we will get it worked, then we will add a feature rust_1_41. I will leave a note there

@Kixunil and you are welcome to merge #8 before opening your PR, if you are ok with it

So I tested From with 1.39 to see if it actually breaks. Turns out it doesn't, presumably because of the type not being generic. So I'm removing the feature.

And regarding dependencies management here the approach I take: I comment a lot in Cargo.toml and then re-checking everything with each release (only in mission-critical libraries, of course, not everywhere):
https://github.com/LNP-BP/rust-lnpbp/blob/master/Cargo.toml

authors: Kixunil dr-orlovsky

repo: LNP-BP/rust-amplify


text:
Organization report data localization

currently, only the English names are coming into the reports
we need to get the organization names in Sinhala and Tamil as well

completed.

authors: MrClemRkz YujithIsura

repo: LSFLK/request-management


text:
Issues/127/true nz

Problem & Solution Description (including issue #)
Code Quality

[ ] My code follows the code style of this project
[ ] I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
[ ] My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
[ ] Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings

Still need to add tests.


text:
Notebook organization

We now know that the LSP JupyterLab instance has a special "notebooks" folder in each user's home directory, which is where they are advised to keep their notebooks. the DMStackClub repo should be cloned into there, but then the club notebooks should be kept in informatively-named subfolders  (rather than another "notebooks" folder). In this PR we will start this organization scheme based on the topic list.  I suggest we implement the following directory structure:
DMStackClub/GettingStarted
DMStackClub/Visualization
DMStackClub/ImageProcessing

and so on. I've started an index table in the README to explain this, and help people find the right notebooks - as well as including the link to the topic list google doc. I have not yet started the actual re-org - we need to merge the existing PRs first. Comments welcome!

OK, folder names seem OK with everyone, merging.

repo: LSSTScienceCollaborations/DMStackClub


text:
Updating gen3 butler notebook to v20

Created a repo with w_2020_22, which should correspond to v20.0.0. @DouglasLeeTucker would you be able to review this?
Working toward #236

Will do!  --DLT
From: Alex Drlica-Wagner notifications@github.com
Reply-To: LSSTScienceCollaborations/StackClub reply@reply.github.com
Date: Monday, August 10, 2020 at 1:26 PM
To: LSSTScienceCollaborations/StackClub StackClub@noreply.github.com
Cc: Douglas L Tucker dtucker@fnal.gov, Mention mention@noreply.github.com
Subject: [LSSTScienceCollaborations/StackClub] Updating gen3 butler notebook to v20 (#243)
Created a repo with w_2020_22, which should correspond to v20.0.0. @DouglasLeeTuckerhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_DouglasLeeTucker&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=043CcKrltbhqbAJwwU_0iJ9JEum-Xk70Ztc8BAQDwPM&e= would you be able to review this?
Working toward #236https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_issues_236&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=6HzRWDUCgyaclrvfvChBU_5kU0iS-LawzalPJqCvgVo&e=

You can view, comment on, or merge this pull request online at:
https://github.com/LSSTScienceCollaborations/StackClub/pull/243https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_pull_243&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=v4rCSdzQhkyKjZ6rTghLC1RbRqm6QDh1bgNTMiEQMqc&e=
Commit Summary

not actually v20, but w_2020_30
working with v20

File Changes

M Basics/Gen3ButlerTutorial.ipynbhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_pull_243_files-23diff-2D92356ec3ede1781ec8682aaed4ba75b4&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=aCw6kBGmZG8FLnNGlegC6wu4gDKRMcPozDEW9YjlO_Y&e= (10)

Patch Links:

https://github.com/LSSTScienceCollaborations/StackClub/pull/243.patchhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_pull_243.patch&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=yPVDNc28ReRMpBIQzcvKdKTG-1cvoYpB7M0PGyFC_Uk&e=
https://github.com/LSSTScienceCollaborations/StackClub/pull/243.diffhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_pull_243.diff&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=5dvjYEmoOFcCoxULJhcVied7QnljD52aBBKNu_cSGJU&e=

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LSSTScienceCollaborations_StackClub_pull_243&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=v4rCSdzQhkyKjZ6rTghLC1RbRqm6QDh1bgNTMiEQMqc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AARAHOOZOI5IPILDJGWMD4DSAA3VXANCNFSM4P2HIKRA&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=R-57Mm7OJX1IswbY4ezVTQ&m=QPLaTOcwhhk-Qh373brNLVHA5_axQVlff_UXD73KUWI&s=P1FjZz5fMDZsxbNcZaLEyMI7ePAM-e4iGaB4Y85Ku5c&e=.

authors: DouglasLeeTucker kadrlica

repo: LSSTScienceCollaborations/StackClub


text:
NVOGLV64.dll Crashes

I am receiving NVOGLV64 crashes with LWJGL 3.1.0.  I am not getting any log files to reference and find the reason for the crash.  Can anyone give me any insight as to why this would happen?
GPU: GeForce GTX 1070 (latest drivers)

Are the crashes random or easily reproducible? Could you reduce your program to something simple that you can share and reproduces the crash?
Can't help you more without additional information, other than mentioning the basics:

Create a debug OpenGL context and register a debug callback (e.g. with GLUtil.setupDebugMessageCallback()).
Enable LWJGL's debug mode (with -Dorg.lwjgl.util.Debug=true or Configuration.DEBUG.set(true)).

See the Troubleshooting page in the LWJGL wiki for more information.

I adapted LWJGL's GLUtil class to this: https://gist.github.com/httpdigest/5178da20f32b05700e7f957cdbdc94e8
to synchronously get an exception stack trace.

Working so far.  I will let you know how that does @httpdigest .  Thank you so much!  Do you mind if I adapt this for my own needs?  If so, shoot me a link to the license for the code.

Resolved.

Sorry for the reopen, but the issues have reappeared.  All I get now is the "Notification" messages when I load models and textures, but there is nothing that points me to a specific issue.

Yeah, sorry. The DebugCallback implementation in the Gist should of course first check for "ERROR" type and only then throw the exception. I modified the linked code, also including proper license.
If by notification messages you mean something like this: NOTIFICATION API OTHER: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
then this is normal and can be ignored.

Yup.  I have ignored those, but they are very helpful. Those are the only notifications I get now, even when I am using the GLUtil implementation of it.  Not sure what else could be the issue.  I have found no way to reproduce the error consistently.

Try -Dorg.lwjgl.util.DebugAllocator=true and -Dorg.lwjgl.system.allocator=system (if you're using jemalloc).

I am not using jemalloc.

Update:  Went to 3.1.1 and it currently seems to work.  I will keep you all  posted.  Thanks to everyone for their help thus far!

Found the error.  Not all of the natives linked properly, but I have that issue fixed.  Thanks for the help all.

authors: Spasi dragonslayer0531 httpdigest


text:
有问题！

大佬能不能把点的歌曲信息导出到一个文档方便obs读取？
顺便吹一波太强了 自带解锁
我还在找方法怎么用unblockneteasemusic代理点歌机=-0

我tm当场关闭问题!

repo: LXG-Shadow/BilibiliAudioBot


text:
joystick cleanup

joystick is not strictly motion (imaging etc), move it out of the motion package
how joystick config is done is not consistent with other objects / current direction. Ex: how defaults are done. Review
Joystick should not print any warning messages
pygame required? Probably best to avoid conditional imports unless we really need them
Joystick direction is inconsistent with keyboard jog. Ex: if I press "D" I expect it to do the same thing as moving stick right. Need scalars or something to let user customize to what they expect. Probably a good time to add the global "invert" flag we've discussed

I've merged in a major change that added a few improvements:

Config is now more inline with rest. Additionally it has default mappings now for several joystick models
pygame is now strictly required

Other: concerns about joystick thread safety. Should not access (read or write) any GUI elements from other thread

joystick thread safety concerns resolved. Open new tickets for remaining issues

I only did the base functions, but forgot that microscope.py also directly controls the GUI

Did some more cleanup: Joystick now only deals with Microscope, not ArgusCommon. There are still two functions that are not thread safe:

take_snapshot
set_jog_scale

I made a token effort to fix these but didn't test them. Marking as fixed for now, lets debug as needed

repo: Labsmore/pyuscope


text:
LibWeb: Resolve background size and offset only after style invalidation

This change fixes layering violation by moving to_px() calls to happen before display list recording. Also it should make display list recording a bit faster by resolving background properties beforehand.

ref #992

authors: kalenikaliaksandr nico

repo: LadybirdBrowser/ladybird


text:
App crashing

When ever I try to refresh all updates on the Download Tab using a swipe down the app crashes straight away..
The only way I can get new chapters is by pressing the refresh button on every novel individually...
This just happend out of nowhere with no major changes to the device..
It might have happend due to a new subscribed novel but I don't know which one..

smells like too many enties, causing mem or cpu max

smells like too many enties, causing mem or cpu max

Is their a maximum number that the auto refresh can handle?
All other functions work correctly other than some different sites misbehaving..

smells like too many enties, causing mem or cpu max

Is their a maximum number that the auto refresh can handle?
All other functions work correctly other than some different sites misbehaving..

There is no set limit, however refreshing does a get request for every entry and that takes both a lot of mem and cpu. how much a device can handle is dependant on how good hardware. I might be able to fix this by rate limiting, but atm it just sounds like out of memory crash

Should be fixed

authors: LagradOst kodoor

repo: LagradOst/QuickNovel


text:
Formatting for pre-game rules is broken under certain configurations

Additionally, incorrect unit of time used.

Remedied in 86cfa06 and b7bdd40. Keeping this open because I'd like to carry over the same time units introduced in 9ef0c7c.

repo: LakeYS/Discord-Trivia-Bot


text:
Response time v2

Description
Improves model response time (tests locally are running in under 2 seconds!). Refactors Recommender class as well as updates to use new DB with updated schema.
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] unittest
[X] local testing

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
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] 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

tests locally are running in under 2 seconds

That's really incredible!

authors: bendevera moviedatascience

repo: Lambda-School-Labs/Groa-ds


text:
chore: table creation

Table Creation
created tables:

Transaction
Budget
budgetCategories
goalProgress

-updated profile table
https://trello.com/c/YX7Oqw9v/61-backend-table-creation

 Backend: Table Creation


text:
add testing integration

Description
Adds unit tests to validate our code is functioning properly.
Type of change

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

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[x] Incomplete/work-in-progress, PR is for discussion/feedback

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
[x] 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
[x] 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
[ ] There are no merge conflicts

 Create unit tests for frontend components


text:
added track table and prediction model

Description
added track table and its routes and prediction model route
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

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

works

authors: jschaben mohdraz

repo: Lambda-School-Labs/djhelper-be


text:
added org migration and employee migration and seeded emp and org tables

Co-authored-by: emilybruner bruner.emilym@gmail.com
Co-authored-by: vtellez1 vanessatellez45@gmail.com
Co-authored-by: bamfranceschi anna.franceschi@gmail.com
Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

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

 organization and employee migrations

authors: AndrewMaddocks keveightysev

repo: Lambda-School-Labs/kansha-be


text:
Made simple react app to serve as a starting point for our frontend development.

Description
Made simple react app to serve as a starting point for our frontend development.
Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?
Deployed staging branch worked as expected.
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
[x] There are no merge conflicts

 Set up frontend staging and production environments

repo: Lambda-School-Labs/travel-mapping-fe


text:
feature/hiter-harris/adding-new-file

Practicing creating a new branch, adding a new file to the project and pushing it to the repo.

Merged to the wrong branch


text:
Connor Blanco Develop Branch Sprint Challenge

@camilamdaniels
This is the Sprint Challenge for Saturday 7/28/2018

Assessing Your User Interface and Git Learning
Task 1: Set Up The Project With Git

[ ] Fork the project into your GitHub user account
[ ] Clone the forked project into a directory on your machine
[ ] Create a branch called develop on your local build
[ ] Set your HEAD to your newly created develop branch
[ ] You are now ready to build this project with your preferred IDE

Task 2: Comprehension Questions
Answer the following questions to the best of your ability. You can exercise your Googling skills and use training kit. Open up the Answers.md file and record your responses there.

[ ] If you had to describe semantic HTML to the next cohort of students, what would you say?

[ ] Describe some differences between display: block; and display: inline;.

[ ] What are the 4 areas of the box model?

[ ] While using flexbox, what axis are you using when you use the property: align-items: center?

[ ] What is the git command to commit staged changes as well as write a message?

Task 3: Home Page
Review the provided design file for the home page. Notice the navigation and header images are missing.

[ ] Build the HTML and CSS to create the missing navigation and header.
[ ] Link up the About navigation item to the about.html page

You will also notice there are 10 boxes on the home page that need background colors. Use this list below to correctly style each box:

[ ] box1: teal
[ ] box2: gold
[ ] box3: cadetblue
[ ] box4: coral
[ ] box5: crimson
[ ] box6: forestgreen
[ ] box7: darkorchid
[ ] box8: hotpink
[ ] box9: indigo
[ ] box10: dodgerblue

Task 4: About page
Review the provided design file for the about page. You have been provided the HTML wrapper, footer, and page content for the about page. Create the rest of the missing HTML and CSS to match the design file.

[ ] Copy and paste your home page navigation and header into the about page
[ ] Update the header image with the about page image
[ ] Link the Home navigation item back to the index.html page.
[ ] Build the rest of the about page layout to match the design

Task 5: Merge & Pull Request

[ ] Once you have completed tasks 1-4, push all your commits up to your develop branch.
[ ] Switch your HEAD to master
[ ] Merge the develop branch into master
[ ] Push all your updates up to master
[ ] Create a pull request back to the original fork

Congratulations, you completed the sprint challenge!
Stretch Goals
Stretch goals are only available if you complete every task listed above. Do not work on them until your pull request is in.

[ ] Build a page of your choosing from the navigation items. Come up with content and images that fit the theme.
[ ] Introduce CSS animations to your site.
[ ] Build the contact page and create a form with several inputs of your choosing
[ ] Add responsive breakpoints to your code by using media queries

Git-Comments

[x] Utilizing Meaningful Commit Messages
[x] Committing Often: On Every Breakthrough or Feature Completion.
[x] Submitted a Pull Request with your First & Last Name in the title.

Comments

Congratulations, you have met expectations and are properly utilizing git version control.
A side note: It is also possible to do multi-line commit messages. If you have not yet tried it
Using git from the command line with bash you can do the following:

git commit -m "Implemented Desktop Break-Points
> CSS Break-Points with media query at 1024px max-width
> Tested in Chrome, Firefox
> Fluid transition between breakpoints."

Press Enter when you want a new line. When you see the `>`
symbol this means that you have pressed Enter and there is a
new line. Remember to close your quotes at the end of your
message and press Enter to submit the command.


text:
How add a custom to Save Action

Hi Team,
Thanks so much for the fantastic Backpack. Please, I need to know how add (display) a custom action option on Button Save, ex: 'Save and Send'
I need save and send um mail after it.
Thanks

you can

add custom button(functionality already provided by backpack crud)
create custom route, like CRUD::resource('subscribers', 'Admin\SubscribersCrudController')->with(function(){      Route::get('subscribers/export', 'Admin\SubscribersCrudController@export');      Route::any('subscribers/{id}/edit/', ['as' => 'subscriber.edit', 'uses' => 'Admin\SubscribersCrudController@edit']);  });
copy/paste vendor saving functionality into your controller and add functionality you want

OR -
if you want just to send email(or have some custom functionality), you can do this using Laravel basic functionality. Inside AppServiceProvider -> boot method -> Incident::updated(function ($incident) {. this will triggered when model updated.

@nathanielks hey did you find a solution to your problem as I need to do same thing ?

authors: niltonmelox rzaglinskij webdesign7

repo: Laravel-Backpack/CRUD


text:
Slow performance with big tables

I have a table with 440 000 rows and 19 columns, and I am getting "memory limit exhausted" errors when I try to enter list view. I tried raising memory limit step by step, and it only managed to load the page with 2GB memory limit - and it took about 20 seconds. I am also using ajax table option to speed things up.
Is this normal?
I was so excited to find this CRUD library for Laravel, but I'm afraid I won't be able to use it anymore when my tables grow to millions of rows... :/

https://github.com/Laravel-Backpack/CRUD/issues/36
Are u trying this?

Woow. That's definitely not normal - that's the point of the ajax table, to make the list view handle loads like this.

Are you sure you're using the correct syntax for ajaxtable?
how many rows per page does your list view have?
if you do a simple eloquent query for that number of rows (in any other page), does it load just as slow?

Cheers!

Thank you for your quick replies :)

I suppose yes - I'm using this: $this->crud->enableAjaxTable();
25 rows per page.
Actually this part is quite strange, because when I tried to look deeper with Debug Bar (https://github.com/barryvdh/laravel-debugbar), it showed that the list action is selecting all entries from the table (executing a general SELECT * FROM table query), which takes 5 seconds, and the overall load time is about 55 seconds, actual memory usage - from 1 to 1.5 GB. If I do a ::all() eloquent call on a clean controller action, it takes about 20-25 seconds to load.

Since I'm new to Laravel (coming from Symfony) - I don't really know if there is something like a Symfony Profiler in Laravel, where I could see a whole timeline of all functions called and how much time it took? The debug bar which I mentioned above doesn't show this. If you could suggest a tool like that, I could give you more information :)

I too am having this issue. I have $this->crud->enableAjaxTable(); in my controller, but it seems to be loading the entire dataset upfront instead of the first 25.
Am I doing something wrong? This breaks the page as I am working with a large dataset.
Any help would be much appreciated.

@flaveris , @JeanHules - you're totally right, I missed a SELECT when coding the AJAX functionality. The CrudController::index() method still got all the rows in the DB, despite the fact that they weren't used. I only tested it with ~20 000 rows before this and performance was not affected at that number, sorry for that.
Thanks for reporting this, it's now fixed in CRUD 3.0.14. Feel free to do a composer update, that'll fix the issue for you. Tested it with 1M+ records and it works now.
Cheers!

Thank you so much! Works like a charm :)

Thank you for reviewing this issue.
One last issue, I am getting this error:
DataTables warning: table id=crudTable - Ajax error. For more information about this error, please see http://datatables.net/tn/7
Any ideas on how to fix that?

Hm... Never got that, but judging by the article, I assume your EntityCrudController::search() function returns something other than a 2xx response. What's the response code in your browser's Developer Tools > Network for an AJAX call to 'search'? Also, what's the actual response? 'Cause it might be an error for some reason.
It SHOULD look something like this:

This is weird... I am getting a 500 error when I look at Network and Console, but when I go directly to the URL as you would a normal website, I get a 403.
Any idea on what could be causing this?

It's normal to get a 403 error when accessing it manually - the route only supports POST and you're trying a GET.
But it's odd that you're getting a 500 error in Network and Console. I guess there's no other way to figure out what's wrong, other than moving a dd() after every line of the CrudController::search() method and see what line is causing the issue... Does your log register any error?

I figured it out.
I am not sure if it is because I am using MSSQL or not, but I had to use
echo json_encode($dataTable->make());
in place of:
$dataTable->make()
and I was also getting a Sql error 207 which was caused by an added "id" column which my table does not have.
All seems well now. Thanks for the help. Great product.

authors: JeanHules OSDDQD flaveris tabacitu


text:
The beforeField and afterField methods should contain an extra optional parameter

The CrudPanel beforeField and afterField methods in the Fields trait should contain an optional parameter in which we can specify the form in case the create/update forms contain different fields.
For backwards compatibility, it should default to 'both', which will keep the current functionality.

As we talked, completely agree. Merged your PR into dev. Cheers!


text:
Настроить авто апдейт

Сделать так чтоб бота обновить на сервере мог любой человек из определенного списка людей

@Big-Shark Добавить рестарт бота при пуше в матер, м?

да, норм, гитзах может вызывать урл который все перезагрузит и обновит

И допустим сам напишет об этом в чат для бота

authors: Big-Shark SerafimArts

repo: LaravelRUS/GitterBot


text:
Journal entry screen

Merging journal entry screen into main

Switching to other method to resolve merge conflicts


text:
[Issue 13] Finish Lit-Graph Component

This PR adds styles, elements, and functionality to the main lit-graph component. It also updates the demo to use this component as well. I have also updated the code coverage by tests in this PR too. Changes include:

Adding dist and coverage folders to .eslintignore
ran prettier formatter on code
Adding dist and coverage folders to .gitignore
updated tab width for prettier config
added working lit-graph implementations to the dev index file
removed the dist folder from git tracking
added new constants for the number of labels rendered and the line widths
added functionality to lit-graph component

added properties/attributes for labels and data
updated render function to call all mixin render functions
added functions to generate the graph meta data do data integrity checking

added stroke width css to Lit axis because svg attribute wasnt working
updated naming conventions for some types for clarity
added group tags for grid render with ids to access via css
fixed lit-label rendering

added css transforms to render labels in correct positions and orientations
updated render args to use label meta for passing in graph edges so labels will render in the right spot

added test helper function to test when errors happen during rendering
added tests for lit graph
added tests for errors in mixins

Fixes #13

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

repo: Laughing-Man-Studios/lit-graph


text:
Fails to start

based on 0.4.3 with only the bhaptics mod I get the following at startup
guessing the new version of VRchat is to blame here
[20:39:07.821] [ERROR]
[20:39:07.832] [ERROR] Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
[20:39:07.833] [ERROR]    at UnhollowerRuntimeLib.XrefScans.XrefScannerLowLevel.ExtractTargetAddress(Instruction& instruction)
[20:39:07.834] [ERROR]    at UnhollowerRuntimeLib.XrefScans.XrefScannerLowLevel.<JumpTargetsImpl>d__1.MoveNext()
[20:39:07.834] [ERROR]    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
[20:39:07.835] [ERROR]    at UnhollowerRuntimeLib.XrefScans.XrefScanMetadataGenerationUtil.FindMetadataInitForMethod(MethodRewriteContext method, Int64 gameAssemblyBase)
[20:39:07.836] [ERROR]    at AssemblyUnhollower.Passes.Pass16ScanMethodRefs.<>c__DisplayClass2_0.<DoPass>b__2(MethodRewriteContext originalTypeMethod)
[20:39:07.837] [ERROR]    at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
[20:39:07.838] [ERROR]    at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
[20:39:07.838] [ERROR]    at System.Linq.Parallel.SpoolingTaskBase.Work()
[20:39:07.839] [ERROR]    at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
[20:39:07.840] [ERROR]    at System.Threading.Tasks.Task.Execute()
[20:39:07.841] [ERROR]    --- End of inner exception stack trace ---
[20:39:07.841] [ERROR]    at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
[20:39:07.842] [ERROR]    at System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
[20:39:07.843] [ERROR]    at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
[20:39:07.844] [ERROR]    at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
[20:39:07.844] [ERROR]    at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
[20:39:07.845] [ERROR]    at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
[20:39:07.846] [ERROR]    at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
[20:39:07.849] [ERROR]    at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
[20:39:07.850] [ERROR]    at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
[20:39:07.851] [ERROR]    at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
[20:39:07.852] [ERROR]    at AssemblyUnhollower.Passes.Pass16ScanMethodRefs.DoPass(RewriteGlobalContext context, UnhollowerOptions options)
[20:39:07.853] [ERROR]    at AssemblyUnhollower.Program.Main(UnhollowerOptions options)
[20:39:07.853] [ERROR]    at AssemblyUnhollower.Program.Main(String[] args)
[20:39:08.370] Done in 00:00:01.4225833

Latest.log
@HerpDerpinstine  FYI :)

got it working - re-validated files and reinstalled melonLoader :D yay

repo: LavaGang/MelonLoader


text:
low priority: wsgiref example doesn't work

From the documentation I extracted this example:
from wsgiref.simple_server import make_server
from ws4py.websocket import EchoWebSocket
from ws4py.server.wsgirefserver import WSGIServer, WebSocketWSGIRequestHandler
from ws4py.server.wsgiutils import WebSocketWSGIApplication

server = make_server('', 9000, server_class=WSGIServer,
                     handler_class=WebSocketWSGIRequestHandler,
                     app=WebSocketWSGIApplication(handler_cls=EchoWebSocket))
server.initialize_websockets_manager()
server.serve_forever()

However, when I run it, I get the following error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
    raise HandshakeError('Header %s is not defined' % key)
HandshakeError: Header HTTP_UPGRADE is not defined

This seems to be some weird header stuff that's a bit beyond my knowledge level and might not even be the fault of ws4py. Additionally, this isn't really that big of a deal, since the built-in CherryPy example works great, so I'm going to go with that for now. Just thought I would mention it for future reference.

make  change ' '  to 'localhost'

repo: Lawouach/WebSocket-for-Python


text:
login form python need help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

import os
import re
import urllib
import urllib.request, urllib.parse, http.cookiejar
from urllib.request import urlopen
TESTING SETTINGS (will only be used when running this file independent of your addon)
Remember to clear these after you are finished testing,
so that your sensitive details are not in your source code.
These are only used in the:  if name == "main"   thing at the bottom of this script.
myusername = '????'
mypassword = '????'
note, the cookie will be saved to the same directory as weblogin.py when testing
def check_login(source,username):
#the string you will use to check if the login is successful.
#you may want to set it to:    username     (no quotes)
logged_in_string = 'ola'

#search for the string in the html, without caring about upper or lower case
if re.search(logged_in_string,source,re.IGNORECASE):
    return True
else:
    return False

def doLogin(cookiepath, username, password):
#check if user has supplied only a folder path, or a full path
if not os.path.isfile(cookiepath):
    #if the user supplied only a folder path, append on to the end of the path a filename.
    cookiepath = os.path.join(cookiepath,'cookies.lwp')

#delete any old version of the cookie file
try:
    os.remove(cookiepath)
except:
    pass

if username and password:

    #the url you will request to.
    login_url = 'put site here'

    #the header used to pretend you are a browser
    header_string = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3'

#build the form data necessary for the login
    login_data = urllib.urlencode({'user':username, 'pass':password, 'wp-submit':'Login', 'action':'login'})

    #build the request we will make
    req = urllib2.Request(login_url, login_data)
    req.add_header('User-Agent',header_string)

    #initiate the cookielib class
    cj = cookielib.LWPCookieJar()

    #install cookielib into the url opener, so that cookies are handled
    opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))

    #do the login and get the response
    response = opener.open(req)
    source = response.read()
    response.close()

    #check the received html for a string that will tell us if the user is logged in
    #pass the username, which can be used to do this.
    login = check_login(source,username)

    #if login suceeded, save the cookiejar to disk
    if login == True:
        cj.save(cookiepath)

    #return whether we are logged in or not
    return login

else:
    return False

code to enable running the .py independent of addon for testing
if name == "main":
if myusername is '' or mypassword is '':
print ('YOU HAVE NOT SET THE USERNAME OR PASSWORD!')
else:
logged_in = doLogin(os.getcwd(),myusername,mypassword)
print ('LOGGED IN:'),logged_in

i find thes modelo online but it is for Python 2 ,
dont work in python 3, i have my version for python 3 but still dont work !!!!!!
''WinError 10061''

Nothing to do with this project.

authors: ghost sonaldynho tito


text:
Show Element Id when set to true breaks the code due to FreeTypeFont has no getsize attribute

Describe the bug
I was trying to use show_element_id as True in draw_box but suddenly got an AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version, see the Layout Parser Releases

To Reproduce
Steps to reproduce the behavior:

What command or script did you run?

lp.draw_box(pdf_images[4], text_blocks, box_width=3, show_element_id=True)  # Use the default font provided by the library

Environment

Used on windows with jupyter lab on conda
Using layoutparser version 0.3.4
All other libraries has been installed

Error traceback
AttributeError                            Traceback (most recent call last)
Cell In[17], line 1
----> 1 lp.draw_box(pdf_images[4], text_blocks,
2             box_width=3, show_element_id=True)  # Use the default font provided by the library
File ~\miniconda3\Lib\site-packages\layoutparser\visualization.py:194, in image_loader..wrap(canvas, layout, *args, **kwargs)
192 elif isinstance(canvas, np.ndarray):
193     canvas = Image.fromarray(canvas)
--> 194 out = func(canvas, layout, *args, **kwargs)
195 return out
File ~\miniconda3\Lib\site-packages\layoutparser\visualization.py:392, in draw_box(canvas, layout, box_width, box_alpha, box_color, color_map, show_element_id, show_element_type, id_font_size, id_font_path, id_text_color, id_text_background_color, id_text_background_alpha)
389     text = str(ele.type) if not text else text + ": " + str(ele.type)
391 start_x, start_y = ele.coordinates[:2]
--> 392 text_w, text_h = font_obj.getsize(text)
394 text_box_object = Rectangle(
395     start_x, start_y, start_x + text_w, start_y + text_h
396 )
397 # Add a small background for the text
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
Screenshots

You can fix this issue by running pip install Pillow==9.5.0.
This happens because FreeTypeFont.getsize() has been deprecated in Version 10.0.0 of Pillow.

Had the same issue and this solution worked for me. Thank you!

You can fix this issue by running pip install Pillow==9.5.0.
This happens because FreeTypeFont.getsize() has been deprecated in Version 10.0.0 of Pillow.

authors: AIexanderDicke Extrosoph estacy

repo: Layout-Parser/layout-parser


text:
fix: use correct private key for anvil testing

This fixes #24 .
@Gajesh2007  can you please confirm if typescript version is not affected with this change?

Typescript version isn't working at the moment, your PR fixes also #25

included in https://github.com/Layr-Labs/hello-world-avs/commit/c49ece411b7f3c2ad45b0c2fe4d0710041e0d8cb

authors: Gajesh2007 supernovahs vaniiiii

repo: Layr-Labs/hello-world-avs


text:
Mkfile

#14 Solution on development

@OleksiiBulba Please check the last commit 200cbac


text:
feature:

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
I am disgusted with the terrorist emoji. Why would you include this??? 🥷🏻
Describe the solution you'd like
Remove this emoji
Describe alternatives you've considered
I don’t know how to get rid of it, but it’s incredibly offensive
Additional context
No response

@mkubasz You don't know that ninjas are terrorists? Even a fresh new Github account created today to just make this post knows this. Omg...

@dpetka2001 Everyday I learn something new :)

It's a ninja indeed and as fas as I know, this emoj is NOT being used at all in LazyVim

authors: Emojiproblem dpetka2001 folke mkubasz

repo: LazyVim/LazyVim


text:
Angular cheat sheet

Create a cheat sheet for angular 4

Yes, you are right. Are you familiar with Angular?

I can help you on the React one but I don't have any experience regarding Angular 4.

Somewhat related, would you be open to including angularjs? I can probably help with this, along with Angular.

Closing this as someone made it:
https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/angular.js

authors: KushagraGitter LeCoupa aemc

repo: LeCoupa/awesome-cheatsheets


text:
Open popup on an on-screen, clustered marker

I have a list of locations and I'm trying to open the popup of any marker when I click on its list item. This is working for non-clustered markers and any marker not currently on screen, but for markers that are currently clustered and on screen, it just zooms to the location and doesn't open the popup. Any ideas what's happening here or how to get around it?
The code:
    map.setView(marker.getLatLng(), 16);
    marker.openPopup();

Hi,
You probably do not give time for the marker to be unclustered, hence for its popup to be "open-able".
Have you tried the zoomToShowLayer() method?
For more help, you can have a look at the bottom part (just after the "EDIT" line) of this post:
https://stackoverflow.com/questions/35772717/searching-markers-with-leaflet-control-search-from-drop-down-list/35793616#35793616
Hope this helps.

Huzzah! Thanks, @ghybs, that works perfectly!

authors: ghybs itsOgden


text:
L.Evented: when a listener is removed with it's function, "listens" still returns true

Testcase:
var m = new L.Marker();
var handler = function() {console.log("event fired")};

m.on("test", handler);     // register
m.fire("test");            // fires

console.log(m.listens("test"));    // returns true

m.off("test", x);                  // remove listener
console.log(m.listens("test"));    // still returns true!
m.fire("test");                    // but doesn't fire anymore!

https://playground-leaflet.rhcloud.com/rog/edit?html,js,output

Damn. An empty array is truthy.

repo: Leaflet/Leaflet


text:
1px lines while animating in 1.0

There are 1px horizontal and vertical lines appearing while animating pan or zoom (simply by mouse dragging) in 1.0. In 0.7 these are not present.
master:
http://playground-leaflet.rhcloud.com/jeqig/1/edit?html,output
0.7:
http://playground-leaflet.rhcloud.com/jeqig/2/edit?html,output
The pan animation bug is only visible in Chrome / Safari, so can be the same as #3575.
The zoom animation bug is visible in Firefox too.
More visible on a black background, but present in all cases.
Screen recordings:
Chrome: https://youtu.be/LP29fdYQ0EI
Firefox (zoom only): https://youtu.be/4qNWCnPBK-s

Duplicate of #3575

@IvanSanchez this one happens on Firefox too. At least the zoom animation bug.

Added screen recordings to top comment.
Both panning and zooming is perfect in 0.7 so it has to be something different from #3575.

This is probably related to improvements around hardware accelerated animations, but it would be great if you could bisect to a specific commit to determine next actions.

OK, I'll bisect both the zoom and pan anim bugs in FF and Chrome, to see if they are related or not.

I'm using 0.7 and notice this issue only on Safari. I did notice, however, that adding a will-change: transform; to the .leaflet-tile  class makes this issue appear on all browsers. Perhaps this will help your efforts... or perhaps not.

I see no way of fixing this for 1.0, kicking it forward to a later release.

Couple of "quick fixes" that only work in some cases:
if you are not using fractionnal zoom (as in zoom 15.3), you can upscale slighly the tile during the transition by adding:
.leaflet-zoom-anim .leaflet-tile {
  width: 258px !important;
 height: 258px !important;
  top: -1px !important;
  left: -1px !important;
}

You will still get black lines when zooming in/out quickly (several zoom levels)
You will still get black lines when panning and releasing the mouse (with inertia), because in that case Leaflet will transition the panel X/Y CSS transform values, using floating numbers, which produce the issue (probably because the browser doesn't handle sub-pixel rendering in that case).
You can monkey-patch DomUtil to round the X/Y:
var _setTransform = L.DomUtil.setTransform;
L.DomUtil.setTransform = function (el, offset, scale) {
  if (offset){
    offset.x = Math.round(offset.x);
    offset.y = Math.round(offset.y);
  }
  _setTransform(el, offset, scale);
};

Not really great code but it might be helpful to some!
Fabien

thanks danwild
you can check this issue by yourself, please see the attachme
geotiff-bug.zip
nt

Duplicate of https://github.com/Leaflet/Leaflet/issues/3575

@IvanSanchez this one happens on Firefox too. At least the zoom animation bug.

I'm unable to reproduce in v1.8.0 using Firefox 101.0.1 (perhaps due to https://github.com/Leaflet/Leaflet/pull/7872, as suggested by https://github.com/Leaflet/Leaflet/issues/4637#issuecomment-227746356?).
Anyhow, I highly doubt we'll be able to close out #3575 and still have gaps in Firefox, so I think we should close this for now.

authors: IvanSanchez Malvoz fnicollet hyperknot james-brndwgn mourner teoxonline


text:
panTo() fails when _mapPane position set to non 0

Hi all,
I'm still on leaflet 0.7 but the code seems to be unchanged in 1.*
Browser: QWebkitWidget (Qt 5.3)
Other plugins: Leaflet.D3SvgOverlay (which I guess changes the position of _mapPane)
Issue:
When calling panTo(position) periodically with small distance changes the center of a map drifts from given coordinates.
Analysis:
In function _getCenterLayerPoint a call to this.containerPointToLayerPoint() substracts _getMapPanePos() from getSize()/2 while _getMapPanePos() apparently should be divided by 2 as well.
My solution:
In
_getCenterLayerPoint: function() {
Change return value to:
return L.point(this.getSize()._divideBy(2)).subtract(this._getMapPanePos()._divideBy(2));
Simply moving ._divideBy(2) outside containerPointToLayerPoint() reverts the direction of drift rather than fixing it...
Am I missing something or have I found a bug?
Thanks

Can you publish a fiddle/codepen/playground that displays this behaviour?

I'll try to but Monday or Tuesday is the earlies possible time for me.

Closing this since monday or tuesday is long gone :stuck_out_tongue_winking_eye:
Please add some more info and preferably a live example if this is still an issue!

authors: IvanSanchez perliedman ptasior


text:
GeoJson pointerEvents = 'none' any effects

[X] I'm reporting a bug, not asking for help
[X] I've looked at the documentation to make sure the behaviour 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

How to reproduce

Leaflet version I'm using: 1.0.3
Browser (with version) I'm using: Chrome 55
OS/Platform (with version) I'm using: Windows

What behaviour I'm expecting and which behaviour I'm seeing
I have to display two GeoJson overlays : one which can interact with user (click, mouse over) and the second with non interaction, just for displaying visual information.
The first layer is under the second and only the stroke has to be drawn.
I have specify "pointerEvents" to none for the second layer style, but LeafLet doesn't use this property : the generated svg is without this property.
Minimal example reproducing the issue

[X] this example is as simple as possible
[ ] this example does not rely on any third party code

var interactiveLayer = L.topoJson(epci2014TopoJson, {
        style: function (feature) {
            return {
                weight: 0.0,
                fillOpacity: 0.7,
                color: 'rgb(200,200,200)',
                fillColor: getColor(feature.properties.siren_epci || feature.properties.SIREN_EPCI)
            }
        },
        onEachFeature: function (feature, layer) {
            layer.on({
                mouseover: highlightFeature,
                mouseout: resetHighlight,
                click: zoomToFeature
            });

        }
    }).addTo(map);

    var justForDrawLayer=L.geoJson(departementsGeoJson, {
        style: function (feature) {
            return {
                pointerEvents : 'none',
                clickable:false,
                weight: 3,
                fillOpacity: 0.0,
                color: 'rgb(220,220,220)'
            }
        }
    }).addTo(map);

I have tried to put "clickable" to "false", no change.
Excuse me if my english is not enough right. Thank you.
Using http://playground-leaflet.rhcloud.com/ or any other jsfiddle like site.

I have specify "pointerEvents" to none for the second layer style, but LeafLet doesn't use this property

Well, pointerEvents it's not a recognised option for L.Path, so I'm not sure what were you expecting.

I have tried to put "clickable" to "false", no change.

That option changed name to interactive in 1.0.0, see "Options inherited from Interactive layer" in the documentation.

Thanks for your response.
For the "pointerEvents" : as i was not enable to make the layer "inactive" for user interactions, i have tried to follow the example given here : http://leafletjs.com/examples/map-panes/ for the pane and the pointerEvents applied to the geoJson layer. Maybe i misunderstood this notion.
I will try with the inactive property for the geojson style.
My goal is to display some small countries (polygons) as a cloropleth map. Under this layer the tile layer, et at the top another geojson layer displaying larger countries, each one is a "container" for small countries. I want that this overlay displays only the polygon stroke with total transparency for the inner.  I want the "small countries" overlay interacts with the user and the "larger countries" layer not.
Thx

I have tried with "interactive:false", it works.
I'm sorry (to have solicited communauty) and happy (because it works).
Thx.

I have the same task to render two layers and the top layer should be inactive. "interactive:false" helped, thanks!

authors: IvanSanchez dim2k2006 frankjar


text:
Options for the handler

Now you can not only enable or disable map handlers, you can set options for them. See example in debug/map/handler.html.

As of 1.0.0, map handlers take options from the map they belong to. I don't think we'll be changing this behaviour in the near future.

authors: AndriiHeonia IvanSanchez


text:
Improve type definitions of ActiveEffect

This slightly improved the type definitions of ActiveEffect, mainly by making it generic in the parent.
Fixes #241

@kmoschcau Should I move ActiveEffect.Data, ActiveEffect.Duration and ActiveEffect.Change as i suggested in https://github.com/League-of-Foundry-Developers/foundry-vtt-types/pull/238#discussion_r570311007?