.env folde/file is not even getting created

when i create a project its not being created with env folder or dir
as im just having the
import environ
ModuleNotFoundError: No module named 'environ'
error.
when i try to run the project with
python3 -m manage runserver

Programming is like a puzzle, you need to find the correct piece to be able to continue. Unlike a jigsaw puzzle you have a search function. Searching with the term No module named 'environ' brings me an answer from 2016: https://github.com/cookiecutter/cookiecutter-django/issues/965#issuecomment-269779035
But we live in 2024 and we have AI, so I asked ChatGPT:

I'm running into the following error with django: No module named 'environ'

The error "No module named 'environ'" indicates that Python cannot find the environ module, which is typically part of the django-environ package. This package is used for managing environment variables in Django projects.
Here’s how to resolve the issue:

Install django-environ: If you haven’t installed it yet, you can do so using pip. Run the following command in your terminal:
pip install django-environ

Check your virtual environment: If you're using a virtual environment, make sure it is activated before you run the install command. You can activate it by navigating to your project directory and running:

On Windows:.\venv\Scripts\activate

On macOS/Linux:source venv/bin/activate

Verify the installation: After installation, you can verify that django-environ is installed by running:
pip show django-environ

Update your imports: Ensure that your import statement in your Django settings or any other module is correct:
import environ

Check for typos: Sometimes, the error might be caused by a simple typo in the import statement.

After performing these steps, try running your Django project again. If you continue to encounter issues, feel free to provide more details about your setup!
If this solve the problem, please, close this issue. If not, let me know so I can help you further.

I've tried everything and gave it a really long time. I've been trying and
troubleshooting that for almost 1 month from now
, asking ai models , yt tutorials , books , asking my friends , trying
different machines etc ...
but all seems to lead to nothing .
The documentation does not seem to be well user friendly
something is really out of the ordinary .
and a lot of things are not clear from more than one version and all are
different to the problem of what comes 1st,  problems the end or the
project and every time i need to install everything manually. and ain't the
end nothing works trust me when i say that i've literally tried
everything . I DID try everything and I'm just so frustrated . and wasted
my time on the project . so pls if u got any idea i really really need ur
help .

Two things:
The command should be:
python3 manage.py runserver
The -m argument means invoking a module called 'manage'. Be sure you are in the correct virtual environment.
Second: follow the issue template so we know what kind of OS and python version you are on.


addons/anti-affinity: Support soft/hard podAntiAffinity and topologyKey

Handy configuration of pod anti-affinities:

podAntiAffinity == 'soft' → preferredDuringSchedulingIgnoredDuringExecution (default)
podAntiAffinity == 'hard' → requiredDuringSchedulingIgnoredDuringExecution
Allow configuring topologyKey. For example: topology.kubernetes.io/zone (default: kubernetes.io/hostname)

This changes nothing for users  already using the add-on.

Awesome! lgtm, but giving @paulfantom a chance to review as well


[1.0.0] path is not working

I had this before: (set @propertyValue (concat index ".size") size) and I changed it to (set @propertyValue size path=(concat index ".size")) which I believe is the correct way. However, in the helper's code this line is executed:
path = maybePath !== undefined ? `${maybePath}.${namedPath}` : namedPath;

In which maybePath is not undefined - rather it is an empty string "" - so the variable path becomes .4.size which obviously blows up after that.

Ah yes, that does seem to be a logical error. Can you submit a PR to fix? If not I'll get to it soon, just need to fix and add a test for that case.


Fix for Flannel CNI

Reverse path filtering is a mechanism used by networking devices to check whether a receiving packet
source address is routable. When reverse path filtering is enabled, the host will first check whether
the source of the received packet is reachable through the interface it came in. If it is routable
through the interface in which it came, then the packet is accepted otherwise its dropped.
When using flannel CNI, we have to configure loose mode for reverse path filtering and this patch
automates this change.
rp_filter - INTEGER
0 - No source validation.
1 - Strict mode as defined in RFC3704 Strict Reverse Path
Each incoming packet is tested against the FIB and if the interface
is not the best reverse path the packet check will fail.
By default failed packets are discarded.
2 - Loose mode as defined in RFC3704 Loose Reverse Path
Each incoming packet's source address is also tested against the FIB
and if the source address is not reachable via any interface
the packet check will fail.
Current recommended practice in RFC3704 is to enable strict mode
to prevent IP spoofing from DDos attacks. If using asymmetric routing
or other complicated routing, then loose mode is recommended.
Source: https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
Signed-off-by: Sridhar Gaddam<EMAIL_ADDRESS>

This change is

If we are going to do this, we should very clearly call this out in the documentation. I think it’s ok otherwise.


utf-8 encode everything in sight

unicode characters need to be encoded as utf-8 otherwise bizzarely
'ascii' decoder is used. Go figure!

Tried this in production so must be the right fix :P


Add support for new clan chat system

Since the new clan system released this plugin is no longer useful for saving clan chat logs. Can we please have support for the new type as well?
https://oldschool.runescape.wiki/w/Clan

On the plans, haven't sat down to work on it yet

I see that you updated for the clan chat support, is this done?
Or is there extra work to be done?

@hex-agon Having remote support for the clan chat would be ideal.

Remote support still requires further investigation, this should work for logging locally but i haven't tested it. I'm in the middle of switching jobs and it has been taking a toll on me.

Added in de67eef17ec4d31b23185fa7e985e9ea1d946015 and c385050f912066cb41a2049f4e7c9bff8a2efe71

@theshapersarecoming pay attention to changes in the remote submission payloads, they're documented in the README


Types representation is not helpful

Currently the representations for types and enums aren't really helpful, especially while debugging:
>>> import strawberry
>>> @strawberry.input
... class Example:
...     arg: str
...
>>> Example
<class '__main__.Example'>
>>> x = Example("abc")
>>> x
input Example {
  arg: String!
}

I think we should move the current representation to be used only when using the class and not an instance, for the instances we can keep what dataclasses is giving us:
>>> @dataclasses.dataclass()
... class Example:
...     arg: str
...
>>> Example("abc")
Example(arg='abc')

This isn't really possible to do using a class decorator, since customizing the repr for a type involves metaclasses and you can't change that after the type has been created. There's a few alternatives here:

Introduce a metaclass + base class instead of the strawberry.type decorator, which would let you do this. Changes how you use the library, diverges from how you expect dataclasses to work, probably not worth it.
Use dataclasses' default repr behavior, and add a repr to the actual GraphQL type, i.e. repr(Example.field). Requires either monkeypatching or extending graphql types, or upstreaming this behavior to graphql-core-next.
Remove all custom repr behavior.

I'd personally lean towards #3, or maybe #2 if upstream would be interested in changing __repr__ on types.

We could have a custom print that works with our types, I don't think graphql-core will want to change behaviours :)
So I'd do 3 plus a utility function that knows how to print our types. I think in future we will probably customise the printer anyway (to support schema directives), so I think it is fine using a custom function :)

I've found a way to do this, but is not that nice: https://stackoverflow.com/a/56123966, but for now I'll remove the custom repr :)


Support for capturing screen + audio

Screen capture was added in #290 on Sep 29th, 2018 (via #289)
This should be possible via RecordRTC (see https://www.webrtc-experiment.com/RecordRTC/)
Any feedback on this approach? If there's any more details / limitations I'm unaware of please let me know!

Coverage decreased (-0.5%) to 76.211% when pulling 9ea48e3097f663d2c428a535c92b61565478f3c0 on peergradeio:screen-audio into 55e62c2ef28c3b279299e3e733b8ab10f0528cba on collab-project:master.

that's cool, thanks for the pr @tony! I will test and check it out.

@thijstriemstra Good timing!
Yes interested in what would need to be added (if anything else).

Off topic: If I wanted to include our own fork of videojs-record (link) to try these changes in a current project, what would be the easiest workflow?

the 'audio_screen' name is a little awkward, maybe we can come up with something better. About the workflow, not sure, copy/paste it on top of  node_modules/videojs-record/dist/videojs-record.js would work but hard to maintain. Not sure what other mods you made but this PR and release would probably happen today, certainly this week.

@thijstriemstra As for naming conventions, I agree AUDIO_SCREEN is strange but it conformed with AUDIO_VIDEO.  To me SCREEN_AUDIO seems most intuitive/understandable.
Also SCREEN_WITH_AUDIO + VIDEO_WITH_AUDIO would be a refactor I can add.
Thoughts on that?
Regarding developing/testing on a live project: I'm trying npm link but it's an issue. The bigger problem I have is it requires node v12 (due to node-sass) and my main project breaks with node 12. Lowering the required node-sass version may help.

yes lower node-sass version. I'll get back to you on this PR.

can you also add an example and update the README docs for this feature? Also need to update the wiki Supported Browsers page (which i can do).

@thijstriemstra Yes
I'm also updating the tests atm
What would AUDIO_SCREEN do for icons? Is av-perm okay?

@thijstriemstra Trying the name sv-perm (so tests are explicit and it's not mixed up with av-perm, or else it'd be a potential false positive) with the font-awesome icon av-perm uses

I think I would keep the same screen icon, unless there's a icon for screen + a mic, but I doubt it.

@thijstriemstra Done in 65f11cc

Updating tests now.

if tests run fine locally, don't worry about travis, never figured out why it's failing there. One day..

@thijstriemstra Got it. Also fixing local tests as well (Found a few bugs, fixed in rebases)
Will let you know when it's ready to check

More notes, this doesn't seem to work out of the box with getDisplayMedia
Digging into the stuff required now.
https://github.com/muaz-khan/RecordRTC/blob/06c3d158a0b6dfc4b12679b951a43c4d80f180aa/index.html#L704
https://github.com/muaz-khan/RecordRTC/blob/06c3d158a0b6dfc4b12679b951a43c4d80f180aa/index.html#L1525

Yikes. Also note that any this library uses the https://github.com/muaz-khan/RecordRTC/blob/master/dev/MRecordRTC.js class of RecordRTC (might needs to be updated as well..?).

Hehe, you're the best @tony . Just looked for a way to record screen with audio in videojs. Hope for a merge soon. ;)

@jarkt @thijstriemstra I will update here when it's ready to check, this may take me into tomorrow morning by me (I'm central timezone)

@thijstriemstra Ready to look at now
I QA'd this by hand on Ubuntu with Chrome Version 75.0.3770.100 (Official Build) (64-bit) and firefox 68.0 (64-bit).
The example is in examples/audio-screen.html

@thijstriemstra Updated
Some of the refs I responded with may not be valid since I squashed/fixed up

ps. what browsers is this supported in? Trying to update https://github.com/collab-project/videojs-record/wiki/Browser-support

