text:
Token Stealer

Yup it's a stealer. In networking (on a dummy account) it sent the account token.actv to some webhook. It's not a discord webhook but it's a localhostSender webhook.

YES! Warning:
I used this, and it is most definitely a token stealer. It didn't work, and the console errors starting flooding, hundreds by the second. I then saw this, and realized what happened. As quickly as possible, I changed my password and email, and verified that email. However, when I tried to change my email, it logged me out and when I tried to log back in again, it said there was no account associated with that email. After a minute of trying whatever I could, using my username instead of my email worked. I then changed my email, verified it, and changed the password another two times. I'm not sure if it can still log the tokens up to date (like it logs every time I use duolingo), but I hope I'm good. I tried researching this but, as expected, no one actually tries to steal duolingo tokens, so nothing useful came up. However, I know changing your password changes the token, so I hope I fixed it.

i deleted my account cus i was testing it. i also gave ita  random password.

lol what?? no evidence

In fact, I dare you to send me proof, under Allah I promise to post it and apologize for said accusation if you give me proof and it's actually correct, send it to me on my Twitter. I'd like ANY suitable proof, like an HTTP(S) dump showcasing such a thing, or a log that shows this (with evidence it's from one of my codes), or the de-obfuscated code to prove such 'stealer' activities. This only utilizes Duolingo's in-built functions and nothing else, no other external thing.
I'd also like to note that 'errors' come from UI changes within Duolingo, so fetching web hook functions have changed, it's really not that hard to figure out.
I don't know if you're just a Russophobe or a troll but what a dumb accusation.
Glory to stupidity I guess.

How I have been using rxzyx's hacks for years now.
I trust his hacks.

authors: An-Untitled-Developer JSic123 Scriptonotics Slept66 pmzxyx rxzyx

repo: rxzyx/Duolingo-Hacks


text:
🛑 yidiankuaile is down

In 886c3fb, yidiankuaile (https://www.yidiankuaile.com) was down:

HTTP code: 502
Response time: 683 ms

Resolved: yidiankuaile is back up in 3c34ce1.

source: gharchive/issue

repo: ryanlid/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
Justified Attributed String

Hi Ryan :)
Thank you for all of your respones. This is my last challange that I am currently working on. I am a bit confused about how to solve.
The getText function returns an AttributedString. In the sentense I am passing it has some couple of words that are in a different language so its using its own font with a different color. In a normal SwiftUI Text view my AttributedString appears correctly.
I understand why the attributes get lost as I am converting the attributed string back to a string to extract the words but how can I maintain the attributes for every word?  Thanks.
I think its probablly this line it needs to return an AttributedString !
let words = Array(text.string.split(separator: " ").map(String.init).enumerated())
extension AttributedString {
    var string: String {
        String(self.characters)
    }
}

    @ViewBuilder
    func justifiedItem(_ item: TextItem, _ language: LanguageType) -> some View {
        if let text = viewModel.getText(item, language) {
            let words = Array(text.string.split(separator: " ").map(String.init).enumerated())
                HFlowLayout(alignment: .justified) {
                    ForEach(words, id: \.offset) { word in
                        Text(word.element)
                            .foregroundColor(viewModel.color(item))
                            .font(Font(viewModel.font(item, language)))
                    }
                }
        }
    }

Nevermind. It was some NSAttributedString manipulation. Thank you :)

repo: ryanlintott/FrameUp


text:
Evaluate all entries for polynomial basis functions in h_eval

The current behavior of h_eval is to only evaluate entries
where the newx point is greater than the knot t_k for the kth
basis function.  This makes sense for the FF basis functions,
but the polynomial basis functions are nonzero for x < t_k
(except at the design points, which are roots).
Will merge this after merging #2

Thanks! Lmk when his is ready, it's still marked as draft?
I guess ideally you should add a test to confirm this does the right thing (as the existing test suite missed this ....)

source: gharchive/pull-request

authors: huisaddison ryantibs

repo: ryantibs/dspline


text:
Problem building the docs

I tried following the instructions on: https://ryantm.github.io/mmdoc/contributing/#contributing
the nix build command worked as far as I can see. The shell commands to build and continuously build didn't work - details below.
❯ pwd
/home/i97henka/github/ryantm-mmdoc
❯ ls
LICENSE  README.md  contrib  doc  flake.lock  flake.nix  meson.build  pkgs  result  src  test
❯ nix build
❯ nix shell -c doc-build
error: unable to execute 'doc-build': No such file or directory
❯ nix shell -c doc-watch
error: unable to execute 'doc-watch': No such file or directory
I haven't got much experience with nix or nix flakes, but I believe my machine is working as it should in terms of nix in general.

Hi, glad to see your interest in this! Sorry for the long reply time.
Try
nix develop --command "doc-watch"

instead.

Addressed in https://github.com/ryantm/mmdoc/commit/9c320899101f47023fc2006ae08b8a7b3889efb9

Tested the command and it works well - when I navigate to localhost:8000 I get this menu structure - and under there the different types of the documentation generation can be accessed.

Looks as expected!

authors: henrik-ch ryantm

repo: ryantm/mmdoc


text:
Added HTML Templates

Main template, analzyed.html, error.html

Add comments


text:
nextcloud-client only able to start in foreground

Is there an easy way to start the nextcloud client in the background, i.e. by supplying the --background flag to the executable that is started by the service? Or should I write my own nextcloud client service in this case? My desktop environment doesn't have system tray support and the client pops up with a window after every login.

I think you should be able to force the use of --background by adding
systemd.user.services.nextcloud-client.Service.ExecStart =
   lib.mkForce "${pkgs.nextcloud-client}/bin/nextcloud --background"

to your configuration.
If this option is generally useful then feel free to create a PR that adds an option for it in the module.

Thank you, that solved it for me :)
I guess most users that use Nextcloud would want the icon to be displayed.. Will create a PR though when I find the time.

authors: MaxSchlueter rycee

repo: rycee/home-manager

license: mit

license_source: bigquery


text:
Unable to use public static final String from @UtilityClass and @FieldDefaults(makeFinal = true, level = AccessLevel.PUBLIC) annotated class inside an annotation

I have the following class:
@UtilityClass
@FieldDefaults(makeFinal = true, level = AccessLevel.PUBLIC)
public class MyUtilClass {
	String MY_PSF_STRING= "SomeString";
}

And I am trying to use it in a different class:
public interface MyOtherClass {
	@SomeAnnotation(someString = MyUtilClass.MY_PSF_STRING + "stringPostfix")
	SomeResult someMethod(SomeInput someInput);
}

If I don't use the lombok annotations and define MY_PSF_STRING to be public static final, I don't get any errors, but when I do use the @UtilityClass and @FieldDefaults annotation, then I get the following errors:
Error:(<line>,<col>) java: non-static variable MY_PSF_STRING cannot be referenced from a static context
Error:(<line>,<col>) java: element value must be a constant expression

So it seems that the compiler doesn't know it is static (which it should be with @UtilityClass) or that it is final (which it should be with @FieldDefaults(makeFinal = true, ...))

I suspect that it has something to do with the order in which the annotations are evaluated, but I don't know enough about the internals of the compiler and lombok to know for sure.

I also tried with the delombok plugin (when making lombok generate soutces from src/main/java) and I have the same issue during the delombok phase.

This is a well-known unsolvable bug, duplicate of https://github.com/rzwitserloot/lombok/issues/2044#issuecomment-464897006.

I am not using any static imports though, so I believe that this is a different bug than the one that you linked to.

Could it be that while lombok annotations make the field public static and final at runtime, that those fields aren't yet static and final at compile time?
This in turn could trip the non-static non-final protection on annotation values, since they are evaluated and simplified during the compile process.

Yes, well.
If you read that comment that @Maartinus refers to, this seems very much
related to the static imports issue.
As in, it is very likely that this error occurs before lombok gets a
chance to run and fix up the types, and therefore unfixable by lombok
itself.
On Mon, May 11, 2020 at 1:23 AM CC007 notifications@github.com wrote:

Could it be that while lombok annotations make the field public static and
final at runtime, that those fields aren't yet static and final at compile
time?
This in turn could trip the non-static non-final protection on annotation
values, since they are evaluated and simplified during the compile process.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2456#issuecomment-626405644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERN7OLW5S6PARMRDPYDRQ4ZPBANCNFSM4M3OJHAQ
.

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven

This could indeed be the case, but I haven't done any analysis of the lombok source code and how it hooks into the compiler to verify this. I think that one of the lombok devs is needed to get an answer whether this specific case is fixable or if it indeed falls in the same category as the static import issue.

I think this one is a duplicate of #1380 and #1287.

#1287 is indeed the same error. Thanks for helping me find that issue. I have one thing to add to that though: using only one of the two annotations also causes issues.

repo: rzwitserloot/lombok


text:
Won't display any bereals

Upon accessing no bereals are showing- keeps showing "error" message.

same - bereal changed something again..

looking into

updated based on befake issue thread

authors: CyberTimon lp9707 s-alad

repo: s-alad/toofake


text:
Email alerts to Instructor and Advisor

Periodic email alerts for instructor and advisor to approve requests

Don't make this periodic. Instead provide a trigger on DCC chair's page.

