[autodock-vina] New Port

Describe the pull request
New port of autodock-vina

Which triplets are supported/not supported? Have you updated the CI baseline?
Linux, Windows. should be more.

Does your PR follow the maintainer guide?

Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@talregev ,If this pr is ready for review,please let me know. thanks

@JonLiu1993 It not ready. Because it fail on Windows. Also I put in draft.
When it will be ready, I will let you know.
Thank you

@JonLiu1993 It ready for review.

@JonLiu1993 I succeeded to compile it on windows static.
I am trying to compile it also as dynamic.
It still work on progress. I convert it back to draft.

@JonLiu1993 I decided to leave it static only.
The port is ready for review.

@JonLiu1993 The PR is ready. It also compile on osx.
It fail because other port.
Can you review my PR meanwhile they will fix the other port?

/azp run

2021-08-23T08:18:17.9025201Z CMake Error at ports/autodock-vina/portfile.cmake:15 (vcpkg_cmake_configure):
2021-08-23T08:18:17.9030098Z   Unknown CMake command "vcpkg_cmake_configure".
2021-08-23T08:18:17.9035742Z Call Stack (most recent call first):
2021-08-23T08:18:17.9040474Z   scripts/ports.cmake:140 (include)

2021-08-23T08:25:47.2777263Z CMake Error at ports/autodock-vina/portfile.cmake:19 (vcpkg_cmake_install):
2021-08-23T08:25:47.2784142Z   Unknown CMake command "vcpkg_cmake_install".
2021-08-23T08:25:47.2791759Z Call Stack (most recent call first):
2021-08-23T08:25:47.2807675Z   scripts/ports.cmake:140 (include)

2021-08-23T08:31:24.7262156Z CMake Error at ports/autodock-vina/portfile.cmake:21 (vcpkg_cmake_config_fixup):
2021-08-23T08:31:24.7267998Z   Unknown CMake command "vcpkg_cmake_config_fixup".
2021-08-23T08:31:24.7273811Z Call Stack (most recent call first):
2021-08-23T08:31:24.7279613Z   scripts/ports.cmake:140 (include)

After finish your suggesstion changes,please run command "./vcpkg x-add-version autodock-vina --overwrite-version" then commit the changes again

@JonLiu1993 Done.
Please review it again.

Thanks for the new port! 👍

Hi all, just notifying you of a recent fix: https://github.com/ccsb-scripps/AutoDock-Vina/pull/52

@diogomart, I'll update my PR with your fix here since you merge yours: https://github.com/microsoft/vcpkg/pull/20669
I'm wondering, do you plan to make a release soon? This will reduce overhead with custom patches for this port.
Thanks in advance for your answer

@AenBleidd yes we are planning to release v1.2.3 in a matter of days.


TextField longpress is unusable in Accessibility mode

In the gallery, try out the text fields demo in a11y mode.
Enter some text into the first box, and then a11y long-press (one tap then hold on the second tap).
The 'paste' or 'select all' overlay pops up, but it is not tappable.

@jonahwilliams /cc

This works just fine for me, if the flutter version was old it might be related to a sorting change i fixed where widgets were hit tested wrong in a11y mode.  that would place the overlay behind the material

Closing as fixed but feel free to reopen if you are still seeing this


com_github_westes_flex, org_gnu_gnulib: portability improvements

com_github_westes_flex: drop unnecessary locale bits
Dropped ENABLE_NLS, HAVE_GETTEXT and other locale bits from defs.
Users most likely won't benefit from localized messages.

This change removes an unwanted dependency on locale libs of the
system, and makes "flex" compile on platforms that don't have one
and platforms that have different-than-expected one.

org_gnu_gnulib: add header declarations of obstack for macOS
Fixes implicit declaration of function errors on macOS.

@QuantamHD - PTAL.

Thanks so much for the PR's @jesec these are awesome!!!


Some expressions revised in Japanese style

Some expressions including comma, punctuation and wording are changed.
Also, square brackets [ ... ] are appended into some lines.

Thank you @taniokah!


Help message for echtvar anno should call the arg <OUTPUT_BCF>, not <OUTPUT_VCF>

One last incredibly small nitpick. Unless there's an option to output uncompressed vcf that I'm not seeing?

if the -o argument ends with "bcf" it will write bcf, otherwise, it will write compressed vcf.
For now, you can use " -o /dev/stdout" and pipe to zcat. If you insist, I can probably expose an argument to modify this.

I pushed a fix for this so when you run echtvar anno -h it now shows:
...
ARGS:
    <INPUT_VCF>     input vcf or bcf
    <OUTPUT_VCF>    path to bcf/vcf.gz output file (determined by extension)

Ah gotcha! I was trying to output to out.vcf and getting a file that wasn't readable by less but was by bcftools--so I assumed it was a bcf. But if it was actually a gzipped vcf, that would also lead to the observed binary-ness


Enhancement: AUC ratios

Description
AUC intervals tables should at some point allow the user to compute their own metabolite AUC ratios or profile AUC ratios. These values should be included either in the final table as additional columns or in a new table
Bloqued until multiple analytes avaialble #3
Definition of Done

[ ] allow user to customize intervals to compute profile AUCs ratios (i.e, AUC_dosno2/AUC_dosno1)
[ ] allow user to customize intervals to compute metabolite ratios AUCs (considering Molecular Weights to normalize)

Hmm something really worthy to talk about. We still need to investigate the theory in detail, but the main idea is to allow the user to fill a dataframe with columns for analyte1, analyte2, dosnos1, dosnos2, mw1, mw2. Then for each row the app will just compute the relations in the post-processing, after pk.nca.

Yes, there are several subtleties, and it can be automated. We should talk about it.


Enhancement request:  Ability to Grouping Work items(WI) as parent - children

Azure DevOps Extension you are using
Generate Release Notes (Crossplatform)
Where are you running it?

Azure DevOps Service (VSTS)

Version of Extension/Task
Version: 2.38.2
Expected behaviour and actual behaviour
As you know, in Azure DevOps, Work items can have parent - children relationship.
However, in the current version of Generate Release Notes (Crossplatform), it seems to be hard to get Work items parent - children relationship.
It will be really great if there is a option that Work items can be grouped as parent - children relationship and appeared in auto-generated release notes like this
e.g)

WorkItem1

Task1 for WorkItem1
Task2 for WorkItem1

WorkItem2

Task3 for WorkItem2
Test1 for WorkItem2
Test2 for WorkItem2

How do you envisage this working?

we get back all the wi associated with the release, as now, but then sort them into a hierarchical tree?
we get back all the wi associated with with release, as now, but then find parents and/or children?

Obviously the first option is easier, and I think less likely to produce unexpected results

First option would be great. But I think that maybe we can provide more flexibility if we implement like this.

add string comparison functionality in Handlerbars

