Does this allow async computed atoms like jotai does?

I would like to try doing something like this,
const sumAtom = atom(async get => {
  get(atomOne)
  return await fetch("/api");
})

Hi Peter,
Short answer: nope, not yet.
Long answer:
It's interesting to think about how we would go about doing this.
In jotai's case, what they do is for derived atoms, they use suspense, so the suspense boundary renders the placeholder (loading, spinner, etc) while the atom has no value.
Klyva exists outside of react, so it has no concept of suspense.
Also, in Klyva, so far, all atoms always have a value, for async functions, this would not be the case. So how would we model this in klyva?
One suggestion would be, that if the atom is async, the atom returns a union value, where the value can be in different states:  loading | resolved | error
I can make a PR for this.

Hi Meris,
Thanks for the quick reply. The union value makes sense. I was trying to figure out a way to do that (was thinking of finding if it was a function and throwing the promise). The idea that the atom can be updated outside the react ecosystem is actually a very common use case in UI.
I tried to use derived atoms and ran into this typescript error,
const atomOne = atom(10)
const atomTwo = atom(20)
const sumAtom = atom((get) => get(atomOne) + get(atomTwo))

function App() {
  const d = useAtom(atomOne)
  const g = useAtom(sumAtom)
  return (

      {d}
      {'-'}
      {g}

  );
}

Error:
Argument of type 'ReadOnlyAtom<number>' is not assignable to parameter of type 'Atom<number>'.
  Property 'update' is missing in type 'ReadOnlyAtom<number>' but required in type 'Atom<number>'.  TS2345

const atomOne = atom(10)
const atomTwo = atom(20)
const sumAtom = atom((get) => get(atomOne) + get(atomTwo))

function App() {
  const d = useAtom(atomOne)
  const g = useAtom(sumAtom)
  return (

      {d}
      {'-'}
      {g}

  );
}

Hi, first of all, thanks for the report, it has been fixed here: https://github.com/merisbahti/klyva/commit/2ccdc97cfdacbd9a4bfc34eee0a66f0d42d95059
And will be working in 0.1.6 (see here:  https://www.npmjs.com/package/klyva).

The idea that the atom can be updated outside the react ecosystem is actually a very common use case in UI.
Yes, it feels like such a normal case, and this optimizes for that.

Thanks it works now.
I had built a simple use-promise library to work with react suspense.
https://github.com/pyros2097/use-promise/blob/master/index.js
using the same concept i just ported useAtom to handle suspense for now to test out whether it will work and it does. So i guess its not that complex as i thought.
import React from 'react'
import { ReadOnlyAtom } from './types'
const promiseCache = new Map<any, any>()

export const useAtom = <T>(atom: ReadOnlyAtom<T>) => {
  const [cache, setCache] = React.useState(atom.getValue())
  React.useEffect(() => {
    const unsub = atom.subscribe(value => {
      promiseCache.delete(cache);
      setCache(value)
    })
    return unsub
  }, [atom, cache])
  if (cache instanceof Promise) {
    const v = promiseCache.get(cache)
    if (v) {
      if (v instanceof Error) {
        throw v
      } else {
        return promiseCache.get(cache)
      }
    }
    cache
      .then((res) => {
        promiseCache.set(cache, res)
      })
      .catch((err) => {
        promiseCache.set(cache, err)
      });
    throw cache
  }
  return cache
}```

```js
import React, { Suspense } from 'react';
import ReactDOM from 'react-dom';
import { atom } from 'klyva'
import { useAtom } from './utils';

const atomOne = atom(1)
const atomTwo = atom(10)
const sumAtom = atom((get) => get(atomOne) + get(atomTwo))

type Todo = {
  complete: Boolean
  title: String
}

const ggAtom = atom<Promise<Todo>>(async (get) => {
  const one = get(atomOne)
  const res = await fetch("https://jsonplaceholder.typicode.com/todos/" + one);
  return await res.json()
})

function App() {
  const a = useAtom(atomOne)
  const sum = useAtom(sumAtom)
  const aa = useAtom(ggAtom)
  return (

 atomOne.update((v) => v + 1)}>
      {a}
      {'-'}
      {sum}
      {'-'}
      {aa.title}

  );
}

ReactDOM.render(
  <React.StrictMode>
    <Suspense fallback={
loading...
}>
      <App />
    </Suspense>
  </React.StrictMode>,
  document.getElementById('root')
);


elasticsearchPlugins: add icu & phonetic analysis

Motivation for this change
I needed both of these plugins for my elasticsearch cluster
Things done
I'm not sure how to test this within the context of a global nixos configuration using services.elasticsearch.plugins, but it looks right...

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Thanks! sorry for the delay.
Rebased onto master, analysis-icu was added in https://github.com/NixOS/nixpkgs/pull/71235


Passing -blacklist-type UniqueChars doesn't cause bindings for functions that return UniqueChars not to be generated

JS_DefaultLocale returns UniqueChars
Added   -blacklist-type UniqueChars to rust-mozjs's etc/bindings.sh
Regenerated bindings
bindgen is still generating a binding for JS_DefaultLocale

Oh, that's totally expected, blacklist-type hides the type definition, but there can be things that use it. Can be fixed in #37, but I don't know whether that's worth it.

Ok then :)


Are the docs/ live / hosted anywhere?

I'd like to link via intersphinx to LooseVersion in an API reference, are these docs live anywhere?
If not, is there an intent to host them somewhere?
Thank you!

Currently, there are no plans to host the documentation. It's conceivable that the docs will be merged into Setuptools and never hosted separately. If/when that happens, I'd expect for LooseVersion not to be part of the supported/documented interface.

Oh. I'd forgotten. Setuptools does already host the distutils docs. You're welcome to link there if needed, but given the deprecation of that space, I'd recommend against it.


Add question when to use using

For issue: #101 - Add New C# Technical Question

Great work! Thank you so much for your contribution to the project!


uuidv4 generates invalid uuid

Node version: 8.9.1-slim
Package version: 3.3.2
Expected:
const uuidv4 = require('uuid/v4');

this.id = uuidv4()

console.log(this.id) // => --40-80-

I'm running this logic in an Objection model class on a beforeInsert hook. At the moment I've only confirmed that this happens whenever I'm running tests.
Framework: mocha
version: 4.x.x

Is mocha or some other utility replacing the crypto or crypto.randomBytes() function with a shim of some sort?

@broofa You hit that right on the head... 👍 I'm going to close this out


CausalELM.jl v0.2.1

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/85094
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" ea63971d061df8d8ea8eaf1fa4795e3ec4b7a44a
git push origin v0.2.1


[fix] Validate interface variable names are python-valid

Tracking issue
https://github.com/flyteorg/flyte/issues/5511
Why are the changes needed?
Rationale: flyte inputs names are "like" python variable names, which should not use special characters like . (see my.value in the repro code
Expected behavior: The workflow should actually fail at compile time at step 1. (e.g. perform extra validation)
What changes were proposed in this pull request?
Workflow should fail at compile time at step 1, when python-invalid variable name is used like "my.value".
How was this patch tested?
Setup process
import logging

from flytekit import ContainerTask, kwtypes, task, workflow

logger = logging.getLogger(__file__)

calculate_ellipse_area_shell = ContainerTask(
    name="ellipse-area-metadata-shell",
    input_data_dir="/var/inputs",
    output_data_dir="/var/outputs",
    inputs=kwtypes(**{"my.value": float, "c": float}),
    outputs=kwtypes(area=float, metadata=str),
    image="ghcr.io/flyteorg/rawcontainers-shell:v2",
    command=[
        "./calculate-ellipse-area.sh"
    ],
)

@task
def report_all_calculated_areas(
    area_shell: float,
    metadata_shell: str,
):
    logger.info(f"shell: area={area_shell}, metadata={metadata_shell}")

@workflow
def wf(a: float, b: float):
    area_shell, metadata_shell = calculate_ellipse_area_shell(**{"my.value": a, "c": b})

    # Report on all results in a single task to simplify comparison
    report_all_calculated_areas(
        area_shell=area_shell,
        metadata_shell=metadata_shell,
    )

Screenshots
Check all the applicable boxes

[ ] I updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] All commits are signed-off.

Related PRs

Docs link

@ddl-rliu , can you fix the lint error in CI? You can run make lint from the root to repro it locally.

@eapolinario done!


Add @CacheableTask annotation to tasks

Background
By default gradle tasks do not cache.
Change

Add @CacheableTask annotation to custom tasks

Test Plan

Tested generateDebug${dbName}Interface task properly fetched from cache

> Task :storage:generateDebugStorageDatabaseInterface FROM-CACHE
Custom actions are attached to task ':storage:generateDebugStorageDatabaseInterface'.
Appending implementation to build cache key: com.squareup.sqldelight.gradle.SqlDelightTask_Decorated@811fa9669948b4e5154393fe4a1f21aa
Appending additional implementation to build cache key: _BuildScript_$_run_closure2$_closure6$_closure7_5e678643d94af11f7401d007fc7e139d@dd98cb2818a7a973d14370b4ca5e675f
Appending additional implementation to build cache key: com.squareup.sqldelight.gradle.SqlDelightTask_Decorated@811fa9669948b4e5154393fe4a1f21aa
Appending additional implementation to build cache key: _BuildScript_$_run_closure2$_closure6$_closure8_1f98c42ebbcbff2ee73aa2ee42bc8837@dd98cb2818a7a973d14370b4ca5e675f
Appending input file fingerprints for 'source' to build cache key: f57eccb33f50987ceb26b5caa6f15e86
Appending output property name to build cache key: outputDirectory
Build cache key for task ':storage:generateDebugStorageDatabaseInterface' is f11976a9da37128d5d51cd46098fb235

probably worth doing what Niklas suggested before merging if thats an easy addition

Added the PathSensitivity annotation to output directories and verified in our CI that the caching works correctly.
I also removed the cacheableTask annotation from the verify task. I'm not sure if it would take affect without defined a output. We don't run this in our CI so I'm unfortunately not able to test that.


Hi, Need help with react docs

Hi, do you mind pointing me to a doc that implements it with react.

