Add TO Go profile parameters routes

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1547/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1548/
Test FAILed.

@rob05c - conflicts...sorry :(

Fixed

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1611/
Test PASSed.


Extension causes high cpu load

Issue Type: Performance
Extension Name: html-css-class-completion
Extension Version: 1.18.0
OS Version: Darwin x64 18.2.0
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /Users/skamguia/Zignd.html-css-class-completion-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Duplicate of #155. Also, it is missing the file you were warned to attach.


Alias on webpack production configuration

Despite configuring the UglifyJsPlugin plugin, the message "This page is using the development build of React" continues to appear. Solution found in https://stackoverflow.com/a/37980737/3167601

This is not a right solution. If you have this problem please file an issue on React repo and we will help you determine why your build is not configured correctly.


Add Mermaid

Added Mermaid - Generation of diagram and flowchart from text in a similar manner as markdown
https://github.com/knsv/mermaid
**A pretty cool diagram editor that can be used with **
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

This does not appear to be an Awesome list or a list at all, but rather a tool in its own right

This is not an Awesome list, - it is a software.
I suggest you add the tool in its relevant type of Awesome list in another repository and then maybe include that Awesome list in this project.

Not an awsome list. Maybe you should add this on a tools or open projects awesome list.

Oh. My bad. I don't know why, but I thought this repo is a collection of Awesome lists AND software. :D Sorry for wasting your time. I'll add it to the appropriate list.
Thanks!

I'd suggest adding it to here: https://github.com/fasouto/awesome-dataviz#readme

Thanks @NewAlexandria ! I added it there 😁


Auto-fetch new data if time period has elapsed

Refetch the currently selected stats if a time period has elapsed. Perhaps ALWAYS refetch when viewDidAppear happens and let the new caching mechanism from #15 make it a quick update.

Some basic support was added for this but the way NSCache is implemented the cache is evicted when the app goes into the background. Improve this solution for 0.2.1.

Closing issue and migrating to new repo.


csharp_exe ignore exceptions caused by obfuscation

SharpPick which can be generated using csharp_exe as project has a flaw, when you set Obfuscate to true there is no error handling and stager crashes. This can be fixed by changing line https://github.com/EmpireProject/Empire/blob/81487f672e8ac7ae7dbb178b4353ec3e25503c27/data/misc/cSharpTemplateResources/cmd/cmd/Program.cs#L30 to Out-Default which will ignore all the exceptions caused by obfuscating. There are other options to fix this, but this is certainly the simplest.

Some resources I looked at;
https://github.com/PowerShell/PowerShell-Docs/issues/1583
https://social.technet.microsoft.com/Forums/ie/en-US/f58d463e-16ce-492b-8306-a1f0da5c9722/powershell-pipeline-fails-even-with-erroractionpreference-set-to-silentlycontinue?forum=winserverpowershell

@fsacer Thanks for the help!


Pricing Section added (with responsiveness)

hey there 👋 @Iamdivyak I have changed all required changes and raised this PR in response to issue - make pricing page using figma design #28 .
I have made this code with mapping all details of pricing section in pricing.js. You can checkout here and please merge it your repository.

Great work. let's connect on github!!


test: Reduce end-to-end test time

Which issue does this PR close?

Closes #.
Rationale for this change
Currently Java tests take over 2 hours to finish, which is very long. This increases the end-to-end time for pull requests to be processed, and decreases the developer efficiency.

What changes are included in this PR?

This PR makes a few changes in shuffle & aggregation tests:

The shuffle tests are now split into CometColumnarShuffleSuite and CometNativeShuffleSuite, for columnar and native shuffle respectively. This is more like a refactoring rather than changing the tests themselves
Reduces the test time for "Comet shuffle: different data type", and only run it with native shuffle enabled. We have a separate test for columnar shuffle.
Removes NonFastMerge related tests. In Spark, the fast merge feature has been true by default since 1.4, so it is not so useful to run all tests with the feature being turned off. If needed, we can add a dedicated test for it.
Reduce the number of rows for "fix: Too many task completion listener of ArrowReaderIterator causes OOM" by 10X. This test takes extremely long time to finish.
Reduce the time for "all types, with nulls" in CometAggregateSuite.

The total time is now reduced to ~40min
How are these changes tested?

cc @viirya @advancedxy

Thanks. Updated the PR.

TPC-DS run now is the bottleneck, I think we can reduce it in a follow up PR.

Yes it's easy to break it up.

Merged, thanks!


chore(build-system) use regular vendor files, ignore (pre)minified

#1473
Apart from removing minified versions of vendor files, node_modules is removed from the paths, and preprended programatically. This is possible because bower was dropped recently, and now all the dependencies are found in the same dir.

This PR is now rebased on top of the changes introduced by #1712, i.e., the migration to FontAwesome 5.

Thanks @1138-4EB :+1:


Add actions to automatically increase the badge version when creating a GH release

Forget the badge version, I think this is a bad idea.
We can't pull easily the version of the current code. And it's fine, we will have a pypi badge. Private repo will get nothing, but that's a limitation with github, not us.

Or, make a pre-commit that ensure the badge with the version contains the right version ?


[es] Translate - docs/concepts/security/security-checklist/ into Spanish

This is a Feature Request
Translate this page docs/concepts/security/security-checklist/ into Spanish.
What would you like to be added
The translation will be added to content/es/docs/concepts/security/security-checklist/
Why is this needed
There is no Spanish localization for this file. It would be great if we could read this in Spanish.
Comments
The Spanish translation team would like to facilitate your contribution's journey,  any doubt participate in the weekly meetings in the kubernetes slack channel kubernetes-docs-es
We also encourage new contributors to participate in their native speaking language 💥.
/triage accepted
/kind feature
/language es
/sig docs

people can use inbuilt translation in browser.  if I'm wrong, can you elaborate more what exactly need to do.

/assign @gamba47

Hi @gamba47, doing a follow-up on this issue, do you have any updates on this?
Let us know if we can help :)

closing in favor of https://github.com/kubernetes/website/issues/48072


Add xfsprogs and fix azure pkg key for 1.9

https://github.com/rancher/rancher/issues/15141

We'll be adding this into only the Kubernetes 1.11 image as we will release only that version with our next 1.6 release


Updated README.md for ESP32-H2

Adjusted links to esp32-h2 (even yet unused), uncommented Matrix link, made some preparations before docs will be posted. In comparison with C6's readme, deleted link to direct-boot-example, which exists only for esp32c3

Regarding failing CI, there was a new log release that is causing issues - I think it is this PR: https://github.com/rust-lang/log/pull/555

Maybe we could also add a note on how to use 2.0.0.rc.X espflash.

I don't think we should do that in esp-hal, if everything goes to plan we won't need instructions on using a pre-prelease soon :D.


choosing a pretrained model

Dear all,
I have a question,
by a multi channel signals (as example 6 channel EEG (3000 sample per any signal)), which network can be a good choice as pre-trained model for classification?
and
how I can use that?
any help appreciated.
Thanks all

Not a tensorpack question. Closing. You can ask this in some more general machine learning communities.


Build failed on Ubuntu 18.04

Can you help please with:
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: reason-libvim@github:onivim/reason-libvim#f50c7da
    # esy-build-package: pwd: /home/fanantoxa/.esy/3________________________________________________________________/b/reason_libvim-1c3edde1
    # esy-build-package: running: 'refmterr' 'dune' 'build' '-p' 'libvim'
        discover src/c_flags.sexp,src/cxx_flags.sexp,src/flags.sexp
    -L/home/fanantoxa/.esy/3/i/libvim-8.10869.24-2060eb22/lib
        ocamlopt src/vim.cmxs (exit 2)
    (cd _build/default && /home/fanantoxa/.esy/3/i/ocaml-4.7.1004-a6ae015e/bin/ocamlopt.opt -w -40 -g -shared -linkall -I src -o src/vim.cmxs src/vim.cmxa)
    /usr/bin/ld: cannot find -lacl
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking
    error: command failed: 'refmterr' 'dune' 'build' '-p' 'libvim' (exited with 1)
    esy-build-package: exiting with errors above...

  building reason-libvim@github:onivim/reason-libvim#f50c7da
esy: exiting due to errors above

But
sudo apt install acl
Reading package lists... Done
Building dependency tree
Reading state information... Done
acl is already the newest version (2.2.52-3build1).

I think the package is actually libacl1-dev for Ubuntu.
(Assuming that works, we should update the build instructions to mention that on Ubuntu, since a specific dependency of Oni2 rather than Revery, since its only needed for libvim.)

@CrossR Another error after:
info esy build 0.5.7 (using package.json)
info building reason-libvim@github:onivim/reason-libvim#f50c7da@d41d8cd9
info building reason-libvim@github:onivim/reason-libvim#f50c7da@d41d8cd9: done
File "assets/configuration/dune", line 4, characters 8-18:
4 |  (files setup.json))
            ^^^^^^^^^^
Error: No rule found for assets/configuration/setup.json
error: command failed: 'refmterr' 'dune' 'build' '-p' 'Oni2' '-j4' (exited with 1)
esy-build-package: exiting with errors above...
error: build failed with exit code: 1

esy: exiting due to errors above

Could you help with that too please ?

