Issue with auto adding domain suffix

Hello, maintainers.
I think https://github.com/PowerDNS-Admin/PowerDNS-Admin/pull/1300 change will add a subdomain suffix to the already registered records, is this correct?
Could you look at the following as a reference?

I found this issue with ngoduykhanh/powerdns-admin:latest
powerdnsadmin/pda-legacy:v0.3.0 is not realize this situation

Before (zone name is test1-sys12.com)

abc.test1-sys12.com / A / Active / 60 / <IP_ADDRESS>

This is already registeed record.

After Apply Changes at UI button

abc.test1-sys12.com.test1-sys12.com / A / Active / 60 / <IP_ADDRESS>

test1-sys12.com suffix auto added and backend SQlite3 record also tha same record.

I'm having the same issue, every time I make a change and apply the settings, the domain is incremented in the dns record.
I will stop making changes for now.

looks like this was the source of the issue:
https://github.com/domXmob/PowerDNS-Admin/commit/52169f698c783e9e057b0be9df2cc0cdb47e72b5

@ichisuke55 @domXmob The PR with the rollback has been merged.

@AzorianSolutions
Thank you for your quick fix!

@ichisuke55 You're welcome! My apologies for the quick break to go with it!

are there any plans to push a new docker image?

@zivillian yes, there will be multiple images made available for the next-gen application. The current generation app may also get a good update in that department depending on time and resources.

This is still broken in Docker and makes the app unusable...

@seitzbg let's start with you telling us exactly what image you're using (full repository path and tag).

I was using https://hub.docker.com/r/ngoduykhanh/powerdns-admin before and had no idea there was a new image path.  Is that something communicated on a mailing list or such?

I was not aware there was a new maintainer and now understand the reasoning behind the current state of affairs.  Thanks for your time and effort, I appreciate it.

@seitzbg thank you as well for taking the time to understand and appreciate the situation.
I'm doing what I can to recover the project and get it back on track to aggressive forward movement. That challenge however does not come without plenty of scenarios that will rub users wrong and cause some headaches. It's just the unfortunate status quo of where things are.
If you spend some time looking through the repository, you will see that our efforts have really picked up since I took over so we will get there. I could of course handle things differently at times, but I come from a past where sugar coating has only enabled bad habits and lack of personal development so I stand behind my aggressive nature as a method of resolution.
I recommend you get switched over to the new image as I'm sure you will find some of the updates pleasant. That's not to say that it doesn't come without some new issues as well, but we are working aggressively to get those cleaned up and another patch release out very quickly.

I fully understand your response!  I had the wrong attitude coming here with my issue as I was just frustrated to have to fix my DNS records in mysql again by hand.
I am currently using the new image path.  I would also not mind testing the dev branch to provide feedback.  Is it in a state where that would be viable or still mostly a work in progress?
Again, I really appreciate the effort on this project especially since it only exists due to the effort from people like you.

@seitzbg I truly and greatly appreciate that sentiment and transparency! I too have done the same thing so I'm not innocent either. I know it's frustrating to say the least, especially if it's for production.
To answer your question, the dev branch currently is pretty darn close to the 0.4.0 release and should have the same stability of that release at this time. Of course, that is always subject to change, but we do try to keep from pushing outright breaking changes intentionally since it can mess with all of our efforts on maintenance.
I will say this though, be mindful of using the dev release in production because I will often merge PRs without the greatest testing, if any sometimes. That could result in a situation that breaks your production if you are doing automatic image updates of any sort.

Yep appreciate the heads up.  It is production but not super important production (my house ;)).

switching to powerdnsadmin/pda-legacy:latest fixed the issue, I completely missed the change in docker images, maybe put up a big ass notice on the README?


Chart type cards

Closes https://github.com/carbon-design-system/carbon-website/issues/1263
This adds the grouped bar (horizontal), stacked bar (horizontal), and pie chart tiles to the chart types page.

thank you @designertyler this is great!
#987 needs to be merged before this PR since links added in this PR need to point to the new demo link

@designertyler Could you please change the page description to the following:

Start by identifying the purpose of the visualization and then choose the appropriate chart type.

Thank you.

Looks good, just take design tag off of these two, they're live now!

@designertyler We need to get this wrapped.
For my understanding
— Make image tile for Meter (with design only tag)
— Remove  tag from Gauge and stacked area chart
— Remove Stacked area chart content from Design only section (Only Meter to remain)
—Create a image card for Meter in another issue. Meter soon to be released.
Did I miss anything? Maybe Histogram? I believe that is in our near future.

@mjabbink This PR was to just add the grouped bar (horizontal), stacked bar (horizontal), and pie chart tiles on the chart overview page. I think the other additions were being worked on when this was opened.
We do have an issue to make an image tile for meter here https://github.com/carbon-design-system/carbon-website/issues/1355 that would separate the meter/gauge tiles and remove the tags.
I'll get a PR opened to remove the duplicate content under "Design only" and the stacked area shouldn't have a tag on the Chart types page.

👍


PBI doesn't look like what you put here

@RowlinAPsychologist commented on Tue May 26 2020
I tried to find the copy button (and the all the following functions) in the latest Desktop version and Web version. But I couldn't! Which version was this instruction referring to? How can I copy a chart in the lastest PBI?

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 00479245-9654-ad47-b2d5-12f1e36ccdc9
Version Independent ID: b46f2147-f0e8-cad0-7240-28b7231ae70d
Content: 在 Power BI 中复制并粘贴可视化效果 - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-copy-paste.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @mihart
Microsoft Alias: mihart

@srvbpigh commented on Tue May 26 2020
Hello, @RowlinAPsychologist
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hi, @RowlinAPsychologist and @CeciAc -- Yes, items on the ribbon have moves, with the newest version of Power BI Desktop. Assigning to the author to update the article.
In the meantime: The ribbon does collapse. Maybe that's why you're not seeing all the options? Select the arrow at the far right to expand it. Hope that helps!

Hi, @RowlinAPsychologist and @CeciAc -- Yes, items on the ribbon have moves, with the newest version of Power BI Desktop. Assigning to the author to update the article.
In the meantime: The ribbon does collapse. Maybe that's why you're not seeing all the options? Select the arrow at the far right to expand it. Hope that helps!

Thanks for the reply. But sorry, the guess is not valid.
I saw many users wish to copy the visual elements to Microsoft Office, like what we do to Excel charts. In many cases, we just want to embed charts in a document in case its receivers don't have access to internet or PBI desktop. Now the sharing problem is greatly undermining PBI's application.

Hi @RowlinAPsychologist and @CeciAc
I've passed along your comment to the author.  But let me try to help too.

Are you attempting to copy a visual from Power BI Desktop or from the Power BI service?
Are you attempting to copy a visual from a dashboard or from a report?
Are you using keyboard shortcuts or the icon (the one that looks like 2 pieces of paper)?
Thanks,
Michele

Hi, I could be missing some of the context, but there are several different ways to copy things in Power BI, so I’d like to know the answers to those questions too. In the Service, for example, there is a button<EMAIL_ADDRESS>that allows you to copy visual as image (which I believe Michele is alluding to with her third question). Is that what you’re looking for?
Rien
From: Michele Hart<EMAIL_ADDRESS>Sent: Wednesday, August 5, 2020 7:52 AM
To: MicrosoftDocs/powerbi-docs<EMAIL_ADDRESS>Cc: Rien Hu<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/powerbi-docs] PBI doesn't look like what you put here (#2235)
Hi @RowlinAPsychologisthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRowlinAPsychologist&data=02|01|rien%40microsoft.com|753df6b00cf84a91313808d8394f0e3f|72f988bf86f141af91ab2d7cd011db47|1|0|637322358990268558&sdata=Ztso0v57SSkcuJozWJ6hgfZsKg2rGan0%2FUQNDgHDTHY%3D&reserved=0 and @CeciAchttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCeciAc&data=02|01|rien%40microsoft.com|753df6b00cf84a91313808d8394f0e3f|72f988bf86f141af91ab2d7cd011db47|1|0|637322358990268558&sdata=A1j%2FwmqQc2JiAUA3KLvy477RWKeVzmw0pPYUQEu5pMM%3D&reserved=0
I've passed along your comment to the author. But let me try to help too.

Are you attempting to copy a visual from Power BI Desktop or from the Power BI service?
Are you attempting to copy a visual from a dashboard or from a report?
Are you using keyboard shortcuts or the icon (the one that looks like 2 pieces of paper)?
Thanks,
Michele

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpowerbi-docs%2Fissues%2F2235%23issuecomment-669238969&data=02|01|rien%40microsoft.com|753df6b00cf84a91313808d8394f0e3f|72f988bf86f141af91ab2d7cd011db47|1|0|637322358990278547&sdata=nV2wjMLPL3Owf1u%2Bsh5lvyHbWgopvHI3GHvkbgrr%2FLk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOT5LFYX6AJQUHWQDXC7YD3R7FWXTANCNFSM4NMMLSMA&data=02|01|rien%40microsoft.com|753df6b00cf84a91313808d8394f0e3f|72f988bf86f141af91ab2d7cd011db47|1|0|637322358990278547&sdata=zTXTZhBbl7ywUzaxi0Q2KcP6XqBj5hAYDHvLBSjhdwE%3D&reserved=0.

Hi @CeciAc ,
I've updated the article and it should go live today or tomorrow.  Thank you for your help with the documentation.


Issues interfacing with modded characters/assets