@thijstriemstra Chrome and Firefox both support this (I can verify because I tested this by hand)
I don't have safari unfortunately.
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia - It's not supported Safari and IE.

@thijstriemstra Can this get a package release on NPM?

@tony I'll test on Safari later. v3.8.0 will be released as soon as #381 is fixed, which I'm working on now.

@thijstriemstra Updated the wiki page for https://github.com/collab-project/videojs-record/wiki/Browser-support

@thijstriemstra

v3.8.0 will be released as soon as #381 is fixed, which I'm working on now.

Look forward to it!

@thijstriemstra Is this something we can expect to be ready today? The reason I ask is I have a local project I'm using these changes.   I'm trying to see if I need to publish our own package to npm

yea today.


How to access methods?

Hello , I am a beginner and I want to create a mini radio for learning purposes, here is what I've done so far:
 const [playerIndex, setPlayerindex] = useState(0)
    const [currentRadio, setcurrentRadio] = useState(Stations[playerIndex])
    const [playing, setplaying] = useState(false)
    const [volume, setvolume] = useState(1.0)
    const [seek, setseek] = useState(0.0)
    const radiolist = [...Stations]

    useEffect(() => {
        setcurrentRadio(Stations[playerIndex])
    }, [playerIndex])

    function playradio() {
        setplaying(!playing)
    }

    function nextRadio() {
        playerIndex !== 9 ? setPlayerindex((prevState) => prevState + 1) : setPlayerindex(0)

    }

    return (
        <div>
            <ReactHowler html5={true} playing={playing} volume={volume} src={currentRadio}/>
            <button onClick={playradio}>{playing ? 'pause' : 'play'}</button>
            <button onClick={nextRadio}>next radio</button>
            <input
                type='range'
                min='0'
                max='1'
                step='.02'
                value={volume}
                onChange={e => setvolume(parseFloat(e.target.value))}
            />
        </div>
    )

What I don't understand is, I really don't know how to get duration of the source that running. I've checked the example page but I don't get it . Not a real issue and got nowhere to ask, so here i am creating a new issue :) Thank you.

@dav1lex I'm the original author of this library but I haven't touched this for years.
@Stenerson has been handled everything ever since.
This library was written before hooks were even a thing and class components was the way to go.
From my vague memory, it looks like that you need to pass a ref to access to the howler instance just like the example website.

@thangngoc89 Thank you for your reply, I decided to switch to clas components.


Configurable media compression

As a media creator on Nostr it would be nice to have options of how much the client compresses media (photo and/or video) before it uploads it.
Some media might be high quality photo while others might be low quality memes. It would be nice to be able to change media compression for different use cases.
I experimented with high quality SLR photos, lower quality phone photos and 1080p/4k videos. I compared visually the degradation and difference from original.
Below are the new suggested compression levels for photos and videos:
Photos - With a high quality SLR photo of 16.7MB

LOW = 40 resulting in 107KB
MEDIUM = 60 resulting in 146KB
HIGH = 90 resulting in 341KB
Old default was 80

Videos - With original 1080p phone video size: 16.7MB

LOW = VERY_LOW resulting in 1.1MB
MEDIUM = MEDIUM resulting in 2.8 MB
HIGH = HIGH resulting in 3.8 MB
Old default was MEDIUM

My first bigger change involving UI so feel free to comment on everything!

[x]  Make MediaCompressor configurable
[x]  Add Compression Level slider to UI
[x]  Propagate Compression level setting from UI to MediaCompressor
[x] Uploading from VideoScreen
[x]  Localise all added text
[x]  Refactor for cleaner code (use integer instead of float, use Enum instead of integer ASAP in the code)
[x]  Investigate other media upload areas for regression (eg Nip96Uploader)
[x]  Manual testing

This is super nice! It would be nice if we could know the limit of the server and then automatically default for the mode that will make it fit. But I am not sure if the lib gives us the expected size after compression

It seems the lib returns size after compression. We would have to keep compressing the original multiple times until result is below certain size and only then posting.
I feel like that's a different functionality than this "selecting compression level" as compression level would be ignored if user wants to squeeze media until it fits upload server.

It seems the lib returns size after compression. We would have to keep compressing the original multiple times until result is below certain size and only then posting.
I feel like that's a different functionality than this "selecting compression level" as compression level would be ignored if user wants to squeeze media until it fits upload server.

Interesting. It's making me think of probably using the compression level as part of some UploadServerProperties state(or any other method), where the server and the (finally accepted) compression level would be stored in and tracked, so as to default to it when next the user chooses that server. But that complicates things.
On another note, now I am starting to think if it would be a nice idea for upload servers to advertise size limits/tiers to clients. It may potentially help a lot with this.

Also, @realiefan has been doing some experiments with https://github.com/iefanx/compresspro in Flutter, which is using https://github.com/jonataslaw/VideoCompress flutter lib, which is a wrapper for https://github.com/deepmedia/Transcoder
Here is the part of the code that sets up the Transcoder for compression
https://github.com/jonataslaw/VideoCompress/blob/c8820bde3ecce4041f33bfcf24cc89730023188b/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt#L78
He seemed to be able to get better compressions with that lib.

Here is the part of the code that sets up the Transcoder for compression https://github.com/jonataslaw/VideoCompress/blob/c8820bde3ecce4041f33bfcf24cc89730023188b/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt#L78
There are a lot more options than the current lib we use

This would be really fun to do as a follow-up. I still have my original photos and videos that were used as a reference.. and I still have the many converted versions (in various qualities).

Ok, I think that's it for version 1.
This was really challenging. First time that I was changing Views, View Models and adding UI elements.

Edit message

New post dark

New post from Video screen dark

New post from Video screen LIGHT

New post Light

Super nice!

@davotoula do you want to add an option for no compression?


v2.1.0 add 'methods' option & fix method binding

Coverage remained the same at 100.0% when pulling 735cf2a2116d411d86a5807619958fc74572f105 on smcatala:master into b7439d781f25704f2a528d2e08c622c9b006d052 on ZenyWay:master.


Add automated ci for cptd plus

 yarden.zamir on Discord says

Want to build and release it and also create a pr to the modpack automatically

 yarden.zamir on Discord says

kikis2111 I'm writing that now, what are you runnig in terminal (or would run) to build everything into the jar for release? And what folders does it go to?

 kikis2111 on Discord says

you will need to run the gradle task 'build/jar' in build.gradle file

 yarden.zamir on Discord says

so ./gradlew buildJar should be enough?

 kikis2111 on Discord says

i think ./gradlew jar

 yarden.zamir on Discord says

Alright, done, you need to add the following
repository variables:

MODRINTH_ID
CF_ID

repository secrets:

MODRINTH_TOKEN
CF_API_TOKEN

 yarden.zamir on Discord says

I don't have permission to add them so do it and lets give it a try

 yarden.zamir on Discord says

kikis2111

 yarden.zamir on Discord says

Currently what it does is -> builds the mod and publishes to curseforge and modrinth and then makes a pr on ptd modpack to update to the new version

 kikis2111 on Discord says

oh wow cool

 yarden.zamir on Discord says

I'm one of those weird people who enjoy ci somehow

 kikis2111 on Discord says

haha

 kikis2111 on Discord says

im sure its satisfying

 kikis2111 on Discord says

what values do i put for those tokens

 yarden.zamir on Discord says

The proect ids in both cases don't remember how you get the one from cf but in modrinth it's on the main page

 yarden.zamir on Discord says

Then the tokens, each of them have a developer options section with tokens you can generate

 yarden.zamir on Discord says

https://modrinth.com/settings/pats

 yarden.zamir on Discord says

https://legacy.curseforge.com/account/api-tokens

 yarden.zamir on Discord says

like that

 yarden.zamir on Discord says

 yarden.zamir on Discord says

518606

 kikis2111 on Discord says

ok

 kikis2111 on Discord says

what permissions?

 kikis2111 on Discord says

modrinth: mrp_wNzxgO6FTGE1s5eoySCk1Cgm9TCcCKwqIuwVZaXgDzKR1mXmuKFpEmPB2MYz

 yarden.zamir on Discord says

if you sent it here make sure to revoke it and make a new one

 kikis2111 on Discord says

ohk

 yarden.zamir on Discord says

Don't remember which ones

 kikis2111 on Discord says

i private messaged you

 kikis2111 on Discord says

i gave it all read and write but no delete perms

 yarden.zamir on Discord says

Sounds good

 kikis2111 on Discord says

so how do i run the ci ?

 yarden.zamir on Discord says

Once the vars exist you can merge and we'll see what breaks

 yarden.zamir on Discord says

They run on every commit to main

 yarden.zamir on Discord says

And they have to be in main to run

 yarden.zamir on Discord says

getting an error when publishing

 yarden.zamir on Discord says

Warning: 🗿 You didn't specify any targets, your assets have not been published

 yarden.zamir on Discord says

https://github.com/jasperalani/ptdye-plus/actions/runs/7444003524/job/20249716654

 yarden.zamir on Discord says

not sure why

 yarden.zamir on Discord says

did you add the tokens to secrets?

 kikis2111 on Discord says

I only added the variables, that's weird

 kikis2111 on Discord says

Ok try again I added them properly now

 yarden.zamir on Discord says

Error: Error: Failed to upload file: 401 (Unauthorized, {"error":"unauthorized","description":"Authentication Error: You don't have permission to upload this version!"})
I think the token might not be good in both places?

 yarden.zamir on Discord says

Error: Error: Failed to upload file: 403 (Forbidden, {"errorCode":1006,"errorMessage":"You do not have permission to manage files for this project."})

 yarden.zamir on Discord says

There is content in the token secret and there wasn't before but both modrinth and cf are not happy witht their tokens

 kikis2111 on Discord says

hm

 kikis2111 on Discord says

ok maybe wrong permissions i did

 yarden.zamir on Discord says

Try new ones and make an empty commit to test

 kikis2111 on Discord says

yeah im trying to fix it now

 kikis2111 on Discord says

where is GITHUB_TOKEN

 kikis2111 on Discord says

defined?

 kikis2111 on Discord says

apparantly github is sending an invalid response to modrinth which is causing the authentication error from them

 kikis2111 on Discord says

ah its automatic

 kikis2111 on Discord says

https://github.com/Kir-Antipov/mc-publish/issues/49

 yarden.zamir on Discord says

Ah ok, then we can replace GITHUB_TOKEN with GH_TOKEN which you will define manually

 yarden.zamir on Discord says

That should fix it

 kikis2111 on Discord says

ah that issue is actually a tiny bit different

 kikis2111 on Discord says

doesnt seem to solve it

 kikis2111 on Discord says

from the error message it seems that the modrinth api key doesnt have enough permissions

 kikis2111 on Discord says