Is that after running the full set of build commands? (https://onivim.github.io/docs/for-developers/building#build-and-run)
That is usually due to a missing run of esy bootstrap, which generates that setup.json.

@CrossR So now looks like it works out:
esy build                                                                                 ✔  3450  15:59:34

info esy build 0.5.7 (using package.json)

But we need to update doc here: https://onivim.github.io/docs/for-developers/building#build-the-front-end
esy bootstrap step missing here

Looks good to me! esy run should work now (assuming the node bits for the in-progress vscode extension stuff is also build). esy run -f will run with Oni2 still attached to the term for debug text etc.

Thanks for all the help here, @CrossR ! Glad its working now @fanantoxa


ViewManager instance has no attribute 'acsCount'

Installed incremental reading addon. After restart received error below:

An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "aqt\webview.py", line 21, in link
File "aqt\overview.py", line 37, in _linkHandler
File "anki\hooks.py", line 59, in repl
File "aqt\main.py", line 388, in moveToState
File "anki\hooks.py", line 61, in repl
File "C:\Users\ljtys\OneDrive\Documents\Anki\addons\View_Size_Adjust.py", line 770, in vsa_reviewState
if(self.viewManager.acsCount - self.viewManager.rsCount == 1):
AttributeError: ViewManager instance has no attribute 'acsCount'

This is occurring because you have an older version of IR still installed. If you update to the latest version (link), the add-on will disable the old files for you.
Otherwise, you can just delete Incremental_Reading_Extension.py and View_Size_Adjust.py from your add-ons folder. Everything should work then.


Release actions (CD)

bundles spec and ui and deploy to gh-pages branch (@djrtwo after merge and ci is passed, you should switch github pages to use gh-pages branch instead of master)

this will make spec loading instantly in UI as it will download single file instead

add release action

when you push tag v* it will create spec bundle (json and yaml), create github release with commit changelog and upload bundles as release asset

added section in readme on how to add released bundle in dropdown on deployed swagger-ui

to avoid github cors issue, it's using proxy server to download api spec (happy to hear better workaround if any)

resolves #54

Github pages updated to gh-pages


GenericEndpoints: ids:accessURL is null

ids:accessURL is null in GenericEndpoints.
This is used in UI i.e. in backend connections table.

Fixed bug in feature/Routenhandling, with commit-ID: 8213f7a


Multi-monitor issue

When highlighting a window on a secondary monitor, even mousing back to RimWorld (without clicking) reliably procudes (Critial Alert: ) with no message. Infinitely repeatable, video available.
https://imgur.com/RfwK0XX

Honestly, I have no idea why it's happening. But I have pushed an update - maybe try this out?

Does not crash with my full mod list, so yeah, it's literally just Animal Genetics being fucky.


Make GetResponse in query package return a defined interface

More information about this issue can be found in the following PR comment
A/C

new interface is defined wrapping map[string]interface{}
GetAsString and GetAsFloat implemented

After some thoughts I think the best way would be to make the user pass a response object that we would populate.
currently the user need to do something like this:
        newton := newton.New("", "")
	q := &query.OpenOrders{}
	response, _ := newton.Do(q)
	resp := response.Body.(*query.OpenOrdersResponse)
	fmt.Println((*resp)[0].Price)

Which I think is not ideal, a better way to do this would be:
        newton := newton.New("", "")
	q := &query.OpenOrders{}
        r := query.OpenOrdersResponse{}
	responseCode, _ := newton.Do(q,&r)
	fmt.Println(r[0].Price)

What you think about this @akhtariev ?

That looks good to me. Maybe we could even make it as part of a response package? So it would be:
r := response.OpenOrders{}

Yes great idea, I will work on this when I have some spare time.


Fix "Fill" rounded buttons on mobile

On mobile devices (specifically iPhone), when clicking on buttons of type "Fill" the overlayed color doesn't fully fill the container button.

can I work on this??

Sure!

It seems like no one is currently working on this issue if anyone is interested

the issue you are stating doesn't seem to exist. Has it been corrected?

@reveurguy It seems that this is happening to some buttons and not others. Please look at the screenshots for examples

I didn't see that problem honestly, everything works well in my device.

That's interesting @ahmad-shiddiq what device are you using? Maybe this will help narrow the problem down

I'm sorry, I thought that was IOS. I was trying on Ipad.

But I tried on my phone too, same didn't see any problem as you said.

Thank you for sharing that @ahmad-shiddiq . Will keep this issue for future reference then.

Hi, has this issue been resolved? if not, can I work on it?

@samyev it has not been resolved. We've been having trouble reproducing it. If you can reproduce and fix it then go ahead!

@shahednasser what exactly is the problem?
Are the buttons too round?  On mobile? Please enlighten me, so I can try fixing it

@shahednasser what exactly is the problem?
Are the buttons too round? On mobile? Please enlighten me, so I can try fixing it

The problem can be found in this comment. Some buttons are not being filled completely. This proved tricky as it could not be reproduced on all devices.

@shahednasser what exactly is the problem?
Are the buttons too round? On mobile? Please enlighten me, so I can try fixing it

The problem can be found in this comment. Some buttons are not being filled completely. This proved tricky as it could not be reproduced on all devices.

Ok, I've seen it, I'd try fixing it.
I'd let you know if I can't

On mobile devices (specifically iPhone), when clicking on buttons of type "Fill" the overlayed color doesn't fully fill the container button.

Can I work on this?

Is this issue still open?

@ankitaugale23 @faraz16iqbal you can work on it if you can reproduce it and find the solution for it (as it has been proven tricky to reproduce)

I'm not getting it, I implemented a function for recognition of the iPhone device, but the site ends up breaking, but the problem apparently is with the iPhone, on any other device the site works very well

I'm not getting it, I implemented a function for recognition of the iPhone device, but the site ends up breaking, but the problem apparently is with the iPhone, on any other device the site works very well

Yea but someone even tried it on an iPhone and it worked fine for them, that's why it's tricky. I think this should be done with CSS but honestly I haven't figured it out either. Thank you for working on it!

I'm not getting it, I implemented a function for recognition of the iPhone device, but the site ends up breaking, but the problem apparently is with the iPhone, on any other device the site works very well

You are right about this...
'cause while I was viewing it on my device (an android) it works fine

Não estou entendendo, implementei uma função de reconhecimento do aparelho iPhone, mas o site acaba quebrando, mas o problema aparentemente é com o iPhone, em qualquer outro aparelho o site funciona muito bem

Sim, mas alguém até experimentou em um iPhone e funcionou bem para eles, é por isso que é complicado. Acho que isso deveria ser feito com CSS, mas, honestamente, também não descobri. Obrigado por trabalhar nisso!

I believe that the problem may be with the version of the IOS system then, because it runs on one and the other does not. I've been researching deeper and saw that safari on iPhone ends up breaking the CSS of the sites.

Não estou entendendo, implementei uma função de reconhecimento do aparelho iPhone, mas o site acaba quebrando, mas o problema aparentemente é com o iPhone, em qualquer outro aparelho o site funciona muito bem

Você está certo sobre isso ...
porque enquanto eu estava visualizando no meu dispositivo (um Android), ele funciona bem

With mine too, and I realized that in some versions IOS it runs well, and in others the site does not open

Thank you for the inside @samyev . I guess we'll leave it open for now and see if we can ever find a fix for it.

Obrigado por dentro @samyev . Acho que vamos deixar em aberto por enquanto e ver se podemos encontrar uma solução para isso.

That’s okay ><

yes, I m intrested on this , please assign me.

I'm able to reproduce this with rounded buttons with the fill-animation effect on an iPhone Xs, but also on Safari on macOs. I also have a possible fix for it.

Issue finally resolved. Thank you everyone!


Request: new page for deck reordering

Hi! Just discovered this tool, and the CoverageOverview in particular is fantastic. Thank you!
One feature I really wanted from the base website was better management of decks - in particular, reordering them more quickly than is currently possible. Since you already have pages for merging and deleting decks, do you think you could add a page for reordering them as well?
E.g. just a table like the other pages, but every row could include:

Drag-and-drop widget
Move up one
Move down one
Move to top
Move to bottom

Bonus features might be:

Sort by column

Just allow superficial sorting by columns in UI (as in other pages), but add button to "commit" sort to jpdb, possibly with warning. Index column that's default sorted on could make less confusing.

If you're busy, I'd be happy to try and make this. I don't have much web experience, but the front-end code doesn't seem too complex, so the difficulty would probably be just learning how to set everything up.
Thanks for your time!

Hi :wave:
unfortunately deck order is not exposed via the jpdb-api so this isn't really possible to do properly in a webapp.
One could hack around it by deleting all decks and recreating them in the (reverse) target order but I have ergonomic concerns with that method.
Since the jpdb api is rate limited the process would take a while (say half a second per deck or something).
If the user closes the tab or loses internet connection or something like that their decks would be gone :fearful:
An imo better approach would be to implement an user script (violentmonkey etc) that changes the interface on the jpdb.io website itself.


License

Hey,
can you add a license for your library like Apache 2.0? So we can fork, modify and use it legally?
Thanks.

Fixed in commit 671bbfea53e3fd2b3b0bdd3b6da6be8f209282a7


Tell behavior when a walking-pause is needed to readjust localisation

Wait for specification in behavior for actual ros-message


Fix Geo Target Report bug + Add missing tests

LGTM, can we also deploy all the changes to a sheet template (the main template) so they can be tested end to end? Unit tests help us to catch bugs in specific modules/ logic and end to end tests will help to catch other issues in the integration. Thanks!

Yeah, we should probably make this a required step before merging.


setState reseting radio buttons

Hi,
Everytime when I call this.setState in anywhere in view my segmented buttons are reseted to original value, anyone knows what this could be?
Thanks!

@fbonesso can you paste a simple example?  Without seeing it, my guess would be when you call setState from above, a re-render it triggered, and your selectedOption is stale or hard-coded.  For example:
      <SegmentedControls
        options={[
          'Option1',
          'Option2'
        ]}
        onSelection={this.onSelect}
        selectedOption={'Option2'}
      />

If something triggers that to re-render, it will always get set back to Option2.  So it should be keeping its option selection in state too:
      <SegmentedControls
        options={[
          'Option1',
          'Option2'
        ]}
        onSelection={this.onSelect}
        selectedOption={this.state.selectedOption}
      />

Thanks for helping @joenoon, I'll close this one as you never got an answer.


[JAX-RS] Query parameter array vars ars not rendering correctly

In order to support an array of query parameter like example.com?var=foo&var=bar, I have applied the annotation of @ApiParam(value = "my query array", allowMultiple = true).  However, this is not rendering the expected swagger spec for the parameter in some cases.
Given this enum class ...
package com.github.kongchen.swagger.sample.wordnik.model;

public enum PetStatus {
    AVAILABLE,
    PENDING,
    SOLD
}

... with this @ApiOperation function ...
  @GET
  @Path("/findByStatus")
  @ApiOperation(value = "Finds Pets by status",
    notes = "Multiple status values can be provided with comma seperated strings",
    response = Pet.class,
    responseContainer = "List")
  @ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
  public Response findPetsByStatus(
      @ApiParam(
          value = "Status values that need to be considered for filter",
          required = true,
          defaultValue = "available",
          allowableValues = "available,pending,sold",
          allowMultiple = true) @QueryParam("status") Set<PetStatus> status) {
    return Response.ok(petData.findPetByStatus(status.toString().toLowerCase())).build();
  }

... this is the rendered spec:
...
    "/pet/findByStatus" : {
      "get" : {
        "tags" : [ "pet" ],
        "summary" : "Finds Pets by status",
        "description" : "Multiple status values can be provided with comma seperated strings",
        "operationId" : "findPetsByStatus",
        "produces" : [ "application/xml", "application/json" ],
        "parameters" : [ {
          "name" : "status",
          "in" : "query",
          "description" : "Status values that need to be considered for filter",
          "required" : true,
          "type" : "array",
          "collectionFormat" : "multi",
          "default" : "available",
          "enum" : [ "available", "pending", "sold" ]
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/Pet"
              }
            }
          },
          "400" : {
            "description" : "Invalid status value"
          }
        },
        "security" : [ {
          "petstore_auth" : [ "write:pets", "read:pets" ]
        } ]
      }
    },