It crashes on start up when loading modded characters
New characters are affected as well. Here's the error information.
[for new human character with nothing in inventory]
Traceback (most recent call last):
File "C:\Python34-x64\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
File "build\starcheat.py", line 86, in
File "build\starcheat.py", line 83, in main
File "build\gui\mainwindow.py", line 175, in init
File "build\gui\mainwindow.py", line 554, in open_file
File "build\gui\mainwindow.py", line 260, in update
File "build\gui\mainwindow.py", line 718, in update_bag
File "build\gui\common.py", line 116, in init
File "build\gui\common.py", line 63, in inv_icon
File "build\assets\items.py", line 141, in get_item_icon
AttributeError: 'list' object has no attribute 'split'
[for human character with modded items in inventory]
Traceback (most recent call last):
File "C:\Python34-x64\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
File "build\starcheat.py", line 86, in
File "build\starcheat.py", line 83, in main
File "build\gui\mainwindow.py", line 175, in init
File "build\gui\mainwindow.py", line 554, in open_file
File "build\gui\mainwindow.py", line 260, in update
File "build\gui\mainwindow.py", line 718, in update_bag
File "build\gui\common.py", line 116, in init
File "build\gui\common.py", line 63, in inv_icon
File "build\assets\items.py", line 137, in get_item_icon
TypeError: argument of type 'NoneType' is not iterable
It also completely fails to register a modded character that I stripped of all modded items., compare images for details.

RE the first error: try the latest build and see if that's fixed. I'll get to the other one soon.

Ah, alright. Should I make a new issue if I find a different bug, or would you rather me just update this title and post it here.

File a separate issue, helps me keep things sorted.

Closed after eight months without a response.


Fix a typo and template links

I found a typo and realized some links were not working in the PR template.
No real code was harmed during the production of this PR. 😅
Checklist

I've added at least one test that validates that my change is working, if appropriate
I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines 👈
[x] I've updated the documentation if necessary

Thanks, @MartinP7r! 👏🏻

@swift-ci Please test


Allow users to obtain raw headers.

This change adds a new flag that allows users to request 'raw' headers: that is, headers that have not been decoded to unicode and are still in bytes form. This was originally requested by the Twisted developers who use a bytes internal headers representation, though it may well be useful for others.
This change involves quite a substantial internal change: we now have headers move through the body of hyper-h2 in bytes form, and only get encoded at the edge.
This change introduces one unfortunate problem: we need to bump the minimum version of HPACK we can use. I believe this is safe to do in a semver-minor release, as we're only bumping the minor version, so the upgrade should be safe.
The default output for headers remains unicode. That may change in 3.0.0 (per #154), but for now we're leaving it as-is.

/cc @mhils @hawkowl as this is relevant to both your interests.

This looks pretty good to me :+1:

Our netlib.http.Headers class works on bytes as well, so this change is a very welcome addition. :smiley:
Looks good to me as well! :+1:

Ok, I'm going to land this now.


Fixed incorrect default value of a hyperparameter

I thought the default value of c_mu, one of the hyperparameters, was incorrect and corrected it.

Hi @ikeike-da ,
I think it's correct. We referred the version 1 in the CMA-ES tutorial paper (note that it was updated at March 2023).

Sorry, I did not check the older version of the CMA-ES tutorial paper.
I close this pull request.


Providing an interface to the issue duplicate detector

I just submitted issue #115710 which was a duplicate of an existing one. I did search in the large archive of issues beforehand but did not find anything, though I'll admit, I didn't search very well. I found it immediately after looking again.
Either way, I'd like to suggest a simple interface somewhere (perhaps on your website) to interface with the duplicate detection (bot). This suggestion really relies on how others perceive this problem. I could imagine that after some more time and a huge archive of issues, this might become an attractive idea.
The reason I am suggesting this is, that it unnecessarily cost me some time to put together the issue description (and install VS Code Insiders) which I'd rather have saved (yes, I should have searched a little bit better). I'll just leave this suggestion here, and let it be victim of your opinions! :)

cc. @chrmarti who wrote that bot, do you think such an endpoint could exist?

The issue reporter (Help > Report Issue) uses a REST API to search for duplicates. That wouldn't be ready for heavier workloads than that at the moment.


Ability to schedule recurring containers that run on a cron-like schedule

Per http://forums.rancher.com/t/scheduling-recurring-cron-like-tasks-using-containers/555
Create ability to schedule containers through Rancher

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

@ibuildthecloud :)

+1

Its like the longest +1 (with 0 comments interruptions) list I've ever seen :)

Yeah, the title says it all :)
Skickat från min iPhone

15 okt. 2015 kl. 19:25 skrev Alena Prokharchyk<EMAIL_ADDRESS>Its like the longest +1 (with 0 comments interruptions) list I've ever seen :)
—
Reply to this email directly or view it on GitHub.

So nobody likes https://www.cronasaservice.com/ + API calls? :smile:

@vincent99 That looks cool but most of the reason that I'm interested in Docker and Rancher is so that I don't have to rely on *aas providers!

@alena1108 see what you started :p ;)

+1
@kaos (to get back to the main loop although I like @vincent99 gifs) :)

+1

+1

Seems crond and crontab are present in ranchOS v0.4.1, but crontab -l or -e failed (even as root)
crontab: can't change directory to '/var/spool/cron/crontabs': No such file or directory
/var/spool/cron is missing and the crond process doesn't seem to run.
I didn't try to create the missing dir and file yet.

@trotro This issue is for cron like support in rancher, not rancherOS..

@kaos sorry, I thought this can be related and helpful.

Any update on whether or not this is getting implemented soon?

+1

I had actually voted for this feature,  but i am kind of seeing more use cases with this.
What if this feature should be developed to be job scheduler.  And the jobs will be subsequently saved for reuse. The jobs will be packaged like very simple containers and be running in cron then rancher will be monitoring and managing their lifecycles.
The jobs processes will be scheduled according to time frame or resources available.

+1

very much +1.
we currently use long-running tasks within containers that implement their own cron-like scheduling (i.e. using https://www.npmjs.com/package/node-schedule). But this is very inelegant and not manageable at any reasonable scale.
I was thinking of writing a containerized service that will only implement scheduling, yet be sufficiently privileged to access the docker daemon on the host to kick off jobs (but perhaps not anything else). Not yet sure how to approach it though.

@ebr Take a look at https://github.com/ActiveState/dockron/ it works well for a containerized cron implemented in Go that can talk to the daemon and launch sibling containers.

@michaellopez :heart_eyes: thank you. that's pretty much the way i've been thinking of tackling it.

Just checking in to see if this will be implemented anytime in the near future.

@dahendel I'm not associated with Rancher, but I dare say that in the near future it is not, based on the fact that this issue is not (yet) part of any milestone.

+1

+1

+1

+1

+1

+1

+1

@jonwarghed (på tal om att köra cron job i docker...)

+1

+1

This would be a very nice addition, we have several reocurring jobs that would improve of being controlled from the rancher host and associated staff rather than the internal cron jobs from the container itself. +1

+1

Is rancher really the right place to schedule such things? I think a orchestrator should not be in charge of such process at least not the central rancher instance. You could argue that a service on the host could be responsible for that. In the same fashion as the agent-instance?

@hwinkel I like the idea of telling Rancher to run a certain stack at an interval. As I mentioned earlier, I don't mind going with https://github.com/ActiveState/dockron/ my self, without Rancher natively supporting this. I haven't gotten to tackling this issue myself yet, so maybe dockron is insufficient, I don't know...

@michaellopez fine with having such a cron functionality , but don't like to have the central instance responsible for that. So I would prefer to have it as part of the instance agent

For the record, we're using https://github.com/dshearer/jobber for that, which is better suited for containers than cron.

(-1) I'm changing my mind on this one...
There are so many tools out there that are easy to use, like Jenkins, that can easily be set up to run a container or start an existing service stack periodically by simply using the Rancher API.
Maybe it would be better to let some innovative person with time on their hands create a custom catalog service for this feature. :-)

@eebjr I wouldn't like having to rely on a jenkins instance for this. Sure, if I already had one, it would work, but it feels like an unnecessarily complex setup. I'd prefer to have a combination of a start-once service with a label indicating with which periodicity it should be started, or something like that, and be done with it ;)
But sure, this ought to be implementable as a global service, akin to the rancher dns one, looking at all services identifying which should be kicked when.. and as such could be contributed, +1 on that :) (not saying that a integrated solution couldn't be contributed as well, but perhaps harder to do..)

@eebjr - Jenkins is orthogonal to what this ticket is describing.
"not the one"

+1

+1

+1

+1

+1

Why're not more ppl using the new github feature "Pick your reaction".. ??

It helps reduce unwanted noise considerably, at the same time gives a better overview of the total sum of responses (there's currently 6 👍  for this feature request, and I don't know how many +1's in the comments, as I can't be bothered to count'em). Also, you can now clearly give 👍  on a particular comment too..
What am I missing here?

@kaos, One reason: When you add new comment you can then search all the issues involving you with involves:<myname>. "Pick your reaction" doesn't involve me in the issue and it's forgotten for forever.
If you have another way for tagging an issue for later searching I'd love to know.

Ah, thanks @keras, that makes sense. I suppose that's a good enough reason until @github adds a search predicate for reactions. (would be nice with one for notification status too, so you can find all issues you're currently subscribed to; as that would work for this particular case too)

+1

I have created a service that can start containers on a schedule. Its pretty easy to get going.
First, launch it using this docker-compose.yml:
rancher-cron:
  labels:
    io.rancher.container.create_agent: 'true'
    io.rancher.container.agent.role: environment
  image: socialengine/rancher-cron:0.1.0

Then, have a Start Once container in a service with com.socialengine.rancher-cron.schedule label:
cron:
  labels:
    io.rancher.container.start_once: 'true'
    com.socialengine.rancher-cron.schedule: '@every 10m'
  image: your-cron-image

Then, rancher-cron service will use rancher metadata to find the schedule, and will launch cron container every 10 minutes.

+1

+1

+1

looks weird discution as all tools are in ranchos. my use case: schedule a backup of the embedded cattle database. a bit oldschool maybe, but run perfectly:
#cloud-config
hostname: rancher-server
write_files:
  - path: /var/spool/cron/crontabs/rancher
    permissions: "0600"
    owner: root
    group: rancher
    content: |
      * * * * * /bin/docker exec -t rancher-server1 mysqldump -A > /home/rancher/cattle.sql
  - path: /etc/rc.local
    permissions: "0755"
    owner: root
    content: |
      #!/bin/bash
      crond
rancher:
  network:
    interfaces:
      eth*:
        dhcp: true
  services:
    rancher-server1:
      image: rancher/server
      restart: always
      ports:
        - 8080:8080

et voila!

@saphoooo you are using cloud-config and cron - this has nothing to do with container scheduling, not to mention being unmaintainable.

right, my apologies, I'll put my glasses for the next time...

So far my solution has been a every -shell script. With rancher it usually fits quite well on to some sidekick container. But it doesn't depend on rancher in any way.
Usage:
app:
  image: my-app
  command: every 10mins /srv/bin/periodic-task --args

@keras so this assumes an app container continuously runs, and the sidekick takes care of launching an executable inside the running app container?
This is a cool idea and may work for some cases, although I don't think it fits the use case that is being asked for here:

provision a service whose default state is to have 0 running containers;
at configured time, or periodically, create and start N containers for this service, scheduled onto hosts as per service's scheduling rules;
assume the containers will perform work and exit (?);
at next scheduled run time, if the number of running containers for this service n < N, create and start N - n containers (i.e. consolidate current and desired states)

This should be an extension of the "restart policy" setting, even though it does not map directly to restart policies supported by Docker API.

Odds of this being read after more comments pile in are slim, but for future commenters, it's really worth highlighting that this is a request for a rancher-level feature.  Not a workaround or hack via other supporting containers.
The idea behind this ticket is to avoid having to resort to creative designs and to get scheduling as a first class feature in Rancher so that it can work consistently across the various backends.

+1

+1 :)