{{#ifeq variable "string"}}
    ... do this ...
{{/ifeq}}

add these kind of data field at each workitems (as you might know, there is a api for this data field)

 "Links": [{
            "SourceWorkItemId": 103,
            "TargetWorkItemId": 48,
            "LinkTypeName": "Child",
            "TargetWorkItem": {
                "WorkItemId": 48,
                "Title": "Story 15",
                "State": "Resolved"
            }
        }, {
            "SourceWorkItemId": 103,
            "TargetWorkItemId": 50,
            "LinkTypeName": "Child",
            "TargetWorkItem": {
                "WorkItemId": 50,
                "Title": "Story 17",
                "State": "Active"
            }
        }, {
            "SourceWorkItemId": 103,
            "TargetWorkItemId": 55,
            "LinkTypeName": "Child",
            "TargetWorkItem": {
                "WorkItemId": 55,
                "Title": "Story 22",
                "State": "New"
            }
        }, {
            "SourceWorkItemId": 103,
            "TargetWorkItemId": 112,
            "LinkTypeName": "Related",
            "TargetWorkItem": {
                "WorkItemId": 112,
                "Title": "Some issue",
                "State": "Active"
            }
        }]

And user can utilize it like this
# Global list of WI ({{workItems.length}})
{{#forEach workItems}}
{{#ifeq lookup this.fields 'System.WorkItemType' "Product backlog item"}}
   ###  #{{this.id}}
{{#forEach workItems.Links}}
{{#ifeq this.LinkTypeName "Child"}}
   - #{{this.TargetWorkItemId}}
{{/ifeq}}
{{/forEach}}
{{/ifeq}}
{{/forEach}}

Changing the function that gets the details of workitems is easy to also get any references (and hence links. It is just a case of altering one parameter for the existing call.
This would get all the references associated with a work items (commits, other WI etc), which would all be accessible in an generated release notes. The problem is that for work item links all you get is the relationship and URL
- relations: [
  {
      rel: "System.LinkTypes.Hierarchy-Forward",
      url: "https://dev.azure.com/richardfennell/670b3a60-2021-47ab-a88b-d76ebd888a2f/_apis/wit/workItems/62",
      attributes: {
          isLocked: false,
          name: "Child",
     },
}...

You could make use of this in a template, but I am not sure the URL is enough for any practical use
{{#forEach this.workItems}}
{{#if isFirst}}### WorkItems {{/if}}
*  **{{this.id}}**  {{lookup this.fields 'System.Title'}}
   - **WIT** {{lookup this.fields 'System.WorkItemType'}}
   - **Tags** {{lookup this.fields 'System.Tags'}}
   - **Description** {{{lookup this.fields 'System.Description'}}}
   - **Children**
{{#forEach this.relations}}
{{#if (contains this.attributes.name 'Child')}}
         - {{this.attributes.name}} {{this.url}}
{{/if}}
{{/forEach}}
{{/forEach}}

I think to make this feature of any use I am going to have iterate across the set of associated work items and populate the details of parent and child work items before passing the results in handlebars.
However, it is hard to define how much information is enough

Do you need both parent and child items
Do you iterate down the tree forever for just immediate parent/child
Do you need just the Title and ID, or more fields

This has been added in 2.49.4
To make use of the feature make sure that it is enable on the task in the YAML (or the Handlebars section of the UI)
 getParentsAndChildren: true
and use a template in the form
{{#forEach this.workItems}}{{#if isFirst}}### WorkItems {{/if}}
* **{{this.id}}**  {{lookup this.fields 'System.Title'}}
- **WIT** {{lookup this.fields 'System.WorkItemType'}}
- **Tags** {{lookup this.fields 'System.Tags'}}
- **Assigned** {{#with (lookup this.fields 'System.AssignedTo')}} {{displayName}} {{/with}}
- **Description** {{{lookup this.fields 'System.Description'}}}
- **Parents**
{{#forEach this.relations}}
{{#if (contains this.attributes.name 'Parent')}}
{{#with (lookup_a_work_item ../../relatedWorkItems  this.url)}}
      - {{this.id}} - {{lookup this.fields 'System.Title'}}
{{/with}}
{{/if}}
{{/forEach}}
- **Children**
{{#forEach this.relations}}
{{#if (contains this.attributes.name 'Child')}}
{{#with (lookup_a_work_item ../../relatedWorkItems  this.url)}}
      - {{this.id}} - {{lookup this.fields 'System.Title'}}
{{/with}}
{{/if}}
{{/forEach}}
{{/forEach}}


Add a new Goal component.

Overview
This branch adds a new Goal component.
The component supports the following configuration:

label - The label to display next to the progress indicator.
targetValue - The value at which the goal has been "met" or "completed".
maxValue - The maximum value to use for the progress indicator (the denominator).
valueProvider - A SingleValueProvider<number> implementation that provides a single numeric progress value.  Current implementations include static, random, and custom field value providers.
icon - An optional FontAwesome icon override.  By default the star (solid) icon is used.
notStartedColor - Optionally override the color used when no progress has been made toward the goal.
inProgressColor - Optionally override the color used when the value is greater than 0, but still less than the targetValue.
completedColor - Optionally override the color used when the value is greater than or equal to the targetValue (i.e. once the goal has been met).

Here are a few samples from the storybook:

I will reset the snapshot version numbers prior to merging.
Security
REMINDER: All file contents are public.

[x] I have ensured no secure credentials or sensitive information remain in code, metadata, comments, etc.

[x] Please verify that you double checked that .storybook/preview.js does not contain your participant access key details.
[x] There are no temporary testing changes committed such as API base URLs, access tokens, print/log statements, etc.

[x] These changes do not introduce any security risks, or any such risks have been properly mitigated.

No new security risks.  This branch just adds a new UI component for visualizing progress toward a goal.

Checklist
Testing

[ ] MyDataHelps iOS app
[ ] MyDataHelps Android app
[ ] MyDataHelps website

Documentation

[x] I have added relevant Storybook updates to this PR as well.

Summary by CodeRabbit
Release Notes

New Features

Introduced a new Goal component for visualizing progress with a pie chart.
Added a new CSS file for goal-related components, enhancing layout and appearance.
Implemented a preview data system for goal states, allowing dynamic value management.
Enhanced Storybook documentation with interactive examples for the Goal component.

Version Update

Updated project version to 2.43.1-GoalComponent.0.

Chores

Expanded module exports to include new components and types for better accessibility.

This feels more like a presentation than container component.

Per our README, here is the differentiation between presentational and container components:
### Presentational Components

Presentational components do NOT fetch data to populate themselves.  They are the underlying UI building blocks of the views and connected components.  These are things such as buttons, cards, and a display for a single survey task.

### Container Components

Container components fetch data via the MyDataHelps.js SDK.  These components will only function if used in a view inside MyDataHelps or via manually passing an access token to the SDK.

Since the Goal component fetches data for itself using the MDH.js SDK (among other sources), I think it fits best with the container components.

For example, this could not be dropped into vb without a wrapper. Unless I am missing something?

The Goal component can be dropped into the ViewBuilder anywhere and it should function appropriately.  A user may wish to place it within a Card or a Section component, but that wouldn't be necessary.

I think I have addressed all of the feedback thus far.  Please let me know if I have not alleviated a concern or if you would like me to address anything else/further.

I have reverted the snapshot version numbers.  I would like to merge this today, if possible.
Are there any further objections or requests for delay?
Thanks!


We should plot number of spots detected per regional barcode

@josephneos1010 @TLSteinacker

[x] stratified by FOV (2 heatmaps -- 1 filtered, 1 unfiltered spots)
[x] aggregated across FOVs (side-by-side barchart -- filtered and unfiltered for each regional barcode timepoint)

Examples:


Add web underfs jar in generate-tarball.go

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9579/
Test PASSed.

/ping @jiacheliu3

alluxio-bot, merge this please


useRoute providing incorrect data when used in a layout

Environment

Operating System: Darwin
Node Version:     v18.16.0
Nuxt Version:     3.2.3
Nitro Version:    2.2.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      typescript, modules, sanity, googleFonts, sitemap, nitro
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Sorry, but I couldn't get folder based page routing to work on StackBlitz and CodeSandbox is not working. (please provide some guidance if possible)
Instead, you I wrote out the code to reproduce this below:
Directory Structure

app.vue
/pages

index.vue
about.vue

/layouts

default.vue

Code
app.vue
<template>
  <NuxtLayout>
    <NuxtPage />
  </NuxtLayout>
</template>

/pages/index.vue

<template>

Home page

    <NuxtLink to="/about">About Page</NuxtLink>

</template>

/pages/about.vue
<template>

About page

    <NuxtLink to="/">Home Page</NuxtLink>

</template>

/layouts/default.vue

<template>

   <slot />

</template>

Steps to reproduce

Land on the home page
View your console and note the logs produced by /pages/index.vue and /layout/default.vue
Press the NuxtLink to go to the about page
Press the NuxtLink on the about page to go back to the home page
View your console and note the logs produced by /pages/index.vue and /layout/default.vue

Behavior
Current:

When first landing on the home page, the logs of the page and the layout are consistent (both show '/' for the fullPath)
Upon navigating to the about page and return to the home page, the logs are different:

the page logs correctly: /
the layout logs incorrectly: /about

Expected:

Both the layout and the page should have consistent logs (i.e. retrieve the same value from useRoute())
The layout should display the correct fullpath, even when navigating away and returning using the NuxtLink (i.e. it should have logged '/' instead of '/about/' since we are on the home page)

Describe the bug
When calling useRoute() inside of a layout, it will retrieve the correct value on the initial load or when refreshing the page. Once navigating away using a NuxtLink, it appears to retrieve an incorrect/old value (possibly due to client-side rendering). Please see the reproduction section for details.
Additional context
No response
Logs
No response

Hi :) I figured out a workaround for my problem, which helped me understand this "issue" a bit further.
I think because the NuxtPage renders after the NuxtLayout, if useRoute is called statically in the layout, will contain information that is not up to date (hence why logging that information right away provides data about the previous route). Once the page renders and its scripts are executed, the layout will have the correct route data for that page.
I was able to come to this conclusion by rendering the value of route.fullPath in my template rather than logging it. Because rendering it in the template made it dynamic, it held the correct value once everything loaded. Logging it immediately, on the other hand, retrieves the static value at the point the script is called (which as mentioned, is outdated, presumably because the page's script has not yet run).
To conclude, for my use case I needed to set a custom meta property to use in the layout to show a top bar on certain pages. My workaround was to use a computed property that retrieved the value from route.meta rather than a static value.
I would still say this behavior is unintuitive but perhaps it is not a bug. I am not sure if this is the best workaround, so I would love to hear what everyone else thinks, and if they would classify this as a bug.

@shareefhadid here is a stackblitz (the layout logs only once and there is no extra reload for layout, and the log for pages work properly during navigation) and it seems to be working properly, have you tried npx nuxi clean ?
https://github.com/nuxt/nuxt/assets/38922203/17cf72dc-e4d1-41da-9ee6-b49352fe1aa1

@arashsheyda my apologies, it seems I missed an important detail. Thank you for taking the time to reproduce (and include a stackblitz and a video).
I have updated the stackblitz you provided with the following updates:
https://stackblitz.com/edit/nuxt-starter-sf9dh6?file=layouts%2Fblank.vue

Created a new layout called "blank"
Set the layout of the about page to "blank" on the about page

Here is a video demonstrating the issue I was having:
https://github.com/nuxt/nuxt/assets/40722223/caff144f-c66c-4631-9950-b99012708d99

@shareefhadid no problem 😄
yes you are right, maybe also you could watch the route.fullPath for change in layouts(not sure if it's the best way)

You can see a little more about why this is happening here and here.

You can see a little more about why this is happening here and here.

@danielroe Thanks for the response :) Honestly, it is a little over my head. If I understand correctly when I call useRoute() in the layout, I am getting the global context with the old route at setup? Whereas when I call it on a page I correctly get the current context which has the current route at setup?
Anyhow, I just wanted to confirm whether my method of using a computed property is an okay workaround. In my case, I don't care that the value may be inaccurate until the page loads. I am only using the meta to toggle a component with v-if so as long as it displays by the time page loads, I am fine.

@shareefhadid Yes, using computed as you are doing is the right approach 👍

For me it is breaking since I switched from vanilla Vue to Nuxt. My solution is, to use the useRoute function from vue-router instead. Then it would use the correct route also in the layout.
I would use them like this and use it only where neccessary:
import { useRoute as useNativeRoute } from 'vue-router'
const nativeRoute = useNativeRoute()

I would consider this a bug as these 2 versions of useRoute should not behave differently.


Stuck on "is Starting" then crash if click "check on updates"

Please describe what you were doing when this error happened.
Specifications

OS: win32
IPFS Desktop Version: 0.16.0
Electron Version: 13.1.4
Chrome Version: 91.0.4472.106

Error
TypeError: ctx.manualCheckForUpdates is not a function
    at click (C:\Program Files\IPFS Desktop\resources\app.asar\src\tray.js:216:30)
    at MenuItem.click (electron/js2c/browser_init.js:73:1742)
    at Object.a._executeCommand (electron/js2c/browser_init.js:81:2492)

@Mamky-Ebal   Is this a clean install or did you have a big repository?


Slow Capybara::Server boot blocking in #responsive? method

I experience slow (some minutes) boot time of the server when using a
javascript driver. I saw it was blocking during connect but that no
server was running at this time, the server is only started after a
first connection failure. I have been using the following quick
workaround as monkey patch since months:
https://gist.github.com/anonymous/9b160239c098aefb266f, which prevent
doing the first connection attempt (the one before server start) and
it worked well for me.
I wanted to work on a proper fix (by the way I could not find the
mailing list address, sorry for opening an issue directly), but I face
multiple problems: I can't run the test suite easily on master as it
can takes hours to complete, it fails on unrelated specs (I would need
a custom WM as I understand:
https://github.com/jnicklas/capybara/blob/master/.travis.yml#L49-L51),
my "fix" breaks existing specs on Capybara::Server, and seems to
have side effect on the test suite (Errno::EADDRINUSE errors during
bind).
I'm very unfamiliar with ruby Thread API and don't have rubinius
anymore so this is as far as I could go:
https://github.com/tjouan/capybara/compare/fix-server_responsive-thread_check.

tjouan/capybara@c3038fb "fixes" the last server spec, I think the
intent was originally to stub the HTTP connection, not to add an
expectation;

tjouan/capybara@c26bcec is to allow increasing server wait time, it
was not enough in my case, first connect is always longer than the
hard-coded 60 seconds;

tjouan/capybara@b99fbf2 adds a guard clause to #responsive? so it
returns early and details what may be an issue as I understand it:
  `Server#boot' calls `#responsive?' before starting the server, which
will make the program block on a connection attempt to the host and port
where the server should be running.

  After some time, the `connect' system call returns with an error,
`#responsive?' returns false and `#boot' execution resumes. The server
is then started, `#responsive?' is called again and a new connection
attempt is made.

  This change add an expression in the guard clause for `#responsive?'
method to explicitly test that @server_thread is falsy, and return false
in that case.

Here are the errors on Travis CI:
https://travis-ci.org/tjouan/capybara/builds/102936275
The one for MRI seems random, but the one for rbx-2 seems consistent.

The "mailing list" is linked to right from the top of the README

Need help? Ask on the mailing list (please do not open an issue on GitHub): http://groups.google.com/group/ruby-capybara"

The monkey patch you have been using breaks the use of Capybara with multiple sessions, and is why you have test failures after applying it.  Capybara will sshare one server thread amongst multiple sessions that use the same application instance to reduce memory usage, etc.  Because of this the session first attempts to connect to an existing server instance (that may exist in another session - the first responsive? call) and if that connection is refused it then starts up a new server thread and waits (up to 60 seconds) until that is responsive.
If you're having an issue where the first responsive? call takes a long time to be refused you really need to look at your system/firewall setup and make sure that attempted connections from the local machine aren't just silently dropped.  If on the other hand your delay is only in the server start-up, we would consider a PR that made that time configurable (probably preferred as a capybara setting rather than ENV variable), but you also should really look at whats happening during your apps startup - there are very few apps that should really take over a minute to startup in a test environment.
As for the server spec, it is correct as written (an RSpec message expectation), Net::HTTP is expected to receive :start and when it does is mocked to raise an error

Thank you for your fast and detailed answer,
On 2016-01-17 10:35:41 -0800, Thomas Walpole wrote:

The monkey patch you have been using breaks the use of Capybara with multiple sessions, and is why you have test failures after applying it.  Capybara will sshare one server thread amongst multiple sessions that use the same application instance to reduce memory usage, etc.  Because of this the session first attempts to connect to an existing server instance (that may exist in another session - the first responsive? call) and if that connection is refused it then starts up a new server thread and waits (up to 60 seconds) until that is responsive.

What seemed odd to me in the server code and specs now makes perfect
sense, I understand how my change was "naive" and wrong regarding the
expected behavior you describe.

If you're having an issue where the first responsive? call takes a long time to be refused you really need to look at your system/firewall setup and make sure that attempted connections from the local machine aren't just silently dropped.

The problem is I can't control this in all environments easily.
Forcing localhost instead of <IP_ADDRESS> (localhost does not always
resolve to this address) mitigates the issue in a few env where I can
temporary change system behavior but this is not very convenient or
wanted as I still generate false positive alerts due to first failed
connection attempt.

If on the other hand your delay is only in the server start-up, we would consider a PR that made that time configurable (probably preferred as a capybara setting rather than ENV variable), but you also should really look at whats happening during your apps startup - there are very few apps that should really take over a minute to startup in a test environment.

The server start-up is ok for me, I just needed to increase the
timeout during my diagnosis because it was shorter than the time
required for connect() to fail, in that case capybara would report
that server took to long to start, but in fact it will never be
started (need first connection failure).
What I want to achieve seems specific, so I think the best path is
to maybe work on an alternative and independent implementation for the
server part, I'll give it a try when I can.
Again, thank you a lot for taking the time to explain the behavior
of current server implementation in capybara.

The "mailing list" is linked to right from the top of the README

Need help? Ask on the mailing list (please do not open an issue on GitHub): http://groups.google.com/group/ruby-capybara"

I got a page in mixed language listing archives, but no address
listed or any doc. I found an unofficial process to "guess" it but
the mail I sent bounced back. I admit I didn't try very long, because
every time I try to use mailing lists on google-group I have
troubles :-)


Fix docstrings for scanpy.tl.rank_genes_groups

Changes

Removes empty line causing the example terminal commands to be displayed incorrectly.
Prepends >>> to comment.

Related issues
Closes #1416.

Tests are failing and I suspect that this is caused by an update on seaborn or matplotlib...

Tests are failing and I suspect that this is caused by an update on seaborn or matplotlib...

Yes, should be as the introduced changes are not linked to the failing tests. I also checked and both seaborn and matplotlib have been updated in the last few days. See here and here.

Thanks. I just confirmed that the newer versions for both packages were used in the tests. I am checking now what is the difference.

When running the tests locally with Python 3.7, seaborn seems to be the problem, as the tests pass for matplotlib==3.3.2.

Indeed, seaborn is the problem. I am getting the plots horizontal when they should be  vertical:

The problem seems to be here and here as seaborn throws the warning
UserWarning: Vertical orientation ignored with only `x` specified.

in the stack trace of the failed tests. I'll open a separate issue as it is unrelated to this PR.

Let's merge once #1420 is solved.

@WeilerP Can you merge with master to trigger CI?

@fidelram, I merged with master and all tests pass. Should be ready to merge.


I can't run the program successfully

Hello, I am a novice, I spent a lot of time trying to run your program again, after solving many problems, I can't solve this problem now, could you please help me to see how to solve it? Thank you very much. I really want to run this program successfully!

Hi, it can be due to the version of OpenAI gym try installing version 0.22 or older.
Let me know if the issue still occurs

Hello, thank you very much for your timely answer, which is very important for me as I am eager to solve the problem. Just now I checked the version of the GYM in my virtual environment, which is already 0.26.0 version. So I guess it may not be the version of GYM!

Hi, it can be due to the version of OpenAI gym try installing version 0.22 or older.
Let me know if the issue still occurs

Hello, thank you very much for your timely answer, which is very important for me as I am eager to solve the problem. Just now I checked the version of the GYM in my virtual environment, which is already 0.26.0 version. So I guess it may not be the version of GYM!Can you see the picture? I don't know why uploading pictures doesn't work

Yes I can see the picture, and in fact your version of gym is newer! Try installing an older one, e.g pip install gym==0.22.0, and see if the error is still there

Yes I can see the picture, and in fact your version of gym is newer! Try installing an older one, e.g pip install gym==0.22.0, and see if the error is still there

Hello, thank you very much for your answer. I have successfully run your program. This is the first program about reinforcement learning that I have successfully reproduced. I am very happy. Thank you again! In addition, I have a few small questions to ask you. First, I find that the frame number of the picture is very low, which leads to the image of pyGame's camera being particularly blurred, and the image of Carla is also very blurred. Is there any way to make it clearer? Second, I found that Carla and pygame are lagging when running the program, and after running for a while, pyGame would not respond, and then it and Carla would crash. What is the reason and what is the solution? My computer is configured with AMD ryzen 7 5800h, rtx3060 laptop GPU and 16g running memory. Is my computer not configured enough? Third, I have learned the basics of reinforcement learning at present. I want to learn more about how reinforcement learning should be applied by learning your code. There may be a lot of things I don't understand when I study your code. I want to ask you if there are any questions at that time! I don't know if you have wechat. Can you add one conveniently? I promise not to disturb you frequently! Thank you again!

Hi and sorry for the late response.
In general the framerate is low, at most I managed to achieve 10-15 FPS. This is mainly due to the CARLA simulator itself but also to the agent's network that has to process 3 90x120x3 camera images at each frame.
As you can see here, you can set both the camera resolution and the size of the pygame window. I picked these settings for best performance over quality, also because the memory consumption is quite high (#10). Moreover, also the simulator quality is set to low: see the repo's README; in general, when you lunch CARLA, you should remove the argument --quality-level=Low, but expect slower performance. Refer to also this issue #12.
Your computer have an adeguate CPU, but both the GPU and RAM memory are a bit small. So, you have to consider to reduce the batch size and also the number of timesteps, and/or the image resolution.
For further details about the code, see these issues: #11, #8, #4, and #18.
If you want to better understand the code, you should learn the CARLA API first (https://carla.readthedocs.io/en/latest/start_quickstart/), and you should also take a reinforcement learning course (this is a good place to start.)
Lastly, if you need to contact me, please do this only via email. Thanks.

I'm sorry that I accidentally closed this question. I can only choose to use email to ask you questions. I hope you can see the email. Thank you!


css Adjus

in my phone（Nokia 7 plus） view site

Oh, Good! Thank you for the bug report. It will be fixed in the next commit. Anyway, I just checked your blog.

Enough size, that's it.

@Jason-cqtan It's fixed now😋


Bug: Various new "griffe: Failed to parse annotation from 'BoolOp' node at file" errors

Describe the bug
My readthedocs-hosted mkdocs build worked fine up until a recent commit - which changed nothing relevant as far as I can tell - where I started getting a lot of:
griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/cond.py:1
On various files (always at line 1)
To Reproduce
See full build here:
https://readthedocs.org/projects/pdpipe/builds/18107492/
And the repo here:
https://github.com/pdpipe/pdpipe
Expected behavior
Build should complete successfully.
System (please complete the following information):

griffe version: griffe-0.22.1
Python version: 3.8
OS: Linux

See full build here:
https://readthedocs.org/projects/pdpipe/builds/18107492/
Stacktrace
INFO     -  Cleaning site directory
INFO     -  Building documentation to directory: /home/docs/checkouts/readthedocs.org/user_builds/pdpipe/checkouts/latest/_build/html
ERROR    -  griffe: Failed to parse annotation from 'BinOp' node at pdpipe/basic_stages.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/basic_stages.py:1
WARNING  -  griffe: pdpipe/basic_stages.py:94: Parameter 'exclude_columns' does not appear in the function signature
ERROR    -  griffe: Failed to parse annotation from 'BinOp' node at pdpipe/basic_stages.py:1
WARNING  -  griffe: pdpipe/basic_stages.py:154: Parameter 'exclude_columns' does not appear in the function signature
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/basic_stages.py:1
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/basic_stages.py:1
WARNING  -  griffe: pdpipe/basic_stages.py:477: Parameter 'exclude_columns' does not appear in the function signature
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/basic_stages.py:1
WARNING  -  griffe: pdpipe/basic_stages.py:654: Parameter 'exclude_columns' does not appear in the function signature
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/col_generation.py:1
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/cond.py:1
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/cond.py:1
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/core.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
WARNING  -  griffe: pdpipe/core.py:1126: Parameter 'transform_getter' does not appear in the function signature
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
ERROR    -  griffe: Failed to parse annotation from 'Tuple' node at pdpipe/core.py:1
WARNING  -  griffe: pdpipe/core.py:1787: Confusing indentation for continuation line 6 in docstring, should be 4 spaces, not 3
ERROR    -  griffe: Failed to parse annotation from 'BoolOp' node at pdpipe/nltk_stages.py:1
ERROR    -  mkdocstrings: No module named 'pdp'
ERROR    -  Error reading page 'reference/runtime_parameters.md':
ERROR    -  Could not collect 'pdp.run_time_parameters'

Hi!
It seems you're using the "type" slot for the description in your docstrings, for example here: https://github.com/pdpipe/pdpipe/commit/b7120ef92a7af2ef3c976af34dd1a5fc815e136e#diff-ef300b911b47cd25532c53d54944b8153438298de58c57f3629c679341881a18R1207
I'm seeing other errors such as indentation and formatting of the returns section
Our parser tries to follow the Numpydoc style guide.
I'll go ahead and close this for now, don't hesitate to open new issues once your formatting is fixed :slightly_smiling_face:
"BoolOp" warnings are already tracked in #93!

Got you.
Of course it's from a PR I received and that's the one thing I didn't check.
Ended up finding numpydoc, and the ability to run
python -m numpydoc pdpipe.run_time_parameters --validate

I'm going to create a numpy-docstring-linting job for my Github Actions, which will prevent this in the future. :)
Thank you!


Add i18n workflow

https://ocp-software-handbook.readthedocs.io/en/latest/python/i18n.html#continuous-integration

closed by 6dfc34d8d5c6ab8be8f01bdada0b03dffd665ee8


Formatting rating questions

Are you requesting a feature, reporting a bug or ask a question?
A question if it's already possible, and a feature request if it's not.
What is the current behavior?
N/A
What is the expected behavior?
I would like to change the formatting of rating questions via CSS.
Other details
After much difficulty I was able to adjust (some aspects of) the matrix question based on a previous question (I still can't reduce the height of the rows properly...there is an effect, but it's not really reducing the height).  Now I'm trying to adjust the formatting of the rating question, and I can do some things (increase the padding below), but not the important things (change color of each button, set the width of each button, center the buttons, etc.)
Maybe it's just a matter of not knowing the relevant CSS properties of the buttons, or my lack of deep knowledge of CSS.  But I couldn't find any documentation or examples of changing the button properties to use as a springboard.
The same thing applies to the other element types.  For example, I cannot set the margins or padding or width or any other property of the text or comment or html type elements.  I can't figure out how to center the "previous", "next", and "complete" buttons either.  Maybe it's all easy, but adapting what worked for the .matrixtable class doesn't work for any of these.

Could you please share your design - how the rating question should look like? And your CSS rules that don't work. We'll try to find a solution for you.

Here is what it currently looks like:

The group of button should fill width 670px, center aligned, with buttons of equal width.  I would also like to (manually) color them individually.
I would also like the "Next" button to be centered and larger, and various other things like setting the width and alignment of a "comment" element to match.
Since nothing I've done with CSS has any effect, I doubts it's helpful for you to see that, but ...
  if (options.question.isRequired) {
           classes.title = "sq-title this-title-required";
        }
        if (options.question.getType() === "matrix") {
            classes.root = "table table-striped matrixtable";
        }
        if (options.question.getType() === "text") {
            classes.root = "textFormatted";
        }
        if (options.question.getType() === "rating") {
            classes.root = "btn-lg btn-nice";
        }

where, for example,
.textFormatted {
  width: 670px;
  margin-left: auto;
  margin-right: auto;
}

This sort of thing worked to set the required question text red, and to resize and center the matrixtables, but it doesn't do anything to the other elements I'm trying to format.

What platfrom (jQuery, knockout, Angular, React or Vue) and theme are you using?

Currently jQuery and bootstrap, but not for any particular reason.  I have no idea what the differences are yet.  I'm just starting to figure out how to get the data from the survey output into a file (i.e. how to save the JSON file or results).

Yes, that basically works, although centering using   margin-left: auto;   margin-right: auto;
doesn't work, with width and margin-left: #px; does the job for me in this case.
Strangely, once I implemented that change for the rating question, my CSS settings for the text and comment types applied correctly to those elements.
Thank you again for your help!


⚠ Bofrost.at has degraded performance

In af82c23, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2356 ms

Resolved: Bofrost.at performance has improved in 05d49bd after 6 minutes.


redux-persist: Stop erroring on a case we've seen empirically

As discussed in the office today.

Thanks for spotting this!
Fixed the lint error and added a few more words to the comment, and merged.

Also FTR: I said in the office that this invariant was making this error into a crash, but looking closer at the code now I see that isn't the case -- it just causes this one async function to fail and the resulting Promise to reject. So the symptoms should be identical to what they were for the same inconsistent-storage condition before we made the refactoring that added this invariant, namely that there won't be data for the given key and that subtree of the state will remain at its initial value. Which in turn promptly gets clobbered by the initial fetch, papering over the issue, as described at #4841.

Great, thanks for the review and fixes!


Investigate whether we need to provide ProGuard config

At the moment, the plan for 1.1.0 is to check whether the embedding application is using Google Maps using the Class.forName method:
Class.forName(
    "com.google.android.gms.maps.GoogleMap",
    false,
    ClassLoader.getSystemClassLoader());

This is stringly typed, and as such, vulnerable if the GoogleMap class name is ever obfuscated.

It seems that ProGuard will indeed obfuscate code included in libraries if the consuming app enables ProGuard. See this post by ProGuard creator, Eric Lafortune:

Library projects by themselves don't run ProGuard, so they don't use any configuration.
Application projects obfuscate the entire code base, including any referenced libraries, so they need proper configuration for the application code and for the library code.

This post is nearly 4 years old; the first statement is not longer accurate. The relevant behavior was changed in version 0.57 of the Android Gradle plugin, whose release notes referenced the following addition to the plugin:

Proguard support for libraries. Note the current DSL property proguardFiles for library now sets the proguard rule file used when proguarding the library code. The new property consumerProguardFiles is used to package a rule file inside an aar.

The packaged rule file referenced here will be included at the root of an aar (my emphasis):

AAR Format
The 'aar' bundle is the binary distribution of an Android Library Project.
The file extension is .aar, and the maven artifact type should be aar as well, but the file itself a simple zip file with the following entries:

/AndroidManifest.xml (mandatory)
/classes.jar (mandatory)
/res/ (mandatory)
/R.txt (mandatory)
/assets/ (optional)
/libs/*.jar (optional)
/jni//*.so (optional)
/proguard.txt (optional)
/lint.jar (optional)
These entries are directly at the root of the zip file.

The Android Gradle DSL documentation explains how the ProGuard configuration files set using the consumerProguardFiles property are used (my emphasis):

ProGuard rule files to be included in the published AAR.
These proguard rule files will then be used by any application project that consumes the AAR (if ProGuard is enabled).
This allows AAR to specify shrinking or obfuscation exclude rules.
This is only valid for Library project. This is ignored in Application project.

We will not be applying ProGuard to the BugShaker library classes directly, so we will not interact with the proguardFiles property. We may need to interact with the consumerProguardFiles property. My uncertainty is based on the following reasoning:

One of our current dependencies is RxAndroid
The RxAndroid aar includes its own 'consumer ProGuard file' (see this issue, since repurposed, whose original intent was satisfied by this commit).
It is currently unclear to me whether or not 'consumer ProGuard files' are transitive. If an application depends on a library (BugShaker) which depends on another library that requires ProGuard configuration (RxAndroid), and ProGuard is applied to the application, will the 'consumer ProGuard file' included with RxAndroid still be respected? Or must we re-declare the configuration in the 'consumer ProGuard file' of the intermediate library (BugShaker)?

I'll attempt to resolve the question above experimentally and by reading the source code for the Android Gradle plugin. Once I figure it out, I'll probably convert the above into a short blog post.

http://tools.android.com/build/gradleplugin, http://tools.android.com/build, this takes a while!

I couldn't determine the answer to the question above in a reasonable length of time (due, I think, to the fact that the logic is split between core Gradle capabilities, and additional features of the Android Gradle plugin), so I decided to whip up a quick experiment instead. The experiment seemed to indicate that consumer ProGuard files exposed by transitive dependencies are respected when ProGuarding an application.

Repository that backs up the previous comment.


feat(slider): introduce a slider compontent

the utah design system doesn't have any guidance but they do mention this component. I modeled the colors after the checkbox/radio button.

My only suggestion is that the thumb should have some sort of hover state to make it obvious that it's draggable especially since you are holding strong to the anti-pointer-cursor ~team~ cult. ;)

😆 Great point. hover states added.


Not ignore Cartfile.resolved

Cartfile.resolved should be committed to get exactly same dependencies during build.
Check out official doc about that,
https://github.com/Carthage/Carthage/blob/83bbffd25172df767cf578ca17b0cfbbbf913d35/Documentation/Artifacts.md#cartfileresolved

Current coverage is 94.02% (diff: 100%)

Merging #33 into master will not change coverage

@@             master        #33   diff @@
==========================================
  Files            17         17
  Lines          1372       1372
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1290       1290
  Misses           82         82
  Partials          0          0

Powered by Codecov. Last update 69bf25f...51ac77b

@jechol next time please wait for the build to finish. No worries though!


feat(positioned_note)!: allow passing a4Hertzs to isHumanAudibleAt

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
445

Relevant Lines:
445

💛  - Coveralls


Can't import library when using another web3.swift library

Describe the bug
Setting up a project with the latest version, and another web3 provider library creates conflicts
SDK Version

Client: Xcode
Version 1.0.4, 1.05

To Reproduce
Steps to reproduce the behavior:

Create new project
Add https://github.com/argentlabs/web3.swift as dependency to project
Add WalletConnectSwiftV2 as dependency to project

Expected behavior
Should be able to add it
Screenshots

error project: Failed to resolve dependencies Dependencies could not be resolved because root depends on 'web3.swift' 1.2.0.
'web3.swift' 1.0.0 is required because 'walletconnectswiftv2' 1.0.5 depends on 'web3.swift' 1.0.0 and root depends on 'walletconnectswiftv2' 1.0.5.

Device (please complete the following information):
N/A
Additional context
Conflict related to imported Web3.swift dependency. Is it really necessary to import such a big library to this SDK?

@DarthMike Found any solution for this ?

@jatinm11 I think the best solution would be to not expose the web3 library used as a dependency, given WalletConnect is multichain. But we need the project owners who really understand the implications to decide on this.

Thanks for the fix @flypaper0


Clicking on "Sign In" does not reflect signed in state

First on the homepage:

Then on the logged in page, the bottom-left button still says "Log In":

Clicking on "Log In" again will finally result in the correct state being displayed (namely, the link text changes to "Log Out").
I'm relatively new to Elixir and Elm, but I'm happy to help out and attempt to fix this "bug" if someone with more experience on the project can point me in the right direction in terms of where the logic for this stuff lives 😄!

Sorry, this is covered in a few other issues, but this is because we don't support signing in with anything but GitHub presently. I'm almost caught up to the current state in my rebuild of the project from scratch in Phoenix 1.3 in episodes on https://www.dailydrip.com/topics/elixir - once that's done that branch will take over as master and I'll start adding functionality like signing in with other oauth providers (first) and creating your own account (after that) without an oauth provider.
The goal is still to shoot for a July 4th 1.0 release with the items mentioned in the milestones complete. I'm expecting to get the next couple of days free to work on it more-than-full-time as the family's going out of town and I'm pushing desperately to get it done by my self-imposed release date :)

(closed the issue since it's a known thing and it's covered in the existing issues)


[Feature] Show time stamp and zone when code cell last ran

Would be good to capture when the code cell ran at the bottom of the cell.
For example:

This could be toggled with a switch if it is too verbose

Thanks for working on it @roblourens !
I think a tooltip would be helpful in some use cases. What I think most people would want is what the last_executed_time Jupyter extension implements (as @greggman mentioned).

Hi @roblourens,
Thanks for the work!

It would still be nice to show timestamps directly in UI (without the tooltip)
Would you recommend:

Creating a new issue to track it in the backlog?
OR
Re-Open this issue?
OR
Is the VS Code team not planning on creating the display as the suggested example screenshot?

Thank you for the tooltip! I second the previous comment, though—having it directly on the UI, so it can be seen at a glance, would be great.

We can look into having this behind a setting. I'd prefer to enable extensions to contribute this, but we don't have the right API for it.

Thanks a lot for this feature!
Another suggestion could be to persist this somehow (maybe with notebook tags?). For example, see how Colab does it:

Is this feature already implemented, and if yes, how to add it?

Thanks a lot for this feature!
Another suggestion could be to persist this somehow (maybe with notebook tags?). For example, see how Colab does it:

See my long comment here: https://github.com/microsoft/vscode-jupyter/issues/13338#issuecomment-1645393350

This will be available in tomorrow's insiders, via the setting notebook.cellExecutionTimeVerbosity
Default will maintain the current duration + hover appearance, with verbose now looking like the following image. The tooltip will stay the same in both cases for overhead and render times.

If you have further feedback, please feel free to bring it up here 👍

Amazing new feature! I couldn't find the following: Is it possible to change the datetime format of the last execution" time? (Are there plans to make it adjustable?)


OTG Test - TE-6.1: Route Removal via Flush

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.423%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1050

Relevant Lines:
1491

💛  - Coveralls

@liulk or @dplore could you please assign a reviewer?
Thank you,


feat: AutoSync connected contracts when syncState

DRE nodes retain latest state of contracts that use readState and internalWrites so that browser-based clients do not have to evaluate every interaction just to do a writeInteraction.
This feature request is to autoSync all connected contracts when a syncState is called.
const warp = WarpFactory.forMainnet();

const contract = await warp
    .contract('pbabEjmdaqOvF-yTkFhs5i2lbmmbC6s4NrUqM_8eAYE')
    .syncState('https://dre-1.warp.cc/contract', {validity: true}); // auto sync all states connected to contract

const {sortKey} = await warp.stateEvaluator.latestAvailableState('pbabEjmdaqOvF-yTkFhs5i2lbmmbC6s4NrUqM_8eAYE');

console.log(sortKey);

@twilson63 , thanks for the report - we will try to introduce this feature next week!

released in 1.2.55


Remove python unlinking in travis config

Part of https://github.com/gtk-rs/gtk/issues/717

@GuillaumeGomez One travis job failed due network error, jobs in next PR seems run fine, so can you restart failed?

Restarted it!

And finally the last one. Thanks a lot!


Remove stray PRODUCT_BUNDLE_IDENTIFIER

This was erroneously added and overrides
the bundle for the gallery causing signing
to fail in my setup.
@chinmaygarde

lgtm

Looks like this is actually in the create template and thus everywhere:
https://github.com/flutter/flutter/search?utf8=✓&q=PRODUCT_BUNDLE_IDENTIFIER
I should probably file a bug

@chinmaygarde updated to remove all of them.  Please verify that you agree these make sense to remove.  I suspect that Flutter.xcodeproj should be setting these always, no?

lgtm


missing ‘msgget’ system call！

I've tried WSL , my apps can be compiled correctly.
But when I execute , it says "msgget: Operation not supported".
while my source code is like this:
_

int msgqid = -1;
msgqid = msgget(key, 0666 | IPC_CREAT);
_

@bitcrazed
I've @ you on twitter . Appreciate your reply.

#1016 (message)

Closing this out as a duplicate of #1016 so we can track the issue there.

Reopening this issue since this is the only piece of the System V family of system calls that is still unimplemented.

Yes we need this as its fundamental to our runtime and messaging systems used by some of our fortune level customers. (msgget etc). it precludes any of our customers using WSL.

Has there been any update to this issue?
I need to use message queues for work and while I can run on the target hardware, being able to test things out in the WSL is often faster than cross compiling and loading code.

@oshz AS @benhillis says above - we've not yet implemented Queue support

@bitcrazed Thanks. Any plans on getting this implemented?

msgget is very important to my company. When built for linux, our product uses queues to talk between long running processes and short lived ones. Transitioning this to use sockets lead to a massive performance hit when we tried it in the past. We're trying to move our customers to do all of their development work on windows (even if they ultimately test/deploy on linux) to take advantage of visual studio as much as possible. Having this issue fixed would make this push significantly easier.

Hi @benhillis @bitcrazed , any news on this? I can imagine this is not the most important feature you have to implement but for some of us this is a show stopper. That's too bad because WSL is really impressive and I'm looking forward to ditching my last VMs!

Hey Bob! I'll leave feature scheduling/planning decisions to @tara-raj and @benhillis & team.
But yeah, I agree it'd be great to get this family of syscalls built-out :D It's mostly "just" a matter of resources x schedule x prioritization :)

Thanks for raising this. In general, we've been implementing syscalls on a per-need basis. Based on the feedback from this thread, we've started the work needed to implement this syscall. It is a fairly large change, so this is still "in the pipeline." I will update this thread when the work is complete and flighted.
As @bitcrazed mentioned the time taken for you to see this change will mainly depend on our ship schedule and other priorities.

Awesome.  I'm glad message queues are going to be implemented in a future version as this was one feature that was holding me.back from fully embracing wsl for everyday development.
While wsl is not my target it is extremely useful for development with clion and initial testing.  Then only running on the target hardware to get final results.

It's been a while - is there any progress on this?

It will be fixed in WSL 2: https://devblogs.microsoft.com/commandline/announcing-wsl-2/.


Remove /src1 before release

This folder needs to go. I did not agree on it being there in the first place when dev2 was created, But @antont wanted it there for easy browsing of both new and old files without the need to clone two repos. I understand that but we really need to nuke the folder out, there is always git history or github for nice browsing of the old branch.

@cvetan5 You should commit first any pending stuff you have for the release. This step can be done later or even after the release as it wont be included in the prod build anyway.

i was recalling that opposite that you wanted to commit that dir for some reason and i never wanted it there :)
i just wanted the relevant parts ported over (e.g. the client side xml parsing) and that has been done already. anyhow now the dir is good to go.

ok, I have the opposite recollection :D Hehe...

src1/ removed


UnhandledPromiseRejectionWarning in cjs/Route.js

If a route handler that returns a promise throws an error, UnhandledPromiseRejectionWarning occurs in the cjs/Route.js file.

The error thrown by a route handler wouldn't be processed by a specified error handler, and the request gets stuck.
You can reproduce this issue by running this example
Provided example uses the<EMAIL_ADDRESS>

@reyzvikh Hi and thanks for report.
Can you please check this example with<EMAIL_ADDRESS>

Issue was fixed in v1.10.13, if issue occurs again, feel free to re-open issue or create another issue


Add db import info for team/loadout/build

Currently only shows art/weapon/char
For importing GO data on another GO data for team/loadout, I believe the current logic is the import data overwrite the existing data. I think I am fine with that, deduping would be unnecessarily complicated, the UI should just reflect this.

I will work on it

Actually, importing teams doesn't remove existing teams not in import. Even with the Delete items not in import option. Same for loadout. Is this behavior intended ?

Seems so https://discord.com/channels/785153694478893126/1218906581593231540, tho i still feel like its weird that teams are not deleted with that setting enabled

This thread has been marked as not a bug. So, this behavior shouldn't be changed ?

Leaving @frzyc to give final say

For importing GO data on another GO data for team/loadout, I believe the current logic is the import data overwrite the existing data. I think I am fine with that, deduping would be unnecessarily complicated, the UI should just reflect this.

Yeah i do not think its worth any developer's time to dedup/merge team/loadouts. The ask for this issue is basically just add a tally as a visual for users, and not to add any complex logic to db

There is already a dedup/merge for team and loadouts I think

If no dedup/merge should be done, what will be written on the card ?

Yes, and TC builds

How the total amout of loadouts can be computed ?

yeah loadouts are called teamChars(due to legacy naming) so it would be database.teamChars.values.length

Thanks


💡 [REQUEST] - Adding some animation to return to top button

[x] I am from GSSoC'23.
[x] I would like to be assigned this task.

I want to add some animation to the return 2 top button. Assign me this task so that I can work on it.

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct.

[x] I follow the Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

please check, I  requested a pull request to be merged as  #385

Hey, @bhaskarkumar1  thank you for your contribution and patience, I will be reviewing your pr soon. If you liked the project, don't forget to give it a star.

any updates @AKD-01 about my pull request?


feat(datapoints-graph): [no-issue] Add possibility to match datapoints to alarms or events

It is now possible to match datapoints to alarms or events.
Proposed changes

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Hey, having issues to run this:

The icon and line is never displayed. Any idea why?

Hey, having issues to run this:
The icon and line is never displayed. Any idea why?

hmm I guess since we merged a lot of other PR's with improvements, fixes and even refactoring, they might have broken this one, I'll have a look


Accenturation

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Ubuntu 22.04.3 LTS x86_64 -- LXDE
Kernel: 5.15.0-83-generic
Scrcpy version: 2.0 [EDIT] now on 2.1.1
Installation method: GIT
Device model: Asus Zenfone 3 MAX (X008D)
Android version: 7
Keybord AZERTY

Describe the bug
Hello,
whether it's with the ZenUI keyboard (by default)
or the "hacker's keyboard" (which manages the whole keyboard, the name is just for show) https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard
I don't have the signs é to ç ù or ^ (such as ê î ô)
maybe link to https://github.com/Genymobile/scrcpy/issues/4096

Does it work better with --prefer-text?
Or with (yet) another keyboard (Simple keyboard, Google keyboard…)?

nothing change, tested with many keyboard layout


Fix bracketed paste

This fixes issues #92, where using bracketed paste (at least on Terminal.app in macOS 12) would result in a lot of “(ncm2_auto_trigger)” being appended after the pasted text.

How does this help?  s:feedkeys() already checks for paste - isn't this just duplicating that?
(I would very much like it if it did help - I hit this bug myself, which is why I'm here!)
In view of the existing check, my guess is that this is harder to fix than that!  Per the help:
                By default the string is added to the end of the typeahead
                buffer, thus if a mapping is still being executed the
                characters come after them.

That is, I think, we might not be in Paste mode at the point we check and call feedkeys() - but that's no guarantee of what state we'll be in when those characters are actually processed.
If that's right then all attempts to check &paste before calling feedkeys() are at best going to make the window smaller, without ever closing it.

Unfortunately, this PR doesn't fix the issue for me. I'd also tried this method before, but it didn't work.

@ObserverOfTime thanks for your feedback.
This would suggest this is indeed some timing effect, and that we should take another approach to fix this.


[ios] Non-Debug configuration always in Release mode

Description
We have a separate Local and Debug configuration, we use Debug to test against a deployed database and Local to run against a local firebase emulator. When running with Local configuration (react-native run-ios --configuration Local), the deployed image is in Release mode - debug menu does not exist and the packager cannot reload the code.
I spent a while poking around the internals of React Native and react-native-cli and I couldn't find the bit that determines whether to add the additional debug instrumentation or not. I'm happy to explore a PR if someone can point me towards that code.
React Native version:
System:
    OS: macOS 10.15.7
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 101.49 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.22.1 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.6 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /Users/tomlagier/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.1, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 12.1/12A7403 - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~16.9.0 => 16.9.0
    react-native: ~0.61.5 => 0.61.5
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Create a new react-native project.
Open XCode, duplicate Debug configuration to Local.
Run ios simulator with Local configuration: react-native run-ios --configuration Local
Observe that fast refresh and developer menu are not active.

Expected Results
Fast refresh and developer menu should be available, or there should be a flag to enable them on non-Debug configurations.
Snack, code example, screenshot, or link to a repository:
Repository: https://github.com/tomlagier/react-ios-configuration-fast-refresh-bug

Clone, yarn, run react-native run-ios --configuration Local.
Press r in the spawned packager terminal.

Bundler outputs:
warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.

react-native-cli deals with these, make an issue in their repo. They will handle it better. Also search in their issues page. Looks like this problem should have already been faced by community and solved.
https://github.com/react-native-community/cli


tag v0.10.0

Coverage remained the same at 83.828% when pulling ae0426b0da101e211f9ea71cb422864570ba4fbb on v0.10.0-bump into 0016116e466fceec9da36fc61b8a1a427c0b5224 on master.

Coverage remained the same at 83.828% when pulling ae0426b0da101e211f9ea71cb422864570ba4fbb on v0.10.0-bump into 0016116e466fceec9da36fc61b8a1a427c0b5224 on master.


DHClient uses default timeout of 60 seconds

https://github.com/aws/ec2-net-utils/blob/b3c52c668d7f205d146ad2b8ff9775db2bc9d745/ec2net-functions#L201-L203
Could you please set a higher timeout in the dhclient config. Ex: 300s.
The default timeout on AMZN linux for eth0 is 300s.
$ sudo cat /etc/dhcp/dhclient.conf
timeout 300;

When attaching ENI interfaces for large VPCs the DHCP discovery might take a long time (more than 60s) and as a result the kernel routing table is not updated properly.

This has been addressed in <IP_ADDRESS>


invalid string offset for section `.strtab'

When connecting GEF to the decompiler, gdb fails to add-symbol-file and throws an error.
BFD: /tmp/tmp3pmay68f.c.debug: invalid string offset 16777215 >= 282 for section '.strtab'
Although this does not break decomp2gef, it causes the debugger to be without a symbol file and hence renders some features unusable.
Sample binary with this behavior:
sample_program.zip

Without full triage, I think this may be related to #15. Will resolve #15 first then circle back to this.

So it appears that this issue has reappeared even with your patch on x64 binaries now

On main BFD: /tmp/tmpdyamth15.c.debug: invalid string offset 16777215 >= 3280 for section .strtab'is now back forbeanstalk` binary... and objdump for reference. @caprinux

@mahaloz That's weird, I can't seem to reproduce this from the decomp2gef master branch. Beanstalk works perfectly fine for me... Any steps to reproduce or any clues I can work off?

@caprinux turns out I goofed. Let's finish up #21, then close.

closed by #21


 Please have a look at your service and package and let me know if you have concerns about skipping building docs.ms documentation for the following excluded packages.
The following packages do not build docs. This encodes the fact that those packages are not intended to be documented (as opposed to filtering by our validation heuristics).
Impacted packages:

sdk/aot

azure-aot-graalvm-support
azure-aot-graalvm-support-netty

sdk/core

azure-core-exprimental
azure-core-test

~sdk/cosmos~

~azure-cosmos-test~ (removed after speaking with @kushagraThapar)

sdk/personalizer

azure-ai-personalizer @sharathmalladi -- there are no java docs in this package. Is this intended?

sdk/storagemover

azure-resourcemanager-storagemover

sdk/template -- straightforward: we shouldn't be publishing docs.ms docs for templates

azure-sdk-template
azure-sdk-template-two
azure-sdk-template-three

sdk/voiceservices

azure-resourcemanager-voiceservices

/aot, /core, and /template are fine.
Just need an ack from cosmos (@kushagraThapar), mgmt (@weidongxu-microsoft), and personalizer (@sharathmalladi)

Thanks Josh.
Does voiceservices and storagemover there because the service was deprecated?

@weidongxu-microsoft -- From notes in our Language-Settings.ps1 file:
  "azure-resourcemanager-voiceservices" = "Doc build attempts to download a package that does not have published sources.";
  "azure-resourcemanager-storagemover" = "Attempts to azure-sdk-build-tool and fails";

Generally speaking, to make these work in the docs build a new version would need to be released which addresses these issues.

Thanks @danieljurek. I am OK for the "resourcemanager" packages, if they currently fails.
Is there any way we can test if a new release of them would pass the doc build? (local run of doc build? some pipeline?)
Reason is that there seems nothing special from storagemover or voiceservices. And both lib is fully generated by tool, which is used for other 100+ libs as well. (Maybe the problem is from Javadoc in the code)
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storagemover/azure-resourcemanager-storagemover/pom.xml
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/voiceservices/azure-resourcemanager-voiceservices/pom.xml
Therefore SDK dev may still need to figure out why doc build fails for these 2 libs.

@weidongxu-microsoft -- Sent email with instructions.

I spoke with @kushagraThapar -- this package is intended to be documented so no changes to the ci.yml in this PR.

Spoke with @alzimmermsft, the test failures in the java - core - ci pipeline are the result of flaky tests (different ones fail on different runs). This PR is OK to merge.

/check-enforcer override


bottom half of code appears as ".............", unrecoverable code.

Suddenly, out of nowhere, the editor replaces the bottom half of my code with "........." in yellow with highlights. Nothing can be done to recover my code.

i was hoping this issue had been worked out cause i haven't encountered it in a while. but it struck again today. i kept a copy of the affected source if needed for debugging.

I have had the same problem with HTML and JS files. In HTML it seems to mostly be the string of closing tags that build up at the end of a document, with JS it's the string of brackets. Again, it only happens at the end.


Adding Azurerm support

Azurerm support requires passing details via tags as the networking values required are held on a different resource. Not as clean as I'd like but hopefully useful to others.

👍

@broomyocymru Did you rebase or something? Seems like a lot of other commits got pulled in. Also build is failing on the yaml addition.

Not intentionally, I pushed the changes into my companies fork of this repo.

Created a new PR for the original changes under #59 . I'll close this as I'm not sure whats been dragged in from our downstream repo.


Remove bot tutorial

Addresses https://jira.cfops.it/browse/PCX-1713 (and helps clean up the logs docs).

As discussed in the associated ticket, we could always revert this PR and make the docs visible if there's a use case in the future.
Selfishly, this also gets rid of a few mentions of EdgePathing from the docs.


AQL UDFs no more allowed in PRUNE expressions and the functions must be runnable on DB-Servers

Functions like COLLECTIONS() that cannot run on DB-Servers are generally disallowed, including single server and not only cluster deployments. This is good for deployment mode parity.
What I will add to this PR:

A description of the limitations to the PRUNE docs
Remarks about PRUNE, that it applies at all depths including the starting vertex and also the depths between 1 and the min depth of the traversal
Common pitfalls, especially the first edge which is null
Examples of PRUNE + FILTER, using a prune variable, with and without negation for different usage scenarios


Delete deprecated iframe-bot file

Automated message from Dropbox CLA bot
@AZtheAsian, it looks like you've already signed the Dropbox CLA. Thanks!

Merged after tweaking this to also delete the other file under tools/deprecated/iframe-bot, thanks @AZtheAsian!!


refactor: change the default data repository

Description

Changes the default data repository.
Related Issue

Closes #112
Motivation and Context

Reference #112
How Has This Been Tested?

OS: Windows 10 Home
Version: 21H1
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

How about using jsDelivr? It has no rate limit and the response time is faster than raw.githubusercontent.com.
It is a CDN, so high frequency access is allowed. Also, the file size is very small, so it meets the terms and conditions.
Acceptable Use Policy - cdn.jsdelivr.net

Wow, I know that service but don't know that it's free.
It's a nice idea!
I'll replace the default repository with the following URL.
https://cdn.jsdelivr.net/gh/hal-shu-sato/apm-data@main/data/


New run API: setupReusable

[ ] There exists an issue discussing the need for this PR
[x] I added new tests for the issue I fixed or built
[x] I used make commit instead of git commit

In hacking together a way of using react-native-navigation with cyclejs, I had to build this:
function setupReusable(drivers: Drivers): Engine {
  const sinkProxies = makeSinkProxies(drivers);
  const rawSources = callDrivers(drivers, sinkProxies);
  const sources = adaptSources(rawSources);
  const start = (sinks: Sinks) => replicateMany(sinks, sinkProxies);
  return {sources, start};
}

It's basically for reusing drivers without re-instantiating drivers, for multiple main() functions:
const engine = setupReusable(drivers);
const sources = {
  ...engine.sources,
  screen: screensSource,
  navigation: navSource,
};
const sinks = main(sources);
engine.start(sinks);

It's like a partially-applied variant of setup:
setup(main, drivers): {sources, sinks, run: () => Dispose}
setupReusable(drivers): {sources, run: (sinks) => Dispose}

And I prefer a longer name like that so to signal to people that it's not as common as run(main, drivers): Dispose.

How to review this PR: the feat commit is the important one, the refactor commit is just about moving code around.

Fixed!


Better error handling and logging

The bot was dying due to issues when user input failed to match the defined regex for quips and Wordle scores. Some conditional logic will resolve the root issue, and better logging will make it easier to debug future issues.

This should resolve #10 and make it easier to debug future issues.


Load ContentTypes in server-side

currently we load ContentTypes afterRender which shows Empty page for some milliseconds, then show list of contentTypes.
it should not return empty table on first load

oh, It needs local storage, it is not possible to show content types in ssr.
It is possible to show nothing, until list loads.


Document Telemetry and Telemetry::Period, lizmat++

These pod6 files cause build failure, maybe we can rewrite it in correct format.

Can we also add a note saying that this is a Rakudo feature that is available starting with 2017.11 release?

@AlexDaniel is it a rakudo only feature?

@W4anD0eR96 Until we have tests for it in roast it is fair to assume that new potential implementations will not implement it. Another similar case is dd.

Yes, no tests in roast, just like dd.  I would not consider it a Perl 6 feature at this time.

eh, where did doc/Type/Telemetry.pod6 go ???  It's not in the branch ?

@lizmat , it's in this branch, both of them cause build failure. try to figure it out now.

odd, in my local checkout it's definitely not there if I checkout the branch

it's in branch patch-01

Ok, I'll leave you to it then  :-)

Locally build ok, will merge it once travis-ci pass


Spring Boot - Registration not recognized by load balancer

I have a Spring Boot app trying to fetch an instance of a service through Erueka/Ribbon:
        @Autowired
	RestTemplate restTemplate;

	@RequestMapping("/hi")
	public String hi(@RequestParam(value="name", defaultValue="superuser") String name) {
		AccountRest account = this.restTemplate.getForObject("http://AUTHENTICATION-SERVICE/authservice/v1/accounts/userId/"+name,
				AccountRest.class);
		return "hi, " + account.getId();
	}

I am manually registering the "AUTHENTICATION-SERVICE", note that this service only needs to register itself, it does not need to query eureka:
public class ServiceDiscoveryManager {

	private ApplicationInfoManager applicationInfoManager;
	private EurekaClient eurekaClient;

	public void start() {
		MyDataCenterInstanceConfig instanceConfig = new MyDataCenterInstanceConfig();
		DefaultEurekaClientConfig clientConfig = new DefaultEurekaClientConfig();

		InstanceInfo instanceInfo = new EurekaConfigBasedInstanceInfoProvider(instanceConfig).get();
		applicationInfoManager = new ApplicationInfoManager(instanceConfig, instanceInfo);
		eurekaClient = new DiscoveryClient(applicationInfoManager, clientConfig);

		applicationInfoManager.getInfo();
		eurekaClient.getApplications();

		instanceInfo.setStatus(InstanceStatus.UP);
	}

	public void stop() {
		eurekaClient.shutdown();
	}

}

the authentication-service eureka-client.properties file:
eureka.name=AUTHENTICATION-SERVICE
eureka.appGroup=AUTHENTICATION-SERVICE
eureka.vipAddress=http://localhost:9080
eureka.port.enabled=true
eureka.port=9080
eureka.traffic.enabled=true
eureka.preferSameZone=true
eureka.serviceUrl.default=http://localhost:8000/eureka/
eureka.decoderName=JacksonJson
eureka.healthCheckUrl=http://localhost:9080/authservice/health
eureka.healthCheckPath=/authservice/health

The Eureka Dashboard show my authentication service as registered:

When I try to get an instance of the authentication-service with the load balancer I receive the following exception:
java.lang.IllegalStateException: No instances available for AUTHENTICATION-SERVICE
	at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:90) ~[spring-cloud-netflix-core-1.2.5.RELEASE.jar:1.2.5.RELEASE]

I've confirmed that the load balancer is aware of the authentication-service, but the DynamicServerListLoadBalancer has the allServerList property as empty.
I've been playing with this for a few hours, wondering if some configuration is invalid. Thanks for any help.

@brokenjpl this is not the issue tracker for spring-cloud-netflix

@spencergibb Thanks for replying. I believe that my issue is with programmatically registering my service to Eureka, specifically with the ServiceDiscoveryManager. If you believe the issue lies with spring-cloud-netflix, then I can close this issue and re-open there.

They don't support spring-boot/spring-cloud here

Hi, I have the same problem , is this a bug?

I was doing the same as what is suggested on stack overflow in the answers (adding @LoadBalanced for the restTemplate injector) but it wasn't working for me.
I had written the gateway controller in the Eureka Server itself to receive request from front end and redirect it to other micro-services.
When I wrote whole new application to work as gateway service, everything is working fine now.


move to autoload-dev

Is only used for testing
https://github.com/WhichBrowser/Parser/search?utf8=✓&q=http_parse_headers(

Do you still use this file?
https://github.com/WhichBrowser/Parser/blob/master/bootstrap.php

The bootstrap.php file is there if you want to use WhichBrowser without composer.

Was just a side question. I think the PR itself should be fine.
With this change tests/src/polyfills.php will only get loaded in dev enviroments and not on production servers.


Add labels to oci_image

Fixes https://github.com/bazel-contrib/rules_oci/issues/47
I would like to have stamping support before merging this PR. I see @alexeagle is working on stamping in https://github.com/bazel-contrib/rules_oci/pull/70.
From what I understand, the script that builds the image will need to read the volatile and stable files when stamping is enabled, and do variable substitution for each key (if found). Should I try something like https://github.com/aspect-build/bazel-lib/blob/998ee223690ed07b3dfc31738dae839206bd60b0/lib/tests/stamping/stamper.sh ? Or is there a more native alternative for stamping?

I haven't thought about stamping much. let's split labels and stamping into their own PRs. I'd like to have a solid implementation for stamping and support config_setting at the same time.

Fair enough. Let me remove the stamping part.

looks like you need to run bazel run //docs:update

looks like you need to run bazel run //docs:update

Done.

Thanks!


arkmanager stop doesn't work

Hi,
I'm not able to stop the server using arkmanager stop.
I'm not very familiar with screen, but when I try to retach the session it fails.
screen -r arkserv or screen -r

Well, as soon as we can't call for a save before stop and stop the server properly, maybe this command should print a warning to ask confirmation before kill the process.

added the confirmation message

Pull request https://github.com/FezVrasta/ark-server-tools/pull/20 should resolve this.
Now properly closes the active screen session and terminates the process inside.


Nested logit needs to avoid local optima in estimation

Unlike the multinomial logit, the nested logit log-likelihood function has has local minima. The current implementation (on the nested-logit) branch treats the IV terms just like any other term, which means getting stuck in a local minimum can happen (and, I expect, is pretty common, particularly in high dimensions—it's happening with a model I'm working with now).
Daganzo and Kusnic (1993) point out that the likelihood function is concave in all parameters except the IV terms, and argue this may lead to better estimation. Maybe we can treat the IV terms specially in the model, e.g. a systematic search over [0, 1] based on parameters from an MNL. Or estimate the parameters with MNL first holding the IV terms constant, then use that as starting values, though that might also bias the result into a local minumum. Maybe we just estimate with MNL, then fix the IV terms and estimate for 0:1.0:0.1 then refine from there? Though that will get sticky with multiple IV terms. Someone must have thought about this before.

Ben-Akiva and Lerman describe a sequential estimation procedure followed by a single Newton-Raphson iteration; maybe this is a good approach.

Returning to this, I'm not sure how necessary this is—the model I was working with before was ill-specified (though the NL did get stuck in a local minimum where the loglikelihood was lower than the MNL solution). But with a well specified NL model it might not happen.


Eliminate Repetitive Contact info

Describe the bug
A clear and concise description of what the bug is.
The contact number is shown twice in the footer
To Reproduce
Steps to reproduce the behavior:
I will eliminate one of the two same things, and fix the alignment afterwards

Go to 'website'
Click on 'nothing.'
Scroll down to 'footer"
See error

Expected behavior
A clear and concise description of what you expected to happen.
I expect to see only one contact details, now there are two
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@sau-mili go ahead

I would like to work on this issue. Please assign it to me under GSSOC'24.


Improve Search Bar

Is your feature request related to a problem? Please describe.
Current Search element floods all the search result into page, which pushes the below elements down and it leads to UI inconvenience.

Describe the solution you'd like
Make use of Select elements like Async Autocomplete or React-select

It looks like this. Searches are loads the search results as a options.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Add i will improve the filter and sortby element UI

@MokshagnaV  Sure, I have assigned you the issue you can start working on it

Hey :wave:
I finish implementing it. Have a look on it

Displays Toasty on error

If it is okay I will open a PR
Will i leave the previous implement as comments or delete those line, if everything is working fine without those lines?
And Please, add this as Hacktoberfest

This looks good, you can submit a PR. @MokshagnaV

Hey 👋
I finish implementing it. Have a look on it
Displays Toasty on error
If it is okay I will open a PR
Will i leave the previous implement as comments or delete those line, if everything is working fine without those lines?
And Please, add this as Hacktoberfest

No need to comment it, Make sure everything works at your end and change it.

Hey 👋
I finish implementing it. Have a look on it
Displays Toasty on error
If it is okay I will open a PR
Will i leave the previous implement as comments or delete those line, if everything is working fine without those lines?
And Please, add this as Hacktoberfest

No need to comment it, Make sure everything works at your end and change it.

Sorry, I opened a PR with those comments. I am sure that comments can be removed

Hey 👋
I finish implementing it. Have a look on it
Displays Toasty on error
If it is okay I will open a PR
Will i leave the previous implement as comments or delete those line, if everything is working fine without those lines?
And Please, add this as Hacktoberfest

No need to comment it, Make sure everything works at your end and change it.

Sorry, I opened a PR with those comments. I am sure that comments can be removed. Everything will be fine.

Can I do that again and raise a PR?


SCP-2269: POSIXTime and Slot conversion configurable with SlotConfig.

Conversion from POSIXTime to Slot (or vise-versa) can now be configured with SlotConfig which defines the length of one slot and start time of slot 1.
A few notes:

The old slotToPOSIXTime was replaced with slotToBeginPOSIXTime, slotToEndPOSIXTime and slotToPOSIXTimeRange.
posixTimeToSlot finds the current slot of a given time. Since a slot is simply a time range, then a specific time can be mapped to a specific slot.
In a few places in plutus-contract, not sure if I had to use slotToBeginPOSIXTime or slotToEndPOSIXTime.
Added the time package in plutus-ledger in order to get the current time in IO. Allows to implement the currentSlot :: IO Slot function.
Moved the SlotConfig from plutus-pab to plutus-ledger.
Update the examples in plutus-use-cases to use a default SlotConfig and mostly used slotToBeginPOSIXTime instead of the old slotToPOSIXTime.

--EDIT--
Had to rewrite the content of Ledger.TimeSlot.hs because some functions had to be used on the onchain part of code of Marlowe. When Marlowe updates their code by using POSIXTime instead of Slot, then this file can be rewritten.

Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

So I see SlotConfig and friends appearing in the on-chain scripts. That's clearly nonsense: the chain is what decides how long slots are, etc.! Really I guess that's a symptom of the fact that we must still be using the slot/posixtime conversion functions in on-chain code, which we really shouldn't. I don't know how we enforce that, though...

True, the conversion functions are used in the on-chain part of Plutus. However, those calls are removed in the #3267 which is currently blocked. Once the merge in done, I'll update this PR.

However, those calls are removed in the #3267 which is currently blocked.

Perfect.
I do wonder if we should have some mechanism to prevent certain types and functions from being used on-chain at all. I don't know what, though.

some mechanism to prevent certain types and functions from being used on-chain at all

maybe making them not inlinable or something? (opaque to the plugin)

Yeah, or use Int somewhere :trollface: The problem is that won't give people a very helpful error. I'll think about it.

In the case of SlotConfig, it used to have a datatype of type Second which uses Int therefore wouldn't compile. :) I'll use that

@michaelpj Do you approve the changes?

@michaelpj Still want to look at it or do you want to merge it?

LGTM!


Fix version error in readme

The plug-in version is not 1.4.0, the current version is 1.3.3

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


Maps ideally should not heave member functions

Hello !
In my experience maps/hashtables should not have member functions because they can conflict with keys if we allow sugar syntax for then like:
var map = {"remove": "key", "containsKey": "nop"}
System.print(map.remove)

Cheers !

Not a problem, the language does not support this feature, and will
probably never support it because allowing so opens a huge can of worms.

You'd also lose access to the iterative features of a map, since the iterator protocol requires access to various properties/methods.

LUA solves that iterator problem through a global function pair/ipair in my fork of Squirrel https://github.com/mingodad/squilu I removed member functions and replaced the with global functions, I was bitten when reading/evaluating arbitrary json/tables and then learned the lesson.

It opens some other problems like reflection and how the compiler create
symbols. So it is a big no no anyway in the current state of the
language/compiler.

One thing that I don't like about using ["string keys"] is that the compiler cannot check for misspelling and this kind of silly errors can be hard to find sometimes.
One thing I did in SquiLu as an experiment is to prefix the key with '$' to indicate to the compiler to check for an already defined constant, but it's a hack.
const KEY = "oneKey";
var map = {$key : "value"};
print(map.$KEY);

Maps in Wren don't just have string keys. You can use any built in immutable value type: Bool, String, Number, Class, Range and null

Ok I can see, in LUA and in SquiLu because keys can be unquoted strings that are recognized as literals prevent using unquoted literals.

Well unless it really needs to be dynamic, you can use getters/setters
instead of a map, or other startegies, like an accessors class, which takes
a key in the constructor, provide a get/set method that take a map as
argument.

Maps are objects, and the dot syntax is already reserved for method calls. Wren isn't as dynamic as Lua, and does not allow for runtime modification of classes.

Thank you for all your feedback !
The reason for this proposal is again to facilitate reuse of code from/to other languages.

If you really need something like that, maybe lox is more suited.

Thank you for the lox https://www.craftinginterpreters.com/the-lox-language.html reference !
Yes the spirit of reusing already known syntax code is what I'm proposing to wren because of the good performance/simplicity/documented code.

Same original author. The C vm, while more heavily commented because of
book/auto documentation, has more or less the same functionality/features.
So it was an easy advise

But the performance is not good enough the "binary_trees.lox" on my laptop takes for ever while the wren takes 0.29s

The book isn't finished yet, but I imagine the final chapter, on Optimization, will help with that, once it's done.
Wren uses some smart tricks to optimise it's execution speed, so I'm hoping some of that gets documented.

This is somehow to be expected. Prototype based languages tends to need
heavy optimisations to perform near as good as statically defined classes
as wren, and even more heavily to compete with fully statically typed
languages.

Thanks for the comment/discussion!
As discussed, it is unlikely that map will ever add sugar for a.thing. Not at this time, anyway. For that reason I'll mark this closed but feel free to continue discussing.
To add some notes, since "the compiler cannot check for misspelling" is not a concept in this compiler, it is not directly relevant. Even with static analysis on the syntax, it can't really know what keys a map had in the first place. The map is only populated at runtime, and the compiler does not execute the code. It is information the compiler cannot have without data flow analysis stuff, and crossing function boundaries means it can't be local scope.
It seems the only answer is basically a full compiler with special data flow graph just to track map usage, which is not on the table. If it was, it would work for map["some"] all the same, because it had to be special cased, it can be told to understand this usage too.
func(map) {
  System.print(map.some) //how can it know at compile time?
}
...
var key = "so"
var map = {"%{key}me":"thing"}
func(map)


noteify: Add interface

Add web interface to add, edit and delete notes.
Version number is not incremented because the application itself is unchanged.
Notify @frigis1

Thanks!

@nxdefiant Oh wow, thanks!


Fix BDD Testing Setup

There is an error in the BDD setup that should be solved.
Command:

honcho start
behave
-> return command not found

Hello, I tried to solve the issue.
This is what I did:
Add honcho and behave to the dev dependencies in pyproject.toml to fix the 'command not found' error when running 'honcho start' and 'behave'.
You can review changes in this commit: https://github.com/lkilu6456546/CSCI-GA-2820-FA24-003-wishlists-90/commit/4f05890fd8951305ba5cbec741d37e2a564b157d.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Fixed #26615 -- Password reset token now depends on user's email.

Also refactored user's hash generation into methods on User and
AbstractUser so that PasswordResetTokenGenerator doesn't need to
know which fields are available.
Added documentation to auth/default to highlight user email being
used in password reset hash
Based on work of @SilasX in pull request https://github.com/django/django/pull/6621.  This provides the missing documentation and squashes his commits.

Needs docs in the release notes and should mention the slight possibility of breaking existing reset tokens.

buildbot, add to whitelist.

Closing due to inactivity. Please send a new PR if you return to it.


docs

Closes #34

Do you know if it's possible to change the server-generated validation class names in ASP.NET Core? Would be handy to include a link to the relevant docs or include example configuration.

It's not:

https://github.com/dotnet/aspnetcore/issues/17412
https://github.com/dotnet/aspnetcore/issues/8573