text:
How to call methylation on secondary alignments ? (e.g. translocated elements)

Hi,
Many thanks for this nice tool !
I am using nanopolish call-methylation (versions 0.13.2 and 0.13.3), which work fine for samples perfectly matching the reference genome, but I cannot find methylations in the case of structural variations (for instance, if a small portion of chromosome A has been translocated to the end of chromosome B, I can find methylations of chromosome B but not of the small part of chromosome A).
After the minimap2 and samtools sort commands, the secondary alignments can be found in the output file (I looked at the sam file, I guess it is similar in the bam), but when running the final command (nanopolish call-methylation) I don't get methylations for them.
Is there a specific command to enable calling methylations on the secondary alignment parts of the reads ?
Thank you for your attention !
Attached are a sam file, output of :
minimap2 -a -x map-ont CC-1690_17chr.fa Spacer_16_R_tel-m2-1.fastq | samtools sort -T tmp -o Spacer_16_R_tel-m2-1.sorted.sam
and the methylation file, output of :
nanopolish call-methylation -t 8 -r Spacer_16_R_tel-m2-1.fastq -b Spacer_16_R_tel-m2-1.sorted.bam -g CC-1690_17chr.fa > Spacer_16_R_tel-m2-1_methylation_calls.tsv
2022-03-17_methylations.zip

Try setting --min-mapping-quality 0 in call-methylation.

Thank you very much, it seems to work nicely.
Have a good day,
Best regards
Fred Chaux,
Post-Doc
Sorbonne Universite/CNRS, Paris, France
Le mar. 22 mars 2022 à 20:29, Jared Simpson @.***> a
écrit :

Try setting --min-mapping-quality 0 in call-methylation.
—
Reply to this email directly, view it on GitHub
https://github.com/jts/nanopolish/issues/996#issuecomment-1075545967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYLTABBCBU3X4D3NFYB4CILVBINRDANCNFSM5RL3A5KA
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: fredchaux jts


text:
🛑 Tango is down

In 9a3f765, Tango (https://tiendas.axoft.com/api/Aperture/dummy) was down:

HTTP code: 503
Response time: 604 ms

Resolved: Tango is back up in 9fd599c.

source: gharchive/issue

repo: juanLabonia/uptime

license: MIT

license_type: permissive

license_source: github-api


text:
Location update

I updated my location

@juicycleff Please review my changes and merge my request

source: gharchive/pull-request

repo: juicycleff/mlh-localhost-github


text:
[공통] JUI 1.4 버전으로 변경하기

마크업 룰도 싹 변경하기!

이건 내가 시간 내서 따로 하겠음.
일단 기능 구현이 먼저라서.

변경 완료

license: mit

license_source: bigquery


text:
High contrast variants

Awesome theme!
In my VS Code I use the Material Ocean High Contrast and I find it very nice. Any chance we can get such variants here as well?

Hello,
Sorry for the late reply, I've added the official high contrast color codes for completeness sake, but noticed that as far as the terminal colors are concerned, there is little difference with the standard variants.

46c61aee3dcc46544a7ee701784cb1b17b8dae80

In fact both are equal in the file you added:

But in practice, they are quite different, specially the background:

@julianlatest what do you think?

You are absolutely correct, apologies, I used the editor.background color code, while I should have used the panel.background color code.

b9f61a3a53572ad52b63676ce0692b97c93ec043

authors: felipecrs julianlatest

repo: julianlatest/material-windows-terminal


text:
2.vbb.transport.rest is shut off, use v5.vbb.transport.rest

Hey! This is the author of vbb-rest v2, deployed at 2.vbb.transport.rest. Nice to see that you (seem to) use my service!
I'm here to let you know the latest version of the API is v5.vbb.transport.rest.

There are quite some breaking changes (otherwise I wouldn't have changed the endpoint), but each individual one is very easy to adapt to. Writing a migration guide was too much effort, so you'll have to just check the v5 docs and find your use case.


text:
Reset styles and rerun animation

Hello,
i want rerun an animation, after i removed the extra styles, which
added velocityjs. But it is not working. Here is a fiddle fiddle.
var element = document.getElementById('animate');

var animate = function()
{
  Velocity(element, {translateX: 500},  {duration: 2000, queue: false, complete: function(){
		element.removeAttribute('style');
 		animate();
  }});
};

animate()

Have someone any idea, to manage this? Is there a reset function or something?

http://velocityjs.org/ - Read the "Secret Sauce" part near the top - basically Velocity caches the values, so removing them makes no difference.
Use ForceFeeding to provide the starting values you want to use - http://velocityjs.org/#forcefeeding

Hi Rycochet,
i hope you can answer on closed Issued. Exactly what i have fiddled, i need for banner ad development. And in this case is easer to not know the "starting values". Can the Cache be cleared by a function like "reset" - or "clear cache"? If not maybe its a good new feature.

Add the non-public _cacheValues:false to the options on the call - this might change in the future so we can give a public method to clear the cache rather than not saving it...

Thank you, yes i've tried this parameter before, but this parameter has no effect at all:
https://jsfiddle.net/1gxLuszc/2/

Damn, it definitely looks like it should work from the source, can confirm that it doesn't work. There is a hacky way to clear internal data, but I can't remember what it is (having never used it or looked at the cache code) - instead could you clear the values via Velocity with a duration of 0?

authors: Rycochet stephan-fischer

repo: julianshapiro/velocity


text:
how to turn off rAFProxy in my console?

Your system information

VelocityJS version:  2
Browser:  firefox quantum
Operating System:  windows

Checklist

Is this an issue with code?: [Yes]
Is this an issue with documentation?: [No]
Have you reproduced this in other browsers?: [No]
Have you checked for updates?: [Yes]
Have you checked for similar open issues?: [Yes]

It was turned off in the latest build on here - it'll make it onto npm with the next beta release, together with better background tab handling.

authors: Rycochet VicoErv


text:
Fix GenApplyLensSyntax.value collision

This PR fixes a collision when we use something like scala-newtype and have import monocle.macros.syntax.lens._ in scope.  A cause of collision is val value: A in GenApplyLensOps so it conflicts with any .value that is defined via implicit syntax. The same issue was fixed in Cats code base - see https://github.com/typelevel/cats/issues/2491 and
https://github.com/typelevel/cats/pull/2614.
Proposed change can be considered as binary compatible - unless someone used GenApplyLensOps.value in code which is unlikely. We can probably do a bit more and replace  toGenApplyLensOps and GenApplyLensOps with single implicit class - as Scala looks to be not instantiating it for macro based syntax. But this change can break some code using GenApplyLensOps directly, so for now I'm just making .value private and replace access to it in macro with pattern matching on tree.

LGTM @vladimirkl thanks for the PR!
Do you know if it applies to any other macros? or other syntax classes?

btw does this change only apply to cats branch? if not could you update the PR toward master, we will cherry pick it back to cats on the next realease.

I think that issue applies to every syntax class that subject as public field. Btw they are defined inconsistently - some are AnyVal and some are not. I can make them all AnyVal with private val subject. And PR can be renamed to "Fix implicit syntax collisions". I will try to make it against master.

Thanks @vladimirkl !

@julien-truffaut should I make a PR for cats branch with cherry pick?

it would be great if you have time

authors: julien-truffaut vladimirkl

repo: julien-truffaut/Monocle


text:
TypedSlots should support refactoring.

For now it does not.
#createRefactoring:for: needs to be implemented

Fixed in aa327c5

repo: juliendelplanque/TypedSlot


text:
Use git mv instead of just mv

The git diff  is bigger than it should be because it shouldn't have deleted, just renamed.

Thanks for suggesting @brunolemos !

That way fast :) thanks!

authors: brunolemos junedomingo

repo: junedomingo/react-native-rename


text:
Add a REST API to allow run now jobs from a job definition

Problem
Users don't have a way to pick and existing job definition and submit a notebook job that would run immediately.
Proposed Solution
Add a REST API that allows a job definition and runtime parameters as inputs, and enables a run now job overriding the passed in attributes in the REST API.
Additional context
https://github.com/jupyter-server/jupyter-scheduler/pull/45#discussion_r986902477

Won't implement, closing.

repo: jupyter-server/jupyter-scheduler


text:
Add feature to enable scrolling for Jupyter cell outputs?

I really like the beta features that allow you to control the page layout with Jupyter cell tags (such as "popout"). I was wondering about the possibility of enabling scrolling for Jupyter cell outputs in a similar fashion.
To clarify, if the output of a cell in a Jupyter notebook is super long, you can right-click and select "Enable Scrolling for Outputs." I find this option very handy. It would be cool if you could do the same thing with Jupyter Book.

that's a clever idea! I think this could just be a matter of adding a CSS rule to Jupyter Book like:
div.tag_scroll_output div.output_wrapper {
    max-height: 200px;
    overflow-y: scroll;
}

I think one main question is: what should be the max height used? Maybe whatever the classic notebook interface defaults to?

Cool! Yeah I think the default Jupyter notebook max height would be great.

any chance you'd be interested in giving a PR a shot to implement this? Otherwise I can try to get to it sometime when I have a moment.
FWIW, I think we'd need to add the extra CSS rule here:
https://github.com/jupyter/jupyter-book/blob/master/jupyter_book/book_template/_sass/page/components/_components.page.scss#L62
then some documentation explaining the new feature (probably on the "controlling page layout" page)

authors: choldgraf melaniewalsh

repo: jupyter/jupyter-book


text:
Test failure in Chrome

I also see this error on 4e59585dfdc334286bb3fbc1b4ffd6c702c8a4d2 when doing npm run test:chrome (but not under firefox). I've replaced the system path to the jupyterlab repo with <<<PATH>>>.
FAILED TESTS:
  jupyter-ui
    PDFRenderer
      ✖ should output the correct HTML
        Chrome 51.0.2704 (Mac OS X 10.10.5)
      Error: expected '<a target="_blank" href="data:application/pdf;<<PATH>>64,I don\'t have a b64\'d PDF">View PDF' to equal '<a href="data:application/pdf;<<PATH>>64,I don\'t have a b64\'d PDF" target="_blank">View PDF'
          at Assertion.assert (<<PATH>>/test/build/bundle.js:309:14)
          at Assertion.be.Assertion.equal (<<PATH>>/test/build/bundle.js:429:11)
          at Assertion.(anonymous function) [as be] (<<PATH>>/test/build/bundle.js:282:25)
          at Context.<anonymous> (<<PATH>>/test/build/bundle.js:25369:42)

This will be fixed by #56.

(I made the test less brittle).

Fixed by #56.

But we still have the problem that the path is appearing where it definitely should not appear, right? Shouldn't we be checking for data:application/pdf;base64,I don\'t have a b64\'d PDF?

Looks that way: https://github.com/nteract/transformime-jupyter-transformers/blob/master/test/pdf.transform.test.js#L27

Yeah, they have problem as well. Our problem also stemmed from the order of the html attributes being different in the test vs the reference string.

@jasongrout and @blink1073 what is the status of this one?

It is still a bug, 0.9 is a fair milestone.

authors: blink1073 ellisonbg jasongrout

repo: jupyter/jupyterlab


text:
Minor updates to new VDom classes.

This PR:

[x] updates the formatting of the new VDom classes to pass tslint
[x] removes superfluous constructors
[x] adds tests to suite

👍


text:
Peter did it again

A notebook to introduce probability by peter norvig:
Peter Norvig is now famous for writing well though and detailed notebooks walking the reader through interesting problems. We are one again bless by a beautiful introduction to probability using Python, and slowly build-up – using some basics programming skills – intuitions on how probability theory works.
http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb

@katiewhite360 Updated this one as well.

Nice

repo: jupyter/newsletter


text:
runtime.txt for installing R and requirements.txt clashing

Previously, I was installing R/RSTudio using runtime.txt and designating some Python packages to install in same build with requirements.txt. (This repository allowed me to launch sessions up until today when I rebuilt it to add a start script.) Now this combination of runtime.txt and requirements.txt doesn't work.
I made a simpler repository to demonstrate as the one I was working with when I found this issue is rather complex.
TEST EXAMPLE:
repo: https://github.com/fomightez/testruntimeANDreqs
binder launch link: https://mybinder.org/v2/gh/fomightez/testruntimeANDreqs/master (currently fails to build)
ERROR SEEN:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Removing intermediate container 927ccc3e1883
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"' returned a non-zero code: 1

NOTE:
Hiding runtime.txt by appending . in front makes requirements.txt be seen again and build works. However, there is no R then.

Thanks for finding and reporting this. Inn particular for reporting it with a nice example that reproduces the problem! I've made a PR that fixes this. The problem was introduced with a recent change to try and be smart about copying individual files over before the whole repo.

MyBinder/Binder makes it so easy to test and demonstrate issues effectively. :-)