Given rancher now supports mesos, chronos could potentially fill this requirements in some use cases.

@opb what about people who prefer cattle or swarm? I personally find Mesos too complex and prefer to stay away from it, cattle and swarm are easier to understand and debug if the case arises.

+1, and an additional thought.
Also allow scheduling docker exec calls into a running container. Obviously rancher can open shells already, so this seems like a reasonable extension for a cron-like scheduler.
Why?
Say I have a gitlab omnibus container running. I'd like to automate backups.
Currently, I can exec into the running container and issue the command gitlab-rake gitlab:backup:create. Great, but the command won't run from a sidekick container, so the so-far proposed cron pattern won't help.
I could schedule a cron job on the host to run this periodically, but every time I upgrade the container, the container id changes. Also, the container name seems to be in flux alternating between something like r-Gilab_gitlab_1 and random_dockername. Not good for programming into a crontab.
So, while we are on the topic of scheduling the run of one-shot containers, why not extend it to include scheduling the execution of commands in already running containers?

Just created an image for every.sh which can run as a sidekick: https://github.com/roflmao/docker-scheduler

@lenzenmi you should be able to achieve your goal with https://github.com/SocialEngine/rancher-cron

@francoishill - See my last comment.

I hear you @atrauzzi, agreed!

You can do this with rancher-cron. Create a sidekick container and use that command as the main container command. Select 'start-once' and it will not try to re-run the command after it exits.

@smazurov - See the comment I just pointed @francoishill to.  And to anyone jumping on this thread: We know there are ways to do this with containers.  That's not what this ticket is about.

+1

