Cohort Planning Board

Getting ready for Sheffield, our plan is to support the new Programme Delivery team to launch a cohort in the way we launched North West (an improvement on that actually).
Overall goal
Our goal is to launch a calm, friendly, self-organised community with low drama and high engagement. We want to meet our regulatory requirements in the simplest way possible, and empower our volunteers to run the classes with the trainees in a collaborative and grown up way.
https://github.com/orgs/CodeYourFuture/projects/110/views/1
Specific task
Please review the (fab! Thanks @Dedekind561!) cohort launch issues and add context, links, and simple guidance based on what we've all learned running NW6 so far. Do not unnecessarily assign tickets to staff -- keep this for regulatory risks (safeguarding, insurance, GDPR). Assign to the milestones I have set up instead of using labels if possible. Overall, let's keep our eye on clarity and simplicity.
Links, notes, resources

Here's the Miro I made mapping this journey from the trainees' perspective https://miro.com/app/board/o9J_kujEdws=/
(This board should be from the community perspective. )

I have provided pre-written comms for the launch process as well as template spreadsheets and forms. These are as simple and minimal as possible and stored in https://drive.google.com/drive/folders/1ljfmzX0HW9-OkA5DCNN4c6spgA3nPLvu

I have rewritten the Personal Circumstances form, Access Needs form, and created the signposts site to handle pastoral signposting and manage/secure data collection. We must minimise data collection. There's still too much happening.

(Instead of linking directly to specific files/docs, link to folders/sites so we can change out the docs without breaking these issues. )
Next steps
Mini deadline
We'll do a session with the Proms on this board in about ten days so please try to take a look before then and make some updates. For example, Mariana you may wish to write a short checklist for Cohort Founders.  This session will be roles and responsibilities. We will do more sessions.
Let's also iterate on our strategy document for launching Sheffield, incorporating @gbencci 's notes and changes. Is agreeing a strategy the first task in launching a cohort? More possible tickets in comments.

@SallyMcGrath , should this be the milestone rather than 1 ticket - and we'll have smaller tickets? If yes, let me know and I can make this change

Oh good note, @kfklein15 . Yes please! 🙏

@Dedekind561 and @MarianaVazquezCYF what is your progress on this?
@kfklein15 I cannot find any place in our calendars for us to meet about this for weeks, so let's not have that call be a blocker, Please run over the tickets and make any additions/deletions. B
I've been adding context on the tickets as much as pos (without linking to specific pages as those links will die, just going to general places like signposts)
At some point I will go and replace the text on the ITD steps with the steps stored as version 4. I definitely suggest reading them as many steps previously done after ITD are now done during (eg Rainbird)
So far as I understand it, we can't switch to version 4 as this would require everyone who has signed up to get a new email address? (This sounds mad but I swear I didn't dream it.)

Hey there,
We did a first pass going through the issues on the board. We did the following:

Added a Community setup milestone with steps that need completing before ITD launch
In general, we made it so that the steps in each section should block the start of a new section. In other words, you have to finish ITD launch before going on to ITD land etc.
We transferred some old steps from CYF Guide launching a cohort and prepared the ground for the doc's deletion

The work was captured in this issue: https://github.com/orgs/CodeYourFuture/projects/129/views/1?pane=issue&itemId=53883109
I'm going to de-assign us now so others can pick this up.

I have created a milestone and added the tickets I could see on our board.
https://github.com/CodeYourFuture/Programme/milestone/9
Should no 1, 2 and 3 of your post be separate tickets in this milestone or would you prefer keeping this ticket, @SallyMcGrath ?
If you prefer keeping this ticket, I suggest amending the title explaining what this is, since it is a bit generic.