(Let's keep this open till the PR is merged)

authors: betatim fomightez


text:
verbose env update

If you don't turn on verbose updates, then I'm pretty sure the log will look
like it's hanging while it runs all the install commands under the hood.
This adds -v in the call to conda env update which is triggered when
environment.yml is found.

I think GitHub puts the PR description into git commit messages, so let's make sure to rewrite it to make sense in a commit log before merging :)

updated comment

I've updated it to have line-breaks so git doesn't freak out. Thanks, @choldgraf!

authors: choldgraf yuvipanda


text:
Bokeh's maps are not visible in Binder

Configuration files I've tried:
environment.yml
-channels:
 -  - conda-forge
 -  - ioam/label/dev
 -  - defaults
 -
 -dependencies:
 -  - xarray==0.10.0
 -  - python
 -  - holoviews==1.9.2
 -  - numpy==1.13.1
 -  - pandas==0.20.3
 -  - geopandas==0.3.0
 -  - bokeh==0.12.13
 -  - ipython==6.1.0
 -  - ipywidgets==7.0.0

requirements.txt
-pandas==0.20.3
 -numpy==1.13.1
 -scikit-learn==0.19.0
 -xarray==0.10.0
 -ipywidgets==7.0.0
 -holoviews==1.9.2
 -holoviews==1.9.2
 -geoviews==1.4.2
 -geopandas==0.3.0

Binder doesn't show any errors or even warnings (as far as I see at least), but output cells wich have to contain maps contain only empty ipyWidgets.
Repo link

maybe @mrocklin has some thoughts on this? I wonder if errors w/ Bokeh are because it needs another port to run the server on?
does this not work for any interactive widget setup? See this repo for a working example w/ ipywidgets:
https://github.com/binder-examples/jupyter-extension
maybe that will point you in the right direction

cc @bryevdv

Pure Bokeh maps are working fine for me in Binder in the tutorial notebooks:

This notebook is runnable on binder using Bokeh 0.12.13 at:
https://hub.mybinder.org/user/bokeh-bokeh-notebooks-f0rpou6q/notebooks/tutorial/09 - Geographic Plots.ipynb
So aybe this is a holoviews issue with DynamicMap, I'm not sure sure at all. cc @jlstevens @philippjfr   @jbednar

ah cool @bryevdv - maybe this is a setup issue and not a bug issue then. Two quick thoughts:

Just a note that when sharing binder links, you can't actually share the URL of the hub instance created for you, that's unique to your computer. Instead you should share the "binder url" for that repo:
https://mybinder.org/v2/gh/bokeh/bokeh-notebooks/master?filepath=tutorial%2F00 - Introduction and Setup.ipynb

That's a useful tutorial repo, I'll create a binder-examples repo for the continuum JS stack so people can use that as a guide

@choldgraf I opened your link and here is what I see there:

and an empty cell at the bottom.

Hmmm, it worked for me. What browser/browser version  are you on?

Also can you see if there are any errors in the javascript console for your browser?

Google chrome, 63.0.3239.84
Yes, there are some errors:

Full first link (one with 404)

Those loads are definitely not initiated by Bokeh

@bryevdv do you think it's most likely another extension conflicting with the javascript?

I guess à related question is whether @alexander-radionov can get bokeh to work just fine on their own machine (w the same versions etc). Does it work for you locally Alexander?

@choldgraf  Yep. Locally it works fine. Factor maps are now visible too (didn't notice them first time opening your Binder link).
It seems odd for me. I thought Binder run the notebooks and then I just have to load an image and thus don't have to have any libs or extensions.

@Alexander-Radionov not at all, Binder is for executing real, live, actual jupyter notebooks. In particular, in the image above with the IFrame, it's not going to actually render the iframe (and hence the remote Bokeh app it links to) until you execute the cell for real. Did you hit shift-enter in that cell to execute it?

re: the 404s for momentjs loads, I don't think they are related to Bokeh in any way

@bryevdv Seems you are right and I did a stupid mistake, sorry. Now I see all outputs at 00 example.

I think I know whath's the problem with my notebook: outputs are empty because of absence of geoviews module in environment.yml. With this info, should I edit issue's title and my starting message?
...but if I try to add this in the config file, Binder's conda gives me this error stack trace (geoviews==1.4.2):
    conda-build version : not installed
         python version : 3.6.1.final.0
       requests version : 2.18.4
       root environment : /srv/conda  (writable)
    default environment : /srv/conda
       envs directories : /srv/conda/envs
                          /home/jovyan/.conda/envs
          package cache : /srv/conda/pkgs
                          /home/jovyan/.conda/pkgs
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /srv/conda/.condarc
      File "/srv/conda/lib/python3.6/site-packages/conda_env/cli/main_update.py", line 106, in execute
        installer.install(prefix, specs, args, env, prune=args.prune)
      File "/srv/conda/lib/python3.6/site-packages/conda_env/installers/conda.py", line 32, in install
        channel_priority_map=_channel_priority_map)
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 475, in install_actions_list
        dists_for_envs = determine_all_envs(r, specs, channel_priority_map=channel_priority_map)
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 540, in determine_all_envs
        spec_for_envs = tuple(SpecForEnv(env=p.preferred_env, spec=p.name) for p in best_pkgs)
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 540, in <genexpr>
        spec_for_envs = tuple(SpecForEnv(env=p.preferred_env, spec=p.name) for p in best_pkgs)
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 539, in <genexpr>
        best_pkgs = (r.index[r.get_dists_for_spec(s, emptyok=False)[-1]] for s in specs)
      File "/srv/conda/lib/python3.6/site-packages/conda/resolve.py", line 563, in get_dists_for_spec
        raise ResolvePackageNotFound([(ms,)])
    conda.exceptions.ResolvePackageNotFound:
      - geoviews ==1.4.2

If geoviews version is not specified:
Traceback (most recent call last):
      File "/srv/conda/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
        return_value = func(*args, **kwargs)
      File "/srv/conda/lib/python3.6/site-packages/conda_env/cli/main_update.py", line 106, in execute
        installer.install(prefix, specs, args, env, prune=args.prune)
      File "/srv/conda/lib/python3.6/site-packages/conda_env/installers/conda.py", line 32, in install
        channel_priority_map=_channel_priority_map)
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 489, in install_actions_list
        for specs_by_prefix in required_solves]
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 489, in <listcomp>
        for specs_by_prefix in required_solves]
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 489, in install_actions_list
        for specs_by_prefix in required_solves]
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 489, in <listcomp>
        for specs_by_prefix in required_solves]
      File "/srv/conda/lib/python3.6/site-packages/conda/plan.py", line 631, in get_actions_for_dists
        pkgs = r.install(specs, installed, update_deps=update_deps)
      File "/srv/conda/lib/python3.6/site-packages/conda/resolve.py", line 813, in install
        pkgs = self.solve(specs, returnall=returnall)
      File "/srv/conda/lib/python3.6/site-packages/conda/resolve.py", line 868, in solve
        self.find_conflicts(specs)
      File "/srv/conda/lib/python3.6/site-packages/conda/resolve.py", line 369, in find_conflicts
        raise UnsatisfiableError(bad_deps)
    conda.exceptions.UnsatisfiableError: The following specifications were found to be in conflict:
      - geoviews -> python 3.4* -> xz 5.0.5
      - python 3.6*
    Use "conda info <package>" to see the dependencies for each package.

I think it may be connected with this issue of geoviews.

No worries, glad it's working

Yes! Please update the title and first post to match the current state of the issue :-)

And glad to hear you got it partially working!

I was going to report this issue but this sub helped me fix it.
I originally had ioam in the dependencies and was getting the error ResolvePackageNotFound: ioam.
I guess I was confused as you can install ioam from the conda-forge channel following instructions from geoviews http://geo.holoviews.org/
I simply moved it to the channels and pinned the version of goeviews (not sure if I needed to pin the version thought).
My suggestion for a fix is make the error message ResolvePackageNotFound: ioam to tell you to move ioam to the channel list but it's very specific and i'm not sure how easy it is to implement it.
For reference my folder is: https://github.com/raybellwaves/rot-eof-dev

ioam is a conda channel, not a conda package, so it is not installable.  GeoViews is being released today or tomorrow, but in the meantime you can follow the instructions at pyviz.org to install it (conda install -c pyviz pyviz).

@jbednar do you know if Binder does, now, work with Geoviews? (aka, is this issue resolved?)

authors: Alexander-Radionov bryevdv choldgraf jbednar mrocklin raybellwaves

repo: jupyterhub/binderhub


text:
improve versioning

fixes https://github.com/jupyterlab/jupyterlab_app/issues/204

We've been using tbump in a few repos to make coordinated version changes.

We've been using tbump in a few repos to make coordinated version changes.

thanks @blink1073 I will check that out!

We've been using tbump in a few repos to make coordinated version changes.

integrated into project and I really liked it! I will include in release documentation with another PR along with CI changes.


text:
Use npm update

IMHO, using update over install has some advantages:

Installs packages as it did before
Updates packages the next time

👍

authors: idleberg mrstux

repo: jussi-kalliokoski/atom-npm-plus


text:
🛑 Misskey is down