...

This is an invalid Swagger 2.0 spec, as the items key is not defined. The following is missing from the above spec:
"items" : {"type":"string"}

Passing this through swagger-tools validator yields:
API Errors:

  #/paths/~1pet~1findByStatus/get/parameters/0: Missing required property: items

Thanks for your carefully finds these days!

Same to you - thanks for the quick fixes!  I'm glad to help by reporting issues.
I have verified that this fix works, but I had to manually git clone the repo, build it, and install it to my local maven repository via mvn clean install, as it appears that 3.0.1-SNAPSHOT isn't updated with the bugfix yet.

Sorry I forget to deploy the package, have done that now, please have a try.
Thanks.

Thanks, verified the fix in 3.0.1-SNAPSHOT


add dcrd log to paymetheus

Now that we have a launcher that auto hides dcrd we could use a log viewer in paymetheus.  Think about how to add that.

won't be doing this, we want to keep the components separate, so no dcrd anything in paymetheus.  if this functionality is really wanted we really want a fancy gui monitor for dcrd that is a separate program.


Decimal beacon counts are rounded up but only if fractional part is at least 0.5

Describe the bug
Entering decimal beacon counts where the fractional part is less than 0.5 works correctly (eg 3.1, 3.2, 3.49). Any count with a fractional part of 0.5 or greater is rounded up (eg 3.5 - 3.99 rounds up to 4)
To Reproduce
Steps to reproduce the behavior:

Add recipe with factory that allows modules
Set beacon count to any value with a fractional part of 0.5 or greater
Beacon count immediately rounds up

Expected behavior
Count should stay exactly as entered
Desktop (please complete the following information):

OS: windows 10
Browser Firefox
Version 87

Additional context
Setting the beacon count using preferred settings doesn't round up.

I think what you're seeing when you use beacon count less than 0.5 is that it is rounding down to 0 and then not emitting that change. From what I can tell, using 0.4 beacons has the exact same result as using 0 beacons. That input is currently only designed to handle whole number inputs.
There is an older issue in the backlog to handle different numbers of beacons, https://github.com/factoriolab/factorio-lab/issues/292. One suggestion is to allow decimals/fractions in the input, another is to handle it more elegantly and allow specifying, say, 5 factories with 8 beacons and 2 factories with 4 beacons. That way you don't have to calculate the fractions yourself.

It does calculate the correct number of assemblers if you set the decimal beacon count using the preset settings. I can see uses for both solutions. Allowing a decimal average is useful if you have a tileable design with at least 2 machines for a recipe but with different beacon counts. If you wanted to know how many of those tiles you needed or how many inputs the tile needed as a whole, a decimal/fractional beacon count is more useful. If instead you have a design where the beacon count is the same except for the last machine then the other solution is more useful.


[6.0] URL.host should not return percent-encoded host

Explanation: Fixes URL.host to match the behavior before the Swift URL implementation:

If the host was percent-encoded, return the percent-decoded host
If the host was IDNA-encoded (or not encoded at all), return that host string

Scope: Only impacts deprecated (but still used) URL.host for URLs with an encoded host, restoring previous behavior
Original PR: https://github.com/apple/swift-foundation/pull/875
Risk: Low - minimal scope, one line change to restore behavior
Testing: Local, swift-ci, stable in main for 2 weeks
Reviewer: @parkera @jmschonfeld

@swift-ci please test


[2.6]  KDM Update for K8s 2022 August patch release

KDM Updates
TO BE RELEASED: Enabled out-of-band after Rancher v2.6.7

New Kubernetes Version
Min Rancher Version
Min RKE Version

1.24.4-rancher1-1
2.6.7-patch0
1.3.13-rc0

1.23.10-rancher1-1
2.6.4-patch0
1.3.8-rc0

1.22.13-rancher1-1
2.6.3-patch0
1.3.3-rc0

Rancher System Images & Add-ons
Note: Please update system images and add-ons in the template as needed.
TBD
Developer Changelog

Add templates for new K8s versions. If a template that hasn't been released yet already exists, update it in place.
Update the default K8s version, and add or update the version information (MinRancherVersion and MinRKEVersion) in k8s_version_info.go for new K8s versions if needed (Use table from above).
Confirm versions for system images, add-on templates are correct using versioning reference table from below (expand details to view the table). Update the table if new versions are introduced.
Confirm add-on template version constraints in template.go are correct using versioning reference table from below (expand details to view the table). Update the table if needed.

Versioning Reference

Expand for system images & add-on templates versioning table

Note: Truncated repository names with a * indicates there are multiple images with that prefix. All repository names that match a truncated prefix should be checked for the same version stated in the table.
For example: rancher/weave-* matches weaveworks/weave-kube and weaveworks/weave-npc, and they should both have the same version.
v1.23.8-rancher1-1

Repository
Tag

rancher/mirrored-coreos-etcd
v3.5.3-rancher1

rancher/hyperkube
v1.23.10-rancher1

rancher/rke-tools
v0.1.78

rancher/mirrored-k8s-dns-*
1.17.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/mirrored-coreos-flannel
v0.15.1

rancher/flannel-cni
v0.3.0-rancher6

rancher/mirrored-calico-*
v3.19.1

weaveworks/weave-*
2.8.1