Hello, I am super confused about the comment on slack  (https://codeyourfuture.slack.com/archives/C05KCLBLG48/p1709069868598329?thread_ts=1709064729.794909&cid=C05KCLBLG48) about this specific task! there were a few things mentioned on this ticket, but the actions in my understanding, were:

review the work, Assign to the milestones you set up instead of using labels, and update with things we need, for example, a checklist for cohort founders! Therefore this is what we did!
Summarise the Sheffield strategy with German comments, (I did another ticket about this)

Let's have a meeting because I don't know what we did wrong, and of course, we didn't throw all your work (not intentionally)  why should we?  :(
Therefore, I think this was more a problem with communication and tickets.

Yes I think it's gone wrong somewhere because I asked a bunch of questions on the tickets which nobody answered, and you made the old process again, instead of looking at the one I had worked on. You added duplicate tickets and tickets that were no longer needed, from the old process.
Then you opened the board to the staff and they started adding even more tickets of tasks I have eliminated.
It didn't help me at all and now I have to go and sort out the mess and then do this ticket myself I think? As we're on a deadline and you are away.
I definitely would like some info on how I could have said this more clearly and what to do next time. Would also like to understand why you didn't respond to the questions on the board.

Perfect lets talk in our call and I can share my screen about how I see github, I normally go to this link: https://github.com/issues/ and I see the tickets I have been assigned or I have been mentioned, and I don't see any ticket where I need to respond to questions! So maybe I am missing something ?
and yes I understand the frustration, I am also frustrated, I was on another deadline and I needed to work on this ticket for extra 2 hours ... :( so its challenging so before if passes again, let's see where we all made a mistake.

Hey folks, here are my notes on why this was unclear:

this wasn't an issue, it was a milestone
the instructions below suggested we needed to update the board:

Please review the (fab! Thanks @Dedekind561!) cohort launch issues and add context, links, and simple guidance based on what we've all learned running NW6 so far.

And then:

Assign to the milestones I have set up instead of using labels if possible. Overall, let's keep our eye on clarity and simplicity.

I have interpreted this as reviewing and updating the cohort planning project board. I've further interpreted this as assign issues to the milestones - so I thought your intention involved us adding tickets to the milestones you created on the planning board.  So we added some additional tickets to the board against the milestones using the old Launching a cohort document (which hadn't been deleted).
And also:

We'll do a session with the Proms on this board in about ten days so please try to take a look before then and make some updates.

This isn't very clear because it is in the Next Steps section but is also the Specific Task. This is part of why I assumed this meant that we were to review and update the board.
In summary
In my head, the existing cohort planning board was based on this document:
https://docs.google.com/document/d/1vwKuyAslQwWH4DOtfqa20baFili0cupor3LRES6XPgI/edit
So, in my mind, it made sense to double-check this document for any missing steps and add them to the planning board (which is from the community perspective and not the trainee perspective). This was made more confusing as this document hadn't been deleted - so I assumed it still contained useful information.
One problem is that I'm not confident about the source of truth anymore (but I was reasonably confident about it before going into this piece of work). I now have far less confidence in the source of truth.

Re questions:

Is agreeing a strategy the first task in launching a cohort?

I didn't answer this question because it was in Next Steps. In my head it made sense to review and update the board and then deal with the actions in the Next steps section.

So far as I understand it, we can't switch to version 4 as this would require everyone who has signed up to get a new email address?

This sounds like you're unsure of something instead of really asking us about something. I made this assumption because I'm coming to this piece of work cold.

@SallyMcGrath can I edit the existing project or would you like me to create a new one so you can retain the original?


Not possible get value from control over UIA3

I have WinForms Panel element with DateTime. In UIA2 i can take value over ValuePattern (28.01.2016 8:28 for example). In UIA3 ValuePattern not supported and value in LegacyIAccessiblePattern return only 28 January 2016.  How I can take full value in UIA3?

You can't. For some WinForms controls, UIA2 and UIA3 behaves differently. So if you've got a WinForms application, you should probably stick to UIA2.

I have many controls which working only in UIA3. If I use UIA3 and UIA2 together - UIA3 part working as UIA2.

Yes, this is the expected behavior. If you need to use uia2 and uia3, you need to run the tests separate (see FlaUIs UITests on how this can be done).

But some framework(Testcomplete for example) see all element. What method they use for getting control properties? WinAPI?

They also use debug information, memory anlysis and other methods to get additional information. FlaUI only uses UIA.

Do you know open/free framework for gui testing working without UIA using?

No. I am planning to add some features to FlaUI but currently I lack free time to do this right now. As a workaround, you can always use Capture and image compare for stuff you cannot get by FlaUI right now.

@Roemer what features you have in mind? Maybe you can add some backlog items with 'help wanted' tag?

@pedroNew See #162


149 - Restructure Shared Components Folders

Issue Number
Closing #149

The base PR was #145 (merged into dev)
The commit of this PR is 1f5d64f

Purpose/Implementation Notes
Please see the latest UI here.
Updated the shard components folders and names and fixed the imports.
Types of changes

Breaking change (fix or feature that would cause existing functionality to not work as expected)

Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist

[x] Lint and unit tests pass locally with my changes

Please remove commit af05657 from this PR. This PR should only be the restructuring of the src/components folder. We should group the yarn/nextjs changes in a different PR. thank you

@davidsmejia  I've set yarn's latest stable version back to v1.xx and removed the af05657267e125a56055793e0731368f97823f2d change, pls take a look, thank you!

Please remove .yarnrc.yml and revert the changes in yarn.lock as well. Again I would like to not have anything in this PR besides what was discussed in the ticket. Thanks

Opps, sorry for the yarnrc yml! I reverted back yarn.lock to exactly match the previously closed PR #145 version (I included PATCH and MINOR releases for packages but they're now removed. We should included these releases in the future PR since they are backward compatible and fix some 🐛 etc. Please take a look, thank you!


StreamResultEncodingOverride

ability to override XmlReader xml parsing Encoding

Thanks for the PR @nhennebe67! I've left a few comments.
Please also:

Fill out the individual contributor agreement
Submit a new PR against the develop branch

Done created a new PR against develop, "Stream reader encoding #48".
Submitted individual contributor agreement


An alert should be displayed,when only 7 days left, in the notification section.

When we install and run the application and connect myself with Sampoorna, then a notification is shown "You are protected". At that place or somewhere we also notified the user,it will be helpful for them.
I want to work on it, If possible, then assign it to me.

I want to work on  this issue can you please assign  me

I would like to work on this issue please assign it to me.

I want to work on notifications so. If possible assign this issue to me.

Is anyone still interested in working on this issue?

Is anyone still interested in working on this issue?

I want to work on this

Is anyone still interested in working on this issue?

I want to work on this

What's the level for this issue?

sure, can you create a Mockup first? Like how and what you are planning to implement?

for the level, we can decide that after you can tell us what you are planning to do

sure, can you create a Mockup first? Like how and what you are planning to implement?

Can you please first explain me whole issue on discord if possible so that I have a clear picture and right direction.

for the level, we can decide that after you can tell us what you are planning to do

No problem

@aastha01chauhan, I had created this issue. So I want him to explain it once. If you allow me.

is anyone working on this?

If anyone explain the issue then I'll work on this issue.

I'm a GSSoC contributor ..
I would like to work on this section...
would you please assign me to this task ??


ReactNative 0.60.3

Hello,
I'm currently using RN0.60.3.
But with the autolinking, I found that the podspec was targeting a wrong library.
'React/RTCImage' needs to be change by 'React-RTCImage'.
Thanks

@tsan It's fixed in v2.0.1

Thanks, awesome mate!


Update the LdapRealmDefinition to expose the modification operations.

This will also require some form of update to check that the final realm configuration does actually support modification.

Resolved by Issue #158


Describe about menu customization

Cluster admin can customize the menu bar by ConfigMap from KF1.3 (some parts of this feature was already available in KF1.2).
Since it is not written in the current documentation, this PR add a document about it.

Centraldashboard: update menu items in manifests #5706https://github.com/kubeflow/kubeflow/pull/5706

In addition, recent update improved the capability to support namespaced menu items. I wrote it about it too.

Make it possible to add Namespaced menu items #5871https://github.com/kubeflow/kubeflow/pull/5871

(Since I'm not a native English speaker, I appreciate if some reviewers correct unnatural sentences.)

@toshi-k I believe this sort of information should go under the Components / Central Dashboard section, rather than Further Setup and Troubleshooting:
https://www.kubeflow.org/docs/components/central-dash/

@thesuperzapper I've never seen that page before, but I totally agree with you. I moved the new document to the section for the central dashboard.
@RFMVasconcelos Could you review or LGTM my latest PR ?

@RFMVasconcelos Thank you for your review. I updated my PR as you proposed. Please review my latest PR again.

Awesome @toshi-k !
Thank you for contributing this to the community :)
/lgtm
/approve


Wait for already existing but progressing LBaaS resources

When retrieving existing Object that are not yet ready, we now wait for them in Reconcile() before doing anything else
This also does some code reformatting and cleanup.
Checklist

[x] added release notes to Unreleased section in CHANGELOG.md

References

ANXKUBE-234

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

Sadly CodeClimate seems to stumble over the Go 1.18 code and does not parse reconciliation.go at all .. that's why this PR fixes that many issues. Some fixes are valid, most are not ^^'

I manually approved three issues CodeClimate brought up, two of which aren't really new but just moved and the third isn't really problematic and requires more refactoring.


Slider not displaying on iPhone & iPad

short description of the bug / issue, provide more detail below.
The slider won't display on iphone nor ipad. (The site is behind a firewall only accessible in office, so mobile testing has been a bit tougher than normal). And by won't display, it is completely blank where the slider should be. In the office we use iphone 6 and ipad mini for testing. Also b/c of restrictions, cannot install safari on my work laptop nor chrome on ios devices to troubleshoot if it is a safari or ios issue.
====================================================================

use this jsfiddle to reproduce your bug:
http://jsfiddle.net/rayhova/ywunbxht/1/
we will likely close your issue without it.
The above fiddle is a portion of the code, it's technically 3 rows with a slider on each row.
Steps to reproduce the problem

...  go to website (in this case go to jsfiddle)
...

====================================================================
What is the expected behaviour?
...
For slider to show
====================================================================
What is observed behaviour?
...
On website slider doesn't appear on ipad (mini) or iphone (6). Slider did show on jsfiddle on iphone 10.
====================================================================
More Details

Which browsers/versions does it happen on? ios/safari
Which jQuery/Slick version are you using?  jquery1.9.1 /  slick 1.9.0
Did this work before? Never on iphone/ipad,

Having similar issue where the sliders won't show on ios 8 it seems. Well it didn't work on iPhone 6 or iPhone 7

Having the same issue with slider not displaying on mobile

Having the same issue as well.  Only on iphone/ipad products.  Seems to work fine on Android devices and all desktops.

In my case the problem was that I was using webp files that are currently not supported on IOS. Converting images into jp2 solved my problem.

I will need to come back. Setting a height for one of the elements fixed the issue. Ill look back over the code to note which element


Broadcast v3 evaluate

This PR had some other dependencies. So closing this and there's a newer PR 4703 (https://github.com/NervanaSystems/ngraph/pull/4703)


Sort project list by...

Is it somehow possible to sort projects by custom criteria in Project Manager?

It is on the list.

Cool! Thx!

check the commit f3ed7ce, PM now supports sorting by recency.


[Question] margin auto functionality with Flexbox?

I would like to create a layout where I have 3 centered row elements:

A fixed width <Image> component aligned to the left
Another element <Text> element aligned to the left, adjacent that can expand to fill the empty space
A final item, aligned to the right (a <SwitchIOS> component to be exact)

I'm looking to create something like this (except with the two grouped items on left instead of the right):

See example here: http://jsfiddle.net/sQAFY/106/
I've attempted various combinations of flexbox, and absolute position with no real luck. I know I'm missing something, but what I feel like I need is to set marginRight: 'auto' on the second element.
Any suggestions or pointers would be greatly appreciated! Very excited to start using React Native, great work all!

Looks like I answered my own question, I just set the following:
  memberItem: { // Container
    alignItems: 'center',
    flexDirection: 'row',
    marginVertical: 5,
  },
  avatar: { // First, left aligned item
    flex: 1,
    height: 50,
    marginRight: 20,
    width: 50,
  },
  name: { // Stretched middle component
    flex: 3,
    fontWeight: 'bold',
  },
  activeToggle: {  // Last, right aligned item
    flex: 1,
  }

This is not going to do what you want. flex: 1/3/1 means that the first element will take 1/(1+3+1) of the space, the second 3/5 and the last one 1/5.
What you want is
<View>
  <View style={{width: 50}} />
  <View style={{flex: 1}} />
  <View style={{width: 50}} />
</View>

so, the two elements around are fixed, and use flex: 1 to make it take the remaining space

@vjeux gotcha, still trying to wrap my head around flexbox. Do the components need to be <View>s? I'm assuming not. Thanks for your quick reply!

Also, what if the last element doen't have a fixed width (eg. a <SwitchIOS> component)?

They ultimately need to be View, but you can make a custom component that eventually outputs a view with the style. It'll work with SwitchIOS since it has an intrinsic size (equivalent of hardcoding width: 50)

Awesome, thanks so much for the info, cheers @vjeux!

I know that flexbox is pretty new to many people, but at least it's a standard and what you learn on React Native can be reused for your future web projects :)

I'm really excited to pick it up. Cheers @vjeux and team for all your hard work on React Native!

@vjeux Maybe I'm not understanding your conversation but I don't see how the opening example is resolved by the subsequent examples. To achieve it (in Web) you need to use margin-right: auto on flex item 3. However as I just tried using "auto" as a value to marginRight in React Native causes an error:

If I am correct then I think this should be considered a bug/missing feature of the RN Flex implementation.

@vjeux, I agree with @jasonkuhrt, as stated by the W3C, the correct way to handle this case in web development would be to use auto margin (see https://www.w3.org/TR/css-flexbox-1/#auto-margins).
Thus, I would expect this example to be solved by following code:
<View style={{ flexDirection: 'row' }}>
  <View>
     <Text>flex item 1</Text>
  </View>
  <View>
     <Text>flex item 2</Text>
  </View>
  <View style={{ marginLeft: 'auto'}}>
     <Text>flex item 3</Text>
  </View>
</View>

Is there any plan to support this behavior ?

margin: auto is now supported by the underlying layout engine that powers react native (yoga), so it should be easy to add support for it if it doesn't work already

@vjeux Would you be so kind as to let us know what version of React has the version of yoga that supports margin: auto? Thanks!

@vjeux Very cool, thanks.

I have the same question as @jmarchello as I'm getting the margin auto error mentioned above. react-native 0.45.1

+1

marginHorizontal: 'auto'

I find it odd that auto margins are still not supported. Are there any plans to support this? Can we reopen this ticket?

I discover the "margin" feature on flexbox today and is very very VERY useful.
Do you want to support it in react-native?

I can use marginLeft and marginRight for auto now, but not marginHorizontal, so just split them to 2 properties.


"Total elapsed time" can not be right

Describe the bug
When I run ./vcpkg install --triplet=x64-osx, the Total elapsed timeis 2.25 us. But the time is definitely longer than a second. When I run with time:
➜  vcpkg git:(aubio) $ time ./vcpkg install --triplet=x64-osx
/Users/leanderSchulten/git_projekte/Lichtsteuerung
Detecting compiler hash for triplet x64-osx...
All requested packages are currently installed.

Total elapsed time: 2.25 us

./vcpkg install --triplet=x64-osx  1.61s user 0.24s system 95% cpu 1.945 total

Environment

OS: happens everwhere
Compiler: is not important

Expected behavior
The Total elapsed time should display the real total elapsed time, not some "random" very short subtime
Alternative Solutions
Rename Total elapsed time to Time to install packages (I don't know what this time should indicate).
But a real Total elapsed time would be helpful

For example, in a pipeline environment it would be interesting how long vcpkg waited on the .vcpkg-root file lock

I personally think this is a bug, but I don't have a clue about this.


fix(chore): dashboard requests to database equal the number of slices it has

SUMMARY
Hello!
Superset 2.1.0 has an issue where the requests made when getting a dashboard repeat the same number of times as the number of slices. This is a significant problem because, for example, if the dashboard size is 1MB and it contains 100 slices, each user opening this dashboard generates 100MB of requests. Considering logs, endpoint checks, etc., it can reach 500-1000MB per user!
I have fixed this issue by retrieving the dashboard using id, uuid, or slug, and checking the access using the raise_for_dashboard_access function, which verifies access to the data sources.
TESTING INSTRUCTIONS

Create a dashboard with 2 slices.
Set the sqlalchemy logs level to DEBUG.
Make a request to dashboard//charts/.
Observe that the dashboard requests are repeated for each slice.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@dpgaspar Hi! I see you added a commit that joins slices to the dashboard query (https://github.com/apache/superset/commit/3761694d72ba77332d9af68ec67fb178a25b1292). Just wondering why it was added? I removed the join and there don't seem to be any failing test cases.

@dpgaspar Hello! Can look at the PR?

@john-bodley @dpgaspar Hi!
Any progress on this problem?

I mean, when we join slices in the query, the number of rows returned corresponds to the number of slices in the dashboard. Each row contains the JSON of the dashboard. As a result, if the dashboard JSON is 1MB in size and there are 100 slices, it will return 100MB, not 1MB.


BUG: new page is starting with footer section in view

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
https://github.com/user-attachments/assets/93fa3e8e-eb53-4107-81d4-82d1d89edde7
Expected behavior: when user change the page, the first section of page should be visible and page should get scrolled to top automatically.
Bug: when user is in footer section (bottom scrolled) and he changes the page from nav links, he gets redirected to that page but gets in the footer section. As you can see in the video, when changing the page when footer is visible, not getting scrolled to top, not a good user experience.
I would like to solve this issue
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue
[X] I check the issue doesn't exist

duplicate as #215


fix bar height and data labels position when yMin > 0

New Pull Request
Hi, here's an example
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

@FunkiR Thanks for the contribution.
Can you please solve the conflicts for the PR?


Error on first time backup

File<EMAIL_ADDRESS>line 342, in walk
return _walk(fspath(top), topdown, onerror, followlinks)
TypeError: expected str, bytes or os.PathLike object, not bool
Looks like the final else statement is reporting on the path & size of the previous backup on completion, which obviously fails on the first backup as it doesn't exist. It should be reporting on the current backup anyways.

Proposed fix in #25.

Fix merged in #25.


Give an option to show files before directories in file explorer

There are project structures which would greatly benefit from being able to show the files of a directory before other subdirectories inside them. This is what I see for example in a project of mine (an Ember application using the POD structure)

As you can see there's a lot of repetions, names wise, which gives quite a bad overview of the whole components structure. If the component.js and template.hbs would appear before any other "sub-components" directory, it would increase the readability of the structure.

Alternatively, highlight the files the current selected directory are part of (in the example, just the component.js and template.hbs right below "user-details-tab")

Landed via https://github.com/Microsoft/vscode/pull/29509
Setting to use: "explorer.sortOrder": "filesFirst"


Only use one direction of numerical grad

Gradient check requires too long time. I replaced a test for f(x, y, z) with a test for g(a) = f(ax, ay, az). Here g'(a) = f'(ax, ay, az) \dot (x, y, z). We can test the implementation of gradient to compare numerical gradient of g and dot product of f' and (x, y, z).

If my understanding is correct, it calculates the derivative of g at a=1, doesn't it?

Yes. When a=1, it checks if g'(1) = f'(x, y, z) \dot (x, y, z).

Please merge #2978 first.

Please check comments.
Also, please write some comment about what the code is doing, like what you posted above.

Do you have time for this PR? I want this merged before stabilizing unit tests.

I updated it.

Please add some comment as well. It's not apparent.

Also, please write some comment about what the code is doing, like what you posted above.

Done!

Updated

Don't we backport this PR?
IMO test stabilization is also essential for stable branch.

Humm. Ok, this PR itself does not change behavior of Chainer itself.

LGTM!


Update section header size and general formatting

Updated the header sizes. They were backwards for major sections and the third party sub-sections. Also cleaned up some other minor formatting.

:+1:


Update gradle to 3.3

I always hit "Remind Later" when getting message from Android Studio about out of date gradle.
Should we update to 3.3?

@keybase/react-hackers

The commits e5499e70e175...4640ea54d2cb introduce visual changes on linux. :mag_right: 1 changed

Changed: Tracker-New_user_Scroll_1 (before) (after)

nm, we'd have to update the gradle files for the dependencies in the circleci as well


Correction for raw affiliation G-EAU, Univ Montpellier, AgroParisTech, CIRAD, IRD, INRAE, Montpellier SupAgro, Montpellier, France

Correction needed for raw affiliation G-EAU, Univ Montpellier, AgroParisTech, CIRAD, IRD, INRAE, Montpellier SupAgro, Montpellier, France
raw_affiliation_name: G-EAU, Univ Montpellier, AgroParisTech, CIRAD, IRD, INRAE, Montpellier SupAgro, Montpellier, France
new_rors: 05kpkpg04;03rnk6m14;05q3vnk25;051escj72;003vg9w96;02kbmgc12;020g0rw41
previous_rors: 05kpkpg04;03rnk6m14;05q3vnk25;051escj72;003vg9w96;02kbmgc12
works_examples: W3135786373
contact: 0a7d7a243fc44de684a3ffd728fa2f81:009a84eccc95840221122634b329446581a1 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Add two extra PVs to NDFileHDF

Fixes https://github.com/bluesky/ophyd-async/issues/77

Please can we also have
self.nd_array_address = ad_rw(int, prefix + "NDArrayAddress")

in NDPluginBase


indexing with T extends keyof  causes OOM

This breaks glimmer, and thereby our RWC (once sufficiently fixed in other ways)
Code
Isolated repro (needs dom lib for ElementTagNameMap and associated types):
export function assertIsElement(node: Node | null): node is Element {
    let nodeType = node === null ? null : node.nodeType;
    return nodeType === 1;
}

export function assertNodeTagName<
    T extends keyof ElementTagNameMap,
    U extends ElementTagNameMap[T]>(node: Node | null, tagName: T): node is U {
    if (assertIsElement(node)) {
        const nodeTagName = node.tagName.toLowerCase();
         return nodeTagName === tagName;
    }
    return false;
}

export function assertNodeProperty<
    T extends keyof ElementTagNameMap,
    P extends keyof ElementTagNameMap[T],
    V extends HTMLElementTagNameMap[T][P]>(node: Node | null, tagName: T, prop: P, value: V) {
    if (assertNodeTagName(node, tagName)) {
        node[prop];
    }
}

Expected behavior:
No crash.
Actual behavior:
OOM crash after a very long delay.
Preliminary investigation shows the OOM occurs when we try to get the distributed form of keyof <Large Union> - namely the process is defined recursively, so when the union has ~170 members, we create 170 intermediate types (flattening one member at a time, while also wasting time recalculating type flags and other bits we will never need) before getting the final, distributed result. Now, picture doing this on every relation comparison operation for P (this distribution is uncached), and multiplying it for V in assertNodeProperty - the complexity is huge.
cc @DanielRosenwasser since I think you care about when we break glimmer.

//CC @ahejlsberg


Add option for Sambamba tmp directory

Description of feature
Hi
I've had multiple crashes on a Slurm based HPC environment as sambamba sort fills up the compute nodes /tmp directory and crashes out. Can you add a command line option to allow pre-specification of this? I have modified my bwamem2/main.nf for now which works
A

Hi @adbeggs, thanks for opening the issue! You should be able to set ext.args3 as needed for the BWAMEM2_ALIGN process to achieve the desired behaviour, which is applied here:
https://github.com/nf-core/oncoanalyser/blob/4227bc1083209d79c8735d32e6c75f762a640006/modules/local/bwa-mem2/mem/main.nf#L51-L55
In terms of hardcoding --tmpdir ./ for the sambamba sort command, there doesn't seem to be an obvious answer since doing this is optimal for certain environments (e.g. HPC with high-bandwidth, low-latency interconnect) but less so for some cloud compute setups (e.g. AWS with FusionFS where r/w to S3 should be minimised).


feat: add support  for vscode like file schemes

This component only supports sublime file schemes (subl, etc).
Visual Studio Code schemes are completely different so I extended the scheme calculation function to support vscode schemes.
new tests included :)

Looks great, thanks for the contribution 🎉


Help request for optimization: smaller values should decrease strength

Hello,
I found your library great for speed and reliability. I'm working on an application that requires a modification on the way the smaller weights interact with larger weights.

If you see the screenshot, the label in the middle signifies the weight. So the point "1" should not increase the power of the zone, but create 2 smaller intensity zones between 64 and 27, so decrease the intensity near 1.
 density[y*width + x] += currentDensity * point_weight_percent[i];
I've found the code that calculates the intensity, but any attempt to modify it completely messes up the entire heatmap by cutting the visual consistency of the shapes.
Is there any easy way to modify the code for the desired effect?

Hi @avladut, sorry, I'm not actively working on this library anymore. I'm not sure if there's an easy way to do what you're asking, but if you do happy to look at your PR if you figure something out.


Allow viewing stream message list from main page

In #4529, we mentioned the possibility of viewing the stream message list from the main page, without looking at the main stream view first:

Perhaps tapping on the stream name in the main view should bring up the topic list instead of all messages view, or something like that. But that seems more likely to frustrate people (as we've seen with Recent Topics on the webapp) and not super high priority.

I think a good UI for this would be long-pressing the stream name in the main view bringing up an actionsheet with the following options:

View stream topics
Mark stream as read
Mute/Unmute stream
Unsubscribe
View stream info (not sure what the name should be, but the same thing that the ⓘ button does right now)
Cancel

This gives people easy access to a handful of common/useful actions, and neatly solves the problem mentioned in #4529, without breaking any existing behaviour.

I agree, that sounds helpful.

I am working on it,  assign this to me please

@vaibhavs2 it's probably best not to work on this until #4541 is merged, since that changes what this kind of code will look like a lot.


Measuring exploitability for large games

I'm training nfsp agents on hearts using leduc_nfsp.py.  However, I was forced to disable the nash_conv computation, since it appears to be trying to compute the complete set of possible information states in the game which blowing up my memory/cpu.
Is there a sampling based implementation that could efficiently calculate approximate nash_conv for games with large game trees?  or is there another exploitability metric I should be using instead?

Hi @jeremysalwen, at the moment you can try using RL to exploit your opponent, see the rl_response example.
We have all the components to be able to implement ABR. It would require some programming and could be a nice project, if you're interested, but it's non-trivial. We could help, though.. and it'd make a great contribution!

Interesting, I'll have to read the ABR paper.  rl_response seems like it might be too expensive to be running repeatedly during training, maybe I would save that until training is complete? Is there something more lightweight I could run to just compare performance to earlier agents to check progress, like alpha-rank?

ABR is even more expensive because it does search too. Typically we do by saving checkpoints and evaluating them separately.
Yes you can compute the payoff tensor between checkpoints and then do some kind of analysis of the progression. Alpha-rank is a good choice, you can also do uniform distribution and measure head-to-head performance. We came up with a few others too (variants of Nash averaging frim Balduzzi et al), all with various properties. We are posting a paper to arXiv on this topic in the next week or so, I will post the link here when it's live.

I'm looking for examples in the repository where fixed agents are evaluated against each other by playing a sample of games.  I'm having trouble finding something that seems appropriate for the NFSP agents generated by leduc_nfsp.py.

evaluate_bots.py has the evaluated_bots function which seems to evaluate the performance of a set of bots playing a game.  However, it seems like the "bot" interface is totally separate than the RL agent interface, and so there is no way to use this function for the RL agents generated by NFSP.
expected_game_score.py seems to evaluate based on policy objects, which we are generating in NFSP, but it seems to assume that the complete game tree is tractable, and so is inappropriate for larger games.
egt/alpharank.py seems to assume I have already computed the self play data in some existing format.  e.g. alpharank_example.py just calls xfp_solver.get_empirical_metagame() to compute this metagame date using code specific to the XFPSolver. I was expecting there would be some generic tool to compute this metagame data for any set of agents.

I know I could implement some script specific to NFSP to evaluate agents the way I want, but this seems wasteful of effort.  Is there some more standard way of doing this that I am missing?

Hi @jeremysalwen, you are not missing anything. We indeed do not have an example of that anywhere. It would be useful to have one, even if just for NFSP agents. If you do this, please contribute an example to the repo for the next person :)

Ok, that makes sense.  Could you provide some guidance for what interface I should be using? Should I be trying to make the RL agents conform to the bot interface? Should I be operating on policies? Should I be operating on AbstractAgents?

@jeremysalwen, my apologies.. somehow I completely missed your last message.
I think the value we'd have by having this example in any form outweighs any small detriment to it being under a specific choice of API or usage. So I'm a bit indifferent. But, if I had to choose, I'd say the RL Agent API would be the best one. That is: it would be great to have something that could define a set of RLAgents that are loaded and run (in evaluation mode) to build the matrix of values, and then we could compute something from that matrix (be it AlphaRank or Nash Averaging or something).
It would then be wonderful to see an example use of this run over previous NFSP agent checkpoints, showing in a two-player zero-sum game that the Nash Averaging solution puts most weight on the final iterates. Or, if you're doing multiplayer like hearts, then maybe the AlphaRank distibution.

I ended up implementing a subset of this functionality, just calculating average returns. (It seems like the alpharank code requires a dense metagame matrix, which makes it complicated, since I am just sampling a few games).  The code is just a part of the leduc_nfsp.py example, but I tried to write it in a way that it could be reasonably generalized.
Before I clean up/document everything for the PR, I just want to make sure, is this something that is worthwhile, that you would want in open_spiel?
https://github.com/deepmind/open_spiel/pull/793

This is great, thank you @jeremysalwen. I was quite busy this week, but will take a look next week.


Drag-able components for Terra-UI

Feature Request
Description

As a developer, I would like a terra component which has drag and drop feature, kind of like react-draggable. Enclosing any component within draggable tags would make that component drag and drop.
Additional Context / Screenshots

https://user-images.githubusercontent.com/6365230/95649276-f3a02480-0b06-11eb-8504-e0614a780ba4.gif
@ Mentions

We do not have plans to add a drag-and-drop component at this time. There are several available libraries in the wild our consumers can choose to use if that is needed for their particular application. Thank you for logging an issue.
One example is https://github.com/atlassian/react-beautiful-dnd


[Issue] The typescript linting is stricter than the source code

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
Describe the bug
Description of issue you're seeing...
Unable to compile and deploy the web-service from https://github.com/Azure-Samples/todo-nodejs-mongo. It returns the compile error TS7006.
To Reproduce
Steps to reproduce the behavior...

Init a template from https://github.com/Azure-Samples/todo-nodejs-mongo using azd init --template todo-nodejs-mongo
Authenticate to Azure with azd auth login
Run azd up

Expected behavior
A clear and concise description of what you expected to happen.
The service should run, and I should be given a webpage at the end of the command to access the webpage.
Environment
Information on your environment:
* Language name and version: Azure Developer CLI version 1.5.1
* IDE and version : Windows 11 PowerShell version 5.1
Additional context
Add any other context about the problem here.

ERROR: failed packaging service 'web': failing invoking action 'package', failed to run NPM script build, exit code: 1, stdout:
><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...
Failed to compile.

TS7006: Parameter 'item' implicitly has an 'any' type.
    64 |     const selection = new Selection({
    65 |         onSelectionChanged: () => {
  > 66 |             const selectedItems = selection.getSelection().map(item => (item as TodoDisplayItem).data);
       |                                                                ^^^^
    67 |             setSelectedItems(selectedItems);
    68 |         }
    69 |     });```

@v-xuto can you take a look?

@rajeshkamal5050 The issue has not been reproduced.


[move-compiler] Add positional struct fields

Description
Adds support for positional struct fields in Move 2024.
This affects the parser, expansion, and naming (and a minor update is needed in to_bytecode).
Parser

Updated to support positional struct declarations
Updated dotted field accesses to support valid struct indices
Updated binding parsing to support positional struct destructuring

Expansion

Added support for conversion of a Call to Unpack if it's in an LValue position (similar to what we do in expansion for Pack to Unpack in LValue position).

Naming

Positional fields are removed at this point
Calls are disambiguated into Packs or remain as Calls based on the name references an in-scope struct type.
We enforce that named packs/unpacks and positional packs/unpacks correspond to a named/positional struct declaration.

Test Plan
Added a number of tests for each phase.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[X] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes
Adds positional struct declaration support to Move 2024.alpha. When using the 2024 edition you'll be able to declare structs with positional fields (e.g., public struct Positional(u64, bool)), access positional struct fields via their index (e.g., x.0 ,x.1) and unpack/pack them positionally (e.g., let Positional(value, is_tf) = x;, let x = Positional(0, true)).

Thanks for the comments! Should be updated now. Added tests for the explicit type arguments.
Note however, that for unpacks things like let Foo <u64>(x) = ... are accepted, but this is in-line with what we also except for named unpacks today -- let Bar <u64> { x } = ... is also accepted.

Thanks for the comments! Should be updated now. Added tests for the explicit type arguments.
Note however, that for unpacks things like let Foo <u64>(x) = ... are accepted, but this is in-line with what we currently accept for named unpacks today -- let Bar <u64> { x } = ... is also accepted.

But not accepted at unpack assignment? Foo <u64>(x) = e?

Oh? But I removed that nonsense I think (It was a thing long ago)

We could also maybe check that if all fields are pos0...posn with no gaps, that we convert back to positional, when doing the interface generator. But also fine if we don't do that :)

I think it's fine if we don't do it for interface generation (at least until we have public struct fields) since those fields aren't publicly visible.


fix: Tag docker images correctly after Kudet removal

Description:

Is this change user facing?

[ ] Yes
[X] No

References (if applicable):

I temporarily disabled branch protection in order to merge this, because the last release (0.68.9) was actually broken so old_enclave_continuity_test was failing and I don't think there was a way to make it pass. Branch protection now back on.


Dumping and Restoring SCTP sockets with usrsctp

Hi,
I am running a program that requires SCTP connections to be dumped and restored. I would like to replace the kernel implementation with userland SCTP. I have built and installed usrsctplib and can run the example programs. To dump the SCTP sockets my program runs, would I just need to replace all the SCTP functions in my program with usr_sctp type functions, or is there an extra step I would need to do this? My apologies if this is a basic question, I am a novice at socket programming and would appreciate any help.

It depends. Some functionality is identical. However, you can use select()/poll() in combination with user sockets.
So why do you need to dump and restore SCTP sockets?

So why do you need to dump and restore SCTP sockets?

@tuexen I guess the use-case is zero-downtime restarts of servers so that applications don't have to drop connections when restarting. This implemented in several QUIC-based libraries.

Thanks for the reply and suggestion, @tuexen. I'll have to look more into that, and get write back here if I have any more questions.
As @nxrighthere rightly points out, I have a running application that needs to be dumped and restored almost immediately (zero-downtime), and the dumping tool I use doesn't support lksctp, so I'd ideally like to replace that with something else and that's what led me to look into usr-sctp.

Hi again, @tuexen.
In my client code I have a sctp function such as: sctp_getpaddrs(). usrsctp has a similar implementation: usrsctp_getsockopt(). However, the socket type in the sctp implementation is an integer, while the one in usrsctp is a struct socket. Is it possible to fix this (turning the integer into a socket struct for usrsctp)?

Hi again, @tuexen.
In my client code I have a sctp function such as: sctp_getpaddrs(). usrsctp has a similar implementation: usrsctp_getsockopt(). However, the socket type in the sctp implementation is an integer, while the one in usrsctp is a struct socket. Is it possible to fix this (turning the integer into a socket struct for usrsctp)?

No. When using a kernel stack you are using an integer in userland which gets translated into a pointer to the socket in kernelland. Since we don't have this boundary here, the pointer type is exposed. This also makes sure that you don't mix SCTP userland sockets with normal kernel sockets...


[UWP] Cherry-pick visibility fixes to release

Related Issue
Fixes #4035
Description
Original commit: a4a1f1b50e3dff9bc660777ec1b0be846f603d11
Original PR: #3264
Separators were being set not visible, resulting in collapsed spaces between elements. This was fixed in master, but not ported over to release/1.2.
With fix (original JSON in linked bug):

Without fix:

How Verified

local build/tests

Microsoft Reviewers: Open in CodeFlow

/azp run

@paulcam206 do we actually need to CP this to release/1.2 given that we are about to release master next month?


not able to claim the website to my netlify account ad before

Describe the bug
not able to claim the website to my netlify account ad before and the loding time is more to show the preview and not building logics with admin panel and process flow its breaking flow and not creating documents what it build for future references
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-pm5kup
Steps to reproduce
GO and build application properly with flow along with admin panel i am  not able to login to admin panel built by bot.new
Expected behavior
n/a
Screen Recording / Screenshot
N/A
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 152090973,
  "usedJSHeapSize": 137107845,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = dheerajpullarevu
Chat ID = ba4d01003d5e

Additional context
please help me to build the project and set the flow and give

Appreciate the feedback! We are aware of this issue and are tracking it here: #2020.


[Button] Doesn't trigger onSubmit in forms

Expected behavior
A Mineral/Button's parent form's onSubmit method should be called when clicked.
Current behavior
onSubmit is not triggered.
Possible solution
find where event.preventDefault() is called and delete that line.
Or something else 🤷♂
Steps to reproduce (for bugs)

<form onSubmit={() => console.log('yay')}>
  <Button />
</form>

Context

:(
Version

Environment

Mineral buttons have a default type="button".  Can you please try changing the type to "submit"?
<Button type="submit" />

Ah that makes sense, I'll give that a shot!
Thank you very much!

That worked, thanks!


brpop when timeout is set 0 issue

Bug Report
Current Behavior
When blocking indefinitely by specifying 0 for timeout, after the first REDIS max timeout (1 minute), brpop stops receiving messages even though REDIS sends those to the client.
Reason for the current behaviour
Old BRPOP command is not cleared in CommandHandler.java's stack field. This results in always notifying the old command instead of the present
Expected behavior/code
Must receive messages as we get even after first REDIS timeout (1 minute default timeout)
Environment

Lettuce version(s): 6.1.10.RELEASE
Redis version: 7.0.8\

Command timeouts are client-side only for commands that have been sent to Redis. Redis does not reply with any command responses unless the blocking command has been processed.
Not sure what you're asking for.

What you say is true. Seems there is an internal max timeout of 1 minute at lettuce, post that, if the REDIS responds to BRPOP, we will not receive that message.
To reproduce the issue, call brpop(0, "key")
wait for 1 minute and after that, try responding to brpop via lpush and you will not get that response

That's all by design and since there's no way to retract a sent command from Redis (or cancel in-flight commands), there's nothing we can do here. However, with TimeoutOptions (via ClientOptions) you could provide a different command timeout to wait longer for blocking commands. See TimeoutSource for further details.

I am finding it difficult to explain the issue in a simple term, so am sharing an test code link and also wireshark dump
https://github.com/giridharkannan/lettuce-blpop-issue/blob/main/src/main/java/LettuceTest.java
redis_blpop_issue.zip

Thanks for the reproducer. The code behaves as expected:
Your code doesn't receive the first message because the first BRPOP fails with a timeout. Still, Redis eventually responds to the command that has timed out. But because the command has failed on the client side, you can no longer consume the response.
<IP_ADDRESS>:6379> monitor
OK
1681899059.835379 [0 <IP_ADDRESS>:64651] "HELLO" "3"
1681899059.835504 [0 <IP_ADDRESS>:64652] "HELLO" "3"
1681899059.855885 [0 <IP_ADDRESS>:64651] "BRPOP" "test_queue" "0" <-- this times out
1681899065.923042 [0 <IP_ADDRESS>:64652] "LPUSH" "test_queue" "1st will not come" <-- Redis responds to the command that has timed out
1681899065.923135 [0 <IP_ADDRESS>:64651] "BRPOP" "test_queue" "0"
1681899065.931756 [0 <IP_ADDRESS>:64652] "LPUSH" "test_queue" "2nd will come"
1681899065.935937 [0 <IP_ADDRESS>:64651] "BRPOP" "test_queue" "0"
1681899065.935977 [0 <IP_ADDRESS>:64652] "LPUSH" "test_queue" "3nd will come"
1681899065.941560 [0 <IP_ADDRESS>:64651] "BRPOP" "test_queue" "0"

If you have that kind of use-case, please use either a reasonable timeout at BRPOP or configure TimeoutSource accordingly.

There is a difference. Please do check the Wireshark packets, you would find that BRPOP was registered back before the first LPUSH, yet we missed receiving the response


New feature: Async route support

Hi,
Really liking Choo so far! One thing I was missing was the ability to define an async route (I'm working on a game and wanted to preload assets). I didn't see a simple way to accomplish this (maybe I missed something obvious), so I wrote a little module that augments app with an asyncRoute method:
const app = withAsyncRoute(choo());

app.asyncRoute('/', loadResources,
    () => html`<div id="root"><h1>Loading...</h1></div>`,
    (state, emit, data) => html`<div id="root">Loaded ${data}</div>`
    (state, emit, err, params) => {
        console.error('error loading /:', params, err, state);
        return html`

Error loading / (see console)

        `;
    },
);

Was wondering if there's interest in either merging this function into Choo proper, or as a third-party npm module?
For reference, here's the module -- it's pretty simple:
module.exports = (app) => Object.assign(app, {
    /**
     * @param  {string} route
     * @param  {Promise<Data>|Function<Promise<Data>>}       promise
     * @param  {Function<State, Emitter, RouteParams>}       loadingHandler
     * @param  {Function<State, Emitter, Data, RouteParams>} loadedHandler
     * @param  {Function<State, Emitter, *, RouteParams>}    errorHandler
     */
    asyncRoute: (route, promise, loadingHandler, loadedHandler, errorHandler) => {
        app.use((state, emitter) => {
            const emit = emitter.emit.bind(emitter);

            app.router.on(route, (params) => {
                state.params = params;

                if (typeof promise === 'function') {
                    promise = promise();
                }

                let completed = false;
                let isError = false;
                let data = null;

                promise.then(result => {
                    completed = true;
                    data = result;
                    emitter.emit('render');
                }).catch(err => {
                    completed = isError = true;
                    data = err;
                    emitter.emit('render');
                });

                return () => {
                    if (!completed) {
                        return loadingHandler(state, emit, params);
                    } else if (isError) {
                        return errorHandler(state, emit, data, params);
                    } else {
                        return loadedHandler(state, emit, data, params);
                    }
                };
            });
        });
    }
});

Related: async event messaging for choo. Beware: here be dragons.


chore: fix formatting in readme and add badge

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


[TrustTree] Migrate to new DNS Coffee API

The TrustTree visualization is currently using the old API and is preventing me from deprecating it.
Moving to the new API will allow the TrustTree tool to continue working once the old API is turned off.
New API Docs: http://api.dns.coffee/

@ryankoga I don't this the patch applied is related to this issue?

Huh, I 100% didn't try to close it, it must have happened automatically?

Your commit message was fixes #20 which will auto close issue #20 (this issue) once committed.

That, that is indeed odd & undesirable behavior...


Specify LICENSE

@martylamb
Sorry to pest but I suspect you got busy with other things. :-)
Hope this PR helps solving https://github.com/martylamb/macnificent/issues/1

It helps indeed - thanks!  Life got in the way for me there...


Downloading issues

Dear all,
I am trying to create a new test lab for one of our projects.
However, I am struggling to download the different files.
We are behind the company's proxy that makes it impossible for Administartor users to download microsoft images.
Is it an option to do a manual download of all necessary files in advance?
Many thanks in advance for your help!
Cheers
Karim

You can manually download the ISO files and put them in the Autolab\ISOs directory. You can use the Get-Labmedia cmdlet from the Lability module to find the download link.
get-labmedia | select id,filename,uri

Be sure to save the file using the filename.

You might have an issue with DSC Resources as well. In which case you'll have to look at the pds1 file to see what DSC resources you need to download and install.

Invoke-Webrequest has proxy related parameters so you could do something like this:
$nano = get-labmedia -id 2016_x64_standard_nano_EN_eval
Invoke-WebRequest -uri $nano.uri -OutFile c:\autolab\isos\$nano.filename -proxy <value> -proxycredential <value>

Don't forget to run the checksum on your download.

Hello jdhitsolutions,
Thanks a Million for your quick answer!
I will try this immediately!
I cant wait to have my first virtual lab!
Cheers
Karim

Let me know if this works so I can close this issue.

Please feel free to close the issue...many thanks for your help!


Exporse all available checkpoints for a retriever via service layer

Setup (gRPC/REST service):
STORE_DIR has a sub-directory called checkpoints which is meant to store all available checkpoints for retrievers.
PROBLEM
Currently service layer doesn't expose list of available checkpoints for a particular retriever

@hrojek One way to solve this would be update checkpoint parameter's options field in GetRetrievers method for gRPC and REST server.
For example, in case of gRPC server, before generate_parameters is called here, there is possibility of adding custom logic to update retriever's checkpoint parameter.
To find all available checkpoints, you can just read directory names in checkpoints directory. NOTE: This approach makes you vulnerable when more than one kind of retriever is supported.  In such case, you need to define a mechanism to distinguish checkpoints.
@bhavani105 @franzmpub @avisil Any thoughts on this?

Related to #384


ApiPort tool reports unresolved binaries for files that are present in the folder that is being analyzed

This issue repro'ed using the latest version of the tool (API Portability Analyzer v2.7.0-alpha.3+Branch.master.Sha.91e1e4c79e975742c87ea9a1a4a59874cd1d49e6).
Repro steps:

Copy a subset of binaries to a folder (in order to reduce the number of files to be displayed on the  DGML file)
run the ApiPort tool: apiport analyze -f "MyFolder" -r dgml -t ".NET Standard, Version=2.1"  -o "\deps.dgml"

Result:
The attached files.txt shows a partial list of the files in MyFolder, and the attached PNG file shows that, even though the file is present on the folder, it's being reported back, in the DGML file, as an unresolved assembly
Expected:
Both files to be analyzed by the ApiPort tool
files.txt

@hssea can you share the "myfolder" contained binaries with me?

I can confirm this behaviour

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.


post merge changed files

slexil.css and text.py had not been committed before previous merge
neither were dropdown menu files

a few forgotten files, late commit to layoutImprovementWithOptionalTiers branch, now being merged.


#question Is there any way to confirm value when hide keyboard without press done

Hi:
It's definite great work and I use it very well on my app.
Appreciate your elegant code.
However, I would like to ask if there is any way to let me know when the keyboard is hide from screen,
since original textfield delegate looks like not work.
I just want to let user can input a value and confirm it without press done button.
Thanks.

Thinks for your question.
I will check the code with UITextField delegate work.
And I will add state of keyboard callback methods.

2015-09-06 00:02:13.625 SCNumberKeyBoardDemo[16497:1608988] -[ViewController textFieldShouldBeginEditing:]
2015-09-06 00:02:13.631 SCNumberKeyBoardDemo[16497:1608988] -[ViewController textFieldDidBeginEditing:]
2015-09-06 00:02:31.686 SCNumberKeyBoardDemo[16497:1608988] textField:<UITextField: 0x7f94b0c81200; frame = (87.5 164; 200 40); text = '3256'; clipsToBounds = YES; opaque = NO; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x7f94b0c8ce90>; layer = <CALayer: 0x7f94b0c801f0>> - number:3256
2015-09-06 00:02:31.686 SCNumberKeyBoardDemo[16497:1608988] -[ViewController textFieldShouldEndEditing:]
2015-09-06 00:02:31.689 SCNumberKeyBoardDemo[16497:1608988] -[ViewController textFieldDidEndEditing:]

I added keyboard close callback, See is not what you want.
And I test TextField Delegate is OK, it can work.


Implement Schnorr signature encoding according to SEC1 v2 (v2.3)

See section v2.3 of this paper: https://www.secg.org/sec1-v2.pdf
This is not urgent, but required before we release publicly, as we're dependent on Libsodium's internal state at the moment.
Related to #208

I spent some time researching the need to use a different encoding (SEC1 v2) for the signature as generated by the libsodium library. From what I can see the checks in the verify code are to prevent the malleability of the signature.

In my opinion we should continue to use the libsodium 64 byte encoding of the Signature (R, s).

Agreed. According to what @hewison-chris found, the points are already stored in canonical form.


[SpeedDial] Allow tooltip to always be displayed

This is an attempt to rectify the issues that were present in https://github.com/mui-org/material-ui/pull/11103
The logic here is that since the positioning of the tooltip was incorrect due to the rendering time of the SpeedDialAction that comes in via a transition (plus an optional delay given by the delay prop).
This POC shows that the tooltips are indeed rendered in the correct position if there is a timeout given.
@mbrookes please take a look as you reviewed the previous PR. Thanks.

@hashwin Great start!
Did you want to add a docs demo? You could copy it over from #11103...

@mbrookes I updated the PR with the changes you requested.

@mbrookes good to go?

@eps1lon shouldComponentUpdate will decide whether the component re-renders or not. I don't think this should be decided by any of the logic encapsulated in this PR by this feature. All that is needed to be done is to mark the tooltips to be rendered after a certain delay, any other rendering within the components should work exactly as it was before.

@hashwin Nice first contribution! 👍


Add interact_and_close for notification config.

Exactly like it sounds.
Added it because buttons now can be just buttons, with a click to deny/accept something, for example.
It will make easier for scripts I think for people in the future whose functionality deems cool :)

Cool!  Thanks for this.


THRIFT-5214: Push read deadline in socketConn

Client: go
We added socketConn to go library for connectivity check in
https://github.com/apache/thrift/pull/2153, but forgot to push read
deadline on the socket when doing the connectivity checks. This caused
the issue of large number of connectivity checks to fail with I/O
timeout errors.

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@dcelasun :)

This broke tests:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x6c99cd]

goroutine 1 [running]:
thrift.NewTSSLSocketTimeout(...)
	/thrift/src/test/go/src/thrift/ssl_socket.go:56
thrift.NewTSSLSocket(...)
	/thrift/src/test/go/src/thrift/ssl_socket.go:46
common.StartClient(0x77a80a, 0x9, 0xa671, 0x0, 0x0, 0x7ffdc5b07c19, 0x8, 0x7ffdc5b07c06, 0x6, 0xc000084c01, ...)
	/thrift/src/test/go/src/common/client.go:67 +0xccd
main.main()
	/thrift/src/test/go/src/bin/testclient/main.go:43 +0x108

@dcelasun that was already fixed in the force pushed new version :)

Must have missed it :) Travis failures are unrelated so LGTM.


Upload to rackspace cloud

Hello,
Currently working on an angularJs app that needs to upload big videos to rackspace cloud storage.
Is there a way to do so with ng-file-upload?
The pkgcloud is nodejs module to do so in backend
Regards,
Mustak

Have you tried it?

Hello, Thanks for reply,
Here is what works in nodejs, but how can i do this in ng-file-upload,

var pkgcloud = require('pkgcloud'),
        fs = require('fs');

var client = pkgcloud.storage.createClient({
    provider: 'rackspace', // required
    username: 'myUsername', // required
    apiKey: 'myApiKey', // required
    region: 'LON', // required, regions can be found at
    // http://www.rackspace.com/knowledge_center/article/about-regions
    useInternal: false // optional, use to talk to serviceNet from a Rackspace machine
});

var readStream = fs.createReadStream('files/Tulips.jpg');
var writeStream = client.upload({
    container: 'uploads',
    remote: 'Tulips.jpg'
});

writeStream.on('error', function (err) {
    // handle your error case
    console.log("Error",err);
});

writeStream.on('success', function (file) {
    console.log("Success",file);
    // success, file will be a File model
});

readStream.pipe(writeStream);

how would i approach in the controller in angular app?
 file.upload = Upload.upload({
                    url: 'https://angular-file-upload-cors-srv.appspot.com/upload' + $scope.getReqParams(),
                    resumeSizeUrl: resumable ? 'https://angular-file-upload-cors-srv.appspot.com/upload?name=' + encodeURIComponent(file.name) : null,
                    resumeChunkSize: resumable ? $scope.chunkSize : null,
                    headers: {
                        'optional-header': 'header-value'
                    },
                    data: {username: $scope.username, file: file}
                });

Post on stackoverflow this is not an issue with the plugin.


WIP:Testing NetBeans Bits

Running the travis build against NetBeans 9.0, 10.0 and 11.0 bits.

The lookup bits has just appeared on Maven central! Congratulation, @ebarboni!


Eliminate the global .fmt attribute on printers

The juggling of saving and restoring this safe was not done properly.
In order to make Fmt work in an ipython notebook, we need it to return a special object that remembers its format settings.
Note that the examples that have changed are typically of the form:
print(x)
y.Fmt(...)  # does nothing!
print(z)

This would previously result in the print format of z being different to that of x, due to bad management of the global state.
Fixes gh-265, closes gh-266

Unfortunately the post-processing in printer.py is messing this up.


Fix categories

Close #314

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


Requests library content-length weirdness

@cd34 put a number of comments in
https://github.com/Pylons/pyramid/issues/212#issuecomment-2859635 related to a hard-to-replicate bug using velruse related to its use of the "requests" library.  I'm just opening this ticket so we can start talking about it in the right place.

Closing this issue, requests is blameless, I misread the code.


avm can install a version no more than 0.27.0

avm can install a version no more than 0.27.0, though avm list shows that the latest version is 0.30.1.

Please share the problem you're running into in detail when creating issues, otherwise we'll waste time going back-and-forth asking unnecessary questions.
avm can install all versions, but you might run into problems if you have rustc 1.80. In that case, see https://github.com/coral-xyz/anchor/pull/3143's description. If not, you can reopen this issue and explain the problem in detail.


Split plugins into modules; Add keyvalue_dictionary

I split the default plugins module into individual modules in the plugins directory and added the keyvalues_dictionary plugin.

This PR is dependent on #1186


File objects replaced with empty plain objects on setValue call

Hi!
I've encountered an odd issue after update from v1.2.8 to v2.9.0. We have a custom FileInput component in our project which we are using for file attachments. Whenever the input is updated we are calling fieldApi.setValue with an instance of File object.
setValue(e.target.files[0])

where argument was like
File
  lastModified:<PHONE_NUMBER>000,
  lastModifiedDate: Date 2017-12-11T16:42:21.000Z,
  name: "image.png",
  size: 147342,
  type: "image/png",
  webkitRelativePath: "",
  __proto__: FilePrototype
    constructor: function (),
    lastModified: Getter,
    lastModifiedDate: Getter,
    name: Getter,
    webkitRelativePath: Getter,
    __proto__: BlobPrototype { slice: slice(), size: Getter, type: Getter, … }

But for some reason we get {} object in form values. It is easy to check in formDidUpdate callback. I can confirm that in v1.2.8 it works.
I've tried to make a test to demonstrate this issue, but we don't have a File outside of browser 😞
I'm thinking about switching to base64 encoding of the file, but this will also require some back-end changes. Maybe you can recommend some alternatives?

Hmm i have not needed to do this yet but its def somthing others have done.. to my knowledge, other people have base64 encoded the file. That being said... it should be working. All i am doing is taking whatever you pass to value and adding it to an object that will get submitted. Maybe try making a simple codesandbox with your custom input so i can see the issue.

@dikond Status on this?

@joepuzzo Hello! I've tried to implement it on https://codesandbox.io, but it seems sandbox doesn't support File API and replaces files with its own stubs. Here is a link to this sandbox: https://codesandbox.io/s/43k62q2kw9
You can check the event target in console log once you attach a file via button.
I think codepen may support File better, but my experience with it was kinda frustrating.

I will look into this for V3

Is there are workaround for this that doesn't involve base64?

I see two places that do the JSON thing: https://github.com/react-tools/react-form/blob/c2337923284425e10620add45647e332be9c0459/src/components/Form.js#L28 and https://github.com/react-tools/react-form/blob/c2337923284425e10620add45647e332be9c0459/src/utils/index.js#L61. Although it only seems to be the former causing the immediate problem.. not sure


ARROW-6060: [C++] ChunkedBinaryBuilder should only grow when necessary

@wesm  ChunkedBinaryBuilder was increasing capacity by the growth factor on every call to Reserve. Now it will only do so if added capacity is required

Can you add a unit test to verify the desired behavior?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7aefa50). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #5016   +/-   ##
=========================================
  Coverage          ?   89.17%
=========================================
  Files             ?      727
  Lines             ?   102887
  Branches          ?        0
=========================================
  Hits              ?    91754
  Misses            ?    11133
  Partials          ?        0

Impacted Files
Coverage Δ

cpp/src/arrow/array/builder_binary.cc
85.55% <100%> (ø)

cpp/src/arrow/array/builder_binary.h
92.92% <100%> (ø)

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 7aefa50...a5398da. Read the comment docs.

I checked the memory use script from the JIRA issue and peak memory use is back in line with expectations


How to distinguish stream decoding error from insufficient number of bytes?

I have a byte stream that is made up of length-delimited messages. Nanopb is compiled with PB_BUFFER_ONLY, so I can't use callbacks (though I'm not sure that it would help anyway). I receive N bytes at a time, which may contain zero or more full messages and/or a partial message. Ideally, I want to call pb_istream_from_buffer, followed by pb_decode_delimited in a loop until the buffer is empty, an error is encountered, or the remaining bytes contain only a partial message, which I would then keep until the next packet arrives.
The problem is that I don't see any way of detecting the last condition and not treating it as an error. I see that pb_make_string_substream detects "parent stream too short" condition, and I could copy that same logic calling pb_decode_varint myself, but what if it's the delimiter that got split up? In other words, pb_decode_varint would also need to distinguish between an invalid (e.g. overflow) and an incomplete varint. Am I missing some obvious way of dealing with this problem? I could count the number of bytes or do the decoding myself, but that will get a bit messy. Even pb_decode_varint isn't ideal, because delimiters are 32 bits max, but pb_decode_varint32 isn't exported, so I'd need to do that check myself as well.

I haven't checked in detail, but perhaps checking for
stream->bytes_left == 0 could be made to work.
Currently it doesn't, but what if you do the following changes (which
could then be merged to nanopb main code):

Set bytes_left to 0 in pb_read() when "bytes_left < count" is detected.

Set bytes_left to 0 in pb_make_string_substream() when "bytes_left < size" is detected.

I think that should handle most cases. Varints are read byte-by-byte, so
when the end of stream is reached bytes_left should already be 0.
This does leave open the possibility of a decoding error on the very
last byte of the stream being detected as end-of-stream instead. Not
sure if there is any neat way of fixing that.

I was thinking of using pb_decode_tag to get the length delimiter (by recombining wire_type and tag), which would also give me an eof indication, but that too doesn't distinguish between overflow and eof. In the end, the simplest solution was to check for a complete delimiter first and then use the same logic as pb_decode_delimited, treating the failure to create a substream as eof and the failure to decode as a fatal error. In my case, messages longer than 4 KB are considered invalid (that check is done elsewhere), so the delimiter is at most 2 bytes long. Here's what I came up with:
static bool decodeMsg(pb_istream_t* s, Msg* m, bool* err) {
	if (s->bytes_left >= 2) {
		if ((*(uint16_t*)s->state & 0x8080) == 0x8080) {
			*err = true;
			return false;  // Invalid delimiter or message too long
		}
	} else if (!s->bytes_left || *(uint8_t*)s->state != 0) {
		return false; // Incomplete delimiter or message
	}
	pb_istream_t sub;
	size_t n = s->bytes_left;
	if (!pb_make_string_substream(s, &sub)) {
		s->bytes_left = n;
		return false;  // Incomplete message
	}
	*m = (Msg)Msg_init_zero;
	*err = !pb_decode_noinit(&sub, Msg_fields, m);
	pb_close_string_substream(s, &sub);
	return !*err;
}

I assume this is now ok for you?


Mention r_drawViewModel in Northstar Commands

Not necessary, but others mentioned that it'd be nice to have on the wiki and i agreed. Also again away from home and not 100% sure on capitalization

Whoops, I overlooked this one. Will give it a look tomorrow. If you get no response within a day or two, please ping me again <3

PR name has a mistake, should be Mention r_drawViewModel in Northstar Commands


Update contributor list

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


xserver: fix cross-compilation

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Copied the same solution used for other xorg packages, e.g. xinit

Please target staging.

@Mindavi not sure what staging nixpkgs is for, but done

@Mindavi not sure what staging nixpkgs is for, but done

If a PR causes too many rebuilds (500 or so), it's supposed to go in the staging branch instead of master. https://nixos.org/manual/nixpkgs/stable/#submitting-changes-staging-branch

What build does this fix? nix-build -A pkgsCross.aarch64-multiplatform.xorg.xorgserver already works for me on master.

Probably not needed as long as the reverted xserver is used...


ReactiveUI.XamForms broken

ReactiveUI.XamForms/XamForms/ReactiveMultiPage.cs needs some final polish.

ReactiveUI.XamForms/XamForms/ReactiveMultiPage.cs(18,18): Error CS0534: ReactiveUI.XamForms.ReactiveMultiPage<TViewModel>' does not implement inherited abstract member Xamarin.Forms.MultiPage.CreateDefault(object)' (CS0534) (ReactiveUI.XamForms)

ReactiveUI.XamForms/XamForms/ReactiveMultiPage.cs(50,50): Error CS0314: The type TViewModel' cannot be used as type parameter T' in the generic type or method Xamarin.Forms.MultiPage<T>'. There is no boxing or type parameter conversion from TViewModel' to `Xamarin.Forms.Page' (CS0314) (ReactiveUI.XamForms)

@michaelstonis can you please resolve.
Related #1032

Fixed in #1039


Mandatory Field sign is missing

I can't tell on Project creation screen which fields are mandatory. Please check throughout the site and give a clear indication which fields are mandatory.

Added validations. Screenshot below

Similar boxes will show up on Client and Project's create and edit screens as well when server-side validations fail.

Error reporting complete. Closing.


(docs) Popover click issue

When I click on "Popover on..." (see attachments), right margin disappearing.

I have seen this issue, but didn't have time to figure out why it is happening

can not reproduce anymore


Curious about the scope of your project

First of all, I think that captcha solving is a really cool application of machine learning techniques. I am interested in making a simple web app to present the results of a data science project carried out using cached Amazon review data from a couple of years ago when it was easier to scrape the site. The idea of the web app will be that a scrape will happen in real time for a particular product and then the model I have built will be applied to make a guess about which reviews are the most relevant to making an informed purchasing decision. Amazon's antiscraping defenses are such that it seems that I will have to either pay for a VPN to cycle IPs or find a way to robustly solve captchas. Is your tool able to solve captchas and hand the solutions over to Amazon using pyppeteer or some other tool in a way which will satisfy the site and allow me access to the source code of the page I actually want to visit? If so, do you have sample code for this? I am very new to python and it is not obvious to me how to do this from the sample code you presented on your home page. If this is not currently feasible, is there a chance that it could be made so in the near future? I do not need this to work on an industrial scale; the app will only be used sporadically as a proof-or-concept demonstration of the machine learning I have done. If this is not something that you are interested in, no problem. In that case, I would be curious to know what applications you have in mind for your program? I suppose that the challenge of building something which can pass "Turing tests" is a worthy goal in and of itself :)

Is your tool able to solve captchas and hand the solutions over to Amazon using pyppeteer or some other tool in a way which will satisfy the site and allow me access to the source code of the page I actually want to visit? If so, do you have sample code for this?

Hi @schabertrobbinger. What I think you are looking for is access to a specific Amazon product page and you ask for code how to do this? I see on your GitHub page you mainly use Flask and the builtin requests package to do the scraping. I can highly recommend Selenium as well. Selenium requires a web driver, I'd recommend chromedriver given that most people have Google Chrome installed on their computer anyways.
Anyhow, I think the README does a really good job in explaining the one-line usage of the amazoncaptcha package.
from amazoncaptcha import AmazonCaptcha

link = 'https://images-na.ssl-images-amazon.com/captcha/usvmgloq/Captcha_kwrrnqwkph.jpg'

captcha = AmazonCaptcha.fromlink(link)
solution = captcha.solve()

The "link" in this snippet should be extracted from the webpage. Fortunately, @a-maliarov already provided us with a simple way to do this here:
from amazoncaptcha import AmazonCaptcha
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.amazon.com/errors/validateCaptcha')

captcha_link = driver.page_source.split('<img src="')[1].split('">')[0]   # extract captcha link
captcha = AmazonCaptcha.fromlink(captcha_link)                            # pass it to `fromlink` class method
solution = captcha.solve()

This snippet returns a string with the solution to the CAPTCHA. This is an awesome result in itself, but should be filled in the appropriate field in order to continue to the actual product page. The way I've implemented this is in my workflow is as follows:
fill_captcha_element = driver.find_element_by_id('captchacharacters')  # this finds the fill-form-field on the webpage
fill_captcha_element.send_keys(solution)  # this "types in" the solution characters
fill_captcha_element.send_keys(Keys.RETURN)  # this presses the enter/return key on your keyboard to submit the solution.

Please let me know if this rather technical solution to your question is of any use.

Absolutely, yes, thank you very much for the detailed response to my query.

Hi, sorry for the late response, I wasn't able to answer during last months due to some reasons.
Thank you, @jo3p, for answering this one for me! Have a great day!

Hi, sorry for the late response, I wasn't able to answer during last months due to some reasons.
Thank you, @jo3p, for answering this one for me! Have a great day!

Sure no problem! I should thank you for this awesome package!! :)


Update ceph-deploy instructions to use 'repo' cmd

Signed-off-by: Travis Rhoden<EMAIL_ADDRESS>

LGTM


[CT-2050] Use of "path" and "original_file_path" in nodes is confused

The "original_file_path" field identifies the file from which this node was parsed, such as "models/schema.yml" for a schema file, or "models/my_model.sql" for a model. The "path" field, however, means a number of different things depending on where the node came from.
For generic tests, original_file_path has the schema file listed, but "path" contains the name of the generic test, i.e. "unique_raw_customers_id.sql".  If the same schema file implements the same generic test in multiple places, these tests would overwrite each other in the compiled "target/compiled/<project_name>/models/schema.yml" directory. (I think that at one point these written test names contained the generated unique id name, such as "unique_stg_customers_customer_id.c7614daada", but that seems to have been lost somewhere).
In addition, files that can produce multiple nodes, such as macros may have a name in "path" to distinguish the various blocks.
The so-called "path" is used in creating the file path for writing out the compiled files (in the "compiled" and "run" directories), but it does it by checking whether the path is equal to the original_file_path, and if it isn't (it usually is), it appends the path to the original_file_path to get the path for writing the compiled file.
So sometimes the "path" field has the normal path of the file, sometimes it has the filename of a generic test, sometimes it has a block name.
I propose that we change "path" to always have the path of the file, and we create a new field (path_extra) to contain the necessary extra pieces of the compiled file paths. That way we can more easily construct the "bulld_path" and "compiled_path" (for example see "write_node" in ParsedNode).

@gshank Thanks for opening! I'm reading this as good-old-fashioned tech debt: a thing that's currently inconsistent, and ought to be more consistent. I don't see this as blocking for or blocked by any of the work in #6873.


Make lastActiveItemIndex public, so selection on hover can be implemented

For the case of selection on hover it is needed to manually modify lastActiveItemIndex, so let's make it public

@fscarponi this is a Kotlin property, so it's always getter and setter functions

@fscarponi this is a Kotlin property, so it's always getter and setter functions

did you need to set this property from the outside?
if not, you should expose the property getter but not the setter


Wildcards

This fixes, extends, and closes #1579.

adds wildcards for simp, dsimp, dunfold, and delta in interactive mode
adds an only flag to suppress inclusion of default theorems in simp, simph, simp_intros, and dsimp in interactive mode.
mk_simp_set is no longer private to interactive (it is useful for automation in library_dev)
tactics that create or modify a local hypothesis return the corresponding expression: assert, assertv, simp_at, etc.

There are some noninteractive versions of simp_only, simp_all, etc., in library_dev, but let's leave them there for now, because they are mainly useful for writing automation in Lean.

Now that I think about it, one may reasonably assume that simp with does the same as simp only, since simp with a b does not include the default simpset, either. It doesn't look pretty, but would get us around having to reserve another token.

Now that I think about it, one may reasonably assume that simp with, does the same as simp only,, since simp with a b does not include the default simpset, either. It doesn't look pretty, but would get us around having to reserve another token.

@kha I agree. We already have too many keywords.
BTW, some of them are really annoying (e.g., take).

In the previous implementation simp with a b added lemmas from a and b to the default simp _lemmas. It sounds like you want to base it on the empty simp_lemmas and get rid of only. I will do that.

I made all the changes discussed above, and got rid of the 'only' flag. Now we can type
  simp [h_1, ..., h_n]

to simplify using the default simp set and h_1, ..., h_n, and
  simp [h_1, ..., h_n] with

to use only h_1, ..., h_n.
There is a problem, though. We can use
  simp [h_1, ..., h_n] with foo

to simplify using h_1, ..., h_n and the user attribute foo, or
  simp [h_1, ..., h_n] with foo bar

to simplify with user attributes foo and bar. But these do not include the default simp lemmas. Currently simp is not recognized as a user attribute, so we cannot write
  simp [h_1, ..., h_n] with simp foo

to simplify with the default simp set + foo. On the other hand, if we include simp lemmas by default, there is no way to exclude them.
Options:

Make simp a possible attribute, so we can write

  simp [h_1, ..., h_n] with simp foo

We would have to declare simp as an identifier at the top level or hack the parser. This seems bad.

Go back to the only option, so with includes the default simp rules unless only is present.

Use alterantive versions, simp_only, simph_only, simp_intros_only, etc., rather
the a flag.

Add a use_dflt := tt field to simp_config.

We would have to declare simp as an identifier at the top level or hack the parser. This seems bad.

Yes, it would be bad.

Go back to the only option, so with includes the default simp rules unless only is present.

This is reasonable. I think it is the best option.

Currently simp is not recognized as a user attribute

We have simp with foo default for that. Undocumented, of course :) .

We have simp with foo default for that. Undocumented, of course :) .

