tpl/os: Add filesystem option to ReadDir

This is my first contribution to this project, the issue was labelled as [GoodFirstIssue] so I jumped in. As such, any feedback or guidance :100: appreciated.
Make ReadDir function variadic. Optional second param specifies FileSystem. The default if not specified remains work dir, to retain backwards compatibility.
I largely followed the breadcrumbs @bep left in the issue comments (thanks!).  Things I'm not sure about:

how best to support the static FS given when in multihost we have one static filesystem per language
if I need to better test my input checks in os
how best to update docs (I can spend time looking at this if I get positive feedback on this change)

Fixes #9604

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for this -- the code looks great at first glance. I will need to understand and fix #9609 before I can merge this.
But if I could ask for one change that would make this easier to review:
Instead of creating one test function per variant, I suggest you combine them into one and separate the expectations by an identifier, e.g.:
START  assets:|asset.jpg|:END:
START static:|static.jpg|:END:
...

And if you create an inline template to print this, you get a pretty compact test.

Thanks for the feedback, I've combined the tests so they are easier to read as suggested.
Also added a todo to make the gap in the functionality explicit.
I'm a little confused about the failing tests, looks like they timed out. If you can approve the workflow, I'll look into them if it happens again.

Updated test to include a check for composite archetype files.

Had a go at adding docs for the new functionality.

@bep any interest in taking another look at this?


how to polyfill require ? it's a big problem

because i couldn't use it in node. as i know , i set webpack target: 'node', i see node-libs-browser built in webpack .
But i still get this error: "require is not defined" !!!!!!!!!!!!
And i can't use import es6 syntax!!!!!!!!!!

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


Sort interfaces, ARs, and PTRs by numeric IP, not ip_str

This doesn't work for IPv6, dunno if that's really feasible without reworking how the tables sort so that they can sort on both ip_upper and ip_lower. So for IPv6 addresses, only the lower 64 bits will considered when sorting by IP address.

The lack of IPv6 support would bite us if we actually supported IPv6. We don't, so I don't think we need to care right now. We'll need it in the future, though, so you should put a comment in the code and create an issue for proper IPv6 sorting.

The lack of IPv6 support would bite us if we actually supported IPv6.

But we do, for some meaning of the word "support". There are ipv6 address records in the production version of Cyder right now.


Add opt-in option to read from ISR replica

Context
Related to issue https://github.com/liftbridge-io/liftbridge/issues/103
Add an opt-in option ReadReplica to indicate that the SubscribeRequest can be subscribed to an ISR replica.
Implementation
The client, upon seeing readReplica option, will not try to get partition's leader address but instead, get server address of a partition's ISR replica.
Required PR:
https://github.com/liftbridge-io/liftbridge-api/pull/22

Note for CircleCI build : Build will be fixed once https://github.com/liftbridge-io/liftbridge-api/pull/22 is merged.


about memory

Hi，
How small can the size of the batch_size in the training phase be? At the size you set, I found that my machine didn't have enough video memory, and then I adjusted it to 30 to train.I'm just using a piece of 2080ti (11G)

Until now it has happened this problem, it seems to be out of memory, I have 40G of memory.

Its memory footprint keeps going up and stops at 40.

The stage-one LFAE

I never had this issue before... Could you try a very small batch size (2 or 4) and see what happens?

Thanks for your advice. I'll give it a try.


elif instead of if?

I just used the program (with python2). In the 10th loop one has to use elif instead of if - otherwise the program will not run as intended?!
Am I missing something?

Which line is it that needs replacing with elif in the source?

Any if between lines 145 to 167.
I think it would be good stile make similar changes in the other loops too, though they work the because the last if statement would change the loop.

Code for reference:
if cave_inp.lower() == ("take skeleton"):
	print("---------------------------------------------------------")
	print("Why would you do that? Are you some sort of sicko?")
	loop = 10
if cave_inp.lower() == ("smash skeleton"):
	print("---------------------------------------------------------")
	print("Sick person. Have some respect mate.")
	loop = 10
if cave_inp.lower() == ("light up room"):
	print("---------------------------------------------------------")
	print("You would need a torch or lamp to do that.")
	loop = 10
if cave_inp.lower() == ("break skeleton"):
	print("---------------------------------------------------------")
	print("I have two questions: Why and With What?")
	loop = 10
if cave_inp.lower() == ("go down staircase"):
	loop = 11
if cave_inp.lower() == ("scale staircase"):
	loop = 11

@somedadaism When the else statement is executed nothing is changed, and because loop == 10, the while statement repeats the process over, giving the user another chance. If anything, this would have to do with the code inside the if statements, not whether they are if or elif.
@iamjawa I do not see this as an issue, and I believe it can be closed.

I was getting the same thing as @somedadaism . I would be stuck on Loop 10 over and over until committing suicide to get out of the loop.
I believe @somedadaism  was saying the suicide loop should be a "elif" statement instead of an "if"
Reference code:
Line 167        elif cave_inp.lower() == ("suicide"):

I have the same issue
'elif' instead of 'if'

                # some other if conditions which may cause loop != 10.
                # say for an example loop == 11.
		if cave_inp.lower() == ("suicide"):
			print("---------------------------------------------------------")
			print("You throw yourself down the staircase as an attempt at suicide. You die.")
			print("---------------------------------------------------------")
			suicide_inp = raw_input("Do you want to continue? Y/N ")
			if suicide_inp.lower() == ("n"):
				import os
				quit(1)
			if suicide_inp.lower() == ("y"):
				loop = 3
                # if I avoid suicide then inevetably this else condition will be execuded,
                # because it referes to the above if statement.
		else:
			print("---------------------------------------------------------")
			loop = 10
               # here loop == 10 holds and we are trapped forever...


Calls into Thrust/CUB Kernels should release the GIL

Description
When running CuPy in a threaded setting, calling cp.sort on two threads, even on different devices,  will never overlap.
This is because the calls are blocking and they do not release the GIL.
This fix should be adding the Cython nogil annotations to the wrapper and extern definitions:
https://github.com/cupy/cupy/blob/ae82162be14de46e69b3cd2ab3327fbc94d3eb65/cupy/cuda/thrust.pyx#L71
This may also effect functions wrapped in: cupyx/jit/thrust.py
import cupy as cp
from time import perf_counter as time
import argparse
import nvtx

parser = argparse.ArgumentParser()
parser.add_argument('-ngpus', type=int, default=1)
parser.add_argument('-n', type=int, default=500000000)
parser.add_argument('-repeat', type=int, default=3)
args = parser.parse_args()

from multiprocessing.pool import ThreadPool as WorkerPool
#cp.cuda.set_allocator(cp.cuda.MemoryAsyncPool().malloc)

#Initialize Data
X = []
A = []
for i in range(args.ngpus):
    with cp.cuda.Device(i) as device:
        nvtx.push_range(message=f"Create Data on Device {i}", color="blue", domain="app")
        with cp.cuda.Stream(non_blocking=True) as stream:
            X.append(cp.arange(args.n))
            A.append([])
            stream.synchronize()
        nvtx.pop_range(domain="app")

def t1(i):
    nvtx.push_range(message=f"Start Thread {i}", color="yellow", domain="app")
    for k in range(args.repeat):
        with cp.cuda.Device(i):
            with cp.cuda.Stream(non_blocking=True) as stream:

                nvtx.push_range(message=f"Sort {k} on Device {i}", color="red", domain="app")
                t1 =time()
                X[i].sort()
                nvtx.push_range(message=f"Waiting for Sort {k} on Device {i}", color="red", domain="app")
                stream.synchronize()
                nvtx.pop_range(domain="app")

                t2=time()
                nvtx.pop_range(domain="app")
                print("Device ", X[i].device,"len", len(X[i]), "time=%.4E"%(t2-t1), flush=True)
    nvtx.pop_range(domain="app")

pool = WorkerPool(args.ngpus)
start_t = time()
results = pool.map(t1, [i for i in range(args.ngpus)])
pool.close()
pool.join()
end_t = time()
print("Total: ", end_t - start_t, flush=True)

This can be seen in an NSYS (w/ NVTX) trace, where the blue regions are the running CUB radix sort kernels. Note that the larger cudaStreamSynchronize green blocks are not the one in the user code above, but are internal to Thrust. The user written (effectively no-op) synchronization is a 5us blip at the end of the red region.

Additional Information
No response

Created https://github.com/cupy/cupy/pull/7760 to resolve this for the 3 sorting functions.


fixes messages sent to self appear twice

Closes #109

Hi @nikosk686 thanks for looking at this issue, I really like the approach you have taken. I have made a suggested change based on out of order messages. It is not expected but good to cover that off while addressing this issue.

@nikosk686 we would love to talk to you about how you found out about mailchain, what you thought of the project and the experience of making changes. It would be great to get some feedback. If you are open to that we can setup a call or chat.

Hi @robdefeo!
Thanks for your kind words.
Regarding your changes I totally agree with the approach of covering the out of order case.
Though I hate the fact that you have to simulate Set's behavior with Map and unnecessary boolean values, it seems to be a very common workaround in Go [1] [2], considering the lack of native Set structure.
So this is how I would have implemented too, if I have thought about the ordering problem in first place :)
Also it seems that transaction's hash field is the only field needed when checking for equality, but as I am new to ethereum world I wasn't sure and I went with the full check (i.e. all fields) solution. Thanks for fixing that too!
Regarding how I have found about mailchain, If I recall correctly I read about it in a relatively randomly accessed medium post (maybe yours?) which I cannot find right now.
The nice thing about this fact is that when I read this post I was really in the start of my journey both on Golang and ethereum/blockchain.
So mailchain is a great match for my current "learning new skills" endeavors.
Of course I am open for call/chat, but since now is my summer holidays period lets leave this for the end of the month.
However do not hesitate to send me an inbox in the email address of my Github account if you have any ideas for mailchain's expansion or any already open issues (both on maicahin or mailchain-web, as I am into angular/typescript too) that you need help.
Nikos