It's not about frameworks, whether it's vue or react.

okay , thanks


Failing to build with certain compiler flags

Header fails to compile with the following flags:
-Wundef
-Wshadow
-Wswitch-default
-Wundef fails first at line 78 pointing to _ELPP_OS_WINDOWS.
-Wshadow fails first at line 2074 with the variable format.
-Wswitch-default fails first at line 5223 for failing to have a default case. This is the only switch statement without a default case.
Normally, I would just remove those compiler flags for the library, but this is header only. I will work on fixing this myself and sending a pull request.

Any update on this?

can't reproduce -Wshadow
Need to test across various platforms before we close this off


TechNet Flash newsletter subscribe page doesn't work

Subscribe- and Sign up and customize your news to stay informed automatically. -links in https://technet.microsoft.com/en-us/cc543196.aspx leads to error "An unknown error occurred while processing your request. This is most likely due to a connection failure. Please try again.
R10EXW-c09556bb-0711-475c-b194-141039cd2228 "

@LKari  TechNet Newsletters are archived at https://docs.microsoft.com/en-us/archive/newsletter/technet/microsoft-technet-flash-archive


Auto Expand Textarea

It would be very nice if there was a auto expand option like Facebook does for comments.

+1


Actor type missing (typescript)?

Description
I think the Actor type is missing, or I'm misunderstanding how to use the Actor type.
Expected Result
I want to type my context ref attribute.
Actual Result
Can't find the Actor type.
Reproduction
import { Actor} from "xstate";

export type ProductOptionStepType = {
    step: string;
    ref: Actor;
    description: string;
    options: Array<ProductOptionType>;
    type: number;
};

Additional context
xstate 4.6.7

Try this for now:
import { Actor } from 'xstate/lib/Actor';


[AutoPR datafactory/resource-manager] Revert PR #4258: "Swagger changes for connectors: Google AdWords, Oracle Service Cloud, OData, Rest Service, Dynamics AX and support for wildcardPath."

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4309

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/3124


Pr fmuv5 i2c fixes

This PR is related to the board config of fmu-v5. It removes PX4_i2C_BUS_EXPANSION2 because describes same bus as PX4_I2C_BUS_ONBOARD and it is never used because it only connects to the onboard mag and is not exposed on the external connectors.
What used to be PX4_i2C_BUS_EXPANSION3 now because PX4_i2C_BUS_EXPANSION2.
Moreover in all drivers in that there is the bus_option[] I added PX4_i2C_BUS_EXPANSION1 and PX4_i2C_BUS_EXPANSION2 in order to support all i2c busses on fmu-v5.

@DanielePettenuzzo Build fail due to missing changes for the MS5611 - and I'm wondering if there are ripple effects we're missing.

@LorenzMeier I will investigate more this week. I just don't like that we usually check first on the external buses and then the onboard one, so if a sensor is onboard it could actually be marked as external.

@DanielePettenuzzo Rebased. Testing now.


[NFC] Fix LLVM TargetInfo printf issue.

The Intel GPU printf requires the format string is located uniform constant space.
Add "TritonGen::UniformConstant" attribute to the definition of format string to match the requirement of printf.

Hi @chengjunlu, how did this error manifest itself?

Hi @chengjunlu, how did this error manifest itself?

Just simply call the targetInfo.printf. The LLVM reports the format string is not align to the signature of printf.


Can anybody explain this function?

To see the calendar in explorer, I had to put the code below inside script tag as shown in the demo site.. Quick setup looks old and didn't work.
var disqus_shortname = 'bootstrapcalendar';
    		(function() {
    			var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
    			dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
    			(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    		})();

Also I have a problem with  "Uncaught TypeError: Cannot read property 'appendChild' of null".

Is for "disqus comments" of the example page...
You can remove it ;)


Remove tests from documentation

Short description

Apparently, readthedocs does not find the tests module and I can't find a way around it... let's remove it for now to fix the documentation build.
Proposed changes

Remove tests from documentation