In 7571468, Misskey (https://mkacg.social) was down:

HTTP code: 502
Response time: 463 ms

Resolved: Misskey is back up in ea09031 after 31 minutes.


text:
Ability to call .any_actions, similar to .target_actions

Most streams provide a convenience method on the object so you don't have to import the function from actstream.models. However, the any_stream doesn't. Could this possibly be provided?
>>> object.any_actions.all()

unfortunately those handy helpers are GenericRelatedObjectManagers and django sets them up internally when using GenericRelations. there are only 3 (actor/target/object) which are setup so you will have to use those or use the any_stream helper function.

authors: benbacardi justquick

repo: justquick/django-activity-stream


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Sorry, your issue will be closed as you did not submit your information in the correct format.

authors: abedimajid jeffwami

repo: justswaporg/justlists


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


text:
Ensure all provided clients are provided based on endpoint uris

We should provide clients based on endpoint uris instead of using a singleton approach.
https://github.com/applike/gosoline/pull/378 is the first one because it was needed in an integration test scenario, however all kind of clients should be provided like this.
Research which clients exist and how we can provide them based on their uri.

I guess this is done with the AWS v2 changes?

yeah, i think so. Thanks!

authors: ajscholl applike-ss

repo: justtrackio/gosoline


text:
not work

hello,
i tested it on my website,whose server is Apache.
its not work
can you please help me?

Hi , I just make a quick fix. Can you  try is it work. Thank you :+1:

authors: hdqtian juthawong


text:
Lisätty komentojen execute-funktioon uusi rajapinta

lisätty http-rajapinta, jotta voidaan testata yhdistämättä ulkoiseen palvelimeen

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 73.52941% with 9 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

src/commands/add_reference.py
54.54%
5 Missing :warning:

src/http_util.py
40.00%
3 Missing :warning:

src/stub_http_util.py
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

src/RobotLibrary.py
80.64% <100.00%> (+1.33%)
:arrow_up:

src/commands/__init__.py
78.12% <100.00%> (-0.67%)
:arrow_down:

src/commands/delete_reference.py
88.88% <100.00%> (ø)

src/commands/edit_reference.py
87.50% <100.00%> (ø)

src/commands/list.py
58.75% <100.00%> (ø)

src/interpreter.py
92.00% <100.00%> (+0.16%)
:arrow_up:

src/stub_http_util.py
66.66% <66.66%> (ø)

src/http_util.py
40.00% <40.00%> (ø)

src/commands/add_reference.py
66.03% <54.54%> (+2.87%)
:arrow_up:

authors: Jompda codecov-commenter

repo: juuvuor/ref-helper


text:
Lock chats

The server has to go over the all chats, and lock them if the last massage has sent at least fifteen minutes ago.

I think this is not related to this repo. Feel free to re-open with more details if it is. Thanks!

authors: i-rox jvandemo

repo: jvandemo/github-scrum-workflow


text:
attempting to access static member via instance results in AssertionError

For example, using dart.html:
    value elements = querySelectorAll("#something");
    for (Element el in CeylonIterable(elements)) {
        print(el.\iATTRIBUTE_NODE);
    }

the compiler throws:
Compilation failed: AssertionError: Assertion failed: Member identifiers must be DartSimpleIdentifiers.; violated

but print(Node.\iATTRIBUTE_NODE) works.

This is now disallowed by the typechecker in Ceylon 1.3.1:

source/simple/run.ceylon:7: error: reference to static member must be qualified by type:

'ATTRIBUTE_NODE' is a static member of 'Node'
        print(el.\iATTRIBUTE_NODE);
              ^

repo: jvasileff/ceylon-dart


text:
🛑 PERFUMERIA GOLDSTONE is down

In 357db83, PERFUMERIA GOLDSTONE (https://perfumeriagoldstone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PERFUMERIA GOLDSTONE is back up in 99c8a3d after 34 minutes.

repo: jveyes/upptime


text:
Group bloom filter bits into CPU L1 cache sized buckets

Could you check out 'Group bloom filter bits into CPU L1 cache sized buckets' optimization and submit your report from running make perf_test target prior and after merging aforementioned commit?

Thanks, this is nice. I'll do a few tweaks, run tests on a couple machines and merge ASAP.

Sorry for the delay, had some change tonight to catch up on this.
This PR is now fully merged. (github seems confused about it, possibly because I did the merge manually via CLI. All the commits are merged, however.)
I moved things around a bit as the commit comments describe.
The changes are substantial performance improvement on the machines I've tested!
Collisions as reported by the test seem to vary, in some scenarios better sometimes worse, so added some scripts to look at those. Haven't finished all test runs on that front.

repo: jvirkki/libbloom


text:
Strange connection error

Describe the problem:

When running an operator, I periodically getting
Mar 24, 2019 1:16:24 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://172.30.0.1/  was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

Any insight?
Steps to reproduce:

Observed Results:

What happened?  This could be a description, log output, etc.

Expected Results:

What did you expect to happen?

related issues in fabric8 k8s client:

https://github.com/fabric8io/kubernetes-client/issues/1228
https://github.com/fabric8io/kubernetes-client/issues/1013
https://github.com/fabric8io/kubernetes-client/issues/1090

and I can see the same issue in the spark-operator

Thanks

authors: Jiri-Kremser blublinsky

repo: jvm-operators/abstract-operator


text:
Failed to inject profiler into 74173

linux version
Linux noldor-dev 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
java version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
async-profiler version
async-profiler-1.8.2-linux-x64
exec
sudo /usr/local/jdk/bin/jps
74173 PricerStartup

sudo ./profiler.sh -d 30 -e cpu -f pricer.svg 74173

error
Failed to inject profiler into 74173
        linux-vdso.so.1 (0x00007ffc623b2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5358397000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5358177000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5357f6e000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f5357bd9000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5357857000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f535763f000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f535727d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5358bdf000)

Duplicate of #203, #78
Make sure the JVM process has acess to the profiler directory.

repo: jvm-profiling-tools/async-profiler


text:
QueenConstructorDeclarationNode.java: Handle constructor type param...

The puzzle -861428266 originating from #10 has to be resolved:
https://github.com/jvmqueen/queen-of-java/blob/6275c7b1502de217d5b92f103529ff5c008339ec/src/main/java/org/queenlang/transpiler/nodes/QueenConstructorDeclarationNode.java#L45-L45
"Handle constructor type parameters.".
The puzzle was created by amihaiemil at 2022-12-04 18:15:11 +0200.
Estimation is 60 minutes.
If you have any technical questions, don't ask me, I won't be able to help. Open new issues instead.

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2022-12-14T16:20:28.367771.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@amihaiemil Don't forget to close this ticket before the deadline (2022-12-14T16:20:28). You are past the first half of the allowed period.

@amihaiemil Looks like you've missed the task deadline (2022-12-14T16:20:28). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@amihaiemil I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

Puzzle disappeared from the code, that's why I closed this ticket.

repo: jvmqueen/queen-of-java


text:
piechart not drawn correctly

When drawing a pie chart, somehow there are areas which are drawn two times, as visible in the screenshot. also, the message popup box on hover is displaced underneath the graph.

Hi @valendinosaurus,
could you provide your code?

Hi @jolo-dev
In my service, I create the chart like this
new roughViz.Pie({ 	element: element, 	data: data, 	width: width, 	height: height, 	roughness: roughness, 	fillStyle: 'hachure', 	fillWeight: 4, 	innerStrokeWidth: 1, 	simplification: 0.5, 	axisFontSize: '1rem', 	tooltipFontSize: '1rem', 	labelFontSize: '1rem', 	titleFontSize: '1rem', 	axisRoughness: 0.5 });
and my data gets created like following
mapAccountsForRoughViz(accounts: AccountNormalized[]): {} { 	let labels = []; 	let values = []; 	accounts.forEach(a => { 		labels.push(a.name); 		values.push(a.saldo); 	}); 	return {labels, values}; }
resulting in this effective data
{     "labels":         ["Hauptkonto","Sparkonto"],     "values":         [1064.5899999999701,3497.4500000000007] }
I also tried to round the numbers with Math.round() resulting in
{     "labels":         ["Hauptkonto","Sparkonto"],     "values":         [1065,3497] }
but the result is the same. I have another chart at a different place with more than two elements, there I never saw this behaviour. Funny enough, from time to time the chart with only two elements gets drawin correctly, but I couldn't reproduce the behaviour.
I suspect it has something to do with only two elements, if I alter my function mapAccountsForRoughViz that it pushes everything twice (resulting in 4 elements), the chart gets drawn correctly.

Oh yes, you're right. With two elements there is "weird" behavior.
I have tested that in the example:
https://blockbuilder.org/jwilber/d117e0b0864a161bec2d914013ed69da
Let me check what I can do.

Hi @jolo-dev, just wondering if you have any updates on this or any suggestions/direction for me to try and resolve it if I can?

Hi @vcheeze,
Sorry, totally forgot about this.
I would love your contribution :)

authors: jolo-dev valendinosaurus vcheeze

repo: jwilber/roughViz


text:
Increase limits for size of files that can be passed

I am using nginx-proxy to front for a series of Wordpress containers. Some of the content and themes on those sites exceeds the default limits for nginx - this change increases the size of what can be uploaded.

You can do this already by mounting in a custom proxy config or using a derived images.  See: https://github.com/jwilder/nginx-proxy#proxy-wide

authors: dcornejo jwilder

repo: jwilder/nginx-proxy


text:
Redraw stops until mouse is brought over the terminal

Which operating system does the issue occur on? Arch Linux
If on linux, are you using X11 or Wayland? X11
Occasionally, the terminal will stop redrawing until I hover my mouse over it. I've only noticed this while doing things that produce output over a large amount of time (e.g. system updates). I haven't been able to consistently reproduce it, though.
It's pretty annoying to think apt or pacman has hung only to discover it finished five minutes ago when I move my mouse over the window. A friend of mine has encountered it while tailing logs.
I'm pretty sure this isn't #824, as it's pretty much the opposite issue: it's resolved by moving the mouse over the terminal rather than a keypress. I did a little bit of searching but wasn't able to find a similar bug, sorry if I missed it.

Are you on v0.3.3, in case you're on it, please update to v0.4.0, this bug should be solved on it.

Updated alacrity and tailed my logs for hours without this bug occurring.
Looks like @kchibisov is right :tada:

Aah, you're right, can't seem to reproduce it anymore so it must be gone. My bad and thanks a lot!

The original issue is #2217.

authors: chrisduerr kchibisov liamdiprose theOperand

repo: jwilm/alacritty


text:
ZSH-autosuggestions not rendered

The top portion shows zsh-autosuggestions rendered in osx' Terminal, the bottom one is rendered by alacritty. Besides the missing powerline-font, the autosuggestions -release is not rendered by alacritty. The cursor is at | as in cargo build -|.

Can you try this on the latest master? A fix was just landed that may resolve this issue as well.

Nope. The logged events suggest however that ZSH does not even try to render the suggestion and move the cursor back so the source of the problem is probably not alacritty to parse or render correctly but to identify it's capabilities sufficiently.

Meh. The reason is quite simply that the dark solarized color scheme in default alacritty.yml has the background color being the very same as the "bright black" color. Setting the autosuggestion-style to a different color or changing the background/brblack color in alacritty fixes the problem.
My osx' terminal has a different color to prevent exactly that: the text is rendered, but not visible.

Should we update the solarized theme in the wiki?

The wiki (and possibly a comment in alacritty.yml) should read something like:

Beware that when using the dark solalized color scheme, the color value for bright black matches the background color. Situations know to be affected by this are zsh-autosuggestions with the default ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg-8', which effectively makes suggestions invisible. You may either change the color scheme or avoid using bright black as a color.

Seems like a color scheme specific issue.

authors: jwilm lukaslueg


text:
Can't see the speed benefits with tmux

I know your main use case is alacritty with tmux however once launching tmux all the speed benefits of alacritty become bottlenecked by tmux itself.
Perhaps this is just a bug in my setup and this is not intended behavior.  I have run tests on arch linux using both intel open drivers and nvidia proprietary drivers.
Without tmux alacritty does a 'time find /' in 3s with intel and 1s with nvidia.  When I launch tmux that becomes 10s regardless of driver, which is virtually the same as the 'st' terminal I normally use.

Well, I've done the two tests with and without tmux in my Termite, urxvt and Alacritty. Tmux has no user configuration.

time cat bit.txt.

Without tmux

With tmux

time find /

Without tmux

With tmux

As you can see, it is not the Alacritty problem. Obviously tmux slows down the terminal performance.

@0rdy would you mind, for consistency, adding neovim tests here? I'm currently using neovim as my terminal multiplexer and would like to see the comparison on your device 😄

@hhsnopek yes, I have installed neovim. The order of terminals still the same.

time cat big.txt.

time find /

I just did some experimenting with the latest tmux master and it seems the situation has improved drastically. I am getting nearly identical results now with and without tmux.


text:
KeyError: 'dddddaa'

I am having some troubles train with my data. I am currently using the command:
python trainval_net.py --dataset pascal_voc --net vgg16 --bs 24 --nw 8 --lr 0.001 --lr_decay_step 2000 --cuda --mGPUs
However, I get the following error:
Traceback (most recent call last):
File "trainval_net.py", line 197, in
imdb, roidb, ratio_list, ratio_index = combined_roidb(args.imdb_name)
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 129, in combined_roidb
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 129, in
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 126, in get_roidb
roidb = get_training_roidb(imdb)
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 110, in get_training_r
imdb.append_flipped_images()
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/datasets/imdb.py", line 118, in append_flipped_images
boxes = self.roidb[i]['boxes'].copy()
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/datasets/imdb.py", line 76, in roidb
self._roidb = self.roidb_handler()
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 135, in gt_roidb
for index in self.image_index]
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 135, in
for index in self.image_index]
File "/share/home/weizhenfang/Playground/faster-rcnn.pytorch/lib/datasets/pascal_voc.py", line 246, in _load_pascal_an
cls = self._class_to_ind[obj.find('name').text.lower().strip()]
KeyError: 'dddddaa'