Kubernetes is adding "Scheduled Jobs" as a core feature in 1.4 beta (see http://janetkuo.github.io/docs/user-guide/scheduled-jobs/ for preliminary docs). It would make sense for Rancher to provide a unified API+UI to create/manage jobs in Kubernetes and Mesos/Chronos (and of course add an implementation to cattle as well :-))
I wouldn't be surprised if there were already a scheduler of some sort in rancher for maintenance tasks that would benefit from a distributed approach.

+1

+1

+1

+1

+1

+1
I have exactly the same usecase as @lenzenmi.
As already stated in here, I can see it as a small extension on the run-once syntax. I'd just like to say "This docker runs  and please start it once an hour". The container will be responsible for exiting once finished, and if it is still running at the next scheduled time, some action or nothing can happen (maybe a flag on that or something).
Rancher is the perfect place to implement such a thing. It's the orchestrator so help me orchestrate :)

+1

+1

+1

Well, we're about a quarter of the way to an "unscheduled" release, and this is on the roadmap, haha.
In my opinion, this would be a great infrastructure service.

+1

+1

+1

+1

+1

Is this helpful in any way?
https://www.tddapps.com/2017/02/18/how-to-run-any-container-on-a-schedule/
It is a container to run other containers on a schedule.

+1
On Feb 21, 2017 1:12 PM, "Camilo Sanchez"<EMAIL_ADDRESS>wrote:

Is this helpful in any way?
https://www.tddapps.com/2017/02/18/how-to-run-any-container-on-a-schedule/
It is a container to run other containers on a schedule.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rancher/rancher/issues/2143#issuecomment-281447283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVTdMXguOFR6Sh2nbqYtpiUsvUKgruMks5rezb6gaJpZM4GD70O
.

@vincent99 I assume that picture is https://github.com/rancher/container-crontab ? Will it be added to the official catalog soon?

It's already in the community catalog: https://github.com/rancher/rancher-catalog/tree/master/infra-templates/container-crontab

@justmiles Thanks for that. I missed looking in the infra-templates.

It doesn't look like it so correct me if I'm wrong, but does Rancher Container Crontab allow you to schedule starting up a container at a specific time?
Basically my scenario is this: I want to be able to start short-lived containers based on different events happening in the system. I'm trying to cut down on EC2 costs for a server that's idle 99% of the time. The lifecycles of my containers are very predictable as they're essentially sequential.

Is there a trick to starting containers only on the cron schedule? As a rudimentary example, say I want to print the date on the minute every minute, what I get is the date printed when the container is first started up, followed by every minute on the minute.
docker-compose.yml:
version: '2'
services:
  jobs:
    image: centos:7
    command: date
    labels:
      cron.schedule: 0 * * * * *
      io.rancher.container.start_once: true
      io.rancher.container.pull_image: always

rancher-compose.yml:
version: '2'
services:
  jobs:
    scale: 1
    start_on_create: true

Deploy command:
rancher up -d

I get:
Thu Apr  6 22:07:45 UTC 2017
Thu Apr  6 22:08:00 UTC 2017
Thu Apr  6 22:09:00 UTC 2017
...

Basically, I'd like to skip the first run, since the container will first run whenever I run the deploy command.
One trick I could think of was to add something to the command to touch and check a file.
I was hoping to use this for running a script every night at midnight only.
Setting start_on_create: false in rancher-compose.yml doesn't appear to do anything.

@kimgust have you figured how to skip first run? thanks!

We put put a first run check by touching a tmp file in the run script. For a really time sensitive one we also added a time window check.

This could also help
https://github.com/SocialEngine/rancher-cron

Is this available for K8s env?


Encode offsets using a Slice in VariableWidthBlock

The getRegion method copies chunks of the underlying array on every call.
By switching it to a slice we can create a view, instead.

looks good


Variable Documentation

This feature will be pretty similar to Function Documentation but will just do only two of the things that Function Documentation does.
I have a few graphs that have a ton of variables and have a note that says what they do above them, and the fact that Function Documentation removes the separator between the 2 lines makes things much cleaner, and I think that'd be nice for variables as well.
And they could also show the documentation of them inside of the autocomplete menu in the same way that it does for function parameters.

I honestly can't figure out how to add a label to this thing :(

Great idea! I agree it's not possible currently to use Intellisense to document variables. I'm uncertain about what you mean by showing documentation in the autocomplete menu -- function documentation seems to only be shown when inside the arguments of a function.
Maybe the documentation could be shown for only the first matching intellisense result when there are several, or perhaps only the highlighted intellisense result. To avoid layout shifting, the documentation would need to be at the top of the popup when the popup is shown above the cursor, and at the bottom of the popup when the popup is below the cursor.


Ensure all excluded files in _routes.json start with /

Looks like #6530 broke Cloudflare Pages deployments. I think this should fix it, if I understand correctly. cc @jrf0110 and @jahands for visibility
18:01:33.742 | Found _routes.json in output directory. Uploading.
18:01:33.761 | Validating asset output directory
18:01:34.611 | Deploying your site to Cloudflare's global network...
18:01:39.781 | Parsed 1 valid header rule.
18:01:44.711 | Success: Assets published!
18:01:45.627 | Error: Failed to publish your Function. Got error: Error 8000057: Rules must start with '/' in _routes.json

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Not sure why the previous PR didn't trigger a Cloudflare Pages deploy, but this one did and it succeeded, so I'll merge this in order to cut a release


More actions

[ ] Public API changes documented in changelogs (optional)

Signed-off-by:

closed in favor of #7


log.html mixes latin and utf8

When having a look into the log.html file I find that there is an issue with äöü as example.
They show up in utf8 and sometimes as latin1 in the same document which makes it hard to display the file correct.

In the screenshot you see my problem.
text=äöü
or 'text=\xe4\xf6\xfc'
Is there any way to tell the framwork to stick to one encoding?
At runtime there seems to be no issue, my test gets executed correctly.
I run the framework on a windows 10 box with jython 2.7.1 its robot framework 3.1.2

Arguments are logged on trace level using customized variant of Python's repr. When using Python/Jython 2, non-ASCII characters shown as escape sequences:
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_201
Type "help", "copyright", "credits" or "license" for more information.
>>> print repr(u'äöü')
u'\xe4\xf6\xfc'


Add typescript optional chaining support and update packages

Type
Infrastructure
Importance
Need this for #205
Description
TypeScript recently got a minor update (v3.7) and it includes some nice features such as, optional chaining which we can use in our existing code. A good example for using this would be in an if condition that checks if an object exists:
const obj = {
  childObj: {
    prop: 'some property'
  }
}

// check if props exists:
// the old way
if (obj && obj.childObj && obj.childObj.prop) {}

// the new way
if (obj?.childObj?.prop) {}

There is more details on this in the TypeScript 3.7 release notes.
Also, this PR updates the NPM packages. There was one updated package, file-loader, that was causing issues with SVG imports. So I reverted it to its previous version.
Checks

npm t — works fine
npm run check-types — works fine
development build — works fine
production build — works fine

There are some errors that I came across while testing again. So marking this as in progress till I am done fixing the issues.

Turns out, I had switched branches and run npm start in the other branch. So when I got back to this branch and just ran npm run build it failed. Nothing unexpected there, but a few minutes for me to realise 🤦♂


Settings page doesn't load on new HM project upgraded to 1.1.11-preview-160506

Create a new HM project
Upgrade to 1.1.11-preview-160506
Run the project
Click Settings on the HM
Nothing happens..

Incidentally, the settings option works if clicked from the header..
gif..

I'm seeing this as well. Very annoying.

I tried to workaround this issue using the Tapped and Selected events of the HamburgerButton's, with the same result. Something is very wrong...

I get same with any added primary buttons nothing happens

I can workaround this by doing the following on Tapped (and removing PageType):
        private void SettingsPageButton_Tapped(object sender, RoutedEventArgs e)
        {
            MyHamburgerMenu.NavigationService.Navigate(typeof(Views.SettingsPage));
        }
        public static void HighlightSettingsPageButton()
        {
            if (HamburgerMenu.Selected != Instance.SettingsPageButton)
            {
                HamburgerMenu.Selected = Instance.SettingsPageButton;
            }
        }

Don't workaround, this is resolved and I will have a new preview today.

Still happening after the update. Also recorded something I've never seen with the splash screen.. the white screen with the blue box is new to me.

Thank you everyone, both of these have been resolved.

It's fixed! https://github.com/Windows-XAML/Template10/issues/947


Sample AuthenticationManager class code

I replaced tokenEndpoint with our endpoint values from Azure, tried both V1 and V2 endpoint URLs and I keep getting the following. Can someone help point me in the right direction to get it working?
Source=GCQueueToSharePoint
StackTrace:
at GCQueueToSharePoint.AuthenticationManager.<>c__DisplayClass8_0.b__0(Object sender, WebRequestEventArgs e) in G:\Visual Studio Projects\GCQueueToSharePoint\AuthenticationManager.cs:line 55
at Microsoft.SharePoint.Client.ClientRuntimeContext.OnExecutingWebRequest(WebRequestEventArgs args)
at Microsoft.SharePoint.Client.ClientRuntimeContext.FireExecutingWebRequestEvent(WebRequestEventArgs args)
at Microsoft.SharePoint.Client.ClientRequest.SetupServerQuery(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.d__53.MoveNext()
This exception was originally thrown at this call stack:
[External Code]
GCQueueToSharePoint.AuthenticationManager.AcquireTokenAsync(System.Uri, string, string) in AuthenticationManager.cs
[External Code]
GCQueueToSharePoint.AuthenticationManager.EnsureAccessTokenAsync(System.Uri, string, string) in AuthenticationManager.cs
[External Code]
GCQueueToSharePoint.AuthenticationManager.GetContext.AnonymousMethod__0(object, Microsoft.SharePoint.Client.WebRequestEventArgs) in AuthenticationManager.cs
Inner Exception 1:
KeyNotFoundException: The given key was not present in the dictionary.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 80e62a9d-06d0-ebc3-2c99-ce459388182a
Version Independent ID: 07d8b090-b18c-842d-ba1e-0f2b2a127ad3
Content: Using CSOM for .NET Standard instead of CSOM for .NET Framework
Content Source: docs/sp-add-ins/using-csom-for-dotnet-standard.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

@DevOps801,
No need to change the endpoint. "common" is enough for multiple tenant app. Please take a reference of below demo, it works well on my SPO.

https://github.com/kongmengfei/sharedproject/tree/master/CSOMNetCore/ConsoleAppNetCore/ConsoleAppNetCore

And below is my registered app:

Baker Kong
Microsoft SharePoint Community Support

Thanks for the reply. I did a diff on your copy of AuthenticationManager.cs and mine.

I changed the Token Endpoint URL back to original value
In private static TimeSpan CalculateThreadSleep, I changed line 163 to match yours, My copy had the original declaration of var token versus System.IdentityModel.Tokens.Jwt.JwtSecurityToken token
Locally debugged, still got same error.
Decided to experiment using your example in program.cs. For the user login name, I changed it from single i.e. "myusername" to<EMAIL_ADDRESS>Debugged, successfully got token, finally, thanks, but got an error, Exception caught: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified."
Did a search in Github and found a workaround to try which was adding the line, <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> to my project.csproj.user file.
Debugged again and everything looks good.

How come your Azure screenshots look different than mine? Are those older? Essentially have my app already registered in Azure AD with full permissions for SharePoint, certificate generated and applied, etc.. Apparently it is working because I was able to get Title of my target SharePoint 365 web site.  Thanks for your help.  Can you point me to example code that adds a new item to a SharePoint list?  After all this struggling to get to this point to authenticate, thanks to you, I'm having little faith in the MS documentation examples and might spend more time spinning my wheels just to do a simple "add new" which is all I need to do and nothing else. Do you have a working example I can learn and build from? Thanks in advance.

As you have walked through the auth procedure, you can access SP data such as list item via CSOM just like what you did on .Net Framework.

https://www.codesharepoint.com/csom/create-list-item-in-sharepoint-using-csom

By the way, I resolved 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken' issue by adding System.IdentityModel.Tokens.Jwt package in nuget:

Baker Kong
Microsoft SharePoint Community Support

Thank you for the link reference. Btw, the Include for Tokens.Jwt is in my CSProj file.  Also, it's my first time using CSOM. I'm sorry to keep bugging you but using the Create List Item in SharePoint Using CSOM example, I was able to Add New to my SharePoint list. Thank you so much for this start. HOWEVER, only two fields made it to my list in SharePoint 365. For all other fields, I kept getting this error: "[2020-12-10T20:37:53.194Z] Exception caught: Column '(see list of fields below in my code I've commented out)' does not exist. It may have been deleted by another user.  /sites/blah/Lists/blahblah". As you can see in my debugging, I did a sanity check of listing each field to verify my strings match. What am I doing wrong?
`                    // 12-10-2020. Problem updating fields. Only Title and Make fields made it to list.
// Recurse fields collection in targetList to see what the actual field names are?
/*
FieldCollection oFieldCollection = targetList.Fields;
context.Load(oFieldCollection, oFields => oFields.Include(field => field.Title));
context.ExecuteQuery();
foreach (Field oField in oFieldCollection)
{
Console.WriteLine("Field Name- " + oField.Title);
}
*/
                ListItemCreationInformation oListItemCreationInformation = new ListItemCreationInformation();
                ListItem oItem = targetList.AddItem(oListItemCreationInformation);
                oItem["Title"] = wht.NameofPersonSubmittingForm;
                // oItem["Equipment Name Number"] = wht.EquipmentNameNumber;
                // oItem["GCA Blue Tag Number"] = wht.GCABlueTag;
                oItem["Make"] = wht.Make;
                // oItem["Model"] = wht.Model;
                // oItem["Serial Number"] = wht.SerialNumber;
                // oItem["Unit Number"] = wht.UnitNumber;
                // oItem["Station"] = wht.Station;
                // oItem["Description of Problem"] = wht.DescriptionofProblemListeachissueseperately;
                // oItem["Date and Time Submitted"] = wht.DateTimeSubmitted;
                // oItem["UniqueID"] = wht.UniqueID;

                oItem.Update();
                context.ExecuteQuery();`

Hi. So, I searched the web for the error message, "Column xxx does not exist" together with CSOM keyword and came across several articles. Found one that contained the fix and that was to swap the friendly display name of each field with the field's internal name. That solved my issue and I am able to proceed completing my code project. Thanks a lot for getting me past the first hurdle which was the most challenging, then pointing me in the directions I needed to go. Very much appreciated. Have a safe and Merry Christmas.


Allow the "default" color

Situation: I want to specify the color for most of the groups, but leave the default for few groups.
So, I'd like to say
    element "Group" {
        color "green"
    }
    element "Group:onegrp" {
        color "default"
    }

This isn't something I want to add to the underlying Java library, because it also requires changing how all of the diagram renderers/exporters work. I'd suggest just creating a string constant; for example:
!constant "DEFAULT_GROUP_COLOR" "#cccccc"

...

styles {
    element "Group" {
        color "green"
    }
    element "Group:onegrp" {
        color "${DEFAULT_GROUP_COLOR}"
    }
}

Alternatively, if you're using one of the exporters, you can fork it to add your own group style handling code; for example -> https://github.com/structurizr/export/blob/main/src/main/java/com/structurizr/export/plantuml/StructurizrPlantUMLExporter.java#L129

Maybe this could be a good opportunity to create the "constants.dsl" standards include file? (I didn't know it was #cccccc). Maybe worth to move there other constants/defaults as well, not only as a matter to get rid of magic numbers, but also for documentation, for use cases as the original post, and for overrides.


test-branch/execute-job/quoted-authorization/d109b0ba-6a13-4e28-b4f8-1a3bbe6a912a

PR for testing 1221eedbecf779bc73ca6edbdd129d35b8b65894

/canonical/self-hosted-runners/run-workflows 1221eedbecf779bc73ca6edbdd129d35b8b65894


Remove implem, add prepare

Source

Remove CustomImplem() / FallbackImplem() dispatch mechanism (src/implem.jl): the backend operator will always be selected if it exists
Add a preparation mechanism (src/prepare.jl) to create the extras object with six functions: prepare_pushforward, prepare_pullback, prepare_derivative, prepare_multiderivative, prepare_gradient and prepare_jacobian
All of these functions return nothing by default (for now)
All of the differentiation operators will throw MethodError if they get something else than nothing (for now)

Docs

Add a section to the design page on preparation

Tests

Remove implem stuff
Tests both unprepared and prepared versions of each function by supplying either an empty tuple or (extras,) as a trailing args...

Benchmarks

Remove implem stuff
Benchmark both unprepared and prepared versions of each operator if the extras object is not nothing

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

Project coverage is 96.19%. Comparing base (c77cb5f) to head (92829eb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   96.15%   96.19%   +0.04%
==========================================
  Files          21       21
  Lines         338      342       +4
==========================================
+ Hits          325      329       +4
  Misses         13       13

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


Fix issues from review of ecobee weather component

Description:
After the ecobee weather component was merged, some potential issues were found.
This pull request resolves those issues.  Note that the current code outputs a logging error everytime it updates which is certainly unwanted.
Related pull request vreview:
https://github.com/home-assistant/home-assistant/pull/10869#pullrequestreview-80670114
Checklist:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

I was just following the yweather component.  What is the difference in presentation?  I'm happy to do it whichever way.

Only things that are known should be stored in the state machine. Any integration should never return STATE_UNKNOWN.

Okay.  I've made all properties return None when not defined.


Add more Functional Programming Libraries in JavaScript

There are also mori and Immutable.js.

If this gets exhaustive then it'll be too big for this document. Maybe we should move the list to the wiki

https://github.com/hemanth/functional-programming-jargon/wiki/Other-resources ?

We could add a link to the wiki list to the readme and remove the existing list


mtmv add mtmv ut

Proposed changes
related pr #14944
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.04 seconds
load time: 639 seconds
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221231141804_clickbench_pr_72227.html


loading several osm file into one RouterDb

Unfortunately now "append" functionality is not allowed. I tried to remove blocking exception from RouterDbExtensions.cs and it looks like RouterDb was succesfully enlarged after loading one more .pbf file. Please make this functionality because I need to load several .osm.pbf into one RouterDb

The problem with this is that this will result in multiple separate graphs. Let's take the use case when you load two neighbouring countries, the ways at the border won't be joined, meaning you can't route from on country to the other.
The only way to do this is by merging the source osm.pbf files into one and then merging them together... I'll put some samples together so you can merge two osm.pbf files based on OsmSharp.
So, if I remove the check most users will expect the routerdb to be routable from one country to the other but that's impossible; it would mean storing the original node id's along with every routerdb and that would greatly increase memory used for no real gains because there is a workaround.

Ok Ben. I'll wait the example on how to merge 2 or more pbf togheter.
thanks.
-- Alessandro
Il 30 dic 2016 11:34 PM, "Ben Abelshausen"<EMAIL_ADDRESS>ha
scritto:

The problem with this is that this will result in multiple separate
graphs. Let's take the use case when you load two neighbouring countries,
the ways at the border won't be joined, meaning you can't route from on
country to the other.
The only way to do this is by merging the source osm.pbf files into one
and then merging them together... I'll put some samples together so you can
merge two osm.pbf files based on OsmSharp.
So, if I remove the check most users will expect the routerdb to be
routable from one country to the other but that's impossible; it would mean
storing the original node id's along with every routerdb and that would
greatly increase memory used for no real gains because there is a
workaround.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/itinero/routing/issues/47#issuecomment-269830560, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtMQTF5Fn2PnrAST9x1F3BsOQ5hxEFCks5rNYb6gaJpZM4LYavn
.

This is the code sample:
            // merge streams #1 and #2.
            var merge1 = new OsmSharp.Streams.Filters.OsmStreamFilterMerge();
            merge1.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
                File.OpenRead("path/to/file1.osm.pbf")));
            merge1.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
                File.OpenRead("path/to/file2.osm.pbf")));

            // optional: merge in #3
            var merge2 = new OsmSharp.Streams.Filters.OsmStreamFilterMerge();
            merge2.RegisterSource(merge1);
            merge2.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
                File.OpenRead("path/to/file3.osm.pbf")));

            // build routerdb from the merged stream.
            var routerDb = new RouterDb();
            routerDb.LoadOsmData(merge2, Itinero.Osm.Vehicles.Vehicle.Car);

            // write to disk.
            routerDb.Serialize(File.Open("output.routerdb", FileMode.Create));

