fix(breadcrumb): accessibility enhancements

Summary
Added aria-label="Breadcrumb" & aria-current="page" for nav element and current page for Breadcrumb.
ADO Story
https://dev.azure.com/Kyndryl/Shidoka - Bridge Design System/_workitems/edit/1942423
Checklist

[x] Used Conventional Commit messages as outlined in the contributing guide.

[ ] Noted breaking changes (if any).

[ ] Documented/updated all props, events, slots, parts, etc with JSDoc.

[x] Ran the analyze command to update Storybook docs.

[ ] Added/updated Stories with controls to cover all variants.
[ ] Ran test locally to address any failures.
[ ] Added/updated the Figma link for the Story's Design tab.
[ ] Added any new component exports to the src/index.ts file

Testing Instructions
Use voiceover for Testing

:tada: This PR is included in version 2.0.0-next.3 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


added CSS to project

This PR adds a CSS stylesheet and an updated HTML file for the Prework Study Guide application.

By passed branch protection.

Bypassed branch protections.


Please Add the Pre Loader

Every time slider load on page.
All images are scattered on whole page.
I read about lazy loading but not going to work.
REQUEST: Could you please add a preloader settings option?
Thanks

Hi. That happens before the JavaScript is executed. If you want, you can hide the slider until it's styled properly. First, you add the sp-no-js class next to the 'slider-pro' class. Then, add this CSS:
.sp-no-js {
     visibility: hidden;
}

This would be the easiest approach, but there are others too if you want to have something visible while the slider is loading.
Cheers!


Implement references to model, enum, union, interface members

Finally through the woods here after many attempts and figured I'd put up a PR so folks can comment on if there might be a better way.
The frustrating part of this PR is that resolving the members of e.g. a model can't reasonably be done at bind time like all previous declarations reachable via a type reference. We need to check a type completely before we know what properties it has. This is quite problematic however for resolveTypeReference which only deals in symbols, and doesn't even rely on type checking.
A possible fix then might be to do away with symbols in resolveTypeReference and fold it in with checkTypeReference, and given a member expression like ns.foo, we check ns first, and consult its type for the foo member. The downside of this approach is we may needlessly check types too eagerly, but worse yet much of the tooling revolves around seeing the world in terms of symbols.
So the approach I ultimately took is to introduce the notion of a late bound symbol. Late bound symbols are symbols created during the check phase. Late bound symbols are associated directly with the type they refer to. Members of models, unions, interfaces, and enums are always late-bound. Symbols for models, unions, and interfaces themselves are late bound when they refer to an instantiation of a template.
This allows reasoning about the world from a symbol-based view still, though without checking the view may be incomplete. We don't get everything for free still, though - if you for example do a rename of prop on a template instantiation like Foo<string>.prop, we will need to figure out whether there is an uninstantiated symbol for that property (i.e. it wasn't created by a decorator) and where it comes from (following spread sources and model extends) in order to fix up the source text that originally declared it.
This still seems frustratingly complex for something that feels simple, but I'm not sure of a better way. Maybe y'all can help 😁
Todo:

[ ] more tests
[ ] fix up tooling?
[ ] references like Foo<T>.bar?

how does Typescript deals with this? they do have symbols too and support member references?

I spent some time looking into TypeScript but it feels like we have very different semantics in this area that it's hard to map. TS does to late binding in some circumstances, though I'm not sure if it does them for things like merging inherited properties down or spread properties. Decorators which can add properties are the ultimate wrench we will have to deal with of course.

Talked to a few folks about this but since I am away for a week and this is useful in its current state for a few things, I'm merging this and can work on lighting up the tooling scenarios in a follow-up PR.

first observation, go-to-def just works, apparently! Find-all-refs, rename, and completion do not, but still promising. :)