This means there are some class names(in your case: 'dddddaa') in your xml files that are not belong to your pre-defined classes(self._class_to_ind). So you need to clean the xml files or extend your pre-defined classes.


text:
Add security and authentication

As a user, I can log into my account

v


text:
数据集

可以分享一下data目录吗，我是一个初学者没有理解数据集的处理方式

Hello, Sorry for my late reply! I have updated the benchmark download link and its source in README. If you have questions on data preprocessing, we recommend our current project, which is for friendly tabular model pipeline construction and may help understanding. If you can further problems on the experiment, for prompt reply, feel free to contact us through the school email of my profile.


text:
🛑 le Zata is down

In 8ea143f, le Zata (http://zata.free.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: le Zata is back up in c597ba7 after 11 minutes.

repo: jyhem/upptime-jyhem


text:
(EPOCH_DEPRECATION_WARNING, UserWarning)오류

안녕하세요 화자인식에 관심이 있어 이것을 이용하여 프로젝트를 진행중입니다.
제가 거의 이쪽에 관한 지식은 전무한상태에서 시작하려다보니 에러메시지가 떠도 무슨의미인지 잘 모르겟어서 여쭤봅니다. 적힌대로 train->enroll->identification->verification순으로 실행을 해봤는데 최종 결과에서 음성이 일치하는지 비교할때 화자의 이름이 아니고 test라고 뜨더라고요 원인이 궁금합니다.
그리고 train.py에서 epoch1 진행후에
( The epoch parameter in scheduler.step() was not necessary and is being deprecated where possible. Please use scheduler.step() to step the scheduler. During the deprecation, if epoch is different from None, the closed form is used instead of the new chainable form, where available. Please open an issue if you are unable to replicate your use case: https://github.com/pytorch/pytorch/issues/new/choose.)이런 에러메시지가 뜨는데 원인을 잘모르겟어서 여쭤봅니다

안녕하세요. 혹시 verification 결과가 test라고 나오는 건가요?
2019_LG_SpeakerRecognition_tutorial.pdf 파일을 보시면 결과 창이 어떻게 나오는지 제가 수록해놓았는데 비교해보시면 좋을 것 같습니다. 화자의 이름이아니고 test라고 뜬다고 말씀하시는걸보면 identification 말씀하시는건가 싶기도한데, 조금만 더 자세히 알려주실수있나요?
두번째 에러메시지의 경우는 제가 처음보는 문구인데.. 일단 epoch1 자체는 진행이되서 훈련 loss 등이 print되는 것인가요?
가능하시다면 두 경우 모두 출력 결과 사진을 보내주시면 제가 파악하기 편할 것 같습니다.

위에서부터(train,identification,verification)순입니다. 감사합니다

'UserWarning' 관련해서는 아마 버젼 문제이지 않을까 싶은데요. 저도 처음 보는 문구라 자세히는 모르겠으나, 훈련 loss 및 acc가 잘 변화하는거로 보아 큰 문제는 없을 것 같습니다.
test라고 나오는건 아마 디렉토리 설정이 잘못되어 있을 것 같은데요. verification 코드에서 test_dir 및 test_speaker가 알맞게 설정되어있는지 확인하셔야 될 것 같습니다.

답변 감사합니다

추가적으로 여쭤볼것이 있는데 주소는 이런식으로 작성하는것이 맞나요? 이렇게 하니 에러가 뜨긴 뜹니다.

네 맞습니다.  train.py에서 main()을 보시면, log_dir이 있는데 checkpoints가 저장되는 곳입니다. enroll.py의 main()을 보시면 embedding_dir이 있는데 speaker embedding들을 저장하는 곳입니다.
지금 윈도우에서 실험하시는 건가요? verification.py의 perform_verification 함수를 보시면, test_spk = test_filename.split('/')[-2].split('_')[0] 이 부분에서 '/'를 os.sep 혹은 '\'로 바꿔주시면 될 것 같습니다. 저는 우분투만 고려해서 경로명을 나눌 때 '/'로 나누는거라 가정했는데, 윈도우까지 포함하려면 os.sep으로 바꿔주시는게 좋을 것 같습니다. identification.py도 마찬가지구요

네 맞습니다 현재 윈도우에서 코드를 실행시키고 있습니다.
덕분에 결과값을 얻기까지는 진행되었어요 정말 감사합니다.
이제 추가적으로 변경을 해보면서 시도해볼것들이 조금 있을까요?

README.md의 4. Change other options에 적어놓았습니다.
혹은 2019_LG_SpeakerRecognition_tutorial.pdf 파일의 제일 마지막 쪽에 위치한 '개별 실습'을 참고하셔도 좋을 것 같습니다.

추가적으로 제가 하고 싶은것은 제가 녹음을 한 음성이나 현재 logfbank_nfilt40 폴더 안 train 파일에 있는 많은 화자들을 추가시키는 것입니다. 다른 질문글을 봣는데 test 폴더안에 임의의 화자 폴더를 만들고 거기에 enroll.p파일을 만들라고 하셧는데 그 과정은 어떻게 하는건가요?
그리고 이 train

폴더 안에 있는 것이 이용되는것이면 수정날짜가 바껴야하는데 작년 12월 로 고정되어 있어서 이건 사용하는 것이 아닌가요?

우선 READMD에 적혀있는 것처럼 python_speech_features 라이브러리를 이용하여 feature를 추출합니다.
그런 다음 아래와 같은 방식으로 ".p" 형식으로 저장합니다.
import pickle
speaker_label = filename.split('/')[-3]
feat_and_label = {'feat':feature, 'label':speaker_label}
with open(output_filename, 'wb') as fp:
pickle.dump(feat_and_label, fp)
혹시 동작을 안한다면, python 코드를 이용하여 ".p file" 저장하는 법을 구글링해보시면 될 것 같습니다.
훈련 파일들은 train 폴더에 저장되며,
등록 및 테스트 파일들은 test 폴더에 저장됩니다. train 폴더안에 있는 폴더들 (ex. 084F2102) 등은 화자 id에 대응됩니다.
따라서 훈련 화자를 추가하고 싶으시다면 train 폴더 안에 '화자명' 폴더를 생성하시고, 그 안에 ".p file"로 feature를 저장하시면 될 것 같습니다. 084F2102 폴더 등을 직접 클릭해보시면 어떤 식으로 파일이 구성되어 있는지 확인할 수 있습니다.

주신 코드 덕분에 wav 파일을 .p파일로 변경해서 저장하는것 까지 하였습니다. 그걸 이용해서 제가 직접 여러사람의 목소리를 녹음을 하여 컴퓨터에 wav파일로 생성하고 그것을 .p파일로 변환해서 train에 화자를 추가를 하여 train.py를 실행 시키는 순간 아래와 같은 오류가 떳습니다.

그리고 추가적으로 train의 파일의 화자들의 이름들의 의미도 의문이고, 추가할때 이름은 무엇으로 지어야할지도 모르겟습니다. 그 폴더 안에 각자 들어가있는 수많은 .p파일은 전부다 짧은 wav파일을 변환한 것인지 여쭤보고 싶습니다.
저는 추가한 화자같은 경우는 각자 enroll용, test용 각각 두개씩만 만들었습니다. 그리고 이름은 그냥 제가 앞에꺼를 참고해서 임의로 적었습니다.

답변 주시면 감사하겟습니다.

화자 이름은 영어랑 숫자로 이루어지기만하다면 아무렇게나 지으셔도 상관없습니다. train 폴더의  화자명에서 가운데 M이들어가면 남성이고, F가 들어가면 여성인데 편의상 이렇게 지은 것이지 상관은 없습니다. 제가 업로드한 폴더 중 'test_wavs'라는 폴더가 있는데  그 폴더를 확인해보시면 될 것 같습니다. 그 안에 있는 enroll.wav, test.wav를 이용하여 feature 추출한 파일들을 각각 enroll.p, test.p로 저장한 것입니다. 따라서 .p파일들은 서로 다른 wav파일들을 변환한 것이 맞습니다.
제가 위에서 말씀드린 것처럼,
feat_and_label = {'feat':feature, 'label':speaker_label}
with open(output_filename, 'wb') as fp:
pickle.dump(feat_and_label, fp)
와 같은 방식으로 feature와 label을 둘다 저장하신 것 맞나요? feat이라는 이름으로 feature를 저장하고, label이라는 이름으로 label을 저장하셔야합니다.

위에 주신 코드에서 speaker_label은 화자의 이름이 되어야하는건가요? 저장할때 speaker_label이 파일명+'.p'가 되는건가요?
enroll.p,test.p 이렇게 두가지 만들었구요 test_wav에 있는 파일 시간이 대략 14~16초인걸 생각해서 15초로 녹음시간을 맞춰서 진행했습니다.
근데 그럼 제가 feat_logfbank_nfilt40에 있는 test폴더에 있는 화자는 따로 train할때 추가해서 따로 안해도 되는건가요? 그러고 보니 지금 test에 원래 있던 화자들은 train폴더 화자 목록에 없었던것같네요.
제가 생각한건 테스트용에있는 화자들도 train을 다 진행해야 test가 수행이 되는걸로 생각하고 있었습니다.
말씀대로 해보니 결과가 이렇게 나오는데

970M5201은 제가 제 목소리를 녹음하는데 대사를 다르게 해서 두가지 추가한것입니다.
결과를 보시면 verification 할땐 enroll speaker,test speaker를 970M5201로 했을때만 accept가 떠서 잘되는데 .
identification할땐 엉뚱하게 다른 화자가 뜨고 일치도도 0.64로 엄청 낮은걸 확인할수 있었습니다. 제가 녹음후 따로 잡음 처리는 하지않았는데 따로 해봐야할까요?

네. speaker_label이 화자명입니다.
그리고 폴더명이 화자명이므로, 폴더명+.p가 될 것 같습니다.
train폴더는 훈련용 데이터고, test폴더는 테스트용 데이터이므로 서로 별개입니다.
따라서 test 폴더에 있는 화자를 train할때 추가할 필요가 없으며, 추가해서도 안됩니다.
훈련(train) 과정을 통해 모델(resnet)의 파라미터가 학습되어 저장되며, 그 결과가 model_saved 폴더에 저장됩니다.
잡음이 아주 심하지 않다면 잡음의 영향이라기보다는... 모델 사이즈 및 훈련 데이터의 부족 때문이지 않을까 싶습니다. 제가 올려놓은 훈련 데이터는 소량이며, 모델 사이즈도 상당히 적게 설정되어있으므로 일반화 능력이 부족한 상태입니다. 따라서 훈련 데이터와 많이 이질적인 테스트 데이터가 들어올 경우 잘 동작하지 않을 수 있습니다.

그러면 정확성을 높이기 위한 방법은 없을까요?
train에 폴더를 추가하여 정확도를 높이는건 가능한가요? 아니면 readme에도 나와있듯이 hyperparameter를 바꾸는 방법으로 (val_ratio조정,epoch갯수 변경)을 통해서 최적의것을 찾으면 일치도가 증가할까요?

훈련 화자 수 및 데이터를 증가하고, 그에 맞게 모델 사이즈도 키우면 성능이 향상됩니다

훈련 화자 수를 증가시켜보고 싶은데 현재 train에 들어있는 밑에 사진과 같은 수많은 파일들은 어떤것인가요? wav파일을  .p로 변환한것인가요? 이것의 type을 확인해보니 dict 라고 되어있었습니다.

train에 내용을 추가하려면 이거와 비슷한 파일을 넣어야 되지않나요?

폴더 및 파일에 대한 설명은 2019_LG_SpeakerRecognition_tutorial.pdf에 자세히 설명하였으니 참고 부탁드립니다.
그리고 위에서 말씀드린 것처럼
feat_and_label = {'feat':feature, 'label':speaker_label}
with open(output_filename, 'wb') as fp:
pickle.dump(feat_and_label, fp)
와 같은 방식으로 dictionary를 저장한 것이 .p 파일들입니다.


text:
pip install fails

Hello Sir,
Thanks for this awesome project. I want to use ur  project but am unable to install the same. Can u plz help?
!pip install git+https://github.com/jyotisham/jyotisha/@master -U
!pip install jyotisha -U
Am using python 3.9
I have also tried installing from pypi. Thanks in advance
WARNING:2023-01-24 19:45:23,189:solar:334 No Garbhottam end found in this panchaanga interval!
DEBUG:2023-01-24 19:45:23,199:solar:396 No padmaka-yOgaH-1 involving KARANA 22 + YOGA 17 in span ?: (2021-05-23 05:45:37.160718+05:30, 2021-05-23 18:25:50.623387+05:30)!
WARNING:2023-01-24 19:45:23,273:__init__:81 Removing mahA~kArttikI ({datetime.datetime(2021, 11, 18, 0, 0)}) since it does not coincide with tripurOtsavaH ({datetime.datetime(2021, 11, 19, 0, 0)})
WARNING:2023-01-24 19:45:23,274:__init__:93 pancha-parva-4 on both days 130 and 131! Deleted 130
DEBUG:2023-01-24 19:45:23,280:__init__:70 Festival nirmalena_k2-jayaH is only in the future!
DEBUG:2023-01-24 19:45:23,280:__init__:70 Festival nirmalena_k2-jayaH is only in the future!
INFO:2023-01-24 19:45:23,283:annual:111 Writing computed panchaanga to /Users/dshetyo/Documents/jyotisha/Chennai__gregorian_2021__MULTI_NEW_MOON_SIDEREAL_MONTH_ADHIKA__CHITRA_AT_180.json...

TypeError                                 Traceback (most recent call last)
File ~/venv/python3.9/lib/python3.9/site-packages/IPython/core/formatters.py:706, in PlainTextFormatter.__call__(self, obj)
    699 stream = StringIO()
    700 printer = pretty.RepresentationPrinter(stream, self.verbose,
    701     self.max_width, self.newline,
    702     max_seq_length=self.max_seq_length,
    703     singleton_pprinters=self.singleton_printers,
    704     type_pprinters=self.type_printers,
    705     deferred_pprinters=self.deferred_printers)
--> 706 printer.pretty(obj)
    707 printer.flush()
    708 return stream.getvalue()

File ~/venv/python3.9/lib/python3.9/site-packages/IPython/lib/pretty.py:410, in RepresentationPrinter.pretty(self, obj)
    407                         return meth(obj, self, cycle)
    408                 if cls is not object \
    409                         and callable(cls.__dict__.get('__repr__')):
--> 410                     return _repr_pprint(obj, self, cycle)
    412     return _default_pprint(obj, self, cycle)
    413 finally:

File ~/venv/python3.9/lib/python3.9/site-packages/IPython/lib/pretty.py:778, in _repr_pprint(obj, p, cycle)
    776 """A pprint that just redirects to the normal repr function."""
    777 # Find newlines and replace them with p.break_()
--> 778 output = repr(obj)
    779 lines = output.splitlines()
    780 with p.group():

File ~/venv/python3.9/lib/python3.9/site-packages/sanskrit_data/schema/common.py:262, in JsonObject.__repr__(self)
    260 def __repr__(self):
    261   # __str__ falls back to this, and this is used in printing lists.
--> 262   return self.to_string(format="json")

File ~/venv/python3.9/lib/python3.9/site-packages/sanskrit_data/schema/common.py:256, in JsonObject.to_string(self, format, floating_point_precision, sort_keys)
    254 json_map = self.to_json_map(floating_point_precision=floating_point_precision)
    255 if format == "json":
--> 256   return json.dumps(json_map, sort_keys=sort_keys, ensure_ascii=False, indent=2)
    257 else:
    258   return toml.dumps(json_map, encoder=MultilinePreferringTomlEncoder())

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py:234, in dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, cls, indent, separators, default, sort_keys, **kw)
    232 if cls is None:
    233     cls = JSONEncoder
--> 234 return cls(
    235     skipkeys=skipkeys, ensure_ascii=ensure_ascii,
    236     check_circular=check_circular, allow_nan=allow_nan, indent=indent,
    237     separators=separators, default=default, sort_keys=sort_keys,
    238     **kw).encode(obj)

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:201, in JSONEncoder.encode(self, o)
    199 chunks = self.iterencode(o, _one_shot=True)
    200 if not isinstance(chunks, (list, tuple)):
--> 201     chunks = list(chunks)
    202 return ''.join(chunks)

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:431, in _make_iterencode.<locals>._iterencode(o, _current_indent_level)
    429     yield from _iterencode_list(o, _current_indent_level)
    430 elif isinstance(o, dict):
--> 431     yield from _iterencode_dict(o, _current_indent_level)
    432 else:
    433     if markers is not None:

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:405, in _make_iterencode.<locals>._iterencode_dict(dct, _current_indent_level)
    403         else:
    404             chunks = _iterencode(value, _current_indent_level)
--> 405         yield from chunks
    406 if newline_indent is not None:
    407     _current_indent_level -= 1

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:405, in _make_iterencode.<locals>._iterencode_dict(dct, _current_indent_level)
    403         else:
    404             chunks = _iterencode(value, _current_indent_level)
--> 405         yield from chunks
    406 if newline_indent is not None:
    407     _current_indent_level -= 1

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:438, in _make_iterencode.<locals>._iterencode(o, _current_indent_level)
    436         raise ValueError("Circular reference detected")
    437     markers[markerid] = o
--> 438 o = _default(o)
    439 yield from _iterencode(o, _current_indent_level)
    440 if markers is not None:

File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py:179, in JSONEncoder.default(self, o)
    160 def default(self, o):
    161     """Implement this method in a subclass such that it returns
    162     a serializable object for ``o``, or calls the base implementation
    163     (to raise a ``TypeError``).
   (...)
    177
    178     """
--> 179     raise TypeError(f'Object of type {o.__class__.__name__} '
    180                     f'is not JSON serializable')

TypeError: Object of type set is not JSON serializable

नमस्ते - I don't understand what's causing this. https://github.com/jyotisham/jyotisha/actions indicates that fresh installs and tests work fine. Please show the python code/ command leading to this output. You may find the tests a useful reference.

Installed again. Works now

authors: code4passion dshetyo vvasuki

repo: jyotisham/jyotisha


text:
New Lines in Translation field are not respected on the Terms page

Description
When I create a new line in the translation field (excuse my weird way of doing hints!):

I see this on the terms page:

It would be useful if it kept the new lines.

Thanks, fixed in develop branch, will be in the next launch. 👍

authors: M-Biggles jzohrab


text:
Add "mark page done, but don't set all to known" check on final page

Per https://discord.com/channels/1074759089051160647/1074759090338812015/1185063655977529404
On the last page, there's only a green checkmark, but not a ">" to mark page as done.  Need something similar on last page.

Fixed in develop branch.


text:
kapp error when KAPP_KUBECONFIG_YAML set to empty

I encountered a bug, where KAPP_KUBECONFIG_YAML is being set to empty in version >0.6, which somehow leads to yaml formatting errors for my yaml specs.
Just changing https://github.com/k14s/kapp-controller/blob/develop/pkg/deploy/kapp.go#L196 to just do != "" fixes the issue. Is there a reason for using the len approach?

im not sure i understand what error you are encountering. len(...) > 0 and ... != "" is the same thing. how does your App CR look like?

Ya sorry I was not very clear. For this app CR
apiVersion: kappctrl.k14s.io/v1alpha1
kind: App
metadata:
  name: ds-tools-jupyterhub
  namespace: default
spec:
  serviceAccountName: cluster-admin-sa
  fetch:
  - image:
        # Docker image url; unqualified, tagged, or
        # digest references supported (required)
        url: docker/image
        # secret with auth details (optional)
        secretRef:
          name: auth
        subPath: ds-tools/jupyterhub
  template:
  - ytt:
        ignoreUnknownComments: true
        strict: false
  deploy:
  - kapp: {}

The len condition evaluates to true, even though no GenericOpt is set. This leads to the kapp cmd environment containing KAPP_KUBECONFIG_YAML="", which leads to the kapp deploy exiting with something like mapping values are not allowed in this context. This does not happen when using the 0.6 version.

could you include error message you see in status section?

kind: App
apiVersion: kappctrl.k14s.io/v1alpha1
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: >
      {"apiVersion":"kappctrl.k14s.io/v1alpha1","kind":"App","metadata":{"annotations":{},"name":"ds-tools-jupyterhub","namespace":"default"},"spec":{"deploy":[{"kapp":{}}],"fetch":[{"image":{"secretRef":{"name":"auth"},"subPath":"ds-tools/jupyterhub","url":"docker/image:master.1ef0f8a30ca6d4323d5e7436eae61cc93a466188"}}],"serviceAccountName":"cluster-admin-sa","template":[{"ytt":{"ignoreUnknownComments":true,"strict":false}}]}}
  creationTimestamp: '2020-08-06T13:39:02Z'
  finalizers:
    - finalizers.kapp-ctrl.k14s.io/delete
  generation: 2
  managedFields:
    - apiVersion: kappctrl.k14s.io/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:annotations':
            .: {}
            'f:kubectl.kubernetes.io/last-applied-configuration': {}
        'f:spec':
          .: {}
          'f:deploy': {}
          'f:fetch': {}
          'f:serviceAccountName': {}
      manager: kubectl
      operation: Update
      time: '2020-08-06T13:39:02Z'
    - apiVersion: kappctrl.k14s.io/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:finalizers': {}
        'f:spec':
          'f:template': {}
        'f:status':
          .: {}
          'f:conditions': {}
          'f:deploy':
            .: {}
            'f:error': {}
            'f:exitCode': {}
            'f:finished': {}
            'f:startedAt': {}
            'f:stderr': {}
            'f:updatedAt': {}
          'f:fetch':
            .: {}
            'f:exitCode': {}
            'f:startedAt': {}
            'f:updatedAt': {}
          'f:friendlyDescription': {}
          'f:inspect':
            .: {}
            'f:error': {}
            'f:exitCode': {}
            'f:stderr': {}
            'f:updatedAt': {}
          'f:observedGeneration': {}
          'f:template':
            .: {}
            'f:exitCode': {}
            'f:updatedAt': {}
      manager: __debug_bin
      operation: Update
      time: '2020-08-06T13:40:36Z'
  name: ds-tools-jupyterhub
  namespace: default
  resourceVersion: '19018'
  selfLink: /apis/kappctrl.k14s.io/v1alpha1/namespaces/default/apps/ds-tools-jupyterhub
  uid: f6079c24-3ff5-4745-a356-9f31a634951b
spec:
  deploy:
    - kapp: {}
  fetch:
    - image:
        secretRef:
          name: auth
        subPath: ds-tools/jupyterhub
        url: >-
         docker/image:master.1ef0f8a30ca6d4323d5e7436eae61cc93a466188
  serviceAccountName: cluster-admin-sa
  template:
    - ytt:
        ignoreUnknownComments: true
status:
  conditions:
    - message: 'Deploying: exit status 1'
      status: 'True'
      type: ReconcileFailed
  deploy:
    error: 'Deploying: exit status 1'
    exitCode: 1
    finished: true
    startedAt: '2020-08-06T13:40:25Z'
    stderr: 'kapp: Error: yaml: line 8: mapping values are not allowed in this context'
    updatedAt: '2020-08-06T13:40:36Z'
  fetch:
    exitCode: 0
    startedAt: '2020-08-06T13:40:23Z'
    updatedAt: '2020-08-06T13:40:24Z'
  friendlyDescription: 'Reconcile failed: Deploying: exit status 1'
  inspect:
    error: 'Inspecting: exit status 1'
    exitCode: 1
    stderr: 'kapp: Error: yaml: line 8: mapping values are not allowed in this context'
    updatedAt: '2020-08-06T13:40:36Z'
  observedGeneration: 2
  template:
    exitCode: 0
    updatedAt: '2020-08-06T13:40:25Z'

hmm interesting, i dont think it's being set to empty because error message kapp: Error: yaml: line 8: mapping values are not allowed in this context says line 8, so there is definitely some yaml. since you are using spec.serviceAccountName kapp-controller uses this template for building kuebconfig: https://github.com/k14s/kapp-controller/blob/develop/pkg/deploy/service_accounts.go#L77-L97. closes to line 8 is ca certificate interpolation, but that's base64 encoded...

The len condition evaluates to true, even though no GenericOpt is set.

that's not possible. if there is no genericopt then genericopt.KubeconfigYAML would be empty which would not make len evaluate to true.
did you modify kapp-controller in some way? if yes, could you print generated kubeconfig yaml before its sent to kapp? is it a valid yaml? im not seeing yet how you are ending up with invalid yaml.

(happy to zoom to debug as well if you want, just pop into our #k14s channel in Kubernetes slack)

Thanks for the support. I was testing in a k3s cluster and after a teardown and reinit the error vanished

authors: Arttii cppforlife


text:
[Release 1.28] Update Flannel and CNI plugins version

Backport for #11183

Validated on release-1.28 with commit 87c8ceeb

Single Node
Flannel

[2024-11-08T16:57:59.295Z] k3s version v1.28.15+k3s-87c8ceeb (87c8ceeb)
[2024-11-08T16:57:59.295Z] go version go1.22.8
[2024-11-08T16:57:59.295Z]
[2024-11-08T16:57:59.295Z] Command:
[2024-11-08T16:57:59.295Z] /var/lib/rancher/k3s/data/current/bin/flannel
[2024-11-08T16:57:59.295Z] ---------------------
[2024-11-08T16:57:59.295Z] Assertion:
[2024-11-08T16:57:59.295Z] v0.25.7
[2024-11-08T16:57:59.295Z] ----------------------
[2024-11-08T16:57:59.295Z] Matched with result:
[2024-11-08T16:57:59.295Z] CNI Plugin flannel version v1.6.0-flannel1+v0.25.7 (linux/amd64) commit HEAD built on 2024-11-08T14:38:29ZCNI protocol versions supported: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 1.0.0, 1.1.0

CNI Plugin

[2024-11-08T16:59:05.407Z] k3s version v1.28.15+k3s-87c8ceeb (87c8ceeb)
[2024-11-08T16:59:05.407Z] go version go1.22.8
[2024-11-08T16:59:05.407Z]
[2024-11-08T16:59:05.410Z] Command:
[2024-11-08T16:59:05.410Z] /var/lib/rancher/k3s/data/current/bin/cni
[2024-11-08T16:59:05.410Z] ---------------------
[2024-11-08T16:59:05.410Z] Assertion:
[2024-11-08T16:59:05.410Z] 1.6.0
[2024-11-08T16:59:05.410Z] ----------------------
[2024-11-08T16:59:05.410Z] Matched with result:
[2024-11-08T16:59:05.410Z] CNI plugins plugin v1.6.0-k3s1CNI protocol versions supported: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 1.0.0, 1.1.0

authors: mdrahman-suse rbrtbnfgl


text:
k3s requires /proc/config.gz but unavailable in Debian11 kernel 5.10

Environmental Info:
K3s Version:
v1.20.2+k3s1
Node(s) CPU architecture, OS, and Version:
x86_64, Debian11 Kernel 5.10.0.7
Cluster Configuration:
Substructure of Flyte
Describe the bug:
k3s doesn't run properly
$ docker exec -it flyte-sandbox k3s check-config

Verifying binaries in /var/lib/rancher/k3s/data/8f4b194129852507eab4a55117fc942e0688ec9a70ffdaa5911ccc6652220f76/bin:
- sha256sum: good
- links: good

System:
- /sbin iptables v1.8.6 (legacy): ok
- swap: should be disabled
- routes: ok

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000

Device "configs" does not exist.
modprobe: can't change directory to '/lib/modules': No such file or directory
error: cannot find kernel config
  try running this script again, specifying the kernel config:
  set CONFIG=/path/to/kernel/.config or add argument /path/to/kernel/.config

This looks originated from the unavailability of /proc/config.gz, as described here
Does Debian have /proc/config.gz?
/proc/config.gz isn't available in Debian, because the config is provided in /boot/config-*, no need for the in-memory variant (Kernel configuration CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC). See 541489

The following bash command match the current configuration file (on standard kernel):

ls /boot/config-$(uname -r)

check-config is just a standalone utility that can be run to verify system readiness; it doesn't need to succeed in order for k3s to run properly. Are you seeing any issues other than the check-config failure?

@bradtopol Yes. Actually the k3s in the Flyte-sandbox containers doesn't work. Here is the discussion about the issue with Flyte team: https://github.com/flyteorg/flyte/discussions/1141

I'm not familiar with flyte, but that thread appears to be about using minikube, not k3s. Do you have any information on how k3s fails in this configuration?

k3s.log
Can you see the /var/log/k3s.log extracted from the Flyte container using docker exec -it flyte-sandbox cat /var/log/k3s.log  > k3s.log

I'm not really sure what the full stack is here - it sounds like you're running flyte in docker, and flyte in turn is running k3s? Either way, it looks like the terminal failure is due to missing cgroups:
time="2021-06-23T17:30:29.519697067Z" level=warning msg="Disabling CPU quotas due to missing cpu.cfs_period_us"
time="2021-06-23T17:30:29.519751137Z" level=warning msg="Disabling pod PIDs limit feature due to missing cgroup pids support"
F0623 17:30:29.522130     184 server.go:181] cannot set feature gate SupportPodPidsLimit to false, feature is locked to true

@brandond Thanks but it doesn't resolve my issue. The situation looks the same.
k3s.log

Yes, same error. I would work towards figuring out why the required cgroups are unavailable. It may have something to do with how flyte is setting up the environment, as k3s definitely works within Docker - either via k3d, or just running the rancher/docker image.

@brandond in flyte, we are not doing anything special just running k3s, and then we will deploy the manifest.
Flyte sandbox dockerfile : https://github.com/flyteorg/flyte/tree/master/docker/sandbox

We have our own Docker image at rancher/k3s, have you considered using FROM rancher/k3s instead of downloading the release artifact?
Are you creating the K3s containers as privileged?
Does this work on other distributions? I am assuming so, since this issue appears to be Debian 11 specific?

At least Ubuntu 18.04 it works. Don't know 20.04.
I will check rancher/k3s instead. Thank you!

I am guessing that this has something to do with unified (v2) vs v1 cgroups, but I'm not sure how to propagate that all the way though Docker on Debian. systemd.unified_cgroup_hierarchy=0 or 1 is usually how I toggle it back and forth, but they may have changed it.

authors: brandond evalsocket jinserk


text:
Stop using legacy iptables for svclb pods

We currently preload the legacy iptables modules, as they are required for ServiceLB to forward traffic from the host to the service. We should:

Support using NFTables instead of or in addition to IPTables (should prefer nftables if both are available, as the kubelet does).
Only preload the modules if ServiceLB is enabled.

Validated using commit id 027cc187ce9f21157b8d37d62e67ee1c42968b4b on master branch
Validated install and upgrade on cis and non-cis enabled nodes
Ubuntu 20.04
ubuntu@ip-172-31-9-219:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"

ubuntu@ip-172-31-9-219:~$ lsmod | grep "nf_tables"
ubuntu@ip-172-31-9-219:~$ kubectl logs -n kube-system svclb-traefik-3a31227f-2cs95 lb-tcp-443 |grep nft
ubuntu@ip-172-31-9-219:~$ kubectl logs -n kube-system svclb-traefik-3a31227f-2cs95 lb-tcp-443 |grep legacy
+ mode=legacy
+ info 'legacy mode detected'
+ echo '[INFO] ' 'legacy mode detected'
+ set_legacy
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables
[INFO]  legacy mode detected
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-save
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-restore
+ ln -sf /sbin/xtables-legacy-multi /sbin/ip6tables
ubuntu@ip-172-31-9-219:~$

Ubuntu 22.04

nftables modules exist and used by svclb

ubuntu@ip-172-31-6-2:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION="22.04.1 LTS (Jammy Jellyfish)"

ubuntu@ip-172-31-6-2:~$ lsmod | grep "nf_tables"
nf_tables             249856  519 nft_compat,nft_counter,nft_chain_nat,nft_limit
nfnetlink              20480  5 nft_compat,nf_conntrack_netlink,nf_tables,ip_set,nfnetlink_log
libcrc32c              16384  3 nf_conntrack,nf_nat,nf_tables
ubuntu@ip-172-31-6-2:~$ kubectl logs -n kube-system svclb-traefik-b764a51c-gtpnn |grep nft
Defaulted container "lb-tcp-80" out of: lb-tcp-80, lb-tcp-443
nf_tables             249856 299 nft_chain_nat,nft_compat,nft_counter
nfnetlink              20480  4 nf_conntrack_netlink,ip_set,nft_compat,nf_tables
+ mode=nft
+ info 'nft mode detected'
+ echo '[INFO] ' 'nft mode detected'
+ set_nft
+ ln -sf /sbin/xtables-nft-multi /sbin/iptables
[INFO]  nft mode detected
+ ln -sf /sbin/xtables-nft-multi /sbin/iptables-save
+ ln -sf /sbin/xtables-nft-multi /sbin/iptables-restore
+ ln -sf /sbin/xtables-nft-multi /sbin/ip6tables
ubuntu@ip-172-31-6-2:~$ kubectl get nodes
NAME               STATUS   ROLES                       AGE   VERSION
ip-172-31-11-249   Ready    control-plane,etcd,master   11h   v1.26.3+k3s-027cc187
ip-172-31-14-251   Ready    <none>                      11h   v1.26.3+k3s-027cc187
ip-172-31-2-136    Ready    control-plane,etcd,master   11h   v1.26.3+k3s-027cc187
ip-172-31-6-2      Ready    control-plane,etcd,master   11h   v1.26.3+k3s-027cc187

SLES SP4
ec2-user@ip-172-31-14-30:~> cat /etc/os-release
NAME="SLES"
VERSION="15-SP4"
ec2-user@ip-172-31-14-30:~> lsmod | grep "nf_tables"
nf_tables             262144  0
nfnetlink              16384  4 nf_conntrack_netlink,nf_tables,ip_set,nfnetlink_log
libcrc32c              16384  4 nf_conntrack,nf_nat,nf_tables,xfs
ec2-user@ip-172-31-14-30:~> kubectl logs -n kube-system svclb-traefik-3fb0d532-dbktc  lb-tcp-443 |grep nft
ec2-user@ip-172-31-14-30:~> kubectl logs -n kube-system svclb-traefik-3fb0d532-dbktc  lb-tcp-443 |grep legacy
+ mode=legacy
+ info 'legacy mode detected'
+ echo '[INFO] ' 'legacy mode detected'
+ set_legacy
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-save
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-restore
+ ln -sf /sbin/xtables-legacy-multi /sbin/ip6tables
[INFO]  legacy mode detected
ec2-user@ip-172-31-14-30:~>

CentOS 7.9
[centos@ip-172-31-13-204 ~]$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"

[centos@ip-172-31-13-204 ~]$ lsmod | grep "nf_tables"
[centos@ip-172-31-13-204 ~]$ kubectl logs -n kube-system svclb-traefik-2102ab6b-6lztb lb-tcp-443 |grep nft
[centos@ip-172-31-13-204 ~]$ kubectl logs -n kube-system svclb-traefik-2102ab6b-6lztb lb-tcp-443 |grep legacy
+ mode=legacy
+ info 'legacy mode detected'
+ echo '[INFO] ' 'legacy mode detected'
+ set_legacy
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables
[INFO]  legacy mode detected
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-save
+ ln -sf /sbin/xtables-legacy-multi /sbin/iptables-restore
+ ln -sf /sbin/xtables-legacy-multi /sbin/ip6tables

RHEL 9.1
[ec2-user@ip-172-31-13-146 ~]$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.1 (Plow)"

[ec2-user@ip-172-31-13-146 ~]$ lsmod | grep "nf_tables"
nf_tables             270336  589 nft_compat,nft_log,nft_counter,nft_chain_nat,nft_limit
nfnetlink              20480  5 nft_compat,nf_conntrack_netlink,nf_tables,ip_set,nfnetlink_log
libcrc32c              16384  4 nf_conntrack,nf_nat,nf_tables,xfs
[ec2-user@ip-172-31-13-146 ~]$ kubectl logs -n kube-system svclb-traefik-a7b7405c-ftnrr lb-tcp-443  |grep nft
nf_tables             270336 423 nft_log,nft_limit,nft_chain_nat,nft_compat,nft_counter
nfnetlink              20480  5 nf_conntrack_netlink,nfnetlink_log,ip_set,nft_compat,nf_tables
[INFO]  nft mode detected
+ mode=nft
+ info 'nft mode detected'

authors: ShylajaDevadiga brandond


text:
[Feature Request] Add option to "pin" folder in Unified Inbox drawer

Expected behavior
Currently drawer for Unified Inbox is quite empty - it would be quite handy to be able to ping there any folder from any account without actually including it in main Unified view (for some "busy" folders it's a bit undesirable).
Previously  it was able to open k9 and from main screen with one tap - see whether that folder has messages and with subsequent tap open it.
I think it's somewhat related to #3398
Actual behavior
Currently one has to open drawer -> switch mail account -> open desired folder from the list
Environment
K-9 Mail version: 5.710 from f-droid
Android version:
10
Account type (IMAP, POP3, WebDAV/Exchange): 2xIMAP

Obsolete because of #5020

authors: cketti woj-tek


text:
Fix webservice url for community/enterprise.

Product name doesn't change between community and enterprise editions, it is the product edition that reads the entry "Kaazing-Product" from the manifest file which is "Community.Gateway" and "Enterprise.Gateway" respectively. This is done in class org.kaazing.gateway.server.impl.VersionUtils. Added test to show the different urls in the two cases. Luckily the implementation allows for simple fields change, since static methods can't be mocked with jMock.

@Anisotrop Please create a new PR on develop branch. We will not deliver this feature in 5.x.

authors: Anisotrop sbadugu

repo: kaazing/gateway


text:
Kabanero Spring Stack must be based on snowdrop (deviation from appsody)

The Spring stack for Kabanero will be different than the stack used by appsody (to be compatible with RHR support): it must use library versions specified by RHOAR / RHR via the snowdrop bom.
https://search.maven.org/artifact/org.springframework.boot/spring-boot-dependencies/2.1.6.RELEASE/pom
https://repo1.maven.org/maven2/me/snowdrop/spring-boot-bom/2.1.6.Final/spring-boot-bom-2.1.6.Final.pom
--> Open question with the latter how to resolve dependency constraints between the two without getting the snowdrop release profile, etc. The appsody spring stack uses the spring dependencies as a parent (for plugin versions, too). The snowdrop spring bom doesn't quite work the same way: it isn't safe to use as a parent, it's designed for dependency import, which is incomplete for plugins.

Package versions from the snowdrop bom are required for support (appropriate for a collection). The above issue will make it easier to remain consistent with supported dependencies.
We will never have the exact same stack for appsody and (supported) Kabanero. There is a fork in the road, both for From images and maven resources (including the maven repository binaries are pulled from). They should be treated as completely separate things (differently named, separately versioned). The appsody spring stack does not belong in a kab collection.

PR #202

Fixed by https://github.com/kabanero-io/collections/pull/210

authors: ebullient groeges

repo: kabanero-io/collections


text:
release torchscript versions of the current models

And put them in a release of winsfer.

related to #69

repo: kaczmarj/wsinfer


text:
Create Off-chain Analayzer

Overview

Total Orders
Offer or Make Order

Action
I think these information can not be taken from on-chain so create indexer at off-chain
Reference

#208

repo: kaguraswap/monorepo


text:
[UKI] Measure

Part of https://github.com/kairos-io/kairos/issues/1152

tested and it seems to work on fedora >=38 and ubuntu >= 23.10
tumbleweed supposedly should work but I was not able to make it work somehow and had very weird issues.

cancelled everything but the uki job

This should be finished.
A big change here is that we are moving to use the "main" framework image. That ok for you @mauromorales @jimmykarily @mudler ? I could also cut a new version once @jimmykarily has merged the versioneer stuff, but currently the main framework version has a kairos-agent RC version, so it feels bad to cut a release with RC versions.

This should be finished.
A big change here is that we are moving to use the "main" framework image. That ok for you @mauromorales @jimmykarily @mudler ? I could also cut a new version once @jimmykarily has merged the versioneer stuff, but currently the main framework version has a kairos-agent RC version, so it feels bad to cut a release with RC versions.

Oh I forgot we now need to build a new framework image in order to get a new kairos-agent tested. My changes on the kairos-agent should be done. I tagged another rc this morning but it's still building the arm package: https://github.com/kairos-io/packages/actions/runs/7260525990/job/19779962604
If you can to tag kairos-agent as stable and release a framework image with that, I'm fine with it. It will help me test my PR too.

This should be finished.
A big change here is that we are moving to use the "main" framework image. That ok for you @mauromorales @jimmykarily @mudler ? I could also cut a new version once @jimmykarily has merged the versioneer stuff, but currently the main framework version has a kairos-agent RC version, so it feels bad to cut a release with RC versions.

For me it's ok to move to main but in that case I don't see the value of producing versions for the framework images. I think relying on main can be tricky because what do we release against? It means that either we always have a moving target or that master tests nightly while release build a version. What I mean is that if we consider these issues not to cause many problems then it's a go for me. But for a different component that moves faster I would say it's better not to.

what maybe makes sense is having releases using tagged framework images, while main can just consume main (so can be used for development)

bumped to use latest framework released version.

authors: Itxaka jimmykarily mauromorales mudler

repo: kairos-io/kairos


text:
security 마무리

✏ Describe

[ ] 카카오 로그인 프론트와 통합
[ ] 계정 연동 정책 회의 및 계정 연동

✅ TO-DO
x
🙋🏻 More
계정 연동에 대한 회의를 해야 할 것 같습니다

좀 더 세분화해서 다시 issue 올릴게요


text:
Changing min/max zoom when editing style does not work correctly

After editing both values seem to be the same.

Fixed by https://github.com/kalisio/kdk/commit/62929495d1e17ae0f09a8b0dea0b4c7ca54c0a60.

repo: kalisio/kdk


text:
🛑 mastodon.kalua.im is down

In 3b87e3b, mastodon.kalua.im (mastodon.kalua.im) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mastodon.kalua.im is back up in d42e63c.

repo: kaluaim/upptime


text:
fix pytests in python 3.8

pytets fails on Python 3.8 because of,

example: https://github.com/kamangir/vancouver-watching/actions/runs/10865962541/job/30152975389
triage: https://arash-kamangir.medium.com/-conversations-with-ai-211-175ebe5fa59a

[ ] also fix in blue-objects: https://github.com/kamangir/blue-objects/blob/main/.github/workflows/pytest.yml

caused by https://github.com/kamangir/vancouver-watching/pull/8

low prior.

repo: kamangir/vancouver-watching


text:
The IDF1 value is very low

Hello authors, I have tested using your code on the S02 dataset of AIC22, the detector used is yolov7-e6, I successfully got the mtmc_resnet50_ibn_a_gap.txt file, but when I evaluated the trace results using the eval.py file in the AIC22 eval folder, I got Very low IDF1 values where the IDP values are reasonable but the IDR values are very unreasonable, I am confused about this, I would like to ask you how you evaluated the final trace resolution, looking forward to your reply!

Hello.
We guess that the problem is maybe because of the box expansion at the last part of our run_mtmc.py.

We added this code because the GT boxes in AIC19 is annotated lot bigger than the objects meanwhile the detector regresses tight bounding boxes.

We are not sure since we do not have the AIC22 dataset, but it is possible that in AIC22 the GT boxes are refined tightly.
So the predicted boxes do not match the GTs, which is why the performance is as it is.
We hope our answer helps you to solve the problems.
Thank you for your attention.

Thank you very much for your reply, based on your reply I commented out the code you mentioned and re-ran run_mtmc.py but unfortunately I got a lower IDF1 score.

Considering that I was using the AIC22 Track1 dataset, the dataset may have changed, so I went to the AICity Challenge website to download the AIC19 dataset, but unfortunately there is no longer an option for datasets prior to 2021 in the dataset request form on the AICity Challenge website.

I would be grateful if you could provide me with the ground_truth_validation.txt file of AIC19 or the download link of AIC19 to help me validate the model.
Also I would like to ask if your naming convention for video frame images is the same as in my images.

Hi, if you only made predictions for S02 scene, the other scene information in ground_truth_validation is not necessary for evaluating the prediction accuracy.


text:
CommonJS version available?

Thanks so much for this library. Would love to use it. I need something like this for an Electron app but am not using Babel and Electron/Node doesn't natively support ES6 modules. My entire app is set up using require statements. Would really love to be able to use this.
Thanks

We used it as so const Driver = require('driver.js'); and it's working with require statements 😃

Thanks @Attrash-Islam. @swampthang it should work fine as suggested by islam - just replace the imports with requires. Let us know if you face any issues.

Thanks so much for the quick reply. Yes, it does work. No errors. I just had to include the css file and all is working great! Thanks again.

authors: Attrash-Islam kamranahmedse swampthang


text:
Enable Sourcegraph

I want to use Sourcegraph for beehive-netctrl code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/kandoo/beehive-netctrl. (It should only take 30 seconds.)
Thank you!

Done. :-)
On Tue, Jul 14, 2015 at 8:32 AM Waqas Ahmed notifications@github.com
wrote:

I want to use Sourcegraph https://sourcegraph.com for beehive-netctrl
code search, browsing, and usage examples. Can an admin enable Sourcegraph
for this repository? Just go to
https://sourcegraph.com/github.com/kandoo/beehive-netctrl. (It should
only take 30 seconds.)
Thank you!
—
Reply to this email directly or view it on GitHub
https://github.com/kandoo/beehive-netctrl/issues/2.