@Kha Yes, you are correct.
So, are you suggesting we should not add only?
@avigad wrote a nice summary of the pros and cons. To be honest, I found the syntax simp with a little bit awkward. I think it would be ok if we had brackets (i.e., list notation).
That is, we would write simp with [], simp with [default, foo], etc.
What do you think?

I think the solution with default is pretty good. We can say:
  simp [h1, ..., hn] with default, foo
  simp [h1, ..., hn] with foo
  simp [h1, ..., hn]
  simp [h1, ..., hn] with

and the semantics is easy to document and explain.
With brackets:
  simp [h1, ..., hn] with [default, foo]
  simp [h1, ..., hn] with [foo]
  simp [h1, ..., hn]
  simp [h1, ..., hn] with []

With only:
  simp [h1, ..., hn] with foo
  simp only [h1, ..., hn] with foo
  simp [h1, ..., hn]
  simp only [h1, ..., hn]

All are o.k. by me, and I have no strong preference.

All are o.k. by me, and I have no strong preference.

@avigad For me, the only weird one is simp [h1, ..., hn] with

I vote for "simp only [h1,...,hn] with foo". It seems like a reasonable way
to recognize that "simp" is a special attribute set, and also reads fine.
On Thu, Jun 1, 2017 at 6:14 PM, Leonardo de Moura<EMAIL_ADDRESS>wrote:

All are o.k. by me, and I have no strong preference.
@avigad https://github.com/avigad For me, the only weird one is simp
[h1, ..., hn] with
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/lean/pull/1615#issuecomment-305635716, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA1A7KHalwIm9ZPXpO0nUMh49_Iq166Jks5r_zfZgaJpZM4Npnpg
.

I don't have a strong preference towards either of only or with [].
@avigad

We would have to declare simp as an identifier at the top level or hack the parser. This seems bad.

simp is not a keyword. All we would have to change is the literal in this line.
I believe that would be a reasonable change independent of the surrounding issue.

O.k., I restored the only flag, added the default [simp] lemmas for 'with' by default, and updated the docstring. I rebased on the current version of Lean and tested, so we should be good to go.
In response to @Kha's observation, I tried getting rid of default in get_user_simp_lemmas, but this broke a test (run/converter.lean). It seems that at the low level, there are situations where we still need default (or something) to refer to the standard [simp] attribute. It doesn't interfere with the with option at all, so I left it alone.


Conflicts between textXls and arpeggio

Hi, users are unable to run textXls due to dependency conflict with arpeggio package. As shown in the following full dependency graph of textXls, textXls requires arpeggio ==1.7，while textx requires arpeggio >=1.9.0.
According to pip’s “first found wins” installation strategy, arpeggio 1.7 is the actually installed version. However, arpeggio 1.7 does not satisfy >=1.9.0.
Dependency tree-----------
textxls - 1.0.1
| +- arpeggio(install version:1.7 version range:==1.7)
| +- funcsigs(install version:1.0.2 version range:==1.0.2)
| +- jinja2(install version:2.9.6 version range:==2.9.6)
| | +- markupsafe(install version:1.0 version range:>=0.23)
| +- json-rpc(install version:1.10.3 version range:==1.10.3)
| +- jsonrpcserver(install version:3.5.1 version range:==3.5.1)
| | +- funcsigs(install version:1.0.2 version range:*)
| | +- jsonschema(install version:2.6.0 version range:*)
| | +- six(install version:1.11.0 version range:*)
| +- jsonschema(install version:2.6.0 version range:==2.6.0)
| +- markupsafe(install version:1.0 version range:==1.0)
| +- six(install version:1.11.0 version range:==1.11.0)
| +- textx(install version:2.1.0 version range:*)
| | +- arpeggio(install version:1.9.2 version range:>=1.9.0)
| | +- click(install version:7.0 version range:==7.0)
| +- websockets(install version:3.4 version range:==3.4)