@nikosk686 appologies for the slow delay responding, I am also on holiday in this period. I'll send you an email in approx one week to set up a chat.
Sets are missing natively in Go, while map[type]bool gives the same functionality with a relatively small amount of code it does lack in readability. If there was an explicit set type the explanation that you intended to use it in this way would form part of readability.
The issue didn't have enough detail regarding test cases or acceptance criteria, that is something we need to work on, do you have an opinion on how you would best like to see that?
The hash is calculated using keccak256 of the fields, it can be reliably used for a key the mailchain use case and we do use it and intend to use it this way in the future.
Its exciting to hear that you learnt a little about both Ethereum and Golang partly due to Mailchain, we are happy to help you in this. We have lots of exciting plans and can share then with you and we will be writing up a lot more detail.
Have a great holiday! :surfer:


encoding error on mac

File "🤵⏸🤧💨.py", line 10
SyntaxError: Non-UTF-8 code starting with '\xf0' in file 🤵⏸🤧💨.py on line 11, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
I have python3 installed, not sure whats up here.
hehe... My, uh, production instances rely upon this package. /s

$ file *
🤵⏸🤧💨.py: Python script, UTF-8 Unicode text executable, with very long lines

I have no idea what's going wrong on your end – all my system tools and GitHub claim that it's valid UTF-8, so I'm going to guess you're using an outdated Python maybe?
I've added a UTF-8 tag, maybe that helps?


Why support for input with variable length in Graph models is discarded?

I used to use add_input(ndim=x)  to feed variable length input to graph. However, the newest version request to specify the input_shape. How can I input a sequence with variable length to a graph and then send them to an Embedding layer?
Thank you very much!

You can use None for variable dimensions. For instance, (None, 10) for a 10-dimensional timeseries with a variable number of timesteps.

Thanks!
Is it a common rule for keras now?

@rudaoshi  Do you try it  in the new version? Thanks


Fixed localization of post cards

Issue
The post card component in the post list is not well localized
Description
Now the post card id rightly localized in all possible languages supported by the theme.
The date and the time to read formatting are impacted by the changes
I also added some new translations for the Italian language

@Kyserbyte I have updated the PR. Needed a small change.


Add utility for computing a smooth path

Add utility for computing a smooth path that follows the detail height of the nav mesh.
See NavMeshTesterTool in RecastDemo: https://github.com/recastnavigation/recastnavigation/blob/99b6c3306efd7ca8f204d1e1b39311ca5b783386/RecastDemo/Source/NavMeshTesterTool.cpp#L652

Added an example: https://github.com/isaac-mason/recast-navigation-js/commit/fea697b493300af73e9bc556a58a1c939c3479ae
Before closing this issue, this should be added to @recast-navigation/core as an exported utility.
Ideally this isn't a method on NavMeshQuery so it can be easily tree-shaken.


Siri cannot change LED color.

I am able to control power on/off by using Siri on my iPhone and HomePods, but requests such "turn x light RED" do not work. I can change LED color through the Home app just fine, though.
...
iPhone XR, HomePods, Homebridge on RPi3B+.
...
Homebridge 1.2.2
...
homebridge-govee v1.0.2
...
Logs do not show my Govee requests.

Hi, I will look into this and get back to you.
Sorry it’s taken a few days to initially reply!

I have made some improvements to the connection so please try v1.1.1 and it should get this working.
If not, a couple of other things to try are:

Turning on "Debug Logging" and "Request & Response Logging" in the plugin settings to see if any errors are shown in the logs
Deleting the device from the Govee app, unplugging it for about 30 minutes, and then reconnecting it to the Govee app.

Thanks so much! I’ll test it out some more.

The other thing i'd recommend is to read the things i have written on the main page of this plugin:
https://github.com/bwp91/homebridge-govee
especially the ⚠ parts!


Changesets doesn't detect NPM packages in GitLab reliably

Affected Packages

I believe it's the cli package.
Problem
I set up changesets in GitLab CI (one job on master that allows to create an MR with the changeset version changes and another one to actually publish those changes) but when I went to test it, I found that in some cases existing packages are not picked up correctly.
In my example I have two packages, A and B. A@latest is 0.3.0, B@latest is at 0.4.3. I add a changeset for a major version for A, create the MR, merge it and hit publish. The logs look like this:
🦋  info npm info @example/A
🦋  info npm info @example/B
🦋  warn Received 404 for npm info "@example/B"
🦋  warn Received 404 for npm info "@example/A"
🦋  info @example/A is being published because our local version (1.0.0) has not been published on npm
🦋  info @example/B is being published because our local version (0.4.3) has not been published on npm
🦋  info Publishing "@example/A" at "1.0.0"
🦋  info Publishing "@example/B" at "0.4.3"
🦋  error an error occurred while publishing @example/B: E403 403 Forbidden - PUT https://gitlab.redacted/api/v4/projects/123/packages/npm/@example%2fB
🦋  error In most cases, you or one of your dependencies are requesting
🦋  error a package version that is forbidden by your security policy.
🦋  success packages published successfully:
🦋<EMAIL_ADDRESS>🦋  Creating git tag...
🦋  New tag<EMAIL_ADDRESS>🦋  error packages failed to publish:
🦋<EMAIL_ADDRESS>
So while @example/B is already published at 0.4.3, changesets sees it as not-published. I don't know whether that is an issue with the GitLab API returning incorrect values or changesets picking it up (could also be something similar to https://github.com/atlassian/changesets/issues/338#issuecomment-706369237 where GitLab returns other weird values in special cases?).
I unfortunately didn't have time to investigate this so far but will update this issue with more information if I get around to playing with this some more.

Proposed solution
None so far, because I am not sure what the underlying issue is.

Do you try publishing to a custom registry?

I am trying to publish to the GitLab NPM Registry of the project on our self-hosted GitLab instance; I am not sure how custom that is. Not the public npm one, if that's the question.

I, unfortunately, do not know a lot about such registries so I definitely don't have an immediate answer in my head for this problem. I would just try to debug this - to check what requests are being made and what responses do you receive. If you are interested we could maybe try to schedule a call for a debugging session next week if you need help with that.

I appreciate the offer! Currently it's mostly the time not allowing me to dive into this unfortunately so a call wouldn't help. I hope to be able to take a look into this in two or three weeks though and will report back!

@Andarist I am experiencing the same issue with a private gemfury registry. The reason for my issue is that changesets doesn't seem to respect the per-package registry field from the publishConfig when calling npm info. Ideally, if publishConfig.registry is set in a package.json, it should do npm info {name} --registry {registry}. Otherwise, npm info will always simply either use the default registry (npmjs.org) or whatever is set in .npmrc.

Btw. I'd be happy to take you up on the offer for a call if you're interested. I can show you the quirks for .npmrc vs. env parameter vs. publishConfig.registry, etc. specificity / override behavior and how it affects us in particular. I've solved this for us now by setting up an npm proxy via gemfury but I guess this would be nice to be solved directly in changesets. My use-case is a bit special because I have both public & private packages in the same monorepo managed by the same changesets config and also a need to publish canary snapshots separately into the private registry before releasing them publicly. All that makes for a quite hard-to-debug npm registry override hell.

@fubhy Please reach out to me using Twitter's DM ( https://twitter.com/AndaristRake ) so we can schedule something.

To add more color around Gitlab's registry — it's basically a npm compatible registry, and generally the repo is simply pointing to different registry URLs rather than the default ones. Unless chnagesets is doing something custom or extra (rather than delegating to nom, yarn, etc), this should theoretically work out of the box

@emilio-martinez in the scenario described by @fubhy we can't just rely on the package manager to do the correct thing automatically because npm info is a "global" command and not a contextual one.
I've created a PR to fix this issue: https://github.com/atlassian/changesets/pull/582 . If you have other issue than that then please describe your scenario in more detail so we could assess it.

@Andarist couldn't changesets just delegate to the appropriate npm client at hand as appropriate? In what circumstances does it try to wrap these behaviors?

Yes, it would be ideal to delegate this but there are some problems with that. I think it's doable to improve a situation in this area but nobody has put any effort into doing that just yet.

@geisterfurz007 would you be able to tell me how do you config your alternative registry? where do you configure the registry stuff, where do you configure authentication for it?

Our CI script writes three lines into the .npmrc file in the project root before calling yarn changeset publish:
    echo "@example:registry=https://gitlab.redacted/api/v4/packages/npm" >> .npmrc
    echo "//gitlab.redacted/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
    echo "//gitlab.redacted/api/v4/projects/42/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc

Awesome, thank you for the provided information. Which nom client are you using? And which version of it?

Oof, not sure. We have moved the packages we used changeset for to the public registry now so I haven't touched this problem in a while. We used the node:14.15.1 image at the time which appears to have npm 6.14.8 and yarn 1.22.5. The CI script uses yarn for all commands.

So u have been using yarn classic and u were relying on yarn.lock, right?

Yes, that's correct.

Issue is still happening. In my case its saying there is no package to publish, also there is no package with that version in the registry. Is self hosted gitlab instance. package registry also used from gitlab

Just found out i missed a configuration. since most packages published on gitlab are private you need to set some configuration to get this working.
"privatePackages": {
    "version": true,
    "tag": true
  }

in the .changeset/config.json
otherwise no publish is happening. missing some information about this in the documentation.

This is a fairly new addition and is mentioned here. If you believe that the docs could be improved - we are accepting PRs 😉

I, unfortunately, do not know a lot about such registries so I definitely don't have an immediate answer in my head for this problem. I would just try to debug this - to check what requests are being made and what responses do you receive. If you are interested we could maybe try to schedule a call for a debugging session next week if you need help with that.

Is there a solution for this issue?

i had the packages on private: true, this caused the issue on my side. after removing the private entry from package.json it worked. private packages not getting published, so no changeset

@Inoir Did your process create an entry in the Deploy > Package Registry? If so, could you point out the necessary config/changes you did for that?


Add todo group/tag feature

idea 1

-g command which stands for group
Sub command --a to add a group and --r to remove a group
When adding new todos, user can use --g sub command to trigger selecting an available group to categorize todo

potential issues