is this not possible? or is there a way to reference non identifer keys
op test(): Foo["1.0];

enum Foo {
  "1.0",
  "2.0",
}

https://cadlplayground.z22.web.core.windows.net/?c=b3AgdGVzdCgpOiBGb29bIjEuMF07CgplbnVtxBEgewogIMQVIizECTLFCX0%3D

found an issue also with the projection, if you project then the enum reference don't have a reference to the parent enum anymore

#583 fixes find-refs, rename, and completion. It wasn't too bad. I need to add tests to get it out of draft.


05 Method Not Allowed response instead of 400 with incorrect validation details

Hello
Problem statement
I have api endpoint in my app. Interface was generated from rest-api.yaml:
swagger: '2.0'
info:
  title: inv REST API
  description: inv
  version: 1.0.0
  contact:
    name<EMAIL_ADDRESS>schemes:
  - https
produces:
  - application/json

paths:
  /inv/v1/invApi:
    post:
      operationId: createInv
      summary: Public API for inv
      description: |
        Create a new inv
      tags:
        - Inv
      parameters:
        - name: inv
          in: body
          description: A inv
          required: true
          schema:
            $ref: '#/definitions/InvRest'
      responses:
        '201':
          description: inv is created
        '400':
          description: Malformed payload
          schema:
            type: array
            items:
              $ref: '#/definitions/Error'
        '409':
          description: Error during validation
          schema:
            type: array
            items:
              $ref: '#/definitions/Error'

definitions:
  InvRest:
    type: object
    required:
      - InvID
    properties:
      InvID:
        type: string
        maxLength: 3

On making requests if InvID provided in payload everything works fine.
But if it isn't provided in payload I expect to get 400 response code and message that InvID is not provided.
But I get 405 Method Not Allowed.
Environment
swagger version: '2.0'
java 8
spring boot

Are you using Java? This repo is for golang.


No content but buttons, buttons aren't working, seems like index.html isn't being loaded

Am trying to use electron-prompt to make a dialog with a numeric input.
Am getting this result.

After clicking either the button the only change appears to be that the background changes to white:

Environment:
node --version:
v12.14.1
electron --version:
v8.0.0
electron-forge --version:
✔ Checking your system
6.0.0-beta.49

Code;
const promptOptions = {
  title: 'Run Bubble Sort example',
  label: 'ms delay:',
  // buttons: ['Cancel', 'Yes'],
  value: 10,
  inputAttrs: {
    type: 'number',
    // min: "1",
    // max: "1000"
  },
  type: 'input'
};

examples.promptRun = () => {
  const bw = BrowserWindow.getFocusedWindow();
  prompt(promptOptions, bw)
    .then((response) => {
      if (response === null) {
        // Cancel: button 0 clicked
      } else {
        examples.bubblesort();
      }
    })
    .catch(console.error);
};

I also noticed a strange problem where webpack gave an error when I tried to debug into the prompt code.
Attempting to step into:

I get this error:
Could not load content for webpack:///./node_modules/electron-prompt/lib/index.js : HTTP status code: 404

The only difference I noticed with other npm modules I could debug into is that index.js is in the lib dir. Others I could debug into index.js was one level higher.

I cloned electron-forge locally and moved index.js up one level (and the code in the page folder up one leve also) and change the code so index.js loads dependent resources form the lib directory.
With these changes I coulod step into prompt -- but all I got then was just a white window.
Thought I'd report the issues before I looked further.

Duplicate of #34


WinAppDriver - Get Child properties

Hi,
I am currently attempting to use WinAppDriver to automate test for WPF application.  Unfortunately, I am unable to use the properties that was provided by Inspect.exe or WinAppDriverUiRecorder.exe.  Both the inspector and recorder able to find the names, ids and xpaths of the objects.  But when I attempted to use the properties provided by those two apps, WinAppDriver was unable to find the objects.  I am a novice programmer so be patient with me.  Is there a way that we could find how many children objects the current object have?   I am use to RFT in which we could use the parent objects to find all the children objects and the properties that are available in the children objects.  Is there something similar with the WindAppDriver?

Du-in-it Better base щи PageSource when you create locators
You can get pagesource using Session.PageSource, then save to XML and check almost all available properties (except some hidden like Value.Value).


fix(zkstack_cli): Apply zk_toolbox commands redesign

Description

Apply zk_toolbox commands redesign.
Linked Issues

Additional context

On hold until corresponding PR in core is merged & released

Can you remove this callout from the quickstart page?
ZK Stack is still under development. We advise you to only use for local and testnet deployments.

Can you remove this callout from the quickstart, production and raas pages?
ZK Stack is still under development. We advise you to only use for local and testnet deployments.

Addressed in https://github.com/matter-labs/zksync-docs/pull/239/commits/e4e7bfe0688e6d6d8f8ef2662ab5c47bed9f043c


Splash Page fetching time increasing  exponentially

In my trial, I hit splash instance with 50 parallel threads. Each thread will get the page source of the URL. My splash instance default slots value is  50. Here, website fetching time increases exponentially with the number of parallel threads. I can get the perfect HTML source for 50 URLs. But the time increases from 2 seconds to 45 seconds from 1st URL to 50th URL respectively. Please help me to reduce the time for fetching the page source.
My sample java code is
`
public class SplashThread implements Runnable {
private static final String splash ="http://localhost:8050/execute";

private String script = URLEncoder.encode("function main(splash, args)  \n" +
        "splash:go(args.url)\n"+
        "  splash.images_enabled = false\n" +
        "  splash:on_request(function(request)\n" +
        "    if string.find(request.url, \".css\")~= nil then\n" +
        "        request.abort()\n" +
        "    end\n" +
        "end)\n" +
        "local html = splash:html()\n" +
        "return  html\n"+
        "end","UTF-8");

private String url =null;

public SplashThread(String url) throws UnsupportedEncodingException {
    this.url = url;

}
@Override
public void run() {
    HttpClientUtil clientUtil =null;
    JSONObject json =null;
    try {
        Properties queryParms = new Properties();
        queryParms.put("url",url);
        queryParms.put("timeout","85.0");
        queryParms.put("lua_source",script);

        clientUtil = new HttpClientUtil(-1,false);
        HttpResponse response = clientUtil.doGet(splash,queryParms,null);
        String resp = ScrapyUtil.getResponseString(response,"UTF-8");

    }
    catch (Exception e){
        e.printStackTrace();
        System.out.println("JSN}ON :: "+json);
    }
    finally {
        if(clientUtil!=null){
            try {
                clientUtil.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }

}

}`
I am scheduling 50 threads of  this runnable object with ScheduledExecutorService.
If I am fecthing the page source once by one, It will working perfectly. But I need to fecth concurrently.

Is splash process using 100% of one CPU core? Splash does support concurrent requests, but it's still using one core, so if one page takes say 1 second of CPU time, then it can not render 50 pages faster than in 50 seconds of CPU time. If you would like to use more cores with splash, one solution is https://github.com/TeamHG-Memex/aquarium

Thanks for your replay @lopuhin. Is there any way to set to use more than one core with splash?.
I tried with Aquarium, While installation when I use "docker-compose up" to start the Splash, It throws the following exception.

Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 71, in main
command()
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 124, in perform_command
project = project_from_options('.', options)
File "/usr/local/lib/python2.7/dist-packages/compose/cli/command.py", line 41, in project_from_options
compatibility=options.get('--compatibility'),
File "/usr/local/lib/python2.7/dist-packages/compose/cli/command.py", line 121, in get_project
host=host, environment=environment
File "/usr/local/lib/python2.7/dist-packages/compose/cli/command.py", line 92, in get_client
environment=environment, tls_version=get_tls_version(environment)
File "/usr/local/lib/python2.7/dist-packages/compose/cli/docker_client.py", line 127, in docker_client
client = APIClient(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 113, in init
config_dict=self._general_configs
TypeError: load_config() got an unexpected keyword argument 'config_dict'

Details
Machine : Linux (ubuntu 14.04)
Python 2.7.6
Docker version 18.06.0-ce, build 0ffa825
docker-compose version 1.22.0, build f46880f
Please help us to solve this issue.

Discussing docker-compose issue in https://github.com/TeamHG-Memex/aquarium/issues/16, closing this one (feel free to reopen / comment)

Sorry for this silly question.
Assume, I have 16 core CPU(s) machine. If I use Aquarium with four splash instance. At a time 4 out of 16 core will be used, other CPU cores would be idle?
Please correct me if I wrong.

Is there any way to set to use more than one core for one splash instance? @lopuhin

Assume, I have 16 core CPU(s) machine. If I use Aquarium with four splash instance. At a time 4 out of 16 core will be used, other CPU cores would be idle?

Yes, under full load usually no more than 400% of CPU will be used (if 100% is one core), although in practice it can even be a little higher than that. The load itself might span more cores unless you limit it to specific cores.

Is there any way to set to use more than one core for one splash instance?

AFAIK no, at the moment it's impossible and I don't think there are any plans to support that. Using tools such as https://github.com/TeamHG-Memex/aquarium is preferable not only due to ability to use multiple cores, but also because splash might crash or become unresponsive on some websites, and having a pool of workers allows to mitigate this.

feel free to reopen / comment
Can't reopen this issue.

@Mideen can you check the load of the splash processes, how much CPU they are using? If the load is much less than 100% and the speed is still the same, then most likely this is an issue in the client code (Java code which makes HTTP requests to splash), because splash is regularly used in this fashion, and speed increases linearly when you add more cores. Unfortunately, I don't know Java well enough to give any advice - the code looks reasonable to me.

https://github.com/TeamHG-Memex/aquarium/issues/17 has more details, but let's continue here?

Happy day ..!
I checked my CPU load. It reaches 400% (I have 4 core).
Am I need to increase my CPU core(s)?
Even If I increased CPU core(s), the same exponential time increasing issue will occur if the more parallel threads hit at a time. Am I correct?
We are trying to use Splash for crawling purpose. At the time more than 100 parallel threads might be hit the Splash instance. So only we test the Splash with 100 automated parallel threads. Our main agenda is to reduce the website page fetch time as much as possible for crawling.
Can you please suggest anything to reduce this exponential time increase when I test with parallel threads.
I tried Splash independent server and Splash with Aquarium. Both have the same exponential time increasing.
@lopuhin

I checked my CPU load. It reaches 400% (I have 4 core).

This means that Splash cluster is under full load, and if you make more concurrent requests you won't get a speedup, but will only get higher latencies, which is I think what you are observing. In more details, I mean that you are limited by splash throughput (see e.g. here for an explanation of throughput and latency https://nirajrules.wordpress.com/2009/09/17/measuring-performance-response-vs-latency-vs-throughput-vs-load-vs-scalability-vs-stress-vs-robustness/)
I don't know the larger context of your system, but if I just had a list of URLs to download via splash, and assuming I'm not limited by the speed of the server that is serving this URLs (e.g. if these URLs are from multiple domain), then the total throughput is determined by the number of cores (assuming you add enough splash processes to saturate them), and I would try to aim at the number of concurrent requests that just puts the system under full load, and not make it much higher - in this case the latencies will be also reasonable.
From my experience, when rendering some random URLs, I could use 32-64 concurrent requests for an 8 core splash cluster.


fix PWM duty cycle setting error, fix #1743

感谢提交 Pull Requests！
Thanks for submitting a pull request.

start build

手动触发！
感谢 Pull Requests！
Thanks for submitting a pull request.

auto build success,number:201

autotest fail,number:1537


@conda-forge-admin, please add user @tiangolo

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @tiangolo in conda-forge/sqlmodel-feedstock#9.


Add Clutter Model that can be used with radar Sensors

A useful feature of Stone Soup is the creation of platforms (moving or stationary) which can hold various sensors on them. These sensors are able to measure a given groundtruth using a measurement model. The proposed clutter model introduces clutter (false alarms/detections) to these measurements, making the simulations more realistic. The clutter can be distributed according to either a uniform or a normal distribution.
This pull request follows up on this discussion: #485 and implements the third idea listed.
An example usage of the 2D ClutterBearingRange model can be found here.
An example usage of the 3D ClutterElevationBearingRange model can be found here.
As I have written it, the clutter model can be added to the RadarBearingRange and the RadarElevationBearingRange sensors. Other sensors could be edited to include an optional clutter model, I just don't have enough experience in sensors to do this.
I would love any comments or suggestions on this model. As discussed in some of the user conferences, I hope this model will be a good place to start and build off of!

Thank you, for the notebook sample, I am interested in testing this capability and need more time on this topic along with sensor creation.

Need to add the clutter models to documentation.
In docs/source/stonesoup.models.measurement.rst you'll need to add an entry for the clutter model file.
E.g.
`
Clutter
.. automodule:: stonesoup.models.measurement.clutter
:show-inheritance:
:inherited-members:
`

Need to add the clutter models to documentation. In docs/source/stonesoup.models.measurement.rst you'll need to add an entry for the clutter model file. E.g. Clutter ------- .. automodule:: stonesoup.models.measurement.clutter :show-inheritance: :inherited-members:

@oharrald-Dstl I have created a new file stonesoup.models.clutter.rst which you can find here. I decided to put it in its own file, rather than in stonesoup.models.measurement.rst because it is not a subclass of the measurement model anymore. Please let me know if there is a problem with this or the formatting of the file, I've never made a .rst file before. Thanks!

Some tests for these new models would be good.

@oharrald-Dstl Thanks for the suggestion. I have never made tests before, but I tried to copy the format of the tests for the measurement models. I also put the clutter.py and its tests in a new folder. You can find it all here. I apologize in advance for all mistakes! I wasn't sure what to put in the tests, but I test the ndim attribute and the function() function. Let me know if there is anything else I should test!

One last issue: error raised that the file docs/source/stonesoup.models.clutter.rst isn't in a toctree.
Just need to add stonesoup.models.transition to the list of folders in docs/source/stonesoup.models.rst so that clutter models appear in our table of contents.
Eg.
Models
.. toctree::
stonesoup.models.clutter
stonesoup.models.control
stonesoup.models.measurement
stonesoup.models.transition

.. automodule:: stonesoup.models
:no-members:
.. automodule:: stonesoup.models.base
:show-inheritance:


Library for custom collage

I would like to know if there is some library with which we can create an collage image which contains multiple images from our selection, and with any custom frame size we provide for them.

@abhinav2014 Please check our Media section.


[Improvement][server] WATERDROP task plug-in optimization in switch case code cleaning.

What is the purpose of the pull request
[server] WATERDROP task plug-in optimization in switch case code cleaning.
Brief change log
Clean up duplicate code
Verify this pull request
This pull request is code cleanup without any test coverage.

Codecov Report

Merging #3365 into dev will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #3365      +/-   ##
============================================
- Coverage     36.56%   36.50%   -0.07%
+ Complexity     2631     2628       -3
============================================
  Files           448      448
  Lines         20818    20816       -2
  Branches       2550     2550
============================================
- Hits           7613     7598      -15
- Misses        12502    12521      +19
+ Partials        703      697       -6

Impacted Files
Coverage Δ
Complexity Δ

...hinscheduler/common/utils/TaskParametersUtils.java
70.00% <ø> (+3.33%)
11.00 <0.00> (ø)

...lphinscheduler/server/worker/task/TaskManager.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...ver/master/consumer/TaskPriorityQueueConsumer.java
35.52% <0.00%> (-9.22%)
13.00% <0.00%> (-2.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
56.75% <0.00%> (-2.71%)
6.00% <0.00%> (-1.00%)

Continue to review full report at Codecov.

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


Registration fails in non-English environments

Execution of RedHat subscription-manager commands is not agnostic regarding language settings
`[root@defaultrhel7-marcus-marcus-mqt0fg9 cloud-user]# subscription-manager status
+-------------------------------------------+
Systemstatusdetails
+-------------------------------------------+
Gesamtstatus: Unbekannt
`
and the cookbook fails to check the output status and believes the system is already registered.

[root@defaultrhel7-marcus-marcus-mqt0fg9 cloud-user]# export LANG=en_US.UTF-8 [root@defaultrhel7-marcus-marcus-mqt0fg9 cloud-user]# subscription-manager status +-------------------------------------------+    System Status Details +-------------------------------------------+ Overall Status: Unknown
Will try to create a pull request and run the status check always with LANG=en_US.

Fixed with https://github.com/chef-partners/redhat-subscription-manager-cookbook/pull/33

I am using now
ENV['LANG'] = 'en_US.UTF-8'

in my deployment wrapper cookbook. This solves the problem, too. Please decide whether my environment setting or the change on the cookbook makes more sense.

The fix is probably better. We don't support many non-US languages, so to force this is probably a good workaround for the time being.
I do have one comment on the PR though, please address that there.


Fix shinylive version of app

This PR addresses #1 by updating the application code to compile and execute successfully with {shinylive}:

Add custom function is_emscripten() to detect if the R process is running in a web-assembly process. Full credit goes to Winston Chang - source shinylive/45 (comment)
Add custom function get_cran_db() to provide two methods of downloading the CRAN package database:

When running in a traditional R process: use tools::CRAN_package_db()
When running in a web assembly process: Download the data set RDS file packages.rds directly from a CRAN mirror using a customized version of the URL that accounts for a web browser's downloading policies. Full credit goes to GH user alekrutkowski - source webr/252 (comment)

Add a condition to use a more traditional sorting method via order() for the data set if running inside a web-assembly process, due to R version 4.3.3 being the current version supported by webR. Once webR is updated to use R version 4.4.0 or later, this could be reverted to using the sort_by() function exclusively.

IMPORTANT: The development version of {shinylive} must be used to compile the application due to a recent bug fix in PR shinylive/72.
I did not add the re-compiled assets in this PR in case you want to handle that on your end for a revised deployment.

Holy guacamole, that works. Thank you very much for looking into this and for contributing. Shinylive is the best framework for this app given its simplicity and so I'm glad there is a solution.

To confirm it works in the newly-deployed version: https://matt-dray.github.io/cran-deadlines/
Thanks again!


Feature/additional route

I had to hack ember's RouterDSL to reach each level of routing and keep rancher routing on top of component.

Merged via https://github.com/rancher/ui/pull/602


Suggestions

Hi guys, at first I want to say Great Work! You have big improvements after graphql-decorator and I've some ideas how to make this library more flexible:
Main idea is to have as few decorators as possible:
before:
    @NonNull()
    @Pagination()
    @Field({type: UserType})

after:
    @Field({type: UserType, notNull: true, pagination: true})

before:
    @ObjectType()
    @Description('An user')

after:
    @ObjectType({description: 'An user'})

What do you think?

@playerx
Thanks for the feedback!
I definitely agree that the decorators are very verbose as they are now, and using objects as parameters like you are suggesting will make it the code using it a lot more readable.
The only thing blocking us to move in that direction is that the way the code handles the metadata makes it a little tricky to do these modifications in a simple manner.
But anyway, if you would like to start implementing it before we do please fell free to send us a PR, even if it is as a implementation suggestion 😉

I think I know how to make it possible, just give me some time and I'll send pull request about that


flip method not exported on Julia v1.6

On Julia v1.6 it seems the flip method is not exported by the PartialFunctions module for me, I get the following
julia> names(PartialFunctions)
3-element Vector{Symbol}:
 :$
 :<|
 :PartialFunctions

I cloned the package and made a change to the export statement on PartialFunctions.jl, from
export $, <|

to
export $
export <|

and it seemed to solve the problem, although I am not sure why. I can make a pull request with the changes.
Thanks!

Oh interesting. Yes please make the PR and I'd be happy to merge it!


Do the conda-activated fermitools work on a computer-cluster?

I tried to setup the fermitools on a computer-cluster, it seems dose not work well.  Some of the fermitools dosen't run on the computer-cluster, this may due to the environments.

Hello @fengli9096,
Currently we do not support or test the efficacy of the conda activated fermi tools on computer clusters of any sort. Do you have more information about the exact type of analysis you want to perform? And information about the cluster you're using?

Closing as no progress in a month.


iTerm2 Plugin Fails to Run in iTerm?

When trying to run Run a Text Command in iTerm, nothing happens and this gets spit out in the logs.
Is this the appropriate place to log this issue. Anything I can do to help fix it?
I'm on iTerm2 Build 2.9.20150810-nightly.

Probably the same thing described in quicksilver/iTerm2-qsplugin#5

Is this the appropriate place to log this issue.

Yes.

Anything I can do to help fix it?

Feel like updating the AppleScript in the plug-in?

I started work on this, but actually started to refactor as a new plugin called iTerm3 because 2.9 will release as iTerm3 when stable. I'm not sure if some detection code would be possible or better. The bundle identifier will likely change when it releases as stable and detection would be easier at that point. I really just focused on fixing what was keeping it from compiling and getting the 'Run text command.." actions to work right. I think all the actions with named sessions are mostly useless now and that part probably still needs to be redone for profiles instead of sessions.
https://github.com/jasmas/iTerm2-qsplugin/tree/iTerm3

Great, thanks! Probably keeping it as 1 plugin would be best if possible. Plugins can be related to multiple bundles - you're right a change in bundle ID would make things easier.
I've just gone through a similar thing for Safari 7/8 changes in the Safari plugin
To check Safari version I'm checking for the existence of a file that Safari 8 creates. It's more complicated in terms of actions though.
If you feel like it should be a new plugin then we can also include that - when you're ready/iTerm3 is ready please make a PR or let us know on the QS Dev group and we'll get a release out.

I wrote this simple Pane 2 AppleScript Action to fill the gap in the meantime. Just drop it in ~/Library/Application Support/Quicksilver/Actions and restart Quicksilver. Then it will show up as an available action for folders. Unfortunately it will also show up for files because I don't know the QS Type for just Folders.
using terms from application "Quicksilver"
	on get direct types
		-- TODO: Change to be just the QS Folder type (not sure what its name is)
		return {"NSFilenamesPboardType"}
	end get direct types

	on open files theFiles
		set filePath to POSIX path of item 1 of theFiles

		tell application "iTerm"
			activate
			set newWindow to (create window with default profile)
			tell current session of newWindow
				write text ("cd '" & filePath & "'")
			end tell
		end tell

	end open files
end using terms from

Kind of obvious, but here is the script I am using to replace Run in iTerm3 until this is fixed...
using terms from application "Quicksilver"
	on get direct types
		-- TODO: Is there a File QS type that doesn't include directories?
		return {"NSFilenamesPboardType"}
	end get direct types

	on open files theFiles
		-- TODO: Handle multiple files
		set filePath to POSIX path of item 1 of theFiles

		tell application "iTerm"
			activate
			set newWindow to (create window with default profile)
			tell current session of newWindow
				write text (filePath)
			end tell
		end tell

	end open files
end using terms from

For parent directory you just want to replace the write text argument with something like this:
"cd `dirname`" & filePath & "`"

Thank you for the scripts @studgeek!

A bit late on this, but @studgeek 's script is giving me the following error on Script Editor, and it doesn't run on Quicksilver:
Expected function name, command name or function name but found “get”.


Is there code for viewpoint estimation?

I read the paper 'CRAFTING A MULTI-TASK CNN FOR VIEWPOINT ESTIMATION' and find this pository which is used for object detection,and I saw the result of examples. So I want to know whether the text on the top left corner is the result for viewpoint estimation,including class and azimuthal angle?

Yes, there is a preliminary release of the code that can be found in http://imagine.enpc.fr/~suzano-f/bmvc2016-pose/ and is based on the code in this repo.

Hi @fmassa, I'm also here for CRAFTING A MULTI-TASK CNN FOR VIEWPOINT ESTIMATION.
I tried to load Pascal3D dataset using your preliminary release, however the format seems to be different; It reads .xml annotation rather than .mat annotation on P3D dataset.
Could you share us the DataSetPascal.lua used in your paper?

Hi @ardiya,
Sorry for the (long) delay in replying.
I have used the code I posted in the zip file for training the models. If the original annotations for Pascal3D are in .mat format, I probably converted them to .xml beforehand.
I'll try to have access to the computer where I have stored that data and see if the information is still there, and to see if I still have the conversion script somewhere.

@ardiya I found the Matlab code I used to convert the scripts to xml. It requires the toolbox from Pascal VOC to be on your path.
The code is not very clean but should be easy to use.
You can find it in here https://gist.github.com/fmassa/f9f39bb07cca98d5a1b57615b4c0ea60


Committer check failing

URL to the linked Repo/Org:
https://github.com/Flank/flank/pull/621
Steps to reproduce the problem:

Submit a PR
Comment. CLA assistant reports CLA Assistant Lite All Contributors have signed the CLA.
Check fails https://github.com/Flank/flank/pull/621/checks?check_run_id=463938756

What is the expected result?
CLA check passes.
What happens instead?

https://github.com/Flank/flank/pull/621/checks?check_run_id=463938756

Run<EMAIL_ADDRESS>CLA Assistant GitHub Action has started
the PR No is 621
committersAfterWhiteListCheck [
  {
    "name": "bootstraponline",
    "id": 1173057,
    "pullRequestNo": 621
  }
]
(node:2619) UnhandledPromiseRejectionWarning: HttpError: Could not create file: At least 1 approving review is required by reviewers with write access.
##[error]committers of pull request 621  has to sign the CLA
    at /home/runner/work/_actions/cla-assistant/github-action/v1.2.0-alpha/node_modules/@octokit/request/dist-node/index.js:66:23
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2619) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2619) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  Complete job

I closed then opened the PR and now it works. This seems a bit buggy?

Hi @bootstraponline, It looks like the master branch is protected and hence, CLA Action is not able to create a signature file where the contributors signatures will be stored. An easy workaround is to change the branchinput in the CLA workflow file to another branch which is not protected for storing the contributors signatures.

I am sorry, I didn't cover this branch protection use-case and that's why this action was behaving funny 😄.

Hi @ibakshay,
I think there might be an issue with error handling for the Promise.all, here. Since the resulting promise is not awaited (not is its .catch method called), the condition at line 94 is always true and line 98 is - in effect - unreachable.

Hi, @Writhe Thank you very much for pointing out, it will definitely help us for debugging.
I have used Promise.all rather than classic async/await to make parallel API calls where ever possible to speed up the process.
Also, Feel free to raise a Pull Request to fix this error handling if you like to  😄.

Done.
Ah, I didn't suggest awaiting the promises sequentially. What I meant was the output of Promise.all() - which is a promise itself - should be awaited or otherwise handled in case any of the promises gets rejected. I should've phrased it better.


NullPointerException when model Exists

2015-12-07 08:56:13,625 ERROR - Error importing API definition
java.lang.NullPointerException
        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.getApiName(ApiGatewaySdkSwaggerApiImporter.java:92)
        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createApi(ApiGatewaySdkSwaggerApiImporter.java:60)
        at com.amazonaws.service.apigateway.importer.impl.ApiGatewaySwaggerFileImporter.importApi(ApiGatewaySwaggerFileImporter.java:48)
        at com.amazonaws.service.apigateway.importer.ApiImporterMain.importSwagger(ApiImporterMain.java:155)
        at com.amazonaws.service.apigateway.importer.ApiImporterMain.execute(ApiImporterMain.java:145)
        at com.amazonaws.service.apigateway.importer.ApiImporterMain.main(ApiImporterMain.java:83)

This happens with i have my model defined...
...
"responses": {
                    "200": {
                        "description": "invoice details",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/invoiceDetail"
                            }
                        }
                    },