but i have everything selected

 yarden.zamir on Discord says

Maybe you pasted it with a newline at the end?

 kikis2111 on Discord says

dont think so i re made it three times

 kikis2111 on Discord says

and the same error happening with the curseforge apiu

 kikis2111 on Discord says

You do not have permission to manage files for this project

 kikis2111 on Discord says

seems weird both have the same error

 yarden.zamir on Discord says

That makes no sense yea, maybe there is something mroe basic we are missing

 yarden.zamir on Discord says

An idea. Try to take the description update section and execute it locally

 yarden.zamir on Discord says

With your token

 yarden.zamir on Discord says

      curl -X PATCH \
        -H "Authorization: ${{ secrets.MODRINTH_TOKEN }}" \
        -H "Content-Type: application/json" \
        -d "$(cat README.md | jq -R -s '{body: .}')" \
        https://api.modrinth.com/v2/project/${{ vars.MODRINTH_ID }}

 yarden.zamir on Discord says

      curl -X PATCH \
        -H "Authorization: ${{ secrets.MODRINTH_TOKEN }}" \
        -H "Content-Type: application/json" \
        -d "HELLO" \
        https://api.modrinth.com/v2/project/wFv8yCxM

 yarden.zamir on Discord says

Just replace the secret part and it should work

 yarden.zamir on Discord says

That way we issolate the issue at least

 kikis2111 on Discord says

ok

 yarden.zamir on Discord says

You'll need curl

 yarden.zamir on Discord says

I'll try that too actually, i have perms on the project too i think

 yarden.zamir on Discord says

Same for me

{"error":"unauthorized","description":"Authentication Error: You do not have permission to edit this project!"}

 yarden.zamir on Discord says

       curl -X PATCH \
        -H "Authorization: $MODRINTH_TOKEN" \
        -H "Content-Type: application/json" \
        -d '{"body": "HELLO"}' \
        https://api.modrinth.com/v2/project/wFv8yCxM

The body needs to be json like this. But still unauthorized

 kikis2111 on Discord says

do i need to authorize an application

 kikis2111 on Discord says

https://modrinth.com/settings/authorizations

 yarden.zamir on Discord says

Don't think so

 yarden.zamir on Discord says

That's a new feature

 yarden.zamir on Discord says

not related

 yarden.zamir on Discord says

You are using a PAT right?

 yarden.zamir on Discord says

 kikis2111 on Discord says

yeah

 yarden.zamir on Discord says

hm.

 kikis2111 on Discord says

weird that it doesnt work in the command line even

 yarden.zamir on Discord says

Can you send dm me your token?

 kikis2111 on Discord says

yeah

 kikis2111 on Discord says

if i use an random string for the token it says invalid credentials

 kikis2111 on Discord says

so were getting to the right place just the api key is not working

 yarden.zamir on Discord says

Yea but that could be hash verification or something

 yarden.zamir on Discord says

Same thing. Maybe because it's unlisted?

 kikis2111 on Discord says

wait a second

 yarden.zamir on Discord says

id?

 yarden.zamir on Discord says

fuck

 kikis2111 on Discord says

we using id from your project

 kikis2111 on Discord says

lol

 yarden.zamir on Discord says

sadge

 yarden.zamir on Discord says

Was the same for cf?

 yarden.zamir on Discord says

Systematic stupidity lol, sorry

 kikis2111 on Discord says

yeah

 kikis2111 on Discord says

lol all good

 kikis2111 on Discord says

happens to the best of us

 yarden.zamir on Discord says

Wait I still can't update the description with curl

 yarden.zamir on Discord says

Can you?

 yarden.zamir on Discord says

Now it says Invalid Authentication Credentials

 kikis2111 on Discord says

it worked for me

 kikis2111 on Discord says

oh sorry i made a new key

 kikis2111 on Discord says

yeah the action is working now

 yarden.zamir on Discord says

Ah alright, makes sense then

 yarden.zamir on Discord says

nice

 kikis2111 on Discord says

https://github.com/jasperalani/ptdye-plus/actions/runs/7450586541

 yarden.zamir on Discord says

 kikis2111 on Discord says

noice

 yarden.zamir on Discord says

Did I put the number first?

 kikis2111 on Discord says

ah i dont mind

 yarden.zamir on Discord says

Now lets see about the automated pr

 kikis2111 on Discord says

i just push to github

 yarden.zamir on Discord says

ye

 yarden.zamir on Discord says

easy

 kikis2111 on Discord says

and i need to manually increase the version in the readme

 kikis2111 on Discord says

in the readme.md

 kikis2111 on Discord says

also i want to put the jar file in the github release too

 kikis2111 on Discord says

i see you commented out the bit that does that?

 kikis2111 on Discord says

damn this is really cool thanks for setting it up

 kikis2111 on Discord says

ive never really used github actions so didnt know how it all worked

 kikis2111 on Discord says

usually use jenkins

 yarden.zamir on Discord says

Made the release and minecraft version dynamic

 yarden.zamir on Discord says

Alright now to figure out the automated pr, seems it's not yet working

 kikis2111 on Discord says

yeah im trying to get it working

 yarden.zamir on Discord says

No problem! Was very similar to the modpack ci

 yarden.zamir on Discord says

Github actions is definitely prettier than Jenkins

 kikis2111 on Discord says

its all working!

 yarden.zamir on Discord says

It is? I don't see a pr

 kikis2111 on Discord says

oh wait last bit failed

 kikis2111 on Discord says

what does it need the pr for?

 yarden.zamir on Discord says

So that we update the mod in the modpack

 yarden.zamir on Discord says

Then once there is an update I basically need to press accept and it goes in the pack

 kikis2111 on Discord says

oh

 kikis2111 on Discord says

i see

 yarden.zamir on Discord says

  Error: Repository 'jasperalani/create-prepare-to-dye' is not a fork of 'jasperalani/create-prepare-to-dye'. Unable to continue.

 yarden.zamir on Discord says

needs to be

  target_modpack_repo: "yarden-zamir/create-prepare-to-dye"

 kikis2111 on Discord says

yeah i changed that

 yarden.zamir on Discord says

Alright this is the run

 yarden.zamir on Discord says

https://github.com/jasperalani/ptdye-plus/actions/runs/7450784210

 yarden.zamir on Discord says

first try here we go

 yarden.zamir on Discord says

Error: Repository 'jasperalani/create-prepare-to-dye' is not a fork of 'yarden-zamir/create-prepare-to-dye', nor are they siblings. Unable to continue.

 kikis2111 on Discord says

yeah wtf

 yarden.zamir on Discord says

wut

 kikis2111 on Discord says

maybe its the capitalization

 kikis2111 on Discord says

im rerunning

 kikis2111 on Discord says

what the flip

 kikis2111 on Discord says

Error: Repository 'jasperalani/create-prepare-to-dye' is not a fork of 'Yarden-zamir/create-prepare-to-dye', nor are they siblings. Unable to continue.

 yarden.zamir on Discord says

hm

 kikis2111 on Discord says

trying again with perfect capitalization

 yarden.zamir on Discord says

I'll check usage examples

 kikis2111 on Discord says

k

 kikis2111 on Discord says

ah that was it

 kikis2111 on Discord says

all successful now

 kikis2111 on Discord says

first successful run : https://github.com/jasperalani/ptdye-plus/actions/runs/7450877796

 kikis2111 on Discord says

hm but it didnt actually create a pr

 yarden.zamir on Discord says

really? specifically this github action is case sensitive?

 kikis2111 on Discord says

yeah the repo names are case sensitive

 engineersmith_4628 on Discord says

<:betsy:1175697772880609320>

 yarden.zamir on Discord says

hm.. I see no errors

 engineersmith_4628 on Discord says

that's what it wants you to think

 yarden.zamir on Discord says

lol

 engineersmith_4628 on Discord says

it doesn't build and push them to artifacts?

 yarden.zamir on Discord says

fatal: couldn't find remote ref create-pull-request/patch
Pull request branch 'create-pull-request/patch' does not exist yet.
/usr/bin/git checkout --progress -B create-pull-request/patch a4211671-9624-42d2-a57b-48d258e91889 --
Switched to a new branch 'create-pull-request/patch'
/usr/bin/git rev-list --right-only --count main...create-pull-request/patch
0
Branch 'create-pull-request/patch' is not ahead of base 'main' and will not be created
/usr/bin/git rev-parse HEAD
0f4e63e54e8f9a2df66f6e83f0c10fce4769e25a
/usr/bin/git branch --delete --force a4211671-9624-42d2-a57b-48d258e91889
Deleted branch a4211671-9624-42d2-a57b-48d258e91889 (was 0f4e63e5).
/usr/bin/git checkout --progress main --
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

 yarden.zamir on Discord says

This is somethign

 yarden.zamir on Discord says

You mean the jars? It does

 yarden.zamir on Discord says

Oh you mean on the release, yea we can turn that back on

 yarden.zamir on Discord says

But lets solve this first

 yarden.zamir on Discord says

Ah found it

 yarden.zamir on Discord says

It's the packwiz commands

 engineersmith_4628 on Discord says

Oh; idk if it is a similar issue but I'm having a caching issue when building the jar on my machine. It doesn't always include the up-to-date assets 🙄 you have no idea how annoying it is. Resource pack? Works, copy and past into resources in the project. NO SORRY THAT DOESN'T EXIST UWU

 yarden.zamir on Discord says

Probably a different issue. Maybe some gradle hashing stuff? Need to force invalidate it or smthn

 yarden.zamir on Discord says

Good to know that it doesn't make a pr if there is no changes

 yarden.zamir on Discord says

Packwiz doesn't respect exit code ethics

 yarden.zamir on Discord says

Rude

 yarden.zamir on Discord says

One step forward

 yarden.zamir on Discord says

But no pr still

 engineersmith_4628 on Discord says

My current solution is to just delete the build folder before building. It seems to work™

 yarden.zamir on Discord says

I think you can do that

 yarden.zamir on Discord says

Or make a build-with-resources step

 yarden.zamir on Discord says

that does both

 yarden.zamir on Discord says

Alright, this time it's gonna work first try, i'm telling you

 yarden.zamir on Discord says

https://github.com/jasperalani/ptdye-plus/actions/runs/7451052659

 yarden.zamir on Discord says

btw I seperated the builds for cf and mr in case we need seperate builds in future and to speed things up partially

 kikis2111 on Discord says

i like the way you think

 yarden.zamir on Discord says

Thanks, it's the best way!

 yarden.zamir on Discord says

