text:
Does it support running wasm in go

At present, we support the running of wasm module in the mosn project (implemented in go language), and found that teavm also supports the generation of wasm files, and we hope that the wasm generated by java can also run in the go environment.
I wrote a demo to test the wasm file generated by teavm，found some functions that rely on teavm, but they will not be implemented in the host.
➜  wasm git:(master) ✗ wasm-objdump -x classes.wasm -j Import
classes.wasm:   file format wasm 0x1
Section Details:

Import[6]:
// user defined function
 - func[0] sig=2 <.hello> <- .hello

// These functions are not required to execute the wasm module in go
 - func[1] sig=1 <teavm.logString> <- teavm.logString
 - func[2] sig=1 <teavm.logInt> <- teavm.logInt
 - func[3] sig=5 <teavm.logOutOfMemory> <- teavm.logOutOfMemory
 - func[4] sig=1 <teavmHeapTrace.init> <- teavmHeapTrace.init
 - func[5] sig=14 <teavm.currentTimeMillis> <- teavm.currentTimeMillis

Similar to the export part, there are also functions that teavm depends on：
➜  wasm git:(master) ✗ wasm-objdump -x classes.wasm -j Export

classes.wasm:   file format wasm 0x1

Section Details:

Export[36]:
// user defined function
 - func[8] <thePurposeOfLife> -> "thePurposeOfLife"

// These functions are not required to execute the wasm module in go
 - func[37] <teavm_gc_collect> -> "teavm_gc_collect"
 - func[38] <teavm_gc_collectFull> -> "teavm_gc_collectFull"
 - func[45] <teavm_gc_fixHeap> -> "teavm_gc_fixHeap"
 - func[46] <teavm_gc_tryShrink> -> "teavm_gc_tryShrink"
 - func[107] <teavm_catchException> -> "teavm_catchException"
 - func[109] <teavm_throwNullPointerException> -> "teavm_throwNullPointerException"
 - func[110] <teavm_throwArrayIndexOutOfBoundsException> -> "teavm_throwArrayIndexOutOfBoundsException"
 - func[119] <teavm_processQueue> -> "teavm_processQueue"
 - func[120] <teavm_stopped> -> "teavm_stopped"
 - func[137] <teavm_allocateString> -> "teavm_allocateString"
 - func[138] <teavm_stringData> -> "teavm_stringData"
 - func[139] <teavm_allocateObjectArray> -> "teavm_allocateObjectArray"
 - func[140] <teavm_allocateStringArray> -> "teavm_allocateStringArray"
 - func[141] <teavm_allocateByteArray> -> "teavm_allocateByteArray"
 - func[142] <teavm_allocateShortArray> -> "teavm_allocateShortArray"
 - func[143] <teavm_allocateCharArray> -> "teavm_allocateCharArray"
 - func[144] <teavm_allocateIntArray> -> "teavm_allocateIntArray"
 - func[145] <teavm_allocateLongArray> -> "teavm_allocateLongArray"
 - func[146] <teavm_allocateFloatArray> -> "teavm_allocateFloatArray"
 - func[147] <teavm_allocateDoubleArray> -> "teavm_allocateDoubleArray"
 - func[148] <teavm_objectArrayData> -> "teavm_objectArrayData"
 - func[149] <teavm_byteArrayData> -> "teavm_byteArrayData"
 - func[150] <teavm_shortArrayData> -> "teavm_shortArrayData"
 - func[151] <teavm_charArrayData> -> "teavm_charArrayData"
 - func[152] <teavm_intArrayData> -> "teavm_intArrayData"
 - func[153] <teavm_longArrayData> -> "teavm_longArrayData"
 - func[154] <teavm_floatArrayData> -> "teavm_floatArrayData"
 - func[155] <teavm_doubleArrayData> -> "teavm_doubleArrayData"
 - func[156] <teavm_arrayLength> -> "teavm_arrayLength"
 - func[215] <teavm_javaHeapAddress> -> "teavm_javaHeapAddress"
 - func[216] <teavm_availableBytes> -> "teavm_availableBytes"
 - func[217] <teavm_regionsAddress> -> "teavm_regionsAddress"
 - func[218] <teavm_regionSize> -> "teavm_regionSize"

Question:

Wasm should be portable. Can dependencies on specific environments be disabled? Similar to the wasm generated by tinygo compilation, specify target=wasi, so that all dependencies on js will be removed.

Here is the wasm file (wasi specification) I compiled with go:
➜  wasm git:(fix_hijack_context_not_found) wasm-objdump -x bolt-go.wasm -j Import
bolt-go.wasm:   file format wasm 0x1
Section Details:

Import[5]:
// Functions generated by the compiler
 - func[0] sig=0 <fd_write> <- wasi_unstable.fd_write

//  User-defined host implementation functions
 - func[1] sig=1 <proxy_get_buffer_bytes> <- env.proxy_get_buffer_bytes
 - func[2] sig=2 <proxy_get_header_map_pairs> <- env.proxy_get_header_map_pairs
 - func[3] sig=1 <proxy_set_buffer_bytes> <- env.proxy_set_buffer_bytes
 - func[4] sig=2 <proxy_log> <- env.proxy_log

➜  wasm git:(fix_hijack_context_not_found) wasm-objdump -x bolt-go.wasm -j Export

bolt-go.wasm:   file format wasm 0x1

Section Details:

Export[28]:
// Functions generated by the compiler
 - memory[0] -> "memory"
 - func[71] <_start> -> "_start"

// //  User-defined wasm exported functions
 - func[176] <proxy_decode_buffer_bytes> -> "proxy_decode_buffer_bytes"

Go itself has its own gc capability, the wasm module written in java is executed in go, is gc processed by wasm itself? Or do not have gc capability?

Wasm should be portable. Can dependencies on specific environments be disabled? Similar to the wasm generated by tinygo compilation, specify target=wasi, so that all dependencies on js will be removed.

False. Wasm IS NOT portable. It's portable as a virtual machine. But this virtual machine does not interact with the outer world (e.g. printing to console), it has to call functions that provide corresponding capabilities. There is no standard portable way to do that. Wasi does not work in the browser, so I can't call wasm portable.
So my answer it: not, it's impossible to remove these dependencies. But I don't see any problems here. There are few functions that you should provide to wasm module generated by TeaVM, they are quite trivial. What's the problem to write these functions for your environment?

Go itself has its own gc capability, the wasm module written in java is executed in go, is gc processed by wasm itself? Or do not have gc capability?

The question is how TeaVM should interact with this GC. I see no way. TeaVM has it own GC.

And the main question is: why? Why do you want to run Java such a strange way?

And the main question is: why? Why do you want to run Java such a strange way?

At present, the wasm module is supported on the go project mosn, and we hope that the wasm compiled by java can also be executed (outside the js environment).
We have implemented protocol extensions in the rpc, so we also hope that java developers can provide extension plugins.
We noticed that wasm currently supports multiple language implementations：https://github.com/proxy-wasm/spec

AssemblyScript SDK
C++ SDK
Go (TinyGo) SDK
Rust SDK

In the java compiler, no examples of use in a non-web environment have been found so far.

I'd also like to run Java in such a strange way.

why?

I have added a plugin system to my existing application. I've based it on WebAssembly because

WebAssembly is comparatively language and architecture agnostic - you can write a plugin for my app in C, Rust, Go, Python, ...
Easy to embed into an existing application (compared to e.g. Node or a JVM) - most WASM runtimes are designed to be used as a library
The runtime I use allows for tricky things like having multiple isolated instances of the same module and limiting the CPU usage (both seem impossible with the non-strange way of Java running in OpenJDK)

So, I'd like to be able to support as many languages as possible, and supporting JVM languages would be a big plus in that direction.
Ultimately, this currently fails because I expect my plugins to provide me with pointers into their memory, and that memory should contain a CBOR buffer. I failed to achieve this, because Jackson et al. won't compile (e.g. because UUID and ConcurrentHashMap are missing), and because getting a pointer to the content of a byte[] is currently not possible (apologies if I've missed an intrinsic I can use from inside/Java).

There are few functions that you should provide [...] What's the problem to write these functions for your environment?

I've attempted this and it indeed wasn't difficult. But it also isn't a very good solution, since these imports are internal interface that may change at any release, right?
(Side note: This strategy is also used for Go, and showing the same weaknesses.)

Wasi does not work in the browser,