damn, even though the documentation build on the PR succeeded, once it was merged into develop, the process failed again :(
Running Sphinx v4.5.0
loading translations [en]... done
making output directory... done
/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
WARNING: conf value "version" should not be empty for EPUB3
loading intersphinx inventory from https://docs.python.org/3.9/objects.inv...
loading intersphinx inventory from https://www.sphinx-doc.org/en/master/objects.inv...
loading intersphinx inventory from https://sphinx-rtd-theme.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://sphinxcontrib-django2.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://docs.djangoproject.com/en/3.2/_objects/...
loading intersphinx inventory from https://setuptools.pypa.io/en/latest/objects.inv...
loading intersphinx inventory from https://twine.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://wsgi.readthedocs.io/en/latest/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [epub]: targets for 12 source files that are out of date
updating environment: [new config] 12 added, 0 changed, 0 removed
reading sources... [  8%] changelog
reading sources... [ 16%] dev-server
reading sources... [ 25%] index
reading sources... [ 33%] installation
reading sources... [ 41%] packaging
reading sources... [ 50%] prod-server
reading sources... [ 58%] ref/lunes_cms
reading sources... [ 66%] ref/lunes_cms.cms
reading sources... [ 75%] ref/lunes_cms.cms.admins
reading sources... [ 83%] ref/lunes_cms.cms.models
reading sources... [ 91%] ref/lunes_cms.cms.views
reading sources... [100%] ref/lunes_cms.core

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  8%] changelog

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 1048, in handle_page
    output = self.templates.render(templatename, ctx)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/jinja2glue.py", line 188, in render
    return self.environment.get_template(template).render(context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/themes/basic/page.html", line 10, in top-level template code
    {%- extends "layout.html" %}
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/checkouts/latest/docs/src/templates/layout.html", line 1, in top-level template code
    {%- extends "sphinx_rtd_theme/layout.html" %}
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/jinja2glue.py", line 209, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: sphinx_rtd_theme/layout.html

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app.build(args.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/application.py", line 330, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 286, in build_update
    self.build(to_build,
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 350, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 524, in write
    self._write_serial(sorted(docnames))
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 534, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/_epub_base.py", line 366, in write_doc
    super().write_doc(docname, doctree)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 625, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/_epub_base.py", line 459, in handle_page
    super().handle_page(pagename, addctx, templatename, outfilename, event_arg)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lunes-cms/envs/latest/lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 1055, in handle_page
    raise ThemeError(__("An error happened in rendering the page %s.\nReason: %r") %
sphinx.errors.ThemeError: An error happened in rendering the page changelog.
Reason: TemplateNotFound('sphinx_rtd_theme/layout.html')

Theme error:
An error happened in rendering the page changelog.
Reason: TemplateNotFound('sphinx_rtd_theme/layout.html')


Only Fetch Suggestions After Typing (not on Focus)

Previously, autosuggest supported only fetching suggestions when certain reasons (methods of input) were used (when onSuggestionFetchRequested was named onSuggestionsUpdateRequested), e.g.
onSuggestionsUpdateRequested({ value, reason }) {
        if(reason === 'type'){
                this.debouncedLoadSuggestions(value)
        }
    }

but now I see no way to do this, e.g.
onSuggestionsFetchRequested({ value }) {
        // if(reason === 'type'){
        this.debouncedLoadSuggestions(value)
        // }
    }

Can I still accomplish this behavior somehow? I'm trying to minimize network requests, but want users to be able to tab through fields.

Even I'm facing the same issue where I don't want to fetch suggestions when a user focuses on input. Please let us know how we can stop this from happen

+1

Found a temporary solution, works for my application where I have commented some part in the library itself and it worked for me. If you guys want to try it out please comment  following line in below page :
node_modules/react-autosuggest/dist/Autosuggest.js and comment line no. 329
Please refer the below code :
var autowhateverInputProps = _extends({}, inputProps, {
onFocus: function onFocus(event) {
if (!_this2.justSelectedSuggestion && !_this2.justClickedOnSuggestionsContainer) {
var shouldRender = shouldRenderSuggestions(value);
        _this2.inputFocused(shouldRender);
        _onFocus && _onFocus(event);

        if (shouldRender) {
          onSuggestionsFetchRequested({ value: value }); // This part needs to be commented
        }
      }
    },

This will be a temporary solution for me. I'm eagerly waiting for an option to fix this issue.

https://github.com/moroshko/react-autosuggest/issues/382 should solve this.

How is it going to solve the issue? You have added a reason string with a reason input-focused. This should be user configured in there components itself. Or if I'm doing something wrong please let me know how to use it?

@SumeshDubey Here is how you could avoid fetching suggestions when input is focused:
onSuggestionsFetchRequested = ({ value, reason }) => {
  if (reason === 'input-focused') {
    return;
  }

  // fetch suggestions for `value`
};

It worked. Thanks a lot.


48 | Rotate Image | C++

Rotate Image -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign the issue to me

There's already a solution for this. Unless you mention how you will modify and improve the code,  I can't assign this to you .


HTTPPool: hash function is not used

In NewHTTPPoolOpts(), HTTPPool.peers is initialized with the given hash function.
In HTTPPool.Set(), the new HTTPPool.peers doesn't use the previous hash function.

It seems fixed in #50

Fixed by #63


"Remove" torrent now deletes data

Support guidelines

[X] I've read the support guidelines

I've found a bug and checked that ...

[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem

Description
Initially reported in the official rutorrent repo. But @stickz was kind enough to inform this apparently is a docker issue.
Copypasta report from there:

Please complete the following tasks.
Web browser cache cleared
Link provided to install script if applicable
Not using broken rtinst install script
Web browser, ruTorrent, PHP and OS version provided

Tell us about your environment
Web Browser: Tested on macOS 14.2.1 - Firefox 121.0.1 & Chrome 120.0.6099.234
ruTorrent: 4.2.9
PHP: PHP 8.2.7
OS: Debian 12
Tell us how you installed ruTorrent
Docker - https://github.com/crazy-max/docker-rtorrent-rutorrent/
Describe the bug
Right-click a torrent in list and choosing "Remove" will now delete all data. No prompt or warning. This all while rendering the remaining file still present but with 0b. This is what I assume is the same behavior that "Remove And... - Delete Data" should do.
Change in behavior that seems like a bug but am not sure if I missed some update where this behavior changed? If so - what is the option "Remove And... - Delete Data" supposed to do?
Steps to reproduce
Open rutorrent and have a completed torrent in the list
Choose "Remove"
Torrent data will be deleted

Expected behavior
Remove torrent from rutorrent (list) but keep all data intact.
Expected behaviour
Remove torrent from rutorrent (list) but keep all data intact.
Actual behaviour
Deleting data (but not files).
Steps to reproduce

Open rutorrent and have a completed torrent in the list
Choose "Remove"
Torrent data will be deleted

Docker info
Client: Docker Engine - Community
 Version:    25.0.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.24.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 8
  Running: 7
  Paused: 0
  Stopped: 1
 Images: 88
 Server Version: 25.0.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: a1496014c916f9e62104b33d1bb5bd03b0858e59
 runc version: v1.1.11-0-g4bccb38
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.0-17-amd64
 Operating System: Debian GNU/Linux 12 (bookworm)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 31.2GiB
 Name: <REDACTED>
 ID: <REDACTED>
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

Docker Compose config
name: rtorrent-rutorrent
services:
  geoip-updater:
    container_name: geoip-updater
    environment:
      DOWNLOAD_PATH: /data
      EDITION_IDS: GeoLite2-City,GeoLite2-Country
      LICENSE_KEY: ""
      LOG_JSON: "false"
      LOG_LEVEL: info
      SCHEDULE: 0 0 * * 0
      TZ: Europe/Berlin
    image: crazymax/geoip-updater:latest
    networks:
      rtorrent-rutorrent: null
    restart: always
    volumes:
      - type: bind
        source: /opt/rtorrent-rutorrent/data/geoip
        target: /data
        bind:
          create_host_path: true
  rtorrent-logs:
    command:
      - bash
      - -c
      - tail -f /log/*.log
    container_name: rtorrent-rutorrent-logs
    depends_on:
      rtorrent-rutorrent:
        condition: service_started
        required: true
    image: bash
    network_mode: none
    restart: always
    volumes:
      - type: bind
        source: /opt/rtorrent-rutorrent/data/rtorrent/log
        target: /log
        bind:
          create_host_path: true
  rtorrent-rutorrent:
    container_name: rtorrent-rutorrent
    environment:
      AUTH_DELAY: 0s
      LOG_ACCESS: "true"
      LOG_IP_VAR: remote_addr
      MAX_FILE_UPLOADS: "50"
      MEMORY_LIMIT: 1024M
      OPCACHE_MEM_SIZE: "128"
      PGID: "1001"
      PUID: "1001"
      REAL_IP_FROM: <IP_ADDRESS>/32
      REAL_IP_HEADER: X-Forwarded-For
      RT_DHT_PORT: "6881"
      RT_INC_PORT: "50000"
      RT_LOG_EXECUTE: "false"
      RT_LOG_LEVEL: info
      RT_LOG_XMLRPC: "false"
      RU_DO_DIAGNOSTIC: "true"
      RU_FORBID_USER_SETTINGS: "false"
      RU_HTTP_TIME_OUT: "30"
      RU_HTTP_USE_GZIP: "true"
      RU_HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
      RU_LOCALE: UTF8
      RU_LOG_FILE: /data/rutorrent/rutorrent.log
      RU_LOG_RPC_CALLS: "false"
      RU_LOG_RPC_FAULTS: "true"
      RU_OVERWRITE_UPLOADED_TORRENTS: "false"
      RU_PHP_GZIP_LEVEL: "2"
      RU_PHP_USE_GZIP: "false"
      RU_REMOVE_CORE_PLUGINS: httprpc
      RU_RPC_TIME_OUT: "5"
      RU_SAVE_UPLOADED_TORRENTS: "true"
      RU_SCHEDULE_RAND: "10"
      RUTORRENT_AUTHBASIC_STRING: ruTorrent restricted access
      RUTORRENT_PORT: "8080"
      TZ: Europe/Berlin
      UPLOAD_MAX_SIZE: 16M
      WAN_IP_CMD: "false"
      WEBDAV_AUTHBASIC_STRING: WebDAV restricted access
      WEBDAV_PORT: "9000"
      XMLRPC_AUTHBASIC_STRING: rTorrent XMLRPC restricted access
      XMLRPC_PORT: "8000"
    expose:
      - 6881/udp
      - "8000"
      - "8080"
      - "9000"
      - "50000"
    image: crazymax/rtorrent-rutorrent:latest
    networks:
      rtorrent-rutorrent: null
    ports:
      - target: 6881
        published: "6881"
        protocol: udp
      - target: 8080
        published: "8080"
        protocol: tcp
      - target: 9000
        published: "9000"
        protocol: tcp
      - target: 50000
        published: "50000"
        protocol: tcp
    restart: always
    ulimits:
      nofile:
        soft: 32000
        hard: 40000
      nproc: 65535
    volumes:
      - type: bind
        source: /opt/rtorrent-rutorrent/data
        target: /data
        bind:
          create_host_path: true
      - type: bind
        source: /opt/rtorrent-rutorrent/passwd
        target: /passwd
        bind:
          create_host_path: true
      - type: bind
        source: /media/
        target: /media
        bind:
          create_host_path: true
networks:
  rtorrent-rutorrent:
    name: rtorrent-rutorrent

Logs
not applicable

Additional info
thanks :)

Your configuration files are most likely outdated with the latest version of the docker container. I would recommend checking your .rtorrent.rc file and comment out this line. ruTorrent has since improved. It's no longer required.
# Erase data when torrent deleted (no need erasedata plugin on ruTorrent)
method.set_key = event.download.erased,delete_erased,"execute=rm,-rf,--,$d.data_path="

Thanks, works fine!
Would you recommend grabbing the latest .rtorrent.rc and remake any customizations?

The remaining changes are in .rtlocal.rc. They were pulled automatically. This file is derived from your environment variables and executes before .rtorrent.rc. I don't see anything else wrong with your docker container looking at the diagnostics.
I do plan to submit a pull request to adjust the send and receive buffers on rTorrent. We can improve throughput overriding the operating system values for the tcp rmem/wmem. This needs to go in .rtlocal.rc, so it's not required to remake .rtorrent.rc.


revisions

Are you a current Fivetran customer?

What change(s) does this PR introduce?

Did you update the CHANGELOG?

[ ] Yes

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[ ] No  (please provide an explanation as to how the change is non-breaking below.)

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[ ] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[ ] No

How did you test the PR changes?

[ ] Buildkite
[ ] Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

@fivetran-joemarkiewicz I have updated the docs (the "Files changed" suppresses recharge.yml) and renamed some columns for clarity. It is ready for re-review!

@fivetran-catfritz Looks good to merge!


Prevent loading jsdom, which mocks fetch/XHR

In a test I'm using a library that uses Axios, this should be fine... but
somehow I get an error indicating that a OPTIONS request gets a 405 error. This is curious, as this library should not do a OPTIONS request. After viewing the stacktrace, it became apparent that jsdom had stubbed the nodejs-native request functionality, tricking Axios in using that. This is insane, that in a SST app jsdom is loaded (a React utility).
So this PR sets the testEnvironment to node to prevent loading jsdom.

Alternatively, testEnvironment could be made configurable. It is not currently.

@hermanbanken thanks for bringing this up! @thdxr can you take a quick look at this?

If required I can try to make a minimal reproduction. Let me know if that is required. Regardless, the mode should be node right?

That'd be great.
Yeah, the change makes sense. @thdxr knows the jest stuff better, I will let him take a second look.


Join

Because I want to stay on top of everything that goes on in this organization and of course, as a good dev, you have to know about the challenges of this incredible world of programming

@Estevamsl An invitation has been sent. Welcome onboard.
If you want any help contributing to this project please do message me. I will be happy to help.
Cheers.


vendorPath not match

When building github.com/AsynkronIT/protoactor-go we got the following error:
vendor dependency golang.org/x/time:github.com/hashicorp/consul: commit='a86d11ec0aaadf6965014abd0030085d67454406', urls=[https://github.com/hashicorp/consul.git, git@github.com:hashicorp/consul.git]/vendor/golang.org/x/time/rate does not exist in transitive dependencies of github.com/hashicorp/consul#a86d11ec0aaadf6965014abd0030085d67454406

We got golang.org/x/time in transitive dependencies, but the entry in vendor/vendor.json is:
{"path":"golang.org/x/time/rate","checksumSHA1":"vGfePfr0+weQUeTM/71mu+LCFuE=","revision":"8be79e1e0910c292df4e79c241bb7e8f7e725959","revisionTime":"2017-04-24T23:28:54Z"}

how could fix it? @blindpirate


Link to KISS Linux

Hi, nice website! Just one thing though: there's still a (old and broken) link to KISS Linux, which you don't maintain anymore. I think that you should change it to point to the KISS Community website. Do you agree?

I've opted to simply remove the link.


Add new unit test case and some improvements.

Add unit test case for CreateComposition.js
Update Jest to 20.x.x to support toHaveLength and more mock features
Remove sinon because Jest has full mock support now

 Add unit test for Create Composition component

 Add unit test for Create Composition component

Coverage increased (+1.2%) to 8.415% when pulling 8c281c6ecbcca8de3c673981cfc580ce1c21c863 on henrywang:new_unit into f7cd1b303c7716f7176037136e2ac5d8a23a752d on weldr:master.

LGTM, however I'm not certain what benefit do React component unit tests have. From what I can see we're instantiating the component, checking if rendering didn't fail (not much else) and validating that some methods were executed. There's hardly any logic in these components (correct me if I'm wrong) so it looks to me that these unit tests are pretty much duplicating what e2e tests do.
@jgiardino what is your opinion on this ?
@henrywang what is the current state of the art wrt testing React applications? Can you provide some information as to what other people are doing and in which scenarios?

@atodorov @henrywang
I chatted with Patrick Riley on the UXD team about this. The main purpose is to test the logic embedded within the component, but also test that the data provided by the api isn't changing. But for testing the api, are these tests set up so that we would catch changes in the api that would break the components?
Here are additional comments from Patrick on the subject:

Snapshots are meant to quickly analyze React Component APIs (and would be included in e2e tests)… however they are much easier to maintain and quickly give us feedback when something changes… if you are already doing e2e work, then Snapshots may not be necessary, but I still find them quite useful for more fine grained API testing (you may find that easier but will have to experiment there)

@jgiardino, @henrywang
I also did some research and I've changed my mind about unit testing React components. Honestly I didn't think we needed it but it's best to have it:

Even if our components don't have any logic now sometime later they will and it is better to have a culture of testing and having everything already established.

+1 for what Jenn says, we need tests to make sure the API returns json with all the attributes we expect and break if the response changes. However I think there are easier ways to do this (like record the response history and compare). I will open a card for that.

I think we need to start a "testing guidelines" section in the readme.
With this said I'm going to go ahead and merge this PR so we can have at least some unit tests available. Everything else should be added as a new PR.


Ringbuffer async API usage example

Implemented Ringbuffer async API usage example.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.


Support for Google analytics

Hi, just made a plugin for vueJs and google analytics

Sync with router
Handle app version in GA
lightweight

https://github.com/ScreamZ/vue-analytics
https://www.npmjs.com/package/vue-ua
Regards

#601 Added a PR, soz


[Feature] Create tfstate in the namespace of the application not the namespace of the controller

Is your feature request related to a problem? Please describe.

We have a component that is using the Terraform controller. When using this component to create applications in different namespace we notice the Terraform state is being overwritten each time. Here is our component and two application kinds that are applied to two different namespaces.
Describe the solution you'd like

We would like to have the tfstate of an application to live in the  namespace of the application and not the namespace of the controller.
Describe alternatives you've considered

None.
Additional context

Component
apiVersion: core.oam.dev/v1beta1
kind: ComponentDefinition
metadata:
  annotations:
    definition.oam.dev/description: Terraform module which creates DynamoDB table
      on AWS
  creationTimestamp: null
  labels:
    type: terraform-aws
  name: tf-aws-dynamodb-table
  namespace: vela-system
spec:
  schematic:
    terraform:
      configuration: https://github.com/terraform-aws-modules/terraform-aws-dynamodb-table.git
      providerRef:
        name: aws
        namespace: default
      type: remote
  workload:
    definition:
      apiVersion: terraform.core.oam.dev/v1beta1
      kind: Configuration
status: {}

Applications
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: dynamo-test
  namespace: warrior2
  annotations:
    sidecar.istio.io/inject: "false"
spec:
  components:
    - name: dynamo-test
      type: tf-aws-dynamodb-table
      properties:
        name: "dynamo-test2"
        hash_key: "id"
        server_side_encryption_enabled: true
        attributes:
          - name: "id"
            type: "N"
  workflow:
    steps:
      - name: create-dynamodb
        type: apply-component
        properties:
          component: dynamo-test

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: dynamo-test
  namespace: warrior
  annotations:
    sidecar.istio.io/inject: "false"
spec:
  components:
    - name: dynamo-test
      type: tf-aws-dynamodb-table
      properties:
        name: "dynamo-test2"
        hash_key: "id"
        server_side_encryption_enabled: true
        attributes:
          - name: "id"
            type: "N"
  workflow:
    steps:
      - name: create-dynamodb
        type: apply-component
        properties:
          component: dynamo-test

@ccs-warrior The Configuration resource should be deployed to the namespace of the application. Didn't your test result look like this?

@ccs-warrior This issue has been fixed by https://github.com/kubevela/kubevela/issues/4215.

You can upgrade the terraform addon to 1.0.9 for this fix. Closing


I cant find where to download :(

The links to download doesnt work anymor :(

The download is in the releases section https://github.com/Wunkolo/UWPDumper/releases

I updated the readme to include a link directly to the releases page since appveyor is proving to be unreliable. Might even move over to use GitHub actions at some point.


Content for Error pages

404
File not found

[ ] Sub/Title
[ ] Image
[ ] Paragraph or two
[ ] Suggested paths from here (search, /read, etc)

500
Internal App Error (we fucked up)

[ ] Sub/Title
[ ] Image
[ ] Paragraph or two
[ ] Suggested paths from here (search, /read, etc)

Error 404: File Not Found
http://lapiedradesisifo.com/wp-content/uploads/2015/08/Biblioteca.jpg http://lapiedradesisifo.com/wp-content/uploads/2015/08/Biblioteca.jpg
or
http://dorothygebert.com/wp-content/uploads/2014/04/enhanced-buzz-wide-1782-1374872169-42.jpg http://dorothygebert.com/wp-content/uploads/2014/04/enhanced-buzz-wide-1782-1374872169-42.jpg
The page you are looking for does not seem to be here. To go hunting for it, use our sophisticated search engine, or peruse our reading library. To report a problem to us, [DO THIS.]
Error 500: Internal App Error
http://static.travelinglifestyle.net/uploads/2016/04/travel-inspiration.jpeg http://static.travelinglifestyle.net/uploads/2016/04/travel-inspiration.jpeg
The page you are looking for does not seem to be here. To go hunting for it, use our sophisticated search engine, or peruse our reading library. To report a problem to us, [DO THIS.]

Error 404: File Not Found
http://lapiedradesisifo.com/wp-content/uploads/2015/08/Biblioteca.jpg http://lapiedradesisifo.com/wp-content/uploads/2015/08/Biblioteca.jpg
or
http://dorothygebert.com/wp-content/uploads/2014/04/enhanced-buzz-wide-1782-1374872169-42.jpg http://dorothygebert.com/wp-content/uploads/2014/04/enhanced-buzz-wide-1782-1374872169-42.jpg
The page you are looking for does not seem to be here. To go hunting for it, use our sophisticated search engine, or peruse our reading library. To report a problem to us, [DO THIS.]
Error 500: Internal App Error
http://static.travelinglifestyle.net/uploads/2016/04/travel-inspiration.jpeg http://static.travelinglifestyle.net/uploads/2016/04/travel-inspiration.jpeg
The page you are looking for does not seem to be here. To go hunting for it, use our sophisticated search engine, or peruse our reading library. To report a problem to us, [DO THIS.]


Bump python to 3.9 and tf-nightly to 2.15.0.dev20230824

Fixes https://github.com/openxla/iree/issues/14775

@pzread @ScottTodd @stellaraccident  please take a look if it is okay to bump python version to 3.9. This is required by tf-nightly package: https://pypi.org/project/tf-nightly/

@pzread @ScottTodd @stellaraccident please take a look if it is okay to bump python version to 3.9. This is required by tf-nightly package: https://pypi.org/project/tf-nightly/

We have a few other parts of the project that refer to Python 3.8 that we could update, e.g. https://github.com/openxla/iree/blob/85a5425cc8c0b5c4c1db2aa1e242df604bf340ff/compiler/setup.py#L426
I think that can happen in a future cleanup PR though.

If it were me, I would bump to 3.11 or 3.10. I see no value in the old versions for where we are. But if you are doing the work, I'm not going to push back.

If it were me, I would bump to 3.11 or 3.10. I see no value in the old versions for where we are. But if you are doing the work, I'm not going to push back.

I mainly wanna re-enable benchmark suites because I need them to evaluate some of patches, so I just picked a working version. I'm not going to touch this part. Feel free to bump it to 3.10 or 3.11 if it is better.

if we want to bump to 3.10 or 3.11, the base docker needs to be bumped from ubuntu 20.04 to ubuntu 22.04 -- the highest python 3 for ubuntu 20.04 is 3.9
https://packages.ubuntu.com/search?keywords=python3.9
https://packages.ubuntu.com/search?keywords=python3.10
https://packages.ubuntu.com/search?keywords=python3.11


Slow parsing for small inputs

Here's a case that I believe is different from #133: Running this 504 byte input file through the decode function takes ~30 seconds in release mode (at about 170% CPU load according to htop) until it fails with Io(Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" }).
id:000010,sig:06,src:000016,op:flip32,pos:163.tar.gz
To reproduce, in the afl branch (#131), run:
$ time cargo run --release --bin reproduce_decode out/crashes/id:000010,sig:06,src:000016,op:flip32,pos:163
    Finished release [optimized] target(s) in 0.01s
     Running `target/release/reproduce_decode 'out/crashes/id:000010,sig:06,src:000016,op:flip32,pos:163'`
Decoder returned an error: Io(Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" })
Note: Not a panic, this is fine.

real	0m29.794s
user	0m50.215s
sys	0m2.310s

While running, according to htop, the process does not fill my system memory, that's why I think it's not limited to the "unchecked pre-allocation" issue.
(I hope I don't annoy you with all those issues. Without knowledge of the internals it's hard to judge which cases are duplicates and which cases aren't :slightly_smiling_face: Thanks for developing and maintaining jpeg-decoder!)

It's similar at least in that it is a small file claiming to encode a very large (65503x65503 pixel, in this case) image.
I may have sounded a bit dissmisive at some of your report, but I do think they are valuable.  At least they underline the need for a good solution to https://github.com/image-rs/image/issues/938 .


NullPointerException when parsing Youtube URL

Sometimes the error happens, sometimes it doesn't, although the track is the same. This started about a week ago and it gets worse over time.
The music I am trying to play is https://www.youtube.com/watch?v=DIlPaqmcklk
9953 [lava-daemon-pool-playback-1-thread-1] ERROR com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor - Error in playback of DIlPaqmcklk com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.         at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43)         at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117)         at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)         at java.base/java.lang.Thread.run(Thread.java:835) Caused by: java.lang.NullPointerException         at java.base/java.net.URI$Parser.parse(URI.java:3127)         at java.base/java.net.URI.<init>(URI.java:623)         at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeTrackFormat.getUrl(YoutubeTrackFormat.java:66)         at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:97)         at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87)         at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42)         at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105)         ... 4 more

I am also seeing this very frequently
`2020-05-29 01:55:06.814 ERROR 1 --- [ack-1-thread-16] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of U7l8fgnXCWw
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.47.jar!/:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
Caused by: java.lang.NullPointerException: null
at java.base/java.net.URI$Parser.parse(URI.java:3129) ~[na:na]
at java.base/java.net.URI.(URI.java:623) ~[na:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeTrackFormat.getUrl(YoutubeTrackFormat.java:66) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:97) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42) ~[lavaplayer-1.3.47.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105) ~[lavaplayer-1.3.47.jar!/:na]
... 4 common frames omitted
`

This is fixed in lavaplayer 1.3.49

It's not. My stacktrace is from 1.3.49
A friend of mine noticed that his Youtube video download plugin has issues as well and he can't download most videos. I suppose Youtube changed again.

@IgeNiaI can you show me the output of PlayerLibrary.VERSION?
I don't see a version in your trace

@duncte123 it shows 1.3.47. Weird, cause I updated the version in gradle. I'll report after I fix that.

Updating a number in Gradle doesn't guarantee that it's updated properly in you ide

i had same issue on v 1.3.47, updating to 1.3.49 fixed the issue for me

I take it this can be closed?


Add Req.get(url: url)

I assume you’d want these for all of the request functions? Get, get!, post, post!, etc.
Signature would become something like:
def get(url_or_request_or_options, options \\ [])

def get(url, opts) when is_binary(url) do
  get(Req.new(url: url), opts)
end

def get(options, opts) when is_list(options) do
  get(Req.new(options), opts)
end

def get(%Req.Request{} = req, opts) do
  …
end

Is this what you were thinking?

Yes but I didn’t make up my mind yet if it’s a good idea to complicate the signature like that hence it’s assigned to me. :)

Yeah so my main concerns are complicated signature and redundant docs and examples. I think I should assume people can land on the docs of any of the method/method! functions and they should have a lot of information right away, without having to jump into another function docs. But maybe it's not that bad, here's a draft for get/1,2. WDYT?
  @type request() :: String.t() | URI.t() | Req.Request.t() | Keyword.t()

  @doc """
  Makes a GET request.

  `request` can be one of:

    * a `String` or `%URI{}` url;
    * a `Keyword` options;
    * a `%Req.Request{}` struct

  See `new/1` for a list of available options.

  ## Examples

  With URL:

      iex> {:ok, resp} = Req.get("https://api.github.com/repos/wojtekmach/req")
      iex> resp.body["description"]
      "Req is a batteries-included HTTP client for Elixir."

      iex> repo = "wojtekmach/req"
      iex> {:ok, resp} = Req.get("https://api.github.com/repos/:repo", path_params: [repo: repo])
      iex> resp.status
      200

  With options:

      iex> {:ok, resp} = Req.get(url: "https://api.github.com/repos/elixir-lang/elixir")
      iex> resp.status
      200

  With request struct:

      iex> req = Req.new(url: "https://api.github.com/repos/elixir-lang/elixir")
      iex> {:ok, resp} = Req.get(req)
      iex> resp.status
      200

      iex> req = Req.new(base_url: "https://api.github.com")
      iex> {:ok, resp} = Req.get(req, url: "/repos/elixir-lang/elixir")
      iex> resp.status
      200

  """
  @spec get(request(), options :: keyword()) ::
          {:ok, Req.Response.t()} | {:error, Exception.t()}
  def get(request, options \\ []

yeah simply piping options to Req.get is not bad! Done, thanks @zachallaun! :D


there should be wiki page for Introduction to Git and Github for new contributors .

A wiki page for Introduction  to Git and Github should be there to get started to contributing in project .
something like this -

would like to work on this ?

@teolemon what is your point on this ?

I guess this is completely unnecessary as people are expected to know git and Github if they are willing to dive into OSS. Besides, there will be no point in adding Introduction to git and Github on every project.

@samagra14 yeah, but most of time in starting people are not version control familiar ,also there is no guideline how to start working on any Openfoodfacts project .


AWS EC2 Ubuntu 20.04 LTS w/Remnux - Black Screen after RDP

AWS EC2 Instance Settings
Instance type
c5.4xlarge
Platform
Ubuntu (Inferred)
AMI ID
ami-01f87c43e618bf8f0
Platform details
Linux/UNIX
AMI name
ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20211129
AMI location
099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20211129
Virtualization type
hvm
Availability zone
us-west-1a
Networking
No restrictions inbound/outbound
Storage
Root device name
/dev/sda1

Volume size (GiB)
150

Ubuntu Version
No LSB modules are available.
 Success: 812, Failure: 0

>> Please reboot to make sure all settings go into effect.

Remnux did install and be accessed via any user
Remnux installed
root@ip-172-31-7-191:~# su default
$ sudo remnux update
><EMAIL_ADDRESS>> remnux-version: v2022.15.6

Thank you for taking the time to help resolve my issue. I have successfully installed the Gnome-Desktop Gui and connected via RDP from my Mac M1 using "Microsoft Remote Desktop". The issue I am having is after reboot I try to login as ubuntu

and I get this "Connection Log Error"  so my work around was creating a different user to sign into for example "default" or root (after setting a password)
 however that just takes me to ubuntu again
 but when I successfully login to the account that REMnux was installed via mode cloud all I get is a black screen that never loads

Any next steps will definitely be appreciated. Thank you.

If you're able to SSH into the instance as the desired user, can you run the following: env | grep DISPLAY and let me know what it says? It's likely that the environment DISPLAY doesn't match the RDP set display of 0.

I will try that later today and post my update here

I am currently unable to ssh as the desired user but in the process of creating ssh key pairs via was documentation to see if I can sign in at that user. I am able to ssh and ubuntu or root and run env | grep DISPLAY with no result as well as sudo su - desired_user and env | grep DISPLAY with no result either

So when you installed remnux, were you logged in as the desired user, or were you logged in as another user, and passed the "--user" flag?  Your commands don't show that you did use the --user flag, which will install remnux for that user. If you did not, it will have installed remnux for the user you were logged in as (either ubuntu or root)

recreated an exact  instance under
sudo remnux install --user default --mode=cloud
same issue "black screen"

sudo remnux update
<EMAIL_ADDRESS>remnux-version: v2022.15.6

Solution 1: Fix Black Ubuntu Screen
Edit the following script file
sudo nano /etc/xrdp/startwm.sh
Add following lines
Per ScreenShot
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR

Restart Service
sudo systemctl restart xrdp
Login
Congrats


PHP: Redis extension not installed

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The Redis PHP extension isn't installed when ext-redis is in the composer.json.
To reproduce

Create composer.json in an empty directory with the content {"require": {"ext-redis": "*"}}
Run nixpacks build . --name test from that directory
It all seems to be building fine until composer install is run:

[ ... ]
=> ERROR [8/8] RUN  composer install                                                                                0.7s
------
 > [8/8] RUN  composer install:
#12 0.508 Do not run Composer as root/super user! See https://getcomposer.org/root for details
#12 0.560 No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
#12 0.560 Loading composer repositories with package information
#12 0.702 Info from https://repo.packagist.org: #StandWithUkraine
#12 0.705 Updating dependencies
#12 0.710 Your requirements could not be resolved to an installable set of packages.
#12 0.710
#12 0.710   Problem 1
#12 0.710     - Root composer.json requires PHP extension ext-redis * but it is missing from your system. Install or enable PHP's redis extension.
#12 0.710
#12 0.710 To enable extensions, verify that they are enabled in your .ini files:
#12 0.710     - /nix/store/62g1n2ipd0sdi8i676j4lcbvkbsa8yl3-php-with-extensions-8.1.10/lib/php.ini
#12 0.710 You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
#12 0.710 Alternatively, you can run Composer with `--ignore-platform-req=ext-redis` to temporarily ignore these required extensions.
------
executor failed running [/bin/bash -ol pipefail -c composer install]: exit code: 2
Error: Docker build failed

Expected behavior
The build finishes with no errors.
Environment
Windows 11, Nixpacks 0.5.9

This happens with ext-mongodb and ext-imagik as well. I think it's a regression.

Just as a note for future travelers, predis is a userland alternative to the redis extension that I can confirm is compatible with railway.
It might work for you until the broader issues around PHP extensions are resolved.

Any progress on this?


Add ability to notify via Twilio SMS

I have this in my private branch of camply and figured I'd see if you wanted to integrate it into the main repo.
I've tested this out via:
poetry run camply --debug campsites --campground 232450 --campground 232449 --campground 232447 \
  --start-date 2022-10-24 --end-date 2022-10-25 \
  --notifications pushbullet --notifications twilio --continuous

tox tests continue to pass. I didn't see any tests directly related to notifications so didn't add specific unit-tests for that.
I'm not sure if the poetry.lock update should be included as well (I've never used poetry prior to this).

👏 thank you for the contribution @septikus!

Thanks for the guidance on @juftin !


docs(docs): :memo: just test deloy

:tada: This PR is included in version 1.0.3 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Improving Readme.md File slight for a better reead

Hey I think that the readme.md file is not very perfect I can add some elements to it from my side.
Please label it under gssoc and assign me this issue

@rishyym0927
Please mention the following in the README.md:

For contributing to this repository, make sure to create a new branch and raise a pull request to the develop branch.

@rishyym0927  are you working on it

yes

@ratnesh-maurya please assign me the task of adding contributors

im working on it, give me some more time

ok buddy

@rishyym0927 i am assigning this issue to @sakshamsaraf23  as you are not active from last 4 days

@ratnesh-maurya done

closing as the readme file is updated


Expose Restitution and fix lookup IDs

This PR fixes some typos in the lookup ID's, exposes the collider restitution, and also pins the rollup typescript version as 8.2.4 was causing a bug with compilation.

Thanks! The CI failed, but I’ll take care of it for today’s release.


Add shields for national routes of France

Adds support for French national routes, which have identical signage to French autoroutes.

Looks like there are also C- and D- routes, but they appear to be mapped in a funny way.

Yes, see here: #491


IPv6 support: AAAA records

Explore what should need to happen to support ipv6.
Learn how to deploy a (local?) cluster that has ipv6.
There may be some IPv4 assumptions in the code.

even though we're not testing using kind clusters, these docs may be helpful

Some notes on using MetalLB/Contour on Kind IPv6:
Using MetalLB/Contour on Kind IPv6

Deploy a Kind IPv6 Cluster

kind create cluster --config kind-ipv6.yaml

kind-ipv6.yaml:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  ipFamily: ipv6

MetalLB

Deploy MetalLB

kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.6/manifests/namespace.yaml
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.6/manifests/metallb.yaml
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"

Configure MetalLB with IPv6 addresses

kubectl apply -f ./manifests/metallb-config.yaml

Note: This is hardcoded to use the following as the pool: fc00:f853:ccd:e793::ff00-fc00:f853:ccd:e793::ffff, which should be in the default subnet range of the kind network. If this needs to be changed in any way you can query the subnet using docker network inspect kind | jq '.[0].IPAM'
Contour

Download Contour manifest: https://projectcontour.io/quickstart/contour.yaml

Update Contour manifest to use IPv6 bind addresses. Contour's manifest does not work with an IPv6 cluster by default because it does not listen on IPv6 addresses. Reference for changes necessary to manifest: https://github.com/projectcontour/contour/issues/3284#issuecomment-832114962

Deploy Contour with IPv6 configuration:

kubectl apply -f contour.yaml

Deploy example workload

Deploy Kuard

kubectl apply -f ./manifests/example/kuard.yaml

The kuard deployment works best because it listens on ipv6 addresses by default. You would encounter no route to host errors or connection refused errors if workloads are not configured to listen on IPv6 addresses.

Curl the workload on the contour load balancer address

curl -vH "Host: kuard.example.com" "http://[fc00:f853:ccd:e793::ff00]"

Note: It might take some time for the route to propagate from Contour to Envoy,
you may need to curl a couple times.


Update CreateAnApplication.md

@bigbangbig  I made this update separately in master, so am closing this PR. Changes aren't live yet.


Add fuzz testing to parser code

Randomized testing with go-fuzz will help identify parser edge cases we haven't thought of yet and potential "packets of death" that could crash our code.

[ ] pkg/rtcp
[ ] pkg/rtp
[ ] internal/dtls
[ ] internal/sdp
[ ] others (?)

Closing this since we have issues in all the individual repos.

https://github.com/dtls has fuzz testing
https://github.com/rtcp has fuzz testing
https://github.com/stun has fuzz testing
https://github.com/turn has fuzz testing
https://github.com/sdp has fuzz testing
https://github.com/sctp has covering ticket
https://github.com/rtp has covering ticket

It would be great if we could get projcets into go-fuzz and get some sort of 'code coverage'. We need to find someone that is interested in finishing this up. Maybe this would be a good thing to ask on Twitter for help?
@maxhawkins @josharian any ideas? You both seem passionate about this :)

It would be great if we could get projcets into go-fuzz
@Sean-Der Could you elaborate on what you mean by this? I might be able to contribute on fuzzing webrtc

@AdamKorcz yea! Sorry I think I meant oss-fuzz. Right now we don't run our fuzzers, so they aren't doing much currently :(
We can either get them running over there OR setting up something ourselves.

Awesome. I will be happy to look into that.
I may be looking in the wrong places, but I don't see the fuzzers in this repo. Could you post a link to them?

pion/webrtc doesn't have any itself. It gets stuff already processed in from it modules.
dtls
stun
sdp
rtcp
It looks like STUN/DTLS are the only ones that are really valuable right now. So I see three steps of work.

Get fuzz testing working locally
Get some corpuses
Set up infra so they are always running

You know WAY more about this stuff then me. So please do w/e you think is right. Tell me what I can do to help!

That is awesome. I see some ways to proceed from here.
In order to setup continuous fuzzing through oss-fuzz, it helps with referencing adopters/users, as oss-fuzz would like to contribute to the security of projects that impact lots of people as well as companies using open source software in production. Do you know of adopters/users and is it something you can post publicly when setting up an integration-application?
Also, email addresses of maintainers who are to receive potential bug reports will have to be added to a public list. If this is not okay, please let me know.

I would start with Sean DuBois<EMAIL_ADDRESS>Can share a list of companies privately. Developers reach out to me privately with questions. I don't want to get them in trouble with their employers though.

Duly noted. All details in the application process for oss-fuzz are public. It is understandable that users would like to not advertise their software, and in that case it would be sufficient to name the impact based on the size/revenue of the companies using webrtc.  If that would work, and some larger companies are using webrtc, then should be good.

That works for me! Can I email you directly with the list of companies that I know of?

Sure, feel free to send over the list at Adam/-at-/adalogics/-dot-/com


HHH-12730 : User types built using 5.1 are not binary compatible with…

… 5.3
https://hibernate.atlassian.net/browse/HHH-12730
No need to review this if we decide to use compatibility transformer instead.

This approach won't work, so closing.

Re-opening since it appears to be needed after all.

@gbadner I amended your commit with a small fix and added an additional one for the other AbstractPersistentCollection. If the constructor is needed for PersistentBag, I suspected it would be needed by the others.
I will take a look at the transformer and decide if we should remove some methods later today. I suspect the ones in user types called by ORM should be removed.

Pushed a few other fixes and merged.


Batch semaphore, causality tracking

This adds batch semaphores into Shuttle (not originally implemented by me) as the core primitive to be used for other synchronisation primitives. Vector clocks were added to the batch semaphore to track causality across acquire, release, and try_acquire calls.
Implementing other primitives using the batch semaphore will thus also cause causality to be tracked. The eventual goal is for primitives to only rely on the API of batch semaphore, without calls to e.g. ExecutionState. As a result, batch semaphore and the runtime internals can be pulled out of Shuttle into a separate shuttle-core crate, while both the stdlib and tokio primitives can be placed into new sibling crates, shuttle-stdlib and shuttle-tokio, respectively.
An open question is how to proceed with the crate restructuring. One option is for the crate called shuttle now to "become" shuttle-stdlib, as it will contain the same primitives, but this would require various re-exports. We could also publish a wrapper crate called shuttle (intended to be deprecated?) which will re-export items from both shuttle-core and shuttle-stdlib.

Sweet.

[...] while both the stdlib and tokio primitives can be placed into new sibling crates, shuttle-stdlib and shuttle-tokio, respectively.

An open question is how to proceed with the crate restructuring. One option is for the crate called shuttle now to "become" shuttle-stdlib, as it will contain the same primitives, but this would require various re-exports. We could also publish a wrapper crate called shuttle (intended to be deprecated?) which will re-export items from both shuttle-core and shuttle-stdlib.

There's more.
Shuttle currently:

"Core": all the functionality to run the program under test, ie starting up, pausing and resuming tasks, shutting down, etc.
The schedulers (scheduler).
std-lib mirrors (sync,thread.rs, hint.rs, thread_local! in lib.rs).
future, ie a mix of futures::executor and tokio::task::JoinHandle.
rand mirror.
lazy_static mirror.
The "external" interface: lib.rs (minus thread_local! and lazy_static!) and current.rs

My opinion is that all of these should be its own crate.
The question then becomes whether something which is called Shuttle should stick around. I think the thing called Shuttle will be the crate corresponding to bullet number 7. There is a question of whether it should also provide reexports of some of the other crates. I have not thought about that enough to have a definitive opinion, but I am generally of the opinion that the correct approach is to use the wrapper crates over what is provided by Shuttle directly. I am also of the opinion that future should be deprecated (ie it should not be provided by Shuttle, but may be provided by some crate).


feat: skip destroy imported resources

What type of PR is this?
/kind feature
What this PR does / why we need it:
When the imported tf resource is still used by another release, we need to retain it so that the release using that resource can function properly.
Which issue(s) this PR fixes:

Fixes #1200
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

14 of 54 (25.93%)  changed or added relevant lines in 3 files are covered.
10 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 53.959%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/engine/operation/graph/resource_node.go
3
8
37.5%

pkg/engine/runtime/terraform/tfops/workspace.go
9
21
42.86%

pkg/engine/runtime/terraform/terraform_runtime.go
2
25
8.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/engine/runtime/terraform/terraform_runtime.go
10
29.55%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.09%

Covered Lines:
9398

Relevant Lines:
17417

💛  - Coveralls

@hoangndst Hi! Sorry for taking some time to review this PR. It looks good to me, but it seems to have conflicts with an updated file from main branch. I will help to solve this conflict and merge this PR soon. Your contribution will be mentioned and appreciated in the upcoming v0.12.1 release. Thanks very much for your contributions! 👍


Data science

this is my second version of data science

Good iteration.  As @zsyed1 suggests, clean up the hound errors to improve readability.  Also take a look at the comments we've issued so far and refactor where needed.  Resubmit when ready.


Fix #3154

See #3154 for more information.
Please, make sure you are targeting the develop branch!
More instructions about contributing with Gogs code can be found here:
https://github.com/gogits/gogs/wiki/Contributing-Code

Like this ?

Yes, thanks. Waiting CI.


Option for css minimization target

I am building a samsung app and single html file with all codes is awesome for me
But I can't use all css features because I need to support old TVs
When I style a block with following styles
left: 0; right: 0; top: 0; bottom: 0;
it is replacing these styles with inset:0;
I need to disable this or specify the css build target

See https://github.com/evanw/esbuild/issues/1925
With vite, you can set cssTarget，ios13 is my config，you can replace by your tv os version.
  build: {
    target: 'es2015',
    cssTarget: ['es2015', 'ios13'],
  },

As mentioned above, this is a Vite thing, not a plugin thing.

Thank you :)


Graphics Jitter When Using Torch Server

Disabling the Camera to LCD using its in-game menu stops this from happening. Not the server owner; let me know if there's anything else I can give.
https://i.gyazo.com/5ff526c22fa94a58971ac53de0780830.gif

Sorry I missed this bug report. I was never able to reproduce this bug, but it looks like an LOD issue I fixed a while ago.

I still have this issue, seems to be linked with the render range.
Experiencing it in my creative world when I have another grid within the render range in meters of a grid with a camera displaying to a screen.
When I turn down the render range the LOD flickering stops until I move the camera grid within that range of another grid.
Only grids within the render range seem to flicker.
Workaround is just to keep the render range low.


fix: app_parsers config volume  are exposed in k8s

:tada: This PR is included in version 2.45.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[DOC] Query String Query support in Rollups

What do you want to do?

[ ] Request a change to existing documentation

Tell us about your request. Provide a summary of the request and all versions that are affected.
ISM currently supports multiple types of search queries in Rollups such as Term, Terms, Range, etc. We want to now add support for Query String (https://opensearch.org/docs/latest/opensearch/query-dsl/full-text/#query-string) search queries in Rollups.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

@deshsidd: Do you have a link to a development PR for this issue? Furthermore, has this been added to the public roadmap for 2.5?

@Naarcha-AWS Not added to the public roadmap yet, will add it now for 2.5. Here is the link to the PR:
https://github.com/opensearch-project/index-management/pull/616

Will merge this in for 2.5. But @kolchfa-aws plans on creating a Query String Query doc since we don't currently have one. I'll spin that off into a different issue.


Guide Issue translation affairs

The guide is awesome for beginners, can I do a Chinese translation for this guide?(in whatever form the community likes)
Thank you so much. 😄

I look forward to a response.🥲
@taylorwaggoner @dankohn  @AndreyKozlov1984

Yes you can do a translation, we'd love to support it.
We may need a feature in the landscape to support i18n cc: @AndreyKozlov1984

Yes you can do a translation, we'd love to support it.
We may need a feature in the landscape to support i18n cc: @AndreyKozlov1984

Thanks a lot😊I will gradually complete this translation.

Translation Tasks

[ ] Introduction
[ ] Provisioning
[ ] Runtime
[ ] Orchestration & Management
[ ] App Definition and Development
[ ] Observability and Analysis
[ ] Platform
[ ] Summary: Cloud Native Landscape

@caniszczyk @AndreyKozlov1984
The translation work has been completed. The ".md" file is here.I used the same format as the guide to write this file and I tried to verify the rendering locally, it works.

I think we need a page to show it.


DeepExplainer TypeError: shap_values() takes from 2 to 6 positional arguments but 7 were given

Hi,
Thanks for so nice packeges,
I tried the example script:
shap/notebooks/gradient_explainer/Explain an Intermediate Layer of VGG16 on ImageNet (PyTorch).ipynb
I got the Error in third cell:
`
TypeError                                 Traceback (most recent call last)
 in ()
15
16 e = shap.GradientExplainer((model, model.features[7]), normalize(X))
---> 17 shap_values,indexes = e.shap_values(normalize(to_explain), ranked_outputs=2, nsamples=200)
18
19 # get the names for the classes
~/.local/lib/python3.5/site-packages/shap/explainers/gradient.py in shap_values(self, X, nsamples, ranked_outputs, output_rank_order, rseed, return_variances)
103         were chosen as "top".
104         """
--> 105         return self.explainer.shap_values(X, nsamples, ranked_outputs, output_rank_order, rseed, return_variances)
106
107
TypeError: shap_values() takes from 2 to 6 positional arguments but 7 were given
`
My local environment:
・torch 1.0.1
・torchvision 0.2.1
・shap 0.32.1
Could you give me the answer? Thanks very much,I'm looking forward your rely.

This should be fixed now by #873 in SHAP 0.33.0. Can you try again with the new version?

I upgrade the version to 0.33. It woks ,thank you very much!


Better document the package

This library would benefit from some documentation above the usage in test/_index.coffee

agreed

I have no idea how to run this.. Can you document?

@soichih Does this example help? https://github.com/zoomhub/node-deepzoomtools/blob/331d6daafcdc7ca007f7b95a1dd820121214b0be/test/index._coffee#L39-L50

@gasi Yes, I think it will be nice if it's explained on the README.md. Also, can you post it in a plain Javascript?

@soichih I am currently not maintaining this library, but feel free to submit a PR and I’d be happy to review and merge. Thanks for your understanding 😄


Partial support for raw devices

I haven't checked, whether all kinds of volumes work, but virtual disk images do, which allows you to use sparse volumes now with xhyve.
Example:
hdiutil create -megabytes 20 -fs "MS-DOS" disk
hdiutil attach disk.dmg // Get disk number
xhyve ... -s 4:0,ahci-hd,/dev/rdiskN ...

Ported from https://github.com/mist64/xhyve/pull/80

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "raw-devices" git@github.com:johanneswuerbach/hyperkit.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "raw-devices" git@github.com:johanneswuerbach/hyperkit.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Nice work. Apart from my comments on the code it would be good if the commit message incorporated the info from the PR text too since it is useful reference information IMHO.
I expect hyperkit.1 probably needs updating to reflect this change too.

Regarding the hyperkit.1 , I just modified the last example (could also create a new one) The other parts seem to already mention using devices like /dev/disk even when is wasn't working.

LGTM but please rebase onto master now that #75 has been merged (should make your patch a lot smaller too, which is good!)

LGTM but please rebase onto master now that #75 has been merged (should make your patch a lot smaller too, which is good!)

Rebased 👍

Added a small test in a separate commit, wdyt?

LGTM, merging, thanks


Keyboard not showing for the first EditText

I am running Android N on Google Nexus 5X. I've created an Activity with few UI controls like EditText(s), Spinner and so on. Whenever I start the Activity the soft keyboard isn't shown for the first EditText but for the other EditText(s) and Spinners. It's working fine. I tried to programmatically open the soft keyboard in
onStepOpening(int) but it doesn't work.

Unfortunately, the current implementation hides the keyboard by default. But as soon as I have time to work on it, I will add an option that allows you to decide whether or not the keyboard should be hidden :)

In the next version of the library (I will upload it really soon), a method of the builder called hideKeyboard(boolean) will allow you to decide whether or not the software keyboard should be hidden when the steps are open. Therefore, you won't have this problem anymore!


YAxis numbers sometimes overlap the graph when on the right

When rendering a YAxis on the opposite side (right), sometimes the numbers overlap the graph itself.
Live Example:
https://codesandbox.io/s/zql6o1kzx3
This only seems to happen if the opposite axis is rendered first.  If there is a left axis and then an opposite one, it works fine.  If there is only one axis, but it is opposite, then it overlaps.

I'm not sure what I can do to fix this, the same issue happens with Highcharts itself.


added whatsnew section about the posvel->representation stuff

As I mentioned in https://github.com/astropy/astropy/pull/5253#issuecomment-243269387, this just adds a bit more on the changes in that PR and how to work around them.
(Note it also adds a what's new section for 1.3, so this assumes astropy/astropy#5253 is for v1.3 ... which is inconsitent with the changelog but best to discuss that in #5253 proper)

Thanks, @eteq. Merged this now.


No points for any farmer.

When I execute chia plots create -c xxx -t xxx -d xxx successfully, I don't get the INFO:root:Returning log, and there is no keyword Returning in the source code. Is it because the code is updated but the document is not updated? In addition, the log of the pool still shows the reason for No points for any farmer. Waiting 600 and when will there be points.
calculate a farmer's netspace, needs points.

加个vx  9980419,我也是这个问题交流一下

You need to run a farmer and connect it to the pool. Check the User guide for how to use pooling.
Closing since this is not a bug.


raster library

I have a lot of scripts that are dependent on the raster package (to my knowledge I am not using rgdal, rgeos or maptools). I have seen from the website below that the raster package is obsolete and to use terra instead.
https://rspatial.org/raster/
Based on talks I have seen from Rodger Bivand earlier this I have started to only use terra for new workflows, except where I have to convert a terra::rast to a raster::raster for things like using mapview or use a raster::brick object in mapview.
https://www.youtube.com/watch?v=TlpjIqTPMCA
Do I need to update my old workflows which use raster::raster and raster::brick objects? I am sure this question has been covered (so apologies in advance) but couldn't find anything definitive (and want to make sure my workflows won't fail later this year).

Hi @chipsin87 the current development version of mapview on github should handle terra::rast objects. What is the equivalent of a raster::brick in terra, does anyone know?

@tim-salabim also terra::rast() (In short, the main object class in terra is SpatRaster, which replaces RasterLayer, RasterStack, and RasterBrick from raster)

Thanks @Nowosad, we should be fine then as the method for SpatRaster converts to stars internally. Details may need to be worked out, but in principle, things should work.

Yep

@tim-salabim is that to stars or the proxy variant to be able to rescale on-the-fly?

Thanks @tim-salabim  for getting back to me so fast. For all new development I will be using 'terra::rast' objects and 'terra' functions. For prioritising work in the coming months though, I'm curious to know if my old code base (which is quite large) will still run using my 'raster::raster' and 'raster::brick' objects and the latest 'raster' functions?

@chipsin87 it should, methods for raster are still available in mapview.

@rsbivand, for all my other workflows that use raster::raster and raster::brick objects with raster functions, it will business as usual post October this year? (i.e. no need to update existing code that only uses raster objects with raster functions?). I am trying to prioritise work for the coming months

@rsbivand I think it is to stars directly. But I may rethink that anyway over the coming weeks. Leaflet supports terra now so we could write native terra methods. I'll have to investigate the best path forward.


Split noise injection out of SimulatedRainbow into its own .inject_noise action.

For some applications, it will be useful to create an entirely noiseless SimulatedRainbow. Right now, the only way to do that is with a signal_to_noise=np.inf, but that feels like a bit of a kludge. Let's split the noise injection out into its own separate action, so what has previously been
SimulatedRainbow(signal_to_noise=100).inject_transit()

might now become
SimulatedRainbow().inject_noise(signal_to_noise=100).inject_transit()

This would have the added benefit that we could do cleverer things with getting the noise more accurate for high-amplitude signals (like eclipsing binaries), where the fractional noise should increase when the stellar flux is low.
A lot of code relies on SimulatedRainbow, so we should make sure to alert all current users and update the documentation very clearly!

@catrionamurray, @Pat-Wachiraphan , @will-waalkes, I think you're the folks who are mostly likely to have some code floating around that depends on SimulatedRainbow automatically generating some noise for each flux value. I'd like to change things so that SimulatedRainbow generates a noiseless dataset, but we can inject noise into it very easily with a .inject_noise() function (see above).
The reasons for this are (a) I think it makes more sense alongside the .inject_transit and .inject_systematics functions and (b) I think Molly can add some features and options to the noise injection and I'd rather her not have to worry about all of the other complicated stuff going on in the initial initialization of the SimulatedRainbow object.
My question for you is "would you please be OK with us making this change?" It might temporarily break some of your code, but I think you could fix many problems with a one-time global find and replace of SimulatedRainbow() with SimulatedRainbow().inject_noise(), and hopefully the others are too painful to fix? I would develop this on a branch and warn you again before merging it into develop, but I'd like your approval before I start down that path! Thanks!

Sounds good to me!

Sound good to me as well!

Closed by #119 .
@catrionamurray , @will-waalkes , @Pat-Wachiraphan , @kortizceballos , @mone0982 please be warned! From version 0.1.8 onward SimulatedRainbow() won't inject its own noise automatically. You'll instead need to do something like SimulatedRainbow().inject_noise(). Good luck!

Cool!


File indentation needs to be fixed

The file indentations in the project section need to be correctly organised. Maybe the indentation to be set as a TAB size, may fix. Just increase the size of the indentation.

You can already adjust workbench.tree.indent
Other aspects of this are discussed in #148974
/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Bump version for v1.3.0 trial release

This PR bumps internal version number for v1.3 release

oops


question about SyncroSim Omniscape

Hello, I am a beginner using syncrosim Omniscape, I according to the omniscape tutorial in syncrosim platform to calculate the cumulative current density and other data encountered the following problems : my input data is the land use landscape resistance and radius, the current value should be the output data, but when I run it requires me to take the current value as the import data, which makes me confused, please help me answer, the following is my running log :
Operating System: Microsoft Windows NT 6.2.9200.0
SyncroSim Version: <IP_ADDRESS>
Packages:
core -> 2.5.12
omniscape -> 1.1.1
corestime -> 2.5.12
Number of Jobs: 1
STARTING SIMULATION: 2024/5/9 : 22:50:48
Parent Scenario is: [1] New Scenario
Result scenario is: [4] New Scenario ([1] @ 09-May-2024 22:50)
CONFIGURING: 1 - Omniscape
RUNNING: 1 - Omniscape
Conda installation: E:\software\syncrosim\miniconda\software
Conda environment: E:\software\syncrosim\miniconda\software\envs\omniscape\omniscapeEnvironment
[Failure] The import file was not found: E:\new_research\omniscape\0509\omniscape.ssim.output\Scenario-4\omniscape_outputSpatial\cum_currmap.tif
SIMULATION COMPLETE: 2024/5/9 : 22:53:45
Total simulation time: 00:02:56

Hi Dannica,
Sorry for the slow response here. But we got your email.
The error you got suggests that there might be something off with your input files and/or parameters. In essence, SyncroSim is providing the Omniscape algorithm the inputs, but it is not receiving any outputs back (the message about the current map simply related to the first output that the post-processing part of the script is looking for; it has nothing to do with your required inputs). There are validation steps in place for several possible input and parameter inconsistencies, which we further extended in the latest two releases of the package. But we’re always looking to improve and catch other possible errors.
To better assist you with this, could you let me know:

The version of SyncroSim that you are using (Help > About SyncroSim).
The version of omniscape that you are using (File > Packages).

In addition to that, please make sure of that the resistance raster has the following specifications:

An assigned CRS
The resolution is an integer value
The data type is integer
There are no negative values
There are no zeros
No data values are set as NA

Let me know if any of these suggestions help.
Best,
Carina

Hello,
I am attempting to run the omniscape tutorial and am having the same issue as Dannica.
Here is my run log:
Operating System: Microsoft Windows NT 6.2.9200.0
SyncroSim Version: <IP_ADDRESS>
Packages:
core -> 2.5.14
omniscape -> 1.1.2
corestime -> 2.5.14
Number of Jobs: 1
STARTING SIMULATION: 7/1/2024 : 8:10:47 PM
Parent Scenario is: [1] Reference resistance
Result scenario is: [3] Reference resistance ([1] @ 01-Jul-2024 8:10 PM)
CONFIGURING: 1 - Omniscape
CONFIGURING: 2 - Categorize Connectivity Output
RUNNING: 1 - Omniscape
Conda installation: C:\Users\daniellependlebury\SyncroSim\Conda
Conda environment: C:\Users\daniellependlebury\SyncroSim\Conda\envs\omniscape\omniscapeEnvironment
[Failure] The import file was not found: C:\Users\daniellependlebury\Documents\SyncroSim\omniscape_demo\omniscapeExample.ssim.output\Scenario-3\omniscape_outputSpatial\cum_currmap.tif
SIMULATION COMPLETE: 7/1/2024 : 8:12:14 PM
Total simulation time: 00:01:26
I am using:

SyncroSim Version: <IP_ADDRESS>
Omniscape version 1.1.2

I am just trying to recreate the Omniscape example and so am using the resistance raster file provided in the template. I have confirmed that the raster layer has the specifications above.
Thank you,
Danielle

Hi Danielle, thanks for your message. Unfortunately, I can't reproduce the error you're getting. Which version of Julia are you using?

Hi Carina,
I am using the latest version of Julia (v1.10.4).
Danielle
On Tue, Jul 2, 2024 at 11:23 AM Carina Firkowski @.***>
wrote:

Hi Danielle, thanks for your message. Unfortunately, I can't reproduce the
error you're getting. Which version of Julia are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/ApexRMS/omniscape/issues/5#issuecomment-2203893729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXTGQ7X2ZFSSCQBUC2YOX3LZKLOYRAVCNFSM6AAAAABHO62LCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTHA4TGNZSHE
.
You are receiving this because you commented.Message ID:
@.***>

Thanks Danielle. I update Julia to the version you're using and still can't reproduce the error. Could you please create a backup of the library (File > Backup Library) and share it with me here? This way a colleague and I can explore it in a development environment and see if any issues have been introduced.

omniscapeExample.ssim.backup.zip
Here is a backup of the library (which is just the Omniscape Example with the julia and python paths changed, and then an attempt to run the reference resistance scenario again).

I think I just solved it. I decided to try running an example directly in Julia by following the example here: https://docs.circuitscape.org/Omniscape.jl/latest/examples/#Examples. The first step was to install the required packages:
using Pkg; Pkg.add(["Omniscape", "Rasters", "Plots"])
I realized that I did not have Rasters in my list of packages, and so after running that line of code in Julia I re-ran the scenario in Syncrosim and it worked:
Operating System: Microsoft Windows NT 6.2.9200.0
SyncroSim Version: <IP_ADDRESS>
Packages:
core -> 2.5.14
omniscape -> 1.1.2
corestime -> 2.5.14
Number of Jobs: 1
STARTING SIMULATION: 7/2/2024 : 9:15:10 PM
Parent Scenario is: [1] Reference resistance
Result scenario is: [4] Reference resistance ([1] @ 02-Jul-2024 9:15 PM)
CONFIGURING: 1 - Omniscape
CONFIGURING: 2 - Categorize Connectivity Output
RUNNING: 1 - Omniscape
Conda installation: C:\Users\daniellependlebury\SyncroSim\Conda
Conda environment: C:\Users\daniellependlebury\SyncroSim\Conda\envs\omniscape\omniscapeEnvironment
RUNNING: 2 - Categorize Connectivity Output
Conda installation: C:\Users\daniellependlebury\SyncroSim\Conda
Conda environment: C:\Users\daniellependlebury\SyncroSim\Conda\envs\omniscape\omniscapeEnvironment
SIMULATION COMPLETE: 7/2/2024 : 9:27:51 PM
Total simulation time: 00:12:40

Hi Danielle, nice to hear you were able to run omniscape in SyncroSim without errors. But I'm not sure why. The Julia packages Raster and Plots are not required to run Omniscape, they are only used in that tutorial to load and plot the output maps. I'll investigate some more. Thanks again for sharing!


AsyncUDP Branch and Master Branch

Hi @envy
There are several issues on the version 2.4.0 of the esp8266 board libraries.
As the library ESP-KNX-IP / Async-UDP Branch requires the ESPAsyncUDP Library that requires the 2.4.0, I think you should keep both branchs until a new release of esp8266 board libraries without the bugs is released.
Some of the bugs are reboot when using sleep. Hungs with webserver, etc.
So, what do you think of update the Master Branch with the last changes of the Async-UDP Branch?
and also what about adding the ACK to solve the lost telegrams issue?
Thanks

Made PR #58 for updating changes from AsyncUDP Branch to Master but using 2.3.0 ESP8266 Library
what about adding the ACK to solve the lost telegrams issue?

Added the PR #59 with a merged version of both branches for making easier to mantain.


TLSv1.3: Upgrade ossltest and TLSProxy

Checklist

[x] tests are added or updated

Description of change

This builds on #1804. Please ignore the changes from the first 3 commits that are also in that PR.
This upgrades the ossltest engine so that it knows how to deal with a GCM based ciphersuite. It also upgrades TLSProxy so that it will use it where TLSv1.3 has been negotiated, and fixes some tests to work where TLSv1.3 is being used. This will enable us to write tests for the forthcoming TLSv1.3 implementation.

Hmmm, I made that approval when looking over the TLSproxy commit, I thought it might possibly restrict the approval to just the changes in that commit....  Apparently not.  But yeah, as far as approvals go, it's for the commits that actually does belong in this PR.

Yes - understood - that's what I would have interpreted it as given I told you to ignore the other commits! I assume you also checked the ossltest commit too.

I did

New commit pushed to address feedback comments.

I rebased this on top of the latest version of #1804 (that now has 4 commits so please ignore the first 4).
That picked up the new ciphersuite name, so there is an amendment in this one to use it.
Any more comments on this one?

Grrr...I missed a spot in Proxy.pm renaming to the new ciphersuite name. @richsalz please reconfirm?

yes +1

Merged. Thanks.


Always close response body in the HasGravatar function

Currently the request body isn't being closed if the response is different of 200.
This PR fix it and improve the code.

I saw there is no tests. I can add it on another PR.

Oh, good eye! I must have changed this guy around a bit and forgot to close it when there's no errors. Thanks for the contribution!