(It didn't work)

 yarden.zamir on Discord says

PLEASE TELL ME WHO YOU ARE

 kikis2111 on Discord says

???

 kikis2111 on Discord says

error: Terminal is dumb, but EDITOR unset

 yarden.zamir on Discord says

lol i love git errors

 yarden.zamir on Discord says

usually when you git commit without a message they give you interactive session for writing message

 yarden.zamir on Discord says

they do it by opening $EDITOR

 kikis2111 on Discord says

ah

 yarden.zamir on Discord says

so if you have
export EDITOR=POTATO

It will try to use that to write the mssage

 kikis2111 on Discord says

i see

 yarden.zamir on Discord says

Token is not allowed to pr, I think we need custom token for that

 yarden.zamir on Discord says

automatic token is only repo scoped

 kikis2111 on Discord says

um

 kikis2111 on Discord says

there was an option in settings to allow actions to create pr's

 kikis2111 on Discord says

check in github settings

 yarden.zamir on Discord says

only you can do that, but I don't think they mean prs in other repos

 yarden.zamir on Discord says

And a custom token worked

 kikis2111 on Discord says

you or i need to make it

 yarden.zamir on Discord says

You

 yarden.zamir on Discord says

Well i can make it too, any token will work basically

 yarden.zamir on Discord says

But you need to add it

 yarden.zamir on Discord says

I'll change the name in the file to GH_TOKEN

 kikis2111 on Discord says

ok

 kikis2111 on Discord says

ok try now

 yarden.zamir on Discord says

https://github.com/jasperalani/ptdye-plus/actions/runs/7451270095

 yarden.zamir on Discord says

Ah i used the token for everything, sec

 yarden.zamir on Discord says

Ah you uncommented the upload to github? Seems it also wants a special token then?

 engineersmith_4628 on Discord says

Do you know where the location for the task itself is? build.gradle just seems like config for the build but not the actual tasks from my 10-minute understanding of reading docs

 yarden.zamir on Discord says

From what I remember is the build.gradle

 yarden.zamir on Discord says

Example from chatgpt
task hello {
doLast {
println 'Hello, Gradle!'
}
}

 engineersmith_4628 on Discord says

Yeah; there's nothing actually labeled as task

 yarden.zamir on Discord says

could be it's all defaults

 yarden.zamir on Discord says

or there is another way to add tasks

 kikis2111 on Discord says

wait i thought that was working already

 engineersmith_4628 on Discord says

Ooo

 engineersmith_4628 on Discord says

I made the build error - progress. BBL

 yarden.zamir on Discord says

Found the issue, the env var for gh cli is called GH_TOKEN and I did find and replace

 yarden.zamir on Discord says

remote: Permission to jasperalani/Create-Prepare-to-Dye.git denied to jasperalani.
fatal: unable to access 'https://github.com/jasperalani/Create-Prepare-to-Dye/': The requested URL returned error: 403

 yarden.zamir on Discord says

I hate permissions so much

 yarden.zamir on Discord says

You probably need write access to that repo in the token kikis2111

 kikis2111 on Discord says

ah ok

 yarden.zamir on Discord says

I misled you earlier

 yarden.zamir on Discord says

When you do make an empty commit

 kikis2111 on Discord says

i didid

 kikis2111 on Discord says

reran the failed task

 yarden.zamir on Discord says

I think it remembers the context when rerunnig

 kikis2111 on Discord says

AYYY

 kikis2111 on Discord says

yozzaaa

 kikis2111 on Discord says

we coders

 yarden.zamir on Discord says

Yay!

 yarden.zamir on Discord says

such good at codes

 kikis2111 on Discord says

leet code men

 yarden.zamir on Discord says

I never leetcoded

 kikis2111 on Discord says

noice one

 kikis2111 on Discord says

im gonna go through and make little changes but its working

 yarden.zamir on Discord says

<:thumbsup:1191476503750397982>

I believe this is all locked down now, so I'm closing this issue. Reopen if needed.


Increase unit test coverage -- support/notifications

We need to increase this coverage. In order to do so, it will be necessary to decouple the MUX Router code from the relevant business logic. The business logic should be unit testable independently of infrastructure dependencies.

Closing due to inactivity


[Bug] rootPasswordSecretKeyRef race condition (provided Secret / Generated by operator)

Documentation

[x] I acknowledge that I have read the relevant documentation.

Describe the bug
the spec.rootPasswordSecretKeyRef has two roles:

use to get the initial root password
use as Secret name which is generated by the operator, if missing

When the MariaDb CR is used in same Kustomization as a password generator (ESO External Secret Operator, which generates a Secret), the result is not predictable. Sometimes ESO generates the Secret before MariaDb operator, sometime ESO is faster.

Expected behaviour

Steps to reproduce the bug

...
...
...

Debug information

Related object events:

kubectl get events --field-selector involvedObject.name=<mariadb-resource-name>
kubectl get events --field-selector involvedObject.name=<backup-resource-name>
kubectl get events --field-selector involvedObject.name=<restore-resource-name>

mariadb-operator logs. Set the --log-level to debug if needed.

Environment details:

Kubernetes version: [Version number]
Kubernetes distribution: [Vanilla, EKS, GKE, AKS, Rancher, OpenShift, k3s, KIND...]
mariadb-operator version: [Version number]
Install method: [helm, OLM, or static manifests]
Install flavor: [minimal, recommended, or custom]

Additional context

Hey @poblin-orange ! Thanks for reporting.
@K-MeLeOn reported a very similar issue a while ago:

https://github.com/mariadb-operator/mariadb-operator/issues/340

It is the same root cause: If the operator doesn't find the Secret related to the root password by the time it reconciles, it creates one. See the Secret reconciler logic for further detail
https://github.com/mariadb-operator/mariadb-operator/blob/7fe204fb7baa914fa5e2c2bdafd922b89e1c5b7b/pkg/controller/secret/controller.go#L46
If the Secret is created asynchronously by an external operator (ESO or SealedSecrets), it can happen that it is not created by the time mariadb-operator kicks in.
We could introduce a new generate field in the Secret references to indicate that we don't want the mariadb-operator to generate a random Secret, instead, we will rely on an external controller:
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb-galera
spec:
  rootPasswordSecretKeyRef:
    name: mariadb
    key: root-password
    generate: false

All the Secret references fields are optional, if not provided they will default to:
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb-galera
spec:
  rootPasswordSecretKeyRef:
    name: mariadb
    key: root-password
    generate: true

In order to maintain backwards compatibility, if the user provides only the Secret reference:
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb-galera
spec:
  rootPasswordSecretKeyRef:
    name: mariadb
    key: root-password

the new generate field will also be defaulted to true:
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb-galera
spec:
  rootPasswordSecretKeyRef:
    name: mariadb
    key: root-password
    generate: true

@poblin-orange what do you think?
@K-MeLeOn your input here will be very much appreciated.

Just to add some context. Integrating with external-secrets-operator and sealed-secrets  is crucial, as it enables potential GitOps uses cases:

Configure a MariaDB with a root password provided as a SealedSecret and reconciled as a Secret by sealed-secrets
Configure a MariaDB with a root password provided as a ExternalSecret which has a reference to a Vault key and it is reconciled into a Secret by ESO

@mmontes11 yes, a flag to configure would be perfect for our use cases, letting Gitops config be explicit about Secret ownership !

@poblin-orange If it can help you, if you're using ArgoCD you can configure the deployment like that :
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
  name: [...]
  namespace: [...]
  annotations:
    # Before MariaDb to avoid password generation
    argocd.argoproj.io/sync-wave: "-10"
spec:

I agree the operator CR must be as explicit as possible, avoiding any "side effect" tricks, which induces subtle errors (gitops behind an example catching the error, could be hidden in non gitops contexts).

@K-MeLeOn not using Argo, but FluxCD. To workaround, need to define a separate Kustomization with dependsOn.

Great, it seems like all of us are in agreement. I will try to squeeze this into v0.0.28.
One more thought: Generating passwords should probably be opt-in by providing generate = true. This basically means that the GitOps use cases we mentioned should work by default with the current API. This decision will be reflected in documentation and in the release notes of course!

Supported via https://github.com/mariadb-operator/mariadb-operator/pull/598
Stay tuned for v<IP_ADDRESS>!


Select breaks without options array

So, if I use <Select></Select>:
I get:

But if I use <Select options={[]}></Select> it works.
However, I think it's a bug.

Sorry, I was using an older version.


[HOLD for payment 2024-07-25] Add support for "Reuse existing connection" flow for NetSuite

@mananjadhav @shubham1206agra
One part of the design doc we missed was the Reuse Existing Connection flow.
Luckily, this has been implemented for Intacct, and the API was built out here so it be relatively simple to implement
https://github.com/user-attachments/assets/dd12b3aa-5082-4f22-93ef-a57964f5ce87

Part of project work from @mananjadhav so closing this out


Change about.stilic.ynh.fr to stilic.ynh.fr

Important: Please read all instructions carefully.
Select the appropriate category for what this PR is about
This PR is:

[ ] Adding a new domain
[x] Updating existing domain size
[x] Changing domain name
[ ] Removing existing domain from list
[x] Website code changes
[ ] Other not listed

Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

- domain: stilic.ynh.fr
  url: https://stilic.ynh.fr/
  size: 60
  last_checked: 2021-09-01

GTMetrix Report: https://gtmetrix.com/reports/stilic.ynh.fr/L8M6jlw8/

Fixed the date.
Just a heads up this isn't a website code change since this option is used for the change of 512kb.club site.

Ok!


The question about RefineDet 320

Hello. I want to ask the map about RefinDet. If it can achieve the 80.0% as the paper. If not ,what's it? Thanks and wish your reply.

I want to know the if itachieve the 80.0% too. Has anyone ever tested it?

+1

only 77.5% map


Make redpanda-cluster service ports dynamic

https://github.com/redpanda-data/helm-charts/blob/899400cd9fdbed3ea398d7db6d1ff78856c2bcc0/redpanda/templates/services.cluster.yaml#L37

This is a bug since they user could define a port correctly in values.yaml but it still wouldn't work as expected if the listener where the port is defined isn't the first in the list.

fixed in #122


Derivation fails, seems to be location-sensitive

Issue description
A derivation (to build CGAL) seems to be sensitive to where it is located in the file system.
Context: I'm trying to patch CGAL (with the changes below) so that I can proceed with my work before its next release is published.
https://github.com/CGAL/cgal/pull/3876
Steps to reproduce
git clone git@github.com:mkovacs/repro-cgal-nef3-triangulation-bug.git
cd repro-cgal-nef3-triangulation-bug
nix-build

The subfolder CGAL contains the same derivation as nixpkgs:
https://github.com/mkovacs/repro-cgal-nef3-triangulation-bug/blob/46237630df558e77005a850ed2e109c74448bfba/CGAL/default.nix
https://github.com/NixOS/nixpkgs/blob/01e2e11ea5fb67f028abc01851772d3baba3a4b3/pkgs/development/libraries/CGAL/default.nix
Technical details

system: "x86_64-linux"
host os: Linux 4.4.0-17763-Microsoft, Ubuntu, 18.04.1 LTS (Bionic Beaver)
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.2.1
channels(mate): "nixpkgs-19.03pre167327.11cf7d6e1ff"
nixpkgs: /home/mate/.nix-defexpr/channels/nixpkgs

It is not location-sensitive or anything, if I clone the project and modify CGAL/default.nix as it was per 4.13 your project builds without any errors. So it has to be changes made in 4.14 that influence the cmake build and cause it to report those double paths. That's all the help I can give, good luck!


Ensure Newlines at Ends-of-Files

Majority of the source files have a newline at EOF, but a significant minority do not.
This PR should help with the “Be consistent” principle.

I'm going to have to do some tests with this one. Changing LICENSE is used in automatic formatting so not sure if that will have any negative side affects.

I built it, ran the test suite successfully, and tested it out on a couple of APKs. Seems to work fine.
Can you please explain that part about LICENSE? I didn’t quite get it.

Can you please explain that part about LICENSE? I didn’t quite get it.

We have some commands that set licenses on files.
./gradlew licenseFormatMain
./gradlew licenseFormatTest

It knows what license to add based from that file, but since you added a newline - will this command add newlines to every file?

Thanks, but not going to go forward with this one. I don't really want to spam a commit to add missing newlines especially when I don't have anything to enforce it at this time. The next time I look into automation for cs - I'll visit this.


Migrate from using a GH personal access token to a GH app

Issue #, if available:  https://github.com/aws-controllers-k8s/community/issues/1565
Description of changes:
Update Prow deployments to use a GitHub app instead of a GitHub personal access token.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

These changes have now been tested to a moderate degree; I've gone as far as validating that the presubmit hooks for a specific controller work as expected (i.e., tests were automatically launched for https://github.com/aws-controllers-k8s/s3-controller/pull/93; unit tests, release test, and e2e tests passed).


enable cat ears and tail markings for humans

About the PR
This PR enables the usually unavailable cat ears and tail for humans :)