Groups would have to be stored. Either the .json would have to be restructured to accommodate (I.e., the json would have nested tables, one that stores todos, other that stores groups
This can lead to complexity... do we then create key-value pairs when a todo is assigned a group (database style)??

idea 2

Add a sub command --t to add command that allows user to add one or more tags
This would allow for more robust fuzzy find when searching todos list and also the ability to sort by tags
less complex than idea 1 but not as easy to reuse tags

thinking to move forward with idea 2 as it will be simpler.
--t will be sub commands to -a so tags can be added during item creation and -e for adding tags for existing items. plugin can auto gen list of unique tags so when --t is typed it triggers result list where user can select from already added tags but also the option to add new if not in existing list.


Generate minified app.js

Create a gulp task to generate a minified app.js file that can be used when deploying to production
should also include all angular files

Minified by running gulp dist and using CDN for most assets now


fix bug with not closing mob nav menu

What issue is this referencing?
this pr fixes #186
"When I click on an item in the menu, the menu doesn't collapse #186"
Have you run the linting command in the README.md?

[ v] yes! npm run lint-check

Have you taken a look at our contributing guidelines?

[v ] yes!

My node version matches the one suggested when running nvm use?

 By the way this one is easiest path.

Okay so two things:
first, something looks very off in the preview:

The other thing is that I am realizing that this was working with the <a> tags, I mean I agree that the whole thing that we should follow the SPA standards but it is a pretty light fast site. The extra reload wouldn't matter if we are running into so many other issues.
Thoughts?

i quite confuse about reloading web page , didnt catch why we need it.  For now tag a will not route us anywhere, its just holder and hadler for menu closing. We can change it for div, will be no differnce. Better leave nuxt -links with divs or a inside it to handle logic.
About styling, it looks weird. I coudnt find problem, on my  mac it works fine. Is it Windows or Android?

above i add funcionality to close mobile menu by click outside menu itself. same file , related bug.

So you see in the build instructions? click "details" and it will bring you to this pr as a build. Thats where you should see the weird styling.
Cause it looks like it still happens On the netlify build

tag a just makes mess inside nuxt link. so i wrap it by


RuntimeError: This event loop is already running

When I run this code with Python 3.9:
import asyncio
from stactask.asset_io import download_items_assets
from pystac_client import Client

catalog = Client.open(...)
results = catalog.search(...)
items = results.items()

loop = asyncio.get_event_loop()
loop.run_until_complete(download_items_assets(items, path_template="input_chunks/${id}"))

I'm getting this error:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[20], line 1
----> 1 loop.run_until_complete(download_items_assets(items, path_template="input_chunks/${id}"))

File ~/.pyenv/versions/3.9.0/lib/python3.9/asyncio/base_events.py:618, in BaseEventLoop.run_until_complete(self, future)
    607 """Run until the Future is done.
    608
    609 If the argument is a coroutine, it is wrapped in a Task.
   (...)
    615 Return the Future's result, or raise its exception.
    616 """
    617 self._check_closed()
--> 618 self._check_running()
    620 new_task = not futures.isfuture(future)
    621 future = tasks.ensure_future(future, loop=self)

File ~/.pyenv/versions/3.9.0/lib/python3.9/asyncio/base_events.py:578, in BaseEventLoop._check_running(self)
    576 def _check_running(self):
    577     if self.is_running():
--> 578         raise RuntimeError('This event loop is already running')
    579     if events._get_running_loop() is not None:
    580         raise RuntimeError(
    581             'Cannot run the event loop while another loop is running')

RuntimeError: This event loop is already running

stactask==0.5.0

@drnextgis I cannot reproduce:
# in issues_125.py
import asyncio

from pystac_client import Client

from stactask.asset_io import download_items_assets

catalog = Client.open("https://earth-search.aws.element84.com/v1/")
results = catalog.search(
    collections=["sentinel-2-c1-l2a"],
    max_items=1,
    intersects={"type": "Point", "coordinates": [-105.1019, 40.1672]},
    sortby="-properties.datetime",
)
items = results.items()

loop = asyncio.get_event_loop()
loop.run_until_complete(
    download_items_assets(items, path_template="input_chunks/${id}")
)

$ python issues_125.py
$ ls input_chunks/S2A_T13TDE_20240512T174554_L2A
AOT.tif              B02.tif              B04.tif              B06.tif              B08.tif              B11.tif              B8A.tif              L2A_PVI.jpg          SCL.tif              TCI.tif              item.json            product_metadata.xml
B01.tif              B03.tif              B05.tif              B07.tif              B09.tif              B12.tif              CLD_20m.tif          L2A_PVI.tif          SNW_20m.tif          WVP.tif              metadata.xml         tileInfo.json

@gadomski appreciate the prompt response! I wasn't aware that run_until_complete doesn't work in Jupyter Notebook. The correct method for invoking the function is:
async download_items_assets(items, path_template="input_chunks/${id}")

Yup, it's a little weird. We ran into this with stac-asset as well — another workaround is to use nest_asyncio, as documented here: https://github.com/stac-utils/stac-asset?tab=readme-ov-file#api


Highlighting failed when selecting more than 200 characters a line to compare with another line

VSCode Version: 1.46.1
OS Version: openSUSE Leap 15.0

Intension:
I have a raw string in C++ with more than 200 characters. For the very first version of a unit test I've tried to compare the output of my algorithm in that way that I've copied the console output to my C++ source code right below the line with the raw string. Then I've selected my output and checked if Visual Studio Code highlighting both lines to get a quick "check" if both lines are equal.
Steps to Reproduce:

type more then 200 random characters at a line
copy & paste the random characters at the next line
go to the first character copied at step 2.
select character by character to "compare" with characters with those from step 1 ;

Until 200 characters are reached Visual Studio Code highlighting the selected characters from both lines. After 200 characters are selected, the highlighting of the first line turns off.

Does this issue occur when all extensions are disabled?: Yes

/assign @alexdima


allow web blocks to access file:/// urls

Feature description
you should be able to use a file:/// url in a web block URL
Implementation Suggestion
No response
Anything else?
No response

Please add an option to hide URL line.

Can you make this request as a separate issue?


Do I need to sign .Net Foundation contribution Agreement for Pull Requests?

This is not an issue, its just a query. I would like to make pull request lets say request is related to updation of ReadMe.md file. So, do I need to sign .Net Foundation contribution agreement? . Please label this as query instead of an issue.

In general you need to sign a .NET Foundation Contributor License Agreement, as indicated in the contributing document.
There's an automated bot that scans every pull request to determine whether the agreement is required. Certain small changes do not require any agreement. If you send a pull request the bot will flag the pull request with the appropriate information.


Data only messages queued when device is idle (Doze mode?) even when priority is high and ttl=0

My environment

Android device: Nexus 5, Samsung Galaxy Note, Nexus 5X
Android OS version: 6.0+
Google Play Services version: 9.2.1
Firebase/Play Services SDK version: 9.2.1

Problem.
I tried executing the sample code. And to send downstream FCM, I have used GAE and have sent a message with following fields.
{
  "to": "...".
  "priority": "high",
  "delay_while_idle":false,
  "data": {...}
  "time_to_live": 0
}

I am not able to receive the message, until I unlock the phone (bring it out of idle state). In this process, it is ignoring two parameters set when sending the message

priority:high  Which should deliver the message immediately irrespective of idle state,
ttl:0 The message is delivered even if I unlock the phone after a few hours).

I combed through available documentations for FCM delivery, and they only explicitly mention behaviours for FCM with "notification" tag, FCM with "notification" and "data" tag. They don't clearly callout the behaviour when there is only "data" tag.
It feels like the message is getting delivered according to the params, but it is sent to the listener only on device wake up. Can this be the case? Because the POST response returns success and message_id instantenously.
PS: I believe this issue is fundamentally different from Issue #89 which was because the app was getting killed.
Steps to reproduce:

Run the sample.
Press home key and minimize the app (or leave it in foreground).
Send device to idle with the following commands.

$ adb shell dumpsys battery unplug
$ adb shell dumpsys deviceidle step

Send notification with above mentioned structure.

Results.
The message does not get delivered to the MyFirebaseMessagingService instance.
Leave the phone in idle for indefinite time and unlock the phone. The message gets delivered immediately.
Expected Results:
Message should get delivered immediately (priority: high) or it should be discarded on unsuccessful delivery (ttl:0)

First check if your device receives the message. Have a look at the logcat view and see if you receive such kind of messages:
mm-dd hh:ii:ss.nnn 1461-1461/? W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.your.package (has extras) }
If no, maybe you don't ue the right token.
If yes, please tell us what Android Studio version do you use.

@2ndGAB After scouring the internet I am relieved to atlast find someone interested in this issue, and actively being investigated.
That aside, I am pretty sure my app is alive, (see steps to reproduce). This happens specifically in doze mode AFAIK.
In fact, I don't think an app has to be alive for it to trigger onMessageReceived, since it has com.google.firebase.MESSAGING_EVENT intent-filter in Manifest. The messaging service will be initiated on a new message. But, when you force close an app, Android as a precaution does not start its services again, until user explicitly opens the app. This is to make sure some malicious/malfunctioning app does not go into a crash loop through its service.
In my case, though, I don't force close the app, in fact, I don't even have to minimize the app. Just the phone go to doze mode. Everything stops there.

mm-dd hh:ii:ss.nnn 1461-1461/? W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.your.package (has extras) }
If no, maybe you don't ue the right token.

Just tested this after seeing your comment. I don't get anything similar to the above mentioned log, in both cases (when I receive the message, when I don't).
I have never missed a downstream message, just that the delivery is gettin deffered if the phone is idle.
I use both Android Studio 2.1.2 and 2.2.6 both with Instant Run disabled.

@codevalley According to my tests, the mentioned message is not always displayed on all devices.
I'm not sure about the state of the application when it's left in foreground but the phone in doze mode.
Anyway does your message fire onMessageReceive() when the application is in background?

@2ndGAB No. That's the whole problem. All I want is to get onMessageReceive().

So, maybe I could propose you to install Android Studio 1.5 beside your 2.1.2 version, and try to build you project from 1.5 without changing anything and see....

@2ndGAB it worked for you?

@codevalley perfectly as strange as it appears.

@codevalley I assume you are calling adb shell dumpsys deviceidle step till the device is Stepped to: IDLE. In that case the device should receive the data message when priority is high and the message should never be delivered when priority is normal and ttl is 0.
It seems that your time_to_live, delay_while_idle and priority fields are being ignored, assuming that you left them out, what you are seeing would be expected. So looks like for some reason either these fields are not being sent to FCM or when they get to FCM they are being ignored. Could you add your GAE code that you are using to send the request to FCM?