A few remarks:

One OsmStreamFilterMerge can only merge two streams, you need to combine these to merge three or more.
I discovered a bug with this in OsmSharp, use at least v5.0.4-rc1 otherwise things will fail.
This is pretty new so no warranties but as long as you don't use OSM files from wildly different dates things should work fine. It's best to use extracts from the exact same day when merging them.

I will update Itinero so it requires at least this version of OsmSharp so this should keep working but that will have to wait, not a lot of time during the holidays.

I'll try asap.
Many thanks and have a great 2017
-- Alessandro
Il 31 dic 2016 3:43 PM, "Ben Abelshausen"<EMAIL_ADDRESS>ha
scritto:

This is the code sample:
        // merge streams #1 and #2.
        var merge1 = new OsmSharp.Streams.Filters.OsmStreamFilterMerge();
        merge1.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
            File.OpenRead("path/to/file1.osm.pbf")));
        merge1.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
            File.OpenRead("path/to/file2.osm.pbf")));

        // optional: merge in #3
        var merge2 = new OsmSharp.Streams.Filters.OsmStreamFilterMerge();
        merge2.RegisterSource(merge1);
        merge2.RegisterSource(new OsmSharp.Streams.PBFOsmStreamSource(
            File.OpenRead("path/to/file3.osm.pbf")));

        // build routerdb from the merged stream.
        var routerDb = new RouterDb();
        routerDb.LoadOsmData(merge2, Itinero.Osm.Vehicles.Vehicle.Car);

        // write to disk.
        routerDb.Serialize(File.Open("output.routerdb", FileMode.Create));

A few remarks:

One OsmStreamFilterMerge can only merge two streams, you need to
combine these to merge three or more.
I discovered a bug with this in OsmSharp, use at least v5.0.4-rc1
otherwise things will fail.
This is pretty new so no warranties but as long as you don't use OSM
files from wildly different dates things should work fine. It's best to use
extracts from the exact same day when merging them.

I will update Itinero so it requires at least this version of OsmSharp so
this should keep working but that will have to wait, not a lot of time
during the holidays.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/itinero/routing/issues/47#issuecomment-269867919, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtMQUTZXSF0vV3XxMX8TSR-4O3FcCVSks5rNmongaJpZM4LYavn
.

[ ] Add overload to load from multiple files at once.
[ ] Update Itinero to depend on the latest OsmSharp including the merge fix.


return download URL

Hello,
In this library, what is the canonical way to determine the download URL for a file? As in the cleanest, most correct method. 😄
Context: I spent a bit of time poking at the (sorely out-dated) Plex plugin for Put.io which relies on the putio.py library. One of the missing pieces is a way to acquire the download URL for a given object without actually initiating the download - hence my query above.
Thank you!

Hello @phrawzty. Currently there is no way of getting the download URL with this library. This library works with OAuth2 and it needs to include oauth_token in URL to give access to the downloader. It is not safe to give it anywhere because it has full control over the account.
To give it safely, there is a need for a token that is more restricted to downloading of files only. Put.io has still not implemented OAuth2 scopes in order to do this. Sorry.


Adds CLI for Microsoft 365 v6.10 release blog post

@Jwaegebaert, @milanholemans tagging you here so that we may move any further comments to this PR


Exception when processing command line

I have been trying to add a command line option to my script parsing using the example set out in the documentation, but when I call ExecuteOnObject the script throws an exception. The details are below:
Object reference not set to an instance of an object.
        While running c:\dev\kestrel\demo\tools\sharpmake\0.8.0\bin\release\Sharpmake.Application.exe
        @15/05/2019 10:17:15: Exception message (level 0):
        Unhandled exception in thread pool
        Inner exception message (level 1):
        Cannot create instances of type: DemoProject, make sure it's public
        Inner exception message (level 2):
        Exception has been thrown by the target of an invocation.
        Inner exception message (level 3):
        Object reference not set to an instance of an object.

        Stack trace:
        Inner exception stack trace (level 3):
   at Sharpmake.Assembler.Build(IBuilderContext builderContext, String libraryFile, String[] sources) in C:\dev\Sharpmake-master\Sharpmake\Assembler.cs:line 439
   at Sharpmake.Assembler.BuildDelegate[TDelegate](String functionBody, String functionNamespace, String[] usingNamespaces, Assembly[] assemblies) in C:\dev\Sharpmake-master\Sharpmake\Assembler.cs:line 223
   at Sharpmake.CommandLine.Execute(Type type, Object instance, String commandLine, String[] namespaces) in C:\dev\Sharpmake-master\Sharpmake\CommandLine.cs:line 235
   at Sharpmake.CommandLine.ExecuteOnObject(Object obj, String commandLine) in C:\dev\Sharpmake-master\Sharpmake\CommandLine.cs:line 53
   at BaseProject..ctor(String name) in c:\dev\scripts\BaseProject.sharpmake.cs:line 32
   at DemoProject..ctor() in c:\dev\scripts\demo.sharpmake.cs:line 14
        Inner exception stack trace (level 2):
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Sharpmake.Project.CreateProject(Type projectType, List`1 fragmentMasks) in C:\dev\Sharpmake-master\Sharpmake\Project.cs:line 1371
        Inner exception stack trace (level 1):
   at Sharpmake.Project.CreateProject(Type projectType, List`1 fragmentMasks) in C:\dev\Sharpmake-master\Sharpmake\Project.cs:line 1378
   at Sharpmake.Builder.LoadProjectType(Type type) in C:\dev\Sharpmake-master\Sharpmake\Builder.cs:line 470
   at Sharpmake.Builder.BuildProjectAndSolutionTask(Object parameter) in C:\dev\Sharpmake-master\Sharpmake\Builder.cs:line 304
   at Sharpmake.ThreadPool.ThreadWork(Object obj) in C:\dev\Sharpmake-master\Sharpmake\ThreadPool.cs:line 208
        Root stack trace (level 0):
   at Sharpmake.ThreadPool.Wait() in C:\dev\Sharpmake-master\Sharpmake\ThreadPool.cs:line 174
   at Sharpmake.Builder.BuildProjectAndSolution() in C:\dev\Sharpmake-master\Sharpmake\Builder.cs:line 292
   at Sharpmake.Application.Program.CreateBuilder(BaseBuildContext context, Argument parameters, Boolean allowCleanBlobs, Boolean generateDebugSolution) in C:\dev\Sharpmake-master\Sharpmake.Application\Program.cs:line 585
   at Sharpmake.Application.Program.CreateBuilderAndGenerate(BaseBuildContext buildContext, Argument parameters, Boolean generateDebugSolution) in C:\dev\Sharpmake-master\Sharpmake.Application\Program.cs:line 382
   at Sharpmake.Application.Program.Main() in C:\dev\Sharpmake-master\Sharpmake.Application\Program.cs:line 292

The object I pass in isn't null, so I'm not exactly sure what isn't initialised here