Why / Balance
We have short cat people now, why not have normal height cat people?

Changelog

:cl: cooldolphin

add: Enabled cat ears for humans.

okay, I don't understand the build fail here :(

okay, I don't understand the build fail here :(

past two PRs aside from this one are test failing too

We'd rather people just play felinid. Sorry.


Copy to Clipboard option for every index name

Is your feature request related to a problem? Please describe.
It would be great if there is a a one click option to copy the index name of the indices.
Describe the solution you'd like
A copy to clipboard option would suffice the use-case. Either it can be an individual icon for each of the index or a single one for all with a checkbox beside each index name.
Proposed design screenshot
Add any other context or screenshots about the feature request here.

Hi Team
Can I start working on this enhancement?

Hi @TheAlgo, generally if it's modifying the UI in a way like this we should involve the UI/UX team.
@lvndc could you take a look at this and see how it fits in to our UX? Do we want it, where to put it, etc.?

Thank you @dbbaughe  and @TheAlgo I suggest we add a copyClipboard button in front of each index name, like the image below:

Thanks @lvndc . I will start working on this enhancement.


Unify the read and write locks

Removed the read/write locks and just use a single mutex to improve readability.
Modeled after the sync.Once implementation.
Seems like you test at the client level, so if you prefer to remove the test file I added just let me know.

Sorry, but I don't think I like this implementation.
Using a write lock for Send means only one send at a time will be allowed. The current code uses a read-lock that only prevents sending while starting or closing, but allows multiple simultaneous send calls (within the limit of the current chan size of 8 of course). Granted, the duration of exclusive locking is probably not huge, it still feels like a regression.
The Send and Close calls are also a bit racey. If the mutex is grabbed by close, and another goroutine (with gomaxprocs>0) waits on the mutex in Send, after close completes Send would then get the lock and progress, which would result in trying to send on a closed channel. You would need to add another check for running after acquiring the lock in Send.
The test code seems fine though.

Sorry, but I don't think I like this implementation.
Using a write lock for Send means only one send at a time will be allowed. The current code uses a read-lock that only prevents sending while starting or closing, but allows multiple simultaneous send calls (within the limit of the current chan size of 8 of course). Granted, the duration of exclusive locking is probably not huge, it still feels like a regression.
The Send and Close calls are also a bit racey. If the mutex is grabbed by close, and another goroutine (with gomaxprocs>0) waits on the mutex in Send, after close completes Send would then get the lock and progress, which would result in trying to send on a closed channel. You would need to add another check for running after acquiring the lock in Send.
The test code seems fine though.

Good points. I'll look into how I implemented the Send.

Good points. I'll look into how I implemented the Send.

I added back the read lock during sends, which is a good catch. This should address some of your raised concerns, but through the code again, I don't believe my changes may actually improve anything over the original implementation.

I agree that the addition of atomic operations on the running guard value, in this case, don't seem to add much -- as those operations are already guarded by the mutex.
I would love to pull in the test additions though, and retain your commit attribution for the code.
If you want, either as a new pull req, or by removing the changes to sender_buffered.go on this one, let me know.
Thanks again for the pull req, ideas, and original issue filing!


Reinitialisation of spinner with arguments (duration)

Is it possible to change the behaviour of the spinner during runtime?
Let's say you a spinner started with a color of green and  the color should change later on?
Is it possible to do something like:
var spinner = new Spinner().spin(target);
$timeout(function() {
spinner.color = #343434;
}, 1000);

Closing in favor of #256.


shuffle option feature added with variable name in camelcase

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Feature addition
Please choose appropriate options.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes in the below checkboxes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Ran Test A
[ ] Ran Test B

Test Configuration:

Software versions:
Hardware versions:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Okay sir
On Tue, Jul 26, 2022, 10:32 Vivek kasture @.***> wrote:

@.**** commented on this pull request.
In projects/quml-library/src/lib/mcq-option/mcq-option.component.ts
https://github.com/project-sunbird/sunbird-quml-player/pull/271#discussion_r929526251
:

@@ -25,6 +27,10 @@ export class McqOptionComponent implements OnChanges {

ngOnChanges() {
/* istanbul ignore else */
+

this.mcqOptions =  this.shuffleOptions ? _.shuffle(this.mcqOptions)  :   this.mcqOptions;
//this.mcqOptions= _.shuffle(this.mcqOptions);

@himanshi-2602 https://github.com/himanshi-2602 Please remove the
commented code
—
Reply to this email directly, view it on GitHub
https://github.com/project-sunbird/sunbird-quml-player/pull/271#pullrequestreview-1050366471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVTO2253JFBVZ7ETTKPNRK3VV5WO5ANCNFSM53YABFYQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


ISO8583-Connector 1.0.3 document header usage

Description
The usage of header in ISO message is not documented [1]. This task is to add proper documentation on this.
When you set a header, it base64 decodes and get the header length, When passing it to the JPOS library, it assumes that the incoming message includes a header of the specified length at the beginning. This header is not part of the ISO8583 message and will be ignored during parsing.
[1] https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/ISO8583-connector/ISO8583-connector-example
Version
No response

PR: https://github.com/wso2/docs-mi/pull/1146


Fix fee estimation error handler (cannot cover fee)

Issue Number

#1740
Overview

5f6a28f54f3e089bf8b279a423d2944c4edc2628
:round_pushpin: remove unused 'ErrInvalidTxOutSubmit' data-type from Shelley transaction layer

41530d62058ac87c37468c21dcb8bf198fe93b02
:round_pushpin: move error handler one layer down, out of the API layer
So that it can be more tested more easily at the unit level.

d9d2cd022e9ed8606c2a1f37089d9a037c985e59
:round_pushpin: write unit test to illustrate #1740 at the unit-level.
The test currently fails, so the regression is indeed identified.

0bd806a7acea3c736e8706c5c3822f6e437de403
:round_pushpin: slightly change type signature of 'estimateFeeForCS' to allow mounting the error handler on each selection.

ed03123f42c45107d070a7fec4abf45686235561
:round_pushpin: fix error handler in estimated fee, take recipients into account.

Comments

The issue wasn't actually in the coin selection or fee estimation procedures, but in an extra error handler that was set only in the API layer.
This PR supersedes #1756

I have tried this branch on Shelley QA testnet and here's the result:
wallet balance = 5 000 000 lovelace
estimate fee for 1 => 168141 lovelace
estimate fee for 1000000 => 168141 lovelace
estimate fee for 4834710 => 165290 lovelace
estimate fee for 4834718 => 165282 lovelace
estimate fee for 4834719 => 165281 lovelace
estimate fee for 4834720 => 165281 lovelace
estimate fee for 5000000 => 165281 lovelace
estimate fee for 5000001 => not_enough_money
This is slightly different than -> https://github.com/input-output-hk/cardano-wallet/pull/1756#issuecomment-644115752 (where fee was rather flat = 168141, I think it was the same for any value between 0 and 5000000). Not sure if that's good or bad, but sharing this observation.
Also the previous result is from Shelley testnet and this one is from Shelley QA tesntet, but they both have the same in genesis:
    "minFeeA": 44,
    "minFeeB": 155381,

Indeed, without diving much further in:

That the fees become "constant" when reaching a certain window close to the wallet balance is expected. This is when the "special" handler try to re-conciliate the "ErrCannotCoverForFee" coming from the fee balancing algorithm. When estimating fee, returning this error is sort of misleading, so instead, we give a bets-effort estimation using the wallet balance, the requested output and the missing amount for the "cover for fee". It's basically a computation like: "fee = balance - output + missing". If output increases, then missing also decreases of the same amount so it balances itself out (no pun intended) and remains constant once we are in this special case.

The fee 168141 is the minimal fee for a transaction with one input, one output and one change output. However, when the output amount is big enough (i.e. close to the wallet's balance), there's no change output to leave. So the fee looks slightly smaller: 165281, the difference is the cost of a change output, ~61 bytes. Arguably, we could make the estimation a bit better here and return the cost assuming a change output because a transaction is actually very likely to have one. It might be confusing for people unless they're sending just the right amount. Imagine the following scenario:

I have 5000000, trying to send 4834720. The API tells me that estimated fee are 165281 so I send 100 to my wallet, you know, because I like it round although I only need 1 lovelace.
Now, the transaction requires a change output and fees are 168141. So I still don't have enough on my wallet.

Alternatively, we could return feeMin / feeMax where feeMin is the amount without change and feeMax the amount with change.

bors r+


HW Activity 03.10.16

https://github.com/vladik1609/Activity

If you go thew Activities,close application and open again you will see MainActivity, Now if you tap back button you will see ActivityZero

No, check code

Sorry, All right


Ci for idf 5.0

Update CI to also run for IDF 5.0

Any ideas as to why I get this error?
= note: [ldproxy] Running ldproxy
          Error: Linker /home/runner/work/esp-idf-hal/esp-idf-hal/.embuild/espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc failed: exit status: 1
          STDERR OUTPUT:
          /home/runner/work/esp-idf-hal/esp-idf-hal/.embuild/espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: /home/runner/work/esp-idf-hal/esp-idf-hal/.embuild/espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/lib/rv32imc/ilp32/no-rtti/libc.a(lib_a-vfprintf.o): in function `_vfprintf_r':
          /builds/idf/crosstool-NG/.build/riscv32-esp-elf/src/newlib/newlib/libc/stdio/vfprintf.c:1192: undefined reference to `__trunctfdf2'
          collect2: error: ld returned 1 exit status

          Stack backtrace:
             0: anyhow::error::<impl anyhow::Error>::msg
             1: ldproxy::main
             2: std::sys_common::backtrace::__rust_begin_short_backtrace
             3: std::rt::lang_start::{{closure}}
             4: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/core/src/ops/function.rs:606:13
             5: std::panicking::try::do_call
                       at /rustc/32e613bbaafee1bcabba48a2257b[83](https://github.com/esp-rs/esp-idf-hal/actions/runs/3608558268/jobs/6081239029#step:14:84)8f8d1c03d3/library/std/src/panicking.rs:483:40
             6: std::panicking::try
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/panicking.rs:447:19
             7: std::panic::catch_unwind
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/panic.rs:137:14
             8: std::rt::lang_start_internal::{{closure}}
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/rt.rs:148:48
             9: std::panicking::try::do_call
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/panicking.rs:483:40
            10: std::panicking::try
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/panicking.rs:447:19
            11: std::panic::catch_unwind
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/panic.rs:137:14
            12: std::rt::lang_start_internal
                       at /rustc/32e613bbaafee1bcabba48a2257b838f8d1c03d3/library/std/src/rt.rs:148:20
            13: main
            14: <unknown>
            15: __libc_start_main
            16: _start

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `esp-idf-hal` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `esp-idf-hal` due to previous error
Error: Process completed with exit code [101](https://github.com/esp-rs/esp-idf-hal/actions/runs/3608558268/jobs/6081239029#step:14:102).

@usbalbin Maybe the esp-2021r2-patch5-8.4.0 toolchain is too old, I'm using esp-2022r1-11.2.0 and it has the __trunctfdf2 symbol.

Why are we not getting the latest? Could that be a limitation of the install script vs espup? Or is that something else?

It's probably an espup limitation, esp-idf's install.sh seems to do everything properly.

It's probably an espup limitation, esp-idf's install.sh seems to do everything properly.

But<EMAIL_ADDRESS>is using the script, right?

I can not quite wrap my head around why the same command seems to work for me locally.
The test that fails riscv32imc-esp-espidf, release/v4.4 does not even download the xtensa toolchain using the install script.
Does that mean that somehow esp-idf-sys's build script(?) downloads the tools mentioned in the error? And for some reason it selects old versions of those during CI(but not for me locally)?
/home/runner/work/esp-idf-hal/esp-idf-hal/.embuild/espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: /home/runner/work/esp-idf-hal/esp-idf-hal/.embuild/espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/lib/rv32imc/ilp32/no-rtti/libc.a(lib_a-vfprintf.o): in function `_vfprintf_r':
          /builds/idf/crosstool-NG/.build/riscv32-esp-elf/src/newlib/newlib/libc/stdio/vfprintf.c:1192: undefined reference to `__trunctfdf2'
          collect2: error: ld returned 1 exit status

What I have done locally:

xtensa toolchain via espup update
install ncurses5
rustup update
rustup override set nightly # Dont use the xtensa toolchain, just for this test
rm -rf .embuild
cargo clean
ESP_IDF_VERSION="release/v4.4" cargo build --examples --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort

@usbalbin esp-idf-sys definitely downloads all these tools, or rather, it runs a script that does. There's also platformIO integration, but I never tried anything other than the native/cmake builds, @ivmarkov any leads?

Missing rustflags that you do need for riscv32imc-esp-espidf?

Missing rustflags that you do need for riscv32imc-esp-espidf?

Oh, Thanks a lot! Will give it a try

Do we want to merge this or should these changes be made as part of #132? In my opinion #132 does not make sense to merge without having CI for IDF 5.0. Or other thoughts? :)

Sure, Ill get there soon.


password not working

default password 'raspberry' doesnt work.
ssh<EMAIL_ADDRESS>Password:
Password:
Password:
<EMAIL_ADDRESS>password:
Permission denied, please try again.
<EMAIL_ADDRESS>password:
Permission denied, please try again.
<EMAIL_ADDRESS>password:
Received disconnect from 192.168.11.xx port 22:2: Too many authentication failures
Authentication failed.

Is this issue still reproducible ?
The default password for user 'pi' is 'raspberry' only.

We are not changing default login/password for Raspberry Pi OS.


Improve to string method

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (568c94c) to head (0e7681d).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #473   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          137       137
  Lines         4233      4233
  Branches       286       286
=========================================
  Hits          4233      4233

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Questions on successor_frame_filename_np

Hi, thanks for sharing the codes, but there are two places I'm confused about, could you please
make an explanation?
The last function in datasets/KITTI/segtrack/KITTI_segtrack.py
"""
def successor_frame_filename_np(filename, offset):
filename = filename.decode("utf-8")
sp = filename.split("/")
png = ".png" in sp[-1]
t = int(sp[-1].replace(".png", "").replace(".jpg", ""))
if png:
filename = "/".join(sp[:-1]) + "/%06d" % (t + offset) + ".png"
else:
filename = "/".join(sp[:-1]) + "/%06d" % (t + offset) + ".jpg"
return filename.encode("utf-8")
"""
The first place I'm confused about is the parameter filename, I'm always thinking filename has the strcture like this [first image's location, first image's location, ...... , batch size image's location], but it appears to have only one image location.
The second place I'm confused about is the variable offset, why does it have to add offset to t, because when running the code, it'll always raise an error showing "Can't Find The File" just because the filename after adding the offset is overflowed.
Thanks very much for your explanation.

Hey! Yes, filename only contains a single filename. With this function, you can find the offsetth successor to that file.


Fix 'key' option in s_server can be in ENGINE keyform (1.1.0)

Basically it is a reflection of key in  s_client.c: https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/apps/s_client.c#L580

Cherry picked from #4405


Data Storage Class

Create a class to store the information relevant to the project. The class store a set of strings:
Name the class DataEntry

ID (8 chars)
Parent ID (8 chars)
Event (1024 chars)
RHASH (8 chars)
LHASH (8 chars)

In additional to the above string types, the class should also store two vectors LHISTH and RHISTH.
Provide a general constructor for the class.
Provide getters and setters for each item in the class.
The getters and setters should be of the form:
void setParentId(string s);
string getParentId();

Addressed in PR #7


TreiberStack seems to double-free the data

I'm currently using crossbeam in a project involving complex cross-thread communications, but I'm currently hitting a problem where the application consistently raises a SIGABRT for a double-free (FYI this is on Android ARMv7 using Rust nightly-2018-09-05 and crossbeam 0.4.1). I can't really share my code, but I believe I managed to create a minimal reproduction case by sticking this code in the tests of TreiberStack:
#[test]
fn double_free() {
    use std::{
        collections::HashSet,
        sync::{
            atomic::{AtomicUsize, Ordering},
            Arc,
            Mutex,
        },
    };

    static ID: AtomicUsize = AtomicUsize::new(1);

    struct WithId(usize, Arc<Mutex<HashSet<usize>>>);

    impl WithId {
        fn new(ctx: &Arc<Mutex<HashSet<usize>>>) -> Self {
            WithId(ID.fetch_add(1, Ordering::Relaxed), ctx.clone())
        }
    }

    impl Drop for WithId {
        fn drop(&mut self) {
            let mut dropped = self.1.lock().unwrap();
            assert!(dropped.insert(self.0));
        }
    }

    let q: TreiberStack<WithId> = TreiberStack::new();
    let ctx = Arc::new(Mutex::new(HashSet::new()));

    q.push(WithId::new(&ctx));
    q.push(WithId::new(&ctx));
    q.push(WithId::new(&ctx));

    drop(q.try_pop());
    drop(q.try_pop());
    drop(q);
}

Interestingly the assertion error is only triggered when the tests are running on multiple threads, with --test-threads 1 everything runs smoothly.

Slightly simpler binary to reproduce:
extern crate crossbeam;

fn main() {
    use std::sync:: atomic::{AtomicUsize, Ordering};
    use crossbeam::{
        stack::TreiberStack,
        thread::{scope, Scope}
    };

    static ID: AtomicUsize = AtomicUsize::new(0);

    struct WithId;

    impl Drop for WithId {
        fn drop(&mut self) {
            let drop_id = ID.fetch_add(1, Ordering::SeqCst);
            println!("DROP {}", drop_id);
        }
    }

    const N_THREADS: usize = 4;

    scope(|s: &Scope| {
        for _ in 0..N_THREADS {
            s.spawn(|| {
                let q: TreiberStack<WithId> = TreiberStack::new();

                q.push(WithId);
                q.push(WithId);
                q.push(WithId);

                drop(q.try_pop());
                drop(q.try_pop());
                drop(q);
            } );
        }
    } );

    let tot = ID.load(Ordering::SeqCst);
    assert!(tot == N_THREADS * 3);
}

It's because Node<T> in TreiberStack has T member which is dropped even though the data was moved out in try_pop.


Onboarding should be leavable

A "x" must be added, that toggle has_onboarded to true

Users can now leave the onboarding.


Cannot start acserver

Hi, finally I started ac-monitor and I can login and see admin page.
Currently, I do not know how to continue.
Everytimes I try to start server using ac-monitor I got (using ACDriver preset) :
..
checking server with preset ACDriver
Started server CZ Practice Server - please race and test PID: 1651
admin.server.start { name: 'ACDriver',
reload: true,
valid: true,
msg: 'Preset ACDriver started' }
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
I am running Ubuntu 14 server. I got this kind of error for release and dev version of ac-monitor.
I would appreciate some hint :) Thank you

@gitwikta Is the path to your AC-Server-Directory correct? Please check that in 'config/default.json'.
Are you running on Windows or Linux?

good hint ! I am running Linux. It works now when I use exact path. Relative path did not work for me. Maybe I should add dot at the end ? "../." With full path it works. I can start acserver from ac-monitor.
Big thanks !

@gitwikta You should be able to use relative paths as well though I haven't tested a while on Linux.
On our Windows machine we have set:
{
  "ac": {
    "path": "..\ac-server"
  }
}

You should be able to do the same but use slashes instead of backslashes.
The path should be relative to the acMonitor.js file.


[Authentication] Using a canActivate guard and a token interceptor freezes the app

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:

Using the AuthGuard from https://akveo.github.io/nebular/docs/auth/protecting-application-routes in combination with the NbAuthJWTInterceptor lets the app hang in the loading spinner screen. No console output or network requests can be observed while hanging.
Expected behavior:

The app should not hang.
Steps to reproduce:

Use this guard https://akveo.github.io/nebular/docs/auth/protecting-application-routes:
import { CanActivate, Router } from '@angular/router';
import { NbAuthService } from '@nebular/auth';
import { tap } from 'rxjs/operators';

@Injectable()
export class AuthGuard implements CanActivate {

  constructor(private authService: NbAuthService, private router: Router) {}

  canActivate() {
    return this.authService.isAuthenticatedOrRefresh()
      .pipe(
        tap(authenticated => {
          if (!authenticated) {
            this.router.navigate(['auth/login']);
          }
        }),
      );
  }
}

Use this providers in app.module.ts:
providers: [
  { provide: APP_BASE_HREF, useValue: '/' },
  { provide: HTTP_INTERCEPTORS, useClass: NbAuthJWTInterceptor, multi: true},
  { provide: NB_AUTH_TOKEN_INTERCEPTOR_FILTER, useValue: function () { return false; } },
  AuthGuard
],

Related code:

See above.
Other information:
npm 6.5.0
Chrome latest
Firefox latest
Angular, Nebular
"name": "ngx-admin",
"version": "3.0.0",

How is this closed
There is a work around but what if you want to inject the refresh api call?

Its late coming back with the same issue, but I have followed every details of this guide but still my application loads home page without user having to login ...


[InputLabel] Remove the width style property

Closes #11283 - changed input label centering to default to left
Closes #11287 - resolved input label animation causing flickering x-axis scroll bar
Thanks!

@C-Rodg Thanks, let's push it forward and simply revert #11215 cc @pandaiolo. It should help with the implementation of the outline variant: https://material.io/design/components/text-fields.html#usage


Python3 support

The repo doesn't work for python3. I get an import error.
Can be solved by replacing
from api import Instamojo

with
from instamojo.api import Instamojo

in __init__.py file

This wrapper is currently compatible with Python 3.


http calls to api don't work in Railo

Because they use the Adobe ColdFusion http() component. Needs rewriting in Railo script.

Fixed in 1.0.2


Importing flow with duplicate junction nodes: unclear which are junction nodes are duplicates

Current Behavior
Importing flows with duplicate junction nodes is confusing.

All four junction nodes are checked to be imported even though only two are duplicates, two are new and don't exist in the flow.
Attached are three example flows:

Four junction nodes with 2 new and 2 duplicate

Two junction nodes both are new

Two existing junction nodes

Expected Behavior
Notify that two junction nodes are duplicates and two are not.
Steps To Reproduce

Got to serverless Node-RED (v.3.1.3)
Open the Import Flow dialog
Paste the example flow Number 1
Error: duplicate nodes
View nodes
All four junction nodes are checked even though two of four are not duplicates

Example flow
Example 0: original flow on which this is based:


squashed commits for angularjs material

Created AngularJS Material example, the files can be reused in other projects easily.

Thank you!

Awesome was looking for exactly this!


Fix generator/mock issue

There are two tests that fail because the mock calls are simply wrong. I'm certain they are because I've logged the params with which the call is made and they are what we would expect. But for whatever reason mock is not storing the correct parameters, instead it's storing them as they would be if they were called after the generator raises StopIteration. This smells a lot like using vars in closures.
I'm considering this a bug because tests are an integral part of the system.

OK, no. This is failing simply because one the parameters is a dictionary that is modified after every call. So for the mocked call it's the same object, and we only get to see it in its last state, as it was modified after the last call. We can modify the call to receive kwargs instead.


@disable setting have not effect on project level

I have sublimelinter +sublimelinter-jshint installed
I want to disable sublimelinter-jshint for spesific project, i've tired to disable it via the project settings and .sublimelinterrc and its not working
my project file:
{
    "folders":
    [
        {
            "path": "."
        }
    ],
    "Sublimelinter":
    {
        "linters": {
            "jshint": {
                "@disable": true,
                "args": [],
                "excludes": []
            }
        }
    }
}

.sublimelinterrc:

{
    "linters": {
        "jshint": {
            "@disable": true,
            "args": [],
            "excludes": []
        }
    }
}

Might be helpful if you provided the contents of your SublimeLinter settings file
Sublime Text > Preferences > Package Settings > SublimeLinter > Settings - User

I tried disabling the flake8 linter for a specific folder (not the entire project) using .sublimelinterrc but the settings seems not to be honored. Here are its contents:
{
    "linters": {
        "flake8": {
            "@disable": true
        }
    }
}

I also tried inline settings a la # [SublimeLinter flake8-@disable:true] but that doesn't have any effect either.
Following that, I enabled debug settings but there are no mentions about a .sublimelinterrc file or inline settings found. I don't know if there is debugging output for those at all, so I can't tell if they're not getting found or if something's up internally.


Lecture02

Hi @Svane20, I did change the definitions of the datanodes to be a pod instead of a  deployment. I can run the the already created python scripts now.

@Svane20, I will look to the exercise part before lunch..


beets import "unable to read full data"

I've installed beets on an ubuntu box. It works fine (including playing music form the web interface), however when running import, i run into the following message :
beet import /mnt/bucket/MedievalMusic/

(after selecting Apply)
error writing /mnt/bucket/MedievalMusic/Celtic/Celtic Music - Wolf Blood.ogg: unable to read full data

I thought it might be a permission problem, so I've changed the permissions to allow everything (chmod -R 777 MedievalMusic), and it hasn't solved the problem.
What is the meaning of unable to read full data, and how can i avoid it ?
Notes :

i'm quite new to the linux world, so i may have missed something obvious)
/mnt/bucket/ is an s3 bucket mounted thanks to https://github.com/s3fs-fuse/s3fs-fuse

Sounds like you might have a broken audio file. Can you check that it works with other software? And, if so, share the file so we can take a look?

@sampsyo Yes, it's most likely a file problem, as yesterday i was able to tag some files from another source.
I've sent you a link to the file by email<EMAIL_ADDRESS>It plays fine on my local machine (OSX : Vox Player or VLC). Maybe some corrupted headers ?

Strangely, I was able to import and modify that file just fine. I'm not sure why you're seeing an error—is it still going on if you try manipulating the same file you sent me once again?

Ok, that file now works. Other files that used to not work, now work.
Some others still don't.
Theory : I'm playing the files through Plex server. After Plex plays the file, it sort "repairs" them. Going to check that.

If you're comfortable typing some Python code, it might be worth trying to load these not-working files with mutagen to see if it raises any exceptions when accessing/modifying metadata.

This issue is timing out. Please reopen it if the problem arises again so we can try to reproduce it.


Backend release branch to main

Opening PR from BE release to main to get staging link for FE integration of new indicators

@esfoobar-usds - after looking at the markdown failure above it seems to be a new link that is failing and not the one that was corrected earlier. Can you look into this?

Attempting to re-run the failed job. Maybe it was the census acs etl? 🙏 🤞


store probe set for image-based transcriptomics in spatialdata

after discussion with @LouisK92 and @timtreis we realized it would be useful for spatialdata to also store the probe set used to target mRNA transcripts. Where should that be stored, unclear, maybe uns?

additionaly, save also additional info such as add-on panel Supplemental: Add-on Panel (CSV)

[ ] save json file in either dataframe or just json in table.uns
[ ] store additional probe information in table.var


Unable to build the SDK with angular 16

I am using angular 16 in my application and the maptiler SDK. Facing the following issues during build -

Here are the relevant portions of my package.json for reference -
"dependencies": {
    "@angular/animations": "16.1.3",
    "@angular/cdk": "16.1.3",
    "@angular/common": "16.1.3",
    "@angular/compiler": "16.1.3",
    "@angular/core": "16.1.3",
    "@angular/forms": "16.1.3",
    "@angular/material": "16.1.3",
    "@angular/platform-browser": "16.1.3",
    "@angular/platform-browser-dynamic": "16.1.3",
    "@angular/router": "16.1.3",
    "@angular/service-worker": "16.1.3",
    "@auth0/angular-jwt": "^5.0.2",
    "@aws-sdk/client-lambda": "^3.338.0",
    "@aws-sdk/client-pinpoint": "^3.357.0",
    "@aws-sdk/client-pinpoint-email": "^3.338.0",
    "@aws-sdk/client-s3": "^3.338.0",
    "@aws-sdk/s3-request-presigner": "^3.338.0",
    "@azure/msal-angular": "^3.0.0-alpha.1",
    "@azure/msal-browser": "^3.0.0-alpha.1",
    "@azure/storage-blob": "^12.0.0",
    "@elastic/elasticsearch": "^8.2.1",
    "@fortawesome/angular-fontawesome": "^0.13.0",
    "@fortawesome/fontawesome-svg-core": "^6.4.0",
    "@fortawesome/free-brands-svg-icons": "^6.4.0",
    "@fortawesome/free-regular-svg-icons": "^6.4.0",
    "@fortawesome/free-solid-svg-icons": "^6.4.0",
    "@liaoliaots/nestjs-redis": "^9.0.5",
    "@maptiler/sdk": "^1.1.1",
    "@millicast/sdk": "^0.1.32",
    "@nestjs/axios": "^2.0.0",
    "@nestjs/common": "^9.0.0",
    "@nestjs/config": "^2.3.2",
    "@nestjs/core": "^9.0.0",
    "@nestjs/elasticsearch": "^9.0.0",
    "@nestjs/jwt": "^10.0.1",
    "@nestjs/mapped-types": "^1.2.0",
    "@nestjs/microservices": "^9.2.1",
    "@nestjs/mongoose": "^9.2.1",
    "@nestjs/platform-express": "^9.0.0",
<EMAIL_ADDRESS>"^9.4.0",
    "@nestjs/websockets": "^9.4.0",
    "@ngx-translate/core": "14.0.0",
    "@ngx-translate/http-loader": "6.0.0",
    "@ngxs/form-plugin": "^3.7.3",
    "@ngxs/router-plugin": "^3.7.3",
    "@ngxs/storage-plugin": "^3.7.2",
    "@ngxs/store": "^3.7.2",
    "@nx/node": "16.1.4",
    "@nx/webpack": "16.1.4",
    "@opentok/client": "2.23.2",
    "@swimlane/ngx-charts": "^20.1.2",
    "@tmcw/togeojson": "5.5.0",
    "@turf/buffer": "^6.5.0",
    "@types/dotenv": "^4.0.3",
    "@types/multer": "^1.4.7",
    "@types/node": "^18.16.12",
    "adm-zip": "^0.5.10",
    "agora-rtc-sdk-ng": "^4.14.0",
    "angular-calendar": "^0.31.0",
    "axios": "^1.3.1",
    "bcryptjs": "^2.4.3",
    "body-parser": "^1.18.3",
    "bootstrap": "^5.2.3",
    "browser-image-compression": "^1.0.13",
    "bull": "^4.10.4",
    "cache-manager": "^5.1.7",
    "cache-manager-redis-store": "^3.0.1",
    "chargebee-typescript": "^2.15.0",
    "class-transformer": "^0.5.1",
    "class-validator": "^0.14.0",
    "commitizen": "^4.2.4",
    "convert-units": "^2.3.4",
    "cors": "^2.8.4",
    "country-codes-list": "1.6.8",
    "date-fns": "^2.16.1",
    "dateformat": "^3.0.3",
    "diagnostics": "^2.0.2",
    "dotenv": "^6.0.0",
    "ejs": "^3.1.8",
    "elastic-apm-node": "^3.31.0",
    "express": "^4.16.3",
    "express-basic-auth": "^1.2.1",
    "file-saver": "^2.0.5",
    "font-awesome": "^4.7.0",
    "geolib": "^3.3.1",
    "hat": "0.0.3",
    "helmet": "^3.14.0",
    "http-proxy-middleware": "^2.0.6",
    "ioredis": "^5.3.1",
    "janus-gateway-js": "^2.0.2",
    "jasmine": "^3.7.0",
    "jasmine-spec-reporter": "^5.0.2",
    "joi": "^17.6.0",
    "jsonwebtoken": "^9.0.0",
    "jszip": "^3.10.1",
    "lodash": "^4.17.20",
    "luxon": "^1.28.0",
    "mathjs": "^9.4.4",
    "mixpanel": "^0.16.0",
    "moment": "^2.29.1",
    "mongodb-memory-server": "^8.12.1",
    "mongoose": "^6.7.4",
    "morgan": "^1.10.0",
    "morgan-body": "^2.6.8",
    "mqtt": "^4.3.7",
    "multer": "^1.4.5-lts.1",
    "ngx-slider-v2": "^16.0.1",
    "ngx-spinner16": "^16.0.1",
    "ngx-toastr": "^16.0.0",
    "node-cron": "^2.0.3",
    "node-fetch": "^2.6.1",
    "npm": "^9.3.1",
    "nx": "16.1.4",
    "obscenity": "^0.1.4",
    "opentok": "2.16.0",
    "passport": "~0.6.0",
    "passport-azure-ad": "~4.3.4",
    "password_hash": "^1.1.0",
    "polyline-encoded": "0.0.9",
    "puppeteer": "^19.6.1",
    "rand-token": "^0.4.0",
    "recordrtc": "^5.6.1",
    "redis": "^4.1.0",
    "reflect-metadata": "^0.1.13",
    "rewire": "^5.0.0",
    "roslib": "^1.3.0",
    "rrule": "^2.6.6",
    "rxjs": "^7.0.0",
    "rxjs-compat": "^6.6.6",
    "socket.io": "^4.6.1",
    "socket.io-client": "^4.6.1",
    "static-google-map": "0.0.4",
    "stream-http": "^3.2.0",
    "subsink": "^1.0.2",
    "swagger-ui-express": "^4.5.0",
    "tslib": "^2.3.0",
    "uniqid": "^5.4.0",
    "unzipper": "^0.10.14",
    "url": "^0.11.0",
    "util": "^0.12.4",
    "uuid": "^8.3.2",
    "winston": "^3.5.0",
    "winston-daily-rotate-file": "^4.6.0",
    "winston-elasticsearch": "^0.17.1",
    "xml2js": "^0.5.0",
    "zipyai": "1.3.21",
    "zone.js": "~0.13.0"
  },

and my typescript version is 4.9.5
Can someone please help resolve this issue with the SDK?

Hello @AmoghBhagwat123 ,
apologies for the late reply! We currently have a team member working on updating our Angular example to v16, we'll let you know when it's ready!
Though, after some investigation, I believe that Angular is not the issue here. Our SDK extends MapLibre GL JS and has it as part of its dependencies with compatible versions being "^3.1.0", which means that as long as the major version is 3, then it should work (compatible with "3.x.x").
In MapLibre 3.2.0 (released 2 weeks ago) this commit led to replacing some of GeolocateControl class method by "equivalent" arrow functions. They are equivalent in terms of the feature they provide but they are not in terms of OOP design and inheritance pattern and this is why TypeScript is yelling.
I will make an update ASAP on the SDK to use MapLibre 3.1.0 (fixed version) instead of ^3.1.0.
What you can do in the meantime is to explicitly install the SDK alongside a specific version of MapLibre:
npm install @maplibre/sdk<EMAIL_ADDRESS>
Apologies for the inconvenience!

Thanks a lot for the help @jonathanlurie . I will test this solution out and revert back in case of any issues.

Thanks a lot for the help @jonathanlurie . I will test this solution out and revert back in case of any issues.

Hello again @AmoghBhagwat123 ,
this morning I have published a patch to the SDK, now available as v1.1.2 (https://www.npmjs.com/package/@maptiler/sdk) . The change is so that the MapLibre version is now fixed (no longer accepting minor/patch updates).
If you install the latest SDK, now it should come with the MapLibre v3.1.0 by default. Please let me know if you are still having issues with this.


Black outlines around icons

I started getting black outlines around my icons recently. I have no idea what caused it - this happened after a reboot. This bug is also visible in the Preferences screen.
https://puu.sh/wTWUq/8e8e636bf5.png
https://puu.sh/wTXCd/0302931286.png
Running gnome-pie 0.7.1-1 on Arch Linux with Xfce.
[WARNING] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-1Y8rtFl42S: Connection refused [MESSAGE] Welcome to Gnome-Pie 0.7.1! [MESSAGE] Loading Pies from "/home/luksor/.config/gnome-pie/pies.conf". Fontconfig warning: "~/.fonts.conf", line 6: Having multiple values in <test> isn't supported and may not work as expected [MESSAGE] Started happily...

Managed to fix it by unplugging all displays and rebooting.


hi

Fixes #

Hi @gauravsaraltest, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@gauravsaraltest this does create noise for us so it'd be great if you could do your exploration/testing elsewhere. Thanks!


StopSound integration

There is functionality for playSound, found in the Viewer interface, however searching the entire project I was unable to find any mention of it's counterpart stopSound.
http://minecraft.gamepedia.com/Commands#stopsound

Any update on this feature?

We accept pull requests, otherwise you'll just have to wait for a contributor to find the time to add this.

bump


Inferno Reference Server: error, invalid client

When selecting the Inferno Reference Server preset

No patients are showing in the patient selection list
I get back an error as a javascript alert saying "invalid client"

We just restarted the server, which should resolve this issue.

Much appreciated Jamm! I confirmed all is well


Complete Razor VSCode migration to AspNetCore-Tooling by removing all unused bits.

These are all the build/product/test bits that were replaced by the AspNetCore-Tooling infrastructure.
I have this as a separate PR to not crowd the others. Also, going to work on getting this PR to build successfully via Azure pipelines.

aspnet/AspNetCore#13494

Merging this through to get everything in. Will address feedback in a future PR.


Changed hbc load path $HOMEBREW_PREFIX to $HOMEBREW_REPOSITORY

this may fix buo/homebrew-cask-upgrade#15

Thank you for your contribution.


Add Card API

This should contain basically the whole API as exposed in React Bootstrap. Still need to finish writing the documentation for the function components, but this should be ready once that's done. This is based on the ListGroup PR - I'll rebase it once that one merges.

Let me know if you approve of my modification, if so I will merge it as 0.8.0[^1].

Looks good to me


Examples in documentation for HttpTask's headers parameter does not match code and will throw exception if used

Documentation for HttpTask shows for headers to use:
    "headers": [
      {
        "Accept": "application/json"
      },
      {
        "Content-Type": "application/json"
      }
    ]

Declaration for headers in HttpTask.Input class in 'HttpTask.java' is:
private Map<String, Object> headers = new HashMap<>();
If you use the documented examples, the Jackson conversion to HttpTask.Input on line 102 throws an IllegalArgumentException. Documentation should be (notice the curly brackets):
    "headers": {
        "Accept": "application/json",
        "Content-Type": "application/json"
    }

Fixed:
https://netflix.github.io/conductor/metadata/#wiring-inputs-and-outputs


Error Download depend on the video title

Hello everyone,
I noticed that Pytube, return an error when a "." is present in the video title. ( it's also does not work with "|")
Here is the message in the console:
"
AttributeError: 'NoneType' object has no attribute 'download'
"
I think it could be good to filter the video title name to make sure there is no incompatibility. I am a beginner so not really sure  about all that.
Have a good day

hi @martin73388 can you provide an example video where this happens so i can look into it please?

Nevermind, I see your example in the #845. I'm going to close this issue in favor of the existing issue.


Make new release

Please update npm release to use the latest repository version because the current release does not work with new relic (#220 )

Bumping this as well, due to es6-promisify rollup problem that was fixed but does not seem to have been published yet.
For context, refering to this PR https://github.com/eKoopmans/html2pdf.js/pull/238.
@eKoopmans would be much appreciated if this could be published on npm when you get a chance.

Can be this released? It seems, its really required.

I see the release 0.9.1 is 1 year old.  What's the status of this project?

The status is that I have been away from it for far too long. I will be revisiting this soon and bringing some much-needed updates, starting with this version bump. Sorry for the wait.

v0.9.2 is released, it should resolve issues with clashing Promises - let me know if that is still an issue. More fixes to come soon.

You rock.  Thank you so much


nasa-veda: Provide access to a few more buckets

Provide access to a few more buckets
Ref: https://2i2c.freshdesk.com/support/tickets/759

Thanks @ranchodeluxe - this looks ok to me. However, my concern usually is that sometimes there's a tf state bucket in the same AWS account that this might give access to if it is not secured specifically. Can I just get an explicit check to make sure this isn't the case? Happy to merge and deploy after that.

Thanks @ranchodeluxe - this looks ok to me. However, my concern usually is that sometimes there's a tf state bucket in the same AWS account that this might give access to if it is not secured specifically. Can I just get an explicit check to make sure this isn't the case? Happy to merge and deploy after that.

Yep, not the case so we are good

Thanks @ranchodeluxe!

@ranchodeluxe applied! LMK if it works ok