noiro/* (All ACI images)
<IP_ADDRESS>.1ae238a

rancher/mirrored-pause
3.4.1

rancher/nginx-ingress-controller
nginx-1.1.0-rancher1

rancher/mirrored-nginx-ingress-controller-defaultbackend
1.5-rancher1

rancher/mirrored-jettech-kube-webhook-certgen
v1.1.1

rancher/mirrored-metrics-server
v0.5.1

rancher/mirrored-coredns-coredns
1.8.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/kubelet-pause
v0.1.6

rancher/mirrored-k8s-dns-node-cache
1.18.0

Add-on Name
Add-on Template Version Constraint

Calico
calicov319

Canal
canalv3211

Flannel
flannelv0140

CoreDNS
coreDnsv183

KubeDNS
kubeDnsv116

MetricsServer
metricsServerv050

Weave
weavev120

Aci
aciv500

NginxIngress
nginxIngressv110Rancher3

Nodelocal
nodelocalv121

v1.22.11-rancher1-1

Repository
Tag

rancher/mirrored-coreos-etcd
v3.4.16-rancher1

rancher/hyperkube
v1.22.13-rancher1

rancher/rke-tools
v0.1.78

rancher/mirrored-k8s-dns-*
1.17.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/mirrored-coreos-flannel
v0.15.1

rancher/flannel-cni
v0.3.0-rancher6

rancher/mirrored-calico-*
v3.19.1

weaveworks/weave-*
2.8.1

noiro/* (All ACI images)
<IP_ADDRESS>.1ae238a

rancher/mirrored-pause
3.4.1

rancher/nginx-ingress-controller
nginx-1.1.0-rancher1

rancher/mirrored-nginx-ingress-controller-defaultbackend
1.5-rancher1

rancher/mirrored-jettech-kube-webhook-certgen
v1.1.1

rancher/mirrored-metrics-server
v0.5.1

rancher/mirrored-coredns-coredns
1.8.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/kubelet-pause
v0.1.6

rancher/mirrored-k8s-dns-node-cache
1.18.0

Add-on Name
Add-on Template Version Constraint

Calico
calicov319

Canal
canalv3211

Flannel
flannelv0140

CoreDNS
coreDnsv183

KubeDNS
kubeDnsv116

MetricsServer
metricsServerv050

Weave
weavev120

Aci
aciv500

NginxIngress
nginxIngressv110Rancher3

Nodelocal
nodelocalv121

v1.21.14-rancher1-1

Repository
Tag

rancher/mirrored-coreos-etcd
v3.4.16-rancher1

rancher/hyperkube
v1.21.14-rancher1

rancher/rke-tools
v0.1.78

rancher/mirrored-k8s-dns-*
1.17.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/mirrored-coreos-flannel
v0.15.1

rancher/flannel-cni
v0.3.0-rancher6

rancher/mirrored-calico-*
v3.19.1

weaveworks/weave-*
2.8.1

noiro/* (All ACI images)
<IP_ADDRESS>.1ae238a

rancher/mirrored-pause
3.4.1

rancher/nginx-ingress-controller
nginx-1.1.0-rancher1

rancher/mirrored-nginx-ingress-controller-defaultbackend
1.5-rancher1

rancher/mirrored-jettech-kube-webhook-certgen
v1.1.1

rancher/mirrored-metrics-server
v0.5.0

rancher/mirrored-coredns-coredns
1.8.4

rancher/mirrored-cluster-proportional-autoscaler
1.8.3

rancher/kubelet-pause
v0.1.6

rancher/mirrored-k8s-dns-node-cache
1.18.0

Add-on Name
Add-on Template Version Constraint

Calico
calicov319

Canal
canalv319

Flannel
flannelv115

CoreDNS
coreDnsv183

KubeDNS
kubeDnsv116

MetricsServer
metricsServerv050

Weave
weavev120

Aci
aciv500

NginxIngress
nginxIngressv110Rancher3

Nodelocal
nodelocalv121

Provisioning Checks after Upgrading to new KDM - PASS

On latest released v2.6.7, KDM points to release-v2.6
Cluster creation succeeds for old k8s versions with all network providers.
Ran pre-upgrade checks
Point KDM to dev-v2.6 branch.
Upgrade k8s to the latest patches 1.23.10-rancher1-1, 1.22.13-rancher1-1, 1.24.4-rancher1-1
Ran post-upgrade checks
Pre-Upgrade and Post-Upgrade checks pass.

RKE checks using v1.3.8-rc6 passed for k8s v1.24.4-rancher1-1, v1.23.10-rancher1-1 and v1.22.13-rancher1-1
Verified on dev-v2.6 and RKEDefaultK8sVersions is pointing to v1.24.4-rancher1-1
},
"RKEDefaultK8sVersions": {
  "0.3": "v1.16.3-rancher1-1",
  "default": "v1.24.4-rancher1-1"
}

Fresh install checks - PASS

On latest release rancher v2.6.7, KDM points to dev-v2.6 branch.
Cluster creation succeeds for v1.24.4-rancher1-1, v1.23.10-rancher1-1, v1.22.13-rancher1-1 k8s versions with all network providers - weave/flannel/calico/canal
Validation of Network checks on all clusters look good.
Validation tests on Canal clusters look good.

Minimum rancher version checks - PASS

On rancher v2.6.4 :

KDM pointing to dev-v2.6, cluster creation succeeds for k8s version v1.23.10-rancher1-1 with all network provider.
Network related checks look good.

On rancher v2.6.3 :

KDM pointing to dev-v2.6, cluster creation succeeds for k8s version v1.22.13-rancher1-1 with all network provider.
Network related checks look good.


Can't get this to work

So, yes, I am new to HA and all setup. I began by going to the URL provided and tried to sign in. I KINDA think I can sign in, but when i browse around, I only see the part where the site is asking me to pay for a membership. Is this a requirement? I have the app, and it works great, but not this URL.

You don't need to buy any membership, you went too far. Please refer to the Readme screenshots, you just need to log in to get the tokens.

Ok, IF I'm signed in, should I be able to see more for settings or profile changes...it seems like I'm signed in, but I'm not seeing anything like that, hence asking about the payment part.
TY for the quick reply.

You need to navigate to https://manager.sensicomfort.com/, press F12 to launch Dev Tools, switch to Network tab, login with your credentials and grab the value of refresh_token. I think you are simply logging in without pressing F12. F12 will launch Developer Tools which is from where the value has to be copied.

I think I got it, found the 2 sets of codes I need. It's just the site doesn't really ACT like I was signed in.  Weird.  Thank you.
As for the directions. I see it is stated that I don't have to pay for anything...wonder how I didn't notice it before.  Maybe capitalizing the whole sentence might make it jump out more.
Thank you for your help.


Remove constraints.json

This file is redundant now since the information is in statement.json. It should be removed, though it doesn't matter too much if it is not.

Are you referring to the old constrains file or do you mean constraints? If so then yeah I can change the executioner to read from statements.json instead once I handle some of these other issues first.

Yeah look at me, misspelt constraints again... lol. Yes I mean constraints.json in the problem folder. Please don't worry about this for now. There are checks to ensure the constraints are consistent and there is no negative effect except for some bad form if we leave it like this.

@DE0CH I've recently just made the switch to reading from the statement.json file. So we can start to migrate to that then.


Misspelling, unknown ramifications: semiPerimeter > semiParameter

In lambertRoutines.h, in the function computeTimeOfFlightIzzo, the argument semiPerimeter should be semiParameter.
code link

In principle, this doesn't matter (in the .h file you can even omit the variable names altogether, so long as the types are correctly listed). But, this is definitely misspelled, so please do feel free to open a pull request to fix this (and any other spelling errors you may find!)


README.md

thechaineducationuniversity

Importain 👍 I am Connecting proect after , thank for your see proect , See you later.


Remove duplicate producerProperties declaration in kafkaProducerFactory

Modifications:

Removed the duplicate producerProperties declaration from kafkaProducerFactory.
Updated the code structure in kafkaProducerFactory to be consistent with the consumerFactory sample

@JiwonKKang Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@JiwonKKang Thank you for signing the Contributor License Agreement!


Coercing a sliced C array to Python should create a list

Cython already copies a C array into a Python list automatically on object coercion. It should do the same for sliced C arrays, e.g.
def test():
    cdef int i
    cdef int a[100]
    for i in range(100):
        a[i] = i**2
    return a[:20]  # rejected by type analysis

Currently results in
Cannot convert 'int *' to Python object.

Or maybe a tuple to avoid assumptions that mutating one would change the
other. IMHO, an explicit list comprehension or list(c_array) might not be
too bad to require to make the fact that it's a copy explicit.
On Mar 17, 2018 8:47 AM, "scoder"<EMAIL_ADDRESS>wrote:

Cython already copies a C array into a Python list automatically on object
coercion. It should do the same for sliced C arrays, e.g.
def test():
cdef int i
cdef int a[100]
for i in range(100):
a[i] = i**2
return a[:20]  # rejected by type analysis
Currently results in
Cannot convert 'int *' to Python object.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cython/cython/issues/2159, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdqgbISOH4fV9I1sWv2ojDfFXjpK1wvks5tfTAQgaJpZM4Su2fU
.

Too late ;)
We already support this for plain arrays with known size, which coerce into a Python list. And I think a list makes more sense than a tuple because a Python list is the normal representation of a sequence of homogeneous objects. Tuples are more for heterogeneous objects.

I'll note here for whoever wants to fix this issue the places in the documentation that will need to be changed accordingly:
https://github.com/cython/cython/blob/cd3a0079d13681c2ccb61e4e9e0f70024dd67b0f/docs/examples/tutorial/memory_allocation/malloc.pyx#L20
https://github.com/cython/cython/blob/cd3a0079d13681c2ccb61e4e9e0f70024dd67b0f/docs/examples/tutorial/cython_tutorial/primes.pyx#L22
https://github.com/cython/cython/blob/master/docs/src/tutorial/cython_tutorial.rst#primes
https://github.com/cython/cython/blob/master/docs/src/userguide/language_basics.rst#automatic-type-conversions


laravel 9

Please describe the feature
Hi, when will be able to use this plugin in Laravel 9? Thanks.

@IvanSerevko I created PR for laravel 9 support. #32

@IvanSerevko I created PR for laravel 9 support. #32

thanks a lot

Released v1.5.0 https://github.com/meemalabs/laravel-text-to-speech/releases/tag/v1.5.0

Hi @luigel, is Laravel 10 planned?


[bug] found igemm solver does not support group conv

kernel:
igemm_bwd_gtcx2_nhwc_fp16_bx0_ex1_bt128x32x8_wt64x16x4_ws1x1_wr1x1_ta1x1x4x1_1x8x1x32_tb1x1x1x1_1x8x1x32_mh_me
does not support group-conv
However, it is not explicitly disabled and could cause problems (crash) in some DL models.
For example it could be related to:
https://github.com/mosaicml/composer/issues/1165
Proposed Workaround:
disable group conv in asm igemm solver

@atamazov @carlushuang  @zjing14 @asroy : tracking for https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1978

Is it so that this solver is expected to support group convolutions?

[Off-topic] @junliume I suspect that "workaround" is not applicable to defects ;)

@carlushuang I would think the solver is expected to support group conv but the kernel has defects which need to be resolved, right?

Yes, originally this solver can support group-conv, however there is a potential issue with the kernel that will have memory access fault during a resnet training after hundreds of epoch. So we decide to close the support of group-conv of these solvers, which is what we already did in https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1601 (but not merged anywhere)


MBL-1214: Send OAuth token only in headers, not in request parameters

📲 What
Send OAuth tokens only in the request headers, not in the request parameters.
🤔 Why
This is a security concern which we wanted to address with the MVP of OAuth. Moving the authorization parameters into headers is a best practice.
See: https://github.com/kickstarter/kickstarter/pull/26425 and https://github.com/kickstarter/kickstarter/pull/26432
🛠 How
Note that this isn't behind any flags. The server change to accept the OAuth token in the headers was made globally, for all V1 requests, and already applied for GraphQL. We decided a ramp-up would be difficult, due to how deep the headers are buried in our networking stack, and of limited use, compared to testing this change manually.
Also note that we are sometimes sending redundant headers, like both Authorization and X-Auth with the OAuth token. To the best of my knowledge, both V1 and GraphQL discard extra headers, so there's no harm in this - and it makes our code significantly simpler.

SwiftFormat found issues:

File
Rules

KsApi/ServiceTypeTests.swift:329:1
warning: (wrap) Wrap lines that exceed the specified maximum width.

  Generated by :no_entry_sign: Danger


replenishQuota specify from field

Description
Force the from field to be specified. In the case that the default account is not set, the call fails with:

No "from" address specified in neither the given options

Other changes
Fix typo in docs.
Tested
Tested manually using a funded mainnet account.
Related issues

Fixes #6247

Backwards compatibility
Yes

Merging into alecps/odisMetrics instead


Add global_phase to CircuitData::__reduce__

global_phase was missing in the tuple created by CircuitData::__reduce__, leading to partial pickling of CircuitData.

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
28 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.03%) to 88.523%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/two_qubit_decompose.rs
1
92.09%

crates/qasm2/src/expr.rs
1
94.02%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
61.59%

crates/qasm2/src/lex.rs
6
91.48%

qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
6
90.77%

crates/qasm2/src/parse.rs
12
95.77%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.03%

Covered Lines:
73837

Relevant Lines:
83410

💛  - Coveralls

Can you add a test case so we don't drop it again?

I was going to open an issue later to discuss this. More than dropping it somehow, I'm more concerned about people adding new fields to any of our __reduce__'able structs in Rust and forgetting to include them for pickling. So initially I was thinking about using the inspect module to extract the attributes and test that all fields (modulo explicitly exempted ones) are covered by __reduce__, but it turned out to be a bit tricky with Rust's visibility and how PyO3 exposes class data. So I'm leaning more towards testing this in Rust maybe, but I need to think more about it.

I'm surprised we didn't already catch this in tests...

We actually have a test that checks this somewhat indirectly: test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase.  It fails on my local stestr runs but somehow not in all CI runs - I do see passing PR checks, but haven't drilled down on this. So maybe this is sufficient for now until we have a more comprehensive solution per the point above, what do you say?

Oh, it's because you were running the tests directly on linux. The assemble function using multiprocessing by default when creating a qobj for more than one circuit at a time (on linux only). In our tox and ci configuration we disable multiprocessing by default to avoid oversubscribing the CPU between stestr's multiprocesing, qiskit's use of Python multiprocessing, and rust multithreading (there are also known issues with python's fork launch method and multithreading that causes deadlocking). For example:
https://github.com/Qiskit/qiskit/blob/main/tox.ini#L17
So we never were running that test in ci with multiprocessing and not testing it with pickle. But when you ran tests manually the env variables weren't set so it used multiprocessing and was using pickle to serialize the objects for IPC.

For things being dropped from __reduce__: you can have the same trouble from a pure-Python type if __reduce__ or __getstate__ are defined. Typically when overriding those methods we should always be including explicit tests of the pickle protocol (and copy and deepcopy by extension), but I guess we've dropped some.
Fwiw, the sort of inspect thing you're talking about is actually fairly straight-up how the default implementation of pickle works (it recursively pickles everything in the slots and instance dict). If we're overriding the methods, it's usually because that'll fail to work for some reason.

Fwiw, the sort of inspect thing you're talking about is actually fairly straight-up how the default implementation of pickle works (it recursively pickles everything in the slots and instance dict). If we're overriding the methods, it's usually because that'll fail to work for some reason.

I realize that my indented use of inspect for this use-case wasn't clear. I've opened an issue to further explain and discuss this in #13347 . Let me know if you think there is value in the proposed approach. If so we can add a test for the case here using this approach. Otherwise just an explicit test to this PR

I added a pickle roundtrip test in 23449b3c123b7a85ec4f617e1148066803953f02. global_phase was also not looked at in the __eq__ function so I added comparison check there as well.
A side note: the semantics of the __eq__ function is a bit weird in the sense that the way it is implemented now it doesn't require the RHS to be of type CircuitData for the comparison to evaluate to true. This is maybe intentional and in fact this behavior is taken advantage of when comparing the result of QuantumCircuitData.copy() (which returns a list of instructions) to the same QuantumCircuit's _data attribute using the == operator. So in this use-case it's like comparing up to global phase. Although I find this weird, I kept the original semantics w.r.t the RHS type requirement. Should we change it or is that intentional? if intentional it should be at least documented.

The original reason that CircuitData::__eq__ allowed arbitrary comparisons was to match Python-space behaviour that you could compare equality of QuantumCircuit._data to a list, which seems like it's being used in our tests, if I understand you right?  Nowadays it includes significantly more than just the list of instructions, so it's probably right to have its other argument be &Bound<Self> (PyO3 should handle a failed downcast correctly) and to fix our tests.
I'd probably rather do that bit in a separate PR, since it's a separate change to fixing __reduce__.  That said, CircuitData::__eq__ should never be called, since QuantumCircuit.__eq__ doesn't use it (it does an isomorphism check).  We might even be able to remove CircuitData::__eq__ entirely.

seems like it's being used in our tests, if I understand you right?

Yes, there a few places that use this path. Another one now is the pickle roundtrip test that I've added.
Ok then, removing CircuitData::__eq__ in a separate PR sounds good. I can open one soon.


Multibyte characters being omitted in HTML

<EMAIL_ADDRESS>commented:

I'm using phantomJS to monitor various pages (both mine, and third party) and dump out specific sections of HTML to a file using console.log
I can't really rely upon particular formats on all the pages, and due to the nature of the pages i can't just use curl and suchlike (some of them employ a heavy amount of JS)
Anyway - multibyte characters such as  ® ©  etc (although not the htmlentities, obviously) seem to be completely omitted from the html that's output, however they are visible if i render the page to PNG.
This is an issue because  Stick®  is different from Stick in the contexts i'm working within.
Steps to recreate:
1:  get a page with a multibyte - non HTML entity character.
2: console.log()  the specific part of the page to the terminal.
I would expect to see something as described above:

Stick®
, but i get
Stick

This only appears to be an issue on Linux, as it works as expected upon my OSX boxes.
I'm running it on Debian Squeeze, on a headless server, via xvfb-run
using the git version at  1.1

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #126.
:star2:   2 people had starred this issue at the time of migration.

I am unable to reproduce this bug with either 1.9 or 2.0 on Debian.  I strongly suspect that this was an issue of terminal encoding, as suggested above, and am going to go ahead and close it.  Original reporter: if you are still experiencing the problem in PhantomJS 2.0, please supply a self-contained HTML page and PhantomJS script that demonstrates the problem.  Note that you should see, e.g.,
Stick®
, not
Stick®
, when the HTML contains a literal U+00AE REGISTERED SIGN.


Locales without globals

This lets you set a datepicker's locale without registering it in a global variable first. Instead, you can now just pass the locale object directly. This matches the way all date-fns functions accept locales. https://date-fns.org/v2.0.0-alpha.27/docs/I18n
It's backwards-compatible, tested, and comes with an example. Closes #1658.

Thanks for the quick merge!


Fix t8code ocassionally segfaults

Especially in GitHub's CI the pipeline randomly fails due to segfaults caused by T8codeMesh. This is due to the undeterministic order of clean-up by Julia's GC. t8code allocates several MPI objects which have to be cleaned up before the MPI runtime shuts down. This PR provides a workaround by explicitly finalizing the T8codeMesh objects in each elixir. I observed that this prevents the segfaults.
Any input for a better, more elegant solution is welcome.

Thanks! This closes #1845, right?


Error approving payments with Valora

Celo.Tax team here.
Using version 2.0.1, it is possible to connect with Valora but not approve payments. When moving to payment approval, Valora gets as far as asking for a pin. After the pin is entered, nothing further happens.
(Same issue using Brave and Safari as browsers, and connecting Valora via QR code or directly.)

@dckesler Note, I believe this is the same error I've been seeing.
https://github.com/valora-inc/wallet/issues/1559

Experiencing similar. Only seems affected if on iOS only and not using native browser for dApp.

GoodGhosting team here.
Same issue. User is able to connect, but when it's time to sign the submitted transaction on Valora wallet, there's just a infinite "loading animation" until the tx times out.
Issue happening with multiple v2.x and also v3x versions of us-contractkit.

The original issue the Celo.Tax team was having has been resolved.
Long story short, you need to be on Valora >= 1.25 and use-contractkit >= 3.0.0-beta.
I'm gonna close this issue and encourage each of you to open a new one with more details about the specific issue you're having, including the following info:

use-contractkit version
Valora version
Steps to reproduce (ideally with a link to a website where the problem can be reproduced)
Whether the problem can be reproduced on https://use-contractkit-gamma.vercel.app/
Any logs you have

Thank you 🙏


Extension host consumes high cpu while idle

Type: Bug
The extension host consumes ~80% cpu on one core consistently while idle. After indexing, this should drop down, rather than continuously churn.
Extension version: 0.119.0
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:37:54.581Z)
OS version: Darwin arm64 22.1.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
9, 8, 10

Memory (System)
16.00GB (0.07GB free)

Process Argv
--crash-reporter-id c6f93df7-c0f6-4605-a496-9451bffeb076

Screen Reader
yes

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1cf:30587006
282f8724:30602487
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723

Hi @10kc-emilyk, could you please edit the issue using the given templates (https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=bug_report.md&title=)?
The stats you provided are for bug reporting on vscode, and not their extensions. It's hard for us to use this information to pinpoint what is going on.
Dendron offloads most of the heavy lifting to a locally running server in your machine, so indexing isn't happening in the extension host.
I suspect something else is going on.
Could you provide the extension logs? (from Dendron:dev: Diagnostic reports and Dendron:dev: Open Log)

Yeah, i ended up cleaning up my dendron workspace and the issue resolved itself. I dont know the original cause.


update exports for types

Importing @ensdomains/thorin returns the following error:
Could not find a declaration file for module '@ensdomains/thorin'. <EMAIL_ADDRESS>implicitly has an 'any' type.
There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@ensdomains/thorin' library may need to update its package.json or typings.

It seems it's unable to resolve the types defined in the package.json file. A possibile solution is the proposed one, where the types are set explicitly in the exports.".".import.types field:
"import": {
    "types": "./dist/types/index.d.ts",
    "default": "./dist/index.es.js"
}

For reference the tsconfig.json file used is the default one from Next.js:
{
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "plugins": [
      {
        "name": "next"
      }
    ],
    "paths": {
      "@/*": ["./*"]
    },
    "forceConsistentCasingInFileNames": true
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
  "exclude": ["node_modules"]
}

It seems to be connected to the moduleResolution property in the tsconfig.json file. Using node instead of the default bundler the package works fine


Incompatible with Not Enough Animations

When you use the Not Enough Animations mod it makes maps completely blank

I also have Not Enough Animations and while I'm experiencing some bugs, the map is mapping.


Run bin/rspec if exists.

Someone who has bin/rspec may want to run it instead of just rspec. It's especially good for spring users.

Folks that want to use bin/rspec could add that to their path. We recommend using the .git/safe approach for trusting repositories. https://github.com/thoughtbot/dotfiles/blob/master/zsh/configs/post/path.zsh#L10

@marshall-lee Just FYI, vim-test does that automatically: https://github.com/janko-m/vim-test/blob/master/autoload/test/ruby/rspec.vim#L32-L33

Closing this, due to there being other solutions.


Release on PyPi

Please release this on PyPi so everyone can install this easily.

Hi @thedrow, thank you for your message :) Yeah, that's on my list. Hopefully, soon.

I think here it is: https://pypi.org/project/homer-text/

Not yet quite fleshed out... it's not installing a command.

@wyounas let me know if I can help, I regularly do these kinds of things.
These resources (shameless plug) might help:
https://gehrcke.de/2014/02/distributing-a-python-command-line-application/
https://github.com/jgehrcke/python-cmdline-bootstrap

I have released it on Pypi and it seems to be working (just tested this on Mac given this is all I have for now).


add badges to README.md

This is to add the repository to https://github.com/avelino/awesome-go so that other users can reach this.

 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.

I've updated the commit.


position a window by 'bottom'

This ticket does two things:

Fix a bug where if the window was not resizable, the double-click action on the header would not work...and generate a console error
Add ability to position a window by the bottom of the window. It now allows the 'bottom' scope variable. This will ignore the 'y' scope variable if both are passed in.

There is currently no way to test the bottom positioning in opensphere itself since no components use it to launch. You can test that it doesn't break any existing windows, however, by launching windows and verifying they behave as they did before.

I was testing by dropping this in the console:
var html = '

This is a test

';
var options = {
  'id': 'test',
  'width': 400,
  'height': 300,
// remove this section to test collapse fix
  'min-height': 200,
  'min-width': 250,
  'max-width': 1200,
// end section to remove
  'label': 'Test',
  'icon': 'fa fa-cube',
  'show-close': true,
  'modal': false,
  'bottom': 0
};
// Create the window
os.ui.window.create(options, html);


DS4Windows broke xinput gamepads with x360ce?

Hello,
I am using DS4Windows (version 1.4.52) for my Dual Shock 4 controller and it works perfectly in any game (for ex. Rocketleague) . But yesterday we connected friend's cheaper xinput controller from Genesis (P65) . We needed change binding in x360ce . Controller loaded perfectly in x360ce (all green) , so we changed the bindings. But then if we started the game (Rocketleague) , gamepad still have default binding and x360ce not work?
If we tried more cheaper general gamepads without xinput, they works with x360ce perfectly.
Only problem we have with this Genesis P65, which works with x360ce, but not with games.
Could DS4Windows broke something with xinput controllers in my system? On friend's laptop without DS4Windows it works perfectly.
Only solution was set binding in Steam for Xbox controller. This works too. Only x360ce not working with xinput controller.
We also tried disable SCP BUS Driver, not helped too.
Thank you in advance.

Ok, we fixed it by unchecking Pass through on Advanced tab in x360ce program. But it little strange, because my friend didn't uncheck anything on his laptop by default and gamepad works too :-/ . So this problem is maybe not in DS4Windows, but in unchecking Pass through?
Maybe I had check Pass Through, because I connected to my PC more than one xinput controllers. But I don't know :-/ . For us is important, that we fix it :-) .

Strange is, that my friend didn't set anything and he had unchecked Pass through by default on his laptop. On my PC and laptop where I have DS4Windows I had checked Pass through by default. Does anyone know why?


Bug: typing 'f' interrupts writing a comment by focusing on the filter

Steps to reproduce:

Go to the sentence discussion of some sentence with the extension enabled
Expand the 'Solutions' section
Scroll down and start to create a comment/reply, typing a word containing the letter 'f'

Expected result:
You should be able to type your comment, without the filter taking focus away when you're focused on a text box.
Actual result:
When you press 'f', it switches your focus to the filter and scrolls you to the top of the page. Now you have to scroll back down to the comment you were writing and click on the text box again to re-focus it in order to continue, which is jarring and is especially troublesome if you were replying to a comment way down the page.
As a workaround you can close the 'Solutions' section which stops the 'f' hotkey from having an effect.

Thanks for catching this one!


added azure aks stop node

Signed-off-by: gtfisher<EMAIL_ADDRESS>

Feel free to merge @gtfisher


Kruize health endpoint should give out a warning message if any of its dependencies is down

Kruize health endpoint should give out a warning message if any of its dependencies is down.

Some inconsistent behavior with openshift resulting in my current logic failing. Taking a closer look.

@dinogun @chandrams If prometheus goes down, kruize will still be running, but it will change the /health message from UP to Monitoring Agent not running. Current behavior is to go down is prometheus goes down. Please let me know if the change is fine

@ShishirH - I 'm fine with a message indicating that the monitoring agent has gone down in /health, and kruize continuing to show previous recommendations for sometime.
Current behavior is to go down is prometheus goes down - Is this behavior with your fix?


[ISSUE #216] Support chatGPT source connector

Fixes #216
chatgpt connector doc

It may be better to create a new issue in this repo and link it to this PR.

It may be better to create a new issue in this repo and link it to this PR.

yep~


<EMAIL_ADDRESS>decompress error

Installing 'innounp' (0.50) [64bit] from 'main' bucket
Loading innounp050.rar from cache
Checking hash of innounp050.rar ... ok.
Extracting innounp050.rar ... done.
Linking ~\scoop\apps\innounp\current => ~\scoop\apps\innounp\0.50
Creating shim for 'innounp'.
'innounp' (0.50) was installed successfully!
Installing 'ollama-full' (0.3.14) [64bit] from 'extras' bucket
Loading OllamaSetup.exe from cache
Checking hash of OllamaSetup.exe ... ok.
Extracting OllamaSetup.exe ... ERROR Exit code was 1!
Failed to extract files from C:\Users\username\scoop\apps\ollama-full\0.3.14\OllamaSetup.exe.
Log file:
~\scoop\apps\ollama-full\0.3.14\innounp.log
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=ollama-full%400.3.14%3A+decompress+error

Duplicates #14120.


FileProvider dependency is gone from GitHub

https://github.com/amosavian/FileProvider
This repository has been disabled
Access to this repository has been disabled by GitHub Staff due to a violation of [GitHub's Terms of Service](https://docs.github.com/site-policy/github-terms/github-terms-of-service). If you are the owner of the repository, you may reach out to GitHub Support for more information.

Sounds like some nonsense. I have a local copy if needed.

While I can simply switch to my own fork, I am concerned with any potential breach of ToS regarding the repository. I have contacted the author for more information.

hi again - did you learn anything from the author?

He did not reply. I decided to use the fork for now. The change is pushed to the main branch.


Shopware 6 - State machine, sorting options, and salutations translations

Hi,
This is a feature request for non-snippet translations. Currently in Shopware 6 (6.6) not all translations are editable with the use of snippets. The following three sections are connected to the frontend for customers to see by default.

For the State Machine they aren't even editable in the admin.
Located in the state_machine_state_translation table
The sorting options can be edited in the admin: Settings->Shop->Products
Located in the product_sorting_translation table
The salutations can be edited in the admin: Settings->Shop->Salutations
Located in the salutation_translation table

There are more translations not using snippets, tables with [...]_translation. But those are data driven for example the categories and shopping experiences.

Hi
this is already doable, I totally forgot that during my talk at SCD haha
you can define any entity that has a _translation table and it will work (state machines)
so if you check out the latest README it has new samples in shopware-6
theres also a small bug already fixed in dev-master for shopware 6.6,
but dev-master should work :)

so this is released in v 1.12.0
feel free to open it again if something is not working :)

Thanks! And for the great talk at SCD 'also' 😃


Unit Tests Only Run for First Project in Defined List

There seems to be an issue in the "UTF" stage at line 60 where utfPaths.each only operates on the first item in the list which is important for TagEditorCore (we are not running every test during build). It looks like others have run into this issue and it may just be a bug with the version of jenkins we are using.
https://stackoverflow.com/questions/37594635/why-an-each-loop-in-a-jenkinsfile-stops-at-first-iteration
I did a bit of testing with a simple script on our server and it looks like we may be able to do something like follows
stage ('UTF'){
     for(int i=0; i<utfPaths.size(); i++){
          path = utfPaths[i]
          echo 'UTF path: ' +path
          timeout (time; 30, unit: 'MINUTES') {
               utfTest(utfPath, lvVersion)
               }
          }
     }

the VIPB Build stage may also have the same issue but I'm not sure if any repo has 2 VI package builds. Even if we aren't using this currently it would probably be good to change this to a for loop as well if it works for the UTF step.


[SPARK-9021][PySpark] Having RDD.aggregate() make a deepcopy of zeroValue for each partition

I'm relatively new to Spark and functional programming, so forgive me if this pull request is just a result of my misunderstanding of how Spark should be used.
Currently, if one happens to use a mutable object as zeroValue for RDD.aggregate(), possibly unexpected behavior can occur.
This is because pyspark's current implementation of RDD.aggregate() does not serialize or make a copy of zeroValue before handing it off to RDD.mapPartitions(...).fold(...). This results in a single reference to zeroValue being used for both RDD.mapPartitions() and RDD.fold() on each partition. This can result in strange accumulator values being fed into each partition's call to RDD.fold(), as the zeroValue may have been changed in-place during the RDD.mapPartitions() call.
As an illustrative example, submit the following to spark-submit:
from pyspark import SparkConf, SparkContext
import collections

def updateCounter(acc, val):
    print 'update acc:', acc
    print 'update val:', val
    acc[val] += 1
    return acc

def comboCounter(acc1, acc2):
    print 'combo acc1:', acc1
    print 'combo acc2:', acc2
    acc1.update(acc2)
    return acc1

def main():
    conf = SparkConf().setMaster("local").setAppName("Aggregate with Counter")
    sc = SparkContext(conf = conf)

    print '======= AGGREGATING with ONE PARTITION ======='
    print sc.parallelize(range(1,10), 1).aggregate(collections.Counter(), updateCounter, comboCounter)

    print '======= AGGREGATING with TWO PARTITIONS ======='
    print sc.parallelize(range(1,10), 2).aggregate(collections.Counter(), updateCounter, comboCounter)

if __name__ == "__main__":
    main()

One probably expects this to output the following:
Counter({1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1, 9: 1})

But it instead outputs this (regardless of the number of partitions):
Counter({1: 2, 2: 2, 3: 2, 4: 2, 5: 2, 6: 2, 7: 2, 8: 2, 9: 2})

This is because (I believe) zeroValue gets passed correctly to each partition, but after RDD.mapPartitions() completes, the zeroValue object has been updated and is then passed to RDD.fold(), which results in all items being double-counted within each partition before being finally reduced at the calling node.
I realize that this type of calculation is typically done by RDD.mapPartitions(...).reduceByKey(...), but hopefully this illustrates some potentially confusing behavior. I also noticed that other RDD methods use this deepcopy approach to creating unique copies of zeroValue (i.e., RDD.aggregateByKey() and RDD.foldByKey()), and that the Scala implementations do seem to serialize the zeroValue object appropriately to prevent this type of behavior.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi @njhwang,
Thanks for submitting this pull request.  Do you mind filing a JIRA ticket at https://issues.apache.org/jira/browse/SPARK to report this issue?
Check out https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark for an overview of how the Spark contribution process works.
I agree that we should try to guard against mutation of the zero original zero value.  I'd also look into whether we should be using a copy on line 904 in return self.mapPartitions(func).fold(zeroValue, combOp); there might be other cases that need to be addressed, too.
It would be good to add a regression test for this.  Take a look at python/pyspark/tests.py for examples of how to do this (once you've created the JIRA, I'd reference the JIRA ticket number in your test via a line comment).

JIRA ticket here: https://issues.apache.org/jira/browse/SPARK-9021
Will look into regression tests and other contribution requirements.

I'll note that I did consider adding more copies on line 904 as you mention, as well as within RDD.fold(). I don't believe another copy is needed, as RDD.fold() appears to properly guard against mutation (see comment in RDD.fold()). It appeared other places within the RDD module were good as well, but will investigate more closely with the forthcoming regression tests.

Ah, cool.  I suspected that you might have looked into the case on line 904, but just wanted to confirm.  Wouldn't hurt to add a line comment there to explain this :)

Okay, think that does it; let me know if the tests seem sufficient (or overkill). Took the liberty of replacing a few calls to range() with xrange() per the documentation for parallelize(). Confirmed that RDD.aggregate() appears to be the only problematic handling of zero values, and that this PR fixes the issue.

Jenkins this is ok to test

Merged build triggered.

Merged build started.

Test build #37336 has started for   PR 7378 at commit 2fa4e4b.

Test build #37336 has finished for   PR 7378 at commit 2fa4e4b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Did not realize collections.Counter() wasn't introduced until Python 2.7, and that tests were run against Python 2.6...will change those tests to use a different data structure later today.

Merged build triggered.

Merged build started.

Test build #37359 has started for   PR 7378 at commit 391de4a.

Test build #37359 has finished for   PR 7378 at commit 391de4a.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37364 has started for   PR 7378 at commit 56eb2ab.

Test build #37364 has finished for   PR 7378 at commit 56eb2ab.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37369 has started for   PR 7378 at commit 8d8d694.

Test build #37369 has finished for   PR 7378 at commit 8d8d694.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Hooray. Sorry for the churn, guess I should have a Python 2.6 environment to do backwards compatibility tests :).

Test build #1069 has started for   PR 7378 at commit 8d8d694.

I'm actually going to kick off another build now since we just merged a change to the Python linter and I want to avoid a committing race that leads to a build break.

Test build #1069 has finished for   PR 7378 at commit 8d8d694.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Least(children: Expression*) extends Expression
case class Greatest(children: Expression*) extends Expression

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #37373 has started for   PR 7378 at commit 8d8d694.

Test build #37373 has finished for   PR 7378 at commit 8d8d694.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

@davies, this would be another good PR for you to review, esp. now that it's passing tests.

@njhwang @JoshRosen The reason we need to do deepcopy here is that the two mapPartition() will be combined together as a single task. When the closure is serialized by pickle, the zeroValue will be memorized by Pickler, and deserialized as single object for two mapParition(). It's weird to call fold() inside aggregate(), because it does not need to run combOp on each partition, it should be change to:
  return reduce(combOp, self.mapPartitions(func).collect(), zeroValue)

Then we don't need to do the deep copy (deep copy may fail in some cases, for example, object from C extension).

@davies That makes sense. I just confirmed this works (and it's exactly what you do in RDD.fold() anyway). Will do another build/test sequence locally later today before pushing and having Mr. Jenkins put it through the ringer again.

Merged build triggered.

Merged build started.

Test build #37424 has started for   PR 7378 at commit 659bb27.

Test build #37424 has finished for   PR 7378 at commit 659bb27.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM, could you update the title and description?

Done!

Thanks, merging into master!


add vae

reformat maybe needed

It seems you have simply copied the code from https://github.com/CompVis/stable-diffusion and submitted a pull request without any validation. Moreover, you have not provided any documentation on how to use this vae code. Your pull request is very unprofessional, and you have also failed to declare the source of the code, which is quite shameful.

It seems you have simply copied the code from https://github.com/CompVis/stable-diffusion and submitted a pull request. While it is acceptable to draw inspiration from other open-source projects, it is shameful that you did not acknowledge the source of the code in your pull request.
Furthermore, you have not provided any results demonstrating how the submitted code is adapted to the project, and it bears no relevance to the entire opensora project whatsoever. This is extremely unprofessional.

Thanks for your good and professional advice. I thought it was relevant to the "Add VAE model, which is borrowed from Stable Diffusion."

Simple copying of code may not be conducive to code structure. I'll be doing something similar this weekend.


AWS SDK chained provider class credential providers not working with leiningen 2.8.1

I'm not sure if this is bug on s3-wagon-private or leiningen, but AWS SDK chained provider class credential providers won't work with leiningen 2.8.1. Same project.clj works fine with leiningen 2.7.1.
Reproduce steps
This can be reproduced with below steps.

get leiningen 2.8.1
 $ lein upgrade 2.8.1

create project.clj

(defproject bugtest "0.0.1-SNAPSHOT"
  :description "show bug"
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [myprivatelib/myprivatelib "0.0.1"]]
  :plugins s3-wagon-private "1.3.0"
  :repositories "private" {:url "s3p://mybucket/releases/" :no-auth true}
)

run lein deps
 $ lein deps

Error message from leiningen 2.8.1
   Could not find artifact myprivatelib:myprivatelib:jar:0.0.1 in central (https://repo1.maven.org/maven2/)
   Could not find artifact myprivatelib:myprivatelib:jar:0.0.1 in clojars (https://repo.clojars.org/)
   Could not transfer artifact myprivatelib:myprivatelib:jar:0.0.1 from/to private (s3p://mybucket/releases/): Access key cannot be null.
   Could not transfer artifact myprivatelib:myprivatelib:pom:0.0.1 from/to private (s3p://mybucket/releases/): Access key cannot be null.
   This could be due to a typo in :dependencies, file system permissions, or network issues.
   If you are behind a proxy, try setting the 'http_proxy' environment variable.

Ok message from leiningen 2.7.1
   Retrieving myprivatelib/myprivatelib/0.0.1/myprivatelib-0.0.1.pom from private
   Retrieving myprivatelib/myprivatelib/0.0.1/myprivatelib-0.0.1.jar from private

sorry this was duplicate of #51


Baseurl support

I haven't been able to find (and maybe it isn't a thing) any information about using huginn behind a reverse proxy like nginx configured with a baseurl/subfolder.
So starting huginn which listens on http://localhost:3000/huginn and nginx would proxy something like
https://www.example.com/huginn to huginn . I know with nginx you can use rewrite and sub_filter to set this up, but that's not an ideal solution.

Sorry we don't have support to that. We tried it here but it turned out having baseurl support would require a lot of changes.


[SYSTEMDS-344]Unmark functions/SBs containing non-determinism

This patch moves the fragile and less efficient non-determinism check in runtime to compile time. This adds a new IPA rewrite to unmark the functions and StatementBlocks containing direct or transitive nondeterministic calls (e.g. rand with UNSPECIFIED_SEED) for lineage caching.

LGTM - thanks @phaniarnab. The only missing piece was to copy this information during parfor worker creation (where we deep copy functions and statement blocks to allow to independent, and thus uncontended recompilation) - dropping it would have potentially created incorrect results. Other than that and a few unnecessary imports this is great!


Hotels: Update PricePopup with new design

Shared: Add type info and circled prop to AdaptableBadge
Shared: Update slider to match with new design

@RobinCsl 🚀


Downloading video help

Dear sir
Please tell the way to download video from elearn.brilliantpala.org step by step i have no knowledge in downloading videos via ffmpeg or any other software
Username 256436
Password 256436
As you directed i found the key in the preview tab but what is the next step to do ?
i didnt understood you said about saving as curl
please look the below link with key and key url
video link
https://elearn.brilliantpala.org/courses/103/contents/42178/
m3u8 url :  https://d1j3vi2u94ebt0.cloudfront.net/institute/brilliantpalalms/courses/copy-of-jee-main-mfeatbaypup3/videos/transcoded/d65d4372c03642cf80a08bf51a54172f/720p/video.m3u8
key - Jmv��KͬN6.�}i�
key url  (https://elearn.brilliantpala.org/api/v2.5/video_contents/42178/key/)

I guess you know how to REPLY an existing issue (#2) raised by you, don't you?


bash-like catchall is not registered in webpack with proxy

It's because plugin-proxy-support preload happened after plugin-bash-like preload

some background for the future: kui plugins can register a preload handler which is invoked while kui initializes itself; in the preload, plugins are doing several things:

registering keyboard shortcuts
asserting capabilities to the Capabilities subsystem
registering views to the View subsystem

if a plugin only establishes a View if a certain Capability exists... there is a race between views; that is what you are seeing here. we will fix this by registering capabilities first; i.e. doing two passes


no mudul named request

python2 fikrado.py
Traceback (most recent call last):
File "fikrado.py", line 5, in
import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize
ImportError: No module named requests

pip install requests and pip install mechanize should work.


Use correct ollama client in ChatEdit screen. Fix #76

A simple fix for issue #76 .
In addition, I think maybe we can extract these local variables to a global client variable, which naturally functions as a singleton object.
https://github.com/ggozad/oterm/blob/147cd2fa23d2cbcf725d565244ae25bd2f10d135/oterm/ollama.py#L22-L24
https://github.com/ggozad/oterm/blob/147cd2fa23d2cbcf725d565244ae25bd2f10d135/oterm/ollama.py#L39-L41

And of course I should have coffee before opening my mouth...
We don't want the singleton here for OllamaLLM. Perhaps best if list, show etc become static methods on OllamaLLM?

You are right. Static methods are absolutely better here.
Note that I kept those "list" and "show" requests to be synchronous. Just like before. I observed that the app will result in a strange NoScreen exception if the async on_mount() method of ChatEdit finishes late... Currently I have no idea why a slow request would lead to NoScreen exception. Will investigate this later. Anyway this PR works well.

Thank you so much, this looks great! I am way from a computer atm, but will merge and release tomorrow!


A value of type 'Object?' can't be assigned to a variable of type 'BluetoothDevice'.

Expanded(
child: DropdownButton(
items: _getDeviceItems(),
onChanged: (value) => setState(() => _device = value),
value: _device,
),
),
A value of type 'Object?' can't be assigned to a variable of type 'BluetoothDevice'.

This thread has been closed since there has not been any recent activity. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.


Better error handling for basic template usage

When downloading an asset published with the basic template: https://market.oceanprotocol.com/asset/did:op:bd81f459ff83ceeb06c917aa7a6e42c3d2e42ad805ad2ce028ed40bb39b46213 an error is thrown

When the basic template is used instead of the enterprise one, the consume fails with a Provider error. We should check which template is used and display a proper error message.
Please see: https://github.com/oceanprotocol/provider/issues/522#issuecomment-1212883303

Already an issue for this https://github.com/oceanprotocol/market/issues/1652


Add flag to Chatdown to enable prefix and add tests for it

Proposed Changes
Add --verbose flag to enable prefix in messages in Chatdown.
Testing
Two new tests were added to validate the correct use of the prefix:

Test for normal logging with --verbose
Test for error logging with --verbose

Pull Request Test Coverage Report for Build 394

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 63.887%

Totals

Change from base Build 389:
0.03%

Covered Lines:
3614

Relevant Lines:
5380

💛  - Coveralls

Closed to try to improve the implementation of intercept-stdout library


Expose local findOther function as API

I would like to build a function where i can ripgrep within both current file and list of other files. But this is not possible because findOther method is local. If you expose this method, this plugin will be more usable.

@m-deg Thanks for the suggestion!
I created a hook for this functionality. Look in the README for onFindOtherFiles this gives you a lua table with all the matches everytime the findOther method is run.
Another option is to rely on the global variable vim.g.other_lastmatches which always hold the table with the last matches.

Thanks, but i want this API to work even if findOther is not called. Essentially, when i go to a .cpp file, i want to find .h file programmatically on Lua instead of waiting until user triggers findOther call. i also don't want to trigger the whole thing programmatically because i don't want to necessarily navigate to the other file.

@m-deg Alright, I see. I just made it public 😄

Thanks! You are awesome :)


Turn off debug on production server

Currently, if you navigate to an erroneous page on production, you get a message saying "404" as well as a nice django debug page. We should ensure that this is turned off when we go to full production. This can probably happen as soon as we get logging set up (cf. #465).
Currently, we have the following code in django/cantusdb_project/cantusdb/settings.py:
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = bool(strtobool(os.getenv("CANTUSDB_DEBUG", "False")))

I don't understand exactly what this is doing, but I gather there's an environment variable, CANTUSDB_DEBUG, whose value can be set in order to prevent the django debug page from being displayed.

I suppose we could just manually set this to False by default on the production server and when we develop locally or on staging we can set this to True?

While I don't know how to do this off the top of my head, I'm pretty sure it will not be difficult to do by changing the environment variable rather than by changing our code.
It's been helpful having error messages on "production" up until now, but now that we have the same version of Postgres running on both servers, now(-ish - it's not urgent) could be a good time to make this change.


Installable Component Library

Hey there!
I really like the radical simplicity of pulse, is there an installable component library or only this boilerplate?
With installable I mean like MUI or AntD, which can simply be added to a project and not where the project must be based on this boilerplate.
Would like to add a binding to .pulse in UI-Schema, but if i need to use the boilerplate, it's more like reimplementing the boilerplate instead of using ready components.
Cheers!

Hey @elbakerino
No, this is not an installable library. It just only a boilerplate for now.

Thanks for the info!
After further checking, sadly to much effort.


Type 'ClientResponse<T, U, F>' is not assignable to type 'void | Response'.

What version of Hono are you using?
4.6.13
What runtime/platform is your app running on? (with version if possible)
Cloudflare Workers
What steps can reproduce the bug?
reproduction: https://github.com/satoshun00/hono-client-response-repro
import { Hono } from "hono";
import app from "./index";
import { hc } from "hono/client";

const client = hc<typeof app>("http://localhost:8787");

const app2 = new Hono()
  .post("/", () => {
    return client.index.$post();
  });

What is the expected behavior?
It should be possible to return the response (ClientResponse) from hono/client as the response (globalThis.Response) of the handler.
What do you see instead?
TypeScript Error
No overload matches this call.
  The last overload gave the following error.
    Argument of type '() => Promise<ClientResponse<{ message: string; }, StatusCode, "json">>' is not assignable to parameter of type 'H<BlankEnv, "/", BlankInput, HandlerResponse<any>>'.
      Type '() => Promise<ClientResponse<{ message: string; }, StatusCode, "json">>' is not assignable to type 'MiddlewareHandler<BlankEnv, "/", BlankInput>'.
        Type 'Promise<ClientResponse<{ message: string; }, StatusCode, "json">>' is not assignable to type 'Promise<void | Response>'.
          Type 'ClientResponse<{ message: string; }, StatusCode, "json">' is not assignable to type 'void | Response'.
            Type 'ClientResponse<{ message: string; }, StatusCode, "json">' is not assignable to type 'Response'.
              The types returned by 'json()' are incompatible between these types.
                Type 'Promise<{ message: string; }>' is not assignable to type 'Promise<T>'.
                  Type '{ message: string; }' is not assignable to type 'T'.
                    'T' could be instantiated with an arbitrary type which could be unrelated to '{ message: string; }'.ts(2769)

Additional information

Related issue: #3312
Currently, the following type casting is used as a temporary workaround to avoid type errors:const app2 = new Hono()
  .post("/", () => {
    return client.index.$post() as Promise<Response>;
  });

Hmmm, can't reproduce.
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgCQgOwnAvnAZlCEOAIgAt0JiBuAKFElkTlIGNs8CiyKB6FgG2ABTNDGo0aLdAGd4AQzBg4AXjhohAdxQUAFAEoAdJFk7iPYgBo4OlnpUA+OCwMAraeh0IacH3BBDpaTkAcyEALhJUDDhgaWYIMRosPT0JKTRZJ0EReFVWAB4YAE8wIQhcOAUwe1NSGBgwMJ4efggWOX5yWTCADgB2fuI9WkkZeUUAJhU1TW0MfW84IwgTM0trO2VHL184KCEYAFcoNCzhUQNgNAATIQAPAwASYxh9Wh9k2iA

@EdamAme-x
I also tried to reproduce the issue in the TypeScript Playground, but I couldn't. So, I prepared a repository.
I suspect the cause might be related to the Response type from @cloudflare/workers-types 👀

Hi @satoshun00
This is not a bug with unexpected behavior; the type of the response used in the RPC client and the type of the response returned in the handler are different.

@yusukebe
Thank you for your response. I understand that the issue arises from the mismatch between the globalThis.Response type and the ClientResponse type. This type mismatch does not occur with the Response type in @types/node, but it seems to occur with @cloudflare/workers-types, and the result appears to be different from what I expected.
I would appreciate it if there is a good solution for this...
I don't think it's a very good idea, but how about allowing ClientResponse as a return type for Hono's HandlerResponse?

The difference between the Response type in @types/node and @cloudfare/workers-types is whether it can accept generics in response.json() or not. For example, the code below will throw a type error with @types/node, but @cloudflare/workers-types's does now throw an error.
const response = new Response()
const data = await response.json<{ foo: string }>()

So, we can prevent the error by changing the definition of ClientResponse like the following though I'm not sure we should add the code as a fix:
diff --git a/src/client/types.ts b/src/client/types.ts
index 29e5790e..62235cad 100644
--- a/src/client/types.ts
+++ b/src/client/types.ts
@@ -89,11 +89,13 @@ export interface ClientResponse<
   url: string
   redirect(url: string, status: number): Response
   clone(): Response
-  json(): F extends 'text'
+  json<JSONT>(): F extends 'text'
     ? Promise<never>
     : F extends 'json'
-    ? Promise<BlankRecordToNever<T>>
-    : Promise<unknown>
+    ? undefined extends JSONT
+      ? Promise<BlankRecordToNever<T>>
+      : JSONT
+    : Promise<JSONT>
   text(): F extends 'text' ? (T extends string ? Promise<T> : Promise<never>) : Promise<string>
   blob(): Promise<Blob>

When creating a Workers application that bypasses access to a specific Hono application, the fix would make me very happy as it eliminates the need for extra type casting. However, my concern would be that it might introduce unnecessary looseness in the ClientResponse.

I'll label this as an enhancement.


Small About Page Adjustments

Can we change Wyoming to this:
Data about law enforcement in Wyoming were obtained under the Wyoming Public Records Act from the Wyoming Peace Officer Standards and Training Commission. The data were originally obtained by WyoFile and Invisible Institute. The data were last updated in March 2023.
Can we change Utah to this:
Data about law enforcement in Utah were obtained under the Utah Government Records Access and Management Act from Utah Peace Officer Standards and Training.
The data were obtained in July 2024 after a public records appeal on behalf of the Utah Investigative Journalism Project by David Reymann of the Utah Freedom of Information Hotline of Parr Brown Gee & Loveless. You can read the relevant filings of the appeal here, and read about the fight to obtain the records here.
Information about disciplinary actions taken by Utah POST is compiled by the Utah Criminal Justice Institute and is available in a lookup tool here.

@ayyubibrahimi @tarakc02 could these be implemented this week? thanks!

Yea I can do this today. Added a comment on slack about figuring out a better method for assigning things to tarak, maheen or I. Will add to the agenda for this week

Thanks!
--
Sam Stecklow
Journalist
he/him/his
On October 15, 2024 at 11:15 AM, Ayyub Ibrahim @.***)
wrote:

Yea I can do this today. Added a comment on slack about figuring out a
better method for assigning things to tarak, maheen or I. Will add to the
agenda for this week
—
Reply to this email directly, view it on GitHub
https://github.com/ayyubibrahimi/us-post-data/issues/30#issuecomment-2414246595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHUXG742JLFCYVDHNJ6F5LZ3UWPXAVCNFSM6AAAAABPMS6KPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGI2DMNJZGU.
You are receiving this because you authored the thread.Message ID:
@.***>