Could you check that your project DemoProject has a public constructor ? It is mandatory to have one, even if empty (not sure why...).

DemoProject is a public class and has a public constructor. It actually derives from a public BaseProject() class that has public constructor taking a single parameter. Would that make a difference?

Hum it shouldn't. Here's a quick example base on the HelloWorld:
using Sharpmake;

namespace HelloWorld
{
    public class CmdLineArguments
    {
        public int DefaultVersion = 5;

        [CommandLine.Option("randomArg", "")]
        public void DisableDebugInfoFct()
        {
            DefaultVersion = 10;
        }
    }

    public class BaseProject : Project
    {
        protected int Version = 0;
        public BaseProject(int version)
        {
            Version = version;
        }
    }

    [Sharpmake.Generate]
    public class HelloWorldProject : BaseProject
    {
        public HelloWorldProject()
            : base(Main.Arguments.DefaultVersion)
        {
            Name = "HelloWorld";

            AddTargets(new Target(
                    Platform.win32 | Platform.win64,
                    DevEnv.vs2017,
                    Optimization.Debug // | Optimization.Release
            ));

            SourceRootPath = @"[project.SharpmakeCsPath]\codebase";
        }

        [Configure()]
        public void ConfigureAll(Configuration conf, Target target)
        {
            conf.ProjectFileName = "[project.Name]_[target.DevEnv]_[target.Platform]_" + Version;
            conf.ProjectPath = @"[project.SharpmakeCsPath]\projects";

            // if not set, no precompile option will be used.
            conf.PrecompHeader = "stdafx.h";
            conf.PrecompSource = "stdafx.cpp";
        }
    }

    [Sharpmake.Generate]
    public class HelloWorldSolution : Sharpmake.Solution
    {
        public HelloWorldSolution()
        {
            Name = "HelloWorld";

            AddTargets(new Target(
                    Platform.win32 | Platform.win64,
                    DevEnv.vs2017,
                    Optimization.Debug // | Optimization.Release
            ));
        }

        [Configure()]
        public void ConfigureAll(Configuration conf, Target target)
        {
            conf.SolutionFileName = "[solution.Name]_[target.DevEnv]_[target.Platform]";
            conf.SolutionPath = @"[solution.SharpmakeCsPath]\projects";
            conf.AddProject<HelloWorldProject>(target);
        }
    }

    public static class Main
    {
        public static CmdLineArguments Arguments = new CmdLineArguments();

        [Sharpmake.Main]
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            CommandLine.ExecuteOnObject(Arguments);
            arguments.Generate<HelloWorldSolution>();
        }
    }
}

Yeah. I appreciate that it shouldn't. I'm not sure now what I was doing that was any different from your example. I've found a hacky way around it now by parsing the command line myself using Environment.GetCommandLineArgs() which isn't ideal, but I needed to make some progress

Could you post your sharpmake files?


Uncaught TypeError: Cannot read properties of null (reading 'getBoundingClientRect')

Browser
Chrome
Package version
3.0.19
React version
No response
Description
While using PieChart, after hovering multiple times on the chart and the segment gets highlighted , or after leaving the page and then getting back to it, an error occurs

this is how I am using it

"react": "^18.2.0"
"@cloudscape-design/board-components": "^3.0.19"
"@cloudscape-design/components": "^3.0.310"
"@cloudscape-design/global-styles": "^1.0.9"
Source code
No response
Reproduction
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[x] I checked the current issues for duplicate problems

@hadinasser0 I notice you mention you're using version 3.0.19 of the package, that's a very old version: if it's correct I'd recommend first updating to the latest to see if that resolves this, as this may already have been fixed.

Closing due to inactivity. Feel free to reopen if you have additional questions


Data could not be retrieved [object Object]

Brief Description: Click on "Order #5e94859f3f8e2d7f130d17da0baebc0df601f37e" displays error message, "Data could not be retrieved [object Object]".
Operating System (OS and version): Ubutnu 15.10
OpenBazaar version:  Version 1.0.6
Hardware:
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce):
Always
Steps to reproduce:

Create "service" product

Observed Behavior:
Error dialog.
Expected Behavior:
Details of paid order. Should display ship to address, and a description of the "service"
Additional info (links, images, etc go here):
http://imgur.com/a/34TAu

I think this is somehow related to a failure in libbitcoin-client. If you can find a stack trace that would help.

Why are we using libbitcoin again? Why not use SPV nodes?

It might be able to do SPV. I wrote an (incomplete) SPV library. https://github.com/cpacia/pybitcoin
The issue is mainly that the moderator can't look up a transaction and get the inputs if it's SPV (since he doesn't learn of the funding tx until after it confirms). I suppose we could have either party to the dispute just send over the inputs and have the moderator just sign them without looking up the tx in the chain.

That's a lot of work though to make that library work 100%.

What's wrong with using an off-the-self SPV library (instead of starting from scratch)?

There aren't any good python ones AFAIK.

@drwasho Are we restricting ourselves to Python? Seems like a wasted opportunity.

We're already python based for the backend. But, show me a good alternative that is cross-platform? And don't suggest anything with Java.

We could wrap a c++ or Java version but kind of annoying if we are just turning around to use it with Python.

@drwasho: https://github.com/jgarzik/picocoin?

this should fixed now.


[Question] Multiple choices in decider

Hey Shelby, thanks for wrapping this all in a package!
I'm often working with multiple choice questions.
From previous experiments with a variety of LLMs I noticed that it's much "easier" for the LLM to answer: "Is X part of Y", "Is X part of Z", etc. than answering "To which categories: [Y, Z] does X belong".
Would multiple choice also be possible with llm_client? Any thoughts on that?
Have a good day!

@rickbeeloo, sorry for the delayed response. Multiple choice is possible, and I've been thinking about how to implement it.
One easy option would build a workflow using the exact_string primitive, and removing it given answers as they're giving, and running until all valid answers are given.
I just pushed a huge update to this library. If you still need multiple choice, I can work on it. I intend to add the workflow as a reasoning workflow at some point.

Hey @ShelbyJenkins! Gonna try it out :)

I have been getting quite some errors when installing, now stuck at:
 --> src/llm_backends/llama_cpp/server.rs:3:12
  |
3 |     gguf::{GgufLoader, GgufLoaderTrait},
  |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `GgufLoaderTrait` in `models::open_source_model::gguf`
  |            |
  |            no `GgufLoader` in `models::open_source_model::gguf`
  |            help: a similar name exists in the module: `LlmGgufLoader`

error[E0432]: unresolved imports `llm_utils::models::open_source_model::gguf::GgufLoader`, `llm_utils::models::open_source_model::gguf::GgufLoaderTrait`
  --> src/llm_backends/llama_cpp/mod.rs:17:12
   |
17 |     gguf::{GgufLoader, GgufLoaderTrait},
   |            ^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `GgufLoaderTrait` in `models::open_source_model::gguf`
   |            |
   |            no `GgufLoader` in `models::open_source_model::gguf`
   |            help: a similar name exists in the module: `LlmGgufLoader`

error[E0432]: unresolved import `llm_utils::models::open_source_model::GgufLoaderTrait`
  --> src/prelude.rs:17:29
   |
17 |         open_source_model::{GgufLoaderTrait, HfTokenTrait, LlmPresetTrait},
   |                             ^^^^^^^^^^^^^^^ no `GgufLoaderTrait` in `models::open_source_model`

llm utils is set at llm_utils={path="../llm_utils"} but this does not exist, changing it to the latest version 0.8.0 gives the above error.
Any idea on how to fix this?

Changing that in the code, to LlmGgufLoader instead gives another bunch of errors, that keeps going. Hope you can make it run cause the workflows look amazing

Doh! Yes, this is a mistake on my part. I've been reworking somethings on the backend and broke the versions of llm_client and llm_utils.
A temporary fix is to use the newest version of llm_client on crates.io. I just checked and the llm_client version on crates uses the correct version of llm_utils. They should work together correctly.
In the future I'll make sure not to commit any breaking changes without updating both libraries at once.

Thanks, I will check it out!
Do you have your email somewhere?
I'm a PhD student from the Netherlands and I mainly work on biological data. This time I want to standardize free texts using LLMs and the workflows seem pretty close to that. It might be cool to collab on this if you are interested.

Hey @ShelbyJenkins, just checking if you saw the above

@rickbeeloo, Sorry for the delay. I've been working on a rewrite of the backend to make it easier to use the library.
That sounds really interesting. I could help with a workflow for this use case.
Happy to discuss more - I have some contacts on my blog here https://shelbyjenkins.github.io/

@ShelbyJenkins I sent you a request on Linkedin. Your Discord link did not have a username it seemed or at least I didnt get it when I pressed it so I just searched "ShelbyJenkins" and sent a request.

Hey, with the new release these issues should be resolved. Since we're chatting off github, I'll close this.


Check object initialization for non existing init function

Purpose
$subject when args are passed.
Fixes #19566
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19929 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19929   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

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 bf189e5...4741105. Read the comment docs.

This is not a patch compatible fix, as this will break the existing code. isn't it ?

This is not a patch compatible fix, as this will break the existing code. isn't it ?

Yes, therefore the changes are pushed to the master branch via PR #19945.


Safari 6.1.6 not triggering notification

