text:
Running Cargo miri test on cargo, an error occurred

I am using miri to run on cargo and it shows an error:
test util::context::tests::disables_multiplexing ... error: unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
    --> /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/openssl-sys-0.9.92/src/lib.rs:122:13
     |
122  |             OPENSSL_init_ssl(init_options, ptr::null_mut());
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't call foreign function `OPENSSL_init_ssl` on OS `linux`
     |
     = help: if this is a basic API commonly used on this target, please report an issue with Miri
     = help: however, note that Miri does not aim to support every FFI function out there; for instance, we will not support APIs for things such as GUIs, scripting languages, or databases
     = note: BACKTRACE on thread `util::context::`:
     = note: inside closure at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/openssl-sys-0.9.92/src/lib.rs:122:13: 122:60
     = note: inside closure at /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sync/once.rs:149:41: 149:60
     = note: inside `openssl_sys::openssl::init` at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/openssl-sys-0.9.92/src/lib.rs:121:9: 123:11
     = note: inside `libgit2_sys::openssl_init` at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/libgit2-sys-0.17.0+1.8.1/lib.rs:4330:5: 4330:24
     = note: inside closure at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/libgit2-sys-0.17.0+1.8.1/lib.rs:4303:9: 4303:23
     = note: inside closure at /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sync/once.rs:149:41: 149:60
     = note: inside `libgit2_sys::init` at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/libgit2-sys-0.17.0+1.8.1/lib.rs:4302:5: 4324:7
     = note: inside `git2::init` at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/git2-0.19.0/src/lib.rs:755:5: 755:16
     = note: inside `git2::Config::open_default` at /root/.cargo/registry/src/szv-open.codehub.huawei.com-f5aae4094eaf2133/git2-0.19.0/src/config.rs:93:9: 93:22
note: inside `util::network::proxy::http_proxy`
    --> src/cargo/util/network/proxy.rs:22:5
     |
22   |     git2::Config::open_default()
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `util::network::proxy::http_proxy_exists`
    --> src/cargo/util/network/proxy.rs:38:5
     |
38   |     http_proxy(http).is_some()
     |     ^^^^^^^^^^^^^^^^
note: inside `util::context::disables_multiplexing_for_bad_curl`
    --> src/cargo/util/context/mod.rs:2955:8
     |