Waiting for the DCC chair page (issue #17) to be completely checked into integrate this feature on DCC chair's page.
Currently the set up seems to be broken due to views/dcc.py that wasn't checked in.

Checked in the changes to send the email alerts. Could add real users(with valid mail-ids) to the portal to test out this feature.

repo: s-gv/bheemboy


text:
Cant't download website with fontawesome

I try to download Fontawesome.com for example. But I got errors:
Failed to load resource: net::ERR_FILE_NOT_FOUND fontawesome-webfont.woff
Failed to load resource: net::ERR_FILE_NOT_FOUND fontawesome-webfont.ttf

ETC...

Hi @anstak
Could you please provide steps to reproduce and full options object that you use?
Thanks

Hi @s0ph1e
I tested with parameters:
var options = {
	urls: ["http://fontawesome.io"],
	directory: folder,
	recursive: true,
	maxDepth: 1,
	urlFilter: function(url){ return url.indexOf("http://fontawesome.io") === 0; }
};

It is not download fonts.
BUT if I set maxDepth: 2  - it is working!
I think its some kind of bug, becouse I want to set maxDepth = 1...

it happens because now maxDepth is applied to all types of resources - fonts, styles, images, etc.
I think it can be improved by using depth only for links. Will do that when I have some free time

I see... I think better to download all links inside css files!

Starting from version 2.4.0 you can use option maxRecusriveDepth to limit depth only for hyperlinks, other resources will be downloaded regardless of their depth.


text:
Heading on Front Page

On the front page of the site  ( sbuttons.netlify.app/) the line  "Simple and Creative buttons with sButtons." is underlined. People's general mentality is that if something is underlined it must be some kind of hyperlink it will be better if we just remove the underline and make the heading more stylish. That will make it more  user friendly

Hmm I get what you are saying. Do you have any style in mind? If so, please let me know so I can assign you the issue and you can submit a PR with it.

I came up with this style . Its looks simple and shower,  I tried to match the color of text with the site logo if you have any preferences for color let me know

Looks nice. Please submit a PR with it.

hi @aviral14112001 any update on this?

I will submit  PR today,  due to college  work I was very  busy  in last  few days

repo: sButtons/sbuttons


text:
[WIP] Add Profile page

Struggling to set up props for my input fields. Haven't wrapped my head around how to do it in TS without getting 'react/destructuring-assignment' issues. Temporarily disabled ESLint error in 'InputField.tsx' to let me commit my changes..

This branch and PR includes the commits from the 'feature/update-styling-recipe-list' branch.

Struggling to set up props for my input fields. Haven't wrapped my head around how to do it in TS without getting 'react/destructuring-assignment' issues. Temporarily disabled ESLint error in 'InputField.tsx' to let me commit my changes..

The eslint rules are quite strict :D Sometimes it makes sense to just disable them, but in this case I'd suggest the following:
You can destructure the props like this:
const InputField = ({ title, fieldInput }: TestInterface) => {
and then use title and fieldInput instead of props.title and props.fieldInput.
Check out this article: https://medium.com/@lcriswell/destructuring-props-in-react-b1c295005ce0


text:
Drop support for older PHP versions

I propose this library drops support for older PHP versions so it can use newer PHP features.
According to https://www.php.net/supported-versions.php, PHP 7.2 recently reached its end of life. So I propose to drop support for all PHP versions < 7.2.
(We then can use Rector to upgrade the code accordingly.)
What do you think?

And in https://github.com/MyIntervals/emogrifier, we'd like to use this library. Our next major release will still support PHP 7.2, so PHP-CSS-Parser still supporting PHP 7.2 will be helpful.

As I commented at https://github.com/sabberworm/PHP-CSS-Parser/pull/206#issuecomment-822665064, updating the PHP requirement detrimental for WordPress which still supports PHP 5.6. If PHPDoc can be used until WordPress increases the minimum, this would be ideal. Otherwise, the dozens of WordPress plugins that use PHP-CSS-Parser would be forced to fork the package.

Then I propose we start with raising the minimum required PHP version to 5.6. What do you think?

authors: oliverklee westonruter

repo: sabberworm/PHP-CSS-Parser


text:
separate carousel media into separate object

Motivation
Follow-up to PR #201.
We should separate carousel media into its
own object and serialize/deserialize only the properties contained
in the "carousel_media" schema:

type
images
videos
users_in_photo

Solution
Created CarouselMedia to hold both "images" and "videos". The "type"
field is used to differentiate "image" from "video". This approach
was chosen for its flexibility and simplicity.

Changes Unknown when pulling 08b353c3a2755f1ffa83745a56cfb82378f14db6 on abargnesi:improve-carousel-media-model into ** on sachin-handiekar:master**.

@jcodagnone what do you think?

Sounds good!

authors: abargnesi coveralls jcodagnone

repo: sachin-handiekar/jInstagram


text:
The operation of a neural network on a single board computer (Raspberry, Odroid etc.)

Hello, @sacmehta!
I've one more question.
Have you tried to run your neural network architecture on embedded platforms? Under the embedded platform, I mean Raspberry Pi, Orange Pi, Odroid and others. If so, what results did you get on the speed of work (FPS)? If you did not run, why? Do you think this neural network will work on these platforms? If so, how do I run ESPNet on such a platform?
At the moment, I managed to run ENet on a single-board Odroid computer, the speed of work was 3 FPS. I'm counting on the fact that your architecture will work faster. Thank you!

I have not tried running on these platforms, but any architecture should work.
Instead of using a PyTorch, you should use Caffe2 which is much more optimized. See below link for more details.
https://pytorch.org/tutorials/advanced/super_resolution_with_caffe2.html

I compiled Pytorch 0.3.0 on a single-board computer. When trying to start test of a neural network, an error occurs:
AssertionError: Torch not compiled with CUDA enabled
When I run test the gpu parameter was set to False.

@DenisN03 Seem you don’t use cuda pytorch

repo: sacmehta/ESPNet


text:
Escape sequences not working

Nice tool!
Escape sequences do not work on my machine.  Sample output:
ESC[1mSargans ⇒ Zürich HBESC[0m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#1: 21:27 - 22:22, Leaves in  00:17

ESC[44;37m 21:27: Sargans                                         2   ESC[0m
ESC[36m   ┃
ESC[0mESC[44;37m 22:22: Zürich HB                                       6   ESC[0m

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#2: 21:35 - 22:48, Leaves in  00:25

ESC[44;37m 21:35: Sargans                                         2   ESC[0m
ESC[36m   ┃
ESC[0mESC[44;37m 22:48: Zürich HB                                       8   ESC[0m

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

No idea, whether it's a question of the console the shell or whatever...
I'm on Linux in a KDE konsole. Installed v0.1.2 with cargo install.

I suspect this might be an issue with the pager. I removed paging in the latest version (0.1.3) that I just pushed to crates, does upgrading the package solve your issue? Otherwise you could try setting your $PAGER to more and see if that helps.

In v0.1.4, the problem is solved, thanks!

authors: pka sacovo

repo: sacovo/public-transport-cli


text:
Update index.pug

That's it for now! Next time be careful!

Huh!


text:
Remove Sepolia from relay tests

This removes Sepolia from the relay tests as only >=1.3.0 contracts are deployed there.

Pull Request Test Coverage Report for Build 7991946496
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on remove-sepolia-relay-tests at 93.697%

Totals

Change from base Build 7991821797:
93.7%

Covered Lines:
6120

Relevant Lines:
6319

💛  - Coveralls

authors: coveralls iamacook

repo: safe-global/safe-client-gateway


text:
Make possible to provide the env file pathes in the Makefile.toml

Features Description
Make possible to provide the env file path (--env-file) in the Makefile.toml.
Describe the solution you'd like
Now, when you use --env-file, you need to call cargo make like this:
cargo make --env-file=./env/dev1.env dev

but it would be cool if you could provide the env file pathes in the Makefile.toml,
Code Sample
(for example, but can be implemented differently)
[tasks.dev]
description = "Big dev task ..."
command = "cargo"
args = ["run"]

[tasks.test]
description = "Big test task ..."
command = "cargo"
args = ["test"]

[env-files]
dev = ["./env/dev1.env", "./env/dev2.env"]
test = "./env/test.env"

then just run cargo make dev or cargo make test and all env-files will be attached automatically.

nice, few questions:

test = "./env/test.env" - what is test? is that like a profile name, so only for test profile we will load the file? because per your example its the task name which seems a bit strange.
env-files will be loaded before the env block (same as cli env files defined). hope it makes sense.
how about this instead:

env-files = [
 "./myfile.env",
 "${HOME}/anotherfile.env",
 { file = "dev1.env", profile = "dev" },
 { file = "dev2.env", profile = "dev" },
 { file = "test.env", profile = "test" },
]

few things about this example:

env files is a list
we support env expansion
we can load files per profile is relevant, not per task
env-files is global key meaning loaded when cargo-make boots and task key meaning loaded when a task is invoked (this allows you to define it per task as per original request)

would this fit your needs?

Your solution with profiles in parentheses is good but maybe it would be better to make it like [env]?
For example following code:
[tasks.dev]
description = "Big dev task ..."
command = "cargo"
args = ["run"]
[tasks.dev.env]
DEV1_ENV = false
DEV2_ENV = true

will work same as:
[tasks.dev]
description = "Big dev task ..."
command = "cargo"
args = ["run"]
env-files = [
  "./dev1.env",
  "${HOME}/dev2.env",
]

with corresponding env files.
And if somebody will want to add global env file something like this:
[env]
DEV3_ENV = "yes"
env-files = [
  "./dev1.env",
  "${HOME}/dev2.env",
]

[tasks.dev]
description = "Big dev task ..."
command = "cargo"
args = ["run"]

just that i'm clear on your solution, basically you are saying to expand the capabilities of env block and have in it a new keyword env-files.
right now env keywords are the actual env keys or profile names that hold a sub env block (although you can override it by doing someprofile=somevalue instead of a block in your makefile).
if i understood correctly, the problem here
[env]
env-files = [
  "./dev1.env",
  "${HOME}/dev2.env",
]

is that you are blocking env-files from being an env var key without the ability to override that behaviour.
meaning, cargo-make will never enable you to define an env var with key env-files.
that's why i was ok with a new env type block as suggested called [env-files] which lives in parallel to [env]
i'm open for suggestions on how to make it simpler.
as for the task example you gave:
[tasks.dev]
env-files = [
  "./dev1.env",
  "${HOME}/dev2.env",
]

it is what i meant in my original post:

and task key meaning loaded when a task is invoked (this allows you to define it per task as per original request)

so i think we are fine with that.
but if you look, here in your example, the attribute is env-files and not env so there is no conflict.

@olvyko and @enfipy this feature is now available in the 0.24.0 development branch.
you can try it out and provide feedback before it goes to official release.
The documentation is here: https://github.com/sagiegurari/cargo-make/tree/0.24.0#usage-env-file

this is no published officially in 0.24.0 release.

authors: enfipy olvyko sagiegurari

repo: sagiegurari/cargo-make


text:
ユーザー画面word-breakが死んでる（多分）

ブラウザ
Chrome v52
デスクトップ版 or モバイル版
ですくとっぷ
問題の詳細

word-breakはあるっぽいが内容によって挙動が違う
「あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ」だとしっかり改行される
「！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！」だと死ぬ
「aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa」でも死ぬ
max-widthが記述になさそうなのが原因かもしれない

repo: sagume/Misskey-Web


text:
🛑 Evvara Canada is down

In 7e7ee4f, Evvara Canada (https://evvara.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Evvara Canada is back up in 3da3ed3.

repo: sahajananddigital/status


text:
[Feature Request] API only option

While fantastic already, sometime an API-only project comes along. Having the option to go:

Node
Express/Meteor

without:

CSS Framework
CSS Preprocessor
Javascript Framework
Template Engine

But that right before the CSS Framework allows me to pick between:

Frontend
REST/JSON API only

Why include this option?
While it's nice to have an all-in-one package, when you're creating an API that will be visible from web, a mobile app and electron, having a decentralized api at api.mydomain.tld makes more sense.
That being said, when the Electron option for Megaboilerplate becomes available this might be a greater requirement. That being said, making the distinction between 'Static Site' and 'Single Page Webapp' might be another great addition but that is outside of the scope of this request.

I believe the following depencies should be removed in the case of an API only option:
"express-flash": "0.0.2",
"jade": "^1.11.0",

repo: sahat/megaboilerplate


text:
I can't run this, it shows me an error

Hi, I have an issue with this.
When I click on your home page Login goes to this page and show me this social buttons, but when I downloaded .zip and try it show me an error Forbidden You don't have permission to access / on this server, but look my Set Permissions and they are all check. I can't run this at all! I try to run examples/client/index.html it is the same home page I hope.
Can you help me, thank you.

Download the project.
Run npm install inside the project directory.
Run gulp as well.
Launch mongod monogdb database server.
Run npm start in the project directory.

authors: onlinepch sahat

repo: sahat/satellizer


text:
Create Issue by Python

Run :-
python create_issue.py <repo_owner> <repo_name> <issue_title> <issue_description>
#58

@sahil-sagwekar2652 Appologies for this token part. I miss the headers part in this code.
headers = {
'Authorization': f'token {token}',
'Accept': 'application/vnd.github.v3+json'
}
Thanks for review my code and tell me about my mistake.


text:
🛑 Forum Sumiswald is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Forum Sumiswald is back up in 5a0af73 after 12 minutes.


text:
支持图片压缩吗

比如裁剪的图片结果是2000x2000, 但是我上传的图片只需要200x200

这个需要自行处理

authors: badboy-tian sahooz

repo: sahooz/oh-crop


text:
Remove the deprecated method DatastoreAccess#execute(Class expectedResultType, QueryRequest request)

This method was deprecated right after version 0.1.0. Time to get rid of it.

Done. Breaks backward compatibility, if anyone is still using the deprecated method. Document this fact in the release notes.

repo: sai-pullabhotla/catatumbo


text:
TypeScript type declaration file

If you want I can write a TypeScript type declaration file for this package so that TS developers can utilise the type-checking feature of the language as they use this package. Let me know if you are interested.

@geopic, Please add. I appreciate your contribution.

I'll get started on it now then.

authors: geopic saibabanadh

repo: saibabanadh/print-bst


text:
[HPM] Error occurred while trying to proxy request / from localhost:3000 to http://localhost:8080 on fresh Debian Stretch 4.8.0 install

When running npm run dev after npm install I expect to navigate to localhost:3000 and see the starter page, instead I see Error occured while trying to proxy to: localhost:3000/ and in logs
10:44:07 PM webpack.1 |  [HPM] Error occurred while trying to proxy request /favicon.ico from localhost:3000 to http://localhost:8080 (ECONNREFUSED) (https:
10:44:07 PM webpack.1 |  >  //nodejs.org/api/errors.html#errors_common_system_errors)

Maybe this is some conflicting port but I don't see how, I don't have any other things running on that port.

That seems like your app server is not starting up at localhost:8080.  Can you paste the full logs?

Here's a huge log file, most of it is built notifications but I figured it'd be prudent since you said

full logs

https://gist.github.com/kfrz/0bd23e0d0bf23f329fb9f43e7d800722
Thanks for any help :) I'm quite new to this ecosystem, I realize this is probably a simple issue.

@kfrz - change the port from 8080 to something else (I just did 8090) your local .env file (here https://github.com/saikat/react-apollo-starter-kit/blob/master/.env#L2).
I think port 8080 is just conflicting with something else running on my machine, probably the same for you.

@saikat no necesarilly, it s just common bug in error log. I tried to proxy from 9000, to 8081 and saw the same error saying it can not proxy to 9000... makes no sense.
You probably need to rewrite your webpack proxy config:
replace localhost with [::1].
like so: 'http://[::1]:3000'
this works for me:
devServer: {
  proxy: {
    "*": "http://[::1]:8081"
    // "secure": false,
    // "changeOrigin": true
  }
},

one wildcard, or double, with 'secure' or 'changeOrigin' - doesnt matter. [::1] is the game changer.
Wider discussion and more options here:
https://github.com/webpack/webpack-dev-server/issues/793
Good luck!

where can I change the value from localhost to [::1]? can you provide the path to the file? @jellyfish-tom

@jellyfish-tom , do you know what the path is to access that file so I can make the edit and see if it works? Thanks

@rkHPE1 path depends on your project structure. My guess would be in the root directory of your project. file should be named webpack.config.js
If not there, just search for it;)

proxyTable: {
'/goods': {
target: 'http://localhost:3000'
}
},
我的也出现了这样的情况，该怎么改呢

Me too, sometime happens ,what i can dooo?

@BooMiny 他的意思是把http://localhost:3000改成http://[::1]:3000，但是我试了并没有用，还是会报错

you can remove the  start script from package.json and then restart

Got similar Isue.
The problem was that server was runnig on ipv6 and proxy was connecting to ipv4

change localhost to 127.0.0.1 can change this issue

{
"/api": {
"target": "https://localhost:12345",
"secure": false,
"changeOrigin": true
}

I can just kiss you right now

When running npm run dev after npm install I expect to navigate to localhost:3000 and see the starter page, instead I see Error occured while trying to proxy to: localhost:3000/ and in logs
10:44:07 PM webpack.1 |  [HPM] Error occurred while trying to proxy request /favicon.ico from localhost:3000 to http://localhost:8080 (ECONNREFUSED) (https:
10:44:07 PM webpack.1 |  >  //nodejs.org/api/errors.html#errors_common_system_errors)
``

have you solved the error if solved can you paste the solution please

Please make sure you have the following configuration in you hosts file:
127.0.0.1 localhost
You can find the hosts file in /etc/hosts in linux and macos system and C:\Windows\System32\drivers\etc in windows

@jellyfish-tom : Man you rocks ...

Thanks @flyxl that was a good solution, it doesn't need to change app configuration. I got this error after installing qlike view and nextvpn.

I meet [HPM] Error occurred while trying to proxy request just today.finally solve it.
Scene:
Yesterday, VueProject worked well. Git checkout back to some week ago, still didn't work( Used to be working well ).
Until this step save me:
1: sudo vim /etc/hosts && 127.0.0.1   test.company.com # any host is available
2: edit VueProject / config / index.js - proxyTable: {
  '/api': {
    target: 'http://text.company.com:${your server port}',
    secure: false,
    changeOrigin: false,
    pathRewrite: {
      '/api': '/'
    }
  }
}
3: edit VueProject / config / index.js - dev: {
  host: 'test.company.com'
}

maybe this will help someone.

`

[ ]

``

- ### ### ### dlkgnj;sdof
`

dafsdf

what are the effects of setting secure to false "secure": false,

Yes, the [::1]:8080 is the gist of it. Not even pathRewrite can do it.

I have the same issue, and I none of these solutions work. Here's my proxy:
{
  "*": {
    "target": "[::1]:8080/",
    "secure": true,
    "logLevel": "debug",
    "changeOrigin": true,
    "headers": {
      "Connection": "keep-alive"
    },
    "pathRewrite": { "^/*": "" }
  }
}

我今天也遇到这个问题，我的vue代码在另外一台电脑上是能正常运行的。 两台电脑的代码是一样的。配置也是一样的。
dev: {
### ...
// Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
}
我把端口8080 改成 8081就好了。

In my own case I discover that the service is not running on the specific port.
Check and make sure that the two localhost are running simultaneously.
I was able to solve mine by making sure that my localhost:4000 and  http://localhost:3000 is running with the same service. That solved my problem

@saikat no necesarilly, it s just common bug in error log. I tried to proxy from 9000, to 8081 and saw the same error saying it can not proxy to 9000... makes no sense.
You probably need to rewrite your webpack proxy config:
replace localhost with [::1].
like so: 'http://[::1]:3000'
this works for me:
below code comes from webpack configuration file - section devSever (as seen below)
https://webpack.github.io/docs/webpack-dev-server.html#proxy
devServer: {
  proxy: {
    "*": "http://[::1]:8081"
    // "secure": false,
    // "changeOrigin": true
  }
},

one wildcard, or double, with 'secure' or 'changeOrigin' - doesnt matter. [::1] is the game changer.
Wider discussion and more options here:
webpack/webpack-dev-server#793
Good luck!

Perfect. Also make sure that your server is running on the required port. In my case, I did this configuration, but I didn't start the server and so it was giving ERR_CONNECTION_REFUSED.
I went to dist folder and ran the server from there, as I am using Angular Universal and I don't have server.js in my root folder.

In my own case I discover that the service is not running on the specific port.
Check and make sure that the two localhost are running simultaneously.
I was able to solve mine by making sure that my localhost:4000 and http://localhost:3000 is running with the same service. That solved my problem

how did you do that

@saikat no necesarilly, it s just common bug in error log. I tried to proxy from 9000, to 8081 and saw the same error saying it can not proxy to 9000... makes no sense.
You probably need to rewrite your webpack proxy config:
replace localhost with [::1].
like so: 'http://[::1]:3000'
this works for me:
below code comes from webpack configuration file - section devSever (as seen below)
https://webpack.github.io/docs/webpack-dev-server.html#proxy
devServer: {
  proxy: {
    "*": "http://[::1]:8081"
    // "secure": false,
    // "changeOrigin": true
  }
},

one wildcard, or double, with 'secure' or 'changeOrigin' - doesnt matter. [::1] is the game changer.
Wider discussion and more options here:
webpack/webpack-dev-server#793
Good luck!

It Worked finally after two days!!!
Thank you so much!

Please make sure you have the following configuration in you hosts file:
127.0.0.1 localhost
You can find the hosts file in /etc/hosts in linux and macos system and C:\Windows\System32\drivers\etc in windows

this is useful for me

For me the problem was the HTTPS, not HTTP, and worked with changeOrigin, solve it like this:
{
"/api": {
"target": "https://localhost:12345",
"secure": false,
"changeOrigin": true
}
}

Thanks!! Been scratching my head for the past few hours.

Also if You using docker and app communicate between each other
**container_name:** node-api
{
"/api/*": {
"target": "http://node-api:3000/",
"secure": false,
"changeOrigin": true
}
}

For me the problem was the HTTPS, not HTTP, and worked with changeOrigin, solve it like this:
{
"/api": {
"target": "https://localhost:12345",
"secure": false,
"changeOrigin": true
}
}

thx

[HPM] Error occurred while trying to proxy request /auth/user/postUserAuth from localhost:8080 to https://[::1]:3000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
proxyTable: {
'/auth':{
target: 'https://[::1]:3000',
changeOrigin: true
},
'/color':{
target: 'http://127.0.0.1:3000',
changeOrigin: true
},
'/project':{
target: 'http://127.0.0.1:3000',
changeOrigin: true
}
Failed to load resource: the server responded with a status of 504 (Gateway Timeout
who can help me ,thanks

You need to run two bashes terminal.
The first terminal with "npm run server" and the second terminal with "npm start.
This work well for me.

thank you I have solved it ------------------ 原始邮件 ------------------
@.>
发送时间: 2021年4月14日(星期三) 中午12:21
@.>;
@.@.>;
主题: Re: [saikat/react-apollo-starter-kit] [HPM] Error occurred while trying to proxy request / from localhost:3000 to http://localhost:8080 on fresh Debian Stretch 4.8.0 install (#20)

      "/api": {
        target: "http://test.example.com",    // good: You have to bring http
        // target: "test.example.com",    // bad: only host
        ws: true,
        secure: false,
        changeOrigin: true,
        pathRewrite: {
          "^/api": ""
        }
      },

for my case, the target url is blocked by internet provider.

I fixed this by replacing localhost with 0.0.0.0.

{
"/api": {
"target": "https://localhost:12345",
"secure": false,
"changeOrigin": true
}

I can just kiss you right now

omg, thank u so mach, I didnt know that secure option.
and i add it, then it works!!!

change localhost to 127.0.0.1 can change this issue

amazing and simple.  I wonder why this is the case. I will check my /etc/hosts file.

Hi ,
i am getting same issue ,my local server is up.
[webpack-dev-server] [HPM] Error occurred while proxying request localhost:4200/api/upload to localhost:8080/ [ENOTFOUND] (https://nodejs.org/api/errors.html#errors_common_system_errors)
this is my proxy file
{
"/api": {
"target": "localhost:8080/",
"secure": false,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {"^/api" : ""}
}
}
Please help me, Thanks .

I had the same issue when running a react app, check your server address and make sure the proxy is pointed to the right server address.

For me the problem was the HTTPS, not HTTP, and worked with changeOrigin, solve it like this:
{ "/api": { "target": "https://localhost:12345", "secure": false, "changeOrigin": true } }

Yes, this works for me, thanks so much!

authors: BooMiny Hypoterik KravchukA Leo9305 RaihanMirzaei RandaHarb ThisIszas agrublev akhilkumarpuvvada albert2k21 andyxmq codeyuri cw-mbc0481 fantastory flyxl ifredom intkhabahmed jamesbirrellgray jellyfish-tom kfrz khoanguyen0791 kuzzzzz littleee m-farahmand netEmmanuel niudongzone nmshafie1993 nohren pjpaparao professorw1 purpletianjing rkHPE1 saikat shaohung001 tanmoyk2 waynenguyen1302 wealsegun xiaoyanzheng zan165

repo: saikat/react-apollo-starter-kit


text:
trainer Install issue.

Please do not submit bugs for unsupported EFT or unstable SPT-AKI versions
Double check the main page for the latest EFT and SPT-AKI versions we support.
Describe the bug
Unable to compile trainer for version 0.15.2.32757.
To Reproduce
launch the installer.
Expected behavior
activite the trainer.
Screenshots

Additional context
is there have any more detailed for the trainer install.
maybe some step description will help.

spt-aki is not installed in your case.
See my screen:

i finished spt install,
but it still can't activte.
is there need to place the trainer file in to the tarkov game file.

As you can read in the console:

Warning: it seems that you have never run your SPT-AKI installation. You should quit now and rerun this installer once it's done.

So what about starting the game once ? :)

still the same.

spt file version and current tarkov version aren't the same.
is that the problem?

Will i figure it out.
Turns out i totaly forgot do the spt ruuning step.
Thank for the support.
By the way how am i going to active trainer.
Do i gonna download the master file or just type trainer name in console.

repo: sailro/EscapeFromTarkov-Trainer


text:
Adding calculator for octagonal pyramid

Under calculator of 3D shapes in the pyramid section I would like to add the calculator for octagonal pyramid. Please assign this to me under GSSoC.

Go ahead
Deadline: 20 April 2021

authors: apekshamanchanda mehabhalodiya


text:
parallelepiped working

Describe the bug

The calculation part of this shape is not showing up due to bugs in the calculation part of the calculation. I would like resolve those.
And I would like to make an image of parallelepiped shape and add here since it is missing here.

Please assign this to me under GSSoC.
Screenshots

Go ahead
Deadline 29 April,2021


text:
add positional/ordered dithers a_dither and x_dither

See http://pippin.gimp.org/a_dither/ for information on the origin of these dithering methods, their operational principle are similar to other existing digital halftoning methods which are AM/FM hybrids - like green noise.

Coverage decreased (-0.7%) to 84.698% when pulling b1121e66586a2297ffb2c8195ccac1fdb281ac60 on hodefoting:master into 6d38fd299bdaa8f78f781513dd1c737dd7a4ec19 on saitoha:master.

authors: coveralls hodefoting

repo: saitoha/libsixel


text:
SAK-29127 Fix portal video chat on Morpheus

Lot of changes done to fix portal video chat on Morpheus. Now it can works on neo and morpheus either. In the future, we can suppress neoskin support to simplify things and improve SASS style.

Great! Thanks for the hard work here.  Thoughts on squashing all of this work down to one commit?

If you want I can try on monday.

I am ready to merge this as soon as the commits are squashed.

I close this PR. Hi did another branch with the correct JIRA number and just one commit.

authors: csev ottenhoff sinmsinm

repo: sakaiproject/sakai


text:
SAK-31764 - Error with saving favorites if user doesn't have a

preferences record

Seemed like the easiest way to fix all of this was just to have the BasePreferencesService->edit call add if it didn't exist (where it would previously throw an IdUnusedException). It really shouldn't ever throw an IdUsedException here.
The only thing I didn't know about was that the tutorial tool was putting in a security adviser to ensure that the preferences would save. This doesn't seem like a great idea. I think that if we intended for preferences to always be savable then this permission should just be removed rather than always bypassed by advisers? So it is possible if the user's account doesn't have this permission on the !user.template site to get this exception, but seems like OOTB that it's not likely.

Maybe this should just handle the IdUsedException rather than having it be thrown. I mean there's no possibility that the id can be used. If it looks it up and it's not there then it's 100% guaranteed to be able to add it.


text:
SAK-33521 - Import grades doesn't work with locales that use comma as decimal separator

Import grades doesn't work with locales that use comma as decimal separator

Is there a junit test we can add here so we don't ruin non-USA importing again?

To be honest, the application and all the tests are done using the point as decimal separator, this will require more changes in the tool and the tests, this is a more complex piece of work.
IMHO, the optimal solution is the ability to choose the CSV separator in the UI and detect the separator in the backend based on the user's locale. I'll ask some Spanish institutions if they are really interested in having this. We can leave this PR as is, the gradebookService requires the user's separator to store the value.

@payten should this be merged?

I'm a little confused at the use of FormatHelper.formatGradeForDisplay in this context; this helper method was intended for converting values from the root locale to the user's locale for display in the UI.  Does that mean that the imported spreadsheet is expected to be using the root locale and '.' as a decimal; this would convert the value to the user's locale and the gradebook service would then be happy?
Or is the importer sneakily converting values to the root locale? @steveswinsburg would know!
If the grade values in the spreadsheet had ',' decimals, I think FormatHelper.formatGradeFromUserLocale would be suitable to clean up the value for the service.  That's how the UI currently prepares grades for the service.

I've tested the PR at sakai-trunk.atica.um.es. I've executed the test plan and all works as described. It works.

Yep, I can see it works when the CSV import has grades entered in the root locale ('.' for decimals).  I was assuming that users would enter the grades in the CSV as they would in the UI -- in their preferred locale.  With this patch, if my sakai user locale is Spanish and my CSV import file is the same, then an imported grade with value 9,5 would be converted to 95, 9,32 becomes 932 and 1.000,52 becomes 1.00.  That said, if my assumption is wrong then this patch will do the job!

Hi @payten,
I agree with you, now the CSV will be exported using the correct locale separator and the decimal separator.
English: Comma for values and dot for decimals.
Spanish: Semicolon for values and comma for separators.
The import process will work in the same way. Some members of the Spanish group will test it in our nightly instance sakai-trunk.atica.um.es
Regards, Miguel

Some tests are failing, I'm repairing them.

Tests fixed!

I'm sorry @ottenhoff , I've tested using both locales and worked fine for me.
Let me re-test again.

I've found a stupid bug in the separator comparison, fixed it and rebased the patch.
Tested in en_US and es_ES, works fine for both formats using different separators for decimals and CSV files.

Sorry to ask for more here, but can you add one test to TestImportGradesHelper.java so we make sure that semi-colon importing does not get broken in the future?

@ottenhoff no worries! I agree it's much better to have tests here.
PR updated with some tests and regular expression update.

Apologies, I've only just seen my tag from Payten. I'm in this area now so
I'll test it out and let you know if there is anything funky.
On 14 Nov. 2017 08:16, "Sam Ottenhoff" notifications@github.com wrote:

Merged #4925 https://github.com/sakaiproject/sakai/pull/4925.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sakaiproject/sakai/pull/4925#event-1339617056, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAH4aXBwMuv52aWbgyzVhN8S-GKa5M3Cks5s2LHAgaJpZM4QI0zA
.

authors: mpellicer ottenhoff payten sinmsinm steveswinsburg


text:
SAK-43112 Recover rubrics with softly deleted assignments

NOTE: Parameters order on deleteRubricAssociation method was wrong in the service declaration.

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

Issues
======
- Added 1

See the complete overview on Codacy

Going to merge this PR as it makes it consistent with the pattern that was established in #7749 but I still have reservations about this approach.

authors: bgarciaentornos ern steveswinsburg


text:
SAK-43661 Add property to force grader toggle to default to off

https://jira.sakaiproject.org/browse/SAK-43661

@bjones86 It's already there from the previous commit. This is a reopened ticket.

Ok, thanks.

@bjones86 Thanks for the review, Brian.


text:
Cone as gfx element class

@salem-ok, on this branch gfx_cone, I tried to externalize one graphical element, the cones, as its one entity. That could be an example for any other obstacle.
This branch is build upon the sample_manager branch, to better to accept the previous PR first even if merging should work well.
To test it, change in pysprint_tracks.py to get some cones in the first round:
    def init_obstacles(self, race_counter):
        #Determine the number of obstacles
        nb_obstacles = 0
        min_obstacles = 0
        max_obstacles = 0
        nb_cones_max = 0 # => to 10

Content

in gfx/, Cone is defined in the file cone.py
tracks' self.traffic_cones is now a list of Cone and to be displayed, only call cone.blit()

TODO
I did not understand yet how get_random_position() works and its dependencies so the cones positions are initialized when displayed:
        #Display Traffic Cones
        if race_started:
            for cone in self.traffic_cones:

                # should be done before
                if cone.pos is None:
                    cone.update(self.get_random_position(traffic_cone.get_height(), traffic_cone_shade.get_width()))

                cone.blit()

That's pretty bad :) the cone.update() should happen when the track is initialized not when blitting.

@shazz since this PR builds on Sample manager, I'll review it once we have resolved the sample manager issue if that's OK?

Same as the spills, my changes generate some conflicts. Looks like you need to add a new member to your object class so we know whether it's place on a bridge or a ramp to blit it correctly:
 self.on_bridge_or_ramp_grease_traffic_cones = None

Basically I added that:
                    pos, on_object = self.get_random_position(traffic_cone.get_height(), traffic_cone_shade.get_width())
                    cone.update(pos) if not on_object else cone.disable()

So if it is on an object, the spill is disabled. It is what is expected ?

Basically I added that:
pos, on_object = self.get_random_position(traffic_cone.get_height(), traffic_cone_shade.get_width())
cone.update(pos) if not on_object else cone.disable()

So if it is on an object, the spill is disabled. It is what is expected ?

For the cones, yes they disappear after being hit once. but not for spills.
The new boolean I added was to blit correctly objects on bridges. It works fine in your branch. Happy to merge!

authors: salem-ok shazz

repo: salem-ok/PySprint


text:
Add boolean filtering to other queries

Currently, where filtering is available only in the attributes query. We want to add support for it to other queries as well. We want to make sure that for each query, we provide filters for as many fields as possible, e.g. products filtering should ideally allow filtering by all (or as many as we can add for now) fields available in the Product type. Each query/type can be handled in separate PRs. Eventually, we want all queries to have this filtering available, but we can start with these:

products
categories
collections
customers
orders
...

Closing as not planned.

repo: saleor/saleor


text:
Is the training configuration of the InstructBLIP model released

And whether the compiled dataset has been released

Same question here

authors: tensorboy zhangqingwu

repo: salesforce/LAVIS


text:
Site examples can only use components in index

No imports from example files, etc. Code mirror and the doc site only have access to the DSR components exported by components/index.js.
This should be mentioned in comments somewhere for contributors.

@kevinlambert I'm updating your Progess Ring examples. The doc site examples can only be "the examples," unfortunately, they can't take an import from the examples folder. The ES6 imports are ignored/removed in the doc site examples and CodeMirror uses global access to the components exported by components/index.jsto run the doc site examples.

repo: salesforce/design-system-react


text:
Add do not audit a11y story

Call out "Do not do a a11y audit" in Storybook examples. http://design-system-react-components.herokuapp.com/
This will update the story title to remove from aXe testing similar to how noTest suffix works now in Jest Storyshots.

This can be done on a component level at this time with exclude-story-config.js settings.


text:
Toast: needs to be able to open more than one at a time.

Multiple Toasts Problem
Okay, so, i’m thinking about the multiple toasts problem.
See #674 for more background.
And, it is a problem, because we need to both be able to display toasts in exactly, and only ever, one .slds-notify-container.... unless the toast is a part of a modal, in which case it is theoretically possible that there is an open toast, in a container on the main part of the page, but also a modal open that needs it’s own toast.
When a Toast is needing opened, discover if there is already an .slds-notify-container open that has an .slds-notify—toast in it, but that is not a part of a Modal, and “simply” attach the new Toast to the existing container, rather than making a new one.
Of course, notifications can be self-dimissing, on a timer, and the timer for the previously-shown notification container still needs to run on it's own schedule, but not kill off its container when it is time to close, or else the new one will dissapear also.
Additionally, I'm not sure, at all, how "hijacking" another Notification's container can/should work in React.
Perhaps what is needed is some sort of Notificaitons Manager™ that can handle messages in and out of, rather than the Notification component itself handling its own hide/show and container placement.

Apparently you can only open 1 toast at a time, because each toast provides its own .slds-notify-container, and just plops any additional ones right over the first one, rather than stacking them.
You can try it yourself by replacing the code in the toast example on the DSR site:
class NotificationExample extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
            isOpen1: false,
            isOpen2: false
        }
    }

    toggleOpen(){
        this.setState({ isOpen1: !this.state.isOpen1, isOpen2: !this.state.isOpen2 });
    }

    render(){
        return (
            <div>
                <SLDSButton label="Open Toast" onClick={this.toggleOpen.bind(this)} variant="brand" />

                <SLDSNotification
                    content="There was a problem updating the record."
                    iconName="notification"
                    isOpen={this.state.isOpen1}
                    onDismiss={this.toggleOpen.bind(this)}
                    texture={true}
                    theme="error"
                    variant="toast"
                    />

                <SLDSNotification
                    content="There was a problem updating the record."
                    iconName="notification"
                    isOpen={this.state.isOpen2}
                    onDismiss={this.toggleOpen.bind(this)}
                    texture={true}
                    theme="error"
                    variant="toast"
                    />
            </div>
        );
    }

}

ReactDOM.render(<NotificationExample />, mountNode);

Pretty sure this isn’t what we want.

This is now doable due to the Toast refactor that made the container a different component.

authors: chriscorwin interactivellama


text:
feat: add --use-most-recent cache for bulk upsert and delete

What does this PR do?

Restores force:data commands

force:data:bulk:upsert
force:data:bulk:upsert
force:data:bulk:status

Deprecates command data:resume

Add resume commands

data:upsert:resume
data:delete:resume

Modified bulk upsert and delete

Use Bulk API V2
Added TTL cache for async
Added async flags

What issues does this PR fix or reference?
@W-12083162@

QA Notes:

force:data:bulk:upsert

-h : ✅
suggests data resume command ✅
deprecated flags warnings ✅
--wait ✅
force:data:bulk:status

❌ : suggests itself as an alternative?
 ➜  sfdx force:data:bulk:status -i 750DR0000062iNMYAY -b 751DR000006oVClYAM
Warning: The "force data bulk status" command has been deprecated. Use "data resume" instead.
Warning: Use force:data:bulk:status instead

maybe it's an issue with data resume?
 ➜  sfdx data resume -i 750DR0000062iNMYAY -b 751DR000006oVClYAM
Warning: Use force:data:bulk:status instead

force:data:bulk:delete

💡 : we could improve the error when an invalid sobject is passed
 ➜  sfdx force:data:bulk:delete --file accounts.csv --sobject=Accounts
Bulk Delete... Error
InvalidJob: Unable to find object: Accounts
    at BulkApi.getError (/Users/william.ruemmele/projects/oss/plugin-data/node_modules/jsforce/lib/http-api.js:307:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/william.ruemmele/projects/oss/plugin-data/node_modules/jsforce/lib/http-api.js:154:23
    at async /Users/william.ruemmele/projects/oss/plugin-data/node_modules/jsforce/lib/api/bulk.js:163:23
    at async PassThrough.<anonymous> (/Users/william.ruemmele/projects/oss/plugin-data/node_modules/jsforce/lib/api/bulk.js:419:9) {
  errorCode: 'InvalidJob',
  content: undefined
}

data upsert bulk

✅ : all looks good

json
help
human
wait
timeout

❌
Run command sfdx data upsert resume -i 750DR0000062iQLYAY -o test-vs9y4m8v7jq9@example.com' to check status.

there's an extra ' at the end of the username which doesn't match anything
❓
the force:bulk:upsert --wait commands will print a large summary table, generally I'm unsure how to get this same output from the new commands, there's no --wait on the resume command. Adding --wait to data bulk upsert just results in printing
 ➜  sfdx data bulk upsert --file accounts.csv --sobject Account --external-id Id --wait 3

Job 750DR0000062iQuYAI Status Job Complete Records processed 4. Records failed 0.
Running bulk upsert request... done

data upsert resume

✅ : all looks good

help
human
cache
passed id
no cache interference with data delete resume

data bulk delete
✅ : all looks good, but same trailing ' in the output
❌  : failed delete results in an invalid command?
 ➜  sfdx data delete resume
Getting status... done

Job 750DR0000062iTAYAY Status Failed Records processed 0. Records failed 0.
To review the details of this job, run:
sfdx org open --target-org test-vs9y4m8v7jq9@example.com --path "/lightning/setup/AsyncApiJobStatus/page?address=%2F750DR0000062iTAYAY"

 ➜  sfdx org open --target-org test-vs9y4m8v7jq9@example.com --path "/lightning/setup/AsyncApiJobStatus/page?address=%2F750DR0000062iTAYAY"

 ›   Warning: org open is not a sfdx command.
Did you mean version? [y/n]:
 ›   Error: Run sfdx help for a list of available commands.
➜  dreamhouse-lwc git:(main) ✗  hub:(GLOBAL - DevHub) scratch:(test-vs9y4m8v7jq9@example.com)
 ➜  sf org open --target-org test-vs9y4m8v7jq9@example.com --path "/lightning/setup/AsyncApiJobStatus/page?address=%2F750DR0000062iTAYAY"

 ›   Warning: @salesforce/cli update available from 1.61.1 to 1.62.2.
 ›   Warning: org open is not a sf command.
Did you mean env open? [y/n]: n
 ›   Error: Run sf help for a list of available commands.

✅ : circular deprecation fixed
❓ : still unsure how to get something similar to
 ➜  sfdx force:data:bulk:upsert --file accounts.csv --sobject Account --external-id Id -w 3
...

=== Batch #1

=== Batch Status

apexProcessingTime:      0
apiActiveProcessingTime: 114

❌ : still suggesting invalid org open command - maybe fine once plugin-org is sf-ified?
🆗 : the extra ' is still present

QA

❌ : undefined printed to user
 ➜  sfdx data delete resume -i 750DS000007vdNBYAY -o test-tqzt9pi0rxxn@example.com
Getting status... done

Job 750DS000007vdNBYAY Status Failed Records processed 0. Records failed 0.
To review the details of this job, run:
sfdx org open --target-org undefined --path "/lightning/setup/AsyncApiJobStatus/page?address=%2F750DS000007vdNBYAY"

✅ : QA'd and verified a lot of the other behaviors marked as ❌  in previous QA comments and the rest of the commands

authors: WillieRuemmele peternhale

repo: salesforcecli/plugin-data


text:
Вызов метода editor.layout() иногда не перемещает строку состояния

Убрал в целях эксперимента automaticLayout:true и вместо этого начал явно вызывать
РедакторHTML.editor.layout();
При этом строка состояния иногда обновляет свое положение

Проверю

Добавил перерисовку. Проверь, пожалуйста.

Заработало

authors: salexdv tormozit


text:
For SRKW map points, make date color bar span Jan-Dec

Problem statement:
When comparing SRKW point observations between pods, I found it confusing to have an inconsistent range of colors used to convey the time of year of the observation. For example, in trying to discern the first, second, and third visits of SRKWs to Puget Sound's main basin in 2023, I noticed that for K and L pod the color bar spanned January through October...

...while for J pod it spanned the whole year -- January through November:

Proposed solution:
Rather than adjusting the scale bar based on the temporal distribution of the observations in a requested data subset, make the range of dates (i.e. months) be consistently the full year -- from January through December -- like this:

@liu-zoe This issue isn't high priority IMHO, but I'll use it to test tagging you (to see if you get a notification via the salish-sea Github organization).

Yep, I'm tagged! Thanks for testing :)

Fixed!

authors: liu-zoe scottveirs

repo: salish-sea/orca-salmon


text:
关于zero-shot测试和few-shot测试的设置问题

你好,请问zero-shot的实验是把有seen类别的数据结果当做预训练模型,然后直接把这个预训练的模型拿来直接预测unseen类别么?zero-shot的测试跟一般的测试只是测试集不一样吗?另外few-shot如何划分样本集呢?

您好，我是王蒙蒙，您的邮件我已收到，并及时回复。

你好,请问zero-shot的实验是把有seen类别的数据结果当做预训练模型,然后直接把这个预训练的模型拿来直接预测unseen类别么?zero-shot的测试跟一般的测试只是测试集不一样吗?另外few-shot如何划分样本集呢?
我是这么划分数据集做零样本的，ucf101上成绩差很多，hmdb51上，是有42%-46%的top-1 acc，还是达不到论文的50%。我觉得论文里的结论是gzsl（广义零样本学习的结果），就是验证集同时有seen和unseen class。

您好，我是王蒙蒙，您的邮件我已收到，并及时回复。

authors: michaelwang66 sallymmx yanghhx

repo: sallymmx/ActionCLIP


text:
🛑 Blog is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in 3929cc6 after 7 minutes.

repo: saltbo/status


text:
🛑 Blog is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in 6cd2f57 after 7 minutes.


text:
internet access via a proxy server

My saltcorn docker container has working internet access via a proxy server.
root@0b289d83a6e7:/# curl https://store.saltcorn.com/api/extensions | grep -io \"id\": | wc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11714  100 11714    0     0  29066      0 --:--:-- --:--:-- --:--:-- 29066
     53      53     318

But in the app I can't access the ModuleStore endpoint (http://ServerIp:3000/plugins ).
How can saltcorn use an internet connection via a proxy server?

Hello, my friend! In cases like this, it is not saltcorn that has to be configured to use the proxy but your Linux server. In general, the simplest option is to release the IP of your server where the container is installed to pass outside the proxy, if this is not possible, then you will have to configure the proxy directly in Linux.
In case your proxy is unauthenticated, you can add this environment variable in /etc/bash.bashrc or elsewhere:
export http_proxy=http://proxy-id:port
Now if the proxy is authenticated, I don't know how it should be done, because I never needed to do it.
I recommend passing this export there also to your container, either directly through docker-compose or through docker run.

I believe that I have internet access inside the container.
root@b6e440b0ffb6:/# export
declare -x HOME="/root"
declare -x HOSTNAME="b6e440b0ffb6"
declare -x HTTPS_PROXY="http://▒▒▒▒▒▒▒▒▒▒▒▒▒▒:3128"
declare -x HTTP_PROXY="http://▒▒▒▒▒▒▒▒▒▒▒▒▒▒:3128"
declare -x NODE_ENV="production"
declare -x NODE_VERSION="16.13.2"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PGDATABASE="▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
declare -x PGHOST="▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
declare -x PGPASSWORD="▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
declare -x PGUSER="▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
declare -x PWD="/"
declare -x SALTCORN_DISABLE_UPGRADE="true"
declare -x SALTCORN_SESSION_SECRET="▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
declare -x SHLVL="1"
declare -x TERM="xterm"
declare -x YARN_VERSION="1.22.15"

root@b6e440b0ffb6:/# curl https://store.saltcorn.com/api/packs?fields=name,description
{"success":[{"name":"Todo list","description":"Simple todo list"},{"name":"Issue  tracker","description":"Track bugs or feedback"},{"name":"Project management","description":"Assignable tasks, projects, kanban board"},{"name":"Address book","description":"Contact list with meeting notes"},{"name":"Blog","description":"Blog with rich-text post and comments"},{"name":"Project-employee assignment","description":"Example of building interfaces based on many to many relationships"},{"name":"Saltcorn store","description":"The plugin and pack store running on store.saltcorn.com"},{"name":"Software directory","description":"Open-Source No-Code Directory"},{"name":"Location display and search","description":"Location-based search with map display"},{"name":"Link sharing","description":"Hacker news clone:  link sharing and discussion"},{"name":"File transfer service","description":"Allow anonymous users to upload files"},{"name":"French Vocabulary","description":"Flash cards with French-English dictionary"},{"name":"Roadmap","description":"Roadmap in a Kanban board"},{"name":"Landing Page","description":"Landing page with the lead capture"},{"name":"Forum","description":"Discussion forum"},{"name":"Wiki","description":"Wiki application"}]}
root@b6e440b0ffb6:/#

However, in the container log I see the following:
Saltcorn listening on http://localhost:3000/
Saltcorn listening on http://localhost:3000/
Saltcorn listening on http://localhost:3000/
Saltcorn listening on http://localhost:3000/
FetchError: request to https://store.saltcorn.com/api/extensions failed, reason: connect ETIMEDOUT 104.21.17.44:443
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (node:events:390:28)
    at ClientRequest.emit (node:domain:475:12)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:390:28)
    at TLSSocket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}
FetchError: request to https://store.saltcorn.com/api/extensions failed, reason: connect ETIMEDOUT 172.67.221.60:443
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (node:events:390:28)
    at ClientRequest.emit (node:domain:475:12)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:390:28)
    at TLSSocket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}
fetch store error FetchError: request to https://store.saltcorn.com/api/packs?fields=name,description failed, reason: connect ETIMEDOUT 172.67.221.60:443
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (node:events:390:28)
    at ClientRequest.emit (node:domain:475:12)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:390:28)
    at TLSSocket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}

authors: RogueSnipa Tacioandrade

repo: saltcorn/saltcorn


text:
Official Plex Kodi Addon Support

Hi, I can't seem to find the official plex kodi addon in the client selection. Is there any plans to support it?
Thanks.

There was a previous issue here #65 for Plex Kodi Connect. Not sure if the official client is any different though. Essentially if the Client doesn't advertise itself to Plex.tv we can't/won't support it.

Is there a way to check if it advertises itself?

Does anyone know how to get Kodi on Apple TV 4 and get it to stay without having to put it back on every 7 days?! I been searching all day

@mighty2nyce please don't post irrelevant issues here..
@Defs3c If it doesn't show up in SyncLounge it probably doesn't advertise itself. You could double check if there is a allow remote control setting somewhere as well.

repo: samcm/synclounge


text:
Missing option to create file from template

Hi. I'm trying to test your plugin but, after create a new template, I can't create a new file because the "New file from custom template" item don't appears among the menu options (I just get a duplicate "New file" instead)

I've restarted Xcode, uninstalled and reinstalled Stencil with no luck.
Using Xcode (v6.3.1). Stencil installed using Alcatraz.
EDIT: The custom template have been created and saved into its folder in the current project.
Thx

Wow that's strange. Thanks for trying it out, I'll investigate and get back to you!
Sent from my iPhone

On 8 May 2015, at 02:03, rmvz3 notifications@github.com wrote:
Hi. I'm trying to test your plugin but, after create a new template, I can't create a new file because the "New file from custom template" item don't appears among the menu options (I just get a duplicate "New file" instead)
I've restarted Xcode, uninstalled and reinstalled Stencil with no luck.
Using Xcode (v6.3.1). Stencil installed using Alcatraz.
Thx
—
Reply to this email directly or view it on GitHub.

fixed

Cool. Works fine now. Thanks

repo: samdods/Stencil


text:
Configurate IMAP Importmail

Hi, one nex help request: IMAP config did not work, not sure why. As i understand, its just to set env vars and it does the job.
Maybe a hoster bug or ist is it necessary to trigger docker via cronjob like?
docker exec Redmine rake redmine:email:receive_imap

If not, could you anyway let me know the correct docker exec receive_imap command for your container.
Maybe in my case these could help, since we used to have the cronjob with another container in use.
Attached my YAML anyway to check::
    - IMAP_ENABLED=true
    - IMAP_HOST=mail.server.de
    - IMAP_PORT=993
    - IMAP_USER=XXX
    - IMAP_PASS=XXX
    - IMAP_STARTTLS=false
    - IMAP_SSL=true
    - IMAP_INTERVAL=5

My Version in use: sameersbn/redmine:4.1.3
Many Thanks, best regards

Okay, did also work now :) and without separate cornjob!
Very well!

repo: sameersbn/docker-redmine


text:
Fix Unreal 5.3 Compilation

With Unreal 5.3 changes in how headers are dealt with the project did not compile anymore. To fix it I had to :

Move the Sample header folder to the Private section of the module. I thought Private because only other Sample CPP files in Private are using it.
Remove the char8 string in one of the sample since char8* is not convertible to char*

Thank you, will try to have a look next weekend.
Le mer. 14 févr. 2024, 11 h 41, Valère Plantevin @.***>
a écrit :

With Unreal 5.3 changes in how headers are dealt with the project did not
compile anymore. To fix it I had to :

Move the Sample header folder to the Private section of the module.
I thought Private because only other Sample CPP files in Private are using
it.
Remove the char8 string in one of the sample since char8* is not
convertible to char*

You can view, comment on, or merge this pull request online at:
https://github.com/sammyfreg/UnrealNetImgui/pull/26
Commit Summary

958e794
https://github.com/sammyfreg/UnrealNetImgui/pull/26/commits/958e794b69c7b241162db40f4a9cb262fc9c17e0
Moved Sample folder to Private to respect UE5.3 include rules
4356357
https://github.com/sammyfreg/UnrealNetImgui/pull/26/commits/4356357140b8e6350e1c461862cdd451b738179c
Remove char8_t strings in sample to fix compile issue on UE5.3

File Changes
(5 files https://github.com/sammyfreg/UnrealNetImgui/pull/26/files)

R Source/Private/Sample/NetImguiDemoActor.cpp
https://github.com/sammyfreg/UnrealNetImgui/pull/26/files#diff-53787d47bacc6162517858c14c23383d4c0947818cbafd1cee3f46e44d28f924
(8)
R Source/Private/Sample/NetImguiDemoActor.h
https://github.com/sammyfreg/UnrealNetImgui/pull/26/files#diff-1755bb2de1baffcc5e75ac29fe2b3129ecad6096fba90f8c133a141d7921caf5
(0)
R Source/Private/Sample/NetImguiDemoNodeEditor.cpp
https://github.com/sammyfreg/UnrealNetImgui/pull/26/files#diff-cdcea5a7dbf103852dd029a6d23fc9b78be6c786f239ea5f1477dc53766d5fd7
(0)
R Source/Private/Sample/NetImguiDemoNodeEditor.h
https://github.com/sammyfreg/UnrealNetImgui/pull/26/files#diff-9a473050b8a82416a32602702ecc46c4831d8880b11d30f3e7809635f9ece328
(0)
R Source/Private/Sample/Readme.txt
https://github.com/sammyfreg/UnrealNetImgui/pull/26/files#diff-d3b08a77088510c1d3bc6bc4ba2b8b29eb3dc1b24a3023e46c790ee5077d68cd
(0)

Patch Links:

https://github.com/sammyfreg/UnrealNetImgui/pull/26.patch
https://github.com/sammyfreg/UnrealNetImgui/pull/26.diff

—
Reply to this email directly, view it on GitHub
https://github.com/sammyfreg/UnrealNetImgui/pull/26, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESBPYYONDBJIPW5LE5PZNDYTTSLLAVCNFSM6AAAAABDITNHU2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTINZVGA2TCNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

repo: sammyfreg/UnrealNetImgui


text:
load youtube video from youtube-nocookie.com

Hi,
I want to load the youtube video from youtube-nocookie.com so as to prevent cookie from loading. I don't seem to find any solution to this as this player doesn't seem to have any.
Can you please help me and let me know if there's any work-out to this.

"youtube-nocookie.com" has no working API, which we need for our buttons and events to work.
If this is important to you and you can get it to work yourself with a fork of Plyr we could change our regex.

Hope there will be way soon. We need to remove Plyr for YouTube-Videos out of most customer projects.

authors: DrillSergeant efat33 friday

repo: sampotts/plyr


text:
Add support for measuring power draw from ACs

Returns the power usage in Watts from the AC to home assistant as a device attribute.
Add these lines to configuration.yaml to get a graph of your AC's power usage: (note that history graph is deprecated according to HA but they don't give any clear instructions on what you're supposed to use instead, so the graph might stop working at some point in the future)
sensor:
    - platform: template
      sensors:
          ac_power_sensor:
              friendly_name: AC Power Usage
              value_template:
"{{states.climate.air_conditioner.attributes.power}}"
              unit_of_measurement: W

history_graph:
    power:
        name: Power Graph
        entities:
            - sensor.ac_power_sensor

made requested changes

repo: sampsyo/hass-smartthinq


text:
Improve design of webhook page

Given a set of new changes on the webhooks we had the need to develop without having a proper design from @broham89.
This is currently the webhook page:

I think there is room for improvement here.

@dcalvom does the postscript only execute if there is a web hook or can we have a postscript without a webhook?

Currently it just executes if we have a webhook

In the action row I did create a webhook example located in the middle section of the sketch file

authors: broham89 dcalvom wrathagom

repo: samtecspg/articulate


text:
Why do InitVar parameters not get validated + cast to their annotation like normal parameters?

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and couldn't find an answer
[x] After submitting this, I commit to one of:

Look through open issues and helped at least one other person: https://github.com/samuelcolvin/pydantic/issues/2280
Hit the "watch" button on this repo to receive notifications and I commit to help at least 2 people that ask questions in the future
Implement a Pull Request for a confirmed bug

Question
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
$ poetry run python3 -c "import pydantic.utils; print(pydantic.utils.version_info())"
             pydantic version: 1.7.3
            pydantic compiled: True
                 install path: /home/amn/.cache/pypoetry/virtualenvs/works.asm.heterogeneous-groups-nPjqETfo-py3.9/lib/python3.9/site-packages/pydantic
               python version: 3.9.1 (default, Jan 16 2021, 13:27:01)  [GCC 9.3.0]
                     platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.31
     optional deps. installed: ['typing-extensions']

Second code sample from the initialize hooks section of the dataclasses section with some additional lines to showcase the weirdness:
from dataclasses import InitVar
from pathlib import Path
from typing import Optional

from pydantic.dataclasses import dataclass

@dataclass
class PathData:
    path: Path
    base_path: InitVar[Optional[Path]]

    def __post_init__(self, base_path):
        print(f'Received path={self.path!r}, base_path={base_path!r}')
        #> Received path='world', base_path='/hello'

    def __post_init_post_parse__(self, base_path):
        if base_path is not None:
            self.path = base_path / self.path

path_data = PathData('world', base_path='/hello')
# Received path='world', base_path='/hello'

If you add this line, everything goes as expected where it fails due to a type mismatch:
fails_on_type_validation = PathData(10, base_path='/hello')
"""
Received path=10, base_path='/hello'
Traceback (most recent call last):
  File "/home/amn/heterogeneous_groups/lib/pydantictest.py", line 30, in <module>
    path_data = PathData(10, base_path='/hello')
  File "<string>", line 4, in __init__
  File "pydantic/dataclasses.py", line 107, in pydantic.dataclasses._process_class._pydantic_post_init
    #    +--- order= parameter
pydantic.error_wrappers.ValidationError: 1 validation error for PathData
path
  value is not a valid path (type=type_error.path)
"""

But if you use this line instead, you fail due to ints and paths not supporting the / operator:
fails_at_runtime = PathData('world', base_path=10)
"""
Traceback (most recent call last):
  File "/home/amn/heterogeneous_groups/lib/pydantictest.py", line 30, in <module>
    path_data = PathData('world', base_path=10)
  File "<string>", line 4, in __init__
  File "pydantic/dataclasses.py", line 111, in pydantic.dataclasses._process_class._pydantic_post_init
    # +=======+=======+=======+
  File "/home/amn/heterogeneous_groups/lib/pydantictest.py", line 21, in __post_init_post_parse__
    self.path = base_path / self.path
TypeError: unsupported operand type(s) for /: 'int' and 'PosixPath'
"""

Here it throws an error right away because of the usage of this operator, but what happens if instead of division it was being added to an array?  In my actual usecase, it passed a raw dict through instead of converting it into the custom dataclass specified in the annotation; consequently, when I tried to access that variable's attributes it failed due to a dict not having those attributes.
Am I misunderstanding what InitVar is supposed to do?  I just thought it meant that that variable wouldn't become an instance variable and that it would additionally be sent to the __post_init__ func (and __post_init_post_parse__ func), not that it wouldn't be validated and converted into the types specified in the annotation.

Hi @Amndeep7
I agree this is not explicit in the documentation but InitVar are not parsed by pydantic.
This is due to the fact the pydantic model for dataclasses is based on dataclasses.fields: https://github.com/samuelcolvin/pydantic/blob/master/pydantic/dataclasses.py#L147 which does not contains the InitVar fileds.

@rhuille Thank you for the explanation!  Looked it up in the python stdlib documentation and there it was plain as day too.
I guess this is where this line of the documentation becomes more relevant if I don't want to manually cast things: "There are cases where subclassing pydantic.BaseModel is the better choice [over dataclasses]."

repo: samuelcolvin/pydantic


text:
Punctuation marks aligned incorrectly for Chinese on Windows

The comma and period specifically.

Could you please provide some more information? Where in the app is this? What's the expected output? Is this Traditional or Simplified Chinese?

This is the right version:
这是一个问题，这是一个问题。
And this bug is about  comma and period in Simplified Chinese. Thanks.

It's working for me:

What operating system are you using? What system language? Do you get the same issue if you're entering text in the editor on this site using Chrome?

I can text normally on that site. I think the reason is that my system language is English. I found a path "mini-diary\locales". Can I do something so that I can use “zh-CN.pak” which I think is right for me.

Does the problem still occur if you change your system language to Chinese?

No, it functions normally. But I want to use English as system language, so may be I should find a way to solve it. Thank you very much!

Just tested this myself. The problem is Windows-specific; the text displays as expected on macOS and Ubuntu.

Seems like the alignment on Windows is correct for Traditional Chinese, but not Simplified Chinese:

Source: https://medium.com/@bobtung/best-practice-in-chinese-layout-f933aff1728f
In that case, I'd say the app's behavior isn't wrong if the system language is English.

Ok. Maybe I can find a way to change the font inside the app other than using the system's default font. Thanks.

authors: leeoea samuelmeuli

repo: samuelmeuli/mini-diary


text:
If original CSV causes a failure, the importer will continue to fail when csv is corrected

Summary
When an importer is run with an improperly configured csv, later attempts to edit the importer and upload a corrected csv will fail, producing the same errors as the original file, despite corrections. Changing the name of the file sidesteps this.

from present day testing this is no longer an issue. can I close this @crisr15 @orangewolf ?

yep!

authors: alishaevn crisr15 orangewolf

repo: samvera-labs/bulkrax


text:
Added hint text to New Exporter page

avoided the term "roundtrippable" just in case it's too jargon-y

@kirkkwang Thanks for doing this! We will need a hint text added to the thumbnail checkbox as well.
cla-signed issue: Check in and pair with @selamhabteab  about getting around the cla-signed issue. She literally just had to go through the same thing and was able to get passed it. For her it was something to do with user the wrong email/account (not the one the cla bot is looking for) when committing code.

@ShanaLMoore Sounds good!  I did add a small hint text in the 'Include Thumbnails?' but not really sure how helpful it was, I did another PR here that passed the bot:
https://github.com/samvera-labs/bulkrax/pull/486

authors: ShanaLMoore kirkkwang


text:
Fix /etc/default/mscs loading

/etc/default/mscs was sourced 'after' default variables were used
making overrides not to work. /etc/default/mscs is now sourced twice,
after LOCATION definition and after other variables definition so all
variables can be overrided. A better fix is let for later.

This change was merged with commit e0ee185be9d2d1c8f143ea734e326b64d463ff53.  Removing duplicate pull request.

authors: jjchico sandain

repo: sandain/MinecraftServerControlScript


text:
RedBearLab Blend Micro (V1.0) & Android Marshmallow compatibility

I'm try to connect the module Blend Micro to my Nexus 5 with Android 6.0.1 and the pairing seems to work: using the HID examples (which are the ones I am interested in), the output on the serial monitor seems correct but it does not perform any "function" on my smartphone. I tried the HID_test.ino sketch, with all the 4 methods of the object bleMouse, bleKeyboard, bleMultimedia, bleSystemControl uncommented to be sure that any class works with my phone. Any suggestion?
Thanks.
P.S.: I set the correct pin
#define BLE_REQ   6
#define BLE_RDY   7
#define BLE_RST   4
.

@nicologhielmetti you'll need to set the HID report offset to 1: https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/examples/HID/HID_volume/HID_volume.ino#L46-L48
As Android doesn't not like starting with a report offset of 0. However, this is fine with OS X and iOS.
I'm closing for now, let me know if this works for you.

Ok, thanks @sandeepmistry, now it works fine! I think it's better to write this suggestion in the first-page, near the settings of pins (but it's only my opinion).

@nicologhielmetti great!
Would you be able to submit a pull request to the change you suggested (for all HID examples)?

authors: nicologhielmetti sandeepmistry

repo: sandeepmistry/arduino-BLEPeripheral


text:
noble fails to install on Raspberry Pi Zero

I am trying to install node-red-node-sensortag on a Raspberry Pi Zero running Jessie Lite. It gets to the a point in the install when it hangs at the stage:
extract:noble: verb gentlyRm don't care about contents; nuking /home/pi/.node-red/node_modules/.staging
I also tried to npm install noble itself and was met with a similar hang.
I can do the install successfully on a Pi 3 with the full Jessie image. Is the older ARM processor on the Pi Zero supported by noble?

As I was creating the issue, I had left the npm install running. After about another 10 minutes of elapsed time, the hang at the extract:noble stage was overcome and in another 20 minutes or so, the installation completed.
So I will close the issue although I am curious why the process is so drawn out. Is the Pi Zero that underpowered -- maybe it is.

repo: sandeepmistry/noble


text:
Keeps process open

Simple way to reproduce...
let xpc = new (require('xpc-connection'))();
Perhaps we can provide an unref() method (similar to timeouts and http)? or at the very least a way to destroy instances so they don't keep the process open.

@gigafied that sounds like a good idea, maybe a stop() function? Do you have time to submit a pull request for this?

authors: gigafied sandeepmistry

repo: sandeepmistry/node-xpc-connection


text:
DPL-850 - Investigate the work required to replace VueX with Pinia as the state management library

Description
Investigate the work required to replace VueX with Pinia as the state management library.
We currently use VueX but Pinia has now become the defacto recommended state management library for Vue 3. It is more lightweight, removes the need for mutations, allows for multiple stores (fits better with traction) and provides out of the box support for Typescript.
This would allow us to remove technical debt and support a move to typescript which should reduce maintenance and bugs across the board.
It would also allow us to standardise how we use the store throughout traction.
Who the primary contacts are for this work
Steve
Knowledge or Stake holders
Other people that may have specific knowledge about this work or have a stake in how it is implemented. e.g. John Smith is an expert on x
Additional context or information
Pinia

@stevieing  @BenTopping  VueX to Pinia migration notes
VueX to Pinia.docx

Closed as done.

authors: seenanair stevieing

repo: sanger/traction-ui


text:
Update sbt to 1.3.13

Updates org.scala-sbt:sbt from 1.3.10 to 1.3.13.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Coverage remained the same at 89.873% when pulling b892bc3491c63b1f2987d44c3b234a4fcb8b9385 on scala-steward:update/sbt-1.3.13 into 7dfb251385c96f57496bd29edbfef8bf7b8ad22c on sangria-graphql:master.

Coverage remained the same at 89.873% when pulling b892bc3491c63b1f2987d44c3b234a4fcb8b9385 on scala-steward:update/sbt-1.3.13 into 7dfb251385c96f57496bd29edbfef8bf7b8ad22c on sangria-graphql:master.

issue with scala 2.13

Updated with https://github.com/sangria-graphql/sangria-ion/commit/7c49ece740c37f952b139debcbe41715f02711c2

authors: coveralls scala-steward sh0hei yanns

repo: sangria-graphql/sangria-ion


text:
Incorrect Return type on _sanic_endpoint_test

_sanic_endpoint_test can return response or (request, response) depending if gather_request is specified.
Tuple and Union are around the wrong way.
typing.Tuple[typing.Union[Request, HTTPResponse]]

Should be
typing.Union[typing.Tuple[Request, HTTPResponse], HTTPResponse]

Maybe we should change it to always a tuple:
Tuple[Optional[Request], HTTPResponse]

Maybe we should change it to always a tuple:
Tuple[Optional[Request], HTTPResponse]

As part of #7 changes, I also changed the ASGITestClient request() method to return either response or (request, response) depending on whether gather_request was set, so it would match the way SanicTestClient works.
But I agree, I think both should actually return Tuple[Optional[Request], HTTPResponse]

As part of #7 changes, I also changed the ASGITestClient request() method to return either response or (request, response) depending on whether gather_request was set, so it would match the way SanicTestClient works.
But I agree, I think both should actually return Tuple[Optional[Request], HTTPResponse]

authors: ahopkins ashleysommer

repo: sanic-org/sanic-testing


text:
Integration with @sanity/client

@sanity/client allows to create documents with assets like images and files but I can't figure out an easy way to do so with Mux videos
See also: https://github.com/sanity-io/sanity-plugin-mux-input/issues/180
Perhaps we can get a client extension or some documentation on how to use this plugin for programmatic upload?

@pastinepolenta I understand the value in this proposal, but this isn't something we can support in the native @sanity/client. That's a generic, multi-purpose library for all Sanity users, and tying it to Mux functionality would go beyond its scope and lead to bloat for the majority of use-cases.
We're discussing internally ways of synchronizing the video library in Sanity with assets in the configured Mux environment to pull uploaded videos not yet in Sanity. This way, you'd be able to submit programmatically to Mux as per their upload documentation and have the asset show up in Sanity.
I can't give you an ETA on this, but you can follow #53 and #342 for updates. Thank you for the patience!

authors: hdoro pastinepolenta

repo: sanity-io/sanity-plugin-mux-input


text:
Duration option

I couldn't find any duration param. Is there any plan for this?

I couldn't find any duration param. Is there any plan for this?

yes param is FlutterFlexibleToast.showToast(
message: "Short Loading 2 Sec Toast",
toastLength: Toast.LENGTH_LONG,
toastGravity: ToastGravity.BOTTOM,
icon: ICON.LOADING,
radius: 100,
elevation: 10,
textColor: Colors.white,
backgroundColor: Colors.black,
timeInSeconds: 2);

authors: keremcankabadayi sanket-vekariya


text:
remove top spacing without custom snippet

rn im using custom snippet from marketplace for removing top spacing. With new Spotify interface i think it's better to remove that spacing by default
no snippet

with snippet

The main problem, which why im here - is because snippets sometimes have an issue with loading. As a result - they doesn't work from start the app. The solve - reinstalling snippet, thats annoying to do every time.

I'm here for the same reason too. It's annoying to reinstall snippet every time

Sorry, everyone, I haven't checked out the ShadeX theme in a long time. I'll be fixing these issues as soon as possible.

@sanoojes and I would be VERY grateful if you made a theme version without transparency. Like Dark and Dark w/out transparency

What do you mean by transparency ? the blur on headers ?

Yes! The blur on headers

reinstall the theme as new scripts are added @elisey243 @th3r1ko

Yes! The blur on headers

add this snippet to do that
aside[aria-label="Now playing view"] .fAte2d0xETy7pnDUAgHY, aside[aria-label="Now playing view"] .mdMUqcSHFw1lZIcYEblu,.main-home-filterChipsSection, .main-topBar-background, .main-trackList-trackListHeaderStuck.main-trackList-trackListHeader{
  --top-bar-backdrop: none !important;
  background: var(--spice-main) !important;
}

@sanoojes Thank you sir for the suggestion. But this only works for one bar. Also, the snippet is reset every time the application is launched. And I think the snippet needs to be implemented into the theme itself.
Also, if you leave the line "background: var(--spice-main) !important", then bar will be barely readable. So I changed the line to "backgorund-color: #0a0a0a !important"
One bar is opaque, the second is transparent

repo: sanoojes/Spicetify-ShadeX


text:
Update Rally entity to include additional properties

Add:
serving_team: int [0 or 1]
server: player_guid
returner: player_guid

Adding new Score class
@dataclass
class Score:
    """Data class for a score"""
    server_score: int = None
    returner_score: int = None
    server_number: int = None
    serving_team: int = None

    def score_tuple(self):
        return (self.server_score, self.returner_score, self.server_number)

    def to_dict(self):
        return asdict(self)

Completed:

Change current_score to Score class
Modify associated functions to either use Score or Score.score_tuple where appropriate

repo: sansbacon/pickleballcharter-gui


text:
Python 3 Compatibility

Make the role compatible with py3k.

Solved by https://github.com/sansible/newrelic_agent_php/pull/12 .


text:
[Request] (not an issue) Wordfilter Rewrite/Improve

I would like to see the word filter like phoenix:
For example, i tink the IDs in the blackword table are unneeded, and wold love to see a replacement table

Sorry i didn't understood. Explain better

Yupi has
If you saw a word in the blackwordfilter
It always changed to bobba
Phoenix has
replacement per word wich is quite sweet

Change in wordfilter.ini ...

No i ment like, replacemet for each word
A diffrent replacement per word

That is exactly what i said --'


text:
Hidden Ability and Others Abilities

Hi,
Since the last update, the Auto-Legality Mod doesn't select properly the hieden ability of any pokemon when to try to legalize or import one
Exemple:
Here the prompt :

Here the result (everytime):

when hidden ability is prompted, the second ability is always set up et not the hidden
I don't know if it is a bug or a configuration of my pkhex

I add this too, if i want to generate a pokemon with the second ablity, it will be always the first ability who will be generated

This has already been addressed with this commit https://github.com/santacrab2/PKHeX-Plugins/commit/7be007c7814a18dfd4bbc62ca17caf159d83870a . Please use the development build until the next release. You can install this through either the setup_bleedingedge.exe powershell script or download from the azure pipeline connected to this repo. https://dev.azure.com/santacrab2/PKHeX-Plugins/_build/results?buildId=158&view=artifacts&pathAsName=false&type=publishedArtifacts


text:
InvalidJSONTypeError.Error() should include unexpected value

A InvalidJSONTypeError error is returned when the schema validator encounters an unexpected type. In that case, the error includes the type, e.g. invalid jsonType: map[interface{}]interface{}; the value is not included in the error message.
It would be useful to show the unexpected value because it's not very obvious which part of the input document has the wrong type.
Steps to reproduce:
Create the following YAML document and validate against a JSON schema:
data := `
mapping:
   2: "abc"
   foo: "bar"
`
var inputYaml interface{}
yaml.Unmarshal(data, &inputYaml)
schema.ValidateInterface(inputYaml)

With the above document, yaml.Unmarshal() unmarshals the input data into a map[interface{}]interface{}. Looking at this minimalistic example, it's obvious that 2 should have been a string. But with larger input documents, it is harder to find the problem.
I think this can only happen when unmarshaling from yaml, not from JSON.
Proposed Solution
A basic improvement would be to include contextual information:
- panic(InvalidJSONTypeError(fmt.Sprintf("%T", v)))
+ panic(InvalidJSONTypeError(fmt.Sprintf("%T: %#v", v, v)))

you have to search for the specified datatype in the interface you have passed.
it is not trivial to expect to give such debugging information.

authors: santhosh-tekuri sebastien-rosset

repo: santhosh-tekuri/jsonschema


text:
🛑 o11y.space is down

In b28e102, o11y.space (https://o11y.space/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: o11y.space is back up in aee4fb7.

repo: santiagolator/upptime


text:
🛑 JAEGER_URL is down

In 3173b94, JAEGER_URL ($JAEGER_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: JAEGER_URL is back up in 68417e2 after 41 minutes.

repo: santomaharaj/upp


text:
🛑 GRAFANA_URL is down

In d444bca, GRAFANA_URL ($GRAFANA_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GRAFANA_URL is back up in 5f3eb36 after 27 minutes.


text:
🛑 KUBECOST_URL is down

In 57499ff, KUBECOST_URL ($KUBECOST_URL) was down:

HTTP code: 502
Response time: 2674 ms

Resolved: KUBECOST_URL is back up in 8851194.


text:
Conditional prompt

Is it possible to show or not show a prompt based on another prompt answer?. For example:
module.exports = {
  prompts: {
    ava: {
      type: 'list',
      message: 'Do you want to test your code with `ava`?',
      choices: [
        'yes',
        'no'
      ]
    },
    coverage: { // <= I don't want to ask this if answers.ava == 'no'
      type: 'list',
      message: 'Do you want test code coverage?',
      choices: [
        'yes',
        'no'
      ]
    }
  }
}

@pablopunk You can use when in prompts.
prompt syntax is based on https://github.com/SBoudrias/Inquirer.js/ .
example:
module.exports = {
  prompts: {
    ava: {
      type: 'list',
      message: 'Do you want to test your code with `ava`?',
      choices: [
        'yes',
        'no'
      ]
    },
    coverage: { // <= I don't want to ask this if answers.ava == 'no'
      when: ({ava}) => ava==='yes',
      type: 'list',
      message: 'Do you want test code coverage?',
      choices: [
        'yes',
        'no'
      ]
    }
  }
}

See also: https://github.com/takanakahiko/template-clasp/blob/7786b5e80584d4019421b0d4a722664c7e1b826a/sao.js#L27

@takanakahiko Awesome, thanks!

btw type: 'confirm' is better if the choices is either yes or no. 🤔

I forgot it! Thank you for the supplement!

@egoist @takanakahiko
Thanks to both! I actually have a list of choices now (not only “yes” and “no”) so I’ll keep using “list”. But I’ll keep that in mind, thanks

authors: egoist pablopunk takanakahiko

repo: saojs/sao