This user agent (selected as "Safari 6.1" in User Agent menu) triggers notification:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1 Safari/537.78.2
This user agent (selected as "Default (Automatically Chosen)" does not trigger a notification:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2
Any ideas why?

The only difference I can see besides the OSX version is the Version/6.1 versus Version/6.1.6  in the default.

What code are you using? Are you saying the browsers are detected differently? Are you sure you cleared your cookies when testing?

Yes I cleared cookies when testing each time. When testing with User Agent set to "Default (Automatically Chosen)" in Safari 6.1.6, I do not get any browser update notification at all.  When I change the User Agent setting to "Safari 6.1", I do get the browser update notification. The corresponding actual user agents for each setting are shown in my original post.
This is the code:

Hi @ajshapiro
I figured out the reason.
The second user agent is on mac Mac OS 10.7.
For this versions, there is NO up to date browser available and the system can not be updated on this old macs, so we do not notify the user because he cannot update anyway.
What do you think of this?

OK, I see overriding the User Agent in Safari does also use a later Mac OS version as well.  I do think it would be good to show a message even for an older OS like Mac OS 10.7 so the user knows the site may not be fully functional.  Also, this particular Mac with OS 10.7 CAN be upgraded to a newer OS, so in this case, there is an upgrade path that would allow the user to use as a supported browser, so might as well notify them. Or they might also be able to use another computer that does have a supported browser.
So bottom line, I still think it would be best to show the notification.


Updated default name generation

#2781  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


Consideration: Ability to choose colors for lisa_cluster

Hello,
I love using the lisa_cluster function for presentation maps!  Any chance a modification could be considered to allow a user to provide their own hex codes to be used for branding?  Asking for a friend.  Maybe add it as a parameter in the function?
Thanks,
Alsace Research

thanks for raising. We plan to implement this functionality as a plot method on the Moran_Local class over in esda. The current dev version of esda has a new method called get_cluster_labels that retuns an array of LISA labels aligned with the input gdf. Until the plot method is available, you can use that method to create your own categorical column on a geodataframe, then plot that column using any cmap you like. Hope that helps

awesome; glad it worked out. We will try and get the plot method implemented in esda before long (and get a new release out the door. It's overdue :))

also, fwiw, the explore function is already available, which gives you an interactive leaflet version (and accepts a cmap argument). Not sure what your purposes are, but sometimes the interactive map is more useful (and admittedly, sometimes i just end up screenshotting it)


Tour and other examples doesn't render most text

Is your issue REALLY a bug?

[X] My issue is indeed a bug!
[X] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
When running the tour with cargo run --package tour, most text does not display. See attached screenshot.

If I change the settings to specify the default_font to be MONOSPACE, the tour more or less works correctly, so I suspect there is a font issue with the default font, but I have searched and searched and can't find anything wrong with my system.

I expect the tour to render correctly with sans-serif fonts.
Version
crates.io release
Operating System
Linux
Do you have any log output?
2024-08-31T03:14:38.432005Z  INFO iced_wgpu::window::compositor: Settings {
    present_mode: AutoVsync,
    internal_backend: Backends(
        VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU,
    ),
    default_font: Font {
        family: SansSerif,
        weight: Normal,
        stretch: Normal,
        style: Normal,
    },
    default_text_size: Pixels(
        16.0,
    ),
    antialiasing: None,
}
2024-08-31T03:14:38.434739Z  INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
    name: "AMD Radeon 780M (RADV GFX1103_R1)",
    vendor: 4098,
    device: 5567,
    device_type: IntegratedGpu,
    driver: "radv",
    driver_info: "Mesa 24.2.1-arch1.1",
    backend: Vulkan,
}
2024-08-31T03:14:38.435061Z  INFO iced_wgpu::window::compositor: Available formats: Copied {
    it: Iter(
        [
            Bgra8UnormSrgb,
            Rgba8UnormSrgb,
            Bgra8Unorm,
            Rgba8Unorm,
        ],
    ),
}
2024-08-31T03:14:38.435075Z  INFO iced_wgpu::window::compositor: Available alpha modes: [
    Opaque,
    PreMultiplied,
]

Adding to this, if I install noto-fonts I get correct behavior. This doesn't seem right, but does the text system specifically require Noto Sans to be installed when the default font is used in the settings? I would've expected my fontconfig to be honored. Hopefully I didn't miss anything.

Finally found some fallbacks in https://github.com/pop-os/cosmic-text/blob/e16b39f29c84773a05457fe39577a602de27855c/src/font/fallback/unix.rs#L6. I feel it would be good to document this dependency somewhere or perhaps update the examples to use an included font?

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Same with markdown example on Clear Linux + Gnome + Wayland + Mesa.
I can select lines and click links, but text iteself is not visible.


Added Chess Notations around the Board

minor issue: cannot shift side number bar to the left, it must be on the right side of the board or it takes the board's place in the layout...

Furthermore, @Omoorion chess notations (the numbers at least) start from 1


Added an event for default stable rule "PTRACE anti-debug attempt"

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
Added an event for default stable rule "PTRACE anti-debug attempt"
Which issue(s) this PR fixes:

Fixes #132
Special notes for your reviewer:

Below is the screenshot where Notice message produced in left terminal on executing event (ptrace anti-debug attempt) code as expected

@FedeDP @leogr PtraceAntiDebugAtemmpt rule is trigering on executing this event. Test is also passed see below screenshot

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, GLVSKiriti
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


JavaParser version

Hello,
I really love your work on JavaParser and JavaSymbolSolver. I'm wondering what version of JavaParser JavaSymbolSolver is using? I'm asking this question because when I'm using JavaParser 3.0.1 and JavaSymbolSolver 0.4.0, I got an exception:
An exception or error caused a run to abort: com.github.javaparser.ast.stmt.BlockStmt.getStmts()Lcom/github/javaparser/ast/NodeList;
java.lang.NoSuchMethodError: com.github.javaparser.ast.stmt.BlockStmt.getStmts()Lcom/github/javaparser/ast/NodeList;
at com.github.javaparser.symbolsolver.javaparsermodel.contexts.StatementContext.solveSymbolAsValue(StatementContext.java:91)
at com.github.javaparser.symbolsolver.resolution.SymbolSolver.solveSymbolAsValue(SymbolSolver.java:66)
at com.github.javaparser.symbolsolver.resolution.SymbolSolver.solveSymbolAsValue(SymbolSolver.java:71)
at com.github.javaparser.symbolsolver.javaparsermodel.JavaParserFacade.getTypeConcrete(JavaParserFacade.java:280)
at com.github.javaparser.symbolsolver.javaparsermodel.JavaParserFacade.getType(JavaParserFacade.java:179)
at com.github.javaparser.symbolsolver.javaparsermodel.JavaParserFacade.getType(JavaParserFacade.java:173)
And I found out that getStmts is called with a BlockStmt object. I remember that getStmts was replaced with getStatements. Is that true? If that's the case, what version of JavaParser should I be using?
Thank you very much.

The miracles of open source software: https://github.com/javaparser/javasymbolsolver/blob/master/java-symbol-solver-core/pom.xml
Looks like it's 3.0.0 :) Maven should automatically get the correct version if you only add JSS as a dependency.

@matozoid has replied to this one, closing


Feature Request: Column to know whether github public repo is available for contribution

Can we have a new column called "Github" to check if the org/api has a github link available for people looking to contribute to their APIs? Would save a lot of time for people like me wanting to contribute to OS public API projects.

If any of the maintainers would approve, I can help contribute to this. The column would just signify if a Github repo is available from the link and it would be a boolean value ("Yes" or "No").
I think it would save a whole lot of time for OS contributors willing to contribute to public API projects

I think that's a great idea @sunkanmii, thank you for suggesting it and offering to help.
I'd suggest a column named "Open-source", with "Yes" and "No" values.
What do you think?


esp-idf upgrade to v5.3?

v5.3 realese

change ESP_IDF_VERSION = "v5.3", docargo clean cargo build is ok

Hi! This update is already on the way with https://github.com/esp-rs/esp-idf-template/pull/226

Yeah we need some adjustment in the HAL and new releases of it. Till then you can try to use the p4-support branch of the hals. I try to come back to it and finish it soon.

@SergioGasquez @Vollbrecht thanks!


Wrong results using KITTI sample data

I'm testing kitti_2011_09_30_drive_0028_synced.bag provided as sample data.
When I evaluate it with KITTI ground truth (using evo tools in tum format), there is a large error (1st and 2nd image below).
I haven't changed anything else besides the extrinsic IMU-LiDAR as recommended.
The sample results provided on the main page of this repository (3rd image below) seem to be much more similar to the ground truth and quite better than what I obtained.
I can't understand why I'm not getting the same output if I'm using exactly the same input.
Hence, I wanted to ask how were these results obtained and if anything else must be changed. Or, alternatively, if you have any clue about what I could be doing wrong.

I got the same results as yours


Added MEDIAPLAYER as devicetype

To support the kodi mediaplayer SDK examples. the mediaplayer device type is required.

To support the kodi mediaplayer SDK examples. the mediaplayer device type is required.

Thanks for that. What we want to do is simplify the definition, which buttons a device support to dynamically build its capability.

Will be part of the next SDK update, should be released soon!
Thanks @nklerk for the input.


[Task]: Track JSObject variable usage

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
Track events to measure usage of JSObject variables

Event
Payload
Comment

JS_VARIABLE_CREATED
{ type: Array, String,  Boolean, Object, etc...   }
Track when a new variable is declared

JS_VARIABLE_MUTATED
{ type: Array, String,  Boolean, Object, etc... ,  source: JSObject function, Widget property, etc...  }
Track when a variable is mutated

@bharath31 for the JS_VARIABLE_MUTATED event's payload, the determination of the source of mutation between JSObject function and Widget property is complicated. We could start with tracking the event and the variable type.

@Rishabh-Rathod sure! let's start with basic event tracking


Fixes #717 typos in must be signed in text

Adds non breaking white space to the end of the period and " or".  Closes #717

Thanks @securingsincity !


Test error to extension mapping

Test for: #32766
Complexity: 1

[ ] Any OS - @weinand

Write an extension that throws uncaught errors, e.g from inside an event listener etc, and check that the error is printed on the dev-tool console including the extension id throwing. Be creative and throw error from other places

Don't try this in commands or activation code since there errors are always "caught".
After using a setTimeout I got this feature to show up:


duplicate dependency: camunda-commons-utils 1.2/1.3

This is not releated to the extension, there are different versions used in camunda-bom and camunda-dmn-bom. Hopefully this will be fixed with 7.6


Add updates to the landing page so people know when new features/fixes have been added

This has been requested by a few people. Maybe a update highlights section with the newest features/fixes and click to expand for previous updates? This might be the time to add that versioning suggested by @hluedeke to the site in some way and/or we can tag releases in GitHub.

We can start with a CHANGELOG.md file, which I understand is not very visible to the end user. But it's a start to recording changes made in the application (and can be drawn from to create the user-facing page).

I think that’s a great idea! Maybe add a line with each PR and I can add the date when I merge into main or something like that?

I think we can add our own lines to "Unreleased" and then you can move them into a release/date when you merge, yes. I have a sample file created, so you can take a look here in a bit when I get it PR'd

Added in #175


JavaScript

JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THENI can see the four topics I learned listed along with a suggestion on what I should study first

Issue closed.


Split battle message window into two

Prep for multiplayer battles.  Command input window and battle message window.

Implemented.


unable to install with php 5.6.35

installation documents says it required php 5.4 and above and i got this error on php 5.6.35
Problem 1
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (5.6.35) does not satisfy that requirement.
and installation failed

even i tried older version 1.*  and it gave me following error
Problem 1
- Conclusion: don't install intervention/image 1.6.8
- Conclusion: don't install intervention/image 1.6.7
- Conclusion: don't install intervention/image 1.6.6
- Conclusion: don't install intervention/image 1.6.5
- Conclusion: don't install intervention/image 1.6.4
- Conclusion: don't install intervention/image 1.6.3
- Conclusion: don't install intervention/image 1.6.2
- Conclusion: don't install intervention/image 1.6.1
- Conclusion: don't install intervention/image 1.6.0
- Conclusion: don't install intervention/image 1.5.13
- Conclusion: don't install intervention/image 1.5.12
- Conclusion: don't install intervention/image 1.5.11
- Conclusion: don't install intervention/image 1.5.10
- Conclusion: don't install intervention/image 1.5.9
- Conclusion: don't install intervention/image 1.5.8
- Conclusion: don't install intervention/image 1.5.7
- Conclusion: don't install intervention/image 1.5.6
- Conclusion: don't install intervention/image 1.5.5
- Conclusion: don't install intervention/image 1.5.4
- Conclusion: don't install intervention/image 1.5.3
- Conclusion: don't install intervention/image 1.5.2
- Conclusion: don't install intervention/image 1.5.1
- Conclusion: don't install intervention/image 1.5.0
- Conclusion: don't install intervention/image 1.4.5
- Conclusion: don't install intervention/image 1.4.4
- Conclusion: don't install intervention/image 1.4.3
- Conclusion: don't install intervention/image 1.4.2
- Conclusion: don't install intervention/image 1.4.1
- Conclusion: don't install intervention/image 1.4.0
- Conclusion: don't install intervention/image 1.3.11
- Conclusion: don't install intervention/image 1.3.10
- Conclusion: don't install intervention/image 1.3.9
- Conclusion: don't install intervention/image 1.3.8
- Conclusion: don't install intervention/image 1.3.7
- Conclusion: don't install intervention/image 1.3.6
- Conclusion: don't install intervention/image 1.3.5
- Conclusion: don't install intervention/image 1.3.4
- Conclusion: don't install intervention/image 1.3.3
- Conclusion: don't install intervention/image 1.3.2
- Conclusion: don't install intervention/image 1.3.1
- Conclusion: don't install intervention/image 1.3.0
- Conclusion: don't install intervention/image 1.2.6
- Conclusion: don't install intervention/image 1.2.5
- Conclusion: don't install intervention/image 1.2.4
- Conclusion: don't install intervention/image 1.2.3
- Conclusion: don't install intervention/image 1.2.2
- Conclusion: don't install intervention/image 1.2.1
- Conclusion: don't install intervention/image 1.2.0
- Conclusion: don't install intervention/image 1.1.5
- Conclusion: don't install intervention/image 1.1.4
- Conclusion: don't install intervention/image 1.1.3
- Conclusion: don't install intervention/image 1.1.2
- Conclusion: don't install intervention/image 1.1.1
- Conclusion: don't install intervention/image 1.1.0
- Conclusion: don't install intervention/image 1.0.1
- Conclusion: remove laravel/framework v5.0.35
- Conclusion: don't install laravel/framework v5.0.35
- Conclusion: don't install laravel/framework v5.0.34
- Conclusion: don't install laravel/framework v5.0.33
- Conclusion: don't install laravel/framework v5.0.32
- Conclusion: don't install laravel/framework v5.0.31
- Conclusion: don't install laravel/framework 5.0.30
- Conclusion: don't install laravel/framework v5.0.29
- Conclusion: don't install laravel/framework v5.0.28
- Conclusion: don't install laravel/framework v5.0.27
- Conclusion: don't install laravel/framework v5.0.26
- Conclusion: don't install laravel/framework v5.0.25
- Conclusion: don't install laravel/framework v5.0.24
- Conclusion: don't install laravel/framework v5.0.23
- Conclusion: don't install laravel/framework v5.0.22
- Conclusion: don't install laravel/framework v5.0.21
- Conclusion: don't install laravel/framework v5.0.20
- Conclusion: don't install laravel/framework v5.0.19
- Conclusion: don't install laravel/framework v5.0.18
- Conclusion: don't install laravel/framework v5.0.17
- Conclusion: don't install laravel/framework v5.0.16
- Conclusion: don't install laravel/framework v5.0.15
- Conclusion: don't install laravel/framework v5.0.14
- Conclusion: don't install laravel/framework v5.0.13
- Conclusion: don't install laravel/framework v5.0.12
- Conclusion: don't install laravel/framework v5.0.11
- Conclusion: don't install laravel/framework v5.0.10
- Conclusion: don't install laravel/framework v5.0.9
- Conclusion: don't install laravel/framework v5.0.8
- Conclusion: don't install laravel/framework v5.0.7
- Conclusion: don't install laravel/framework v5.0.6
- Conclusion: don't install laravel/framework v5.0.5
- Conclusion: don't install laravel/framework v5.0.4
- Conclusion: don't install laravel/framework v5.0.3
- Conclusion: don't install laravel/framework v5.0.2
- Installation request for intervention/image 1.* -> satisfiable by intervention/image[1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0, 1.3.1, 1.3.10, 1.3.11, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8].
- Conclusion: don't install laravel/framework v5.0.1
- intervention/image 1.0.0 requires illuminate/filesystem 4.0.x -> satisfiable by illuminate/filesystem[v4.0.0, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
- don't install illuminate/filesystem v4.0.0|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.1|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.10|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.2|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.3|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.4|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.5|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.6|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.7|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.8|don't install laravel/framework v5.0.0
- don't install illuminate/filesystem v4.0.9|don't install laravel/framework v5.0.0
- Installation request for laravel/framework 5.0.* -> satisfiable by laravel/framework[5.0.30, v5.0.0, v5.0.1, v5.0.10, v5.0.11, v5.0.12, v5.0.13, v5.0.14, v5.0.15, v5.0.16, v5.0.17, v5.0.18, v5.0.19, v5.0.2, v5.0.20, v5.0.21, v5.0.22, v5.0.23, v5.0.24, v5.0.25, v5.0.26, v5.0.27, v5.0.28, v5.0.29, v5.0.3, v5.0.31, v5.0.32, v5.0.33, v5.0.34, v5.0.35, v5.0.4, v5.0.5, v5.0.6, v5.0.7, v5.0.8, v5.0.9].


US Core 5, plus code fixes

Adds support for US Core 5: http://hl7.org/fhir/us/core/STU5/index.html
Adds a new config setting: exporter.fhir.us_core_version , when set to something starting with "4" it will export US Core 4-compliant FHIR R4, when set to something starting with "5" it will export US Core 5 compliant FHIR R4.
For the most part this is just a few new profiles on Observation plus a change in the Condition profile. (US Core Condition has been split into two profiles, but we had already been tagging all conditions as encounter-diagnosis so I continued that here).
In terms of the Observation profiles, they are primarily driven by the observation.category, plus the code is used to select the SDOH-assessment profile. The codes used for this are the codes from the PRAPARE survey (encounter/sdoh_hrsn.json) plus I manually added a couple extras that we use in the homelessness, functional status assessments, and HARK screening modules. Overall the required changes to the FHIR exporter are pretty minimal.
Additionally, while I was running the validator to make sure things looked good I saw hundreds of warnings about invalid code displays, so I took this opportunity to fix a lot of them. (There are certainly more that I missed). The changes are mostly straightforward however I saw a few instances where the suggested text didn't align with the current text, so I would look a little deeper and see we were probably using the wrong code rather than the wrong display.

For posterity, I used this little script to assist with validating the new US Core 5 stuff and that I didn't break anything w/r/t US Core 4
#!/bin/bash

SEED=12345

rm -rf output/fhir*

./run_synthea -p 25 -s $SEED -cs $SEED -r 20230217 --exporter.fhir.us_core_version=4

mv output/fhir output/fhir_uscore4

echo Running validator on 4

java -jar ~/Downloads/validator_cli.jar  -version 4.0.1 \
  -ig hl7.fhir.us.core#4.0.0 output/fhir_uscore4/ \
  -extension any -sct us -no-extensible-binding-warnings -level warnings > validator_output_4.txt

./run_synthea -p 25 -s $SEED -cs $SEED -r 20230217 --exporter.fhir.us_core_version=5

mv output/fhir output/fhir_uscore5

echo Running validator on 5

java -jar ~/Downloads/validator_cli.jar  -version 4.0.1 \
  -ig hl7.fhir.us.core#5.0.1 output/fhir_uscore5/*.json \
  -extension any -sct us -no-extensible-binding-warnings -level warnings > validator_output_5.txt

echo Done.

Was about to generate and examine some data locally when I encountered this when running the unit tests:
org.mitre.synthea.export.FHIRR4ExporterTest > testFHIRR4Export FAILED
    java.lang.AssertionError: Validation of exported FHIR bundle failed: Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'|Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'|Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'|Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'|Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category'
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.mitre.synthea.export.FHIRR4ExporterTest.testFHIRR4Export(FHIRR4ExporterTest.java:191)

Hmm ok I'm not getting that error locally or on CI but I'll keep poking

So unfortunately the "right" way to address that error isn't going to work. Loading all of US Core into the validator is going to be a pain, and there's a bug that seems like we can't add just the one CodeSystem. I've added a workaround in that test for this specific CodeSystem, and included as a comment some notes on why and what we should eventually do.