2955 |     if network::proxy::http_proxy_exists(http, gctx) && http.multiplexing.is_none() {
     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `util::context::tests::disables_multiplexing`
    --> src/cargo/util/context/mod.rs:3006:13
     |
3006 |             disables_multiplexing_for_bad_curl(curl_v, &mut http, &gctx);
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside closure
    --> src/cargo/util/context/mod.rs:2975:31
     |
2974 |     #[test]
     |     ------- in this procedural macro expansion
2975 |     fn disables_multiplexing() {
     |                               ^
     = note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to 1 previous error

error: test failed, to rerun pass `--lib`

Looking at the error message, miri needs to support the common API on Linux? I would like to know what is the progress of API support on current linux?

You can't call arbitrary C libraries like OpenSSL or libgit2 from inside miri. Miri has shims for most common libc api's, but for anything else you did either have to remove the usage or patch miri to add your own shims. It seems like you are trying to run cargo inside miri. You could try using gitoxide and rustls for git and tls accesses. Cargo already has support for this, but it is disabled by default. I believe there are a couple of env vars you can set. Also I think miri doesn't have any networking support yet.

Yeah, Miri does and will not not support calling OpenSSL - sorry. Miri can only check bugs in Rust code, and all C code that you call needs to be re-implemented inside Miri. We do this for some basic platform APIs, but OpenSSL is too big to qualify for that.

I wonder if we should have a specific error message for "known to be deliberately not supported" functions that says -- sorry but this is out of scope.

Also I think miri doesn't have any networking support yet.

FWIW that is definitely in scope, I plan for us to have networking support at some point. See https://github.com/rust-lang/miri/issues/3449.

Sorry, my thoughts are: if the problem is due to unsupported calls to APIs such as OpenSSL, it seems like it should be ignored for now and continue with the program later and give a unified reason later.
Also, I'm just getting started with miri and it's not going very well for me (maybe I'm just too dumb), should the user experience be enhanced?
It's just a personal thought, don't take it seriously.

There is not really a way to ignore it. Miri doesn't know what it could return as dummy value without causing the program to crash immediately or corrupt state in such a way that it will error later in a seemingly unrelated way. Nor does miri know if any of the input pointers will be modified by the call or not.

If you are just getting started with Miri, why are you trying to run the cargo test suite inside Miri? That is certainly not the normal mode of use.
The normal mode of use is to install Miri, navigate to your own project, and do cargo miri test there. Miri is made to test libraries that internally use unsafe code, not fully integrated end-user applications like cargo.

authors: RalfJung bjorn3 heisen-li

repo: rust-lang/miri

license_source: bigquery


text:
Dependency outdated

regex-automata v0.3.3 depends on regex-syntax v0.7.0. However, it actually relies on line_terminator which doesn't exists in regex-syntax v0.7.0. This dependency version should be bumped.

This is fixed in regex-automata 0.3.4 on crates.io.
I used to have a minimal versions check in CI but it proved too difficult to maintain because others in the ecosystem were specifically and intentionally non-cooperative with it. But perhaps that has changed.

source: gharchive/issue

authors: BurntSushi QuarticCat

repo: rust-lang/regex

license_type: permissive


text:
Bad error message on multi-byte unicode ranges

rust playground link
When given a regular expression of the format:
[\x2B740-\x2B81D]

It will state that the range is erroneous, and 0x2B740 is greater than 0x2B81D.
This appears wrong as 0x2B81D is greater than 0x2B740, but I think the issue is related to the \x syntax only expects 2 characters, where I'm providing multiple.

[\u0002B740-\u0002B81D]

Will present similar error messages.

The code opperates correctly with
[\U0002B740-\U0002B81D]

But nothing seems to guide the user to the \U vs \x vs \u decision when specifying code points.

It's a good point, and it would be nice to improve the error message here, but I don't see how to do it without making the parser quite a bit more complex. Also, you don't need to use \U here. You can do \x{2B740} instead. This is documented here: https://docs.rs/regex/1.3.1/regex/#escape-sequences and here: https://github.com/rust-lang/regex/blob/master/UNICODE.md#rl11-hex-notation

It's a good point, and it would be nice to improve the error message here, but I don't see how to do it without making the parser quite a bit more complex

Could \x, \u, and \U just be compared identically as they're parsed identically?

Sorry, can you say more words? I don't understand your suggestion.
Also, it's worth pointing out that the actual error message includes positional information pointing to what it thinks the start and end ranges are. That is, the error message is saying that 0 is not less than or equal to \x2B, which is correct (since 0 == 0x30).

Sorry, can you say more words? I don't understand your suggestion.

Currently the parser accepts \u, \x, and \U data which is malformed, the error is confusing. Creating error messages specific to these character class prefixes is unneeded work.
So, why not remove the different semantics in casting and comparison allowing for \\[uUx][0-9a-fA-F]{2,8} to just be a generalized input, for any character class prefix (e.g.: \x, \u, and \U). It appears the parser is already accepting these patterns, but under validation & semantic analysis the error we're discuss appears.
In this manner the number of special cases are reduced within the validation & semantic analysis step.
So instead of having a special hard to add error message, the patterns become valid inputs who are handled in an identical fashion during validation.

That would be a breaking change.

Cool.

authors: BurntSushi valarauca


text:
Crawl doc.rust-lang.org for dead links on a regular basis

 Issue by kmcallister
Friday Jan 09, 2015 at 21:06 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/20827
This issue was labelled with: A-an-interesting-project, A-docs, A-infrastructure in the Rust repository

And open tickets here via the GitHub API :)

I'd like to be assigned this. Thank you!

Refiled at https://github.com/rust-lang/rust/issues/54894.

authors: Centril groteworld steveklabnik

repo: rust-lang/rfcs

license_source: github-api


text:
imenu: unsafe and extern fns not present

Neither unsafe nor extern functions show up in the imenu.
fn one() {
    // works
}

unsafe fn two() {
    // doesn't work
}

extern "C" fn three() {
    // doesn't work
}

Just noticed that @mrBliss addressed this in #175, but it seems like extern wasn't?

Just noticed that @mrBliss addressed this in #175, but it seems like extern wasn't?

repo: rust-lang/rust-mode


text:
New Website Logo: Sentry

Organization name: Sentry
Homepage url: https://getsentry.com/
Logo url: https://a0wx592cvgzripj.global.ssl.fastly.net/_static/feab2094c58c614384d4b08703d41b57/getsentry/images/branding/svg/sentry-horizontal-black.svg
How you are using Rust: we use it for our command line client
Url describing Rust usage: http://lucumr.pocoo.org/2016/7/10/rust-rest/ (all i have for now)
Organization contact: armin@getsentry.com

Ah. I just saw that #439 exists.

repo: rust-lang/rust-www


text:
"This version of rustfmt is deprecated" on stock install

Reproduce:
rustup toolchain install stable
rustup component add cargo rustfmt
cargo fmt
# This version of rustfmt is deprecated. Use rustfmt-nightly. Use --force to run deprecated rustfmt.

Running with --force results in false negative errors, considering the program compiles just fine. Alright, I guess I'll use rustfmt-nightly...
rustup component remove rustfmt
cargo add rustfmt-nightly
cargo fmt
# error: 'cargo-fmt' is not installed for the toolchain 'stable-x86_64-unknown-linux-gnu'
# To install, run `rustup component add rustfmt`

Wait, what? How am I supposed to install rustfmt-nightly?
Also tried:
rustup component add rustfmt-nightly
# error: toolchain 'stable-x86_64-unknown-linux-gnu' does not contain component 'rustfmt-nightly' for target 'x86_64-unknown-linux-gnu'
rustup +nightly component add rustfmt
# (just installs the nightly toolchain which I don't want to use)

Seems at some point you've incorrectly installed an old version of rustfmt on your system, presumably via a cargo install from crates. Please be sure to fully remove any such installs (e.g. cargo uninstall rustfmt and/or cargo uninstall rustfmt-nightly) and then adjust your toolchain components accordingly.

cargo uninstall rustfmt rustfmt-nightly
# error: package ID specification `rustfmt` did not match any packages
# error: package ID specification `rustfmt-nightly` did not match any packages
#      Summary Failed to uninstall rustfmt, rustfmt-nightly (see error(s) above).
# error: some packages failed to uninstall

I don't think they're installed (?).
rustfmt --version
# error: 'rustfmt' is not installed for the toolchain 'stable-x86_64-unknown-linux-gnu'
# To install, run `rustup component add rustfmt`
rustup component add rustfmt
rustfmt --version
# rustfmt 1.4.37-stable (f1edd04 2021-11-29)

Somehow that fixed it. Thanks.

authors: calebcartwright mattfbacon

repo: rust-lang/rustfmt


text:
Fix: Expose match_event

Description
As described in #267, changes of 2439a3d moved match_events from Filter to a similar match_events function into FilterIndex (crate nostr-database).
This PR exposes match_events as pub to use it similar as before.
Notes to the reviewers
Tests of match_events very similar to previous tests in Filter, which have been removed in 2439a3d before.
Fixes #267

Thanks!
I prefer to keep the EventIndex and FilterIndex private, since are structs strictly related to the DatabaseIndexes (I may remove them or do breaking change more than in other crates).
I'll probably partially revert the commit and move the match_event logic again to nostr crate.

Merged here: 664ffe31c5c573593e2f92acb044c1d7678693e2

FYI, I'm partially reverting commit 664ffe31c5c573593e2f92acb044c1d7678693e2 and re-introducing Filter::match_event in PR #356 (will be available in v0.29)

source: gharchive/pull-request

authors: sectore yukibtc

repo: rust-nostr/nostr

license: MIT


text:
Feature Request - Parallelism

Can we have a way to select the first x tests, so that we can run (for example) 4 testing Jobs running bootimage test

You mean that bootimage test should spawn e.g. 4 threads and execute the tests in parallel? If so, I think we could implement this by parallelizing this for loop with the rayon crate. Do you mind sending in a PR?

repo: rust-osdev/bootimage


text:
(ansi-term PR 69): make Style methods const fns

https://github.com/ogham/rust-ansi-term/pull/69

Not sure if we can fix this conflict ... might have to close this.

I think we just close this anyway... I don't see the point

repo: rustadopt/ansiterm-rs


text:
Js sys promise arguments by shared ref

Not a breaking change because we haven't published js-sys with Promise bindings yet, thankfully.

💯

authors: alexcrichton fitzgen

repo: rustwasm/wasm-bindgen


text:
Change how filtering is done in WebIDL

Instead of actually modifying the FirstPassRecord let's instead just skip
relevant entries when we come across them. This should help us retain knowledge
that optional SomeImportedType arg can be bound even though SomeImportedType
may not exist.
One small tweak was needed to modify the AST afterwards to remove extends
annotations which aren't actually defined, but other than that this should...
Closes #802

https://travis-ci.org/rustwasm/wasm-bindgen/jobs/426774974#L990-L1006
error[E0432]: unresolved import `web_sys::RequestInit`
-->examples/fetch/src/lib.rs:12:24
|
12|use web_sys::{Request, RequestInit, RequestMode, Response, Window};
|^^^^^^^^^^^no `RequestInit` in the root
error[E0599]: no function or associated item named `new_with_str_and_init` found for type `web_sys::Request` in the current scope
-->examples/fetch/src/lib.rs:49:15
|
49|    let req = Request::new_with_str_and_init("https://api.github.com/repos/rustwasm/wasm-bindgen/branches/master", &request_options).unwrap();
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^function or associated item not found in `web_sys::Request`
error: aborting due to 2 previous errors
Some errors occurred: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: Could not compile `fetch`.


text:
Expand LongLong to (i32 or f64) instead of i64

This commit tweaks WebIDL expansion of the "long long" and "unsigned long long"
types to expand to a union of an 32-bit integer and a double. This reflects how
almost none of the APIs on the web today actually work with a BigInt (what the
previous Rust type of i64 translates to) and how JS itself fundamentally
operates with these APIs.
Eventually this may not be necessary if we can natively connect to C++ engines
with the i64 type, but until that day comes this should provide more useful
interfaces as they shoudl work in all browsers.
Closes #800

https://travis-ci.org/rustwasm/wasm-bindgen/jobs/426788978#L647
error[E0599]: no associated item named `IMIN` found for type `consts::ConstLongLong` in the current scope
-->crates/webidl-tests/consts.rs:30:16
|
30|    assert_eq!(ConstLongLong::IMIN, i64::min_value());
|^^^^^^^^^^^^^^^^^^^associated item not found in `consts::ConstLongLong`


text:
Unknown option '-0z'

🐛 Bug description
╰─> λ wasm-pack build --target web --release
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
    Finished release [optimized] target(s) in 0.04s
[INFO]: ⬇  Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
Unknown option '-0z'
Error: failed to execute `wasm-opt`: exited with exit status: 1
  full command: "/home/hill/.cache/.wasm-pack/wasm-opt-fc03871f1779aa83/bin/wasm-opt" "/home/hill/Projects/playground/tuning_systems-wasm/pkg/tuning_systems_wasm_bg.wasm" "-o" "/home/hill/Projects/playground/tuning_systems-wasm/pkg/tuning_systems_wasm_bg.wasm-opt.wasm" "-0z"
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
Caused by: failed to execute `wasm-opt`: exited with exit status: 1
  full command: "/home/hill/.cache/.wasm-pack/wasm-opt-fc03871f1779aa83/bin/wasm-opt" "/home/hill/Projects/playground/tuning_systems-wasm/pkg/tuning_systems_wasm_bg.wasm" "-o" "/home/hill/Projects/playground/tuning_systems-wasm/pkg/tuning_systems_wasm_bg.wasm-opt.wasm" "-0z"
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.

🤔 Expected Behavior
👟 Steps to reproduce
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = true
lto = true
opt-level = "z"
overflow-checks = false
panic = "unwind"
rpath = false
split-debuginfo = "off"
strip = "symbols"

[package.metadata.wasm-pack.profile.release]
wasm-opt = ['-0z']

[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = false
demangle-name-section = false
dwarf-debug-info = false
omit-default-module-path = false

🌍 Your environment
wasm-pack version: 0.12.1
rustc version: rustc 1.78.0-nightly (6672c16af 2024-02-17)
wasm-opt version: 116

Actually this is probably a problem with wasm-opt, I opened an issue there https://github.com/WebAssembly/binaryen/issues/6320 if you come across this issue here

repo: rustwasm/wasm-pack


text:
Output of the  train_test_split_edges function in the torch_geometric.utils package

❓ Questions & Help
Hi,
In torch_geometric.utils package, output of the function train_test_split_edges(data, val_ratio=0.05, test_ratio=0.1) is the following:
Data(edge_attr=[200, 3], test_neg_edge_index=[2, 14], test_pos_edge_index=[2, 14], train_neg_adj_mask=[39, 39], train_pos_edge_index=[2, 28], val_neg_edge_index=[2, 1], val_pos_edge_index=[2, 1], x=[39, 21]).
I cannot obtain train_neg_edge_index value from this output. How can I obtain it? Is there a bug about it?
Thank you.

In generally, one can use any edge not in train_pos_edge_index as negative edges during training. These edges are marked in train_neg_adj_mask. As an alternative, you can use torch_geometric.utils.negative_sampling to sample a subset of negative training edges.

Thank you for your quick response! I will try this solution.

In generally, one can use any edge not in train_pos_edge_index as negative edges during training. These edges are marked in train_neg_adj_mask. As an alternative, you can use torch_geometric.utils.negative_sampling to sample a subset of negative training edges.

Will the positive examples in the test set be treated as negative examples during negative sampling?

Yeah, that is possible, but not avoidable. You cannot exclude them as negative samples since technically you are not aware of their existence.

Yeah that sounds reasonable. Thanks for the repley.

In train_neg_adj_mask matrix, is True represents the negative edges or the positive edges?
Thanks.

authors: Qbuer gamzeakyol rusty1s


text:
Refactor ArticleBuilder

Extract build_revision, build_article methods to assign attributes.

LGTM! Thanks 😃

authors: onk rutan

repo: rutan/potmum

license: mit


text:
keyd doesn't attach to keyboard on restart

If I run keyd for a while, sometimes it starts eating keystrokes instead of passing them on.  If I ctrl-alt-f2, then ctrl-alt-f1, I go to a vterm and then back to my x session.  And then maybe it works.
But also sometimes that doesn't help.  And so I restart keyd and... it doesn't come back properly.  It just will not attach to keyboards.  In keyd --monitor see a message saying it's attaching to my keyboard.  And I see CONFIG: parsing of my files with no errors reported.  And monitor shows my keypresses going by, but nothing more happens.  Restarting keyd doesn't help.
This is enough of a problem that it happens every few days.  Rebooting clears it.
I don't know enough about the device interruption dance keyd is doing to really dig in and debug.  And it's an intermittent bug.  Usually all is well and restarting keyd is just fine.
Thank you!

Upon reflection, I think this might not be a keyd issue.  The reason keyd isn't grabbing keystrokes might be because another process is grabbing them.  And that wouldn't be keyd's fault.  A race condition would also explain the intermittent nature of the failure.  I need to eliminate that possibility.  When I am next in front of that computer, I will do that.  In the meantime, I think this should be closed.

repo: rvaiya/keyd


text:
Week 3 PR #2 based on review comments

Commits that validate client-side input and clarify code structure based on comments left by Di and Vikki on my Week 3 PR.

The code that validates client-side input is in the comments.html. On lines 27, 30, 33, 34, and 39, I added "required" and changed to type=email for email input that requires users write valid data in those input fields. So, until those inputs are filled in, they are highlighted in red (meaning they are required and have invalid input). Until all required input fields are filled in (contact number is not required and can be left blank), if a user attempts to click submit button, it will not post their comment and a HTML drop down tag will appear the first input field that is invalid (from top to bottom). The type=email tag requires a user write text in the format of johnsmith@emailservice.

repo: rwackes/step-portfolio


text:
Fix CI builds

This PR continues https://github.com/rwjblue/ember-debug-handlers-polyfill/pull/6
I had to skip() one of the tests for now due to https://github.com/emberjs/ember.js/pull/12370

Thank you!!

repo: rwjblue/ember-debug-handlers-polyfill


text:
Implement webhook signature validation

First proposal for implementing signature validation as documented here: https://developer.atlassian.com/cloud/trello/guides/rest-api/webhooks/#webhook-signatures
To make this usable via the Automation Engine, the validation should probably be moved to ConvertJsonToWebhookNotification.
Also I wasn't sure where the best place to put the Trello secret would be.
Please let me know your thoughts and I will move things around accordingly.
also, thanks for this library :) so far, it has been very pleasant to work with.

Hi @compujuckel, Thank you for the PR, and Nice that you would like to contribute 😎
I've been meaning to include the signature validation but have not yet come around to it so it is a good addition 🙏
Regarding the Secret, I was thinking if it might be better to add it to the TrelloClientOptions ... That way every time you have a trelloClient, you also have the secret at hand, and you can better use User-secrets if you dependency inject the TrelloClient
As for use in the automation engine that could also be a welcome addition... I could see the ProcessingRequest with the JSON getting the "signature" and "webhookUrl" as optional params, and as for reuse of the new ValidateSignature method that could perhaps be a new static helper-class (WebhookSignatureValidator.IsValid(string json, string signature, string webhookUrl))
So if you are up for these changes I would be most grateful for the addition 💪

Sure, sounds good!
One last question: What should happen in AutomationController.ProcessJsonFromWebhookAsync when the signature validation fails? throw an AutomationException?

It is a good question (and same question for the one you already implemented)... I'm leaning toward just a return like you have, as throwing exception will just spam an errorlog...
Only worry about the direct return, is if someone implement it wrong and do not understand why.

Only worry about the direct return, is if someone implement it wrong and do not understand why.

Yes, that's also my main concern. As an alternative, what do you think about adding a new parameter (e.g. EnableWebhookSignatureValidation) to TrelloClientOptions instead of implicitly enabling it when the API secret is set?
That way, you couldn't "accidentally" enable this feature and then wonder why nothing is working.

Gut feeling is that it would not really help with that and would just annoy. To me the process of sending of signature and url to the processor is the "enabling" of the feature... (Btw., If one that but have not set the secret it would properly be smart to throw an exception in that case)
So:

no secret and no signature/url = No validation
Secret and no signature/url = No validation
No secret and signature/url = Exception
Secret + signature/url (all set correctly) = success validation
Secret + signature/url (wrong data) = validation with silent return

If this cause issues for people implementing we can implement a debug mode in options later

@compujuckel Are you still up for completing this PR, or do you wish me to accept it as is and do the final tweaking?

I'll most likely have time to work on it again in a few days, so if you're fine with waiting until then I'll finish it

@compujuckel No worries; take your time. It was just if you did not feel like it, it would be a shame to abandon the good work so far 😊

Awesome :-) ... I will merge and add you to the credits in the changelog. I expect version 1.9.0 with this included out very soon (today or tomorrow)
Again, thank for contributing 💪

authors: compujuckel rwjdk

repo: rwjdk/TrelloDotNet


text:
Running in context of project root

I want to execute my TS file from the project root, so the command would be
$ tsx ./src/script.ts
Is this possible with tsx-vscode?

How is this different from running from the directory where the file is located?

It changes the context in which the script runs:  the current directory is that of the script rather than the project/module.  So relative file references in my scripts don't work.

I don't understand, is there any relationship between using __dirname and the running directory? Is there any minimal example?

A script is run within an execution context which includes a current directory, that determines how relative paths get resolved.  So code like this ..
import fs from 'fs';
import path from 'path';
const inputFilespec = path.join('./src', settings.filename);
const myData = fs.readFileSync( inputFilespec, 'utf8')

will be affected because the './src' gets appended to the current directory.
BTW, __dirname is not legal in ES modules.  Perhaps there is some equivalent, and either way, yes, I'm sure there are ways I could change my code to no longer depend on the current directory, but I thought I would ask about it first.

A script is run within an execution context which includes a current directory, that determines how relative paths get resolved. So code like this ..
import fs from 'fs';
import path from 'path';
const inputFilespec = path.join('./src', settings.filename);
const myData = fs.readFileSync( inputFilespec, 'utf8')

will be affected because the './src' gets appended to the current directory.
BTW, __dirname is not legal in ES modules. Perhaps there is some equivalent, and either way, yes, I'm sure there are ways I could change my code to no longer depend on the current directory, but I thought I would ask about it first.

I can add a configuration to support different running directories, but it seems difficult to satisfy every scenario, and it is recommended to modify the code.
import { fileURLToPath } from 'url';
import { dirname } from 'path';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

If you use a build tool or something like that, you can also use plugins to automatically polyfill these global variables.

Release 0.3.0, support tsx.cwd configuration
fileDirname: The directory of the current file
workspaceRoot: The root directory of the current workspace
packageRoot: The root directory of the current package.json

Ah, that's great, thanks!

authors: GitTom rxliuli

repo: rxliuli/tsx-vscode


text:
ttwatch stopped working before really starting

I am really new to ttwatch. I installed it yesterday without problems. I was able to download one activity from my watch to the computer (using the daemon). When I tried to upload the activity to mapmyfitness, I received errors regarding permissions. I thought that was because the activity file was owned by root. I deleted it, and restarted the daemon with me as a user, and nothing has worked since. I am unable to download any activities from the watch, even a new one from this morning. Any idea what I should do next?

It sounds like a permissions issue. Firstly, make sure there are no copies of ttwatch or ttwatchd running.

Does it work if you use the ttwatch program without using the daemon (ttwatch -a)?
If not, does it work if you run the ttwatch program as root (sudo ttwatch -a)?
If so, then try doing make install_udev to install udev rules to make the watch accessible to the usb group. It will also add your username to the usb group so that you have permissions to access it.
Try these first. If you still can't get it working, there may be something else we can try.

Hi, thanks for your response.
No activity gets loaded even if I run ttwatch -a. The output is:
Downloading GPSQuickFix data file...
Writing file to watch...
GPSQuickFix data updated
Current firmware is already at latest version
I also installed the udev rules and added myself to the usb group yesterday
following the steps in the instructions, i.e., I did not run make
install_udev. Running it now gives the following errors:
addgroup: The group `usb' already exists and is not a system group. Exiting.
CMakeFiles/install_udev.dir/build.make:57: recipe for target
'CMakeFiles/install_udev' failed
make[3]: *** [CMakeFiles/install_udev] Error 1
CMakeFiles/Makefile2:324: recipe for target
'CMakeFiles/install_udev.dir/all' failed
make[2]: *** [CMakeFiles/install_udev.dir/all] Error 2
CMakeFiles/Makefile2:331: recipe for target
'CMakeFiles/install_udev.dir/rule' failed
make[1]: *** [CMakeFiles/install_udev.dir/rule] Error 2
Makefile:253: recipe for target 'install_udev' failed
make: *** [install_udev] Error 2
Like I said downloading the activity worked once (it did not get deleted
from the watch, though)
--tei
--
Tei Laine,
Ph.D...............................................................................
Chercheuse
invitée........................................................................
Maison des Sciences de l'Homme-Alpes.......................................
Université Grenoble
Alpes.............................................................
1221 avenue centrale - Domaine universitaire - St Martin d'Hères
On Thu, Aug 3, 2017 at 1:28 PM, Ryan Binns notifications@github.com wrote:

It sounds like a permissions issue. Firstly, make sure there are no copies
of ttwatch or ttwatchd running.

Does it work if you use the ttwatch program without using the
daemon (ttwatch -a)?
If not, does it work if you run the ttwatch program as root (sudo
ttwatch -a)?
If so, then try doing make install_udev to install udev rules to
make the watch accessible to the usb group. It will also add your
username to the usb group so that you have permissions to access it.
Try these first. If you still can't get it working, there may be
something else we can try.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ryanbinns/ttwatch/issues/131#issuecomment-319942850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdQ7qjVgtBnkEI4PpjmUDJVyvpMkXGnKks5sUa7VgaJpZM4OsFEJ
.

Ok, I think I understand. Most people get confused by this at first. When the activity is downloaded from the watch, the activity data is definitely deleted from the watch. However, the watch still retains a summary of the activity for use when looking at history and for the race function. So it still looks like it's there, but there is no more data that can be downloaded. If you run ttwatch --list-history you'll see the activity, but the information displayed there is the only information that's left on the watch. Everything else has been deleted.
If you do a new activity then try to download it, it should work.

Ok, I see. So the activity data also gets deleted if I use TomTom MySports
mobile app to download the activity. I did a small test activity and the
download using ttwatch worked just fine.
But when I try to run the script ./ttbin2mysports, I get:
./ttbin2mysports: 62: cd: can't cd to /home/tei/ttwatch/2017-08-03//
{"error":"validation/username,password","error_description":"Post body
failed validation:
{"username":"validation/string","password":"validation/string"}"}curl:
(26) couldn't open file "/home/tei/ttwatch/2017-08-03///*.tcx"
I guess the "cant' cd '' error is because there is no subdirectory under
~/ttwatch/2017-08/03, but the rest?
--tei
--
Tei Laine,
Ph.D...............................................................................
Chercheuse
invitée........................................................................
Maison des Sciences de l'Homme-Alpes.......................................
Université Grenoble
Alpes.............................................................
1221 avenue centrale - Domaine universitaire - St Martin d'Hères
On Thu, Aug 3, 2017 at 2:04 PM, Ryan Binns notifications@github.com wrote:

Ok, I think I understand. Most people get confused by this at first. When
the activity is downloaded from the watch, the activity data is definitely
deleted from the watch. However, the watch still retains a summary of the
activity for use when looking at history and for the race function. So it
still looks like it's there, but there is no more data that can be
downloaded. If you run ttwatch --list-history you'll see the activity,
but the information displayed there is the only information that's left on
the watch. Everything else has been deleted.
If you do a new activity then try to download it, it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ryanbinns/ttwatch/issues/131#issuecomment-319949913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdQ7qmyowTH_p4iIyCzPdLopk201TiIHks5sUbdkgaJpZM4OsFEJ
.

That's correct, the activity data is always deleted, no matter what method you use for downloading it.
I don't know if ttbin2mysports works any more. I didn't write it and have never used it because I don't use MySports. TomTom changed the way MySports works some time ago. It used to be run by MapMyFitness, but TomTom subsequently rewrote the website using their own API. I'm not sure if anyone else uses the ttbin2mysports script or if it still works.
BTW, did you change the username and password inside the script (lines 9 and 10)? If not, try changing them to your username and password and see if it works. You might be lucky.

Yes, I did change the username and password. So, if the script does not
work, there is no way I can get the activity to MySports? That was the
whole point, since the mobile app is so unreliable)
--tei
--
Tei Laine,
Ph.D...............................................................................
Chercheuse
invitée........................................................................
Maison des Sciences de l'Homme-Alpes.......................................
Université Grenoble
Alpes.............................................................
1221 avenue centrale - Domaine universitaire - St Martin d'Hères
On Thu, Aug 3, 2017 at 2:36 PM, Ryan Binns notifications@github.com wrote:

That's correct, the activity data is always deleted, no matter what method
you use for downloading it.
I don't know if ttbin2mysports works any more. I didn't write it and have
never used it because I don't use MySports. TomTom changed the way MySports
works some time ago. It used to be run by MapMyFitness, but TomTom
subsequently rewrote the website using their own API. I'm not sure if
anyone else uses the ttbin2mysports script or if it still works.
BTW, did you change the username and password inside the script (lines 9
and 10)? If not, try changing them to your username and password and see if
it works. You might be lucky.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ryanbinns/ttwatch/issues/131#issuecomment-319956378,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdQ7qs4vB8hmLP9bn6ikMUr5ae-kBFVJks5sUb6wgaJpZM4OsFEJ
.

Sorry no, you're the first person I have found to want it since the API was changed. Nobody else has mentioned it. Most people use Strava instead as it's much better and you can just upload TCX files through the website interface. MySports is extremely limited.
The MySports API is not documented so it would need some serious reverse engineering to work out (it's encrypted communications, which makes it difficult).

Ok, thanks for the info.
I got the script working up to the point it generates the .tcx file and
*uploaded_to_mysports file, but it does not actually upload the file to
MySports, and I can't find any way to upload files on the website either,
just to download.
I keep trying ...
--tei
--
Tei Laine,
Ph.D...............................................................................
Chercheuse
invitée........................................................................
Maison des Sciences de l'Homme-Alpes.......................................
Université Grenoble
Alpes.............................................................
1221 avenue centrale - Domaine universitaire - St Martin d'Hères
On Thu, Aug 3, 2017 at 2:59 PM, Ryan Binns notifications@github.com wrote:

Sorry no, you're the first person I have found to want it since the API
was changed. Nobody else has mentioned it. Most people use Strava instead
as it's much better and you can just upload TCX files through the website
interface. MySports is extremely limited.
The MySports API is not documented so it would need some serious reverse
engineering to work out (it's encrypted communications, which makes it
difficult).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ryanbinns/ttwatch/issues/131#issuecomment-319961697,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdQ7qjy8_XJ51WsgXS9I-cQ0mBhNIKBzks5sUcQ0gaJpZM4OsFEJ
.

authors: ryanbinns teihla

repo: ryanbinns/ttwatch


text:
Workbench DNS entry not found

Tried to visit workbench url workbench.developerforce.com using chrome browser and get dns entry not found. Did a nslookup and name does not resolve. Not sure when this worked last but definitely sometime last week.

See #710. Same root cause

Hi,
From 10th August 2017, I am facing problem in opening website "https://workbench.developerforce.com/".
On 10th and 11th, it was extremely slow and today (14th Aug) its not at all opening and showing DNS error.
Thanks

Hi Ryan,
I cannot express how much of an effect you have on my dev in salesforce using this tool. Its people like you who make salesforce dev tolerable. Thanks a lot for all the hard work and support. I thought workbench was a salesforce feature until today. I made a case that i got the DNS error and they notified me its a single user. Truly asountd. Please keep up the good work. We need more people like you.
-Shyam Raju
WILEY

Workbench is back online. Sorry for the outage and the long delay getting it back online. It required a few people behind the scenes and took some time to get things coordinated. As has been mentioned a few times on this thread, Workbench is not a supported tool (see https://workbench.developerforce.com/terms.php for it's status), so unfortunately there is no SLA when issues like this occur. Thank you to everyone to offered their gratitude for the service.

Cannot thank you enough @ryanbrainard
Would love to help if u ever need any.

Hey Ryan,
Thanks a lot!!!
Workbench is always life-saver for me :)

Please consider up-voting https://success.salesforce.com/ideaView?id=0873A0000003UWrQAM to help advocate for Workbench becoming a supported Salesforce tool.

Done Ryan,
This tool is like bread and butter for Admin like us..
I will be happy to help in any way possible.
Thanks and Regards,
Bhavna Banodha
On Fri, Sep 1, 2017 at 2:20 AM, John Brock notifications@github.com wrote:

Please consider up-voting https://success.salesforce.com/ideaView?id=
0873A0000003UWrQAM to help advocate for Workbench becoming a supported
Salesforce tool.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ryanbrainard/forceworkbench/issues/712#issuecomment-326453961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Adkst1C1gSvrYkNyPH75UTNV63LSgZeXks5sd03VgaJpZM4O2SSb
.

--
Regards,
Bhavna Banodha

authors: bhavnabanodha jiggy-rc john-brock ryanbrainard salpirs shyamraju

repo: ryanbrainard/forceworkbench


text:
wip! feat: support for multiple files/folders

Closes #472

Broken right now, as the folder structure isn't being retained.


text:
🛑 Backend is down

In 0ee29eb, Backend ($SECRET_BACKEND_SITE) was down:

HTTP code: 500
Response time: 11093 ms

Resolved: Backend is back up in 37e08f0.

repo: ryanlid/upptime


text:
Iterating through response object

Hi there,
Question - are you able to iterate (loop) through the response object using the angular template?  Current our data looks like
[
{ "test": 1 },
{ "test": 2 }
]
and I want to display it using a template like:
 {{ response.test }}
How can we perform this function?

+1

I am trying using some examples from the Angular docs but its not working

{{hero.name}}

<app-hero-detail *ngFor="let hero of heroes" [hero]="hero"></app-hero-detail>

I would certainly appreciate any guidance you can provide

I'll update the example to something more interesting, but try:

Instance: {{ response.DEFAULT.instance_name }}

{{key}}

{{ value | json }}

Note this is angular 1.0 and any directive needs to be registered already in grafana.  either though a plugin or native.  I would not expect <app-hero-detail to do anything unless you did some other magic

authors: codepattern johntdyer ryantxu

repo: ryantxu/ajax-panel


text:
home-manager: improve handling of conflicting files

Description
When files conflict during activation, home-manager will also print the path of the source file that wants to overwrite the other.
I think it would be even better if compared the files on conflict to determine if there actually is a conflict (which would resolve #1213), but this would create a dependency to diffutils and I don't know if that's okay.
Checklist

[x] Code formatted with ./format.

[x] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[x] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

Thanks! Rebased to master in 6c7a0313673687368a33197e58bc28f4290ec244.

About diffutils, the activation script already depends on it but I'm skeptical about silently replacing actual files with symlinks in general, regardless of whether the content of the files is equal. Perhaps with a new Boolean option replaceIfEqual or something.

If the files are equal, do we need to replace them with a symlink? Or can we simply leave them be?

authors: piegamesde rycee

repo: rycee/home-manager


text:
I met this error when run with xcode.

Hi, @ryouchinsa
I met this error when run with xcode.
"/Users/user1/Music/of_v0.11.2_osx_release/libs/openFrameworks/3d/ofMesh.inl:1101:20 Use of undeclared identifier 'MAX'
What;s wrong to me ??
Thanks  at any rate.
best,
@bemoregt.

Thanks for writing the issue.
I show you my settings on the Xcode.
If you need more information to build on the Xcode, please let me know.

General -> Frameworks, Libraries, and Embedded Content

Build Settings

Header Search Paths
/Users/ryo/Downloads/onnxruntime-osx-universal2-1.16.3/include
Library Search Paths
/Users/ryo/Downloads/onnxruntime-osx-universal2-1.16.3/lib

Build Phases -> Embed Libraries

I met this error screenshot when run with XCode + Openframeworks.
sam.cpp * sam.h cannot inserted in src diretory.
What's wrong to me ?
Thanks.
Best,
@bemoregt,

@bemoregt Please show screenshots with errors ..
by the way you have two src folders inside of you project
Did you select 'Copy items if needed' when you added the files?

Here it is ..

What's wrong to me ?

H/w: m1 macmini
O/S: mac osx sonoma
Xcode 15.1
Openframeworks v0.11.2_osx

Thanks in advance.
Best,
@bemoregt,

I want to support your use-case, but I have not used the openFrameworks yet.
How about asking on the issues page?
https://github.com/openframeworks/openFrameworks/issues

authors: bemoregt ryouchinsa tempdeltavalue

repo: ryouchinsa/sam-cpp-macos


text:
Update README about the header parsing policy for markdown ToC

The current code doesn't care about a neighborhood level but only cares about the level difference.
It means ### may be possible to appear after #.
# single_gen.py
....
92:    def append_toc(self, head, level):
93:        # if (self.prev_level + 1) == level:  # new child
94:        if self.prev_level < level:  # new child
95:            pass
...

However, the README only describes the strict rules below:
...
(Note) If you skip the title level of the markdown marked with #, an error will occur. In other words, the subtitle of ## must be ###.
...

Soft examples like below are much more flexible, so we need to test this.
# Title
### Subtitle1
### Subtitle2

On second thought, this example below doesn't make sense because it will crash an indentation of ToC.
# Title
### Subtitle1
### Subtitle2

So I revert the code from self.prev_level < level to (self.prev_level + 1) == level and close this issue.


text:
Is it possible to use spfx-fast-serve for project created with yo teams?

I understand that it's probably off-topic. But I am writing to get some help from someone with a similar question.
I started working on an existing large MS Teams app created with yo teams and it re-serves paintfully slow. spfx-fast-serve works wonders on spfx projects. So I was wondering if it's somehow possible to make it work with teams projects? Or, perhaps, it's possible to take the "secret sauce" from spfx-fast-serve and somehow apply it to the teams projects webpack.config.js is available in the root folder of the teams project.
Freshly created project with yo teams

webpack.config.js
// Copyright (c) Wictor Wilén. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

const webpack = require("webpack");
const nodeExternals = require("webpack-node-externals");
const ESLintPlugin = require("eslint-webpack-plugin");

const path = require("path");
const fs = require("fs");
const argv = require("yargs").argv;

const debug = argv.debug !== undefined;
const lint = !(argv["no-linting"] || argv.l === true);

const config = [{
    entry: {
        server: [
            path.join(__dirname, "/src/server/server.ts")
        ]
    },
    mode: debug ? "development" : "production",
    output: {
        path: path.join(__dirname, "/dist"),
        filename: "[name].js",
        devtoolModuleFilenameTemplate: debug ? "[absolute-resource-path]" : "[]"
    },
    externals: [nodeExternals()],
    devtool: debug ? "source-map" : "source-map",
    resolve: {
        extensions: [".ts", ".tsx", ".js"],
        alias: {}
    },
    target: "node",
    node: {
        __dirname: false,
        __filename: false
    },
    module: {
        rules: [{
            test: /\.tsx?$/,
            exclude: /node_modules/,
            use: ["ts-loader"]
        }]
    },
    plugins: []
},
{
    entry: {
        client: [
            path.join(__dirname, "/src/client/client.ts")
        ]
    },
    mode: debug ? "development" : "production",
    output: {
        path: path.join(__dirname, "/dist/web/scripts"),
        filename: "[name].js",
        libraryTarget: "umd",
        library: "teamstest",
        publicPath: "/scripts/"
    },
    externals: {},
    devtool: debug ? "source-map" : "source-map",
    resolve: {
        extensions: [".ts", ".tsx", ".js"],
        alias: {}
    },
    target: "web",
    module: {
        rules: [{
            test: /\.tsx?$/,
            exclude: /node_modules/,
            use: ["ts-loader"]
        }]
    },
    plugins: [
        new webpack.EnvironmentPlugin({ PUBLIC_HOSTNAME: undefined, TAB_APP_ID: null, TAB_APP_URI: null })
    ]
}
];

if (lint !== false) {
    config[0].plugins.push(new ESLintPlugin({ extensions: ["ts", "tsx"], failOnError: false }));
    config[1].plugins.push(new ESLintPlugin({ extensions: ["ts", "tsx"], failOnError: false }));
}

module.exports = config;

package.json
{
  "name": "teamstest",
  "version": "0.0.1",
  "description": "Generated by yoteams, https://aka.ms/yoteams",
  "scripts": {
    "start": "node dist/server.js",
    "build": "gulp build",
    "manifest": "gulp manifest",
    "debug": "gulp serve --debug",
    "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
  },
  "dependencies": {
    "@fluentui/react-northstar": "~0.56.0",
    "@microsoft/teams-js": "~1.10.0",
    "axios": "^0.21.1",
    "botbuilder": "4.11.1",
    "botbuilder-dialogs": "4.11.1",
    "compression": "1.7.4",
    "debug": "4.2.0",
    "dotenv": "8.2.0",
    "express": "4.16.4",
    "express-msteams-host": "1.7.0",
    "express-session": "1.15.6",
    "morgan": "1.9.1",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "msteams-react-base-component": "^3.1.0"
  },
  "devDependencies": {
    "@types/debug": "4.1.5",
    "@types/express": "4.16.0",
    "@types/express-session": "1.15.10",
    "@types/morgan": "1.7.35",
    "@types/react": "16.8.10",
    "@types/react-dom": "16.8.3",
    "browser-sync": "^2.26.5",
    "fancy-log": "^1.3.3",
    "file-loader": "6.1.1",
    "gulp": "4.0.2",
    "ts-loader": "8.0.5",
    "typescript": "4.0.3",
    "typestyle": "2.0.1",
    "vinyl": "2.2.0",
    "webpack": "5.0.0",
    "yargs": "^16.0.3",
    "yoteams-build-core": "^1.2.0",
    "yoteams-deploy": "^1.0.0",
    "webpack-node-externals": "^2.5.2",
    "@typescript-eslint/eslint-plugin": "^4.14.0",
    "@typescript-eslint/parser": "^4.14.0",
    "eslint": "^7.18.0",
    "eslint-config-standard": "^16.0.2",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-react": "^7.22.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "eslint-webpack-plugin": "^2.5.0"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "Firefox ESR"
  ],
  "engines": {
    "node": ">=12"
  }
}

I will take a closer look in the nearest days.

The short answer is "yes", it's possible to significantly speed up yo teams as well. yo teams has a similar issue as SPFx - on every file change it recompiles everything, instead of just needed files (incrementally). It's slow mostly because of the @fluentui/react-northstar usage on front-end. This library adds a lot of JS to the bundle, as a result the webpack client processing is slow. Fortunately, it's not that difficult to fix. Later on, I will push a PR to the teams generator and maybe my changes will be added to the generator core.
Meanwhile here is a how-to guide on how you can apply performance improvements on your project right now (if you don't want to wait for the PR, also I can't guarantee it will be merged). Let's see whether it works for your big project or not :)
In short, you should do just a few things:

Add some npm dependencies and scripts
Update gulpfile.js
Update webpack.config.js (not drastically)

The idea is that you have a separate webpack process for you front-end bundle (where the bottleneck is).
I've created a sample project here. You can open commit history to see the differences I introduced to make serve process faster. In case of troubles with the below guide you can try to apply changes from those demo repo one-by-one.
Details
1. Add npm dependencies and scripts:
npm i fork-ts-checker-webpack-plugin webpack-cli webpack-dev-server concurrently --save-dev

concurrently needed to run two commands in parallel. fork-ts-checker-webpack-plugin is for TypeScript compilation performance
Add two new npm scripts:
"webpack-dev": "webpack serve --mode development --config webpack.config.js --config-name client --env development",
"serve": "concurrently \"npm:debug\" \"npm:webpack-dev\""

I use npm run debug (npm:debug) command here, if you use any other command, then just replace debug with yours. I.e. most likely for dev you use ngrok, so it will be "serve": "concurrently \"gulp ngrok-serve\" \"npm:webpack-dev\""
2. Update gulpfile.js
Change
const config = {};

to
const config = {
    clientWatches: ["!./src/client/**/*.*"] // this effectively disables gulp.watch task for the client files (we use webpack-dev-serve instead with builtin watch)
};

3. Update webpack.config.js
Here you should add ForkTsCheckerWebpackPlugin, add names for different webpack configurations and update ts-loader configuration. If you use yo teams 3.x, then you can just copy-replace below config (if you hasn't modified it before). Otherwise you should apply step-by-step. Here you can find a diff with the base webpack.config.js file generated by yo teams.

webpack.config.js
// Copyright (c) Wictor Wilén. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

const webpack = require("webpack");
const nodeExternals = require("webpack-node-externals");
const ESLintPlugin = require("eslint-webpack-plugin");
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");

const path = require("path");
const fs = require("fs");
const argv = require("yargs").argv;

const debug = argv.debug !== undefined;
const lint = !(argv["no-linting"] || argv.l === true);
const devServerMode = argv.mode && argv.mode === "development";

const config = [{
    name: "server",
    entry: {
        server: [
            path.join(__dirname, "/src/server/server.ts")
        ]
    },
    mode: debug ? "development" : "production",
    output: {
        path: path.join(__dirname, "/dist"),
        filename: "[name].js",
        devtoolModuleFilenameTemplate: debug ? "[absolute-resource-path]" : "[]"
    },
    externals: [nodeExternals()],
    devtool: debug ? "source-map" : "source-map",
    resolve: {
        extensions: [".ts", ".tsx", ".js"],
        alias: {}
    },
    target: "node",
    node: {
        __dirname: false,
        __filename: false
    },
    module: {
        rules: [{
            test: /\.tsx?$/,
            exclude: /node_modules/,
            use: ["ts-loader"]
        }]
    },
    plugins: []
},
{
    name: "client",
    entry: {
        client: [
            path.join(__dirname, "/src/client/client.ts")
        ]
    },
    mode: debug ? "development" : "production",
    output: {
        path: path.join(__dirname, "/dist/web/scripts"),
        filename: "[name].js",
        libraryTarget: "umd",
        library: "teamsFastServeDemo",
        publicPath: "/scripts/"
    },
    externals: {},
    devtool: debug ? "source-map" : "source-map",
    resolve: {
        extensions: [".ts", ".tsx", ".js"],
        alias: {}
    },
    target: "web",
    module: {
        rules: [{
            test: /\.tsx?$/,
            exclude: /node_modules/,
            use: {
                loader: "ts-loader",
                options: {
                    transpileOnly: true
                }
            }
        }]
    },
    plugins: [
        new webpack.EnvironmentPlugin({ PUBLIC_HOSTNAME: devServerMode ? "ngrok url here (or codespaces)" : undefined, TAB_APP_ID: null, TAB_APP_URI: null }),
        new ForkTsCheckerWebpackPlugin({
            typescript: {
                configFile: "./src/client/tsconfig.json"
            }
        })
    ],
    devServer: {
        hot: false,
        open: "http://localhost:3007/myTab/",
        devMiddleware: {
            writeToDisk: true
        }
    }
}
];

if (lint !== false) {
    config[0].plugins.push(new ESLintPlugin({ extensions: ["ts", "tsx"], failOnError: false }));
    config[1].plugins.push(new ESLintPlugin({ extensions: ["ts", "tsx"], failOnError: false }));
}

module.exports = config;

One important note regarding PUBLIC_HOSTNAME variable. If you use it in your client code base, then you should update "ngrok url here (or codespaces)" string with your real development hosted URL (like my-app.ngrok.io etc. depending on what you use). If the variable is not used, then just do nothing.
Run it
Finally run npm run serve and have your fingers crossed :)

@s-KaiNet, thank you so much! let me try it.

JFYI added PR

Thank you Sergei!
I tried your suggestions and they worked for an OOB template. But I was stuck trying to replicate the steps for my large project because I could not install some depencencies because they are not available in our enterprice npm feed... Could not sort it out  yet.

Closing, as the corresponding PR was merged.

repo: s-KaiNet/spfx-fast-serve


text:
minor refactor

move specaug.py out of asr folder since its a general operation compatible with all the downstream tasks
from dictionary import Dictionary --> from .dictionary import Dictionary
make train/dev/test sets configurable
add model (torchaudio.models.wav2letter)
default 12 workers for _build_dictionary

when dev we wish to use both dev-clean and dev-other, while when testing we might want to separate test-clean & test-other


text:
Add support for Dark Mode for buttons

We need to add support for dark mode, as a lot of the buttons need better support for dark mode, not just for our website, but for the users as well.
This issue will be divided between contributors where each contributor can take up a button to add dark mode support to it.
Adding the dark mode support need to be done in the following way:

Adding support to the dark mode media query
Adding support when the parent is [data-theme="dark"]
Adding support when the button has the class dark-mode

So, for each button when adding the support for dark mode, you need to apply it to the above 3. For help on the first two you can refer to hatch button's code as it adds support for them (except adding the dark-mode class)
The following buttons need support. Please comment below to take up a button:

[ ] Dashed Button (White, Yellow, and Black Colors) Taken by @singhtalwinder
[ ] Glow Button
[ ] Neon Border
[ ] Outline (Black and White Colors)
[ ] Stack (Remove white color's border)
[ ] Atom (Yellow, Black and White Colors)
[ ] Diagonal Background (Black and White Colors)
[ ] Expanding Border
[ ] Fill (All types) (Black and White Colors)
[ ] Ripple (Black and White Colors)
[ ] Snake Border
[ ] Transparent on Hover (Black Color)
[ ] Base Icon (When the icon is with a transparent background, make it white)
[ ] Star Icon (similar to above)
[ ] Hatch (It support the media query and data-theme but doesn't have a dark-mode class so that needs to be added).

Hi @shahednasser can I work on this?

Hey, can I do dashed button?:smiley:

Can I Fix this Issue?

Sure @singhtalwinder !

@theRoushan of course but can you pick a button to work on?

Hi, can I please do the neon border button?

@muskuu yes sure go ahead!

@shahednasser
The Yellow dashed button has a black text color instead of yellow color. Is it expected behavior?
Here's a screenshot

Also, how should buttons behave in dark mode?
Should I change the black button to the white button and vice versa in dark mode?
P.S. Thanks for assigning me

Hi @singhtalwinder I think there's a problem with the button, as it should be similar to outline button so the text should be yellow. I'll raise an issue on this, so please just work on the rest of the colors mentioned. Thanks!

@shahednasser
Hi, I have made changes to _neon-border.less on my local system with regards to dark mode.
But I am unable to understand this step. Thanks In advance.

Hi @muskuu . After making the changing in Less files you need to compile them so the changes can be added to dist/sbuttons.css

Can I take the glow button?

Hi, can I do the base icon?

Yes @shonali2600

I can do Diagonal Background, Fill, and Ripple.
I also have a question and a concern. For expanding border, I thought it already looked okay. Do you want to make the background transparant? And for the completed dash button, the text on the yellow-btn is almost invisible. And the black-btn looks exactly the same as the white-btn; it just doesn't have the animation.

Thank you @TomWBush . As for expanding border we need to change the color of the border on dark mode, as it isn't really visible.
As for the dashed button, we had a different issue for the yellow button and someone was working on it but they've basically disappeared. If you would like to work on it as well that's fine. as for the black btn it is supposed to look like that in dark mode, as a black button will be no good.

Hi @shahednasser, I'm having trouble finding the CSS of Base icon buttons. Can you please help me out as I'm new to open source.

Hi @shahednasser, I'm having trouble finding the CSS of Base icon buttons. Can you please help me out as I'm new to open source.

It's src/components/icon/_icon-btn.less.

I made a pull request for  Transparent on Hover (Black Color) on #1151

I can do the last three.

Which last three @TomWBush ? Some of them are taken

Which last three @TomWBush ? Some of them are taken

Oh sorry, I mean the last three available.

great @TomWBush you can work on them

Hello @muskuu @shonali2600 are you still working on the buttons or should we leave them unassigned for others?

@shahednasser I'm sorry I'm not able to do it. Thank you for the opportunity. You can unassign me. Thanks.

Hi, @shahednasser if there are any buttons that are still unassigned I would be happy to help with them.

Hi, @shahednasser if there are any buttons that are still unassigned I would be happy to help with them.

Neon Border and Base Icon are currently available. Please pick one or both.

@muskuu no problem thank you for letting me know.

Hello @katyabakun as @TomWBush mentioned there are two buttons available. Please choose one and let us know to assign it to you.

Can I take Neon border?

Sure @chiragkava

@shahednasser Could you assign me to Base Icon, if it is still unassigned?

Since @shonali2600 hasn't replied, @katyabakun you can work on it.

authors: TomWBush chiragkava dotsandchipsandthings katyabakun modaserMoj muskuu shahednasser shonali2600 singhtalwinder theRoushan

repo: sButtons/sbuttons


text:
Added transition to rounded-bottom button

Added transition: all 0.2s to rounded-bottom button

Issue: #1262

Thank you for your work!
@all-contributors please add @mainak-debnath for code

authors: mainak-debnath shahednasser


text:
String too big

How and when did this occur? Can you reproduce the stacktrace?

I first dragged the plugin on it then rl then I dragged the depency plugin on because I had forgotten it then rl again then I wrote in the chat

Does rl mean reload or restart? Reloading the server with /reload is a non supported behavior of almost all plugins and should never be used.
Can you reproduce the bug? If yes, how? Also please attach a /wg report -p or at least the /version output.
Thank you!

authors: RCUngegrieftHD Silthus

repo: sVoxelDev/sChat


text:
[1.19.2] Crash on startup

Compressed Blocks: c15be84-1.2.0
Forge: 43.2.8
Describe the bug
Game crashes during startup.
How did it happen?
Attempting to load the game
Screenshots
If applicable, add screenshots to help explain your problem.

Crash Report
Latest Log

Ohh, it seems it's not compatible with 1.19.2, I'm sorry I will release a version that's compatible with the other versions!
Currently it might only be compatible with 1.19.4, it maybe works with 1.19.3 but just maybe

authors: DelviousCrafts sa-shiro

repo: sa-shiro/Minecraft-Compressed-Blocks


text:
Force the "scrollToIndex" when using setValue

Hello, I have a doubt,... I am using the control in list mode, with the option "keepAlwaysOpen", but I have a problem that I don't know how to solve: when I set the value that I need to see selected, the list does not scroll to it.
Here is a visual example (as you can see, when I set the value 023, the list does not scroll to its position to make it visible)

Is there any way to force the "scrollToIndex" when using setValue?
The behavior I expect is the same as observed when the list is opened, in "Select" mode, and positioned:

Is there any way to force the "scrollToIndex" when using setValue?
Thx.

I have updated to the latest version, 1.0.39. I have seen two new options: alwaysShowSelectedOptionsLabel and focusSelectedOptionOnOpen; I have activated them but I see no difference in the behavior, using keepAlwaysOpen should these options solve my problem?
Thx.

repo: sa-si-dev/virtual-select


text:
Suggestion: semantic html elements

DaisyUI would greatly improve the readability of code if the "component" classes would be HTML tags that can be styled with the utility classes.
Short example:

    I open with focus

  <collapse-title class="text-xl font-medium">
    I open with focus
  </collapse-title>

Long example Instead of this:

    I open with focus

Collapse content reveals with focus. If you add a checkbox, you can control it using checkbox instead of focus. Or you can force-open/force-close using
      collapse-open and
      collapse-close classes.

This
<collapse tabindex="0" class="w-96">
	<collapse-title class="text-xl font-medium">I open with focus</collapse-title>
	<collapse-content class="">

			Collapse content reveals with focus. If you add a checkbox, you can control it using checkbox
			instead of focus. Or you can force-open/force-close using
			<badge class="badge-outline">collapse-open</badge> and
			<badge class="badge-outline">collapse-close</badge> classes.

	</collapse-content>
</collapse>

TL;DR – we finally have a way to create our own HTML elements and use them in any framework we want!
Thanks to the popularity of frameworks such as Angular, Vue, and React, component-driven development has become a part of our every day lives. Components help us encapsulate styles and behaviors into reusable building blocks. They make a lot of sense in terms of design, development, and testing.
Unfortunately, framework-specific components fail us in a number of ways:
You can only use them in the framework they're designed for 🔒
Their lifespan is limited to that of the framework's ⏳
New frameworks/versions can lead to breaking changes, requiring substantial effort to update components 😭
Web components solve these problems. They're supported by all modern browsers, they're framework-agnostic, and they're part of the standard, so we know they'll be supported for many years to come.
TL;DR on web components  from shoelace

@samuelstroschein
Thanks for the detailed comment.
There's one big problem about this approach:
When there's a .btn class, we can use that class everywhere: , <button class="btn">, ,... but when we use <btn> it's useless.
Tailwind CSS provides utility classes and daisyUI adds component classes on top. So we're still using a utility first system.

Adding default styling to semantic HTML tags does not entail removing the component classes. I meant that DaisyUI should apply (maybe opt-in) the component classes by default to those HTML elements.
<btn class="btn-outline">Semantic</btn>

Works as well

This doubles the size of CSS files (in both source and package) but I'm not sure what problem is being fixed here 🤷♂

Why would it require duplicative CSS files? TailwindCSS allows adding base styles to HTML elements. The only additional step that is required is defining the custom HTML element tags such as <collapse-title></collapse-title> etc but they are more less just divs with a semantic name.

I'm not sure what problem is being fixed here 🤷♂

It's a code readability enhancement. Instead of scaffolding meaningless elements like
 all over the markup, that only get meaning with the component class e.g.
, the relatively new introduction of custom HTML tags  would restore semantics e.g. <collapse-title>.
Why is this beneficial?
Look at the code from the cards example. Congrats, everything is a meaningless div. A developer now needs to read the class first to understand which component belongs to which div.

That is not too problematic when using inspect but by just looking at the source code, don't you agree that having a semantic tag name (which is a div under the hood having the component class applied by default) would improve the readability?

I came here to request something similar as I am exploring the examples and wondered why the navigation elements are all 's and why  wasn't being used.

authors: TotalLag saadeghi samuelstroschein

repo: saadeghi/daisyui


text:
Fixed error where valueobject has eaten too much

This fixes a bug, when valueobject is an empty element like  In this situation the deserializer did read one more, thus ending up a level higher than required.
I have also attached a unit test to demonstrate the problem. With the original code this xml did throw an error.

Pretty wild that people are still finding bugs, but LGTM!

Pretty wild that people are still finding bugs, but LGTM!

agree with that, I was surprised, that this haven't been found yet.
Thanks for the great software!

This has been here for a while!
I will have a look and see if I can make bugfix patch releases for major versions 2, 3 and 4.

Backport to v3 branch is in PR #241

authors: evert mrbig phil-davis

repo: sabre-io/xml


text:
An illegal memory access was encounteredan illegal memory access was encountered

Tensorflow 1.11.0
Cuda 9.0
Python 2.7.15
GTX 1060, 396 driver
Happens after run python demo. CPU version works well
an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredan illegal memory access was encounteredCuda kernel failed. Error: an illegal memory access was encounteredan illegal memory access was encountered2018-11-06 02:40:13.266582: E tensorflow/stream_executor/cuda/cuda_dnn.cc:353] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

I added this to run_demo.py before main function, and it starts work
import tensorflow as tf
from keras.backend.tensorflow_backend import set_session
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.7
set_session(tf.Session(config=config))

I added this to run_demo.py before main function, and it starts work
import tensorflow as tf
from keras.backend.tensorflow_backend import set_session
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.7
set_session(tf.Session(config=config))

Did train the CRF layer successfully？ Would you share your training code？
My email is gyimage@yeah.net.
Thanks.

authors: MnogoZnaet gyheart


text:
Add support for presignaturePending orders

presignaturePending orders are now decoded.
This is a new requirement as orders in this state were not previously supported.

Pull Request Test Coverage Report for Build 8688598336
Details

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.03%) to 93.089%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/entities/tests/human-description.builder.ts
1
80.0%

src/routes/transactions/mappers/common/swap-order.mapper.ts
1
90.11%

Totals

Change from base Build 8687143248:
0.03%

Covered Lines:
6775

Relevant Lines:
7029

💛  - Coveralls

authors: coveralls fmrsabino

repo: safe-global/safe-client-gateway


text:
Don't copy patches to build

Summary
As we are no longer patching packers after #1655, there is no .yarn/patches folder. Docker therefore fails when trying to copy it.
This removes the COPY from the Dockerfile to fix the issue.
Changes

Don't copy .yarn/patches into the build

Pull Request Test Coverage Report for Build 9546623881
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 49.427%

Files with Coverage Reduction
New Missed Lines
%

src/datasources/transaction-api/transaction-api.manager.ts
1
90.32%

src/datasources/balances-api/balances-api.manager.ts
1
72.22%

Totals

Change from base Build 9546514333:
-0.05%

Covered Lines:
3967

Relevant Lines:
6452

💛  - Coveralls

authors: coveralls iamacook


text:
more precise types for signature type in confirmations

This pull request to packages/types-kit includes changes to enhance type safety and consistency in the codebase. The most significant changes involve the introduction of a new SignatureTypes constant and the corresponding SignatureType type and modifying existing types to utilize these new definitions.
Enhancements to type safety and consistency:

packages/types-kit/src/types.ts: Added SignatureTypes constant and SignatureType type for improved type safety.
packages/types-kit/src/types.ts: Updated SafeMultisigConfirmationResponse to use the new SignatureType type instead of a string.

Reference to the SafeSignatureType enum in safe-eth-py and safe-transaction-service:

https://github.com/safe-global/safe-eth-py/blob/4eceab2160a72052f0a1d5efaa2af5d78f464371/safe_eth/safe/safe_signature.py#L40
https://github.com/safe-global/safe-transaction-service/blob/8fb64a47b024aecaebdf5968a56bb4df08959a91/safe_transaction_service/safe_messages/models.py#L71-L73

The tests failed because the private key was of the wrong size. I think it's because the PR is from a fork and it doesn't have access to environment variables

repo: safe-global/safe-core-sdk


text:
Testing Note Operations - [Feature]

Describe the feature request
Write unit tests for note operations for the back-end.
Tasks
Note Operations

[ ] Add note test - (CREATE)
[ ] Fetch note test - (READ)
[ ] Edit note test - (UPDATE)
[ ] Delete note test - (DELETE)

git fetch origin
git checkout 35-testing-note-operations-feature

repo: sagedemage/Notebook


text:
Improve Accuracy of the Model

Describe the enhancement
Improve the accuracy of the model. Change the epochs to 100 and the learning rate to 0.00001.

git fetch origin
git checkout 3-improve-accuracy-of-the-model


text:
Add new models for classification training

Add new classification models on single_model_dict which is in here.
Update the requirements if the library of the new model is missing from it.
Add reasons why those models are added to the PR.

Follow contributing guidelines on README.md

Hey , only the model.py page should be modified with new algorithm? If yes, please assign this issue to me. I can work on it.

I want to work on this issue under JWOC

I want to work on this issue under JWOC

@snega16 , Merged!

@VishnuBhaarath , if you want to contribute here, drop a confirmation, I'll assign you.

@VishnuBhaarath , if you want to contribute here, drop a confirmation, I'll assign you.

yeah thanks will do

I wish to contribute on this issue

If you want to contribute still then add a confirmation in the comments, I
will assign it to you
On Mon, Feb 13, 2023 at 7:26 PM ImtheDM @.***> wrote:

I wish to contribute on this issue
—
Reply to this email directly, view it on GitHub
https://github.com/sagnik1511/Tabular-AutoML/issues/7#issuecomment-1427980341,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASNH3EOZVTQKEKQ6LML47ILWXI4PLANCNFSM5MTSF66Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Please assign this issue to me.


text:
Signal differences in program return code like regular diff

It would be useful to leverage the program return code to determine whether or not inputs have differences.

Changed my mind. Removed this. You can always fail your script if there's no output.

authors: sahilm wdreeveii

repo: sahilm/yamldiff


text:
🛑 Forum Sumiswald is down

In 6ca8169, Forum Sumiswald (https://www.forum-sumiswald.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Forum Sumiswald is back up in 4ef7689 after 48 minutes.


text:
chore: add execution mode in terraform output

chore: add execution mode in terraform output

/code pr

repo: saidsef/terraform-tfe-workspaces


text:
Feature Request: Macro hotbar

hey, not really an issue, this is just something I feel it could be wonderful for my group and a lot more people I know that use this module. I was thinking if it could be possible to have more option of customization for the hotbar, such as scaling and also for who it appears. As a GM I don't use it at all and it feels like a visual pollution, my player however use it all the time. Would be great if we could hide completely per user

hi, this is a nice idea, but I am not currently working on this module very actively now, just keeping alive it's most important functions :) I welcome any code contributions of course

repo: saif-ellafi/foundryvtt-minimal-ui


text:
Adding all Xperia X, XA2 and 10 to Recovery Mode doc

Signed-off-by: Jorma Virkkunen jorma.virkkunen@jolla.com

I have added Xperia X, XA2 & 10 to the same Recovery Mode doc with Xperia 10 II & III. For this:
a) I have modified the phone preparation sections:
Setting up the Recovery Mode on the phone

Preparing Xperia 10 II or Xperia 10 III to the Recovery Mode
Preparing Xperia X, Xperia XA2 or Xperia 10 to the Recovery Mode]
Forcing the phone to the Recovery Mode

b) I have modified the "back to normal" section:
Reverting the phone back to the normal state

Reverting Xperia 10 II or Xperia 10 III to the normal mode
Reverting Xperia X, Xperia XA2 or Xperia 10 to the normal mode

c) Due to different chapter names, modified zillion cross-references inside the doc.

Done.


text:
Error at line 28 :/

com.sainttx.holograms.util.LocationUtil.stringAsLocation(LocationUtil.java:28)
i just restarted my server and this came up in console, here is the whole error below:
09.06 12:45:09 [Server] WARN [Holograms] Task #38814 for Holograms v2.2.0-SNAPSHOT generated an exception 09.06 12:45:09 [Server] INFO java.lang.NullPointerException 09.06 12:45:09 [Server] INFO at com.sainttx.holograms.util.LocationUtil.stringAsLocation(LocationUtil.java:28) ~[?:?] 09.06 12:45:09 [Server] INFO at com.sainttx.holograms.ManagerImpl.load(ManagerImpl.java:42) ~[?:?] 09.06 12:45:09 [Server] INFO at com.sainttx.holograms.HologramPlugin.lambda$onEnable$0(HologramPlugin.java:49) ~[?:?] 09.06 12:45:09 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52] 09.06 12:45:09 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]

help?

One of your holograms doesn't have a location.

authors: AFKGames zreed

repo: sainttx/Holograms


text:
Get the perfect background picture .

Proposal
Attaching with certain kind of background pictures could made it look more fascinating.
Further this kind will make it more attractive.

We had already gone through this issue at #13. Please have a look at that so that you get an idea of what we expect for the homepage. And please let us know about what image you will be using as the background before creating the PR.

Can I make some kind of background design using graphic designing technique,
And later adding it to web app.

We don't have any proper mindset on this, so leave this issue


text:
Issue with colors of legend

Hi @sairum,
Really neat tool, it is very useful but I am having issues with the colors in the legend which do not correspond to the colors I have assigned. I've attached a screenshot and the input files.
I'd be really grateful if you could help.
Thanks,
Joseph

CalssificationGroups.txt
HaplotypeGroups.txt
TCS_network.txt

Dear Joseph
I'm in a middle of an MSc course, 9-18h daily, 5 days week! It ends
tomorrow. I'll look at this as soon as possible!
Regards
Antoio
On 11/19/2015 04:21 PM, Joseph Hughes wrote:

Hi @sairum https://github.com/sairum,
Really neat tool, it is very useful but I am having issues with the
colors in the legend which do not correspond to the colors I have
assigned. I've attached a screenshot and the input files.
I'd be really grateful if you could help.
Thanks,
Joseph
screen shot 2015-11-19 at 14 29 43
https://cloud.githubusercontent.com/assets/359553/11276276/61284afa-8ed9-11e5-8ce0-d448efd6e3bf.png
CalssificationGroups.txt
https://github.com/sairum/tcsBU/files/39162/CalssificationGroups.txt
HaplotypeGroups.txt
https://github.com/sairum/tcsBU/files/39161/HaplotypeGroups.txt
TCS_network.txt
https://github.com/sairum/tcsBU/files/39166/TCS_network.txt
—
Reply to this email directly or view it on GitHub
https://github.com/sairum/tcsBU/issues/1.

Hi
A very strange bug! I still have to know what causes it. The thing is
that in your "CalssificationGroups.txt" you have
L1420;#B2DF8A
L2761;#FFD92F
L1420;#E7298A
L6273;#FDC086
L6652;#BF5B17
L9476;#7FC97F
L6292;#FC8D62
L1680;#E5D8BD
L6285;#BEBADA
L2220;#E41A1C
L9814;#80B1D3
L6285;#377EB8
L9631;#FCCDE5
L1353;#D9D9D9
Note that L1420 is repeated with two different colors (lines 1 and 3).
If you remove the first everything works as expected. I presume. But the
fact is that the interface should spot this mistakes when loading data
and it didn't! I'll look at it as soon as possible. What worries me is
that the server where the program is located is apparently down and
shouldn't be. The software was published in Bioinformatics (see early
view for citing, please!)
Regards
Antonio
On 11/19/2015 04:21 PM, Joseph Hughes wrote:

Hi @sairum https://github.com/sairum,
Really neat tool, it is very useful but I am having issues with the
colors in the legend which do not correspond to the colors I have
assigned. I've attached a screenshot and the input files.
I'd be really grateful if you could help.
Thanks,
Joseph
screen shot 2015-11-19 at 14 29 43
https://cloud.githubusercontent.com/assets/359553/11276276/61284afa-8ed9-11e5-8ce0-d448efd6e3bf.png
CalssificationGroups.txt
https://github.com/sairum/tcsBU/files/39162/CalssificationGroups.txt
HaplotypeGroups.txt
https://github.com/sairum/tcsBU/files/39161/HaplotypeGroups.txt
TCS_network.txt
https://github.com/sairum/tcsBU/files/39166/TCS_network.txt
—
Reply to this email directly or view it on GitHub
https://github.com/sairum/tcsBU/issues/1.

I've committed a fix to ignore repeated names in the Groups's classification file. Please try it with your original data (with the repeated group L1420) just to see if it works. Note that I still have to push these changes to the online version of tcsBU, but I currently I do not have access to it (it may take some days)

Hi @sairum,
Thanks for your prompt response. I have removed the duplicate Groups but I am still getting something odd happening for the legend. The attached screenshot shows that L1353 and L9631 re the wrong colors.
Let me know when you've managed to push the changes.
Cheers,
Joseph

Humm, I see. Are you using the online version or the code from github?

Hi @sairum,
It works fine now. Thanks for your help.
Joseph

authors: josephhughes sairum

repo: sairum/tcsBU


text:
Hibernate4 upgrade for Sakai 12+

Hibernate4 updates per https://github.com/ern/sakai/blob/476d3f6887897e9718e5ec92a6924d62ff72c2d7/reference/docs/Hibernate4Upgrade.md

As far as I can tell this looks good to me from a conceptual level.
I have not verified the changes are good locally.

authors: master-bob ottenhoff

repo: sakaicontrib/attendance


text:
SAK-30783 - MY PROFILE migration to Bootstrap

SAK-30840 - Profile > pictures migration to Bootstrap
SAK-30841 - Profile > Search migration to Bootstrap
SAK-30850 - Privacy migration to Bootstrap
SAK-30852 - Profile > Preferences migration to Bootstrap

Before:

After:

it looks awesome!

authors: SedueRey alejandrogj

repo: sakaiproject/sakai


text:
19.x

Hello，I am a developer ，There are   some questions  when    I   run  the  code   on  the  tomcat .
This  is   my   develope   environment  :
ToMCAT ：Apache Tomcat/9.0.24
System:  Windows 7
Java  JDK:  1.8.0_131-b11
questions:(catalina.log)
(1)[main] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file.(we   test:There  is no relative with  jars)
(2)[main] org.apache.catalina.core.StandardContext.startInternal Context [/access] startup failed due to previous errors.
we cann't  solve  above questions,so I hope others developer  can  help me .my  email adress:makunlin@fmsh.com.cn.
Best  wishes!

What are you trying to do here? You've submitted a PR to merge changes upstream from a deployment branch to the master branch. I've closed it - if you need some assistance from Sakai devs, message the Sakai dev list at https://groups.google.com/a/apereo.org/forum/#!forum/sakai-dev


text:
SAK-42864 T&Q: Able to set the fb date for before earlier than the af…

…ter date, and the student doesn't see the feedback at all

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ConfirmPublishAssessmentListener.java  2
- samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/SavePublishedSettingsListener.java  2
- samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/SaveAssessmentSettingsListener.java  2

See the complete overview on Codacy

authors: mpellicer steveswinsburg


text:
SAK-43306 Lessons: Student without submission should appear ordered a…

…nd similar as Assignments on Comments Tool

LGTM!

authors: jesusmmp mpellicer


text:
Nice app! (not an issue)

Thanks for creating this app! I love it :)
I posted this in popMODS, a channel who promotes FOSS projects.
I hope it'll bring you the deserved attention.

I often search on GitHub for "Android app stars:2..20" to see underrated Android apps.

repo: sakethpathike/Linkora


text:
Make cotire installable

I'd like to include cotire in CMake-oriented Hunter packager. See https://github.com/ruslo/hunter/pull/942.
Just download cotire.cmake from Releases works ok, but Hunter does not have any information to put it in nice "Install/cmake" or other dir.
What do you think about creating a very simple CMakeLists.txt that have only install() instruction for cotire.cmake module? The existing CMakeLists.txt would go to example/ dir.

Hey there, following up on this. Would you accept a PR, @sakra, to get this fixed?

authors: chfast kaihowl

repo: sakra/cotire


text:
Change sidebar-content code order?

Currently the sidebar-content layout has the same code order as the content-sidebar layout.
<main class="content col-sm-9 col-sm-push-3">
</main>
<aside class="sidebar col-sm-3 col-pull-9">
</aside>

The only difference between the layouts is the sidebar-content has the push and pull classes to flip the order.
For a project I am working on I needed the sidebar markup to be first, so on mobile screens the sidebar shows up before the content. With the current way it is working it would not do that because the content markup is first and the sidebar markup is second, making the content display first on mobile screens.
The biggest problem with moving the sidebar is the genesis_do_sidebar function does not remove the <aside> tags, only the inner content.
Today after lots of searching I found the genesis_get_sidebar function. With this function you can do something like this to move the whole sidebar before the content
if( 'sidebar-content' === genesis_site_layout() ) {
      remove_action( 'genesis_after_content', 'genesis_get_sidebar' );
      add_action( 'genesis_before_content', 'genesis_get_sidebar' );
}

I'm not sure if you want to move this way or not, but I thought I would bring it up as a possibility instead of floating the sidebar left. I also checked the genesis theme and they are doing the same thing as you with floating the sidebar left and content right. The main problem I have with doing it this way is I expect the sidebar to come first on the mobile view in the sidebar-content layout, but it does not because of the floats being used.

@dustyndoyle This is an interesting question.  I chose to use the push and pull classes because my instinct is that on mobile the content is the most important thing and should come first.
Sidebars are generally the same across pages and on a mobile device I want to get to the unique content as quickly as possible.  I think having the unique content come first is also be beneficial from an SEO perspective.
I can certainly imagine situations where the sidebar (whether it be left or right) would need to come before the content on mobile view but I think this is an edge case.  Thank you for posting your solution as I'm sure I'll hit this edge case at some point and knowing the solution already is awesome.
Overall, I am going to mark this wontfix and close this issue.
Thanks.

authors: dustyndoyle salcode

repo: salcode/bootstrap-genesis


text:
@W-13596942 fix for readonly gold files in core

Gold files in core are read only. This is to fix java.io.FileNotFoundException: goldfiles/FormulaFields/testBR.xml (Permission denied) in core.

This is not needed.

repo: salesforce/formula-engine


text:
RFC: Shadow DOM migration mode

Rendered

I'm very supportive of this proposal. I do want to see more details about what is going to be copied, and when?

@caridy Right now, the PoC just uses a single constructable stylesheet object, injected into each shadow root once, which is then updated whenever the <head> changes by concatenating all the styles into it.
We can revisit this to try to find the right perf balance – I haven't done extensive benchmarking because I'm just trying to prove the concept.

repo: salesforce/lwc-rfcs


text:
issue with case-sensitivity

We were hunting down a missing file after the import:
The CL's action is "branch". Within the CL, all files have integrate as the action. Except one, which has the action "branch".
After the import, we found that the file that has "branch" as the action is missing from the git repo.
p4-fusion is a godsend by the way. Thanks for open-sourcing this tool!
version: 1.10

It doesn't seem immediately apparent on why this file action type is being excluded. The only case where we have special behaviour in p4-fusion is when the file type itself is binary. We don't have any special conditions for branched files.

Could you check if the file had any changes in it done as a part of this CL?

Perforce can add files to a CL without ever making any changes to it, and so sometimes the file would appear in p4 describe -s CL but it wouldn't appear in the Git repo generated by p4-fusion because Git will only record changes in the CL if the file contents have actually changed.

Are you using the same user across p4-fusion and P4V?

I think this has to do with case-sensitivity. I should mention that this is a Windows-only project.
We found another merge CL with the same issue, and upon investigation the root cause is more apparent. In the problematic merge CLs, the missing files have different casing on the depot path:

File
Revision
Action
IIn Folder

foo.txt
4
integrate
//depot/Branch-Name/sub/dir

missing.txt
1
branch
//depot/branch-name/sub/dir

It would seem that during a merge, the casing of a depot path can be changed (or maybe the file was already in a different case  from the source branch). Perforce then mark these files with "branch" as the action.
While file paths are case-sensitive in the Perforce backend, this is invisible to the user on Windows. If you sync down //depot/Branch-Name/... both foo.txt and missing.txt would be sync'd.
On the other end, p4-fusion's --path is case sensitive (or maybe it's because it's a Linux-only tool). My guess is that since I passed //depot/Branch-Name/... to --path, and because missing.txt is technically not under //depot/Branch-Name, p4-fusion would then skip this file.

This probably needs more research into how some of the Perforce APIs that we call into support case insensitivity. I think we can add a flag for it in p4-fusion but needs to be throughly tested

Looks like this might need an extra bit of MapApi.SetCaseSensitivity in the client mapping.

If the file in quesiton is being returned as a part of the p4 describe output of a particular CL, it might get culled due to the first boolean filter here:
https://github.com/salesforce/p4-fusion/blob/3ee482466464c18e6a635ff4f09cd75a2e1bfe0f/p4-fusion/commands/change_list.cc#L66
And this function is kind of stupid actually:
https://github.com/salesforce/p4-fusion/blob/3ee482466464c18e6a635ff4f09cd75a2e1bfe0f/p4-fusion/p4_api.cc#L98
Doesn't seem to be case-sensitive and only checks if the depot path (provided as --path) is present char-for-char in the file's path.
However, MapApi.SetCaseSensitivity might still be needed somewhere as @groboclown recommends since the client specs might still want to match with such a file path that only differs in its case.

It might occur that removing the call to IsFileUnderDepotPath() and instead just relying on the client spec to perform the culling is all that's needed:
https://github.com/salesforce/p4-fusion/blob/3ee482466464c18e6a635ff4f09cd75a2e1bfe0f/p4-fusion/commands/change_list.cc#L67
But the GitAPI will still need to find a way to handle case-insensitivity

We should be able to set core.ignorecase using this libgit2 function - https://libgit2.org/libgit2/#HEAD/group/repository/git_repository_config

Further Perforce documentation on its nuances of case-sensitivity: https://portal.perforce.com/s/article/3081
It'd be great if p4-fusion had an arg for case sensitivity, or could extract this information from the Perforce server, ex. via p4 info?

authors: groboclown marcleblanc2 twarit-waikar yukwunhang


text:
🛑 DIGG webbriktlinjer is down

In 24b7bd8, DIGG webbriktlinjer (https://webbriktlinjer.se/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DIGG webbriktlinjer is back up in a5958cd after 1 hour, 53 minutes.


text:
🛑 Blog is down

In 6b2d3de, Blog (https://saltbo.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in b1dffeb after 7 minutes.

repo: saltbo/status