@kroikie I haven't left those params out. This is my GAE funciton to send a message (downstream).
    public void messageUser(String token, String dataJson) {
        try {
            String json = "{\n" +
                    "  \"to\": \""+ token + "\",\n" +
                    "  \"priority\": \"high\",\n" +
                    "  \"delay_while_idle\": false ,\n" +
                    "  \"data\": " + dataJson +
                    "  \"time_to_live\": 0 ,\n" +
                    "}";
            HttpClient httpClient = HttpClientBuilder.create().build();
            HttpPost post = new HttpPost(FCM_URL);
            post.addHeader("Content-Type", "application/json");
            post.addHeader("Authorization","Key="+SERVER_KEY);
            StringEntity postingString = new StringEntity(json);//gson.tojson() converts your pojo to json
            post.setEntity(postingString);
            post.setHeader("Content-type", "application/json");

            HttpResponse resp = httpClient.execute(post);
            apiResponse = EntityUtils.toString(resp.getEntity());
        } catch (Exception e) {
            apiResponse = "Error " + e.toString();
        }
    }

@codevalley thanks for the function, I wonder if your json is formatted the way you expect from the String. The json String that you are generating seems to be missing a comma after the dataJson String unless that string contains a comma itself. Could you possibly log the resulting json string and post it here?

Ok. let me do it.

@kroikie
Here is the final json.
{
  "to": "c6NgGf6D.......vPNqHSN",
  "priority": "high",
  "delay_while_idle": false ,
  "time_to_live": 0 ,
  "data": {"buttons":7,"delay":0,"fromKey":"iS1ogJEI...i9Mxnz2","response":0,"timestamp":0,"toKey":"T1sg....Ea2"}
}

Sorry for the confusion around the 'comma', the running version has data in the end, I changed while tinkering around it see if something was wrong in the order. The json shown above is from actual GAE log.

@codevalley the format of your request looks good, the data message should be delivered even if the device is in doze mode. Are you running into this issue while using this sample? Or are you using a different application.
I have run this sample on a Nexus 5X and I have not seen this issue. Also v9.4.0 was recently released could you update your dependencies to match those in this sample and try again. I'm especially curious about the results you are getting on the Nexus 5X.

@kroikie This is weird. I upgraded to 9.4 and it is now working. I tested on 5x (Nougat preview), Nexus 5 (6.0.1) and Note 4 (6.0.1). Not sure how this got fixed, because I had upgraded to 9.4 yesterday and tested once after that, it didn't seem to work then.
Anyways, I will test a little more today with this new build on different devices and confirm the fix and close this ticket.
PS. Purely out of curiosity, would you mind testing this with v9.2.1 and see if you are able to reproduce this on that?

@kroikie Did extensive testing yesterday. Here are the inferences.

When device is sent to idle from adb commands, all messages are received immediately.
When device goes to doze by itself (overnight), the messages don't get received on to the device, but it is not queued up for later delivery either (TTL=0 seems to be working)

Hence I can the issue is resolved (mostly). My doubt is if Doze/Idle are two different states? And when device is on doze, no FCM messages come through? It is almost like device is in hibernation?

@codevalley I have tried the sample in doze mode using the adb commands and if I send a message with ttl 0 while the device is in doze mode (IDLE) it never receives the message, with both 9.2.1 and 9.4.0. Can you confirm that when you are using adb shell dumpsys deviceidle step that you are using it repeatedly till the response is Stepped to: IDLE?
Glad to hear that it seems to be working when the device is "really" in doze mode, but you should be able to simulate it with adb.

@kroikie Actually it is not working when the device organically dozes (overnight).

When I put device to IDLE using ADB commands., I always get the FCM message (at times a few seconds delay, but negligible). [Absoultely made sure, that the device is stepped to IDLE, have tested it dozens of times since yesterday]
When I let the device got to Doze overnight, and send a message, the message is lost. (TTL=0 makes sure it is not delivered at a later time).

So does it actually mean IDLE != DOZE ?
Also, based on your own tests ( and not receiving messages), is it now confirmed that there is a delivery bug related to Doze in FCM?

@codevalley to clarify:
If you are using high priority then you should expect to see the notifications coming in even when the phone is in IDLE/Doze, while IDLE and DOZE may not be the same thing FCM messages should be treated the same. ie Delivered if priority is high and not delivered otherwise.
It's difficult for me to define what you are seeing as a bug since I'm not able to reproduce it. It works as expected for me. If this issue persists what I would do is run your test cases and when you get the results you are seeing generate a bug report on the android device, along with the times and states the device was in and make a report to Firebase Support. Add my name to the report (Arthur Thompson) and I will pick it up and dig deeper to help resolve your issue.
I think however it is beyond the scope of this sample so I'm going to close this issue.

@kroikie No problem. Just to clarify though,

if I send a message with ttl 0 while the device is in doze mode (IDLE) it never receives the message, with both 9.2.1 and 9.4.0.

does that mean you could reproduce the bug?

@codevalley no it means that I was not able to reproduce the bug. If device is in doze mode (IDLE) then:

Message sent with ttl = 0 and priority = high: device gets the message immediately
Message sent with ttl = 0 and priority = normal: device never gets the message

This is what I am seeing on both 9.2.1 and 9.4.0

Maybe this helps: https://developer.android.com/training/monitoring-device-state/doze-standby.html#understand_doze
I found it a great explanation of delivery behaviour for both Doze and App Standby.

@codevalley hello from future :D
I currently have exactly the same behavior you had...
where you able to solve the issue?
If you remember could you provide the conclusion, please?

Hello @codevalley  and @kroikie  and @KhaledJU  I am exactly in the same issue can you guys let me know the solution. This issue has eaten my precious time of almost a week . Please help


Support for environment variables

Hi! There's a new PRE-GA feature in Workflows to support user configured environment variables.
Do you plan to add support for this feature?
Thanks

This is supported now. Thanks!


KDL IK Solver with SVD

[rookie] in moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp (https://github.com/moveit/moveit2/blob/main/moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp), the codes utilizes ChainIkSolverVelMimicSVD to solve for IK, wondering:

why do we use SVD to compute the determinent and handles singularities
is there any way we can change the computation method? like LU decomposition/ QR decomposition
if yes, how do we configure it?

thanks.

SVD is a robust method to determine the inverse Jacobian, because it allows for simple regularization of inverse singular values. LU or QR decomposition doesn't allow that, but simply inverts the matrix. There is also the lma_kinematics plugin, which uses the Levenberg-Marquardt algorithm instead. If you want to use another solver, I suggest to implement it yourself based on the kdl_kinematics plugin.


Get Started with correct steps to create DLA

I noticed the steps to create Data Lake Analytics was incorrect and I have updated Intelligence + analytics to Data + Analytics.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@jaapbrasser : Thanks for your contribution to the Azure documentation! The author, @edmacauley, has been notified to review your proposed change.

Looks good, thank you for your contribution!
#sign-off


Create samples for new language features

@mit-mit announced in the Dart 3 medium article that patterns would be introduced.
We would like to demonstrate new language features to users in a way that they can easily get started using them.
Work log

[ ] Create patterns sample
[ ] Add samples to Dart pad

@munificent do we already have consumable samples to demonstrate to early adopters?

@atsansone and @MaryaBelanger do we have documentation on utilizing the new features?

@itsjustkevin Nope not yet. Dart 3 dart.dev updates are planned for the release, nothing earlier than that though.

The best possible use case for patterns will be bloc.

@itsjustkevin : We were looking at starting that work post-Forward. I'm out this week, so I'll follow up next week.

There are a bunch of samples in the proposal that you might be able to harvest from.

@itsjustkevin will you be handling this one?

fyi @johnpryan created this repo for testing the new language features too: https://github.com/johnpryan/dart3_samples
Maybe that could be the de facto sample resource?
I've been getting scattered inquiries about Dart 3 samples from across the team and I'm not sure how to address.
I'm planning to "write" samples inline as I'm writing the docs, not as a separate undertaking. To do so, I'm going to refer to:

mostly the specs,
whatever tests/inline comments I can find in the actual implementation commits per topic in this repo,
the slides from Bob's last presentation,
mit's samples repo mentioned above,
this little snippet from mit's blogpost,

But again, that's just going to happen as I'm writing, which is going to be happening over the next couple months. I'm going to direct people to this issue (or John's repo once it starts filling out) if they're looking for samples 🤷♀

@itsjustkevin this doesn't appear to be completed?

@mit-mit wasn't aware that this work was still desired post-release.  Thanks for the catch. Reopening.

Yeah, still needed. But I think that @RedBrogdon might be working on it?

Is this issue still relevant?

I think this can be closed, anyone can reopen if needed.

@itsjustkevin, if this is done, where are these samples located?

You can find a bunch of samples of the new Dart 3 features in:

https://dart.dev/language/patterns
https://dart.dev/language/pattern-types
https://dart.dev/language/class-modifiers
https://dart.dev/language/class-modifiers-for-apis
https://medium.com/dartlang/dart-3-1-a-retrospective-on-functional-style-programming-in-dart-3-a1f4b3a7cdda


Correct attempt to instanciate isAbstract Class and look for sub@Type

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
#403

License
MIT

Doc PR
N/A

All credits remains to @jderusse
While denormalization, we use metadata defined in entity to generate instance and we mask the "@type" part.
It works but we can have some side effects both on normalizer or on ResourceResolver.
Behat test's coming.
Resolves #403

Corrected, big thanks to you @jderusse

The only way I can see to do cleanly what you want is to maintain a correspondance table between JSON-LD @type and PHP classes.
This data is available in Resources metadata, but IMO it's a change too big for v1. It should be done in the master branch.
I'm not a sure such an edge case deserve the introduction of this complexity. Why don't you create your related entities one by one doing POST or PUT request on their own collections, then deal directly with IRIs?

Thanks @dunglas for review.
Simply because it force to use more than one request.
If I take the case I need to create multiple subTypes from one SPA form, too much requests will have to be done, and it will decrease performance of application built with Api-Platform.
I think it's better to include any mapping cases that is possible with Doctrine with a global api system, such as api-platform.
PR have to be re-done on master ?
To do things in a more cleaned way, my knowledge won't be suffisant at this time, and hope some help could be acquired.

@3kynox @dunglas The use case which is discussed here fits exactly my one. In my application it is possible to create related entities with separate api call for a performance point of view. I would really appriciate this fix comes to the master.
Anyway @dunglas is right that you cant lookup the resource by type property because it can be a IRI from schema.org fx. So we would need to lookup resource reading IRI from annotations?