repo: kandoo/beehive-netctrl


text:
Error trying to add plugin from github

So, I tried to add a plugin from github, but it return me an error, plugin
maybe some more options an liberty from where the packages come, because, they don't need to be all from https://www.npmjs.com/
The build is a clean one from quick-start, using electron "^6.0.12" and Windows 10.
I tried several combos from (here )[https://docs.npmjs.com/cli/install] but some did get to an error, others blocked in some security walls for public access

I tried to install as normal would in the console and it work fine, but in the app, it didn't

🙏 Sorry For the late reply, I did not get the notification so have not seen this issue 🙏
@SrPatinhas sorry really as i did not get the notification so it completely run out of my radar. I will double check and create an example project and solve code issues that i find.
Thanks you and your colleagues for opening this issues and trying the library. Please feel free to be angry at me for not  noticing this before.

authors: SrPatinhas kanekotic

repo: kanekotic/electron-plugin


text:
-Methods for checking transactions status transferred to BlockchainInfo…

-Methods for checking transactions status transferred to BlockchainInfoHelper class
-UpdateDbHelper class created for database functionalities
-Added BroadcastReceiver when transaction status has changed to refresh view in HistoryFragment and PaymentRequestFragment
-Hardcoded strings added to strings.xml
-Database migration added from v4

Thank you for the contribution Christo!
I found a couple of bugs.

when a 'Pending' tx becomes 'Ongoing' the button title needs to change from 'Cancel' to 'OK'.
when 'Cancel' is pressed the tx should be removed from the database immediately.

Could you please fix and add to the PR before I merge?

authors: christoskaitatzis karask

repo: karask/bitcoinpos


text:
can we have grpc api stubbing support

IMPORTANT: If you have a general question please use Stack Overflow instead where Karate has a dedicated "tag": https://stackoverflow.com/questions/tagged/karate
If you are sure you have found a bug, please make sure you follow the instructions here: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

@dev-rgupta not currently a priority, contributions welcome

authors: dev-rgupta ptrthomas

repo: karatelabs/karate


text:
Make "co1/abc/..." match "co1/abc" as well as children.

Currently it doesn't match "co1/abc".

Thanks!

authors: jacobsa kardianos

repo: kardianos/govendor


text:
Ton of "Invalid header on mined Block" errors

I am getting a ton of "Invalid header on mined Block" errors:
 "I0209 17:23:39.216880    2691 worker.go:296] Invalid header on mined block: nonce for #978466 [87944ce66e31181c41fe1a81e91974ee64e2c756f465069948c83e33411bd25b…] is invalid (got 566349377610747962)
at this point I am really not sure if the problem is with geth or process_work script.

It's normal behavior, it means script works, and pass 'shares' to geth node to check if this share might be correct block. You can firstly check if this share difficulty is under current network target and do not pass it to geth, but this will harm entire pool revenue since POW difficulty verification is slow, and in this time other node may submit the same block. Hope it's clear now :)