Thanks for your help.
Best,
Neolith

Suggested Solution

Fix your direct dependency to be arpeggio >=1.9.0. I have checked this revision will not affect your downstream projects now.
Ask your upstream project textx to loose the version range of arpeggio.
Remove your direct dependency arpeggio, and use arpeggio transitively introduced by textx.

@danixeee Which solution do you prefer, 1, 2 or 3?
Please let me know your choice. I can submit a PR to solve this issue.

@NeolithEra This project is not being maintained anymore.
Please take a look and try out our new textX language server project which is currently in a  preview mode on a marketplace.
NOTE: There is a known bug when installing textX language projects on a windows machines, but it is going to be fixed in next version (I will release it this week).


advertising restrictions

If you move a lot of pages, there are no more ads.
Google seems to be restricting advertising.
Is there any solution?

yes same issue.


RSV Round 2 submission

Team: UNCC
Model: Hierbin

Hi Lucie, hope you have had a nice Thanksgiving break! I am trying to submit to RSV Round #2 but I kept getting error messages on misspelled column names. Since this is the first time that I work with RSV SMH, could you please let me know the correct column names? I tried to look for it on the GitHub information site but was not able to locate it. In addition, are there any specific format for specifying the age groups? Currently I am using "0-0.99", "1-4", "5-64", "65-130", and "0-130" but I don't know if this is the required format. Thanks very much for your help!