Yes, more precisely, the IRI value is extracted form annotations. XML or YAML config and stored in metadata. The lookup should be done from metadata and fallback to the default name.
Anybody interested to work on this?

Closing because it's not possible to that this way. See also #663 and #615.


Cleanup folder structure

This just slightly cleans up the folder structure and makes the imports of the test problems static.
All the files related to just the tests are moved into the tests folder and the only config file remaining in algobattle/config is moved out of the subfolder.

This is a very reasonable change, the problems designed for testing living in the problems folder was a relic from when concrete problems lived inside the algobattle folder, which made adding the testproblems there reasonable. I do however wonder why the linting fails for the tests/testsproblem/__init__.py, I would have assumed the thrown linting issues would be supressed by the declarations in the .flake8 file.

ah yeah, i missed changing the file paths there, all passes now


Switch to neovim 0.5's released version in CI, and update the README

neovim 0.5 should release today (July 2).
Once it does we can update the README and CI to use it (and thereby make CI not take ages on macOS)

Closed in 009ca5518c3f9e41ad43220a81de9f767ad2d4ec.


Drag to reorder Favorites list

What's the Problem?
Currently cant reorder favorites list
Solution/Idea
Allow drag n drop to reorder favorites list items
Alternatives
none really
Priorities
No response
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.22000.739
Comments
No response

Unfortunately there's a bug in the winui control that prevents us from enabling it.


refactor: removed dogecoin-qt

removed dogecoin-qt from Dockerfile and entrypoint.py since it's not supported and wasting resources.
refined Dockerfile by extracting the specific files we need from our archive and copying each while setting appropriate permissions and owner:group in each COPY.
removed unnecessary WORKDIR /tmp since we are only copying specific files from verify build stage, thus we have nothing to rm -rf *

removed dogecoin-qt from Dockerfile and entrypoint.py since it's not supported and wasting resources.
refined Dockerfile by extracting the specific files we need from our archive and copying each while setting appropriate permissions and owner:group in each COPY.
removed unnecessary WORKDIR /tmp since we are only copying specific files from verify build stage, thus we have nothing to rm -rf *

in a sub optimal fashion of not submitting PR's with atomic commits, i forgot to mention changing python3 to python3-minimal and adding .gitignore and .dockerignore files as placeholders to remind us that they're excellent assets to reduce overhead on system resources in particular build context archives every time we run build.
this reduces the linux/amd64 image for instance from 91.22 MB:
https://hub.docker.com/layers/xanimo/1.14.5-dogecoin/bullseye/images/sha256-aa8fc7d558018725d2587daf45156db1412e50eec65bf23711274f2a4d172136?context=repo
to 75.48 MB without removing WORKDIR /tmp and COPY ...tar.gz ./:
https://hub.docker.com/layers/181921703/xanimo/1.14.5-dogecoin/no-qt/images/sha256-761cbeb72c5b71f2b5818b1bc9ac814c96a2589f5fbd71541c32735953ea7dd9?context=repo
to 47.62 MB in it's current state as reflected in this PR:
https://hub.docker.com/layers/181955150/xanimo/1.14.5-dogecoin/headless/images/sha256-fde519015d6bce653dd7619c3f543be9bd4665a36d4174ddefb32acde512d99a?context=repo

Re: whether we want QT.
There is no dogecoin-qt for ARM architectures for dogecoin 1.14.5. So we can only provide it on a subset of images right now, I'm not really a fan.

It should be possible to containerize graphical application (did you tried it ?), by potentially sharing the window system of the host. I saw some articles related to it, I tried briefly few months ago but failed, I didn't go really far.

I'd expect that we'd need to include some X11 libraries in the docker image for that to work and that significantly increases attack/maintenance surface. I'd recommend that if there is a demand for this, to build it in a separate variant rather than in the main image? As a node operator, I would not want my dogecoind deployment to be bloated with X11 stuff.

Need some changes:
1. Please put changes to `*ignore` files in a separate pull request, has nothing to do with removing QT

2. Please further separate this into 2 proposals:

   1. removal of `dogecoin-qt` - this is easy to approve
   2. changing the way we copy the files into the final container - this needs much more discussion and I have a lot of comments on that particular code.

done

Re: whether we want QT.
There is no dogecoin-qt for ARM architectures for dogecoin 1.14.5. So we can only provide it on a subset of images right now, I'm not really a fan.

It should be possible to containerize graphical application (did you tried it ?), by potentially sharing the window system of the host. I saw some articles related to it, I tried briefly few months ago but failed, I didn't go really far.

I'd expect that we'd need to include some X11 libraries in the docker image for that to work and that significantly increases attack/maintenance surface. I'd recommend that if there is a demand for this, to build it in a separate variant rather than in the main image? As a node operator, I would not want my dogecoind deployment to be bloated with X11 stuff.

i personally prefer headless operation over gui so i share your sentiment. i think we should potentially support this in the future but at the moment i'm not interested in maintaining or developing such an image.

A good opportunity to speak about what we want to do regarding dogecoin-qt.
It should be possible to containerize graphical application (did you tried it ?), by potentially sharing the window system of the host. I saw some articles related to it, I tried briefly few months ago but failed, I didn't go really far.
But it will probably not be the main use and be really a really specific feature. I didn't see the dogecoin-qt size, which is ~30MB on amd64. As you show, removing this executable divide almost the size of the image by 2, which is really significant.
Idk if adding GUI worth it for a Dogecoin Core image, if we could get rid of it for now and eventually if there is some demand in the future think about adding it ? Maybe it could be also a qt tag/image, to be able to provide dogecoin-qt through docker with keeping the benefit of a small size image only with other executables as main image.

i can't re-request a review from you so pinging you here. my thoughts on this are here: https://github.com/dogecoin/docker/pull/35#issuecomment-991796527

Blocked by #34 as that removes manpages but adds some dogecoin-qt

Blocked by #34 as that removes manpages but adds some dogecoin-qt

removed copying manpages and ref of dogecoin-qt in entrypoint.

@AbcSxyZ could you please let us know if you:

Agree with the concept/direction of this change (much like you proposed yourself in your last review comment, this PR implies that a dogecoin-qt deployment must be a separate image)
Agree with the implementation done here?

Thanks 🙏


mkdir /data/tls: permission denied

Description
I'm having problem getting Portainer to work on RHEL 7, which then causes Nginx to fail.
portainer    | 2017/06/03 03:00:13 mkdir /data/tls: permission denied

nginx        | 2017/06/03 02:35:50 [emerg] 1#1: host not found in upstream "portainer" in /etc/nginx/nginx.conf:94
nginx        | nginx: [emerg] host not found in upstream "portainer" in /etc/nginx/nginx.conf:94

Steps to reproduce the issue:
My configuration (minus Nginx config) looks like this:-
version: '2'

services:
  portainer:
    image: "portainer/portainer"
    ports:
     - "9000:9000"
    volumes:
     - portainer:/data
     - /var/run/docker.sock:/var/run/docker.sock

volumes:
  portainer:

This configuration works fine on Mac, but not on RHEL 7.
Technical details:
Here's additional info:-
$ sudo docker --version
Docker version 1.12.6, build 96d83a5/1.12.6

$ sudo docker-compose --version
docker-compose version 1.12.0, build b31ff33

$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	RedHatEnterpriseServer
Description:	Red Hat Enterprise Linux Server release 7.3 (Maipo)
Release:	7.3
Codename:	Maipo

Thank you.

Selinux? Try the --priviledged flag..
Rgds,
Neil Cresswell
On 3/06/2017, at 3:15 PM, Choon-Chern Lim <notifications<EMAIL_ADDRESS>wrote:
Description
I'm having problem getting Portainer to work on RHEL 7, which then causes Nginx to fail.
portainer    | 2017/06/03 03:00:13 mkdir /data/tls: permission denied
nginx        | 2017/06/03 02:35:50 [emerg] 1#1: host not found in upstream "portainer" in /etc/nginx/nginx.conf:94
nginx        | nginx: [emerg] host not found in upstream "portainer" in /etc/nginx/nginx.conf:94
Steps to reproduce the issue:
My configuration (minus Nginx config) looks like this:-
version: '2'
services:
portainer:
image: "portainer/portainer"
ports:
- "9000:9000"
volumes:
- portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
volumes:
portainer:
This configuration works fine on Mac, but not on RHEL 7.
Technical details:
Here's additional info:-
$ sudo docker --version
Docker version 1.12.6, build 96d83a5/1.12.6
$ sudo docker-compose --version
docker-compose version 1.12.0, build b31ff33
$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.3 (Maipo)
Release:        7.3
Codename:       Maipo
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_912&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=BvZBTYl8oeFEnCgh3i2kgWJJpIvw_QSCAoR5ULxeYsM&s=RJMwUeXJPZEAHqfUyvx0MYXZvxcYm2Y1jyRPL6UFrn4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlZyJLcrNr8e0nHzi26bLC9jCnGV3ks5sAM-5FkgaJpZM4Nu9OK&d=DQMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=BvZBTYl8oeFEnCgh3i2kgWJJpIvw_QSCAoR5ULxeYsM&s=UHYhle_HVMzyped0Bq94Dfc5wpjX7QkOOe1VWrolUTE&e=.

Excellent! Adding privileged: true works:-
services:
  portainer:
    image: "portainer/portainer"
    privileged: true
    ports:
     - "9000:9000"
    volumes:
     - portainer:/data
     - /var/run/docker.sock:/var/run/docker.sock

By the way, when I restart the containers, I get this error every once awhile:-
Cannot start service portainer: linux runtime spec devices: lstat /dev/dm-10: no such file or directory

What does it mean? Is there something I can do to prevent this error from happening?
Thanks you very much for your help.

@choonchernlim instead of the using the privileged:true flag, you can try the following volume definition: portainer:/data:z
Your second issue with containers is related to Docker, I'd advise to search/open an issue in the Docker repository.
I'll close this issue as the main problem is solved.

@deviantony: portainer:/data:z doesn't work for me. I keep getting the error below when I logged into Portainer.
Failure: Unable to load dashboard data
Failure: Unable to connect to the Docker endpoint

All right, seems that the :z flag does the trick for some SELinux users only.


