Make stderr output more copy-friendly

When copying the stderr output from the compiler, it seems the clipboard now contains markdown for the link around error codes in the main message (or maybe it's HTML and pasting in GH turns it into markdown). This is causing unnecessarily verbose output in reports. I believe that in most cases people desire just the textual representation of errors, the link structure being either redundant or unnecessary. I would love it if we could capture the on copy event and only push the bare textual output to the clipboard.

Yes, this is the browser / GitHub doing it. For example:

I don't particularly relish attempting to subvert how the OS / browser / GitHub perform core functionality such as copy and paste...

unnecessarily verbose output in reports

I did try to help with that case but was requested to stop.

desire just the textual representation of errors

This can be done by the user by using "Paste and Match Style" or the equivalent browser / OS options.

I agree that this is a case of "the browser and GH being too smart by half", but I'm seeing the effects it's having on our tickets. Sadly any solution that relies on users being proactive will never have perfect compliance.

I did try to help with that case but was https://github.com/integer32llc/rust-playground/issues/671.

That seems to be related but not quite the same thing I was thinking of when I opened this. People that file issues will link to the playground and manually copy paste things. To be honest, I haven't seen the spammy tickets originated in the playground :)

I was curious to see some examples of this problem and searched the Rust issues list:
https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aopen+"https%3A%2F%2Fdoc.rust-lang.org%2Fstable%2Ferror-index.html"
A small handful:
https://github.com/rust-lang/rust/issues/101972
https://github.com/rust-lang/rust/issues/101880
https://github.com/rust-lang/rust/issues/101823
Interestingly, even though the filename/line combos (e.g. src/main.rs:9) are hyperlinks in the stderr output, they don't get Markdown-ified when pasted into issues. I suspect that's because they have href="#" and are handled by JavaScript. That suggests one strategy for handling the E0554 links and copy-paste: make them href="#" as well, and handle clicks using JavaScript rather than generating them as hyperlinks direct to their target.


Revert "Changed DHDD's array output to a "proxy" array"

Reverts wiremod/wire#962
Fixes #1091
Is a replacement for this really needed?
Can't we just update it periodically in Think if AllowWrite is true?
I think this whole AllowWrite feature is a mistake, btw and we should deprecate it somehow.

I don't really see a reason for AllowWrite unless you have multiple things writing cells at a time. I may be wrong though I don't get the use case of it.

Well, you still have wirelink's highspeed capabilities.
Doesn't DHDD have highspeed support?
I don't actually know what DHDD is, btw

it was supposed to be a simple and easy to use hard drive that saves its
data in the dupe file, but I dunno where it's mutated off to now
On Tue, Jan 26, 2016 at 8:19 AM, TomyLobo<EMAIL_ADDRESS>wrote:

Well, you still have wirelink's highspeed capabilities.
Doesn't DHDD have highspeed support?
I don't actually know what DHDD is, btw
—
Reply to this email directly or view it on GitHub
https://github.com/wiremod/wire/pull/1092#issuecomment-174867814.

It used to be "dupable HDD" but now it's turned into "deprecated HDD"

Actually i found out you can easily use it by just accesing the Memory via Wirelink:
wirelink[Adress]
So it is very simple to use :D

Yeah, that's how you access a lot of High Speed entities by wirelink, just accessing them as if they were an array.

Then the main problem is that the wiki is not up to date...

@oninoni The wiki has almost never been up to date, @suunrider afaik is in the process of converting it to the github wiki.
Also the main problem here isn't that as you can figure that out by looking through the forums or probably some tutorials. The main problem is that the way this tool is coded atm makes the debugger tool and E2 arrays "bug".

To be honest, accessing High Speed wirelink should never have been by array. People should have been forced to use helper functions instead like write() or read().

Yes, im making the wiki, soon (e2 wiki is much). If there was a better difference between high speed and wirelink, then wire and read would be really useful. Not only the syntax in e2 is confusing, also wiring is. Beginners think the inputs and outputs in ZCPU are normal numbers (some outputs are; like Error). You don't know if the input is actually a number or a highspeed port.
In my opinion there should be a Highspeed type to really make a difference between numbers, e2's wirelink and the actual highspeed.

Yeah, that's how you access a lot of High Speed entities by wirelink, just accessing them as if they were an array.

In fact, all of them. if you know one that doesn't work, that's probably a bug.

To be honest, accessing High Speed wirelink should never have been by array. People should have been forced to use helper functions instead like write() or read().

You don't access them "by array". You access them via the index operator, just like you'd access an array. It's just syntactic sugar.

@suunrider ZCPU should be switched to wirelink, that's all.
Accessing complex objects via a "number" is just plain wrong.

Let's not get cynical now, shall we?

cynical? are you sure you're using the right word?

Highspeed link was always intended to be accessed as a virtual array (even ZCPU accesses it by same way it accesses arrays), with read/write operations implied by array read/array write.

Tested, working.
Given the prominence of wirelink types, I'm now more convinced that entities shouldn't be able to modify input arrays to modify the internal array of an entity that's outputting it. So merging both @rawinputs and this (which existed to make DHDD work properly in the face of @rawinputs) was a mistake.


The "Request the user to provide additional configuration" link does not go to the right place

Under the "You have the following options to respond" heading, one of the options is "Request the user to provide additional configuration." However, the link for that text directs to https://learn.microsoft.com/en-us/microsoftteams/platform/get-started/first-message-extension, which appears to be invalid because it then redirects to https://learn.microsoft.com/en-us/microsoftteams/platform//sbs-gs-javascript?tabs=vscode%2Cvsc%2Cviscode, which doesn't appear to have any information about Message Extensions or ways for the user to provide additional configuration.

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

ID: 8fb0c2d8-f880-c260-d0be-6b9467e47f8c
Version Independent ID: 7820ffc9-5260-c818-f5fb-672801a67d00
Content: Respond to the task module submit action - Teams
Content Source: msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
Service: msteams
GitHub Login: @surbhigupta
Microsoft Alias: anclear

@AE-MS -Thanks for reporting your issue.
We will check this at our end and update the document accordingly.

Hello @surbhigupta12 - Please help to update the links with relevant link..


[haskellPackages] pandoc-crossref updated to v<IP_ADDRESS>, when it shouldn't be

Hi. Author of pandoc-crossref here.
Not sure why, but apparently pandoc-crossref was updated to v<IP_ADDRESS>, while pandoc is still sitting at 2.2.1. pandoc-crossref v<IP_ADDRESS> explicitly requires pandoc v2.3. Hence, building pandoc-crossref is imposible atm.
So... what's going on here? Catastrophic constraint solver failure? Or is there no constraint solver at all?

Actually that might not be true. I wonder if there is a way to get when pandoc 2.3 comes out?

Nixpkgs is broken though, so I'm not entirely sure why this is closed?

I mean, it's a valid concern that packages in haskellPackages aren't consistent, isn't it?

Do you check version constraints at all when bumping packages in haskellPackages by the way? Because if you do, this issue would indicate that something went terribly wrong there. And if you don't... just why?


Replace calculations of record durations with new Duration method

There are at least two places in the code where the duration of a record (e.g. 2h if the record started at 2PM and ended at 4PM) is calculated like so:
record.end.sub(record.start)

Those calculations should be replaced with a new Duration method:
record.Duration()

The implementation of that method would just be something like this:
func (r *Record) Duration() time.Duration {
    return r.end.sub(r.start)
}

Hey, created a pull request for it including one more use case.
Along with usage of record.end.sub(record.start) there were cases for records being tracked at the moment, this method will handle it too now.

Rssolved by #139.


Incompatible with Textile Backup

The game cannot perform a backup with this mod installed alongside Textile Backup mod.

Hello,  Sorry for the late response - in Hospital.
Which version of minecraft?   Which loader?
Thanks for the report.

Okay, tested this under Fabric for minecraft 1.20 with the mod and copy for backup.
The only file lock in the entire run folder structure was "session.lock".


Webpack Incompatible

Hi,
I've found that if I use the graphql-kafka-subscriptions module (0.2.3) with webpack then I get the following error when the module is required:
path.js:28
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at dirname (path.js:1349:5)
    at Function.getRoot (webpack:///./node_modules/bindings/bindings.js?:151:13)
    at bindings (webpack:///./node_modules/bindings/bindings.js?:60:32)
    at eval (webpack:///./node_modules/node-rdkafka/librdkafka.js?:10:87)
    at Object../node_modules/node-rdkafka/librdkafka.js (/home/vagrant/Git/money-management/subscription-server/dist/app.js:468:1)
    at __webpack_require__ (/home/vagrant/Git/money-management/subscription-server/dist/app.js:20:30)
    at eval (webpack:///./node_modules/node-rdkafka/lib/client.js?:14:13)
    at Object../node_modules/node-rdkafka/lib/client.js (/home/vagrant/Git/money-management/subscription-server/dist/app.js:355:1)
    at __webpack_require__ (/home/vagrant/Git/money-management/subscription-server/dist/app.js:20:30)

This is simple to reproduce by requiring the module in the webpack startup target, e.g
const { KafkaPubSub } = require('graphql-kafka-subscriptions');

It would be great if the module was compatible with webpack.
Kind regards,
Matt

Seems to work with webpack now. I'm using 0.4.0 with webpack: 4.43.0


Is Winutils black, grey, and white or coloured. (UK spelling)

I see in the YouTube videos that Chris' version of WinUtils has coloured boxes and they flash when he clicks on them. I only have grey colours on my version of WinUtils. The grey buttons turn a bit greyer when I click on the buttons, but not coloured. Is Chris's version a special demonstration version? I would like to have the colours appear. I do not know if this is a bug or not. I am using latest version of Windows 10 with WinUtil's laptop tweaks.

Have you enabled dark mode? The light mode does not have any colors

What dark mode is this? I have not seen a facility on WinUtil to enable dark mode.

Check the tweaks section, there should be a toggle for it

I see a button to enable or disable dark mode.  I thought that was something to do with the tweaks the Winutil does to Windows 10 or 11.  I tried to toggle it and it did not make any difference, anyway.

We are working to add a few more themes but right now it is only light and dark mode.

Wow


Development of LearnOSM - ongoing work

Hi & thanks for your interest,
You are reading this issue on a 'staging site' - this is a site I have set up so that development for LearnOSM can be developed and tested before being implemented on the actual site at https://github.com/hotosm/learnosm
This is the staging site - open it in a different tab on your browser & compare it with the main site from the link below.
It's very probable that something you see here will actually arrive in LearnOSM, but this is still a staging site, so if we try something out, & then decide it was a bad idea, we can either alter it or just roll back a few commits and no changes will have taken place on the main site.
There is nothing to stop us trying out several different things at the same time, or shortly after each other, so if there is something you want to try out, fork this site, make the changes & submit a pull request - if this makes no sense to you, please open an issue on this or the main site explaining exactly what is needed & I'll see what I can do.

8th June 2015
Site audit spreadsheet - click on the 'Tidying status' tab
Piwik site visit analysis for May 2015
Discussions on the HOT mailing list, and with me at training sessions (I train people at London UK missing maps events) have confirmed for me that we need to simplify & streamline things for the brand new mappers. A precise of the comments would go something like 'Just tell us what is needed to get helping, nothing else. When we've got the hang of that we can look other things up & perhaps start doing more, but just keep it as simple as possible at the start'.
As I write this, LearnOSM looks like this, and you would never realise there are sections on mobile surveying, detailed editing, remote mapping, OSM data etc. The beginner section has got so full that nothing else is visible. It's also extremely confusing for any beginner - have they really got to read everything in the beginner section before they can start. I don't think they initially need to read about GPS's or Field Papers, so I would like to see mention of them in the beginner text, but move them into the more appropriate mobile mapping section of staging site. If we reduce the number of items in the beginner section, the other menus start to become visible - we have a Further reading on staging which could / should provide some more info about other sections of LearnOSM as well as exterior guides (ToDo)
My plan at the moment is to continue moving the surveying with a GPS section to Mobile mapping, making sure as much as possible that links are sorted out. This also involves updating image locations and removing some of the many redundant images. - This has involved several hours of work so far, and will take me at least 8 more hours of work at the current rate of progress. Once I have the GPS section sorted to our satisfaction I will make the change on the main site.
When the GPS section has been moved I will start work on the Field Papers section - incidentally @michael63-osm has been extremely busy and we have a fully updated section on the latest version of Field Papers in both German & English - many thanks Michael for a brilliant set of contributions.
Future moves of sections? - requires discussion
iD seems to be the editor of choice for complete novices. If we make our beginner section comply with this, then:

move 'id-editor' move from editing to beginner
possibly rename 'detailed editing' to 'editing with JOSM'
move anything with josm in the title out of beginner into new JOSM section
expand beginner - moving forward, so that it encourages a transition into JOSM

Translations
There is some excellent work taking place on the site - Swahili, German & Norwegian. As well as clicking through the site, you can also see the progress on the audit spreadsheet. @althio & I have been providing the support for the translators, but althio has been extremely busy with other matters recently, so the translators have mainly had contact from me.
Translations needed - 'id-editor'  currently in editing & anything else that will be remaining in the beginner section should be our first port of call for all languages.
How to help
Think about where we will eventually end up, and how to get there. I suspect that we will see staged access to tasks in the tasking manager, and it would be extremely good if we can support that using resources in LearnOSM.
Review what I've been doing - mainly need reviewing on the staging site - you can check progress on the audit spreadsheet. Especially if you are multi-lingual, as I may not realize that a linking phrase will need amending. For instance, was GPS referred to in the JOSM section which used to preceed GPS in the beginner. Personally I'm now thinking that the linking comments are a bad idea, as we will need the future flexibility of being able to quickly move sections about & that can be difficult if there are linking comments and you can't recognize them in the language involved. If you find something that needs updating, but you don't know how - click on the create new issue green button top right of this screen, and type what the wrong text says, and what it should say - make sure I have enough information to know where to find the problem.
If you are able to help with the tidying, that would be great. I have an offline copy of the site on my laptop, I update using a file manager, text editor, and git in a terminal - sounds complicated, but I started as a novice in October 2015 & now find it very fast and fairly easy. The difficult & slow bit is the checking of the images - I currently sort out the English section, copying the images to their new destination in a section folder & updating the footer of the *.md file. I then repeat the process for the file in the other language - there are many occasions when the file points to another copy of an identical image, and I just change the path to the image previously used - but I do have to check for localized variations - for instance this Spanish section has mainly localised images which I have to copy across, rename & then update the path in the *.md file.
Translations - Althio has been snowed under recently, but when he gets the chance we can try out Transifex. It would be good if a few people had a look at the systems described, and made suggestions as to how we could most easily make use of this service - I understand we have free use of the system. At the moment we just need to work out how. I believe there are other methods as well - we need a simple 'how to' that relates to our particular problem.

10/06/2015
Site audit spreadsheet - click on the Staging site' tab
Click here to see the staging site in its current state
Hi, I've had a very busy few days working on updating the staging site. The current position English version looks like this in the index (there are other section headings below the JOSM-Detailed editing but I had to stop the screenshot somewhere!

In the other languages, there are less headings - the Glossary for instance is currently only in English (I'd like to see the Glossary increased & translated - it's on @Anwaario 's ToDo list.).
I think the beginner section in each language is now as complete as I can make it, and I'm now working on moving more files into the JOSM section and sorting that out,
I need some help please, especially if you have some language skills. Could you please open the Site audit spreadsheet - click on the Staging site' tab  & look at the beginner section. I need someone to check through the Beginners section - someone for each language column please (preferable if you can speak that language a little, but not essential). There is a row marked up at the top of the Beginners section on the spreadsheet in which to put your name. - go to the staging site click on the language at the head of the page that refers to the column you've put your name down for, and just review everything in the beginners section - things to check:

There are no 'double entries' in the index to the left.
The headings on the spreadsheet appear in the beginners index
Have a read through the section in your selected language - are there references or links that don't work (I think I've cleared them, but there were a lot & I could easily have missed some)
Do all the images display okay - we've inherited some broken links, and I think I've cleared most, if not all, but another pair of eyes would be brilliant.
When you've finished, if everything was okay, just make the square with your name in it go green, or send a message to me or the group so I can update the spreadsheet.

Once all the beginners section is checked, we need to decide;

Do we (I) push the staging site across to the main site so that it appears 'as is', or do we wait until
all files in josm section are also done, or
Some later stage

Bear in mind there are still translations taking place, so the longer apart the push from one site to another, the more likelihood of 'conflicts' (yes, we get them here as well - the mapping ones were easier for me to deal with!). Not sure how we should reach that decision, but I think it should be the decision of the Training Working Group.
In the meantime I'll be working on other bits - we have someone who would like to translate the site into Simplified Chinese (ZH), for instance, and I'd like to get all the 'editing' section moved into JOSM or under other headings as appropriate.

Hey Nick,
I didn't get this because it was sent to my university email ; weird.
I'm working through my list and might actually start editing by the end of this week.
Best,
Anwar
Anwar K. Abdul-Azim, 2/C
Chief Purser, MPM
California Maritime Academy, CSU
E: Aabdul-Azim<EMAIL_ADDRESS>P:<PHONE_NUMBER>
On Jun 10, 2015, at 6:23 AM, Nick Allen (OSM = Tallguy) <notifications<EMAIL_ADDRESS>wrote:
10/06/2015
Site audit spreadsheet - click on the Staging site' tabhttps://docs.google.com/spreadsheets/d/1NlJHTYAYpyyF5o9D8UMAsSzFG7lHY2cIi2mzncx530w/edit#gid=1753852254
Click here to see the staging site in its current statehttp://nick-tallguy.github.io/en/
Hi, I've had a very busy few days working on updating the staging site. The current position English version looks like this in the index (there are other section headings below the JOSM-Detailed editing but I had to stop the screenshot somewhere!
[image]https://cloud.githubusercontent.com/assets/6763965/8082894/adf5c956-0f78-11e5-9426-a87187df4c4e.png
In the other languages, there are less headings - the Glossary for instance is currently only in English (I'd like to see the Glossary increased & translated - it's on @Anwaariohttps://github.com/Anwaario 's ToDo list.).
I think the beginner section in each language is now as complete as I can make it, and I'm now working on moving more files into the JOSM section and sorting that out,
I need some help please, especially if you have some language skills. Could you please open the Site audit spreadsheet - click on the Staging site' tabhttps://docs.google.com/spreadsheets/d/1NlJHTYAYpyyF5o9D8UMAsSzFG7lHY2cIi2mzncx530w/edit#gid=1753852254 & look at the beginner section. I need someone to check through the Beginners section - someone for each language column please (preferable if you can speak that language a little, but not essential). There is a row marked up at the top of the Beginners section on the spreadsheet in which to put your name. - go to the staging sitehttp://nick-tallguy.github.io/en/ click on the language at the head of the page that refers to the column you've put your name down for, and just review everything in the beginners section - things to check:

There are no 'double entries' in the index to the left.

The headings on the spreadsheet appear in the beginners index

Have a read through the section in your selected language - are there references or links that don't work (I think I've cleared them, but there were a lot & I could easily have missed some)

Do all the images display okay - we've inherited some broken links, and I think I've cleared most, if not all, but another pair of eyes would be brilliant.

When you've finished, if everything was okay, just make the square with your name in it go green, or send a message to me or the group so I can update the spreadsheet.

Once all the beginners section is checked, we need to decide;

Do we (I) push the staging site across to the main site so that it appears 'as is', or do we wait until

all files in josm section are also done, or

Some later stage

Bear in mind there are still translations taking place, so the longer apart the push from one site to another, the more likelihood of 'conflicts' (yes, we get them here as well - the mapping ones were easier for me to deal with!). Not sure how we should reach that decision, but I think it should be the decision of the Training Working Group.
In the meantime I'll be working on other bits - we have someone who would like to translate the site into Simplified Chinese (ZH), for instance, and I'd like to get all the 'editing' section moved into JOSM or under other headings as appropriate.
�
Reply to this email directly or view it on GitHubhttps://github.com/Nick-Tallguy/Nick-Tallguy.github.io/issues/17#issuecomment-110749249.

Closing. Info to be held elsewhere


Add keyboard_layout stanza.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

See https://github.com/Homebrew/homebrew-cask/pull/143776.

Actually, looks like @apainintheneck comments addressed (please contradict me if wrong!) so merging now to hopefully get into today's release.


[Docs] explain cluster management + recovery operations

@nicolaka commented on Tue Jan 31 2017
What's the problem/feature request?
just got off the phone with a customer who were very confused on node management with UCP. IMO both swarm and ucp docs lack the end-to-end story around cluster management. Neither docs goes through (in details) the difference between node rm node demote swarm leave and UCP's UI's node remove operations along with the recommended process to remove nodes from a cluster. For UCP especially, how does node operations affect the  HA and what to do when node removal/demotion goes wrong.
I think fixing these issues are crucial for next release:
https://github.com/docker/docker.github.io/issues/1451
https://github.com/docker/docker.github.io/issues/815
What versions/components are affected?
2.1

@alexmavr commented on Tue Jan 31 2017
+1 I agree that our documentation is strongly lacking on that subject and I had a similar discussion earlier regarding several customer issues that arise from this confusion. Our recommended path for removing a node from the cluster / uninstalling UCP from one node should be:

Perform docker node demote for the target node from another manager node. This step can be skipped if the target node is not a manager
(Optional) wait for 5-10 seconds so that node reconciliation kicks in and starts cleaning up the UCP leftovers. This guarantees that adding new nodes later on is not going to result in problems.
Perform a docker swarm leave on the target node
Perform a docker node rm for the target node from another manager node.

@joaofnfernandes commented on Tue Jan 31
Relates to #2699

Fixed in https://github.com/docker/docker.github.io/pull/1792
@joaofnfernandes please close if you agree


Multi lang not working

I've added two languages for my agent i.e "en" & "hi".
When user types in English then en Agent must be executed.
When user types in Hindi then hi Agent must be executed.
But everytime only en Agent get's executed.
On Firebase console I see Request locale: en. Why I'm not receiving hi locale even if user types in Hindi(hi) lang.
How to trigger different locales of same Agent?
How dialogflow understands which locale to post to Firebase functions.

When testing in the Dialogflow simulator, you can only test the selected language for the agent. For example it sounds like English is your currently selected language. If you need to test in other languages, click on the corresponding language chip (e.g. hi) in the upper left of the DIalogflow console to switch languages.
Relevant docs page: https://dialogflow.com/docs/multi-language#testing_languages_in_the_console

The above solution is only successful when I'm testing from Dialogflow. When conversation channel is Facebook, Dialogflow doesn't detect users language.
So if user types in English(Using messenger) then Dialogflow must reply in English and if user types in Hindi(Using messenger) then Dialogflow must reply in Hindi. But in whichever lang user is typing DF response is in English only. Is Detect Intent API useful in this case?

yes , we are not getting other languages is not detect

Hello,
I'm experiencing the same issue. When a request is coming from facebook messenger, dialogflow is not able to recognize the intent. when the same phrase is going through the console, intent (and language too) is well recognized.
thanks for your help
S

I guess Intent detection is only for Google Assistant for now.

is there any way we can send language as an input using speech recognition in dialogflow like
to continue in english say english and to continue in danish say danish

The above solution is only successful when I'm testing from Dialogflow. When conversation channel is Facebook, Dialogflow doesn't detect users language.
So if user types in English(Using messenger) then Dialogflow must reply in English and if user types in Hindi(Using messenger) then Dialogflow must reply in Hindi. But in whichever lang user is typing DF response is in English only. Is Detect Intent API useful in this case?

I am facing the exact same issue, does it have a solution?
I inspected the raw interaction log and the languageCode is always the default language of Dialogflow even though the Facebook account I am using has a different language.
Where can i raise this issue?

I there, I contacted the Dialogflow support team and they told me the following:
"_At the moment, Dialogflow does not yet support multiple languages for any of its built-in integrations - so requests from Facebook Messenger will automatically only be sent to the Default Language of the agent.
However, you can try to make your own implementation for this. You may consider creating a middleware that would serve as a bridge between your Dialogflow agent and your Facebook Messenger bot.
When a user sends a query from Facebook Messenger, your middleware should detect which language was used and then it should send a detectIntent request (https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.sessions/detectIntent ) to Dialogflow containing both the query and a "languageCode" parameter field with the language tag (https://cloud.google.com/dialogflow/docs/reference/language ) of the end-user's language.
You can use Dialogflow's REST API (https://cloud.google.com/dialogflow/docs/reference/rest/v2-overview ) or client libraries (https://cloud.google.com/dialogflow/docs/reference/libraries/overview ) to integrate your middleware to Dialogflow._"
So, I guess it should be a handmade solution for now...


vol-mig: improve error report when the destination is too small

What this PR does
In the case, the destination image is smaller then the source volume, then the volume migration cannot be performed. In this case, the live migration fails with this obscure error message:
Live migration failed error encountered during MigrateToURI3 libvirt api call: virError(Code=1, Domain=10, message='internal error: process exited while connecting to monitor: 2024-11-20T09:00:01.341094Z qemu-system-x86_64: -blockdev {\"driver\":\"raw\",\"file\":\"libvirt-2-storage\",\"offset\":0,\"size\" :1073741824,\"node-name\":\"libvirt-2-slice-sto\",\"read-only\":false,\"discard\" :\"unmap\",\"cache\":{\"direct\":true,\"no-flush\":false}}: The sum of offset (0) and size (0) has to be smaller or equal to the  actual size of the containing file<PHONE_NUMBER>)')

This change makes the error message more intuitive and now you can see in the VMI Migration object:
 migrationState:
  failed: true
  failureReason: 'Volume migration cannot be performed because the destination volume
      is smaller then the source volume: error encountered during MigrateToURI3 libvirt
      api call: [..]

Partially Fixes: https://github.com/kubevirt/kubevirt/issues/12875
Release note

NONE

/cc @awels

/cc @mhenriks can you please take a look


Rule proposal: no reference to this.isMountedin components

I've seen some people write code like if (this.isMounted) instead of if (this.isMounted()). It might be nice to have a rule that notices the former and encourages the latter.
Good:
if (this.isMounted()) {
  ...
}

Bad:
if (this.isMounted) {
  ...
}

It seems like this would be a feature in ESLint, not just this React plugin. Basically this is a warning/error when you reference a function instead of calling it. I tried searching the ESLint docs for it but I couldn't find anything. I don't know much about ESLint but is it even capable of knowing a variable's type? It seems like quite a challenge, esp. when you consider that we are concerned with object methods (eg. this.isMounted), and globals (which are often functions). Now that I think of it, the global config that is available in ESLint makes no distinction as to its type, so it seems quite unlikely that this feature can exist. Am I right?

Basically this is a warning/error when you reference a function instead of calling it.

A general rule like that might be useful, but I think it would be difficult to implement. This request is specifically for this.isMounted in React components.

Not sure it's worth to work on that one...

This method is not available on ES6 class components that extend React.Component. It may be removed entirely in a future version of React.
https://facebook.github.io/react/docs/component-api.html#ismounted

Indeed, it looks like isMounted is going away. https://github.com/facebook/react/issues/5465
Perhaps there should be a rule that prevents the use of it entirely?


Export models with animations

add a button to export the models with BYTE translation type in .obj format(1 model for 1 frame). for QUAT .dae, .glb, .fbx
textures in .png

Unfortunately, .dae and .fbx files are not supported. I'd like to support them, but they are very hefty file formats, with very few options for supporting them properly. Is there a reason you cannot export to .obj then convert to .dae, .glb, or .fbx using another tool?

ok, fbx and dae has bad support, but obj DON'T support rigging, skeletal animations (convert QUAT animations to skeletal) https://www.reddit.com/r/Maya/comments/8dcl2s/export_animation_and_skeleton_with_obj_export/

.mm3d export was the best option I found for exporting rigged models. It's
not ideal for compatibility, but I've yet to find something reasonable to
support which can do rigging. glb might be feasible though. Don't know yet,
I'll need to look into it.
On Tue, May 21, 2024, 11:20 PM acyc070 @.***> wrote:

ok, fbx and dae has bad support, but obj DON'T support rigging, skeletal
animations (convert QUAT animations to skeletal)
https://www.reddit.com/r/Maya/comments/8dcl2s/export_animation_and_skeleton_with_obj_export/
—
Reply to this email directly, view it on GitHub
https://github.com/Kneesnap/FrogLord/issues/31#issuecomment-2123949846,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSCIYPDBNH4U6EHMEKRN63ZDQ2MBAVCNFSM6AAAAABIBW5NP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTHE2DSOBUGY
.
You are receiving this because you commented.Message ID:
@.***>

are you working on implementing this?

In general, this is the very first version how it should look

Model exporting is not something I'm working on right now, MediEvil II
support is the current focus. I'll try to find some time to look at model
exporting again sometime soon though.
On Wed, May 22, 2024, 8:10 AM acyc070 @.***> wrote:

are you working on implementing this?
—
Reply to this email directly, view it on GitHub
https://github.com/Kneesnap/FrogLord/issues/31#issuecomment-2125045651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSCIYP5DQUAMBOSCPIJOHDZDSYNPAVCNFSM6AAAAABIBW5NP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGA2DKNRVGE
.
You are receiving this because you commented.Message ID:
@.***>

Ok I'll close this issue for a while


Allow SR users to use live inline chat mode for diffs

Currently, by default, we enter the accessible diff view for screen reader users.
@rperez030 has pointed out some reasons this might not be ideal.

one cannot move quickly between changes if there are a lot and there’s no way to go straight to the top
he wants more context, being in the actual file without having to dismiss the widget, which discards the whole session
there’s no indentation

If a user changes inlineChat.mode to livePreview, then an in editor experience can be obtained. When in screen reader mode, there's no way to go between the editor and the inline chat widget. When not in screen reader mode, cmd+upArrow / cmd+downArrow toggle between these. (We could probably fix this)
Even if I enter the editor via mouse click, when using arrow keys to navigate the in-editor div, I don't hear audio cues. @hediet would it be possible to support this or any thoughts?

If a user changes inlineChat.mode to livePreview, then an in editor experience can be obtained. When in screen reader mode, there's no way to go between the editor and the inline chat widget.

Just FYI that we are working to deprecate/remove livePreview and that the near future is live and preview only

Based on @jrieken comment I suggest to re-asses this issue with the new behaviour (live and preview, especially the default one)

@jrieken which will be the default?

I have removed the logic that makes all screenreader users use preview-mode. In return, the inline chat widget shows the accessible diff viewer when screenreader mode is enabled (and live-mode is used)

To verify

configure inline chat mode live
let inline chat make a code change
make sure you see an embedded accessible diff view
ensure the diff viewer can be reached by Tab and lines can be visited with arrow keys

Thanks for testing @rperez030.
The behavior now is that the added code appears both in the editor and in the inline chat widget's embedded accessible diff editor.

There are a few issues @jrieken :

it's not clear how to move focus between the editor and the inline chat widget using the keyboard. Is there a way to do this?
if I click with the mouse into the editor and then navigate with arrow keys, there are no audio cue to indicate which lines have been inserted as I navigate

it's not clear how to move focus between the editor and the inline chat widget using the keyboard. Is there a way to do this?

From the input field you can use cmd+up/down to leave and re-enter the widget. Tho, when that's wanted it's probably best to disable the accessible diff viewer altogether (inlineChat.accessibleDiffView-setting). However, we haven't developed for that scenario as the accessible diff view is our "vehicle" for making code changes more accessible.

if I click with the mouse into the editor and then navigate with arrow keys, there are no audio cue to indicate which lines have been inserted as I navigate

Yes, that wasn't the goal. The embedded accessible diff view does this tho (see above)

the deleted lines are not rendered in the editor

Yes, you need to toggle them with the "Show Changes" btn/command

However, we haven't developed for that scenario as the accessible diff view is our "vehicle" for making code changes more accessible.

I think this issue should be reopened as the ask is to have a way to navigate the changes in the editor - not the accessible diff viewer - in an accessible way.

I think this issue should be reopened as the ask is to have a way to navigate the changes in the editor - not the accessible diff viewer - in an accessible way.

That is correct. The accessible diff view does not offer equivalent functionality when it comes to reviewing code suggestions from Copilot. It is effective when reviewing changes in a pull request, for example, where one can explore the underlying code and use the accessible diff view, if needed, to examine a single change. However, when Copilot suggestions are provided only through the accessible view, there is no way for me to obtain context from the code it affects or navigate efficiently when the change affects a number of lines. We received similar feedback from one of the participants at the latest Microsoft WBU Summit, which convinced me that it wasn't just me.
Reviewing code in the editor should be accessible by default. The accessible diff view should be available on demand to review an individual change if needed.

The accessible diff view does not offer equivalent functionality when it comes to reviewing code suggestions from Copilot.

Sorry, but I need to correct this. You are not reviewing code suggestions but changes that have already been made. This is why we use the familiar diff view. It doesn't mean the diff viewer is done but we need to agree on the overall approach of using it (just like we do it for editable or readonly diff editors) Last, the changes are not just in the diff viewer but also in the editor - the diff viewer has some context, the editor the whole context.

Sorry, but I need to correct this. You are not reviewing code suggestions but changes that have already been made. This is why we use the familiar diff view. It doesn't mean the diff viewer is done but we need to agree on the overall approach of using it (just like we do it for editable or readonly diff editors) Last, the changes are not just in the diff viewer but also in the editor - the diff viewer has some context, the editor the whole context.

@jrieken thank you for the clarification. Yes, I understand the changes have already been made in the code, but the user still can reject them, right? If that is the case, it is best to have the whole context accessible when assessing these changes. These are the reasons why I believe access to the editor is necessary.

Context: The few lines of code contained in the diff viewer may not be enough to fully understand the changes, particularly if one is not familiar with the code.
Ease off reading: reading code in the editor is just easier. One cannot only examine the code  line by line, but also character by character.
Indentation: the diff viewer does not expose indentation to screen readers, and even if it did, screen readers do not expect to have to account for indentation when reviewing items in a list. Indentation is essential to understand code written in Python, for example.
Efficient navigation between changes. a code suggestion from copilot may contain changes that are a number of lines apart. In the diff viewer, one must navigate the entire list line by line to read all the changes, while in the editor it should be possible to press Alt +F5 or Shift +f5 to move the cursor between next and previous change respectively. I don't know if that command would work in the context of copilot suggestions, but it does in the context of comparing files.

Does it make sense?

one must navigate the entire list line by line to read all the changes, while in the editor it should be possible to press Alt +F5 or Shift +f5 to move the cursor between next and previous change respectively.

For inline chat this is F7 and Shift+F7 - it will visit all major regions of changes (hunks) which then contain smaller, colocated changes.
I wonder if indentation, ease of reading, and context are general issues with the accessible diff view or not? So, when doing reviews of your own or incoming changes do you think the same shortcomings apply to the accessible diff view? I am asking because inline chat uses very similar visuals as the diff editor does, so it appears natural to also have a similar accessibility component. That doesn't mean the accessible diff view is perfect but I am also not convinced that it is the totally wrong tool for the job.

If that is the case, it is best to have the whole context accessible when assessing these changes. These are the reasons why I believe access to the editor is necessary

Assuming you have the accessible diff view disabled (inlineChat.accessibleDiffView-setting) how should this work? Do you just want a signal, like an audio cue, that says a line has been AI authored/changed? Is that enough or do you want it to read the exact changes. Think of long lines and small changes and how you want to perceive it.

ping @rperez030

hi @jrieken . I'm very sorry I have not followed up with you on this. I'm in meetings for the rest of the day but I will give you an answer tomorrow. One thing I can say is that they key-bindings for moving in and out of the chat are configure so that they don't work with screen reader mode enabled. i will change the rules, test the experience and let you know how far i can go and what the experience is on my en.
again, my apologies for the silence.


add some kind of regex matching instruction

if
  match
    $(a)
    "customer_.+"

or
if $(a) ~= "customer_.+"

if rmatch $(a) "customer_.+"

Like Perl, =~ and !~


Change iOS short description

From: "Learner wallet for VCs"
To: "A place to store your digital educational credentials"

Implemented, closing.


Updated "More Information" Link at Bootstrap Collapse

Updated it to v4.1

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @nicoletlopez. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


address of / reference operator &

We need a way to take the address of a variable. C's & operator.

See discussion in #30.

This could either be "&", or addrof().

Adding priority tag since this likely stops us finishing ntop().

The BPF validator prevents us from passing addresses of known Kernel structures to helpers. I think we'll need to put some thinking on how this operator should work. And since this is not required to finish ntop() (see #566), I'd suggest removing the priority tag and moving it back to 1.0 (or even post-1.0) milestone, unless there's another use case which requires this operator.

I'm glad we might not need it for ntop(), but it keeps coming up. I'll add use cases here as I encounter them.
One that springs to mind is this stuff (this is from a Netflix production server):
# tcpaccept -t
TIME(s)  PID    COMM         IP RADDR            LADDR            LPORT
0.000    7013   java         6  ::ffff:<IP_ADDRESS> ::ffff:<IP_ADDRESS> 13562
0.103    7013   java         6  ::ffff:<IP_ADDRESS> ::ffff:<IP_ADDRESS> 13562
0.202    7013   java         6  ::ffff:<IP_ADDRESS> ::ffff:<IP_ADDRESS> 13562
[...]

It's the IPv4 encapsulated in IPv6 address format. Last time I dealt with these (different kernel) their usage was sometimes a kernel implementation artifact, and for those cases the tools should treat it as an IPv4 as to not confuse the end user. I don't know if Linux is the same. If so, it means we need to be able to pluck out the IPv4 address from that IPv6 address -- and from memory it's not at the start. So it'd involve something like (u32)&args->saddr_v6[12].
I'll document better examples here as I hit them!

How to output the file name?


AA bluetooth profile

Hi. Having looked at your implementation, I think you'd be better off by not connecting using HSP (since you don't really handle it)  but rather providing a complete ServiceRecord property when registering the AA profile.
This could also leave the door open for using ofono to handle HSP properly I guess, besides cleaning up the code and making it make more sense.
(output of sudo dbus-monitor --system attached)
method call time=1700571187.703631 sender=:1.406 -> destination=org.bluez serial=4 path=/org/bluez; interface=org.bluez.ProfileManager1; member=RegisterProfile
   object path "/com/aa/aa"
   string "4de17a00-52cb-11e6-bdf4-0800200c9a66"
   array [
      dict entry(
         string "Name"
         variant             string "AA Wireless"
      )
      dict entry(
         string "Role"
         variant             string "server"
      )
      dict entry(
         string "Channel"
         variant             uint16 8
      )
      dict entry(
         string "ServiceRecord"
         variant             string "<?xml version="1.0"?>
<record>
    <attribute id="0x0001">
        <sequence>
            <uuid value="4de17a00-52cb-11e6-bdf4-0800200c9a66"/>
            <uuid value="0x1101"/>
        </sequence>
    </attribute>
    <attribute id="0x0003">
        <uuid value="4de17a00-52cb-11e6-bdf4-0800200c9a66"/>
    </attribute>
    <attribute id="0x0004">
        <sequence>
            <sequence>
                <uuid value="0x0100"/>
            </sequence>
            <sequence>
                <uuid value="0x0003"/>
                <uint8 value="0x08"/>
            </sequence>
        </sequence>
    </attribute>
    <attribute id="0x0005">
        <sequence>
            <uuid value="0x1002"/>
        </sequence>
    </attribute>
    <attribute id="0x0009">
        <sequence>
            <uuid value="0x1101"/>
        </sequence>
    </attribute>
    <attribute id="0x0100">
        <text value="WebAuto Bluetooth Service" encoding="normal"/>
    </attribute>
    <attribute id="0x0101">
        <text value="AndroidAuto WiFi projection automatic setup" encoding="normal"/>
    </attribute>
    <attribute id="0x0102">
        <text value="WebAuto" encoding="normal"/>
    </attribute>
</record>
            "
      )
   ]

https://github.com/jcwenger/openauto/blob/c3f9c29ce70357bec9c97c2f4a1b13762919bec1/btservice/AndroidBluetoothService.cpp#L38?

This is how the SDP record is constructed when using QT. For DBus you'd have to provide the ServiceRecord property as a string containing XML. Also, the Channel and Role needs to be provided when using DBus, so the RFCOMM server gets registered. QT uses a legacy method for that.

How does this help? I was under the impression (with some preliminary testing) that Android only reacts to HFP connection and looks for Android Auto service only if a HFP sink is connected. Does the extra attributes defined in this service record make it work without having to connect HFP? That would in fact be very beneficial if it works for all!

How does this help? I was under the impression (with some preliminary testing) that Android only reacts to HFP connection and looks for Android Auto service only if a HFP sink is connected. Does the extra attributes defined in this service record make it work without having to connect HFP? That would in fact be very beneficial if it works for all!

That's exactly the case.
I could maybe make a PR that would help you with the changes, but my C++ is rusty.

#22

#72 would achieve not having fake HSP profile.

Fixed with #72


[spiral-matrix] implement exercise

Sorry for this taking so long. But living near Hamburg I had some tough weekend ;)


[Bug] [SFOS 5.0] Missing repository for SFOS 5.0

SailfishOS VERSION: <IP_ADDRESS>
HARDWARE: Jolla C2

BUG DESCRIPTION
Chum GUI doesn't install store, since the repository for SFOS 5.x is not yet available.
STEPS TO REPRODUCE
Install the RPM....and check /var/log/sailfishos-chum-gui-installer.log.txt
ADDITIONAL INFORMATION
Log file:
sailfishos-chum-gui-installer.log.txt
I kinda suspected it wouldn't be ready by the time C2 started shipping, so might as well fill it here first to keep track of it.
I am already missing some applications that are not installable from Storeman, so....no rush :)

See also (the same issue is described there) SailfishOS:Chum GUI Installer issue #46.


Try Rules Engine on TestPyPi (was: Actionstest)

Currently publishing to test.pypi.org Which I believe we could change to not depend on external python repositories. Also values are hardcoded and are pointing to a package which I control, So builds would fail on the codeforboston repo, as I have it set to only accept pushed builds from my fork.
Just a draft PR of some CI & CD tweaks. This PR introduces building&pushing a wheel to github atrifact, which can only be passed between jobs in a workflow. Then pushing the wheel to pypi registry(in this case the test.pypi.org, whos value is hardcoded fyi.)
Then there are changes to the Dockerfile, to pull down the most current rules-engine wheel from pypi (again, using a hardcoded test.pypi.org value)
This PR shouldn't be merged and is just for transparency. There are other ideas on this build process that would eliminate the need for depending on an external python registry.
N.B. I did not implement any wheel version incrementing in this PR. So if we went with this format we'd need to add automated wheel version incrementing, and reflect those in the pyodide-lock.json file as well.
Peripherally related to #116

Note that this pushes to https://test.pypi.org/project/rules-engine/ whereas there are already quite a number of "rules-engine"'s on the real PyPi : https://pypi.org/search/?q=rules+engine

The Dockerfile seemed to work without errors on "production", the push to test PyPi on the Github action did give some errors.
detailed output from deploying

I did just allow permissions for pushes to test.pypi from codeforboston actions to come thru. It wasn't the fix needed(I don't think. I just added the permissions on the pypi side, then re-triggered the pipeline)
I can check it out tomorrow or sunday tho.
N.B. I would still expect the push to test.pypi to fail due to no version changes on the wheel. But expect the permissions error to be resolved

I believe we have integrated all the pieces of this PR indirectly into other branches. We've credited you where possible too :) thanks again. Do you think we've got it all and can close this @thatoldplatitude ?


Color control

Ideally, we should respect NO_COLOR to disable default color output. This can be achived by using the standard library<EMAIL_ADDRESS>inquirer supports this by using chalk.

I'll be honest - I haven't kept up with Deno in a while, so I have a lot to catch up on. I still care about these modules and I do want to eventually update them. I'm hoping I will be able to do that by the end of the month. Thank you for the suggestion, I added it to my todo list!

I'll be honest - I haven't kept up with Deno in a while, so I have a lot to catch up on. I still care about these modules and I do want to eventually update them. I'm hoping I will be able to do that by the end of the month. Thank you for the suggestion, I added it to my todo list!

ask uses iro now to manage colors - which was also updated to support NO_COLOR.


non-human omia disease 5 out of 6

Resolving conflicts leads to weird diffs. Closing and restarting.


Remove past date validations

After discussion with @tom95 we decided we no longer need these validations since it is unnecessary code overhead and prevents past events to be edited.

@bjrne I would like to try this. Could you share more details about which models you want to do this on?

Hey @blackknight75,
I love that you want to help! This is a project from a course from last semester and some students are trying to further expand the project this term in their free time. We don't have a perfect plan for everything yet, so things may be a little uncoordinated or unspecified since we also happen to basically live on the same campus and meet to plan things regularly. If you want to know more, send me a mail or something :)
This issue was intended for removing some validations in the event-Model, especially the one that checks wether an event is in the future. However depending on our other plans for the draft state of an event there may be more obsolete validations or new ones that I can't think of for now.


Inconsistent line ending in genesis files

Files under genesis_files have different line endings. Some are using CRLF while others use LF. Different library versions respond differently to this, with some (maybe older) versions throwing an error when CRLF is used.

Thanks for the feedback!  We'll get that switched asap.  @GavinBendixsen

I have finally fixed this in a PR and am awaiting approval and merging.  Thanks again for letting us know @tmarkovski !
https://github.com/Indicio-tech/indicio-network/pull/16

PR is finally merged.  Thanks again! @tmarkovski


download of SNAPSHOT version like 'development-SNAPSHOT' not supported

Hi Team,
We have requirement to download SNAPSHOT version as  development-SNAPSHOT. (  - task: DownloadPackage@1)
From documentaion its menationed as
version: '1.0.0-snapshot' # Should be normalized version
can this be enhanced to support any SNAPSHOT version?

@abisekwins29
Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Please consider these resources:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow


Update OpenAPI spec, README for 4.5

Added doc, example of introspection of identity token
Update version number
Add OpenSSF badge

Update notification tests were failing due to a bug in calculating durations and because 2024 is a leap year - https://github.com/datakaveri/iudx-aaa-server/pull/278/commits/d85be08d1ccb3ba4b742a466fbe35f912f62b155 should fix it


Restricted admins unable to see Assign Global Roles button in Users & Authentication -> Groups

Internal reference: SURE-3819
Issue description:
When logged in as a user with restricted administrator role, the "Assign Global Roles" button is missing from the UI. Customer is seeing this when Azure AD is enabled. Can also reproduce on an environment with GitHub authentication enabled. According to docs at [https://rancher.com/docs/rancher/v2.6/en/admin-settings/rbac/global-permissions/#restricted-admin] the restricted admin should have this permission:
Assign Global role to groups with settings Yes/No/Yes/As Allowed by the Webhook
Business impact:
Customers using Hosted Rancher (which use Restricted Administrator users) cannot use the functionality to assign a global role to an auth provider group.
Troubleshooting steps:
On support.rancher.cloud, logged in as a GitHub user with Administrator role) and compare with a GitHub user with Restricted Administator role. The restricted admin user did not have the Assign Global Roles button.
Repro steps:

Install Rancher with restricted admin helm chart option turned on.
Enable auth provider such as Azure AD or GitHub
Navigate to Users & Authentication -> Group

Workaround:
Is workaround available and implemented? no
Actual behavior:
Restricted admin users cannot assign global roles.
Expected behavior:
Restricted admin users can assign global roles (as stated in https://rancher.com/docs/rancher/v2.6/en/admin-settings/rbac/global-permissions/#restricted-admin)
From the Ember UI, as a (restricted admin) if they navigate to /g/security/accounts/groups they can see the button and create a group assignment. So appears to be a "new UI" issue.

Thus far, I've tested this with a restricted admin local user and verified I see the assignment button. I don't, however, have a restricted admin I can use with Azure AD. checking with @richard-cox regarding further testing - need a restricted admin azure ad user or an alternative.

FYI - I'm able to reproduce using GItHub auth, so you might give that a try since it might be easier to configure than Azure AD.

@ronhorton I think you've identified a separate issue. The feature is only applicable when a non-local auth provider is configured (the local auth provider i don't think will ever return groups to assign to). I'll create something in GH to track this. In terms of testing, as per David's suggestion, using the Github Auth provider would work. That should ensure no groups are returned in the request to /v3/principals and the new way of showing the button works correctly.

PASS Verified in 2.6-head Commit ID cd3c9d7

added AzureAD as auth provider
added a second user from AzureAD
edited the config on that user to 'restricted admin'
Navigated to Users & Authentication > Groups
Confirmed Assign Global Rules button present


add documentation for getModuleClasses

Implementation: https://github.com/dlang/dmd/pull/14699/

Closing, as the addition was reverted (https://github.com/dlang/dmd/pull/14892)


smalt

I ran my analysis yesterday. It has been at smalt step since. Does it usually take very long to run smalt mapping?

It can take a while to run some of the smalt stages depending on the size of your data and number of genomes you are trying to process
Is it just one smalt mapping job that is taking a long time, or many smalt jobs?  How are you running SNVPhyl (via the Docker Galaxy image)?


ImageWasUploaded Issues

Please check the following instructions before submitting a bug :

Make sure you are using the latest version.
Make sure you read installation, integration, and upgrade document.

Hello guys, I was trying to save some fields information when uploaded a file to the server. Therefore, I change the index.blade to add my new fields. Then, I register in my EventServiceProvider:
ImageWasUploaded::class => [
            'App\Listeners\UploadListener',
        ],

And finally, I create my UploadListener class:
<?php

namespace App\Listeners;

use App\Revision;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;

class UploadListener
{
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    /**
     * Handle the event.
     *
     * @param  object  $event
     * @return void
     */
    public function handle($event)
    {
        Revision::create([
            'path' => $event->path(),
            'revision' => $event->revision,
            'reference' => $event->reference,
            'subject' => $event->subject,
            'leaf' => $event->leaf,
            'description' => $event->description,
            'observation' => $event->observation,
            'path_revit' => $event->path_revit
        ]);
    }
}

However, when I try to get the form value, it is giving error: "message": "Undefined property: UniSharp\\LaravelFilemanager\\Events\\ImageWasUploaded::$revision". What I need to change to make it work?
And provide the followings :

Operating system : Windows 10
Laravel version : 5.6
Package version : 1.8
Screenshots of browser console :

@Tarcisiofl could you paster the code ImageWasUploaded.php as well?

@g0110280 I haven't change it.
<?php

namespace UniSharp\LaravelFilemanager\Events;

class ImageWasUploaded
{
    private $path;

    public function __construct($path)
    {
        $this->path = $path;
    }

    /**
     * @return string
     */
    public function path()
    {
        return $this->path;
    }
}

Do I need to change it to get the parameters? I can view them being send on the console.

The $event instance in public function handle($event) only contain a method path(). Perhaps you should replace $event->revision with something like request()->input('revision').

Thank you, @g0110280 ! It worked using the request()->input('revision').
Now, I will try to change it to only allow one upload each time and to add some validations or change the behavior to only upload if some fields are already populated.


Last update crashes on mac

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

VS Code Version: 1.91.0
ea1445cc7016315d0f5728f8e8b12a45dc0a7286
x64
OS Version:  Mac Os Catalina

Steps to Reproduce:

Try to open the app
Enjoy the crash

Doesn't matter if you try to open it from scratch or any other regular way to lunch it
code --verbose
code --verbose                                                                                 ✔  at 13:46:02   80% 
[main 2024-07-04T11:47:06.475Z] [File Watcher (node.js)] Request to start watching: /Users/garito/Library/Application Support/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/garito/Library/Application Support/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
[6567:0704/134706.506989:ERROR:node_bindings.cc(162)] Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template
[6569:0704/134706.513047:WARNING:pref_notifier_impl.cc(60)] Init observer found at shutdown.

Can someone solve this issue? we can't work today
Thanks

code --disable-gpu
code --disable-chromium-sandbox
code --disable-extensions
crashes too

Downgrading to may's version works as expected

/duplicate of pinned issue https://github.com/microsoft/vscode/issues/219893

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


[Enhancement] str_to_date add trim

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[x] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 10 / 10 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/scalar/ConstantOperator.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
5
5
100.00%
[]

run starrocks_admit_test


Add ability to create/log in to channels

As a user, I want to be able to create a channel so that I can publish to it, and then be able to log in the next time I visit the site to see what I have published to my channel.

https://github.com/lbryio/spee.ch/pull/170


Create release.yml

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

:exclamation: No coverage uploaded for pull request base (main@682cf12). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage        ?   10.30%
=======================================
  Files           ?       12
  Lines           ?      893
  Branches        ?        0
=======================================
  Hits            ?       92
  Misses          ?      793
  Partials        ?        8

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


DTCTester returns 404

Hello,
Trying to download "DTCTester", I've tried w. "DTCPing" but the other machine I am testing against is an AWS RDS i.e. I don't have any access to the underlying operating system of the server and can run "DTCPing" on the other end.
Anyway when I try and download "DTCTester" this link;
https://support.microsoft.com/en-US/help/293799
returns 404, is there any other link to an official Microsoft download for "DTCTester"?
Best Regards - Karl

Closing this thread due to no information available.


only labels layers are counted, resolves #6

in generate stats stdout, only labelled layers are counted

Codecov Report

Merging #7 (93aff69) into main (c807754) will increase coverage by 0.35%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   55.20%   55.55%   +0.35%
==========================================
  Files           3        3
  Lines         125      126       +1
==========================================
+ Hits           69       70       +1
  Misses         56       56

Impacted Files
Coverage Δ

src/napari_labelling_assistant/__init__.py
100.00% <100.00%> (ø)

src/napari_labelling_assistant/_dock_widget.py
47.66% <100.00%> (+0.49%)
:arrow_up:

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 c807754...93aff69. Read the comment docs.


Boot k3os iso from usb stick fails

Hi,
I tried to boot k3os from usb stick (Dell Vostro notebook) and it fails with
cat /proc/cmdline
for x in $(cat /proc/cmdline
case $x in
for x in $(cat /proc/cmdline
case $x in
for x in $(cat /proc/cmdline
case $x in
for x in $(cat /proc/cmdline
case $x in
for x in $(cat /proc/cmdline
case $x in
'[' -z '' ']'
blkid -L K3=S_STATE
'[' -n '' ']'
'[' -n '' ']'
'[' -z '' ']'
pfatal Failed to determine boot mode
echo '[FATAL] Failed to determine boot mode'
[FATAL] Failed to determine boot mode
exit 1
rescue
...

Dropped to bash then.

Having the same issue.  Trying to install on an Intel NUC.

Please try v0.2.0-rc6 should be fixed now.

I get a new error message

I get the same "you need to load the kernel first" error with RC6.  Booting to livecd or rescue shell results in the same error.

+1
I was able to get it to boot by changing the 'current' destination to 4.15.0-47-generic inside the grub entry.
when executing long list version of list sort against directory: /k3os/system/kernel/current, it shows empty.
it seems there is something broken with the symlink.

Thanks kylejeske!
I can confirm modifying the grub entry allow me to boot.  After installing to disk I had the same issue.  I solved by modifying /boot/grub/grub.cfg is the same manner.

Boot iso form usb stick still fails.
error: not a directory.
error: disk 'loop0' not found
error: you need to load the kernel first

Tested with latest release today.

Maybe a problem with "rufus" to write the iso. Tested with dd mode it boots to shell.
Live booted from usb stick looks like just a installer and not a live system.
I'll install and test k3os now...

Is this still an issue? Sounds like with dd mode it booted.

Closing; if the issue is still observed let us know so we can re-open if necessary.

dont use rufus to make the bootsable stick - fixed my problem

Which program did y'all use to make a bootable usb?

The Nightmare continues:
v0.19.2-dev.4
k3os-amd64.iso
No idea what usb creation tool to use:
Tried RUFUS to create bootable USB
   All combinations of "write iso image mode" / "write dd image mode" and GPT / MBR
      some of them will boot into LIVE mode fine, but none will boot from hard drive properly after INSTALL
        not sure how old the BIOS / hardware is, I think it mentions EFI somewhere in bios and when selecting boot but no mention of "UEFI" anywhere

      tried "partition mode: gpt" "iso image mode"
        edited /k3os/system/config.yaml
          "invalid independant arch ELF magic"

tried "partition mode: gpt" "DD mode"
        chose installer, reboot went back to live usb boot automatically
        re-installed from live
        still wont boot

  try https://www.balena.io/etcher/ instead of rufus
    no good

  try https://unetbootin.github.io/
    couldnt choose drive, manually cleaned and formatted fat32
    still couldnt choose drive

  try https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
    chose the last generic linux "grub"
    had to quick format the drive again for some reason?
      booted into "grub for dos"?? grub> prompt?
    try again, second last "unlisted linux"
      boot options dont look right, mentions something about casper, and selection wont work


Delphi XE backport

Just FYI, I have made a Delphi XE backport at https://bitbucket.org/egrange/tbceditorxe
Unless you have too much time on your hands, I do not think the changes should be merged in the main repo, this would result in too much ifdef'ing.

I agree.


Lab 1 Assistant Setup --> Setup

Module: 00
Lab/Demo: 00
Task: 00
Step: 00
Description of issue
Not sure if it affects other labs too, Assistant Setup has been renamed to Setup. Some learners confused it with Assistant (playground).

Repro steps:

Fixed


Evaluation Error

I tried it on 2 different Linux servers, and both give the same error during the evaluation phase:
INFO:tensorflow:Saving checkpoints for 153980 into results/1/model.ckpt.
INFO:tensorflow:Loss for final step: 2.1530373.
Training complete. Evaluating...
INFO:tensorflow:Calling model_fn.
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Starting evaluation at 2019-02-10-12:14:47
INFO:tensorflow:Graph was finalized.
INFO:tensorflow:Restoring parameters from results/1/model.ckpt-153980
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
Simplification of result y0 failed. Saving representations of non-simplified formula.
Error: results/1/graph_y0: syntax error in line 11 near ''

OutOfRangeError                           Traceback (most recent call last)
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1333     try:
-> 1334       return fn(*args)
1335     except errors.OpError as e:
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run_fn(feed_dict, fetch_list, target_list, options, run_metadata)
1318       return self._call_tf_sessionrun(
-> 1319           options, feed_dict, fetch_list, target_list, run_metadata)
1320
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _call_tf_sessionrun(self, options, feed_dict, fetch_list, target_list, run_metadata)
1406         self._session, options, feed_dict, fetch_list, target_list,
-> 1407         run_metadata)
1408
OutOfRangeError: End of sequence
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,138], [?,1]], output_types=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
OutOfRangeError                           Traceback (most recent call last)
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/evaluation.py in _evaluate_once(checkpoint_path, master, scaffold, eval_ops, feed_dict, final_ops, final_ops_feed_dict, hooks, config)
273       while not session.should_stop():
--> 274         session.run(eval_ops, feed_dict)
275
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, fetches, feed_dict, options, run_metadata)
670                           options=options,
--> 671                           run_metadata=run_metadata)
672
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, fetches, feed_dict, options, run_metadata)
1155                               options=options,
-> 1156                               run_metadata=run_metadata)
1157       except _PREEMPTION_ERRORS as e:
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, *args, **kwargs)
1254       else:
-> 1255         raise six.reraise(*original_exc_info)
1256
/usr/local/lib/python3.6/site-packages/six.py in reraise(tp, value, tb)
692                 raise value.with_traceback(tb)
--> 693             raise value
694         finally:
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, *args, **kwargs)
1239     try:
-> 1240       return self._sess.run(*args, **kwargs)
1241     except _PREEMPTION_ERRORS:
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, fetches, feed_dict, options, run_metadata)
1311                                   options=options,
-> 1312                                   run_metadata=run_metadata)
1313
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in run(self, *args, **kwargs)
1075   def run(self, *args, **kwargs):
-> 1076     return self._sess.run(*args, **kwargs)
1077
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
928       result = self._run(None, fetches, feed_dict, options_ptr,
--> 929                          run_metadata_ptr)
930       if run_metadata:
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
1151       results = self._do_run(handle, final_targets, final_fetches,
-> 1152                              feed_dict_tensor, options, run_metadata)
1153     else:
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1327       return self._do_call(_run_fn, feeds, fetches, targets, options,
-> 1328                            run_metadata)
1329     else:
/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1347       message = error_interpolation.interpolate(message, self._graph)
-> 1348       raise type(e)(node_def, op, message)
1349
OutOfRangeError: End of sequence
[[node IteratorGetNext (defined at /home/ubuntu/new/automl/earthquakes2019/EQL_Tensorflow/data_utils.py:110)  = IteratorGetNextoutput_shapes=[[?,138], [?,1]], output_types=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'IteratorGetNext', defined at:
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "/usr/local/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/usr/local/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 505, in start
self.io_loop.start()
File "/usr/local/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 132, in start
self.asyncio_loop.run_forever()
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 438, in run_forever
self._run_once()
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 1451, in _run_once
handle._run()
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/local/lib/python3.6/site-packages/tornado/ioloop.py", line 758, in _run_callback
ret = callback()
File "/usr/local/lib/python3.6/site-packages/tornado/stack_context.py", line 300, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1233, in inner
self.run()
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1147, in run
yielded = self.gen.send(value)
File "/usr/local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 370, in dispatch_queue
yield self.process_one()
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 346, in wrapper
runner = Runner(result, future, yielded)
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1080, in init
self.run()
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 1147, in run
yielded = self.gen.send(value)
File "/usr/local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 357, in process_one
yield gen.maybe_future(dispatch(*args))
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 326, in wrapper
yielded = next(result)
File "/usr/local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 267, in dispatch_shell
yield gen.maybe_future(handler(stream, idents, msg))
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 326, in wrapper
yielded = next(result)
File "/usr/local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 534, in execute_request
user_expressions, allow_stdin,
File "/usr/local/lib/python3.6/site-packages/tornado/gen.py", line 326, in wrapper
yielded = next(result)
File "/usr/local/lib/python3.6/site-packages/ipykernel/ipkernel.py", line 294, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/usr/local/lib/python3.6/site-packages/ipykernel/zmqshell.py", line 536, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2819, in run_cell
raw_cell, store_history, silent, shell_futures)
File "/usr/local/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2845, in _run_cell
return runner(coro)
File "/usr/local/lib/python3.6/site-packages/IPython/core/async_helpers.py", line 67, in _pseudo_sync_runner
coro.send(None)
File "/usr/local/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3020, in run_cell_async
interactivity=interactivity, compiler=compiler, result=result)
File "/usr/local/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3185, in run_ast_nodes
if (yield from self.run_code(code, result)):
File "/usr/local/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 23, in
val_results = eqlearner.evaluate(input_fn=val_input, name='validation', hooks=[evaluation_hook])
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 478, in evaluate
return _evaluate()
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 460, in _evaluate
self._evaluate_build_graph(input_fn, hooks, checkpoint_path))
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1484, in _evaluate_build_graph
self._call_model_fn_eval(input_fn, self.config))
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1517, in _call_model_fn_eval
input_fn, model_fn_lib.ModeKeys.EVAL)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1075, in _get_features_and_labels_from_input_fn
self._call_input_fn(input_fn, mode))
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1162, in _call_input_fn
return input_fn(**kwargs)
File "/home/ubuntu/new/automl/earthquakes2019/EQL_Tensorflow/data_utils.py", line 152, in
val_input = lambda: input_from_data(data=val_data, batch_size=batch_size, repeats=1)
File "/home/ubuntu/new/automl/earthquakes2019/EQL_Tensorflow/data_utils.py", line 110, in input_from_data
xs, ys = ds.make_one_shot_iterator().get_next()
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 421, in get_next
name=name)), self._output_types,
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 2069, in iterator_get_next
output_shapes=output_shapes, name=name)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
OutOfRangeError (see above for traceback): End of sequence
[[node IteratorGetNext (defined at /home/ubuntu/new/automl/earthquakes2019/EQL_Tensorflow/data_utils.py:110)  = IteratorGetNextoutput_shapes=[[?,138], [?,1]], output_types=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
CalledProcessError                        Traceback (most recent call last)
 in
21         eqlearner.train(input_fn=train_input, hooks=[logging_hook])
22     print('Training complete. Evaluating...')
---> 23     val_results = eqlearner.evaluate(input_fn=val_input, name='validation', hooks=[evaluation_hook])
24     results = dict(val_error=val_results['loss'], complexity=evaluation_hook.get_complexity())
25     if test_input is not None:  # test_input function is only provided if extrapolation data is given
/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py in evaluate(self, input_fn, steps, hooks, checkpoint_path, name)
476             return _evaluate()
477         else:
--> 478           return _evaluate()
479
480   def _convert_eval_steps_to_hooks(self, steps):
/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py in _evaluate()
465             eval_dict=eval_dict,
466             all_hooks=all_hooks,
--> 467             output_dir=self.eval_dir(name))
468
469       with ops.Graph().as_default():
/usr/local/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py in _evaluate_run(self, checkpoint_path, scaffold, update_op, eval_dict, all_hooks, output_dir)
1589         final_ops=eval_dict,
1590         hooks=all_hooks,
-> 1591         config=self._session_config)
1592
1593     current_global_step = eval_results[ops.GraphKeys.GLOBAL_STEP]
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/evaluation.py in _evaluate_once(checkpoint_path, master, scaffold, eval_ops, feed_dict, final_ops, final_ops_feed_dict, hooks, config)
272     if eval_ops is not None:
273       while not session.should_stop():
--> 274         session.run(eval_ops, feed_dict)
275
276   logging.info('Finished evaluation at ' + time.strftime('%Y-%m-%d-%H:%M:%S',
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in exit(self, exception_type, exception_value, traceback)
781     if exception_type in [errors.OutOfRangeError, StopIteration]:
782       exception_type = None
--> 783     self._close_internal(exception_type)
784     # exit should return True to suppress an exception.
785     return exception_type is None
/usr/local/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py in _close_internal(self, exception_type)
814       if not exception_type:
815         for h in self._hooks:
--> 816           h.end(self._coordinated_creator.tf_sess)
817     finally:
818       try:
~/new/automl/earthquakes2019/EQL_Tensorflow/evaluation.py in end(self, session)
62             self.complexity = calculate_complexity(kernels, biases, self.fns_list, self.thresh)
63             if self.generate_symbolic_expr:
---> 64                 save_symbolic_expression(kernels, biases, self.fns_list, self.store_path, self.round_decimals)
65
66     def init_network_structure(self, model, params):
~/new/automl/earthquakes2019/EQL_Tensorflow/evaluation.py in save_symbolic_expression(kernels, biases, fns_list, save_path, round_decimals)
173             print('Simplification of result y%i failed. Saving representations of non-simplified formula.' % i)
174         expr_to_latex_png(res, path.join(save_path, 'latex_y' + str(i) + '.png'))
--> 175         expression_graph_as_png(result, path.join(save_path, 'graph_y' + str(i) + '.png'), view=False)
176
177
~/new/automl/earthquakes2019/EQL_Tensorflow/evaluation.py in expression_graph_as_png(expr, output_file, view)
130     graph = Source(dotprint(expr))
131     graph.format = 'png'
--> 132     graph.render(output_file.rpartition('.png')[0], view=view, cleanup=True)
133
134
/usr/local/lib/python3.6/site-packages/graphviz/files.py in render(self, filename, directory, view, cleanup, format, renderer, formatter)
186             format = self._format
187
--> 188         rendered = backend.render(self._engine, format, filepath, renderer, formatter)
189
190         if cleanup:
/usr/local/lib/python3.6/site-packages/graphviz/backend.py in render(engine, format, filepath, renderer, formatter, quiet)
181     """
182     cmd, rendered = command(engine, format, filepath, renderer, formatter)
--> 183     run(cmd, capture_output=True, check=True, quiet=quiet)
184     return rendered
185
/usr/local/lib/python3.6/site-packages/graphviz/backend.py in run(cmd, input, capture_output, check, quiet, **kwargs)
157         stderr_write_bytes(err, flush=True)
158     if check and proc.returncode:
--> 159         raise CalledProcessError(proc.returncode, cmd, output=out, stderr=err)
160
161     return out, err
CalledProcessError: Command '['dot', '-Tpng', '-O', 'results/1/graph_y0']' returned non-zero exit status 1.

Thanks!
We might have an idea where this is coming from.
We will be issuing a fix shortly!


Passord

Create a password that when entered correctly will do something.

#----Password set up----
entered = ""
armed = False
def Password():
global armed
if (entered == "42351"):
drawer.goto(-650,340)
drawer.color("black")
drawer.write("Correct Password! Press the button to drop the bomb. :)))", font=("Arial", 35, "bold"))
armed = True
def four_pressed():
global entered
entered = entered + "4"
Password()
def Two_pressed():
global entered
entered = entered + "2"
Password()
def Three_pressed():
global entered
entered = entered + "3"
Password()
def Five_pressed():
global entered
entered = entered + "5"
Password()
def one_pressed():
global entered
entered = entered + "1"
Password()
def fire_missle(x,y):
if (armed == True):
drop()
else:
print("fail to launch")
#------------Events--------------
wn.onkeypress(four_pressed, "4")
wn.onkeypress(Two_pressed, "2")
wn.onkeypress(Three_pressed, "3")
wn.onkeypress(Five_pressed, "5")
wn.onkeypress(one_pressed, "1")

the code needs to be indented but other than that looks good


Add testing farm initial documentation

This PR adds documentation about Testing Farm, Packit's testing service.
The testing is linked from Packit Service documentation, which is the
only supported way of testing for now.
Signed-off-by: Petr Splichal<EMAIL_ADDRESS>Signed-off-by: Miroslav Vadkerti<EMAIL_ADDRESS>

@psss fyi

Meh, will recreate this, some conflict splipped through ...


Why do some class names begin in lower case?

I am in the process of refactoring, cleaning up and changing a few things in this project, and am also implementing new features. I'll submit a pull request later though I'm not sure all my changes will be welcome.
One thing I'm trying to understand and am feeling the urge to change are certain class names that begin in lower case, e.g. loaderAdapter, modelConverter, materialLoader, skeletonImporter, textureImporter. Why's that and should I just go ahead and capitalize them?

I think it's not some but all the non-ogre classes defined in this project are named like that. So let's just say it's consistent "as is"... ^^"

Because it's quite unusual to have class names start in lower case and I think that makes the code look confusing.

Because it's quite unusual to have class names start in lower case

Well, depend on who's co-debase we're talking about 🤷♂
For instance, the C++ standard library is fully snake_case. There's no conventions, we are not in the Java world.
My opinion is that if it's consistent it's okay. In my more recent project all my classes are also in snake_case, but I don't attach too much importance to this.
I don't think renaming all the classes in a library to change capitalization of the name is of any use.
Other than that, contributions are more than welcome.

I'll submit a pull request later though I'm not sure all my changes will be welcome.

This library is a really "early stage" project. Treat that like a version0.2.somthing-pre-pre-pre-pre-alpha 😂 There are many things that could be improved. There are many missing features. This is only finding and loading a single mesh inside the glTF hierarchy, and it's lacking features. The Texture loader is resource wasteful and many, many more things that I am not happy about when I look at this library.
The only main design goal was to hide the header only libraries used internally to the user. This explains the pimpl based architecture.
It was thrown together hastily because I just needed to be able to load something out of blender with a PBR material and I was frustrated with the lack of Ogre 2.0 .mesh support in late 2017.
Obviously keep patches for Pull Request easy to process by making them touch one feature and work by themselves and if they improve something, they are probably worth being merged :wink:

Ok I will try to get comfortable with the lower case class names for now. Thanks 🙃


Can't find yargs

Error: Cannot find module 'yargs'
Require stack:
- /usr/lib/node_modules/ascii-art/bin/ascii-art
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/lib/node_modules/ascii-art/bin/ascii-art:3:13)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/lib/node_modules/ascii-art/bin/ascii-art' ]

Yargs has been pulled as a core dependency, due to security warnings... thus you cannot currently install -g.
I will update the docs shortly... for now just use the experimental CL with npm install -g ascii-art-cl which will be the mainline for commandline use going forward.

Hello @khrome  ! I'm interested in using your library and possibly contributing to it. The images on the readme look really good!
Installing like you said on the comment of this thread

npm install -g ascii-art-cl

yields another error
me@computer:~/$ ascii-art image -B 32 -a solid ./escher.jpeg
logging conf:
[String: '{\n' +
  '    // defaults go here.\n' +
  '    "bitdepth": 2,\n' +
  '    //request-as-request, fetch-as-request, axios-as-request\n' +
  '    "requestlib": "request-as-request",\n' +
  '    "artwork": []\n' +
  '}']
/home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/bin/ascii-art:250
                    conf.artwork.forEach(function(source){
                                 ^

TypeError: Cannot read properties of undefined (reading 'forEach')
    at /home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/bin/ascii-art:250:34
    at done (/home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/node_modules/app-term-kit/app.js:508:16)
    at CLApp.plugins (/home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/node_modules/app-term-kit/app.js:513:10)
    at /home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/bin/ascii-art:240:21
    at /home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/node_modules/app-term-kit/app.js:365:9
    at Timeout._onTimeout (/home/me/.nvm/versions/node/v17.3.0/lib/node_modules/ascii-art-cl/node_modules/app-term-kit/app.js:305:20)
    at listOnTimeout (node:internal/timers:568:17)
    at processTimers (node:internal/timers:510:7)

Node.js v17.3.0

Am I missing something? Did the CLI's API change on this experimental version?
(I put a console.log on the conf object that raises the error, maybe it helps)

If you just want to use it, try npm install -g<EMAIL_ADDRESS>(the last version to bundle yargs), if you want to dev pull the ascii-art-cl repo and do a dev install. Either way should work.
The specific error you're getting is related to plugin support which allows you to 1) fetch remote URLs and 2) install plugins for particular ascii-art sources. (the last release was the first feature complete version for this change, so it's likely that this broke something).
The good news is come 3.0 there will be command line tests, to limit this (currently tests are for the API only)

Hi, I was wondering if there are any plans to still release version 3.0 or another version that solves these errors? Is there anything I can do to help work on it?

Hi there, I'm currently working on a rebuild for 3.0 under /ansi-art which uses a more maintainable structure (via ESM from UMD), makes Color a non-static interface and improves the interface for using subcomponents piecemeal (without altering the top level interface) among other improvements. The "fix" is a downgrade to 2.7.0 or any version prior, unless you want to play with the plugin system (which is probably a nest of complexity you don't want to take on, runs in multiple targets, and is EOL in favor of ESM for 3.0).
If you really want to contribute I'd be happy to take a few smaller contributions in the ansi-art namespace then we can do something like go through a roadmap (most of the modules left are clean ports of what's already there and the base components and interfaces are all done), then a top level wrapper to tie it all together.
Thanks for the interest!

Thanks. That sounds like a reasonable approach for 3.0. Would you also be open to a version 2.7.1 that would at least update the dependencies with security fixes (and fix this yargs issue)?
I actually started down that path working on a fork of the code, but I couldn't get the browser tests to run. Were these actually passing in 2.7.0? If they were, is there a way to get them working in 2024? (It seems like they depend on very old versions of things, and Karma itself is deprecated.)

Yes, I would be open to a patch fix, but only if it works in the browser, in node and on command line. The karma tests do not work currently, but I have an ESM harness for 3.0 forward that runs everything in different environments using a common suite and also transpiles source to cjs and tests that, too.  more here
Given that karma is EOL, an then pain of getting the tests running on a single suite originally, I'm reticent to attempt to port them to another test runner for the point release. I'm somewhat flexible on this, but I don't want to double the test surface in the process, but would be OK with most any mocha/should compatible(Really just basic syntax) solution.