OK I understand, but I get like 80% of this invalids, is this normal ?

If you are still referring to "Invalid header on mined block" then 99% should be invalid or even more, since valid response remain mined block.

Excellent, thank you.


text:
how to send ModalFormRequestPacket

since I dont think this deserves another issue as it may be related, I was trying to send a ModalFormRequest to the player so I modified the example code where a text packet is sent to do this
// sendPacket
    setTimeout(()=>{
        console.log('packet sended');

        const fancyPacket = createPacket(PacketId.ModalFormRequest);
        fancyPacket.setUint16(0);
        fancyPacket.setString(`{"type": "form","title": "test title","content":{},"buttons":{}}`);
        sendPacket(networkIdentifier,fancyPacket);
        fancyPacket.dispose();
    }, 10000);

but I keep on getting Error: Structured Exception: STATUS_ACCESS_VIOLATION(0xC0000005) (specifically on the sendPacket line) which I see is because of what looks like malformed strings in the code, am I doing this wrong?
Originally posted by @JSJBDEV in https://github.com/karikera/bdsx/issues/23#issuecomment-748370938

in the low-level program, The whole is an array of bytes.
createPacket allocates the C++ packet class. and it's also an array of bytes.
If you use set* to packet without a second parameter, it will set a value at offset 0. and it will crash.
0~8 bytes is the virtual function table. must not modify that.
the best way to dig it up. need to reverse it from the program.
it seems ModalFormRequestPacket has uint32 at 0x28 and std::string at 0x30