[stable/sealed-secrets] update version to 0.12.4

What this PR does / why we need it:
Update to newest sealed-secrets version.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @stefanprodan

/ok-to-test

/lgtm


Fix for dataset store

Fixes a dataset store bug for datasets with nested tensor structure.

Closing PR as no update has been made for over 30 days. Please re-open if you think this shouldn't have been closed.


Cython fails to run for a python3.6 installed in custom location.

I have built/installed python from source on OSX to a custom framework location. The exact configure command is:
CC=clang CXX=clang++ CFLAGS='-flto=thin -Wno-deprecated-declarations' MACOSX_DEPLOYMENT_TARGET=10.9 ../configure --cache-file=config.cache --prefix=/usr/local/py --enable-framework=/usr/local/py/Library/Frameworks --quiet --with-lto

I then install cython using the corresponding pip:
/usr/local/py/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install cython

The cython install succeeds, but the installation is broken:
 $ cython
Traceback (most recent call last):
  File "/usr/local/py/Library/Frameworks/Python.framework/Versions/3.6/bin/cython", line 7, in <module>
    from Cython.Compiler.Main import setuptools_main
  File     "/usr/local/py/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/Cython/Compiler/Main.py",     line 30, in <module>
    from .Symtab import ModuleScope
  File     "/usr/local/py/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/Cython/Compiler/Symtab.py",     line 18, in <module>
    from . import PyrexTypes
  File     "/usr/local/py/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/Cython/Compiler/PyrexTypes.    py", line 17, in <module>
    from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
  File "Cython/Compiler/Code.py", line 39, in init Cython.Compiler.Code     (/private/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/pip-uioc89se-build/Cython/Compiler/Code.c:80038)
    def runsource(self, source, filename="<input>", symbol="single"):
ModuleNotFoundError: No module named '__builtin__'

I believe this is a Cython bug, as I can successfully install many other packages using pip for custom python locations. If anyone has an idea of how to debug this issue please let me know; I realize that these setups can be time consuming to reproduce. Thanks!

I am able to work around this bug by installing cython in developer mode: pip3 install -e . from the cython project root, master branch.
From there I was able to build pyzmq using pip3 install --no-binary=pyzmq pyzmq (it fails without the --no-binary option).

The name "builtin" suggests that there is something going wrong at a Py2/Py3 compatibility level. It's supposed to use the name "builtins" in Py3 instead. Difficult to say how this could happen, but could you check in your install/build output if there is any hint of interference of a Python 2.x version? And could you make sure that the shebang lines in you Python installation all use the correct Python 3.6 runtime?

hi.. i'm very new to python and i've installed cython into C: drive on a different computer (windows 10 OS) before without any problem.. on another set (also windows OS), i installed in into D:\ drive and cython was giving these errors:
C:\Users\Leo>cython
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "d:\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Python\Scripts\cython.exe_main.py", line 5, in
File "d:\python\lib\site-packages\Cython\Compiler\Main.py", line 30, in
from .Symtab import ModuleScope
File "d:\python\lib\site-packages\Cython\Compiler\Symtab.py", line 19, in
from . import PyrexTypes
File "d:\python\lib\site-packages\Cython\Compiler\PyrexTypes.py", line 17, in
from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
ImportError: DLL load failed: The specified procedure could not be found.
when i check the PATH for both computers, they are the same.. It sounds like my problem is related to this thread..  I apologise in advance if my posting here is violating any rules..

I also encounter similar problem,as fallow：
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\PYthon\Scripts\cython.exe_main.py", line 5, in
File "d:\python\lib\site-packages\Cython\Compiler\Main.py", line 30, in
from .Symtab import ModuleScope
File "d:\python\lib\site-packages\Cython\Compiler\Symtab.py", line 19, in
from . import PyrexTypes
File "d:\python\lib\site-packages\Cython\Compiler\PyrexTypes.py", line 17, in
from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
ImportError: DLL load failed: 找不到指定的程序。
I solve this problem by upgrade my python version,which is 3.6.1,to 3.6.5.
so i think you also can take this method a try!

Thank you! i actually gave up and uninstalled it but i will try it again to
install it into my d: drive.
Thanks!
*A lie can travel half way around the world while the truth is putting on
its shoes.*
*Mark Twain*

On 25 April 2018 at 22:50, ermeiyao<EMAIL_ADDRESS>wrote:

I also encounter similar problem,as fallow：
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\python\lib\runpy.py", line 85, in
run_code exec(code, run_globals) File "D:\PYthon\Scripts\cython.exe_main.py",
line 5, in
File "d:\python\lib\site-packages\Cython\Compiler\Main.py", line 30, in
from .Symtab import ModuleScope
File "d:\python\lib\site-packages\Cython\Compiler\Symtab.py", line 19, in
from . import PyrexTypes
File "d:\python\lib\site-packages\Cython\Compiler\PyrexTypes.py", line
17, in
from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
ImportError: DLL load failed: 找不到指定的程序。
I solve this problem by upgrade my python version,which is 3.6.1,to 3.6.5.
so i think you also can take this method a try!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cython/cython/issues/1727#issuecomment-384315253, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOiu0oFfUV1c83muSJdYg46IMb7WxvoHks5tsI0-gaJpZM4NvIZK
.

It worked! Thank you very much!
*A lie can travel half way around the world while the truth is putting on
its shoes.*
*Mark Twain*

On 28 April 2018 at 15:35, Y.S. Yap<EMAIL_ADDRESS>wrote:

Thank you! i actually gave up and uninstalled it but i will try it again
to install it into my d: drive.
Thanks!
*A lie can travel half way around the world while the truth is putting on
its shoes.*
*Mark Twain*

On 25 April 2018 at 22:50, ermeiyao<EMAIL_ADDRESS>wrote:

I also encounter similar problem,as fallow：
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\python\lib\runpy.py", line 85, in
run_code exec(code, run_globals) File "D:\PYthon\Scripts\cython.exe_main.py",
line 5, in
File "d:\python\lib\site-packages\Cython\Compiler\Main.py", line 30, in
from .Symtab import ModuleScope
File "d:\python\lib\site-packages\Cython\Compiler\Symtab.py", line 19,
in
from . import PyrexTypes
File "d:\python\lib\site-packages\Cython\Compiler\PyrexTypes.py", line
17, in
from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
ImportError: DLL load failed: 找不到指定的程序。
I solve this problem by upgrade my python version,which is 3.6.1,to 3.6.5.
so i think you also can take this method a try!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cython/cython/issues/1727#issuecomment-384315253,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOiu0oFfUV1c83muSJdYg46IMb7WxvoHks5tsI0-gaJpZM4NvIZK
.


export FromBytes and FromLEBytes

Codecov Report

Merging #165 (c0366c7) into master (250b0f7) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   89.89%   89.89%
=======================================
  Files           8        8
  Lines         574      574
=======================================
  Hits          516      516
  Misses         43       43
  Partials       15       15

Impacted Files
Coverage Δ

ipa.go
100.00% <100.00%> (ø)

tree.go
90.23% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 250b0f7...c0366c7. Read the comment docs.


Re-enable java-wildfly-bootable-jar tests

Signed-off-by: John Collier<EMAIL_ADDRESS>

/retest

/retest