Hi @lunarmouse ,
Thanks for your submission! I looked at your pull-request and there is some issues that might explain the validation problem:

For the projection file (parquet file):

origin_date and the date in the filename should match and be equal to the projection starting date: "2027-04-28" for this round
the output_type_id column should be equal to NA for the "sample" output type and the pairing information should be filled in two additional column: run_grouping and stochastic_run.  Please find here some documentation on these columns.

For the abstract (md file):

The file should be stored in the model-abstract/ folder and should be name "2027-04-28-UNCC-hierbin.md".
It should also match the template file, with the FILL replaced with your results/information for this round.
Please find some documentation here

For the metadata file (yaml file):

As it's your first participation to the RSV round, you need to also provide a metadata file. It should be stored in the model-metadata folder. Please find some documentation and example, here

Please let me know if any questions or other issues,
Best,
Lucie

Thanks very much for your quick response, Lucie! I will get them fixed tonight and send a new pull request. Have a good one.

Hi @lunarmouse ,
Thank you for the update, the validation had an error yesterday, it has been fixed. I apologize for the inconvenience. I triggered a new validation this morning. It seems that it did not worked properly because of an issue in the scenario_id column. Once the column is fixed, the output of the validation should be fixed and easier to read.
Please let me know if any questions or issues,
Best,
Lucie

Hi @lunarmouse ,
Thank you for the update, the validation had an error because the path of the file is not in the expected format so it can not run properly.

The projection file should be: model-output/UNCC-hierbin/2024-07-28-UNCC-hierbin.gz.parquet

Also I cannot merge your file without an associated metadata file:

the should be stored and called as: model-metadata/UNCC-hierbin.yaml (please see the documentation here)

Also as a reminder for this round:

the origin date and the date in name of the file is: "2024-07-28"
the scenario id are: "A-2024-09-20", "B-2024-09-20", "C-2024-09-20", "D-2024-09-20", "E-2024-09-20"

Please let me know if any questions or issues,
Best,
Lucie

Hi @lunarmouse ,
THanks for the update, I am looking into the Validation output. In the meantime, I noticed an issue with the filename. If the metadata and folder name used the model_abbr: "Hierbin", than all the filenames should follow the same name with the same upper/lower case rules. So the file should be named:
"model-output/UNCC-Hierbin/2024-07-28-UNCC-Hierbin.gz.parquet"
I will keep you inform for the validation output.
Please let me know if any questions or issues,
Best,
Lucie