Is there a specific file o should look in to find these offsets, or what is the best way get them? I have studied the pmmp reference you use but could find the specific offsets anywhere

There is no documentation of C++ packets.
If you can use the disassembler. you can find it from ~~Packet::write or ~~Packet::read functions in bedrock_server.exe.

I have updated the wiki page to reflect the information I found about the packet on PMMP, thank you! I will try and get a decompiler to work at some point but henerally to handle forms you need to also have the ModelResponsePacket but from what I can gather that packet should be formatted almost exactly the same way, as I come across more information about them I will try and update the wiki and places, thank you for your time!

Thanks for your contribution!

authors: JSJBDEV karikera

repo: karikera/bdsx


text:
refactor prometheus cache to general output cache

Arista devices do not bundle Update messages into a single Notification, preferring to send all updates with their own timestamp (see https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#3521-bundling-of-telemetry-update for details).  This can make it difficult to run event processors that expect multiple events in a single Notification.  Use of a per-subscription cache solves this -- the entire cache can be converted to events on a regular schedule and flushed by the upstream output per its needs (on scrape for prometheus, on a timer for Influx, etc)
As long as the flush interval is lower than whatever sample interval is being used in a subscription, no data would be lost.  Repeated sending of the same data (flushing more often than sample interval) doesn't result in extra storage, only extra network traffic, as most TSDB will discard identical points in the same metric

Testing today is showing something might be wrong with my configuration loading -- I can't correctly set the flush timer in the InfluxDB output.  It keeps setting it to github.com/nats-io/nats.go.DefaultReconnectJitterTLS (1000000000)

Is there a reason that the prometheus cache required "target" in the subscriptions?  I've already forgotten twice to set set-target on a subscription and wondering why my updates weren't being cached

The caching is done per target ,that's why it's needed.
It could also be derived from the outputs.Meta source field.
I think the Enabled bool under gnmiCache is not needed, the presence of the struct can be an indication of cache being enabled.

I think the Enabled bool under gnmiCache is not needed, the presence of the struct can be an indication of cache being enabled.

Done, new changeset pushed

@bewing thanks again for the PR !

authors: bewing karimra

repo: karimra/gnmic