...
 "definitions": {
        "invoiceDetail": {
            "type": "object",
            "required": null,
            "properties": {
                "customercommonid": {
                    "type": "string"
                },
                "operation": {
                    "type": "string"
                },
                "availabilityzone": {
                    "type": "string"
                },
                "quantity": {
                    "type": "float"
                },
                "usagetype": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "category": {
                    "type": "string"
                },
                "pricetype": {
                    "type": "string"
                },
                "startdate": {
                    "type": "string",
                    "format": "date-time"
                },
                "enddate": {
                    "type": "string",
                    "format": "date-time"
                },
                "isreservedinstance": {
                    "type": "bool"
                },
                "resourceid": {
                    "type": "string"
                },
                "price": {
                    "type": "float"
                }
            }
        },
...

when i remove the definition:
...
"200": {
                        "description": "invoice details",
                        "schema": {
                            "type": "array",
                            "items": {

                            }
                        }
                    },
...
 "definitions": {
//invoiceDetails was here
        "errorModel": {
...

the api successfully creates.

That stack trace doesn't make a lot of sense to me considering the swagger def you've posted. Are you sure that's an accurate stack trace?
The stack trace would indicate that the API name can't be parsed out of the swagger def, so maybe the brackets aren't closed properly?
https://github.com/awslabs/aws-apigateway-importer/blob/master/src/com/amazonaws/service/apigateway/importer/impl/sdk/ApiGatewaySdkSwaggerApiImporter.java#L91

Swagger/OpenAPI import is now generally available in the API Gateway REST API, the AWS CLI and all AWS SDKs. You can also import and export Swagger definitions using the API Gateway console. This release addresses many of the open issues and feedback in this repository.
I would encourage you to migrate your workflow to the standard AWS tools. aws-apigateway-importer will receive minimal support from the API Gateway team going forward.
Any feedback or issues with the new importer should be directed to the official API Gateway forums.
Thanks,
Ryan


PNT-193 : Rate Calculation

Using Fixed Points
The main function implemented added only calculate the rates if we convert. I did not implement conversions on chain.
Exchange -> Fixed input conversion
There is an inherit precision problem. We are currently using float64s, and as long as float64 implementation is consistent across different machines, the precision problems should be deterministic.
I added a unit test that does the following to exercise the precision problem:

Choose 2 random usd rates for from and to
Choose a random amount of from tokens (this is have)
Convert those tokens to to for an amt
Given that amount, how many from tokens does it take to get amt of to. (this is need`).
Compare need and have

The unit test in table format:
| TX | From Currency (int64) | Conversion Direction (float64 ratio) | To Currency (int64) |
|----|-----------------------|:------------------------------------:|---------------------|
| 1  | Given `have`          |                 --->                 | Computed `amt`      |
| 2  | Computed `need`       |                 --->                 | Given `amt`          |
| 3  | Computed `whenNeeded` |                 <---                 | Given `amt`         |

Results: need  and have do not match in every case. whenNeeded and need do match (they can be off by 1 because of truncation, but only 1). This is because we lose precision going from have to amt, and then any math with amt will carry that precision error. I made sure to only truncate, meaning the lost precision will result in lost tokens, not gained. And this loss will be very small. This is an inherit problem we have with conversion ratios. For example:
If BTC is at 10K USD, and FCT at $5, then:
1 satoshi is $0.0001 and 1 factoshi is $0.00000005, then you need a minimum 2000 factoshis to get 1 satoshi. If you transact 1999 factoshis, the current code will result in 0 satoshis. Rounding up would create tokens, rounding down destroys tokens in the tx. If we rounded up, I think there would be some office space type vulnerability, where if the amount generated rounding up is more than the cost of 1 EC, it would be beneficial to make those txs.

Being move to a module


With Chinese Input method on and multiple VSCode window opened, app switching always jump back to one of the window

VSCode Version: 1.25.1
OS Version: Windows 10 Pro 10.0.17134

Steps to Reproduce:

Open more than 1 window with different files opened
Switch to Chinese Input Method (Using Microsoft ChangJie)
Switch focus to some other window (Alt-tab / task bar)
Switch back to VSCode, one of the window will always steal focus no matter which window you switch to.

I found that it only happens to Chinese input method, when I'm using English keyboard or Japanese Input it works as expected.

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

Hi sorry for not explaining clear in last post.
Lets say I have 2 VSCode window opened, windows A and B. Switching focus from A to some other application with Input method leave on, then try to switch to B, but got jumped to A.


Smart aggregation of errors

Proposal

I would like to have better aggregation of errors by blanking URL's / IP's / ports.
Background

I'm only hitting each IP/port once (for product-specific technical reasons). The error messages contain URL's / IP's / ports, which makes them unique per request. Therefore every single failing request is logged separately. This makes the vegeta report output unwieldy.
It might not be the most common use case, but given vegeta's explicit support for dynamic target selection that seems like an oversight.
Workarounds

I don't actually care about the types of errors, so I just do:
vegeta report | head

Sounds good to me.


Use pyinstaller to build a portable rez edition

Motivation
First of all, I would like to thank Rez for providing a great DCC environment setup solution. However, the installation process for Rez can be somewhat complicated for CG artists, especially for companies that prohibit employee computers from connecting to the internet.
I reviewed the differences between the script installation version and the pip installation version described in the official documentation. The main difference is that the script installation can provide an independent Python environment to run Rez. Pyinstaller can directly package the entire Python environment, allowing the packaged files to be placed and run anywhere. This portable installation method is very user-friendly.
I saw an issue where someone asked about a portable version of Rez, but it seems there was no follow-up. I'm not sure if it's actually possible to use Pyinstaller to build Rez, and I also wonder if the official team has any intention of doing this.
Related Issues/PRs

#854

@FhyTan I've established a repository for creating portable rez, and you can download the binary executable from the releases section.
https://github.com/loonghao/portable_rez/releases/tag/v0.4.5

Note that we don't support non official distributions. Also, one issue with pyinstaller like executable is that they are bloated and slow to start. I also fail to see how it makes it easier for companies that block internet access since you still need internet to get the executable in the first place.
If you want an easy to deploy python that will work for rez, I suggest to look at https://github.com/indygreg/python-build-standalone.
Basically, we (the rez maintainers) don't think that pyinstaller is a good fit for rez. We are instead evaluating other solutions that would help bootstrapping rez in studios. For example, we started to write down our thoughts here: https://hackmd.io/@jcmorin/H1MnfXvWR.

Hey @JeanChristopheMorinPerso, I am not in rez loop for quite a while but somehow the universe leads me to your hackmd writeup. Which looks great!
I just wanted to let you know that, I have already took the name rezup for my CLI tool that I developed a couple years ago, and it's on public PyPI.
rezup is really a good name for a tool in such purpose, and I believe this name can bring more good to the world if it's in you guys' hands. So please feel free to let me know if you guys want to take over that name. I am happy to help. 💪🏼

Note that we don't support non official distributions. Also, one issue with pyinstaller like executable is that they are bloated and slow to start. I also fail to see how it makes it easier for companies that block internet access since you still need internet to get the executable in the first place.
If you want an easy to deploy python that will work for rez, I suggest to look at https://github.com/indygreg/python-build-standalone.
Basically, we (the rez maintainers) don't think that pyinstaller is a good fit for rez. We are instead evaluating other solutions that would help bootstrapping rez in studios. For example, we started to write down our thoughts here: https://hackmd.io/@jcmorin/H1MnfXvWR.

Thank you for your reply!
Regarding how to obtain executable files in a company without internet access, it’s relatively simple. Just package the files into a zip file and copy it to the artist’s computer.
Regarding the issue of program bloat, modern computers generally have ample storage space, so it's not a big concern. As for the slow startup speed, the dependencies we use in most cases are relatively simple, so a slight delay in startup is acceptable.
I have tried using PyInstaller to package the application, and there is minimal difference in usage, although further testing is still needed.

@loonghao Thanks, It does work!

@FhyTan You can use rez as a python package, develop it using rez's api, and then build it normally using pyinstaller, just use it in the code startup line os.environ["REZ_CONFIG_FILE"] = "your_rez_config_file_path_in_your_code"


Add generic QuadToRdfConverter

A simple addition that allows serialization to all N3.js formats an JSON-LD.
Once we add more formats to Comunica, they will also automatically be included here.

Should we drop QuadToTurtleConverter though?

Should we drop QuadToTurtleConverter though?

Why not? This one does everything and more, and the performance difference is probably going to be negligible since internally N3.js gets used.

Why not? This one does everything and more, and the performance difference is probably going to be negligible since internally N3.js gets used.

It's not even in the config anymore, so performance difference is 0 :-)

Why not?

We should, but we aren't yet in this PR, that's my point 🙂
Let's not keep the old one around.

Why not?

We should, but we aren't yet in this PR, that's my point 🙂
Let's not keep the old one around.

Ah yes I missed that 😂 . Yes should definitely be removed.

Ok, but let's do that in a separate PR then. This one just focuses on adding a feature. We'd then also have to remove  TurtleToQuadConverter.

Ah true, I actually also assumed that one was also already removed.


Create a dev container for Robyn

This issue proposes the establishment of a Robyn dev container, which would enable speedy installation of Robyn and all of its dependencies when using GitHub Codespaces or VS Code.

We decided to instead create a Github Codespace <> Robyn quickstart template: https://github.com/sparckles/robyn-quickstart-template

We decided to instead create a Github Codespace <> Robyn quickstart template: https://github.com/sparckles/robyn-quickstart-template

@sansyrox We can close it as it's already completed.

Yes @Mr-Sunglasses , thank you :D


fix: prevent push/commit with falling tests with Husky

Changes:

Exit husky scripts with error code when tests are failing, preventing the commit/push

See https://github.com/zurb/foundation-sites/pull/11111

Thanks for the review :)


Bug when mo-doc generating docs for public var.

This code:
module {
  public class Class() {
    /// Docs
    public var a : Nat = 0;
  };
};

when being run with this command:
$(dfx cache show)/mo-doc --format plain

causes this output:
Failed to extract documentation for declaration:
(VarD a (AnnotE (LitE (PreLit 0 Nat)) (PathT (IdH Nat))))

and no doc for public variable in md file.

Thank you for the bug report! We are tracking this issue internally and will look into fixing this when possible.


fix: recover macos functionality

👋
This PR recovers macOS testing functionality, which I last saw working in 3.10.0. Since then it appears to fail with:
.pub-cache/hosted/pub.dev/patrol-3.12.0/darwin/Classes/AutomatorServer/Automator/MacOSAutomator.swift:6:9: error: type 'MacOSAutomator' does not conform to protocol 'Automator'
	  class MacOSAutomator: Automator {
	        ^

this still seems an issue at commit:  6a1df028d0a4e525451b43eaf160634d6161c988
Testing:
works on my machine. I didn't quickly find a test suite to run / update locally, though at a guess there is some coverage missing for this functionality / platform. Let me know if there are other things I can do to help with this submission.

Also, please update the changelog


🇶🇦 where is the guest book. It is no longer in

NAME                        READY   STATUS             RESTARTS   AGE
guestbook-7b68f96c8-76f4k   0/1     ImagePullBackOff   0          8m30s
image:
repository: gcr.io/google_samples/gb-frontend
Please update repository or let me know if there is an access to this frontend somewhere else.

replace values.yml and change out this line,.
image
repository: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend


Update travis to test newer versions of node

:sparkles: No lint errors found. :sparkles:

:sparkles: No lint errors found. :sparkles:

:+1:

:sparkles: No lint errors found. :sparkles:

Force pushed to squash the two commits.


Force encoding in other places

missed an early return for Grit#native that needed the call
Commit#list_from_string can be called with arbitrary text that didn't
originate from within Grit, so it should be sanitized.

And the whack-a-mole continues! LGTM

:hammer: :mouse:


No permissions for non root users inside a container on host with nfsroot

I have some read and execution permission issues on my machine with nfsroot without local storage:
andrej@nikel:~$ docker run -it --name test --privileged=true ubuntu:14.04 bash
Unable to find image 'ubuntu:14.04' locally
14.04: Pulling from ubuntu
3fd0c2ae8ed2: Already exists
9e19ac89d27c: Already exists
ac65c371c3a5: Already exists
a5a467fddcb8: Already exists
ubuntu:14.04: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:d4b37c2fd31b0693e9e446e56a175d142b098b5056be2083fb4afe5f97c78fe5
Status: Downloaded newer image for ubuntu:14.04
root@143b1a24faaa:/# useradd test
root@143b1a24faaa:/# su test
Cannot execute /bin/bash: Permission denied
root@143b1a24faaa:/#
On my laptop it works fine. I also have problems with apache2 server: it can't read anything, when it dropped root privileges.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I'm not sure using nfs is officially supported, but I know there are various other issues as well, e.g. https://github.com/docker/docker/issues/15239, https://github.com/docker/docker/issues/14227, https://github.com/docker/docker/issues/4213

Going to close this because AUFS doesn't support remote filesystems.


Add Support for HEIC Images

Hi,
As the name suggests can you add the support for HEIC or HEIF the images which has been clicked with the help of an iPhone.

At the moment the upstream codec packages I rely on (jSquash) don't support a HEIC compressor (https://github.com/jamsinclair/jSquash?tab=readme-ov-file#packages). We could potentially use something like https://www.npmjs.com/package/heic-convert but will need to take a deeper look into this when time allows.


Use CON_ throughout build process, for better windows compatibility

Good idea, thanks Gav!

Addressed in 14cf805f5357a6335de850edbc700e363e9ac0d0


BDT Variable Third-Highest Csv

The plot for the variable in question exhibits a limited range of values, predominantly concentrated near zero. Notably, there are no specific plots provided in the Analysis Note (AN) for this variable. Considering that, maybe it shouldn't be considered for the analysis. An evaluation is necessary to determine if the other variables adequately capture the necessary information.
@caredg

I think it can probably be dropped.


[（live．free™！）] — Buccaneers vs Chiefs Live Streams Free NFL TV Channel 4 NOV 2024

[（live．free™！）] — Buccaneers vs Chiefs Live Streams Free NFL TV Channel 4 NOV 2024

xzsaa


Implement adaption prompt from Llama-Adapter paper

Issue #235
Paper: https://arxiv.org/abs/2303.16199
Official Implementation: https://github.com/ZrrSkywalker/LLaMA-Adapter
This implementation is quite specific to Llama although in principle the same technique can be used for other transformer models. It is implemented by replacing some of the LlamaAttention modules with AdaptedAttention modules that wrap the original ones, but bypass the original forward() so that we can inject trainable tokens and a gate. I can add a notebook example in a subsequent PR when I have the time.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Fixed black formatting and merge conflicts.

CI test failures were caused by Llama dependencies not being available in earlier versions of the transformers library.
To ensure backwards compatibility, I've done the following:

Added import guards for llama classes from transformers. This will allow using peft to be used with earlier versions of transformers without breaking.
Skip unit tests that require those classes if the classes are not found. CI tests should pass.

Rebased on main and added support for multi-adapters

Recompute query_states, which will require importing the Llama-specific apply_rotary_pos_emb() (less duplication of code but with the perf penalty of recomputation).

I am leaning towards this as this would be generic and recomputation penalty would be minimal.
There can be a model to postprocessing function mapping which could be used for things like apply_rotary_pos_emb . Refer this code block for one such example:
https://github.com/huggingface/peft/blob/main/src/peft/peft_model.py#L246-L249

@pacman100 I've made the changes you suggested and rebased on main.

@yeoedward have you been able to validate the implementation results against the paper's results? I gave your branch a quick whirl with the same hyper parameters as the paper, but it definitely doesn't seem to converge as quickly.

@winglian I have validated the implementation on smaller problems that run on a CPU but haven't tried reproducing the paper's results at full problem size. When you say it doesn't converge as quickly, are you referring to number of epochs trained? Happy to look into it if you can provide a notebook / script, although I don't have access to 8 x A100s.

@pacman100 I've made the suggested changes and rebased on main.

Could you please run make style and make quality to fix the quality issues?

@pacman100 I couldn't reproduce the style error (which was in a file unrelated to this PR), but I rebased on main and fixed some conflicts, which perhaps was the reason for the style checker failing. I've re-run the unit tests and quality checks, so hopefully this is good to go. Thanks for reviewing!

Thank you @yeoedward! 🤗

It took me a bit of time to find that the paper has been implemented, given that it is present in the list of the Supported methods. However, I haven't seen any documentation in the Tuners page here


UrlCleaner.normalizeUrl  method throw URISyntaxException

 I found that there are some problems with the normalizeurl method:
` String rtnStr = UrlCleaner.normalizeUrl("stackoverflow.com/questions/tagged/java");
   System.out.println(rtnStr);`

the code above throws the following exception:

`Caused by: java.net.URISyntaxException: Relative path in absolute URI: http://stackoverflow.com%5Cquestions%5Ctagged%5Cjava
  at java.net.URI.checkPath(URI.java:1823)
  at java.net.URI.<init>(URI.java:672)
  at com.shekhargulati.urlcleaner.UrlCleaner.normalizeUrl(UrlCleaner.java:59)
  ... 25 more`

@oyxiaogua I wrote a test case for your usecase and it passed. You can look at the test case here https://github.com/shekhargulati/urlcleaner/blob/master/src/test/java/com/shekhargulati/urlcleaner/UrlCleanerSpec.java#L265. Can you create a test case for your scenario and raise a PR?

`String path = uri.getPath();
if (path != null) {
    path = Paths.get(path).normalize().toString();
}`

at the beginning path is "/",after execute the code,the path become "",then
newUri = new URI(scheme, uri.getUserInfo(), host, port, path, sortQueryString(uri.getQuery()), fragment).normalize().toString();
throw an exception.
i'm using window system.please ignore it if i'm wrong,thanks.


Merging Dial Code, Emoji Flag and ISO Code

@cbwchuck
Can you please merge Dial Code, Emoji Flag and ISO Code to this list by referring to the following link.
https://gist.github.com/devhammed/78cfbee0c36dfdaa4fce7e79c0d39208

Thanks Chuck


Expose only the class name for IsPerformResult

I hope this patch is not controversial! Let me know what you think.
runActions :: forall state m e. (..., e Error state, forall a. IsPerformResult e a) => ...

The IsPerformResult name is internal, but this prevents one from using runActions in a context where Error state is not concrete. As an example, in quickcheck-lockstep we wrap runActions, and so we need add the constraint there too. This use case is probably not exclusive to quickcheck-lockstep.
Exposing the IsPerformResult name allows propagating the constraint, but one would not be able to provide new instances, so it wouldn't be unsafe to expose the name
If required, I can provide you with the GHC error in quickcheck-lockstep without the patch
Checklist:

[x] Check source-code formatting is consistent

Thanks a lot @jorisdral! It's actually annoying we have to expose this technical details at that level but it is what it is I guess.

@MaximilianAlgehed The only reason I can think of for not merging that would be that there's a way to not have this constraint exposed at that level, but I could not find a quick way of doing that.

This seems fine as far as I can tell.


⚠ Samsung has degraded performance

In 37cb1cf, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2933 ms

Resolved: Samsung performance has improved in 997d6d2.


Unit test no coverage when no ci flag

Remove unused old env model file
Test

Faster re-run tests
Also fix bad sourcemap when debugging (the inline-source-map seems to only work for coverage alone), now use inline-source-map for CI, and source-map for non-CI

Toggle CI flag by:
# Will produce coverage
npm t -- --ci

# Will not produce coverage, but is faster on re-run
npm t

Coverage remained the same at 100.0% when pulling c7f6611518e88f2f44f4357b7d489a9c62799b0c on refactor into 28ffd6924d432f16521f513724f874045a39cbeb on master.

Coverage remained the same at 100.0% when pulling a7b2ac3b1ce9abc170c5af341d09048ce85a0b94 on refactor into 28ffd6924d432f16521f513724f874045a39cbeb on master.


Risk level for all attendees at an event

I'd love to see a way to do a broader type of calculation for events. Something like: if I hold an outdoor event with 200 people, what is the risk that any one person (rather than the risk to just me personally) might get covid. What about an indoor event with 10 people, or an outdoor, distanced event with 1000 people, etc.

Can you say more about the purpose/value of doing that calculation? How does knowing the likelihood that one person has covid help?

This isn't quite what you're asking, but I thought I'd link it here anyway. This is the "what happens if one person who does have COVID walks into a room?" calculator: https://indoor-covid-safety.herokuapp.com/

This functionality exists in the Jimenez spreadsheet at https://docs.google.com/spreadsheets/d/16K1OQkLD4BjgBdO8ePj6ytf-RpPMlJ6aXFg3PrIQBbQ/edit#gid=996535083 (look for "Conditional Results for ALL ATTENDEES & ONE EVENT (assuming number of infected above, typically 1)") but it's not quite as friendly as the microcovid calculator.

You can kiiiinda use the microcovid "adjusted prevalence", multiply that by number of projected attendees, and multiply that against the Jimenez conditional results number to get "how many people might get infected".

@neurodynamic I found another calculator that covers what the Jimenez spreadsheet provides (in an easier to use format). You'll still need to combine the outputs from this calculator and the adjusted prevalence from the microcovid calculator, though.

@jy2wong Ooh interesting; thanks!

Not the likelihood that one person has covid, but the likelihood that a in a group of X people under X conditions, how many (if any) are likely to be infected when we don't know if anyone has covid or not.

You can get this out of microCOVID with a little extra work:

The expected number of people who will get COVID as a result of the event is the microCOVID cost of the event times the number of people.
In the example, thats 8000microCOVID * 100 people = 800,000microCOVID = 0.8 expected infections as a result.
The Jimenez conditional simply does this multiplication (assuming 1 person coming to the event is infected)
The Max-plank tool calculates "Chance that at least one person gets infected" as (1 - chance_one_person_gets_infected) ^ number_of_participants. That formulation is incorrectly assumes that the chance of each person getting infected is independent from each other - COVID-19 is an over-dispersed pathogen, which means that you tend to either get no infections or lots of infections (i.e., in the default example there's a 10% chance that any specific individual gets COVID, but the probability distribution for the group is more like, if anyone has COVID, there's a 5% chance that everyone gets COVID , a 50% chance that no one gets COVID, and the remaining probability distributed in between.) The Atlantic has a good article on this
In other words, if you run the example event 1000 times, you'd expect 800 infections, but it would probably come from ~20 people infected at each of ~40 events rather than 1 infection from each of 800 of the events.


Init migration to v4

Init plugin migration to Strapi v4:

[x] API Token support
[x] Markdown support
[x] Adapt REST API response to gatsby
[x] New query system
[x] Markdown processing
[x] Image processing
[ ] Link relations and nested relations from api response
[ ] Cloud support
[ ] Dynamic zones support
[ ] Components supports

 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.

I have a working solution here (https://github.com/relate-app/gatsby-source-strapi/) that solves all the checkpoints except maybe cloud - not sure what that includes. Please have a look, it uses strapi graphql rather than rest which has it's limitation, i.e. not exposing types properly which is available through the schema introspection on the graphql side of things.
Hope it helps! // T


preview flag for deployments.insert() for a Java deployment manager client.

How can we set the preview flag from a Java client on deployment configuration during an insert operation.
This is the signature of the API.
public Insert insert(java.lang.String project, com.google.api.services.deploymentmanager.model.Deployment content)

My requirement is to preview the config before actually creating it.
More details on the question here.

Duplicating the answer here for visibility:
The DeploymentManager.deployments.instert class java doc  may help you with the possible actions.
My educated guess is you need to call this before execute():
insReq.setPreview(true);

:thumbsup:
Thank you @ocsig .
I think I got carried by cancelPreview API and was expecting some similar name for this one too.


chore(main): release 1.4.1

:robot: I have created a release beep boop
1.4.1 (2024-11-07)
Bug Fixes

add id to account (3d3bad2)
make user email unique and non nullable (156be3b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.4.1
:sunflower:


Snooze and skip an alarm (Telegram bot)

[x] Show buttons with suggested times
[x] Accept time as text. E.g.: "1h"
[x] Snooze an alarm
[ ] Skip an alarm

Current coverage is 75.24% (diff: 0.00%)

Merging #63 into develop will decrease coverage by 1.89%

@@            develop        #63   diff @@
==========================================
  Files            21         21
  Lines           595        610    +15
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            459        459
- Misses          136        151    +15
  Partials          0          0

Powered by Codecov. Last update c44c352...9cabdfe


Support --self-contained-interactive-authoring-enabled in integration-runtime self-hosted create

…-runtime self-hosted create

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


[C++] Make MediaDriver keepalive exception consistent

Makes the keepalive timeout exception consistent with implementation in aeron_client_conductor_check_liveness
https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/c/aeron_client_conductor.c#L381-L393

I dont think my change could've broken atomicArrayUpdaterTest in C++ Xcode (macOS) build.
I'm guessing thats another issue?


[Docs] server/trpc/context.ts is not being loaded when following tutorial

Hi there! Thank you so much for this awesome plugin.
I did setuped everything like in the tutorial. Though it's missing a part to get the context to work.
Currently, the context file never gets executed.
I see that in this file:
server/api/trpc/[trpc].ts
import { createNuxtApiHandler } from 'trpc-nuxt'
import { appRouter } from '@/server/trpc/routers'
// export API handler
export default createNuxtApiHandler({
	router: appRouter,
	createContext: () => ({}),
})

createContext points to an empty object, but it should import the createContext function from server/trpc/context.ts.

My setup:
server/trpc/context.ts:
import { H3Event } from 'h3'

export function createContext(event: H3Event) {
	console.log('cookies', parseCookies(event))
	return {}
}

server/trpc/trpc.ts:
import { initTRPC } from '@trpc/server'
// Avoid exporting the entire t-object since it's not very
// descriptive and can be confusing to newcomers used to t
// meaning translation in i18n libraries.
const t = initTRPC.create()
// Base router and procedure helpers
export const router = t.router
export const publicProcedure = t.procedure

Nice! Thanks for noticing 😀


Add methods to more easily add operations to a DAGCircuit from Rust

What should we add?
The problem:
We crurrently have to methods that allow us to add an operation to the DAGCircuit from rust.

DAGCircuit::push_back and DAGCircuit::push_front  which accepts a PackedInstruction instance as an argument and must have valid interned qargs and cargs.
DAGCircuit::py_apply_operation_back and DAGCircuit::py_apply_operation_front which performs the addition of instructions in a similar way to what was done before, however this is only with python types and is not exposed to the rest of the rust api.

In each case we're either required to re-intern the qargs/cargs, or have an already valid instance of PackedInstruction that could work in this circuit, which is what I ultimately did for #13032. But now that we are building transpiler passes in Rust alone, having to own mutable access to the DAGCircuit and inserting qargs directly seems very unsafe.
The solution
Adding rust-native apply_operation_back and apply_operation_front to DAGCircuit that is exposed to the rest of the crates.
Having said methods would allow us to:

Insert a PackedOperation of any type and insert qargs and cargs by index (Qubit or Clbit as defined by the circuit crate), since that's how it is registered in the DAGCircuit.
Avoid having mutable access to private methods in the DAGCircuit, such as the interners or BitData.
Overall make it easier to modify and create DAGCircuit instances from transpiler passes that need it, such as the BasisTranslator.

This shouldn't be too hard to implement and would be of great help to all of the developers currently working on transpiler passes.
Discussion
Feel free to start an educated discussion in the comments, I'd love to hear what the rest of the team thinks about this.

On the ElidePermutations PR linked above, we started dicussing the need and possible signature for a Rust-native apply_operation_back.
From https://github.com/Qiskit/qiskit/pull/13094#discussion_r1752291650:

I think the signature for this should be something like:
fn apply_operation_back(
    op: PackedOperation,
    qargs: &[Qubit],
    cargs: &[Clbit],
    params: Option<&[Param]>,
    extra_attrs: Option<&ExtraInstructionAttributes>,
) -> NodeIndex

Note that I used the name apply_operation_back (I called the Python version py_apply_operation_back with anticipation of this Rust-oriented version).
I think the py_op cache will get updated on demand within the instruction, so perhaps we can get away with keeping it out of the interface here. Maybe @jakelishman has thoughts?

I think we're ready to implement something like this. It didn't exist originally only because we didn't need it when porting DAGCircuit (since it only deals with its own PackedInstructions, and thus could use the lower-level DAGCircuit::push_back that came along with that PR).

I'm fine with the method as described by Kevin, but I also think there ought to be ways to push operations back while passing an already-known Interned key.  As in Sasha's case, there's plenty of cases where we need to pass stuff in where we can know that the interned key is safe, and looking up and then re-hashing the &[Clbit] or &[Qubit] would be a waste of cycles.
Personally I have no problem with exposing a method to allow manual insertions into the interners as well - I don't think it should be the standard way to do that, but you can't break data coherence by doing it, since interners are append-only, and adding the key doesn't invalidate existing keys.  That said, I don't immediately have uses for that in mind - I have a rough imagined optimisation to the Sabre post-routing rebuilder that pre-allocates the interner, but no proof it'd be a good idea - so I'm not pushing for adding them.

Oh, fwiw, we probably want to think about the transfer of ownership of various objects as well - I don't know what patterns are going to be most useful, but we possibly want to make it so we don't need unnecessary heap allocations when the caller already has owned variants, etc.

we probably want to think about the transfer of ownership of various objects as well - I don't know what patterns are going to be most useful, but we possibly want to make it so we don't need unnecessary heap allocations when the caller already has owned variants, etc.

I'd think it probably makes sense to accept the bits as slices (e.g. &[Qubit]) since the sequence may already exist within the interner. The ExtraInstructionAttributes should probably go by value because the PackedInstruction we build inside DAGCircuit::apply_operation_back will always need ownership. That is true for the SmallVec<[Param; 3]>.
So perhaps:
fn apply_operation_back(
    op: PackedOperation,
    qargs: &[Qubit],
    cargs: &[Clbit],
    params: Option<SmallVec<[Param; 3]>>,
    extra_attrs: Option<ExtraInstructionAttributes>,
) -> NodeIndex { ... }

This way the user can move the by-value stuff in if they don't need it, or clone it explicitly and pass the clones, which apply_operation_back would otherwise need to do anyhow.

Right, most of the time the keys will already exist for sure. If the caller is typically dealing with varying-sized gates, though, they might be collecting them into a Vec on their end, in which case we might want something that's effectively an exposure of Interner::insert_owned in addition to Interner::insert. Fwiw, most current DAGCircuit functions use insert_owned, though hopefully that'll change as we reduce the Python dependence.

About ExtraInstructionAttributes would we want to receive an already Boxed instance or let the function itself perform the boxing? We will mostly receive these from a Python extraction (Be it from CircuitInstruction, PackedInstruction, or OperationfromPython all of which will already have performed the Boxing of said attributes.
Were we to accept Boxed instances, it would give these methods a little bit of flexibility allowing them to be re-used in the Python-exposed variants of themselves. What do you think? @jakelishman @kevinhartman

@raynelfss
IMO that is another hint that merging #13127 would be helpful. There aren't really any cases where we want the inner value type of this struct to exist outside of a Box, and in that PR, the nuance of that is encapsulated away from the user.

Sounds good, #13127 will be considered a blocker for this. I will also review said PR.


[language] Add new parse_comma_list function to the parser

This new function consolidates all the separate loops for parsing comma-separated lists into one place. This helps make the code more consistent and readable, which will be especially valuable when this code is enhanced to provide better error messages. (We may or may not do that for the IR compiler, but it is important for Move source compiler.)
Besides adopting the new function is places where it is a drop-in replacement, this makes a slight change to parsing ArgDecls and FieldDecls, which both had optional commas after them. With this change, all but the last comma in a list of ArgDecls or FieldDecls are now mandatory. I updated one place in libra_account where a comma was missing after a FieldDecl.
Thanks to @vgao1996 for inspiring this with his work in https://github.com/libra/libra/pull/1890!
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
I ran the functional tests and confirmed that they pass.

@bors-libra r=vgao1996

:pushpin: Commit 8d44c81 has been approved by vgao1996

:hourglass: Testing commit 8d44c81f6880bd9c777928de3b2934bafc0249c9 with merge ce2f75d61213e72171411560490c843061e89a14...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: vgao1996
Pushing ce2f75d61213e72171411560490c843061e89a14 to master...


Ionic2 - Build failed with an exception.

After instal plugin in Ionic2 and build aplication show me error FAILURE: Build failed with an exception. more in log
$ ionic plugin add phonegap-plugin-barcodescanner
$ npm install --save @ionic-native/barcode-scanner

$ionic run android --device
Expected Behaviour
Reproduce Scenario (including but not limited to)
cmd ionic run android --device
Cordova CLI version and cordova platform version
cordova --version     // 6.5.0
Installed platforms:
android 6.1.2
Available platforms:
amazon-fireos ~3.6.3 (deprecated)
blackberry10 ~3.8.0
browser ~4.1.0
firefoxos ~3.6.3
webos ~3.7.0
windows ~4.4.0
wp8 ~3.8.2 (deprecated)
Plugin version
phonegap-plugin-barcodescanner 6.0.6 "BarcodeScanner"
Logs taken while reproducing problem
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

android update sdk --no-ui --filter build-tools-25.0.0,android-25,extra-android-m2repository


Require explicit FactoryGirl calls

We've been using these inconsistently but leaning
towards the explicit version (in line with reducing
sneaky RSpec monkeypatching in general).
This makes it a requirement.

👍 , needs a rebase though.

@danielroseman rebased


“import”ed Eta’s “config” does not configure.

I can’t configure Eta when importing it. What should I do?
I only imported Eta, but somehow it got require’d as well, creating another unreachable clone of the Eta.config in use.
I clearly imported Eta. Never require’d.
import * as Eta from "eta";
for(const key in Eta.defaultConfig) {
	delete Eta.defaultConfig[key];
}
app.engine("Eta", Eta.renderFile);
app.set("view engine", "Eta");

Setting the Eta.config did not affect the E at all. As if there was another clone of the Eta.config.
Tried removing every source file except for eta.es.js, which should never be used, and got:
Error: Cannot find module 'B:\……\node_modules\eta\dist\eta.cjs'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:968:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:961:15)
    at resolveExports (node:internal/modules/cjs/loader:478:14)
    at Function.Module._findPath (node:internal/modules/cjs/loader:518:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:27)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at new View (B:\……\node_modules\express\lib\view.js:81:14)
    at Function.render (B:\……\node_modules\express\lib\application.js:570:12) {
  code: 'MODULE_NOT_FOUND',
  path: 'B:\\……\\node_modules\\eta\\package.json'
}

It turned out Express required it.
https://github.com/expressjs/express/blob/5c4f3e7cc76fed9b42c27cebcdd9d66ef63092f9/lib/view.js#L80-L81
// default engine export
var fn = require(mod).__express

And in this new instance of Eta, you have another Eta.config that is unaffected, unaltered, and in use.

Closing, I was told that I could manually give the imported view engine instance to Express.


[Enhancement]:  Roll_The_Dise game cannot work

Do you want to have the enhancement of existing game ? 😀 Describe yourself..

Roll_The_Dice game it cannot proper work.
In this game mismatch logic.

Describe the solution you'd like
Screencast from 2024-07-27 16-37-39.webm

please assing me

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @sivaprasath2004 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Issue is assigned to you, remember you can assign issues in this repository yourself by comment assign


test manifest creation

We should have some tests to ensure that flutter_tools is creating good flx manifests. https://github.com/flutter/flutter/pull/3004 fixed a regresion w/ image loading.

@vlidholt @krisgiesing

I'm not sure what this would mean.  This is from the flutter create template? or would this be with arbitrary pubspec.yaml files to make sure they're correctly compiled into app.flx files correctly?

The latter. The (old) bug here was that the assets part of the manifest was generated incorrectly in some cases.

We're getting rid of FLX in due course. I'm going to close this since it will become moot.


Added an uploadProgressBar option to disable it

Fixes https://github.com/arunoda/meteor-up/issues/402
I didn't update the docs since I didn't want to add it to the example config file and didn't know in which section to add it. Maybe someone can add it where it belongs or tell me where to put it so I can update this PR / create a new one

Okay. Nice.
Add this to the example/mup.json and to the README(in it's mup.json) as well.
In the mup.json add a comment on why you need this. (Make it true by default)
After that, we are good to go.

I added examples, and also changed the name to enableUploadProgressBar instead of uploadProgressBar (clearer).

Okay. Great. We are good to go.


Containers have Alzheimer

Hi there,
Try to find out if it's the actual behavior or not.
I've actually made some research but nothing concrete.
Expected behavior
Set settings, such as ports, or container name should not reset my container.
Actual behavior
My container resets every time I set some settings.
Information about the Issue
I'm on Mac OS X, but same thing on Windows 10.
Kitematic 0.12.0
VM is on VirtualBox
Latest Boot2Docker
Steps to reproduce the behavior

Get a container
Install some packages.
Set ports.
Profit of grandma's Alzheimer.

The problem is that you're thinking of containers as a VM, which they're not. Making changes to a container and expecting a different output after you redeployment of the container (via the original image) will  never work.
Containers cannot be modified on the go, which means that they are always deleted and re-created.


MacOS Azure Pipelines fails to install requirements.txt for Python

Errors encountered at the Azure Pipelines CI on MacOS:

ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpMX6EIw
...
File "setup.py", line 5, in
with open('SimpleITK/Readme.md', encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function

And then, when explicitly specifying Python3:

   × python setup.py egg_info did not run successfully.
    │ exit code: 1
    ╰─> [4 lines of output]
        scikit-build is required to build from source.

After upgrade to macos-12:
2022-09-26T16:24:15.1932250Z Building wheels for collected packages: itk
2022-09-26T16:24:15.1944650Z   Building wheel for itk (setup.py): started
2022-09-26T16:24:16.8363120Z   Building wheel for itk (setup.py): finished with status 'error'
2022-09-26T16:24:16.8513630Z   error: subprocess-exited-with-error
2022-09-26T16:24:16.8515050Z
2022-09-26T16:24:16.8516010Z   × python setup.py bdist_wheel did not run successfully.
2022-09-26T16:24:16.8517040Z   │ exit code: 1
2022-09-26T16:24:16.8518160Z   ╰─> [99 lines of output]

Deferred. Takes too much time to solve now, and we have MacOS running tests on GitHub actions anyway.


Fix UnWrapOps implicit resolution.

Need to use Newtype.Aux so we have the correct type for A.

This was needed so we can use .unwrap rather than .getFirstOption, etc. in Monocle, which helps reduce the diff between the Scalaz and Cats versions.


Comby support for OCaml?

Comby does not list OCaml in the list of supported languages in its documentation. I am opening this issue to ask:

Whether @rvantonder already considered adding OCaml support, and has an estimate of the amount/difficulty of work included.
Whether @rvantonder would possibly be interested in working on this, or one should find a contributor willing to do it.

Note: it might be possible to financially support work on this issue (I contribute to the OCaml Software Foundation, which has provided financial support for open source work of similar nature in the past; please send me an email if you would be interested in exploring this option).

Hi @gasche!

It's a doc oversight, comby -list has a matcher for .ml / OCaml, so I will update the doc site.

The current level of support, i.e., the fidelity at which OCaml syntax can be manipulated and refactored can't really be improved markedly beyond what it currently supports. Which is, in essence, a coarse syntactic representation of the parse tree (and much coarser than what the compiler would spit out). So, there are known limitations here, it is ultimately a coarse syntactic manipulator.

That said, refactoring syntax while incorporating semantic / type information is something I've always wanted to expand to, especially in the context of languages like OCaml. Here is a post on the concept, based on Go and LSIF support: https://comby.dev/blog/2022/08/31/comby-with-types. This idea is maybe also a bit more relevant to the ideas in the Discuss chatter 😄.
I don't think I have the bandwidth to work on this in depth though, even if sponsored 😅 But thanks for mentioning the possibility!

Updated the docs in https://github.com/comby-tools/comby.dev/commit/d5635d6b07bec3428fb93f7705dda4f799a48c49

Thanks for the information!
Your answer prompted me to look at your work on ocaml-lsif and merlin-with-lsif (I wondered if there is a vendor-agnostic way to help towards better SourceGraph support for OCaml, and this seems to be a partial answer). What follows is a brain dump on what I understood, not a request for changes -- your documentation change "fixed" my issue as far as I can tell, and I will close the issue.
I think that it would be possible to implement a better second version of ocaml-lsif if there was interest:

if I understand correctly, more compact formats than LSIF have been designed since
instead of running a Merlin query on each AST node, I think that one could dump LSIF information from the typedtree directly, resulting in major efficiency gains
there is ongoing work between Merlin and the OCaml compiler to support "list all occurrences of this definition" (see for example https://github.com/ocaml/ocaml/pull/12508 ), and there may be some synergy between this work and the sort of indexing that you would need

I understand that you @rvantonder are focusing on other things now and don't have bandwith to contribute towards OCaml support. (It's a usual problem with more-niche languages that the tooling work to support them well is harder to justify, which unfortunately leads to a second-class feeling over time.) If you happen to have ideas/feedback/suggestions to improve OCaml support in "generic code intelligence" platforms (SourceGraph or others), I would of course be interested in hearing about them, here or by email (gabriel dot scherer at gmail).


Collection operations that return Gdx collections directly

Let's say I'm mapping a GdxArray:
val people = gdxArrayOf(Person("Alice"), Person("Bob"))
val names = people.map { it.name }

names will be a kotlin List because Iterable#map returns List. To get a GdxArray I have to call toGdxArray. But isn't the whole reason I use GdxArray to avoid object creation? 😧
There seems to be no way to make Kotlin smart enough to build a GdxArray automatically(something like Scala's canBuildFrom). Therefore, I'd suggest extension methods like Iterable#mapGdx, Iterable#filterGdx to make things easier.
I'm willing to write these code and make a PR,  but before I jump into my editor I want to discuss whether it's a good idea.

I'm aware of this issue - completely copying the stdlib API seemed like an overkill for most cases. I don't mind reviewing the code and including this in gdx-collections if you're willing to write it, but just know that it can be really time-consuming to cover all operations.
Anyway, Gdx suffix is not necessary. For example GdxArray.map would override Iterable.map method, as long as you keep the ktx.collections.* import around. We're already doing this for operator overloading - we'll just add a warning in the README file.

It's a shame that LibGDX collections share no common interface. If you want to write such extensions for all collections,  there will be a lot of code duplication.
Common and basic LibGDX collections:

Array
ObjectSet
ObjectMap

Useful, but rarely used collections:

IdentityMap
OrderedMap
OrderedSet
SnapshotArray

Optimized primitives collections:

BooleanArray
ByteArray
CharArray
FloatArray
IntArray
IntFloatMap
IntIntMap
IntMap
IntSet
LongArray
LongMap
ObjectFloatMap
ObjectIntMap

Others:

ArrayMap
BinaryHeap
Bits
DelayedRemovalArray
PooledLinkedList (replaced with KTX PooledList)
Queue
SortedIntList

I don't plan to rewrite every method tho. Even only map, filter and probably flatten can cover most use cases.
That being said, the number of collections is still much more than I thought! Maybe just do it for Array, ObjectSet and ObjectMap for now?

Maybe just do it for Array, ObjectSet and ObjectMap for now?

Agreed, but it would be nice if you also added extensions for PooledList (LinkedList equivalent).

Just giving you a heads up: master branch is basically "frozen" from now on and updated only on releases. Create new pull requests to the develop branch.

@raincole Any updates on this? If you already started on your branch, I can help you out. It would be great to list the extension methods that you'd like to include in each collection.

Well I haven't even started. Just too busy with my day job. I plan to start it this weekend tho.

It's OK, take your time.

Thanks. Snapshot with your changes is already uploaded.

Just wanted to say that your utilities are already uploaded in the 1.9.6-b4 release.


Add missing setting in schema

[x] I have signed the Contributor License Agreement.
[x] This pull request is related to an issue.

This PR relates to issue #2899 and PR #4541
Microsoft Reviewers: Open in CodeFlow

Also updated the code quotes in the settings.md.


Fix for Timestamp Legacy Behaviour

Fix for Postgresql complaining about DateTime not being UTC

Dear @skoruba please if you can review this request and merge it.


Fix go get error

Fixes this error message:
go: downloading github.com/jaxlotl/go-libdogecoin-sandbox v0.0.40
go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/jaxlotl/go-libdogecoin
	        but was required as: github.com/jaxlotl/go-libdogecoin-sandbox

actually wait #64 would fix this, closing


Close command palette on focus loss

Description of the new feature/enhancement
Currently we dismiss command palette programmatically if user clicks in the bounds of "Tab Content" (second grid row of the terminal page), however if the click is performed outside of these boundaries (e.g., outside of the terminal window or in the tab row) we do not dismiss the palette.
And this is problematic for many reasons.
Here is the simplest example - opening a tab while palette is open leaves it open an without a focus (meaning it can be closed only with mouse):

Same can be achieved by clicking on menu, and then click outside of it (but now you cannot even type)

Same of course happens for the tab switcher

This might might be a root cause for https://github.com/microsoft/terminal/issues/8319.
The idea here is to close the palette upon focus loss.
There are two approaches to it:

Close the palette upon focus loss - this approach is taken in VS Code.

This approach is more hermetic
This approach introduces a more significant change in user experience, since now clicking another window closes the palette

Close palette when clicking on the tab row (or more precisely on any row of the terminal page which is not the one that palette resides in)

This will have lesser impact on the experience
But it will not help us if the focus is somehow lost no by clicking

Close palette when tabs items are modified

My opinion: we should definitely do (1). It’s an ephemeral UI, users should not expect that it will hang around forever.
@zadjii-msft what does Sublime do?

I am checking how to do it hypothetically.. so if @zadjii-msft likes this approach I will probably have some draft..
I guess we will need to do both 1 and 3 (because closing tab doesn't modify the focus)..

@zadjii-msft - if you like the idea I have the code.. but it is probably the worst one I wrote since I was 10: there are several small nuances that I had to handle each one of them.. probably there is some better solution, but I am still not in enough to see it.

Added the PR Draft so it won't get lost.

(I want to get back to this before the EOD but I'm also worried I might not, and I'm about to start a 6 day vacation. Just wanted to give a heads up)

(I want to get back to this before the EOD but I'm also worried I might not, and I'm about to start a 6 day vacation. Just wanted to give a heads up)

Thanks for the heads up and enjoy your vacation!
Don't be worried - IMHO this quite standalone and not urgent (it can probably resolve #8319, but I don't even now what Priority-2 means in terms of SLAs 😄 )
Happy holidays!


Update the Babel plugin to remove empty static initialization blocks

We have static initialization blocks that include pre-processor statements which make them conditionally empty, note e.g. how the following source code:
https://github.com/mozilla/pdf.js/blob/c60c0d1c6df3a4e93da9d9ad4186eb07e837e024/src/display/api.js#L2016-L2054
is transformed into (in that case for the MOZCENTRAL build):
https://searchfox.org/mozilla-central/rev/b6671f4c3afdb2b36e63c9d176f98a5959907259/toolkit/components/pdfjs/content/build/pdf.mjs#10434
Hence it seems like a good idea to, if possible, extend the Babel plugin to remove static initialization blocks that become empty during building.

I'll take a look