There are libraries/polyfills for that. Alternatively, implementing the three functions you need (fd_write for logString/logInt/LogOOM, random_get, clock_time_get) should also be rather trivial. The rest of the imports could be implemented in Java only(?), but that is a lot less trivial, and would increase binary size :(.
Anyway, TeaVM generated WASM currently seems to need at least a little support from the outside system. Maybe that could change when WASM gets its own GC and exception support, but currently, I don't think it's possble for TeaVM to run entirely with what WASI provides.
So in summary: TeaVM is for running Java in the browser. I would be happy if it could be extended to a broader scope, but I don't think it can (but not for the reasons previously mentioned here).

@jcaesar thanks for your great feedback!

Ultimately, this currently fails because I expect my plugins to provide me with pointers into their memory, and that memory should contain a CBOR buffer. I failed to achieve this, because Jackson et al. won't compile (e.g. because UUID and ConcurrentHashMap are missing),

Is Jackson that necessary? Can't you write your own CBOR parser/generator? Can you tell me more info so that I could reimplement TeaVM-friendly CBOR support (I already have JSON parser/generator compatible with Jackson annotations that is supported with TeaVM).

and because getting a pointer to the content of a byte[] is currently not possible (apologies if I've missed an intrinsic I can use from inside/Java).

Address.ofData(array).toLong(). But please note that TeaVM GC can relocate arrays, so this pointer may change. If you are interested, I can think on providing API for allocating off-heap buffers.

There are few functions that you should provide [...] What's the problem to write these functions for your environment?

I've attempted this and it indeed wasn't difficult. But it also isn't a very good solution, since these imports are internal interface that may change at any release, right?
(Side note: This strategy is also used for Go, and showing the same weaknesses.)

Right. But runtime part is rather small and does not change often. Do you know of some other strategy which solves this issue?

Wasi does not work in the browser,

There are libraries/polyfills for that. Alternatively, implementing the three functions you need (fd_write for logString/logInt/LogOOM, random_get, clock_time_get) should also be rather trivial. The rest of the imports could be implemented in Java only(?), but that is a lot less trivial, and would increase binary size :(.

Ah, I see. You want TeaVM-generated wasm file to depend directly on subset of WASI and also ship JS module that provides this subset of WASI API? Right?

Anyway, TeaVM generated WASM currently seems to need at least a little support from the outside system.

What kind of support do you mean?

Maybe that could change when WASM gets its own GC and exception support, but currently, I don't think it's possble for TeaVM to run entirely with what WASI provides.

What's the problem to run TeaVM entirely in WASI environment?

So in summary: TeaVM is for running Java in the browser. I would be happy if it could be extended to a broader scope, but I don't think it can (but not for the reasons previously mentioned here).

And what are the actual reasons?

What kind of support do you mean?
What's the problem to run TeaVM entirely in WASI environment?
And what are the actual reasons?

Sorry, I guess I was being cryptic.

I thought that an external run-time must call functions like teavm_catchException, teavm_gc_fixHeap, teavm_gc_collectFull?
WASI doesn't provide anything like teavm.towupper or teavmMath.atan2. Reimplementing those in pure Java would be a significant effort, and it's probably not so easy to find high quality libraries that reimplement these system functions. And doing so would increase the size of the generated binaries.

Do you know of some other strategy which solves this issue?

I would document the API and mention changes in the release notes. You could also change the import namespace (e.g. teavm_api_v1.logString) when introducing breaking changes. But compared to using WASI, this will always be a second-best.

You want TeaVM-generated wasm file to depend directly on subset of WASI and also ship JS module that provides this subset of WASI API? Right?

Yes.

Sorry about the discussion below, it's off-topic for this issue. I'll move it if desired.

Is Jackson that necessary?

No, It's just the nicest thing out there. I'd be happy with anything that gives me a JsonNode or similar.

I already have JSON parser/generator compatible with Jackson

I'd be happy with using that, too. (I can add a switch to my API that specifies which format the data is passed in.) But I think I can't use that because it depends on JS?

Can't you write your own CBOR parser/generator?

Could, but I shun the effort. I think it would be easier to implement what little classes are missing in TeaVM. It seems like com.google.iot.cbor was missing only a few little things, like a hashCode implementation on Integer. (I hope I'll have some time for PRs for that in the next weeks...)

Can you tell me more info so that I could reimplement TeaVM-friendly CBOR support

The problem with these binary formats is that next week there's another. Having specific support for one of them is nice, but you'll probably be bombarded with requests for more. Anyway, here is an example of one of these libraries failing.

Address.ofData(array).toLong(). But please note that TeaVM GC can relocate arrays

Oh! Thank you. (I was hoping to be safe from the GC if I call the import in the same statement... But maybe I'm mixing this up with Go semantics.)

* I thought that an external run-time must call functions like `teavm_catchException`, `teavm_gc_fixHeap`, `teavm_gc_collectFull`?

No, external runtime does not have to call these functions.
teavm_catchException is used to retrieve exception information from the last call. You can't throw exception from Wasm, so the only way to get exception from TeaVM is to call TeaVM function (in most cases main) and then call teavm_catchException to check if this function actually thrown anything. Yes, this could be improved. First, Wasm can actually throw exception by reaching unreachable instruction, but still there's no way to retrieve actual exception from JVM. Second, currently TeaVM does not provide functions to inspect returned exception (I hoped to add these functions some day). But anyway, I end up with 'no exception thrown to native' approach and just write main method that itself contains try { ... } catch (Throwable e) { ... } where handler interacts with native runtime functions.
teavm_gc_collectFull is just a hint to start garbage collection right now, called from within native environment (just like you call System.gc from Java). TeaVM calls GC as needed.
teavm_gc_fixHeap is very cryptic function. While running, heap can be eventually inconsistent (just a couple of global system pointers can be in 'strange' state). The heap is required to be fully consistent in two cases:

GC is to be performed. In fact, GC calls this function first.
Heap dump is to be created. I wrote heap dump collector as an external routine for C backend (can be found here), however there's no heap dump tool for Wasm. Since both backends share runtime, this function also available among Wasm module exports.

* WASI doesn't provide anything like `teavm.towupper` or `teavmMath.atan2`. Reimplementing those in pure Java would be a significant effort, and it's probably not so easy to find high quality libraries that reimplement these system functions. And doing so would increase the size of the generated binaries.

Right. As for towupper I guess I could implement it. TeaVM ships with highly compressed subset of unicode table needed for Character.getType implementation. May be I could also include upper/lower case mapping and implement Character.toUpperCase.

Is Jackson that necessary?

No, It's just the nicest thing out there. I'd be happy with anything that gives me a JsonNode or similar.

I'll write a simple JSON parser in an hour. Do you need one?

I already have JSON parser/generator compatible with Jackson

I'd be happy with using that, too. (I can add a switch to my API that specifies which format the data is passed in.) But I think I can't use that because it depends on JS?

This is not a problem, it's easy to fix.

Can't you write your own CBOR parser/generator?

Could, but I shun the effort. I think it would be easier to implement what little classes are missing in TeaVM. It seems like com.google.iot.cbor was missing only a few little things, like a hashCode implementation on Integer. (I hope I'll have some time for PRs for that in the next weeks...)

I'm not sure it's easy to implement them. For example, you mentioned ConcurrentHashMap. People used to think since there's no threads in JS, ConcurrentHashMap could be simply replaced with HashMap. That's a simplification, because TeaVM replaces threads with its own coroutines. I have an old branch that provides ConcurrentHashMap implementation friendly to coroutines, but still have no idea how to test this implementation properly.

Can you tell me more info so that I could reimplement TeaVM-friendly CBOR support

The problem with these binary formats is that next week there's another. Having specific support for one of them is nice, but you'll probably be bombarded with requests for more. Anyway, here is an example of one of these libraries failing.

Isn't Class.getCanonicalName supported in latest versions? I recommend not to use Maven Central versions of TeaVM, since I don't publish there anymore. Instead, use latest build according to instructions on readme.md.

Address.ofData(array).toLong(). But please note that TeaVM GC can relocate arrays

Oh! Thank you. (I was hoping to be safe from the GC if I call the import in the same statement... But maybe I'm mixing this up with Go semantics.)

Unlike JVM, TeaVM GC does not relocate objects that are directly reachable from stack. This means that if method foo call native function bar and passes array address there, bar can be sure that array won't be relocated until bar completes. If native function bar calls Java method foo which returns address of an array, array is not guaranteed to be there.

I see. TeaVM holds significantly more magic than I expected. I'm considerably more optimistic that I might be able to run Java in my plugin system. (I'm on vacation next week... ;) So not too soon.)

Isn't Class.getCanonicalName supported in latest versions?

It is. (And sorry, I just used the archetype from getting started without thinking. That still comes with 0.6.1 from central.)
Now that I know that the current version has more support, I'll try a few more libraries. Maybe one of them happens to be usable as is.
(You're right, testing data structures like ConcurrentHashMap is tricky. Maybe in this case, one could at least use fuzzing, since execution is deterministic. (If it actually is...?))

I'll write a simple JSON parser in an hour. Do you need one?

You may leave that exercise to the reader. ;)

authors: jcaesar konsoletyper zonghaishang

repo: konsoletyper/teavm


text:
Beacon sent/received clarification

Hey there,
working with first collected data, I am a bit confused by the following:
https://github.com/konstk1/helium-dashboard/blob/5701e0cd342b1214041ffd370f91868165373423/src/helium.js#L81-L85
If my hotspot is the one that was challenged, we say that a beacon was sent, otherwise received. Isn't it the other way around?
This element from the explorer is translated to "beacon received":

Challenged Beaconer is different from sent Beacon. Sent Beacon is when you're being challenged. Here's an example: https://explorer.helium.com/txns/TtdhatBTZ9mjJCKONPEEbqGxydm_e4ZCD8xnSAT6EVI

Exactly. In the example my hotspot challenged another hotspot to broadcast a beacon. This is not "beacon received"?

No, when you're being challenged, you're being asked to send a beacon. The way it works is a challenger generates a challenge and is sent to the chalangee. The challengee then broadcasts/sends a beacon to be witnessed by others. So if you're the challengee, you're sending a beacon.

Exactly. This is pretty basic knowledge. So even though you agree it's "sending a beacon", why is this event captured in influxdb with the tag "beacon received"?

It's not. If I'm the challengee, I'm sending the beacon and it's being tagged as 'beacon_sent'. What am I missing?
if (act.path[0].challengee == process.env.HELIUM_HOTSPOT) {
   point.tag('type', 'beacon_sent');
   // console.log('Beacon sent: witnesses ', act.path[0].witnesses.length);
 }

All clear now. It was late and the naming of your fields/tags might have been confusing.

Field witnesses + Tag beacon_sent = Number of witnesses of the hotspot's beacon, important
Field witnesses + Tag beacon_received = Number of witnesses of beacons my hotspot witnessed, not really important (in fact its only use in the Grafana dashboard is better covered by the field count). Anyhow, I won't complain about extra data.

Issue resolved

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
remove old node version from actions

Applied mkpr on .github/workflows/*.yml
sed /\- 20.12.0/d

Pull Request Test Coverage Report for Build 8624171074
Details

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 94.501%

Totals

Change from base Build 8623414279:
0.0%

Covered Lines:
909

Relevant Lines:
963

💛  - Coveralls

source: gharchive/pull-request

repo: konsumation/model


text:
:bug: Fix compile step

Fixes #393
Remove "compile" goal from maven invocations, as some applications may not be compilable with the JDK version we bundle.
Related to https://github.com/konveyor/analyzer-lsp/issues/393 and https://github.com/konveyor/analyzer-lsp/issues/393

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

Captured in issue here, will add sometime this week https://github.com/konveyor/analyzer-lsp/issues/399

Do we have a multi-module test case yet? I would love to see that added with/ this change to make sure we don't break that in the future (I am worried about me breaking it :) )

If it helps: The problem came up in my (company project) multi project build. Tested the patch with that project already.

Thanks!

authors: ascheman jmle pranavgaikwad shawn-hurley

repo: konveyor/analyzer-lsp


text:
Console warning related to ConditionalTooltip component (coming from PatternFly)

Sometimes when showing/hiding tooltips using the ConditionalTooltip components, a console message can appear like this one:
react_devtools_backend.js:2557 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in Tooltip (created by ConditionalTooltip)
    in ConditionalTooltip (created by ProviderSelect)
    in button (created by Context.Consumer)
    in li (created by Context.Consumer)
    in SelectOption (created by SimpleSelect)
    in ul (created by Context.Consumer)
    in SelectMenu (created by ForwardRef)
    in ForwardRef (created by Select)
    in div (created by Select)
    in FindRefWrapper (created by Popper)

I'm not sure why it only happens sometimes, but something about handling mouse events at the same time your component is unmounted/mounted is causing it. It's harmless (the error even says it's a no-op) but we should fix it.

Opened PR in PF to fix this: https://github.com/patternfly/patternfly-react/pull/5991
Note that we may also want to propose a new isEnabled prop on the PF Tooltip to prevent the ConditionalTooltip component from being necessary at all.

https://github.com/patternfly/patternfly-react/pull/5991 has been merged, so once it is released we can upgrade PF in order to close this issue.

Note to self: Upgrading to @patternfly/react-core@4.136.1 will address this and #256

repo: konveyor/forklift-ui


text:
[MIG-443] Ensure hook related resources from disco svc response render in debug view

The hooks, job, and pod that are related to a particular migration as they spawn (if they exist)
to the debug resources page. This requires a discovery service update to provide this data.
We think the debug resources page should be able to just render this addition to the payload,
but Ian Bolton will likely need to ensure this is true, or make adjustments in case anything is broken.

Resolved by #1164

authors: djwhatle eriknelson

repo: konveyor/mig-ui


text:
Allow specifying package names in target class list

Is your feature request related to a problem? Please describe.
Currently only specifying class names are allowed in target class list, whereas excluded class list accepts package names as well
Describe the solution you'd like
|
Allow specifying package names in target class list
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Implemented and merged via PR: https://github.com/konveyor/tackle-test-generator-cli/pull/199

repo: konveyor/tackle-test-generator-cli


text:
Fix codeigniter preset

Issue
#

:beetle: Bug Fix
Yes

:trophy: Feature
Yes

:pencil: Refactor
No

:open_book: Documentation
Yes

:warning: Break Change
No

Description

fix Cache Services config in the documentation
fix kool run phpunit does not work
add mysql script

Notes

Thanks @kenjis for the contribution. The failing test seems unrelated so I will merge and check on master for the issue in the test.

authors: fabriciojs kenjis

repo: kool-dev/kool


text:
SanctumContext: Cannot invoke an object which is possibly 'undefined'.ts

What im trying to do:
const handleLogin = async (e: any) => {
  e.preventDefault();
  const {signIn} = React.useContext(SanctumContext);
  const sign = await signIn('email@test.com', '12345');
}

Error:
Cannot invoke an object which is possibly 'undefined'.ts(2722) (property) signIn?: ((email: string, password: string, remember?: boolean | undefined) => Promise<{}>) | undefined

react-sanctum 2.1.0 has been released!
If you update, you can now replace this:
const { signIn } = React.useContext(SanctumContext);
...
await signIn!('email@test.com', '12345');

with this:
const { signIn } = useSanctum();
...
await signIn('email@test.com', '12345');

authors: kauandotnet koole

repo: koole/react-sanctum


text:
又出现梅林固件重启会导致开机不能正常启动simple obfs的BUG

ss-redir[3918]: plugin service exit unexpectedly
重启会出现这个错误，如果在软件中心直接点击提交又是可以正常使用的。
https://github.com/koolshare/koolshare.github.io/issues/455

已提交PR
https://github.com/koolshare/ledesoft/pull/34

repo: koolshare/ledesoft

license: mit

license_source: bigquery


text:
does not work on gcl itself?

trying to work around #3 I tried using gcl on gcl it self:
jbang gcl.java --startrevision=45ed19d8e226edf5eb4e567f5142f976950b2536 --endrevision=d83bc2670ad01abfd53cd80b9cc2f8c707dcea54 --owner=koppor --repo=github-contributors-list .
but this gives me:
NFO: Connecting to koppor/github-contributors-list... (call)
INFO: Opening local git repository .... (call)
INFO: Analyzing 6 days backwards: From 2024-04-09T06:46:03Z to 2024-04-02T14:17:22Z (call)
Analyzing 100% │███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████│ 6/6 (0:00:00 / 0:00:00)

|  |  |  |  |  |  |
| --  | --  | --  | --  | --  | --  |

whats the trick to get it to work ? :)

fyi: only way i could get it to do something was running on jabref/jabref.

Should be fixed by https://github.com/koppor/github-contributors-list/pull/5.
I "accidentally" analyzed pull requests only. Now, also "normal" commits are analyzed.

koppor
Max Rydahl Andersen

authors: koppor maxandersen

repo: koppor/github-contributors-list


text:
Support installing on Windows

Initially requested in https://github.com/kosarev/z80/issues/33#issuecomment-907829756.

@kidmirage Fixed building with python setup.py install and pip install z80. Please give it another try on your setup.

It's working fine for me under Windows 10 (2004) with Python 3.9.  Here's the command and output for each step:
C:\>pip install z80
Collecting z80
  Using cached z80-1.0b2.tar.gz (49 kB)
Building wheels for collected packages: z80
  Building wheel for z80 (setup.py) ... done
  Created wheel for z80: filename=z80-1.0b2-cp39-cp39-win_amd64.whl size=71097 sha256=24ffc0473646fb53952bff227aef8c75ba1c68f80aaf6bc0170e0481edb6f4d4
  Stored in directory: c:\users\simon\appdata\local\pip\cache\wheels\68\6c\d9\81a2e9d4bb022d176fe4649d75996df9243bf4c3cda6a56433
Successfully built z80
Installing collected packages: z80
Successfully installed z80-1.0b2

C:\>pip uninstall z80
Found existing installation: z80 1.0b2
Uninstalling z80-1.0b2:
  Would remove:
    c:\python39\lib\site-packages\z80-1.0b2.dist-info\*
    c:\python39\lib\site-packages\z80\*
    c:\python39\scripts\z80.exe
Proceed (Y/n)? y
  Successfully uninstalled z80-1.0b2

C:\z80>python setup.py install
running install
running bdist_egg
running egg_info
writing z80.egg-info\PKG-INFO
writing dependency_links to z80.egg-info\dependency_links.txt
writing entry points to z80.egg-info\entry_points.txt
writing top-level names to z80.egg-info\top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
reading manifest file 'z80.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'z80.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_disasm.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_disasm_parser.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_error.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_instr.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_machine.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_main.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_source.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_token.py -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\_z80.cp39-win_amd64.pyd -> build\bdist.win-amd64\egg\z80
copying build\lib.win-amd64-3.9\z80\__init__.py -> build\bdist.win-amd64\egg\z80
byte-compiling build\bdist.win-amd64\egg\z80\_disasm.py to _disasm.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_disasm_parser.py to _disasm_parser.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_error.py to _error.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_instr.py to _instr.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_machine.py to _machine.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_main.py to _main.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_source.py to _source.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\_token.py to _token.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\z80\__init__.py to __init__.cpython-39.pyc
creating stub loader for z80\_z80.cp39-win_amd64.pyd
byte-compiling build\bdist.win-amd64\egg\z80\_z80.py to _z80.cpython-39.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying z80.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying z80.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying z80.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying z80.egg-info\entry_points.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying z80.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
zip_safe flag not set; analyzing archive contents...
z80.__pycache__._z80.cpython-39: module references __file__
creating 'dist\z80-1.0b2-py3.9-win-amd64.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing z80-1.0b2-py3.9-win-amd64.egg
creating c:\python39\lib\site-packages\z80-1.0b2-py3.9-win-amd64.egg
Extracting z80-1.0b2-py3.9-win-amd64.egg to c:\python39\lib\site-packages
Adding z80 1.0b2 to easy-install.pth file
Installing z80-script.py script to C:\Python39\Scripts
Installing z80.exe script to C:\Python39\Scripts

Installed c:\python39\lib\site-packages\z80-1.0b2-py3.9-win-amd64.egg
Processing dependencies for z80==1.0b2
Finished processing dependencies for z80==1.0b2

Closing this as resolved. Please feel free to re-open, if anything.

authors: kosarev simonowen


text:
Column order

related #146

@koskimas
I don't know what you would think about this change. If you think this is not worth it, I can bring you more reasons.

I think this is fine. The user can always sort the list by name.

authors: koskimas wirekang

repo: koskimas/kysely


text:
NoClassDefFoundError: uno/glfw/HWND

java.lang.NoClassDefFoundError: uno/glfw/HWND
	at imgui.classes.IO.<init>(IO.kt:156)
	at imgui.classes.Context.<init>(Context.kt:37)
	at imgui.classes.Context.<init>(Context.kt:30)
	at it.rattly.ware.ImGuiThings.init$lambda$0(ImGuiThings.kt:30)

fixed by updating

repo: kotlin-graphics/imgui


text:
Create a KotlinTest forum

The discussions happens mostly in comments to issues, but there are some topics that are not related to issues, like general discussion about future development, coding conventions, or questions about usage. Maybe we should create a forum like a Google group.
For example I've just created the first wiki page about How to Contribute and there is no good place to discuss it at the moment.
What do you think?

Slack #kotlintest already exists. Or gitter.
On 8 Jul 2016 06:42, "Christian Helmbold" notifications@github.com wrote:

The discussions happens mostly in comments to issues, but there are some
topics that are not related to issues, like general discussion about future
development, coding conventions, or questions about usage. Maybe we should
create a forum like a Google group.
For example I've just created the first wiki page about How to Contribute
https://github.com/kotlintest/kotlintest/wiki/contribute and there is
no good place to discuss it at the moment.
What do you think?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/69, or mute the thread
https://github.com/notifications/unsubscribe/AAtZGpd5HCzmib6zsxx-GQhDPSxSD6I2ks5qTeNZgaJpZM4JHvQ5
.

What is the slack address? Is it open?
2016-07-08 8:54 GMT+02:00 Stephen Samuel notifications@github.com:

Slack #kotlintest already exists. Or gitter.
On 8 Jul 2016 06:42, "Christian Helmbold" notifications@github.com
wrote:

The discussions happens mostly in comments to issues, but there are some
topics that are not related to issues, like general discussion about
future
development, coding conventions, or questions about usage. Maybe we
should
create a forum like a Google group.
For example I've just created the first wiki page about How to Contribute
https://github.com/kotlintest/kotlintest/wiki/contribute and there is
no good place to discuss it at the moment.
What do you think?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/69, or mute the thread
<
https://github.com/notifications/unsubscribe/AAtZGpd5HCzmib6zsxx-GQhDPSxSD6I2ks5qTeNZgaJpZM4JHvQ5
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/69#issuecomment-231288821,
or mute the thread
https://github.com/notifications/unsubscribe/ADuN8XGtfstJAGuFRZQrdbW7GUI5UUWDks5qTfRBgaJpZM4JHvQ5
.

Nevermind... I found and joined it

OK.  We should mention it on the wiki.

However I like classical forums better since slack is a unstructured chat. Previous questions (e. g. how to use the framework in a certain case) are not googleable in slack and even if you'd be able to find one the answers are unstructured and possibly mixed with other topics.

From what I can tell Slack and Gitter are IRC systems with no email. My workflow is focused entirely on my Inbox, so if people want my input on anything that doesn't have an email prompt associated with it, please let me know and I will endeavour to find out how to access Slack and Gitter.

I couldn't find the slack link, can somebody point me to it?

https://kotlinlang.slack.com/messages/kotlintest/

Ok Well I don't have a @Jetbrains.com account sadly :/

You just need to request a slack login.

Join the new KotlinTest Forum!

authors: helmbold la10736 reckter russel sksamuel

repo: kotlintest/kotlintest


text:
[Next Release Only] Documents SkipTestException

Part of #522

Cool
On Thu, 6 Jun 2019 at 11:34, Leonardo Colman Lopes notifications@github.com
wrote:

@Kerooker commented on this pull request.
In doc/reference.md
https://github.com/kotlintest/kotlintest/pull/806#discussion_r291270425:

@@ -787,6 +787,22 @@ class BangExample : StringSpec({
})

+### SkipTestException
+Sometimes you want to interrupt a test in runtime, as perhaps you don't know at compile-time if the test should be executed. For this, KotlinTest provides a way to interrupt it by throwing an exception: The `SkipTestException`.
+
+```kotlin
+class SkipTestExceptionExample : StringSpec({
+
+  "Test should be skipped" {
+    if(noBananasEaten()) {
+      throw SkipTestException("This test was skipped due to the amount of bananas I ate today.")

done.

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<https://github.com/kotlintest/kotlintest/pull/806?email_source=notifications&email_token=AAFVSGWKJFKN3E2F7NLGJJLPZE375A5CNFSM4HS4S3Z2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB22BSIY#discussion_r291270425>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFVSGSCNIZISOZ2YCVTONTPZE375ANCNFSM4HS4S3ZQ>
.

authors: Kerooker sksamuel


text:
🗑 Deprecation promotion of toStrictlyNegativeInt extension function to error level

📝 Description
We would like to promote the deprecation of Number.toStrictlyNegativeInt() extension function to an error level.
🔗 Dependencies
This issue is blocked by the following ones:

[x] #450

✅ Checklist

[ ] Promote the deprecation of this declaration, remove its tests and update the unreleased changelog.
[ ] Close this issue as completed and update tracking ones if present.

We are not ready to implement this change.

repo: kotools/types


text:
Ensure a specific nightly is used to run cargo-web

I've run into several issues with wasm32-unknown-unknown and the default behaviour of installing the newest rust nightly:

stdweb doesn't compile
Debug symbols are not generated, making debugging and profiling nearly impossible (stack traces in Chrome only consist of <WASM UNNAMED>, for example)
the chosen nightly "doesn't support components", leading to a cryptic error when cargo-web queries rustup for installed targets

For that reason, I created a fork where I can pin the plugin to a specific nightly using rustup directory overrides instead of using rustup run nightly .... I found an older nightly through trial and error that doesn't have any of the mentioned issues, but I might have missed a newer one that is also fine. And this implies that you would need to maintain this known-good somewhat-recent nightly information.
Feel free to address this otherwise and reject this PR, I don't know how you feel about this design choice, I just needed the reliability for my own project.

Thanks for the PR!
This is certainly a useful feature to have, however I think it'd be better to use rustup run instead of overriding it permanently. If that's changed I'm fine with merging this!

FYI, I went ahead to using cargo-web and parcel (but not this plugin) and pinning versions manually, mostly to have my pinning-configuration all in one place (my project also contains a Rust backend). Feel free to close this PR or to keep it.

authors: aeickhoff koute

repo: koute/parcel-plugin-cargo-web


text:
Is it possible to implement Readable and Writable for std::result::Result<T, E>

Since Readable and Writable are implemented for Option, so I wonder if it is possible for the library to implement this for Result?

Given both Ok and Error values implement Readable and Writable? I assume it would be possible. Maybe like Option<T>, prefix with 0 is Ok and prefix with 1 if Error.

I would like to implement this feature so I wonder if this will be accepted. @koute

I would like to implement this feature so I wonder if this will be accepted. @koute

Yes, I'll merge such a PR.

authors: BobAnkh jeromegn koute

repo: koute/speedy


text:
[#239] Re-export more STM functions.

Resolves #239

Checklist:

HLint

[x] I've changed the exposed interface (add new reexports, remove reexports, rename reexported things, etc.).

[x] I've updated hlint.dhall accordingly to my changes (add new rules for the new imports, remove old ones, when they are outdated, etc.).
[ ] I've generated the new .hlint.yaml file (see this instructions).

General

[ ] I've updated the CHANGELOG with the short description of my latest changes.
[x] All new and existing tests pass.
[x] I keep the code style used in the files I've changed (see style-guide for more details).
[x] I've used the stylish-haskell file.
[ ] My change requires the documentation updates.

[ ] I've updated the documentation accordingly.

[ ] I've added the [ci skip] text to the docs-only related commit's name.

Note to future code spelunkers; instance Alternative STM where (<|>) = orElse; empty = retry and so you can use guard / guarded instead of check.

Note to future code spelunkers; instance Alternative STM where (<|>) = orElse; empty = retry and so you can use guard / guarded instead of check.

repo: kowainik/relude


text:
Adds working version of “Georgia as art”

I did a bunch of these “sustained looking” posts about the typeface Georgia, something I might revise and continue with. It doesn’t necessarily say a lot yet, but I figured I should commit something to get started.
Read the article

Github never notified me about this. Going to read now.

I feel like there's a big piece missing in here that creates the question of "Why should we think of Georgia as art?" You've done a good job of laying out why and when typefaces can be considered art but I don't see the argument for Georgia anywhere. I like the bones here though — some interesting things to consider about where art and utility collide.

@kennethormandy Ever make any more progress on this

authors: kennethormandy kpeatt

repo: kpeatt/writing


text:
Use macro-generated impls even for foreign types

Make a macro that can be used to generate an implementation for another crate's type just like the derive macro does for a local one, and use it to implement Exhaust for types like Option, Result and Ordering.
This will ensure that our impls can have all the expected functionality and be tidily opaque rather than an aggregation of iterator combinators.
Open question: Should we rigorously use such implementations, or keep using iter::once, iter::empty, and such for simple cases?

Another possibility would be to wait for Rust to stabilize RFC 2515 type_alias_impl_trait, at which point we can just use
impl Exhaust for SomeType {
    type Target = impl Iterator<Item = SomeType>;
    ...
}

for every impl Exhaust that isn't intending to expose its iterator type.

#33 did a little bit of this, for Result and Option.

repo: kpreid/exhaust


text:
update bollux link

link updated according to the owner's message. the old repo says:

NOTE: bollux's development has moved to tildegit.org. The new repo is here:
tildegit.org/acdw/bollux

@confor Thanks for the new link.


text:
Updates services and tools

This list was missing mention of syntax highlighting, so that felt like a good addition. I also added a few services I maintain and updated the text to my client (which was already present on the list).

@sloumdrone Thanks for you contribution 🎉 🙏


text:
Switch to GitHub container registry instead of DockerHub

Currently we publish the Krane docker image (and other Krane images like the UI) to DockerHub. We currently don't have it under a Krane specific org and instead rely on biensupernice https://hub.docker.com/r/biensupernice/krane
We should migrate over to using GHCR (GitHub container registry) so we can namespace all Krane specific projects under the Krane repository. All images would be accessible via ghcr.io/krane/krane instead of docker.io/biensupernice/krane

Package: https://github.com/krane/krane/pkgs/container/krane
Pulling the Docker image
docker pull ghcr.io/krane/krane:latest

Pulling the Krane Proxy:
docker pull ghcr.io/krane/proxy:latest

Pulling the Krane status page:
docker pull ghcr.io/krane/statuspage

repo: krane/krane


text:
New parameter on Generic Before hook

I would suggest add one more parameter to the generic before hook with the "current url" value. This way we can do checks BEFORE a specific url get loaded.
router.hooks({
    before: function (done, params, url) {
        if (url === 'private')
            done(false);

        done();
    }
});

Hey,
can you try using router. lastRouteResolved()? I think it is what you need.

Sup,
I could be wrong (i'm don't have access to the code), but I tried this and the first call always get "null" as a result. Latter I'll try to post some code.

Yeap, following the test I did and the console.log print null. What I want to do, is check if is url === 'login' and !isAuthenticated() return done(true);
Right now, to work, i just have to put the login in a separated file.
let router = new Navigo(null, false);

router.hooks({
  before: function(done, params) {
    console.log(router.lastRouteResolved());

    if (!isAuthenticated()) {
      done(false);
      //window.location.href = '/login.html';
    } else
      done();
  }
});

router.on('/tickets', () => loadContent('tickets').then(() => ticketsController()))
  .on('/', () => loadContent('dashboard').then(() => dashboardController()))
  .on(() => loadContent('dashboard').then(() => dashboardController()))
  .resolve();

Hm ... for the very first time I think it is fine to be null. Is it always null even you navigate through other pages.

Well, then ty :)

authors: krasimir sipmann

repo: krasimir/navigo


text:
Support for Remote access

Is there support for accessing a Vera U17 remotely through the Findvera.com servers?

No, this is for directly contacting a vera. I have not looked at all into using findvera.com.

authors: arnoldmarunda kreynolds

repo: kreynolds/ruby-mios


text:
InitialLatex issue

How can we set initial Latex. I'm assigning a valid latex but it shows empty input field on initial render. here is my code
`
const MathInputComponent = () => {
const [value1, setValue1] = useState();
  return (
      <>
          <MathInput
              initialLatex="\\frac{\\int_a^b 2\\pi e^{2ix}\\cos(\\theta) \\gamma}{\\sum_2^9 i^2 - 1}"
              setValue={setValue1}
              divisionFormat="obelus"
          />
      </>
  );

};
export default MathInputComponent;`

Hello ! The mathquill's method MF.latex() seems to not work with string literals for whatever reason. Your issue should be fixed by surrounding your string with brackets :
<MathInput
              initialLatex={"\\frac{\\int_a^b 2\\pi e^{2ix}\\cos(\\theta) \\gamma}{\\sum_2^9 i^2 - 1}"}

          />

@krirkrirk I've fixed the issue but don't have permission to push my branch and open a PR. Could you please update the project permissions to allow others to contribute?
I'm getting the following error
ERROR: Permission to krirkrirk/react-math-keyboard.git denied to asadgulxar.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

authors: asadgulxar krirkrirk

repo: krirkrirk/react-math-keyboard


text:
[ENHANCEMENT] Making the Footer responsible

Description
I want to enhance the footer of the website.
Current Behavior
Now the footer has only copyrights description. This needs to have links and other sections as well.
Proposed Enhancement
I will add some links and the logo of the social media platforms and other newsletter section and some extra links.
Use Case
This will help the users quickly go through other section and find the thing they want.
Assign this to me under GSSoC'24.
Blockers
No response
Additional Information/ Attachments
No response

hello sir @krishnaacharyaa  i want to wok on this issue please assign this task to me
Making the footer responsible will finish it tomorrow

Could you please assign this issue to me?

Concurrently 2 things you wanna work on ? @shivansh84ya

Closing as done

Why did you close this issue.

@MuraliDharan7 I guess I have already commented !! and it says why I have closed ?!!
https://wanderlust-beta.vercel.app this might answer your question

repo: krishnaacharyaa/wanderlust


text:
Replace Sonatype lift by Sonacloud

Is your feature request related to a problem? Please describe.
The problem we have is that Sonatype lift is retired in August 12. So we need to migrate to another similar static analysis tool.
Describe the solution you'd like
After some discussion with the team, we agreed to try with sonarcloud because it seems to be straightforward to install and no history migration is needed.
Describe alternatives you've considered
If sonarcloud is not viable, maybe replace it with SonarQube would be the best option.

https://sonarcloud.io/summary/overall?id=kroxylicious_kroxylicious

https://sonarcloud.io/summary/overall?id=kroxylicious_kroxylicious

repo: kroxylicious/kroxylicious


text:
Tolerate multiple messages being read from client during connection

Type of change

Bugfix

Description
Enqueue further messages handled by KafkaProxyFrontendHandler while it is in the CONNECTING or CONNECTED state before it has received the OUTBOUND_ACTIVE signal from the outbound channel. Then write them all to the outbound when it becomes active and null out the queue.
Resolves #513
Additional Context
It is possible for clients to send multiple messages to the broker immediately. In this case, even though we try to disable autoread of the inbound channel we can still read multiple messages from the socket and have to handle multiple messages while we are establishing the connection to upstream.
The Kafka Broker handles this case fine so we should too.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonar-Lint warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

Tested with the reproducer in the issue and it now looks good :+1:
base64 -d - <<<AAAANAASAAMAAAAAABBjb25zb2xlLXByb2R1Y2VyABJhcGFjaGUta2Fma2EtamF2YQYzLjQuMAA=AAAANAASAAMAAAAAABBjb25zb2xlLXByb2R1Y2VyABJhcGFjaGUta2Fma2EtamF2YQYzLjQuMAA= | nc -x  127.0.0.1 9192
Sent 112 bytes to the socket
00000000  00 00 00 34  00 12 00 03  00 00 00 00  00 10 63 6F  ...4..........co
00000010  6E 73 6F 6C  65 2D 70 72  6F 64 75 63  65 72 00 12  nsole-producer..
00000020  61 70 61 63  68 65 2D 6B  61 66 6B 61  2D 6A 61 76  apache-kafka-jav
00000030  61 06 33 2E  34 2E 30 00  00 00 00 34  00 12 00 03  a.3.4.0....4....
00000040  00 00 00 00  00 10 63 6F  6E 73 6F 6C  65 2D 70 72  ......console-pr
00000050  6F 64 75 63  65 72 00 12  61 70 61 63  68 65 2D 6B  oducer..apache-k
00000060  61 66 6B 61  2D 6A 61 76  61 06 33 2E  34 2E 30 00  afka-java.3.4.0.
�=

�12389:<=ABReceived 446 bytes from the socket
00000000  00 00 01 BA  00 00 00 00  00 00 3D 00  00 00 00 00  ..........=.....
00000010  09 00 00 01  00 00 00 0D  00 00 02 00  00 00 07 00  ................
00000020  00 03 00 00  00 0C 00 00  04 00 00 00  07 00 00 05  ................
00000030  00 00 00 04  00 00 06 00  00 00 08 00  00 07 00 00  ................
00000040  00 03 00 00  08 00 00 00  08 00 00 09  00 00 00 08  ................
00000050  00 00 0A 00  00 00 04 00  00 0B 00 00  00 09 00 00  ................
00000060  0C 00 00 00  04 00 00 0D  00 00 00 05  00 00 0E 00  ................
00000070  00 00 05 00  00 0F 00 00  00 05 00 00  10 00 00 00  ................
00000080  04 00 00 11  00 00 00 01  00 00 12 00  00 00 03 00  ................
00000090  00 13 00 00  00 07 00 00  14 00 00 00  06 00 00 15  ................
000000A0  00 00 00 02  00 00 16 00  00 00 04 00  00 17 00 00  ................
000000B0  00 04 00 00  18 00 00 00  03 00 00 19  00 00 00 03  ................
000000C0  00 00 1A 00  00 00 03 00  00 1B 00 00  00 01 00 00  ................
000000D0  1C 00 00 00  03 00 00 1D  00 00 00 03  00 00 1E 00  ................
000000E0  00 00 03 00  00 1F 00 00  00 03 00 00  20 00 00 00  ............ ...
000000F0  04 00 00 21  00 00 00 02  00 00 22 00  00 00 02 00  ...!......".....
00000100  00 23 00 00  00 04 00 00  24 00 00 00  02 00 00 25  .#......$......%
00000110  00 00 00 03  00 00 26 00  00 00 03 00  00 27 00 00  ......&......'..
00000120  00 02 00 00  28 00 00 00  02 00 00 29  00 00 00 03  ....(......)....
00000130  00 00 2A 00  00 00 02 00  00 2B 00 00  00 02 00 00  ..*......+......
00000140  2C 00 00 00  01 00 00 2D  00 00 00 00  00 00 2E 00  ,......-........
00000150  00 00 00 00  00 2F 00 00  00 00 00 00  30 00 00 00  ...../......0...
00000160  01 00 00 31  00 00 00 01  00 00 32 00  00 00 00 00  ...1......2.....
00000170  00 33 00 00  00 00 00 00  38 00 00 00  02 00 00 39  .3......8......9
00000180  00 00 00 01  00 00 3A 00  00 00 00 00  00 3C 00 00  ......:......<..
00000190  00 00 00 00  3D 00 00 00  00 00 00 41  00 00 00 00  ....=......A....
000001A0  00 00 42 00  00 00 00 00  00 43 00 00  00 00 00 00  ..B......C......
000001B0  00 00 00 01  01 08 00 00  00 00 00 00  00 00        ..............
�=

�12389:<=ABReceived 446 bytes from the socket
00000000  00 00 01 BA  00 00 00 00  00 00 3D 00  00 00 00 00  ..........=.....
00000010  09 00 00 01  00 00 00 0D  00 00 02 00  00 00 07 00  ................
00000020  00 03 00 00  00 0C 00 00  04 00 00 00  07 00 00 05  ................
00000030  00 00 00 04  00 00 06 00  00 00 08 00  00 07 00 00  ................
00000040  00 03 00 00  08 00 00 00  08 00 00 09  00 00 00 08  ................
00000050  00 00 0A 00  00 00 04 00  00 0B 00 00  00 09 00 00  ................
00000060  0C 00 00 00  04 00 00 0D  00 00 00 05  00 00 0E 00  ................
00000070  00 00 05 00  00 0F 00 00  00 05 00 00  10 00 00 00  ................
00000080  04 00 00 11  00 00 00 01  00 00 12 00  00 00 03 00  ................
00000090  00 13 00 00  00 07 00 00  14 00 00 00  06 00 00 15  ................
000000A0  00 00 00 02  00 00 16 00  00 00 04 00  00 17 00 00  ................
000000B0  00 04 00 00  18 00 00 00  03 00 00 19  00 00 00 03  ................
000000C0  00 00 1A 00  00 00 03 00  00 1B 00 00  00 01 00 00  ................
000000D0  1C 00 00 00  03 00 00 1D  00 00 00 03  00 00 1E 00  ................
000000E0  00 00 03 00  00 1F 00 00  00 03 00 00  20 00 00 00  ............ ...
000000F0  04 00 00 21  00 00 00 02  00 00 22 00  00 00 02 00  ...!......".....
00000100  00 23 00 00  00 04 00 00  24 00 00 00  02 00 00 25  .#......$......%
00000110  00 00 00 03  00 00 26 00  00 00 03 00  00 27 00 00  ......&......'..
00000120  00 02 00 00  28 00 00 00  02 00 00 29  00 00 00 03  ....(......)....
00000130  00 00 2A 00  00 00 02 00  00 2B 00 00  00 02 00 00  ..*......+......
00000140  2C 00 00 00  01 00 00 2D  00 00 00 00  00 00 2E 00  ,......-........
00000150  00 00 00 00  00 2F 00 00  00 00 00 00  30 00 00 00  ...../......0...
00000160  01 00 00 31  00 00 00 01  00 00 32 00  00 00 00 00  ...1......2.....
00000170  00 33 00 00  00 00 00 00  38 00 00 00  02 00 00 39  .3......8......9
00000180  00 00 00 01  00 00 3A 00  00 00 00 00  00 3C 00 00  ......:......<..
00000190  00 00 00 00  3D 00 00 00  00 00 00 41  00 00 00 00  ....=......A....
000001A0  00 00 42 00  00 00 00 00  00 43 00 00  00 00 00 00  ..B......C......
000001B0  00 00 00 01  01 08 00 00  00 00 00 00  00 00        ..............
^C[roby@roby kroxylicious]


text:
Coefficients in wOBA calculation needs to be season-dependent

In stats.js, a function for calculating wOBA named 'calcwOBA' was written in lines 155-159 using Tom Tango's wOBA formula from The Book.
function calcWOBA(results) {
    if (results.plateAppearances) {
        results.wOBA = ((results.walks * 0.72) + (results.hitByPitch * 0.75) + (results.singles * 0.9) + (results.doubles * 1.24) + (results.triples * 1.56) + (results.homeRuns * 1.95) + (results.rboe * 0.92)) / results.plateAppearances;
    }
}

However, Tango's formula from The Book were based on standardized linear weights in order to find those wOBA coefficients. Since then, Tango has developed customized wOBA calculations based on seasonal run environments in order to more accurately assign the relative value of events. wOBA coefficients should be seasonal.
For more information, here are some links to read:
http://www.beyondtheboxscore.com/2011/1/4/1912914/custom-woba-and-linear-weights-through-2010-baseball-databank-data
https://spreadsheets.google.com/spreadsheet/pub?key=0AuazhUE5lzIsdFgzdGlpUzktN2h4Q214a1dMTzBjd3c&gid=0
If we can write a script that determines wOBA coefficients after a season has completed (and use the default wOBA coefficients in Tom Tango's The Book during the season), that can feed the calcwOBA formula more accurately. Then we wouldn't have to rely on Matt Klaassen to update his numbers from the links above.
Edit: FanGraphs has the latest wOBA coefficients on their website. http://www.fangraphs.com/guts.aspx

I set up a column for "wOBA-against" for each starting pitcher using the season-specific coefficients in GUTS! Now I'm wondering if those coefficients can be used on a game-by-game basis such that there will be a "wOBA-against" value for each game of each starting pitcher for each season using the coefficients of a given season for the calculations the games within that season.
I'm wondering if those wOBA values for those games would even be meaningful, and if not, what is a meaningful way to calculate wOBA on a game-by-name basis for each year in a range of years? I'm thinking that some of the answer to that depends on how those season-specific weights are actually determined. I realize they are "based on the run environment", but specifically in what way?

repo: kruser/pitchfx-site


text:
Revised version of the update

Hi Krystofl,
As you requested, I replaced BooleanOptionalAction with Python 3.8 compatible solution, changed intent size from 4 to 2 spaces and fixed class name. For full changelog, please see list below. I also merged all commits into one, because it looked very messy.

fixed parsing of HTML file that turned out to be currently broken due to Amazon mistake (misplaced  element inside noteHeading element)
added flag --no-location that is compatible with python 3.8
if no output argument passed, output the .md file next to original one with original file name (instead of saving 'converted.md' in location of .py script)
added argument option to copy entire result to clipboard instead of saving it to .md file
Resolved: check if the file exists and handle as appropriate
added new optional arguments to README

Thanks @thomaswinged! That's a bunch of solid improvements. I particularly like the argument to avoid saving the note/highlight location.
I could not get pyperclip working correctly. Here is what happens on my Ubuntu 20.04 system:
(kindle-notes-to-md) krystof@jeepney  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/) -c loonshots.html
CRITICAL Exception:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error  ([kindle_notes_to_md.py:248](http://kindle_notes_to_md.py:248/) @ 15:46:25)
Traceback (most recent call last):
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 245, in <module>
    notes.output_md(args)
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 336, in __call__
    raise PyperclipException(EXCEPT_MSG)
pyperclip.PyperclipException:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error

And to make sure it wasn't caused by the system, I've also run it in WSL, and the result is similar:
(kindle-notes-to-md) krystof@zaphod  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./kindle_notes_to_md.py -c nonviolent-comm.html
CRITICAL Exception: [Errno 2] No such file or directory: 'clip.exe' (kindle_notes_to_md.py:248 @ 15:37:15)
Traceback (most recent call last):
  File "./kindle_notes_to_md.py", line 245, in <module>
    notes.output_md(args)
  File "./kindle_notes_to_md.py", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 506, in copy_wsl
    p = subprocess.Popen(['clip.exe'],
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'clip.exe'

In what environment are you running it?
I've also added a couple of comments/questions about smaller items inline.

Thanks @thomaswinged! That's a bunch of solid improvements. I particularly like the argument to avoid saving the note/highlight location.
I could not get pyperclip working correctly. Here is what happens on my Ubuntu 20.04 system:
(kindle-notes-to-md) krystof@jeepney  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/) -c loonshots.html
CRITICAL Exception:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error  ([kindle_notes_to_md.py:248](http://kindle_notes_to_md.py:248/) @ 15:46:25)
Traceback (most recent call last):
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 245, in <module>
    notes.output_md(args)
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 336, in __call__
    raise PyperclipException(EXCEPT_MSG)
pyperclip.PyperclipException:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error

And to make sure it wasn't caused by the system, I've also run it in WSL, and the result is similar:
(kindle-notes-to-md) krystof@zaphod  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./kindle_notes_to_md.py -c nonviolent-comm.html
CRITICAL Exception: [Errno 2] No such file or directory: 'clip.exe' (kindle_notes_to_md.py:248 @ 15:37:15)
Traceback (most recent call last):
  File "./kindle_notes_to_md.py", line 245, in <module>
    notes.output_md(args)
  File "./kindle_notes_to_md.py", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 506, in copy_wsl
    p = subprocess.Popen(['clip.exe'],
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'clip.exe'

In what environment are you running it?
I've also added a couple of comments/questions about smaller items inline.

I am using Windows 10 (never learned to use Linux for programming). I will stackoverflow this and look for solution. I will also check other modules like pyclip and will be back here with results

Thanks @thomaswinged! That's a bunch of solid improvements. I particularly like the argument to avoid saving the note/highlight location.
I could not get pyperclip working correctly. Here is what happens on my Ubuntu 20.04 system:
(kindle-notes-to-md) krystof@jeepney  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/) -c loonshots.html
CRITICAL Exception:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error  ([kindle_notes_to_md.py:248](http://kindle_notes_to_md.py:248/) @ 15:46:25)
Traceback (most recent call last):
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 245, in <module>
    notes.output_md(args)
  File "./[kindle_notes_to_md.py](http://kindle_notes_to_md.py/)", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 336, in __call__
    raise PyperclipException(EXCEPT_MSG)
pyperclip.PyperclipException:
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error

And to make sure it wasn't caused by the system, I've also run it in WSL, and the result is similar:
(kindle-notes-to-md) krystof@zaphod  ~/code/kindle-notes-to-md  ‹thomaswinged-update›
$ ./kindle_notes_to_md.py -c nonviolent-comm.html
CRITICAL Exception: [Errno 2] No such file or directory: 'clip.exe' (kindle_notes_to_md.py:248 @ 15:37:15)
Traceback (most recent call last):
  File "./kindle_notes_to_md.py", line 245, in <module>
    notes.output_md(args)
  File "./kindle_notes_to_md.py", line 186, in output_md
    pyperclip.copy(md)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 659, in lazy_load_stub_copy
    return copy(text)
  File "/home/krystof/.virtualenvs/kindle-notes-to-md/lib/python3.8/site-packages/pyperclip/__init__.py", line 506, in copy_wsl
    p = subprocess.Popen(['clip.exe'],
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'clip.exe'

In what environment are you running it?
I've also added a couple of comments/questions about smaller items inline.

I checked pyperclip documentation, and it says that this error might be due to lack of installed copy/paste mechanism package, could you try running sudo apt-get install xclip and check it again? I am using Windows 10 as my programming environment and I don't have any problem with pyperclip. Just now I installed Ubuntu 20.04 on WSL and everything works well, too. Could we check what version of Ubuntu and python are we both running?
Ubuntu:
(.venv) x@y:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
...

Python:
(.venv) x@y:~$ python3 -V
Python 3.8.10

pip3:
(.venv) x@y:~$pip3 freeze
beautifulsoup4==4.9.3
eglogging==1.1.0
pyperclip==1.8.2
soupsieve==2.0.1

Installing xclip did solve the issue the issue on my Ubuntu machine. It remained on my WSL installation (Ubuntu 20.04 on WSL in Windows 11), but I'm not too worried about it.
I made some minor cleanups, including to the README, and merged it.
Thanks for your contributions @thomaswinged!

authors: krystofl thomaswinged

repo: krystofl/kindle-notes-to-md


text:
"Fatal crash": Looking for solutions

Description
Reproduction Steps
Add more steps as nessecary.

Make sure that all mods listed below are activated
Load game
Crashes around 5-6 mins in when the section "Sunny Properties"

Mod List
73 active mods

TM:PE xx.xx
81 tiles
Achieve it!
Advanced Stop Selection
Advanced Vehicle Options 1.8.5
Airport roads 1.3.7
Ambient Sounds Tuner
Cargo hold fix
Cinematic camera
Control building level up
CSL Show more limits
Decal prop fix
Dynamic Resolution
Extra Landscaping tools
Extra train station tracks
findit! 1.55.4
fine road anarchy 1.3.5
fine road tool 1.3.7
forest brush
garbage bin controller
improved public transport 2
Japanese localization RD (for road names)
kaguki jp ambiance pack
konnos Japanese sounds
less steam
loading screen mod
more network stuff
move it 2.4.1
network extensions 2
network skins 2
network tiling
no abandonment
no death care
no fires
no radioactive desert and more!
No seagulls
one way train tracks
plop the growables
ploppable asphalt
ploppable rico
prefab hook
procedural objects 1.5.5
prop and tree anarchy
prop it up! 1.4.4
prop line tool
prop precision 1.0.1
prop snapping
prop unlimiter
quay anarchy
railway replacer
realistic walking speed
remove dirt (tree related)
remove need for pipes
removes street arrows
service vehicle selector 2
shadow strength adjuster
single train track ai
spawn points fix
surface painter
theme decals
tram station track
transparency LOD fix + Cloud Assets enabler
transport line rendering fix
tree movement control
tree snapping
ultimate eye candy
ultimate level of detail
unlimited money
unlimited trees mod
unlimited outside connections
unlock all
WG citizen life cycle rebalance

Output Log

error.log.txt
Additional Info
Though my memory spikes to 96%... my ram capacity has never been an issue in the past. My computer has 16 gigs of ram and a GTX 960 graphics card.

It looks like you've shared error.log; we need the output_log.txt instead
See: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/wiki/Share-your-Cities-Skylines-log-file

Initialize engine version: 5.6.7f1 (e80cc3114ac1)
GfxDevice: creating device client; threaded=1
Direct3D:
Version:  Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 960 (ID=0x1401)
Vendor:   NVIDIA
VRAM:     2016 MB
Driver:   23.21.13.8859
Begin MonoManager ReloadAssembly
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICSharpCode.SharpZipLib.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICSharpCode.SharpZipLib.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll into Unity Child Domain
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\PopsApiWrapper.dll (this message is harmless)
Loading E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\PopsApiWrapper.dll into Unity Child Domain

Completed reload, in  0.034 seconds
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: E:\Games\steamapps\common\Cities_Skylines\Cities_Data\Managed\System.dll (this message is harmless)
 Initializing input.

 Input initialized.
desktop: 1920x1080 60Hz; virtual: 3200x1080 at 0,0
 Initialized touch support.
UnloadTime: 0.880051 ms
Game mode
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.261557 ms
Machine ID: 15c298cb78917409bb9964cc446525b360aa1f30
Model: MS-7922 (MSI)
OS: Windows 10  (10.0.0) 64bit
Language: English
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 core(s))
System Memory: 16332
Gfx Device: NVIDIA GeForce GTX 960
Gfx Version: Direct3D 11.0 [level 11.1]
Gfx Memory: 2016
Gfx Shader Model: 50
Game Version: 1.12.1-f2-steam-win
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
API: Steam Type: Steam
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Setting initial resolution to 1920 1080 True  [Core]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Setting vsync to 2  [Core]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Raw Command Line: E:\Games\steamapps\common\Cities_Skylines\Cities.exe
Arguments: E:\Games\steamapps\common\Cities_Skylines\Cities.exe
[CommandLine - Internal]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Can you just drag the output_log.txt file on to the comment text box below - it will upload it as a file, rather than paste it.

output_log.txt

by chance, is there any way that I can fix it?
On Fri, Jun 7, 2019 at 5:03 AM Aubergine notifications@github.com wrote:

Reopened #356
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356
.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYBIRW336WSI54EGFJLPZJFAJA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR3QF73A#event-2397069292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYDPV2FKDEC3UH6PSOTPZJFAJANCNFSM4HVWFLGA
.

I would try to increase page file (from your error log - only 47GB ~150MB free) because it looks like it's too low for your set of subscribed assets. Extend it up to e.g. 55-60GB and try again.

I will try it out

Ok, so it's crashing during the loading process (specifically near the end while mods are initialising).
It's not a TM:PE error, but let's see if we can get this fixed anyway...
The following assets are causing errors in the log (unlikely to cause the crash, but might as well unsubscribe them):

Culvert
HSBC Tower
Hiraya_00

These are breaking due to missing required items (I suggest unsubscribe them for now, until the crash bug is resolved):

Glass Cube Metro Station - requires Metro Overhaul Mod
Beijing Inner City Wall Accessories - requires invisible paths and draggable wall

There are issues with the following mods:

Control Building Level Up - this mod is obsolete and game breaking; is the "Historic building" option (on building info panels) in the base game instead
Prop Unlimiter (asset id: 886603352) - no longer in workshop, was game breaking; unsubscribe
Remove Dirt - obsolete; use Hide It instead
Advanced Toolbar - incompatible with some of the other mods you use, use Resize It instead

I also noticed you have two versions of Network Skins installed. I would suggest using the older one for now, as Network Skins 2 has some crash bugs (its still in beta). Note also that Network Skins 2 won't be compatible with the Road Options (Color Changer++) mod.

So I tried it again and I got another crash. I did all of the changes except 1 which is related to (asset id: 886603352) I looked through my game and I couldnt find it. Is there by chance a way to locate and manually remove the file?
output_log.txt

The 886603352 mod will appear as something like "Prop Unlimiter" in Main Menu > Content Manager > Mods.
On disk it is likely living in: E:\Games\steamapps\workshop\content\255710\886603352 folder.
Try removing that first (ideally via Content Manager > Mods screen) and see if that fixes it.
If that doesn't fix it:

Try disabling any graphics enhancement mods (things like Ultimate Eye Candy, Relight, Softer Shadows, etc).
Make sure your graphics card drivers are up to date (download latest versions direct from Nvidia website)
Try forcing DirectX 9 using the -force-d3d9 launch parameter

If it's still not working after all that, then it's most likely that you're just running out of RAM due to all those workshop assets. Unsubscribe any you don't use; you can see your subscribed assets in Steam Workshop: Go to the Workshop tab, on the right where it says "Your files" choose "Subscribed Items" from the drop-down list, then you see everything you've subscribed in there and can unsubscribe any you don't use.
Note: Don't unsubscribe any roads or tracks (or any mods that add roads/tracks) as that will also break game loading (see How to remove workshop networks for correct procedure; but you need to be able to load your save game to do it).

So ive updated my drivers to the latest version and i have removed the prop unlimiiter mod.
I haven't removed my graphics mods just yet. But id id get another crash.
output_log.txt
1 of the crashes crashed my entire system and I unfortunately didnt get an output log for that one.
2 other crashes before this one didnt give me out put logs.

Ok, try adding the --noWorkshop launch option; while present, it will disable all your assets and mods essentially returning game to vanilla state. If it still crashes, for example when starting a new game on new map, that would rule out all the workshop stuff and indicate that the game itself is causing the problem in which case you'll need to submit a bug report to Paradox (more details here).
I noticed you've moved the game to drive E: - when did you make that change? Did these crashes start after doing that? If so, it's likely you used wrong procedure to move game to that drive, see: How to move the game to a different disk drive.

So once I put in the start process for --noworkshop the game opened and I was able to load into a new map.
When I started to run the game again with the no workshop setting off it crashed.
output_log.txt
About the E: drive The game has been on my E: drive ever since I originally downloaded it. So I dont think that is the factor behind my computer's stalling crashes.

That most recent log shows you are running out  of memory:
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194320!
Crash!!!

You need to unsubscribe workshop assets / skip vanilla assets / buy more RAM, or a combination of those things. Otherwise the game will just keep crashing when it runs out of memory.

Hmm... I see. Well I have been considering in upgrading my computer as of recent so I suppose that the time to upgrade has come.  Thanks for the help.

How big is your page file now, I'm just curious?
As far as I know game will try to use that virtual memory when system is low on RAM, always...
Games and other programs are designed to use page file when running low on RAM available or loaded objects are not frequently used(like game assets).
I've never had a problem loading savegame. I have 16GB and I could load savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and even with running debugger which took around 2-3GB RAM.
If your page file is too small, the game will crash to desktop without any notification and that's clear sign that your page file is too small to load game with current amount of game assets.

Whats a good size recommendation for page file right now mine is set to
system preference
On Sat, Jun 8, 2019 at 4:02 PM Krzysztof notifications@github.com wrote:

How big is your page file now, I'm just curious?
As far as I know game will try to use that virtual memory when system is
low on RAM, always...
Games and other programs are designed to use page file when running low on
RAM available or loaded objects are not frequently used(like game assets).
I've never had a problem loading savegame. I have 16GB and I could load
savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and
even with running debugger which took around 2-3GB RAM.
If your page file is too small, the game will crash to desktop without any
notification and that's clear sign that your page file is too small to load
game with current amount of game assets.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYEYY2FN43MNTPDDNX3PZQ3BBA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIAH4A#issuecomment-500171760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYEK6MZQ3ODSBQKOYK3PZQ3BBANCNFSM4HVWFLGA
.

Depends on how many workshop assets you have subscribed. Sometimes <20GB would be enough but I've had a chance to load savegames where having 60GB wasn't enough to load game without crash. If you use 'system preference' please check if you have free disk space available because system will grab that free space for page file to increase it's size if necessary.

I checked the limits of my page file turnes out that my C: drive was
running out of memory when loading  the game. So I added a new page file to
my E: drive which has more space open and I got the game to run normally
again so I can say with relief that the problem has been solved.
On Mon, Jun 10, 2019 at 6:59 AM Krzysztof notifications@github.com wrote:

Depends on how many workshop assets you have subscribed. Sometimes <20GB
would be enough but I've had a chance to load savegames where having 60GB
wasn't enough to load game without crash. If you use 'system preference'
please check if you have free disk space available because system will grab
that free space for page file to increase it's size if necessary.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYCCGRP3FTEFPIOGWU3PZZM35A5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJ6QBY#issuecomment-500426759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYFYCCONHSBZTGDX2ZCXDPZZM35ANCNFSM4HVWFLGA
.


text:
[Suggestion]Sort by date.

As someone who is pretty much obsessed with homebrew at this point, I really appreciate TitleDB's existence. I think it would be a cool and useful feature to be able to sort titles by date added, so that people like me who are constantly looking for new HB apps can see any new apps as they are added.

I agree with you completely, and I'm hoping to be able to add support for this when I get to rewriting the user interface application side of things. Unofficially, the backend API provides this information as a set of values for "created_at" and "updated_at", so the data to do what you'd like is actually available right now, it's just a matter of having a UI that can support displaying it as such.
The backend API rewrite is basically stable at this point, so with luck I'll be able to start working on the interface soon. However, It's going to require me learning javascript and modern web development in order to pull it off, so I can't actually make any sort of guarantee on when it will actually get finished, it may still be a few months away.
Personally, I'm still kind of hoping somebody who knows how to do web-dev work will show up and offer to help with the project. ;)

Javascript? Why didn't you approach me earlier?

@Wolvan I thought you already had your hands full with the Homebr3w rewrite. If you want to lend a hand, I'll make a new branch for the UI work when I start on it. Maybe this weekend I'll get started, or at least decide what framework/tools I want to use for it.

The joke is that I permanently have my hands full but still find time to do shit

authors: Wolvan dude8513 ksanislo

repo: ksanislo/TitleDB

license: Unlicense


text:
InferenceService Deployment with ModelMesh Example: fail to send requests from Istio Ingress

/kind bug
What steps did you take and what happened:
I follow the InferenceService Deployment with ModelMesh: example-sklearn-isvc from here
Here is what I have already get, and it has been tested successfully by using the port-forward method as the example instruction.
However, I am considering to achieve serverless function by curl from Ingress gateway with HOST Header.
I have tried different curl commands, but none of them work.
echo ${SERVICE_HOSTNAME} modelmesh-serving.modelmesh-serving:8008
Here is what I get by using kubectl get inferenceservice
 example-sklearn-isvc   grpc://modelmesh-serving.modelmesh-serving:8033   True                                                                  2d9h
curl -v -H "Host: ${SERVICE_HOSTNAME}" http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/example-sklearn-isvc:predict -d @./isvc-input.json
curl -v -H "Host: ${SERVICE_HOSTNAME}" http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/example-sklearn-isvc/infer -d @./isvc-input.json
They all show the 404 Not found in the following:
`Trying 192.168.49.2:30413...
TCP_NODELAY set
Connected to 192.168.49.2 (192.168.49.2) port 30413 (#0)
POST /v1/models/example-sklearn-isvc/infer HTTP/1.1
Host: modelmesh-serving.modelmesh-serving
User-Agent: curl/7.68.0
Content-Length: 431
Content-Type: application/x-www-form-urlencoded
upload completely sent off: 431 out of 431 bytes
Mark bundle as not supporting multiuse
HTTP/1.1 404 Not Found
date: Thu, 02 Jun 2022 20:53:01 GMT
server: istio-envoy
connection: close
content-length: 0
Closing connection 0`
Environment:

Istio Version: v1.13.4
Knative Version:v1.4.0
KFServing Version:v0.7.0
Kubeflow version: no use
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version: v1.25.2
Kubernetes version: (use kubectl version): v1.24.1

Could you figure out where the problem is? Thanks

https://github.com/kserve/modelmesh-serving/blob/main/docs/quickstart.md#rest-request

repo: kserve/modelmesh-serving


text:
提一个添加功能

建议加一个勾选框，按勾选的音频进行导出，这个可以实现吗。

最近有点忙，我研究一下，可能之后会加

authors: kirbystudy kslz


text:
run node (execute caching)  on a batch

HKube micro-service
when executing cach on a batch the pipeline fail with an error "Cannot read property 'result' of undefined"
use simple pipeline
{
    "name": "simple2",
    "nodes": [
        {
            "nodeName": "green",
            "algorithmName": "eval-alg",
            "input": [
                "#@flowInput.inp"
            ]
        },
        {
            "nodeName": "yellow",
            "algorithmName": "yellow-alg",
            "input": [
                "#@green"
            ],
            "includeInResults": false
        },
        {
            "nodeName": "black",
            "algorithmName": "black-alg",
            "input": [
                "@yellow"
            ]
        }
    ],
    "options": {
        "ttl": 3600,
        "batchTolerance": 80,
        "progressVerbosityLevel": "info"
    },
    "triggers": {
        "pipelines": []
    },
"flowInput": {
        "inp": [  "1","2","3","4","5","6", "7"]
    },
    "experimentName": "main",
    "priority": 3
}

execute the pipeline
open the job in the "Graph" tab select the "yellow" or the "green" node and click the "Run Node" button
the pipe line is executed and fail - "Cannot read property 'result' of undefined"

tested on  "systemVersion": "v1.3.27",

repo: kube-HPC/hkube


text:
Report max CPU usage

Add max CPU usage of nodes and control plane components in metrics-report.yml

Add max CPU usage of nodes and control plane components in metrics-report.yml

Can you add max CPU usage for the remaining components too?, that way the dashboard won't fail, since it has a repeat for rule for each component

Even one or two spikes, which can be ignorable, can result in showing high max CPU usage. Should we instead capture histogram_quantile(0.90)?

repo: kube-burner/kube-burner


text:
[release-4.6] Bug 1913800: Ensure the mysql connector java jar is present in image

Manual cherrypick of #58
(copying-and-pasting that PR description here)
Update the opt_maven_install.sh helper script, which is used to help combine the ART and CI Dockerfiles, to get the mysql-connector-java JDBC driver JAR in the Hive image. We use to get this package for free before the introduction of RHEL8 base images during the 4.6 release, and that package was swapped out for the mariadb equalivent. This is causing upgrades to fail from <4.6 metering versions to 4.6+ as that package is no longer present.
In the case of ART, pull from PNC build, else pull from maven and copy that JAR into the destination container.
This image was tested by deploying metering with the Hive image that CI outputted (and mirrored to quay to avoid setting up pull secrets). This results in the following MeteringConfig custom resource:
apiVersion: metering.openshift.io/v1
kind: MeteringConfig
metadata:
  name: "operator-metering"
  annotations:
    "ansible.operator-sdk/verbosity": "1"
spec:
  unsupportedFeatures:
    enableHDFS: true

  storage:
    type: "hive"
    hive:
      type: "hdfs"
      hdfs:
        namenode: "hdfs-namenode-0.hdfs-namenode:9820"

  hive:
    spec:
      image:
        repository: quay.io/tflannag/hive
        tag: mysql
      config:
        db:
          driver: com.mysql.jdbc.Driver
          username: testuser
          password: testpass
          url: jdbc:mysql://mysql.tflannag.svc.cluster.local:3306/metastore

The MySQL instance is 5.7, which was created using the registry.redhat.io/rhscl/mysql-57-rhel7@sha256:9a781abe7581cc141e14a7e404ec34125b3e89c008b14f4e7b41e094fd3049fe image. I imported that image as an ImageStream and created that instance using oc new-app ....

/retest
/refresh

/lgtm

/lgtm
/approve

/bugzilla refresh

/lgtm

authors: bentito pruan-rht timflannagan timflannagan1

repo: kube-reporting/hive


text:
Documentation/dev: Add documentation for copying host binaries to a metering container to help debugging.

I've been using this locally for a while now but thought there was some value in documenting this in the debugging metering installation guides.

/lgtm

/override ci/prow/metering-e2e-aws

repo: kube-reporting/metering-operator