(#11663) add FreeBSD support to blockdevice fact(s)

This adds blockdevice,  size, and model, similar to the Linux supported facts for FreeBSD (tested on 8 and 9).

As per the ticket, this needs tests added before we can merge it.  Waiting to see if Mike will do those for us, otherwise this can go on the pile of things we have to write tests for.

@m87carlson - I see that you were working on tests a while back.  Did you have any luck?  If not, we can probably do them, but it would be a big help to have the output of the system commands you run from a few different sorts of systems.  That way we can build fixtures with them and actually test this stuff more thoroughly and frequently.

Hey Dan,
No, I have not tackled the test cases yet, sorry about that.
I can email the output of the commands on the systems I have here though.
On Wed, Feb 1, 2012 at 5:22 PM, Daniel Pittman <
<EMAIL_ADDRESS>
wrote:

@m87carlson - I see that you were working on tests a while back.  Did you
have any luck?  If not, we can probably do them, but it would be a big help
to have the output of the system commands you run from a few different
sorts of systems.  That way we can build fixtures with them and actually
test this stuff more thoroughly and frequently.

Reply to this email directly or view it on GitHub:
https://github.com/puppetlabs/facter/pull/137#issuecomment-3770934

@m87carlson - no worries about the test cases.  We can totally write them; we just don't want to make the effort you put in a waste by doing the same work you did. :)
Attaching those outputs to the ticket would be helpful, yes, since we need them if we get to the tests before you do.  (We are trying to write tests for some contributions, like this one, that don't have them, so that might happen soon. :)


projector tag filter option for all projectionist command

In order to be able to distribute the projectors to different workers, you should be able to give each projector one or more tags. Each projectionist command should then be able to get a filter for one or more tags.
Another improvement to the ticket #320

fixed in: https://github.com/patchlevel/event-sourcing/pull/503


fix: mark response correctly

Fixes a bug introduced in #946
that did not mark peers as idle once they sent a likely bad response.
Fix: moves the if check after the update.

Codecov Report

Merging #966 (347b44f) into main (583426b) will decrease coverage by 0.07%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##             main     #966      +/-   ##
==========================================
- Coverage   73.87%   73.81%   -0.07%
==========================================
  Files         293      293
  Lines       32323    32321       -2
==========================================
- Hits        23879    23858      -21
- Misses       8444     8463      +19

Flag
Coverage Δ

unit-tests
73.81% <90.00%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/interfaces/src/p2p/error.rs
67.85% <66.66%> (+2.33%)
:arrow_up:

crates/net/network/src/fetch/mod.rs
87.50% <100.00%> (+0.36%)
:arrow_up:

crates/transaction-pool/src/test_utils/mock.rs
53.11% <0.00%> (-6.60%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.87% <0.00%> (-0.50%)
:arrow_down:

crates/net/network/src/manager.rs
49.38% <0.00%> (+0.20%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix: Skip interstitial on non-browser requests

If the request looks like it came from a non-browser (e.g. curl), we
avoid rendering the interstitial since we know it can't work there - the
interstitial relies on the browser rendering the HTML response. In such
cases, the request is considered unauthenticated.
We only do this for development and staging instances for now. In the
future we might enable it for production too, if it proves a robust
mechanism.

Do we also cover the case that the Authorization header will be an empty string?

Do we also cover the case that the Authorization header will be an empty string?

@chanioxaris Yes, in that case @header will be non-nil, and so we'll enter the if @header branch.


[🔨 chore]: convert .stylelintrc.json to Yaml language

As a member of the ESL dev team, I would like to have the Stylelint (.stylelintrc.json) on Yaml language, since we have the Configuring ESLint file in this language (.eslintrc.yml).
Helpful links: YAML Cheatsheet

Hello @Ashwin-exe!
Sure! I really appreciate your help with the ESL project!
I will assign this issue to you

Hey @abarmina, I fixed this issue 😃,
But I'm having trouble while building the project locally, I also tried contribution docs , can you help me with this ?


Update notification

Global setting - "Check for new release on visualizer load"
New release check: check latest release version against current version. If there's a new release, display a messagebox and ask about opening the releases page. If yes, open both the releases page and the destination folder (based on the current path of the assembly).

If the setting is true, then each time the visualizer loads, checks if there's a new release, as above.
If the setting is false, then show an explicit "Check now" button next to the setting UI. On click, check as above.

Fixed in #54.


Two autocomplete inputs on screen

If I put two autocomplete inputs one under another, then first one has a trouble with its listView which does not show itself over the second input.
I've tried with setting the first input :
listView:{position:'absolute'}
, but still not achieving the goal.
Any ideas on this?
Thanks!

Hi @brascene
Check out zIndex prop https://facebook.github.io/react-native/docs/layout-props.html#zindex

I'm closing it since it is not related to the library.

OK, just for info: solved with zIndex prop.

@brascene Would it be possible for you to let me know how you used zIndex exactly ? Thanks so much

zIndex seems to be working on iOS but not Android. Elevation either. Did you get it working @brascene ? Would you mind showing me some sample code ? Thanks so much

You can add one into the other


action.yml: upgrade to Node.js 16

This pull request contains a series of updates to resolve all Node.js & set-output-related deprecations in the asset-hash action. The commits are as follows:

Commit 1: Fix package.json's main entry by pointing it to the actual main.ts file.
Commit 2: Add an explicit type check on the catch error to satisfy (future) Typescript requirements.
Commit 3: Upgrade dependencies with npm audit fix --force + manual updates to typescript and @vercel/ncc.
Commit 4: Upgrade actions/checkout from version 2 to 3 & upgrade the internal actions/core package to a version that uses the new set-output syntax
Commit 5: Re-generate the source maps with all of the new packages.
Commit 6: Upgrade the action from Node.js 12 to 16.

The goal of these upgrades is to clear the Node.js deprecation warnings in microsoft/git (and other repos that use these actions).

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


Update zoo.cfg

We've updated what we suggest when running the configure_hive.py script, so we should probably update here too.

:+1:


How to use the analytics engine?

I have two cameras canon and bosch and it interfaces well. But when I try to run the analytics engine it says your device doesn't support this service. Please help.

more precisely it returns the following:
analytics_config = media_service.GetVideoAnalyticsConfigurations()

File "/usr/local/lib/python2.7/dist-packages/onvif-0.1.3-py2.7.egg/onvif/client.py", line 32, in wrapped
raise ONVIFError(err)
onvif.exceptions.ONVIFError: Action Failed


add new method getEmitOutputObject to return result of the emit as object

script side of the fix for #9417

👍


Histogram with logarithmic scaled buckets (or self-defined)

Recently I've found histogram aggregate function. It's useful, but even more useful could be such a function but with logarithmic-scaled buckets (or defined ones). For example:
1-2ms, 2-4ms, 4-8ms, 8-16ms, 16-32ms, ...

As mentioned in my post to the mailing list we are experimenting with simplifying our open GitHub Issues. This feature request has been rolled into an aggregate issue for all function requests, so that we can close this issue until we are ready to work on it.
You may continue to make comments here. Closing the issue does not mean we are rejecting this idea.


Make LF great again(hopefully)

normalize text in the repo so that the repo actually manages the line endings to be just line feeds by default regardless of the line endings of the editor that makes the changes.(i.e. get rid of the crlf problem and having to run dos2unix)

MLGA


Paste without formatting is not reliable (and never was)

Microsoft PowerToys version
0.71.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Paste as Plain Text
Steps to reproduce
I'm trying to replace the Puretext app with your feature, but it's not reliable. In Windows 11, I can't map the WIN+V shortcut I'm used to. It immediately opens the START menu and doesn't care that I'm trying to make a shortcut. Occasionally, the Windows smart clipboard has stolen this shortcut key from me, but I've never activated it or used it. I've also tried setting up other keyboard shortcuts, but nothing is reliable. CTRL+SHIFT+V sometimes doesn't work. So in desperation I've tried CTRL+ALT+SHIFT+V as well and it's a complete disaster. After using the shortcut, the system finds itself in weird modes like switching fancy zones or switching keyboard. It makes it impossible to work with the computer. I think these woes are a perfect illustration of the user experince of Windows. Unfortunately, for now, I have no choice but to revert to good old PureText. I don't even need to mention that as soon as I still activate Stardock Start11, pressing WIN+V opens the start menu and the text is pasted into it. Crazy...
✔ Expected Behavior
Use WIN+V or any other reasonable shortcut for Paste without formatting.
❌ Actual Behavior
It immediately opens the START menu and doesn't care that I'm trying to make a shortcut. Occasionally, the Windows smart clipboard has stolen this shortcut key from me, but I've never activated it or used it. I've also tried setting up other keyboard shortcuts, but nothing is reliable. CTRL+SHIFT+V sometimes doesn't work. So in desperation I've tried CTRL+ALT+SHIFT+V as well and it's a complete disaster. After using the shortcut, the system finds itself in weird modes like switching fancy zones or switching keyboard. It makes it impossible to work with the computer. I think these woes are a perfect illustration of the user experince of Windows. Unfortunately, for now, I have no choice but to revert to good old PureText. I don't even need to mention that as soon as I still activate Stardock Start11, pressing WIN+V opens the start menu and the text is pasted into it. Crazy...
Other Software
The problems appears also without any other software is running. With Stardock Start11 it is much more funny.

/bugreport


Bugfix/#147 circle looks more like an ellipse

To test, build and see the way to reproduce errors in tickets #147, #148, #201.  This fixes all 3 tickets.


tydom2mqtt is failing to start when no tty

tydom2mqtt fail starting if no tty is enabled.
Example failing
$ docker run -e TYDOM_MAC="xxx" ... --rm mrwiwi/tydom2mqtt_edge

Starting main.py <-- stuck here

Example working
$ docker run -t -e TYDOM_MAC="xxx" ... --rm mrwiwi/tydom2mqtt_edge

Starting main.py
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
STARTING TYDOM2MQTT
Dectecting environnement......
...

It's caused by the Popen in forever.py.
Generally speaking, I don't think that handling uncaught errors in an uber Python process for automatic restart is a good practice.
Especially when working in containerized environments 🤔
Better use --restart Docker option to handle automatic restart on crash.
You can find here the related commit on my fork.

Hi @fmartinou ! Big thanks to take upon that project, you seems way more skilled that I am and I'm glad !
The forever py was a dirty workaround before home assistant introduced the watchdog. Could you please take the lead on a proper add-on (if you use home assistant) ? I did what I could be don't have time and skills, I started that project just for my needs, with no experience in coding so...

Hi @mrwiwi,
I'm using Home-Assistant but unfortunately, I'm not using Hass.io so I don't know much about Supervisor, addons and so on.
I don't really know what an addon should look like and don't know how to test it 🤔 .
I'll take some time to know more about all that and I'll let you know if I think I can be helpful.
Thanks again for your project! I'm now able to control my heating system from Home-Asssistant 🤩 !

You should try a supervised install !  You can check my add-on for tydom2mqtt, with your skills I'm pretty sure you will figure it out very quickly !

I've just installed your add-on, that's great, lighter indeed ! I think all users should switch to your fork now, what do you think ?

Hi,
I'm currently working on that :)
You were right; addon publishing is not that hard 😃
I'm going to create an external addon repository because I'm planning to deploy 2 other addons in addition to tydom2mqtt:

teleinfo2mqtt
what's up docker?

Please give me few additional days and existing users should be able to switch to my fork 😄
Besides that, would you be interesting to join me as developer on my fmartinou/tydom2mqtt fork?
Because I now about Docker, Code quality, automation... but I don't know much about Deltadore stuff (and I have almost no Deltadore devices at home) 🤔

I'm in ! ^^ I just have covers and alarm, but I begin to know pretty well the tydom box and websockets ;D

Invitation sent; welcome on board!

Hi @mrwiwi ,
I created a static documentation (hosted on Github pages) for the project: https://fmartinou.github.io/tydom2mqtt/
The source files (markdown files) are right next to the source code.
In addition, I created the first release on my fork (2.0.0) and referenced it into my new hass.io addons repository
Could you give it a try?
(The repository to add to your Home-Assistant instance is https://github.com/fmartinou/hassio-addons.git)
Thanks!

Voici mon adresse mail.
Ce sera peut-être plus simple pour échanger entre nous en dehors de Github
: @.***
Cdt
Le mer. 24 nov. 2021 à 14:22, William Friconneau @.***>
a écrit :

I'm in ! ^^ I just have covers and alarm, but I begin to know pretty well
the tydom box and websockets ;D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mrwiwi/tydom2mqtt/issues/40#issuecomment-977873635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2RGL3HCUTTPRD3MJTBNU3UNTRJLANCNFSM5IRPYQ6Q
.

--
Manfred Martin

That's awesome !!! Hassio add-on working perfectly here, except for MQTT default value : localhost doesn't work, but "homeassistant" do !
The documentation, the icon... Wow it feels like an professional project :D thanks a lot !

Hi!
Thanks for your support!

default value : localhost doesn't work, but "homeassistant" do

Oh yeah, I get it.
By default, addons are running in the same network as homeassistant (see host_network)
So on localhost, there is no MQTT_broker.
=> I changed the default value.


Create a roadmap for next release

We need to create a roadmap to involve community members and contributors into development activities in clear direction.

I think this is really good issue we could discuss our roadmaps:
Let me propose a issue list:
High Priority

Add example how OAM could corporate with Kustomize/Helm to manage complicated parameters Type: Enhancement #379
Feature: Admission controller for component and app config validation #349
Singleton of OAM is replicas=1 in K8s StatefulSet #279
implement traits diff and deleted traits removed from AppConfig when component updated Type: Enhancement #236

Priority Need to be measured
align the ability of K8s

Add initContainers support #378
Mapping extended resources to Kubernettes Type #265
setup a queue in rudr for events with error or need to wait and retry #126
many plugins of K8s, for example: ingress, now we install nginx ingress as default , we should give a unified way to define so many ingress plugins well.

integrate with other excellent projects

Add support for Dapr applications #398 ,
Integrate SMI #3 #333
Flagger(rollout traits)
Flux（GitOps + OAM）
CNAB
Argo（workflow + OAM)
Tekton（pipeline + OAM）)
etc...

Do we have milestones for the spec that will require Rudr rewrites or new Rudr features?

Knative should be put at high priority as well.

Do we have milestones for the spec that will require Rudr rewrites or new Rudr features?

yeah, this is also high priority issues

This is a good start, let's work backwards from a date and then this will make prioritizing more do-able. Any recommendations for a date for this release?
I think November 26th?


PARI/GP scripts (extension .gp) are being missclassified as Gnuplot files

PARI/GP is a computer algebra system (http://pari.math.u-bordeaux.fr/) which unfortunately uses the extension .gp for its scripts (same as gnuplot).
Take this script as an example: https://github.com/oscarsaleta/Lyapunov/blob/master/polops.gp, it is a PARI/GP script from my repository which is classified as Gnuplot.
The repository states that it's a 60.4% Gnuplot but there are not Gnuplot files in it: https://github.com/oscarsaleta/Lyapunov.

Teaching Linguist the difference between PARI/GP and Gnuplot first requires to add support for PARI/GP. If it meets the requirement on in-the-wild usage, don't hesitate to open a pull request. If it doesn't, your best bet it to use Linguist overrides for now.


fix(ui): removing unneeded ':' in protocol for workflow-event-bindings

Super minor typo fix.  The URL will still be valid in a browser with ::, but still good to correct.

LGTM

LGTM


Modified dump over network testcases.

Changed code to adopt new command line parameters.
Added sync command to avoid creation of empty kdump.conf file.
Signed-off-by: Pavithra<EMAIL_ADDRESS>

console_log.txt

LGTM


Add validation for nordic pistes

While piste:difficulty is more than just useful for the data user, piste:grooming for cross-country skiing appears to defaults to quite different practices across the world.

Same as my response on #6184 - addTags shouldn't add empty tags.


cannot load such file -- lib/json/ld/preloaded/activitystreams.rb

I found removing the 'lib/' from each of the load lines in json/ld/preloaded.rb fixed my problem.

Okay,my hat would be a bug; not sure why specs didn't find it.

Okay, fixed and released as 0.0.1.


Amend Conformance program re issuer check on VP Generation

See draft: https://docs.google.com/document/d/1o_kXMNw5DzO-NpawGbp8HgeFCei3BAtgnTuuqgMu33Q/edit
new version of Conformance Program = v1.1.1

@bluesteens I see the new language in the draft, is there anything you need from me? Are we pending on the version number discussion?


astro-language-server tries to look for tsserver library in project's directory instead of Mason's installation directory

Problem description
An error occurs when openning an Astro file. astro-language-server looks for tsserverlibrary.js in the project node_modules folder instead of Mason's installation directory for the language server.
Error executing vim.schedule lua callback: ...sue/Apps/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:1285: RPC[Error] code_name = InternalError, mes
sage = "Request initialize failed with message: Cannot find module '/home/josue/Proyectos/portfolio/node_modules/typescript/lib/tsserverlibrary.js'\
Require stack:\
-<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>
stack traceback:
        [C]: in function 'assert'
        ...sue/Apps/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:1285: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Why do you think this is an issue with mason-lspconfig.nvim?
There was a similar issue with Volar mentioned in williamboman/mason-lspconfig.nvim#43
Neovim version (>= 0.7)
NVIM v0.8.0-1210-gd367ed9b2
Build type: Release
LuaJIT 2.1.0-beta3
Operating system/version
Linux fedora 5.19.14-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 5 21:31:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

[X] Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

[X] Yes

Affected language servers
astro-language-server
Steps to reproduce

Add filetype extension astro to nvim configuration
Create a new astro project with npm create astro@latest
Open any Astro file

Actual behavior
The server does not start because Neovim looks for a required library in the project's node_modules directory instead of the server's
Expected behavior
The server starts
LspInfo
Language client log: /home/josue/.local/state/nvim/lsp.log
 Detected filetype:   astro

 1 client(s) attached to this buffer:

 Client: tailwindcss (id: 1, pid: nil, bufnr: [3])
 	filetypes:       aspnetcorerazor, astro, astro-markdown, blade, django-html, htmldjango, edge, eelixir, elixir, ejs, erb, eruby, gohtml, haml, handlebars, hbs, html, html-eex, heex, jade, leaf, liquid, markdown, mdx, mustache, njk, nunjucks, php, razor, slim, twig, css, less, postcss, sass, scss, stylus, sugarss, javascript, javascriptreact, reason, rescript, typescript, typescriptreact, vue, svelte
 	autostart:       true
 	root directory:  /home/josue/Proyectos/portfolio
 	cmd:             tailwindcss-language-server --stdio

 Other clients that match the filetype: astro

 Config: astro
 	filetypes:         astro
 	root directory:    /home/josue/Proyectos/portfolio
 	cmd:               astro-ls --stdio
 	cmd is executable: true
 	autostart:         true
 	custom handlers:

 Configured servers list: volar, jsonls, svelte, angularls, marksman, astro, sumneko_lua, html, cssls, tailwindcss, tsserver

LspLog
There isn't any mention of astro-language-server in LspLog

Healthcheck
mason: require("mason.health").check()
========================================================================
## mason.nvim report
- OK: neovim version >= 0.7.0
- WARNING: Go: not available
- OK: cargo: `cargo 1.64.0 (387270bc7 2022-09-16)`
- WARNING: luarocks: not available
- WARNING: Ruby: not available
- WARNING: RubyGem: not available
- WARNING: Composer: not available
- WARNING: PHP: not available
- OK: npm: `8.15.0`
- OK: node: `v16.17.1`
- OK: python3: `Python 3.10.7`
- OK: pip3: `pip 21.3.1 from /home/josue/.local/lib/python3.10/site-packages/pip (python 3.10)`
- WARNING: javac: not available
- OK: java: `openjdk version "1.8.0_345"`
- WARNING: julia: not available
- OK: wget: `GNU Wget 1.21.3 hecho en linux-gnu.`
- OK: curl: `curl 7.82.0 (x86_64-redhat-linux-gnu) libcurl/7.82.0 OpenSSL/3.0.5 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.3 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlibnghttp2/1.46.0 OpenLDAP/2.6.3`
- OK: gzip: `gzip 1.11`
- OK: tar: `tar (GNU tar) 1.34`
- OK: bash: `GNU bash, versión 5.2.2(1)-release (x86_64-redhat-linux-gnu)`
- OK: sh: `Ok`
- OK: GitHub API rate limit. Used: 0. Remaining: 5000. Limit: 5000. Reset: lun 10 oct 2022 21:57:51.

Screenshots or recordings
No response

Hello! #75 should hopefully fix this (you'l beed to update both plugins and reinstall Astro)


Static File Handler

An example of or an included static file http handler would be very useful.

cowboy_static is quite usable at this point, perhaps its time to close this bug and simply point to cowboy_static as the solution

What does @klaar think about that?

I don't mind, it's quite usable if I may say so myself. ;)

Since #112 has been merged into master, we can close this issue.

Nice!


Webpack configuration isn't watching template files

Whenever I modify a template I need to restart the development server with npm run server to get the changes bundled. It seems to be something related to the webpack-dev-server itself and/or the html loader, but all workarounds that I've found involves some dirty configuration tricks.
Since the main purpose of this repo is to provide a proper webpack configuration for angular 2 I'd hope to get some insight in how to solve this and confirm that it is indeed an issue within the configuration provided in this repo.
Thanks for any help! :sweat_smile:

html-loader is not being used on the templates. Also I don't see that problem in my machine :/

@Foxandxss oh I see, they use the raw loader, so the issues that I've found in the internets have nothing todo with what I'm experiencing.
I'll dig a little deeper then...

Just for the record, actually it seems to watch only ts files just after I get a couple of builds to fail (due to ts error or whatever) while watching, so I'ts definitely something else which I'd rather to live with than debug myself.
Thanks for the prompt reply anyway, much appreciated!


ord: init at 0.18.5

Description of changes

Initial ord at 0.18.5
https://github.com/ordinals/ord
https://github.com/ordinals/ord/releases/tag/0.18.5
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hi, @marsam
Please help me review this PR if possible, thank you!!

@Aleksanaa Thank you!

Your PR is written very standardly, keep it up!


@1aurabrown: Swap links order in press page

Simple request from Anna.

Dat commit message 🙈
😛

I think I speak on behalf of @1aurabrown when I say that this PR is A-OK.

Going to take this, as @1aurabrown is still out for another week.

No, me @alloy

Too late, @broskoski! In this day and age you should just take, not be polite.

I tried, I tried.


Use hash_code for deduplication of detect-secrets scans

Reimporting of detect-secrets scans swallowed some findings, due to using the legacy deduplication algorithm, see https://github.com/DefectDojo/django-DefectDojo/issues/5312#issuecomment-975171871.

The list gets longer and longer, should we consider the legacy dedupe mostly broken for reimport since reimport was changed to use the dedupe / hash_code algorithm?

I agree @valentijnscholten, reimport doesn't work properly for a lot of scanners when you don't set the deduplication algorithm explicitly. Hash_code deduplication should be a good default for static scanners, but I have no idea about dynamic scanners.


The server should have integration tests

https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-2.2


update container to immediateContainer

addresses part of https://github.com/open-contracting/standard/issues/1343

@jpmckinney test_csv.py is looking specifically for "container.csv" but this PR changes the name of this codelist to "immediateContainer.csv", I think that's what's causing this test to fail here.

Thanks! I've updated the test.

I added a changelog as a separate commit.