"artisan migrate:fresh" fails after running "artisan schema:dump" in all but the simplest/default scenario

Laravel Version: 8.24.0
PHP Version: 7.4.11
Database Driver & Version: PostgreSQL 12.4

Description:
Currently, Laravel's artisan migrate:fresh command fails after running artisan schema:dump in all but the simplest of scenarios — that is, this process works correctly only when the database contains exactly one schema and its name is public. In any other scenario, exceptions occur.
Steps To Reproduce:

When the connection's search_path contains only one schema, and it is anything other than the default value, public, attempting to run php artisan migrate:fresh after running schema:dump fails (the sole schema is homestead in this example):

  The command "PGPASSWORD=$LARAVEL_LOAD_PASSWORD pg_restore --no-owner --no-acl --host=$LARAVEL_LOAD_HOST --port=$LARAVEL_LOAD_PORT --username=$LARAVEL_LOAD_USER --dbname=$LARAVEL_LOAD_DATABASE $LARAVEL_LOAD_PATH" failed.

Exit Code: 1(General error)

Working directory: /home/vagrant/code/laravel

Output:
================

Error Output:
================
pg_restore: while PROCESSING TOC:
pg_restore: from TOC entry 3; 2615 2200 SCHEMA homestead postgres
pg_restore: error: could not execute query: ERROR:  schema "homestead" already exists
Command was: CREATE SCHEMA homestead;

(and there are actually 15 additional errors that are ignored on restore, of a similar nature)

Similarly, when the database contains more than one schema (regardless of those specified in the connection's search_path), attempting to run php artisan migrate:fresh fails after running artisan schema:dump, with similar exceptions (relation already exists, multiple primary keys not allowed, etc.).

I'm investigating possible solutions and will post an update or open a PR when ready.

It seems that pg_dump does not include a CREATE SCHEMA ... statement for public, but it does for any other schema name. Consequently, pg_restore reports the following error:
pg_restore: error: could not execute query: ERROR:  schema "homestead" already exists

This is really more of a warning than an error, and pg_restore keeps moving and restores all of the structures and data (where applicable) successfully. However, the Artisan command bails-out with an exception because the pg_restore exit code is 1.
And, in fact, upon further investigation, this was actually fixed in https://github.com/laravel/framework/commit/502e75b2c8a4469363ed03adc974a5194e820ba7 , but the switches were later removed (inadvertently?) during subsequent edits in https://github.com/laravel/framework/commit/7be50a511955dea2bf4d6e30208b6fbf07eaa36e .
I've re-added the switches in https://github.com/laravel/framework/pull/36046 , which again resolves the issues arising in both scenarios noted in the initial report.

It seems that pg_dump does not include a CREATE SCHEMA ... statement for public, but it does for any other schema name. Consequently, pg_restore reports the following error:
pg_restore: error: could not execute query: ERROR:  schema "homestead" already exists

This is really more of a warning than an error, and pg_restore keeps moving and restores all of the structures and data (where applicable) successfully. However, the Artisan command bails-out with an exception because the pg_restore exit code is 1.
And, in fact, upon further investigation, this was actually fixed in https://github.com/laravel/framework/commit/502e75b2c8a4469363ed03adc974a5194e820ba7 , but the switches were later removed (inadvertently?) during subsequent edits in https://github.com/laravel/framework/commit/7be50a511955dea2bf4d6e30208b6fbf07eaa36e .
I've re-added the switches in https://github.com/laravel/framework/pull/36046 , which again resolves the issues arising in both scenarios noted in the initial report.


Trim beta city logo

What issue is this referencing?
Closes #219
Do the following commands from the README.md run without warnings or errors?

[x] yes!

My node version matches the one suggested when running nvm use?

[x] yes!

Did I merge things out of order? why are their conflicts?

Did I merge things out of order? oh no you just made these changes before branching?

Yeah not sure, I think I was branching same time you were merging. All good though, resolved now.


Features/add documentation

Auto-generated documentation via Sphinx and read-the-docs-theme.
Need further repository configuration to integrate it in github pages.

Close PR until build problem with read-the-docs is fixed


[WIP] Investigate AppVeyor jobs failing by FileNotFoundException

filed. http://help.appveyor.com/discussions/problems/5975-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process

git squash and git push -f


feat: support parity_db

Summary of changes
Changes introduced in this pull request:

added optional support for paritydb
build Forest with paritydb backend: cargo build --release --no-default-features --features forest_fil_cns,paritydb
separate rocksdb a bit; probably a more abstract way can be devised
configuration files with rocksdb config will not compatible with paritydb-backed Forest

Reference issue to close (if applicable)

Closes https://github.com/ChainSafe/forest/issues/2002
Other information and links

RocksDB
import:

run:

ParityDB (before enabling compression, the DB size should be smaller now)
import:

run:

The performance isn't that conclusive.
Import CAR:

RocksDB: 461s
ParityDB: 1331s

So importing a snapshot seems way better with RocksDB. On the other hand, the scanning blockchain part took way less time:

RocksDB: 311s
ParityDB: 101s

Keeping in mind that there are no particular optimisations in place (whereas we spent weeks if not months tweaking RocksDB setup). I feel it's a viable option to include. Later on, we can play around with columns.

Very nice!

What settings did you took for RocksDB? (The last one for main, so the aggressive optim? just want to make sure here what we are comparing).

What is the db size with compression for ParityDb? Is it as good as for RocksDB?

What does the "run" command do?

* What settings did you took for RocksDB? (The last one for main, so the aggressive optim? just want to make sure here what we are comparing).

I believe it was the last default config from main from yesterday, as I was pretty surprised by how fast it was when compared to my previous runs. :)

* What is the db size with compression for ParityDb? Is it as good as for RocksDB?

So far I'm not impressed with the compression, it sits on 92GB, so it's worse than RocksDB with the current settings.

* What does the "run" command do?

It's just running Forest for 1h after the snapshot is already imported, i.e. target/release/forest --target-peer-count 50 --encrypt-keystore false


Use the right Media Type for JSON: "application/json" instead of "text/json"

API/v2 is using Content-Type: "text/json" headers instead.
Reference: https://www.ietf.org/rfc/rfc4627.txt & https://stackoverflow.com/q/477816/2172072

This just bit me on /api/v2/messages while working with Groovy HTTPBuilder and RESTClient. I am able to work around it in my client using the suggestion from here. Also note that /api/v1/messages (and maybe others, I did not try) is returning the same Content-Type: "text/json", so I could not just fall back to that.

Any headway on this? Unfortunately I have to create a custom Jackson Decoder (Spring Boot, Java) to be able to successfully decode the response. It's quite inconveniencing.


"Choose account" popup remains open after authenticating

After clicking "I already have a secret key" on a Blockstack app (any Blockstack Connect-enabled app, presumably), the Blockstack App extension opens in a "Choose account" popup window. I click my account and log in. A new tab opens in my main browser window, showing I am logged in to the app. The "Choose account" popup window is still open.
I think a better ux would be for the "Choose account" popup window to close itself if I successfully authenticate and log in to the app I'm trying to use.

I haven't seen this behavior personally, in that the "Choose account" popup always closes for me upon selection. Mind checking the related windows' console logs?
I assume you're using the same system and browser as with other issues you've created (Browser: Firefox 78.0.2, OS: Linux Mint 18.3)?

Hi guys. You can play with it in fullscreen mode on MacOS (chrome, safari).
YouTube video with bug

@eugeneive thank you for the video, I see where you went wrong. You never selected the button that confirms you copied your seed phrase. This is a step that you skipped in the creation process which caused your issue.
You closed the popup that asked you to confirm that you copied your seed phrase, then you selected create again, this is what caused the issue you are seeing, this is not a bug.

@john-light thanks for creating this issue, I was not able to reproduce this bug. I did see that the connect screen was maximized in the browser to full screen. I know it does maximize if a connect popup is closed so I think that it could be possible that this is a user flow issue and not a bug.
Here is a video of be running through the use case.
https://screencast-o-matic.com/u/Xl5p/

Hey @john-light could you send me a video of your issue. Hank has an open PR and would like to see if the current PR will fix any problems around authentication staying open. @eugeneive this fix may help with any issues you see if you x out of a pop up and then click the previous startup.

@timstackblock a change must have been merged since this issue was first opened as it now works as expected. the auth window is now closing when I select the account I want to auth with. closing the issue.


deps: Use standard 'context' instead of 'golang.org/x/net/context'

What this PR does / why we need it:
Following the recent mitigations around golang.org/x/net CVEs, we have come to realize we may be able to get rid of this package and use standard librarians instead.
We may be able to implement some code instead of depending on golang.org/x/ packages, where make sense.
This is the initial step to remove, at least minimize it usage, golang.org/x/net from the code base by using the standard context package instead of  golang.org/x/net/context.
"Context" type is available in standard "context" library since go 1.7 it is also mentioned in "golang.org/x/net/context" doc [1].
Some files call context.WithTimeout(), which returns cancel function, ignores the returned cancel function, casing linter errors in this regard.
These linter error resolved by change these calls to no ignore the returned cancel function.
[1] https://pkg.go.dev/golang.org/x/net/context#pkg-overview
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Generated code by protobuf  code gen require updating protobuf code gen in the builder image.
It will be fixed in follow up PR.

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:

NONE

/cc @xpivarc @enp0s3


Allow LitModular to load from checkpoints with states of Adversary

What does this PR do?

Unhide Adversary.perturber to make use of all features of pl.Trainer.
Filter out input_adv_ in state_dict to load from checkpoints with states of Adversary.
We can add command line+model.ignore_state_dict_contains=[] for training universal perturbation.

Type of change
Please check all relevant options.

[x] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

[x] pytest
[x] python -m mart experiment=CIFAR10_CNN_Adv trainer=gpu trainer.precision=16 reports 70.08%

Before submitting

[x] The title is self-explanatory and the description concisely explains the PR
[x] My PR does only one thing, instead of bundling different changes together
[ ] I list all the breaking changes introduced by this pull request
[x] I have commented my code
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have run pre-commit hooks with pre-commit run -a command without errors

Did you have fun?
Make sure you had fun coding 🙃

Is it not possible to filter in adversary.py or does load_state_dict not recurse? Hardcoding input_adv_ is a bad idea...

Good idea! I can override Adversary._load_from_state_dict().


Is the Length of the Guest Physical Address Implementation-Defined or Fixed to a Wider 2-Bit Format?

If the GPA length is implementation-defined, please consider the following questions:
1: When VSATP is SV48, the GPA length can be implementation-defined to be less than 50 bits (even though limits memory footprint). Before the G-stage, it is zero-extended to the length of HGATP.MODE (e.g., a GPALEN of 48 would require extending 2 zero bits to meet the SV48x4 format).
2: When VSATP is BARE, the accessed address is truncated according to the implementation-defined narrower GPA length and then zero-extended to the length of HGATP.MODE.

I don't see anything in the spec that justifies that the GPA size is implementation-defined; AFAICS it's fixed for a given HGATP mode.
Your second question is still relevant, though.  It's misleading to say that bare VAs are truncated before conversion to GPA.  The entire XLEN-bit address is checked, and if any bit >= GPA-width is set, an exception is raised.

When VSATP is BARE, is my understanding correct?
RV32: The wider 2-bit is zero-extended.
RV64: The wider 2-bit is accessing address[HGATP.GPALEN-1:HGATP.GPALEN-2].

Right.  And, for RV64, an exception is raised if address[XLEN-1:HGATP.GPALEN] != 0.

Right. And, for RV64, an exception is raised if address[XLEN-1:HGATP.GPALEN] != 0.

Got it, thanks. No further questions.


Add MQTT streaming source

Description
This PR add MQTT as a streaming source
Implementation relies on paho-mqtt, batching reads is performed using a Queue to fill up messages and handling them with batch.
Related #3876
Checklist

[ ] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[x] I have added unit tests that prove my fix is effective or that my feature works
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Right now, the handler is Callable[[mqtt.MqttMessage], Any], we might change that to support Serde configuration to support protobuf and avro like kafka source does.

Should be ready for review @wangxiaoyou1993
I think it might be a good idea to change handler to take a dict with the same keys as mqtt.MQTTMessage to handle parsing and decoding with future support for protobuf or avro.

Should be ready for review @wangxiaoyou1993
I think it might be a good idea to change handler to take a dict with the same keys as mqtt.MQTTMessage to handle parsing and decoding with future support for protobuf or avro.

sorry for the delay. will review it soon.


Added support for passing null in instance_market_options

Description
Added support for conditional passing instance_market_options.
Motivation and Context
Fixes https://github.com/terraform-aws-modules/terraform-aws-autoscaling/issues/208
Breaking Changes
No
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

thank you but this is not a change that we will be accepting. I will again suggest revisiting the way in in which you are using terraform


Duplicated farm run trip

🐛 Bug Report
On OSB, there was a farm run trip that was duplicated, seemingly due to some delay on the bot which allowed for 2 trips to be sent at the same time. Both trips' worth of herbs (109 ranarrs total) were given, but the correct amount of only 8 seeds were used. See the attached pictures.

How do you know only 8 seeds were used? It's possible it only used 8, but slightly more likely that it used 16, and this information could be important.

Pictures attached for kwuarm seed count before and after with timestamps. Forgot to include this info in the original post.

Feel free to report if it happens again.


Usage quickly after app launch or quickly in a sharing extension.

Thanks for this package! I'm trying to make use of it to detect if there is a network available in a sharing extension-- quickly after it starts. It's consistently just indicating there is no network connection. But, there is one. Is this expected behavior? Any thoughts?
I also see this behavior, but less consistently, when the app first launches-- and I quickly use this to detect network availability. It will at times incorrectly indicate the network is not available.

Let me correct that. It's just not giving me an initial value early into the app launch. It's not that it's indicating that the network is not available.

Dear distant-past user @crspybits
I just had this exact same issue. I ended up using withTaskCancellationHandler to resolve this race condition. Here is a playground file to get you started - although I assume you're probably finished, published and subsetted this project by now
var stashedContinuations = [CheckedContinuation<Bool, Error>]()
var latestResult: ConnectivityResult?

private struct Continuation: Identifiable {
  let id = UUID()
  let continuation: CheckedContinuation<Bool, Error>
}

func hasInternetConnectivity() async throws -> Bool {

  if let latestResult = latestResult {
    return latestResult.isConnected
  }

  return try await withTaskCancellationHandler(
    handler: {
      cancelStashedContinuations()
    },
    operation: {
      try await withCheckedThrowingContinuation { continuation in
        stashedContinuations.append(.init(continuation: continuation))
      }
    })
}

func continueAllContinuations() {

  stashedContinuations.forEach {
    $0.continuation.resume(returning: latestResult?.isConnected == true)
    print(">> responding to a continuation!")
  }

  stashedContinuations.removeAll()

}

func cancelStashedContinuations() {
  stashedContinuations.forEach({ $0.continuation.resume(returning: false) })
  stashedContinuations.removeAll()
}

Task {
  print("blah")

  DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
    continueAllContinuations()
  }
  let conn = try? await hasInternetConnectivity()
  print(conn)
}

That was my draft POC (still need to thoroughly test when implemented). Hopefully its useful for future folk


dishtv.in

Can You dishtv.in site

Please provide a link to the guide page.

https://www.dishtv.in/channelguide/


very disappointed

that there has been no new features for a very very long time. existing features like fetch futbin prices do not work as well. I had made a donation/contribution out of my savings when the dev made it all so quickly available for fifa 20, but its just been dead for months.

I'm very sorry to hear that you are disappointed. I initially started this project for learning purposes and it grew to become what it is now, completely free of charge. I appreciate the donation you made. Other personal projects occupied me for quite a while, and I'm not even playing the game anymore.
As much as I would like to continue with adding features to this project, I feel like I can't keep up the effort on my own without a proper business model in place. I will update the readme soon to make sure this is known for all users.
Futbin's change caused quite some issues for a lot of users. So as long as there is no proper API to get player prices, that will remain a problem.
If anyone wants to sign up as a maintainer of the project, who has the same core values as I have (eg. not help cheating in any way), I'm all ears.


Do you guys plan to support .Net Core?

Hi @atpyk
It would be awesome to have .NET Core support, however no one is working on this at the moment.
Are you interested in giving it a go?


texlivePackages: doc containers still not appearing in binary cache

Describe the bug
The texdoc containers are not available in the binary cache, despite having created texlivePackages for that purpose.
Steps To Reproduce
Build texlivePackages.amsmath.texdoc: it will be downloaded from Norbert Preining's personal server.
Expected behavior
All packages in texlivePackages should be built and cached.
Additional context
Is https://github.com/NixOS/nixpkgs/pull/351919 related to this?
https://github.com/NixOS/nixpkgs/blob/9f36206578abde5ab43e512916a2099b290df88a/pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix#L70-L73
Notify maintainers
@veprbl, cc @emilazy

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Seems potentially related? The idea is that the full combined packages contain all of these things so Hydra will end up building them even if they don’t have separate jobs (which are a technical bottleneck). Are these packages not contained in the combined packages? I think @vcunat may understand this setup better than me.

I don't recall much anymore.  We really do want to avoid Hydra jobs for each individual texlive package.  The heaps of "cheap" jobs are a problem even without adding these.

Are these packages not contained in the combined packages?

No, the texdoc packages add some 4GB, they are excluded by default.

We really do want to avoid Hydra jobs for each individual texlive package.

I see. In that case, should we add a texliveFullDocs package for the sole purpose of building the texdoc containers? Paired up with the way overdue update that enables .overrideAttrs { withDocs = true; } and allows us to deprecate texlive.combine.

That seems like a reasonable way forward to me.


Shields returning 503

All shields appear to be returning 503 now, but the static part of the website is working.
% curl -sD - https://img.shields.io/myget/yolodev/dt/FSharpSupport.svg
HTTP/1.1 503 Service Unavailable
Connection: keep-alive
Server: Cowboy
Date: Wed, 08 Jul 2015 20:50:27 GMT
Content-Length: 484
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache, no-store

<!DOCTYPE html>

      <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Application Error</title>

Application Error

Still seeing this message.

Yep, been an hour.

Thanks for pointing it out. It should be better now.

Thanks :clap:

I have always the same error :confused:

Also seeing 503 as of the present time.

Shields showing up successfully now.

Seems to be broken again.
https://img.shields.io/npm/v/es5-shim.svg?style=flat

Application Error

This is happening again.
What's with the recent unrelability?

@cdown Heroku. We're switching: https://github.com/badges/shields/issues/459

@espadrine :+1:

Down again :disappointed:

@jamescostian It must have been a one-off error; there was no server failure then.

Here, I'll embed an image in this post so when it's failing, you can tell:
Currently failing for me on that URL:

Been pretty unreliable the last couple weeks. Anything we can do to help out?

@ezekg You're quite right, but I have plans! I think I've set up everything needed to switch servers: #459. I'll try to operate the switch this week-end, because we have less hits on the week-end.
Then, I'll try to set up DNS round-robin between multiple servers.


Allow to change cache directory path?

🚀 Feature
Thanks for the great work! Wondering if it's possible to change the cache directory to a user specified one, e.g. having an additional parameter for StreamingDataset.
Motivation
Right now this cache path is hardcoded and cannot be changed unless we hacked into the constants.py file. However, in our case, we have an extremely slow disk that happens to be mounted to the home directory, where is currently used by litdata for caching. This becomes the biggest bottleneck even though our connection to S3 is fast enough.

Actually found a ad-hoc method to make this work, which is not documented I believe. For those curious, here a simple code snippet.
from litdata.streaming.resolver import Dir
from litdata import StreamingDataset

input_dir = "<path-to-input-dir>"
if input_dir.startswith("s3://"):
    input_dir = Dir(url=input_dir, path="<path-to-cache-dir>")
dataset = StreamingDataset(input_dir)

@cnoco1at3
you can find a documentation about this in Specify cache directory section. #Readme

Hey @cnoco1at3, thanks for the kind words. I have updated the README, so it is more clear.


Bump version to 7.3.1

Prepping for version bump.
Do not merge until green light given to bump versions (CI failures are expected)

Oof, sorry about that.  Fixed


modify name convention in line 100 file Piece.py

change from board_visualized to boardVisualized

This variable not agreeing with our naming convention belongs to a scrap file.
I added to here for the time being so everyone can play around with the code.
I plan to add this file into .gitignore today.


fix: modify testcase to repeat bind names for 3 times

Pull Request Checklist

[ ] Have you added new tests to prevent regressions?
[ ] If a documentation update is necessary, have you opened a PR to the documentation repository?
[ ] Did you update the typescript typings accordingly (if applicable)?
[ ] Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
[ ] Does the name of your PR follow our conventions?

Description Of Change

Todos

[ ]
[ ]
[ ]

Modified test case to change the order of named bind parameters.


Editor doesn't restart after installation

The information of current version of the package is stored in the editor, not in the project. That causes the problem.
https://github.com/from2001/glTFast_VisualScriptingNodes/blob/develop/glTFast_VisualScriptingNodes/Packages/com.from2001.gltfast-visualscripting-nodes/Editor/RestartUnityEditorAfterPackageInstallation.cs

issue/45

Use

EditorUserSettings.SetConfigValue("yourKey", "yourValue");
string value = EditorUserSettings.GetConfigValue("yourKey");

instead of EditorPrefs

Fixed and merged the code
https://github.com/from2001/glTFast_VisualScriptingNodes/pull/46

Released fixed version
https://github.com/from2001/glTFast_VisualScriptingNodes/releases/tag/v0.0.21


Why does echarts display the y-axis style in 4.x version, but not display it in 5.x

This issue is not created by echarts-issue-helper and will be soon closed.

For v5, this is by design. To show yAxis line and ticks, you may set as follows,
yAxis: {
    axisLine: {
        show: true
    },
    axisTick: {
        show: true
    }
}


What command can I use to be able to run the project?

Projects cannot be run in isolation, you have to clone it in directory ./obsidian/plugins and Obsidian will recognize the project automatically.
See more~ https://docs.obsidian.md/Plugins/Getting+started/Build+a+plugin


Modifies the TimeLine component to use <slot />

Found that the desc prop was very limited in functionality so I propose to use <slot /> instead so that anything can be inside a TimeLine element.
https://docs.astro.build/en/core-concepts/astro-components/#slots

Just thought that we could even use named slots to allow links (or anything else) in other parts of the component (such as linking for companies, as an example)

Hi @0x346e3730. Thanks for the PR. Yes, maybe someone needs to add more info to the component and this could be helpful.
I'll take a look at the code 👌


Updated with new dependency for windows tz ability

Updating the time functionality to allow timezone to be handled correctly in Windows and Linux versions of the ActiveGate.

Tested with:

Windows AG, SaaS and an Application change
Linux AG, Managed and a Service change

Both were successful


Safari fixed their :indeterminate bug in TP 8

Refs https://webkit.org/b/156270
Confirmed via manual testing.

Thanks!


add ditaa

Add / Remove / Edit {entry name} to/from the "{section name}" section.

Short pitch
Describe why this change is made. Alternatively, refer to existing issues if
any. You could try to answer:

Why do / don't you find this tool awesome?
How do you use this tool in your workflow?
What advantages / disadvantages does it have compared to {another tool}?

Checklist

[x] I have read and understood the contribution guidelines.
[x] If the entry is a software:

[x ] it should be maintained (at least a commit / a release in the past 3 years),
[x] it is open-source with appropriate license

[x] Table of contents has been updated (if a section is added / removed).
[ ] Contents have been sorted alphabetically.

The software seemed to have abandoned development. Last update was dated 2013.

Closing because https://github.com/writing-resources/awesome-scientific-writing/pull/44#issuecomment-1074381970


Fix docstring of frost free spell max length

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)

[x] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] CHANGELOG.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Fix the "choices" of parameter op in the docstring of frost_free_spell_max_length.

Does this PR introduce a breaking change?
No. This should not affect most users. Only users using the indicator.parameters[...].choices explicitly would be affected, for example : finch.
Other information:

coverage: 89.377%. remained the same
when pulling 635e3429ebd5676faade26dcd54543fa99058c66 on fix-ff-spell-max
into 7e4b1abc47e454ba4e65b4df35e5d3de1fbe0d3d on main.


Added pad2d with const value support

Now you can pad with value

Should probably be done with Tensor.pad as well.

@wozeparrot
I can add this to pad but you can use pad2d as pad as well pad2d is not 2d actually

@wozeparrot I can add this to pad but you can use pad2d as pad as well pad2d is not 2d actually

pad2d uses pad under the hood, but maybe we can leave pad as just a pure movement op and use pad2d as the wrapper

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/tensor.py                         5               3
------------------------------------------------------------
lines added in the tinygrad folder: 2

@wozeparrot
I believe for under the hood operations we should just use pad and shrink directly and leave decision to user for pad2d as pad2d might add useless shrink under the hood

Yea this should be in pad, not pad2d

@geohot
If we move it to the Tensor.pad then we might not be able to use it with the current pad2d as pad2d directly calls slice.
So want me to change the pad2d along with the pad or leave it as it is.

Not necessarily,
  def pad(self, arg:Tuple[Tuple[int, int], ...], mode='constant', value=None):
    if mode=='constant' and not value: return self._pad(arg)

where _pad is the mlop and won't be touched

The problem is mlops pad cant do negative padding (shrink) but pytorch api can so we need shrink in pad api

Moved value padding from pad2d to pad with pad2d support

Is this a minimal change? Why is slice using pad2d?

Slice is using pad2d because their implementation was mostly same, previously pad2d was using slice with some preprocessing.
Because slice has no "value" argument I moved slice to pad2d and move pad2d to slice.
Code except pad() is just for transfering from slice to pad2d so I believe it is minimal in order to implement "value" in pad()
I believe slice is still fully supported with pad2d

@geohot If you want I can split this in to two PRs, one adding const padding to .pad(), second one moving pad2d to slice and adding const pad support to pad2d

Yea I don't understand why slice is changing. Can you submit a minimal PR with only Pad and test?


[New-2021] Pass Microsoft AZ-303 Exam Dumps

Pass Microsoft AZ-303 Exam Dumps Preparation Material With [New Year Offer] 50% Discount
ValidExamDumps provides you Up-to-Date, Latest and 100% Accurate Microsoft AZ-303 exam questions and answers.
I hope this post will be useful for people who wants to take next step in their career and pass Microsoft Azure Solutions Architect AZ-303 Exam certification. The range of knowledge as you can see is wide and sometimes you need to know the details, but this Validexamdumps.com will make you a better specialist and will open more opportunities in front of you. I hope you pass Microsoft AZ-303 exam dumps and find your name under Microsoft Azure Solutions Architect Expert Microsoft Azure Architect Technologies Exam !
Try free demo before purchase. https://www.validexamdumps.com/microsoft/az-303-dumps

Well, that is certainly a new type of spam.

Well, that is certainly a new type of spam.

@joannaleecy

@joannaleecy


[BUG] Game's website link redirect

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
When I want to join a game through a website, Bloxstrap instead opens an app.
Bloxstrap Log
N/A

Can you please clarify? What does it open? Show a screenshot

I click on a play button on a website.
Bloxstrap menu shows up.
I click on "Play Roblox" button.
It opens a Roblox app's home page instead of an experience I want to play.

Show the latest log file from %localappdata%\Bloxstrap\Logs please

Bloxstrap_20241016T134945Z.log
This one is an attempt of fixing the other bug when RobloxPlayerBeta.exe disappeared.
Bloxstrap_20241016T135001Z.log
This one is when I tried to join for a second time

0.646.0.6460700_20241016T134958Z_Player_D397A_last.log
0.646.0.6460700_20241016T134906Z_Player_35354_last.log
Here are the ones from Roblox if needed

gtg to college, will be inactive for ~10h today

I might know what's going on, I'll send you a test build in a moment

Fixed in 2.8.1 - reopen if not


Prepare v4.4.0

@twbs/team please test/review this. I'll go through it again later to make sure everything is OK.

Alright, I pushed a few more changes. I will go again through it to make sure the redirects are OK, and if I find any redundant ones I will remove them.


Some Problems in installations

Installing Updated repository with commit https://github.com/j3ssie/Osmedeus/commit/f8d8bc53dc9756141c1f3ce0a823565253a983d5
Getting this on [+] Installing Osmedeus dependencies
....
Successfully built bs4 django-queryset-csv ansi2html csvkit agate-sql
ERROR: requests 2.22.0 has requirement idna<2.9,>=2.5, but you'll have idna 2.10 which is incompatible.
....

Then ...
[+] Installing aquatone
# cd .; git clone -- https://github.com/PuerkitoBio/goquery /root/go/src/github.com/PuerkitoBio/goquery
Cloning into '/root/go/src/github.com/PuerkitoBio/goquery'...
fatal: unable to access 'https://github.com/PuerkitoBio/goquery/': Could not resolve host: github.com
package github.com/PuerkitoBio/goquery: exit status 128

Then ...
[+] Installing tko-subs
# cd .; git clone -- https://github.com/anshumanbh/tko-subs /root/go/src/github.com/anshumanbh/tko-subs
Cloning into '/root/go/src/github.com/anshumanbh/tko-subs'...
fatal: unable to access 'https://github.com/anshumanbh/tko-subs/': Could not resolve host: github.com
package github.com/anshumanbh/tko-subs: exit status 128
[+] Installing subzy
[+] Installing goaltdns
[+] Installing gowitness
# cd .; git clone -- https://github.com/gobwas/httphead /root/go/src/github.com/gobwas/httphead
Cloning into '/root/go/src/github.com/gobwas/httphead'...
fatal: unable to access 'https://github.com/gobwas/httphead/': Could not resolve host: github.com
package github.com/gobwas/httphead: exit status 128
# cd .; git clone -- https://github.com/go-gorm/sqlite /root/go/src/gorm.io/driver/sqlite
Cloning into '/root/go/src/gorm.io/driver/sqlite'...
fatal: unable to access 'https://github.com/go-gorm/sqlite/': Could not resolve host: github.com
package gorm.io/driver/sqlite: exit status 128
package gorm.io/gorm/logger: unrecognized import path "gorm.io/gorm/logger": reading https://gorm.io/gorm/logger?go-get=1: 404 Not Found
[+] Installing webanalyze
[+] Installing assetfinder
[+] Installing waybackurls
# cd .; git clone -- https://github.com/tomnomnom/waybackurls /root/go/src/github.com/tomnomnom/waybackurls
Cloning into '/root/go/src/github.com/tomnomnom/waybackurls'...
fatal: unable to access 'https://github.com/tomnomnom/waybackurls/': Could not resolve host: github.com
package github.com/tomnomnom/waybackurls: exit status 128

and then ...
[+] Installing metabigor
# cd /root/go/src/github.com/josharian/intern; git pull --ff-only
fatal: unable to access 'https://github.com/josharian/intern/': Could not resolve host: github.com
package github.com/josharian/intern: exit status 1
# cd .; git clone -- https://github.com/x-cray/logrus-prefixed-formatter /root/go/src/github.com/x-cray/logrus-prefixed-formatter
Cloning into '/root/go/src/github.com/x-cray/logrus-prefixed-formatter'...
fatal: unable to access 'https://github.com/x-cray/logrus-prefixed-formatter/': Could not resolve host: github.com
package github.com/x-cray/logrus-prefixed-formatter: exit status 128
# cd .; git clone -- https://github.com/Jeffail/gabs /root/go/src/github.com/Jeffail/gabs
Cloning into '/root/go/src/github.com/Jeffail/gabs'...
fatal: unable to access 'https://github.com/Jeffail/gabs/': Could not resolve host: github.com
package github.com/Jeffail/gabs: exit status 128

[+] Installing massdns
Cloning into 'massdns'...
fatal: unable to access 'https://github.com/blechschmidt/massdns/': Could not resolve host: github.com
./install.sh: line 227: cd: massdns: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

Or should my connection problem?! (have tried 3 times ,,, )
besty regards

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


Add a test for the "req" command, -addext flag

This adds a positive (it should work) test to the "req" command for the -addreq flag.
And, in doing so, found a memory leak which I fixed.

Okay, made all commands all be valid (except for explicit dup testing)

Thanks for your suggestions/improvements, Andy.


Add info on editing data.json

I'm not sure that this is correct but it worked for me and is good to show an example of what the file could look like. I assume that this file is auto-updated if you opt to download data from more cities from the GUI but not sure, worth saying explicitly either way I think. Any follow-up changes to this welcome and happy to pause this if it will change more with the cli changes... I think there could be a helper function to add a new city e.g this totally made up example:
abcli add_city leeds

that would auto edit the file to avoid having to edit it directly and risk making a mistake in the fiddly JSON syntax.

Thanks for improving the instructions here! Looks good as it is.
I'm not sure it's worth adding a CLI command to manage this file. I updated this developer guide to start with "This guide is meant for people who want to work on A/B Street's code. In most cases as a user, even for importing new cities, you shouldn't need to bother with any of this."  The GUI should be easy to use for most people. If somebody's following the developer guide, we're assuming the audience is more technical and comfortable editing JSON. If not, they can do things the easy way with the GUI. My hope was the data.json file was self-explanatory to such an audience, but I think this PR makes it even more clear, so -- awesome!

Sounds reasonable, see your point re developers and this should make it easier for people new to JSON editing. Just deleted the branch, thanks for merging!


Missing parent view reference in both iOS/Android

Hi @prscX me again,
While I was investigating two different bug on iOS and Android, I found out that they actually share the same root cause.

On iOS the tooltip goes off screen if display around an element which is close to the border of the screen
On Android the tooltip appear but will stay on the screen even if the user goes to another page.

The root cause of these two issues is that the library don't require the parent view reference on the javascript side. Which should add a prop to retrieve the parent view reference.
I am also working on PR for this right now.

Thanks @StevenMasini for sharing the issue and solution. I will merge the PR.
Thanks
</ Pranav >

I am still working on the PR and testing my changes on my own project.
For now iOS work very well, even solved another bug that I didn't expect, but I will give more detail in the PR.
For android I am blocked with a bug which I think is related to this issue from react-native.
To make it simple, the method findNodeHandle does not return the right viewId to the android native side, which cause findViewById to return null.
For now there is not much I can do to solve this bug, but at least the library does not make the app crash thanks to my previous commit #13
I will try to update to the latest version of react native 0.57 (for now I am still using 0.55.4) and see if I still have this issue. If so I will open an issue there to see if we can fix it.

Hi @StevenMasini:
For Android  you need to add collapasable:false props to the view you are targeting. Basically for performance improvement RN is not maintaining view tree map in native for the container views.
But if you add collapasable:false it will start working. Please refer below link for the detailed explanation:
RNView
Please let me know incase it does not works.
Thanks
</ Pranav >

@prscX You was right, there is a correlation between this optimization and the issue that findNodeHandle has to retrieve correct viewId. This helped me to solve some issues I had in my own project. We should probably mention it in the documentation.
I am going to submit my PR soon for this issue. Review it carefully and let me know if you want to add any change to it.

@prscX I close this issue as the branch #16 has been merged.


[release-0.21] Put all our direct dependencies on our mirror

What this PR does / why we need it:
Put all our direct dependencies on our mirror
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/hold

/hold cancel

/approve
/cc @slintes


Open the correct URL when using BrowserSync

Closes #63

LGTM. The tests failed because of a travis error. Good to merge!

Published as 6.0.4


Add Nong Song: Es epico

Song Name
Es epico
Artist Name
Canserbero
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=sq6oc066w14
Direct File Link
No response
Song ID
1
Start Offset [ms]
No response
Extra
No response

accept


Mapping with inconsistent primary element name

I need to import the latest articles added to Pocket,
but unfortunately the Pocket API JSON passes items with ID.
There is a way to get all the childrens of "list" as primary element for mapping?
Something like: list/*
Thanks!

@ivanmoralesv Interesting, I think I can work something like this into the next release for you. Are you after this urgently?

Not too much :)
Thanks for your job!

No worries - will keep you informed!


Update setup.py

beaker.plot is a separate import, so you need to list it here.

grant will include a fix for this in his next PR which should fix the plot library in python.

thanks for bringing it to our attention!


crypto/tls: advertise SHA512/RSA in SignatureHashAlgorithm

This issue relates to https://github.com/golang/go/issues/9757
What version of Go are you using (go version)?
go 1.8.3
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Windows, x64
What did you do?
Tried to connect to SQL Server with go-mssql library with TLS 1.2. SQL server has a signed certificate using SHA512/RSA signature algorithm.
What did you expect to see?
Expect the communication to succeed.
What did you see instead?
Handshake fails with TLS Handshake failed: Cannot read handshake packet: EOF
The handshake failure is due to SQL server closing the connection because the signature algorithm SHA512/RSA is not in the list of supported signature algorithms in the tls library sent in the ClientHello message. The list of supported signature algorithms currently is defined here: https://github.com/golang/go/blob/master/src/crypto/tls/common.go#L139
Interestingly enough the tls library does work with SHA512/RSA if SQL server is configured to use TLS 1.1 where the server basically gets to choose which signature algorithm it uses (decided by the SSL certificate) and it is up to the client to reject an unknown signature algorithm.
Because the tls library works with SHA512/RSA it should advertise that as a supported signature algorithm.

/cc @FiloSottile

This is precisely #9757 with SHA-512 instead of SHA-384.
We already support SHA-512 certs since they require the same package as SHA-384 (b53bb2cae512ce4abbc1587a903171a9da6201cf), so we might as well advertise PKCS1WithSHA512 and ECDSAWithP521AndSHA512.
See 09b238f15516191486c65525d2e449ae00d4d921 for background.

This required adding support for SHA-512 signatures on CertificateVerify and ServerKeyExchange messages, because of the signatureAndHash extension overloading, which I'm not enthusiastic about.
To @agl for decision.


ICE not finding game on consolegrid

ICE refuses to find the image for Kingdom Hearts 358-2 Days on ConsoleGrid, even though it exists. Made sure the names were the same, even to the point of copying and pasting the name onto the file.

Hello?

Sorry I haven't had much time recently. Would you mind posting your consoles.txt and emulators.txt? And if possible your ice.log file as well.
I can try to look into this soon. ConsoleGrid issues are hard to debug, but I have some improvements for that in the pipeline.
Sent from my iPhone

On Jul 27, 2015, at 1:24 PM, deadair3210<EMAIL_ADDRESS>wrote:
Hello?
―
Reply to this email directly or view it on GitHub.

http://pastebin.com/g1d7HeRr = consoles.txt
http://pastebin.com/GEe9HB0B = emulators.txt
http://pastebin.com/JS9haqJL = config.txt
http://pastebin.com/3g5ZdzsR = log.txt
Ignore Code Lyoko, legitimate error, Kingdom Hearts is not found as a game at all.

Ah, that makes a ton of sense. Consolegrid's search has a hard time with special characters. Just referenced it in an equivalent issue on the ConsoleGrid page.

Whats weird is that it only has a problem if the special char is part of the actual title. If its separating two parts of the title like Pokemon Mystery Dungeon - Blue Rescue Team, the search succeeds


Latest release doesn't include commit 8f59720c95c15e3c357277203810867d424930e3

Looks like another release is needed that includes this commit; or move the tag.

Release 3.2.3


Found A Bug at Start Button

I have found a bug while looking at your project.
When I double click on start button, the stopwatch is not pausing and resetting.
Try disabling start button once the stopwatch is started or remove start once the stopwatch starts and display only pause button and when stopwatch is paused display only start button.
Hope this is helpful

Thank you for finding the bug @vasudevarao3, I have verified what you have said and I find this as a potential bug that might lead to more issues in the future.
I'll be working on it the issue as soon as possible.

I welcome anyone willing to work on this issue to fix the bug. If you are interested, comment here in the chat/issue-conversion.

If you wish to work on this issue, I'll assign you. If nobody comes forth, I'll be fixing it by myself.

I want to be the part of your mini project......

Go ahead @vasudevarao3, just tag your PR when you're done.

I have fixed the bug, Please check PR #4

Ok wait, Let me check...

Sorry about the inconvenience, I have accidentally committed one of the suggestions in your pull request. Can you create a new PR so that I can review your code ?

I will Send it again.....

I have created new PR #5

Thank you for your cooperation. I'll review it and notify you...


Add optional transaction simulation to functions returning transaction requests

Description
The SDK currently builds transactions that consumers can sign and send at a later stage. As the SDK does not take care of submitting these transactions, it's hard to handle any smart contract errors that may be encountered. We need to add an option to simulate these reactions to detect any potential errors and then return a useful message to help consumers move forward.
This is an example of estimate gas failing due to an error:

We need to extract the value of the reason property, which will be the revert message from the smart contract.
Acceptance Criteria

[x] Functions that return transaction requests(increaseAllowance, swapIn, swapOut) have an additional bool parameter that defaults to true to determine whether or not the transaction should be simulated
[x] These functions simulate transactions using estimate gas in a try/catch block when flag is set to true
[x] A shared function is added that takes in estimate gas error and returns the inner exception message is added.
[x] An internal mapping is created that maps some revert messages to a more user friendly message (circuit breaker tripped, trading limit exceeded, amountOut/In not enough)

I hit a minor obstacle while testing this code in the SDK. In scenarios I set up to trigger an error, the code throws exceptions before reaching the catch block in the simulation check, preventing us from receiving the modified error message.
This led me to look into how the "populate transaction" code worked. We use this function in all calls that return a transaction request: https://github.com/ethers-io/ethers.js/blob/master/packages/abstract-signer/src.ts/index.ts#L197. After reviewing the code, I saw that the "populate transaction" function also calls "estimate gas" when the transaction limit is not set. Since we neither expose the option to set a custom transaction limit nor set it ourselves, the "estimate gas" function will always be invoked as long as we use "populate transaction". As a result, we don't actually need to call "estimate gas"; instead, we could catch any errors thrown by "populate gas" and then extract and update the error message.
However, doing this is not necessary because developers handling the error can already see the revert reason within the error object. So, for now, I'm closing this issue. If we reach a point where users struggle to understand the errors, we can revisit this.


Integrate quick app installation script.

Integrate quick app installation script.
Create install.sh file.
Create console command "install:app".
Add checkDatabaseConnection function in helper file.
Add default database SQL file which is used while dumping the default database directly.

I would say, this is nice, but we have migrations and seed, so I would prefer if the script runs those commands instead of dumping the sql.

@ruchit-viitorcloud  Thanks for this PR. Please write the necessary steps in the readme as well.

I would say, this is nice, but we have migrations and seed, so I would prefer if the script runs those commands instead of dumping the sql.

Hello @bvipul , I have already added those commands.
When any user runs the script at that time script populate with options like,  "You want to dump database sql ? ". If user select no at that time script continue as it is and new options populate with "You want to migrate tables ?" and after that "You want to seed your database? "
Let me know if you need any help with the same script.
Thanks.

Hello ruchit, I know you have added those methods, but the thing is, the options for running migrations And seeds should be mandatory, because without those the app won't run. So, you just need to remove asking them if they want to run migrate/seeds and migrate and seed for them. I hope I am clear. Do tell, if you have anything to add

@bvipul  done, could you please check and update me.


Cursor should not be pointer if underlying component is not clickable

The cursor should be default if the card does not have a link in title prop

You might want to wait for below GIF to load 👇🏽

I want to work on it


Problem with custom MarkerFocused bounding for ItemizedOverlayWithFocus

I creating overlay like this:
new ItemizedOverlayWithFocus<OverlayItem>(
            items,
            getResources().getDrawable(R.drawable.my_marker_default),
            getResources().getDrawable(R.drawable.my_marker_default_focused_base),
            ItemizedOverlayWithFocus.NOT_SET,
            new MyItemizedIconOverlay.OnItemGestureListener<OverlayItem>(),
            getBaseContext()
);

Problem: When I click on marker, tooltip is showed over the marker, not on the top of it, as I want and as with default marker Drawable.
As I see here: https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/osmdroid/views/overlay/ItemizedOverlayWithFocus.java#L80
If value for pMarkerFocused is null, then it is obtained via boundToHotspot().
But I can't use this method for my Drawable, becouse it is defined as protected.
Is this a bug or I should use another way?
https://github.com/osmdroid/osmdroid/blob/e205d7fa2b87dbe6c1cd59a70c602980822606c5/osmdroid-android/src/main/java/org/osmdroid/views/overlay/ItemizedOverlay.java#L347

And if I add different markers (Drawable) for different items for ItemizedOverlayWithFocus I can use OverlayItem.setMarker() method https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/osmdroid/views/overlay/OverlayItem.java#L115
But how to set markerFocused Drawable as in ItemizedOverlayWithFocus.mMarkerFocusedBase??

You need to setMarkerHotspot on the item, like this:
item.setMarkerHotspot(OverlayItem.HotspotPlace.TOP_CENTER);

@Jackcar, however, doing so places the center point of the marker/icon on the geopoint, thus if I have a marker that perhaps like Google Maps with a point on the bottom, this point no longer is placed at the geopoint as desired.

i would suggest using the Marker class as it provides a lot more drawing options


Do not keep generated code in repo

Right now, we have a Gradle module that exposes an entry point for generating certain Kotlin files: https://github.com/typesafegithub/github-workflows-kt/tree/main/automation/code-generator. They are put inside a source set of the library for generated code, and later compiled with the library. The input for the process is a set of JSON files.
It doesn't cause any problems as is, but because right now this code is kept in the repo, we have to run a job that ensures the code generated with the mentioned module is equal to the code kept in the repo. It consumes extra GitHub Actions resources and cutters the list of GitHub Actions jobs in each PR.
The idea is to somehow hook this code generation logic into the library's build logic. It would be best to make it in such way that these files are available like now, I. e. the IDE magically knows when to regenerate them. Maybe KSP is a good idea? See https://proandroiddev.com/so-how-do-i-write-a-kotlin-symbol-processor-ksp-b9606e9e3818 and the custom annotation is probably not needed.

Left to do: let's move the code-generator module one level up, to simplify the hierarchy.


[spi_device] Guard SW access to DPSRAM while in SPI transaction w/ Flash / Passthrough mode

If upload function is active, there's chance that the upload module tries to push entries to fetch from DPSRAM and SW to access the DPSRAM.
This condition should be handled.

upload module to use grant.
SW to lower the priority in the sram arbiter (prim_sram_arbiter to have Fixed Priority)

number 2 could be easy and hacky to do :)
you could just silence the software request whenever there is another non-software request hehe.

number 2 could be easy and hacky to do :) you could just silence the software request whenever there is another non-software request hehe.

Sounds good :) I should do that until prim_sram_arbiter implements Fixed Priority

Implemented in #10068 Thanks! I will also work on Hw Grant too.

@eunchan i'm pretty sure this one has already been handled.
I'll close for now, please re-open if you disagree.


Fix 4009

Don't know if/when I'll have time to finish #4017, so pulling out the fix for #4009 into a separate PR here that is ready to merge.

[x] Closes #4009
[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst

Thanks @johnomotani


Priority over Wildcards ?

Hi,
Is there any mechanism for sending a message to a node who listen specificly to a topic, but if nobody has subscribed to this specifi topic, then we will try to query subscribers with wildcard.
Bellow is desired behaviour :
NATS.subscribe( "foo.bar.>" , :queue => 'job.workers') { |msg| puts "I do wildcard!" }
NATS.subscribe( "foo.bar.qux" , :queue => 'job.workers') { |msg| puts "I do qux!" }

NATS.request('foo.bar.qux') { |response| puts "QUX got a response: '#{response}'" }
NATS.request('foo.bar.baz') { |response| puts "BAZ got a response: '#{response}'" }

Desired output :
QUX got a response: I do qux!
BAZ got a response: I do wildcard!

If the wildcard matches it will be considered a valid subscriber along with the direct. There is not a mechanism to prioritize or segregate traffic between valid subscriptions.


build error when i use imagemin-webpack-plugin? i dont know how to resolve

Are you sure it's from this plugin? I don't see anything in your image that points to an error in this plugin, but I'm more than happy to help you resolve it!
What version of webpack are you using, and are you willing to share your webpack config with me to take a look?
From looking at it, it looks like cross-spawn is throwing enoent errors, which means a file can't be found. So it could be permissions issues on your system.

sorry，I only saw the information。my node version is v10.16.0，and npm version is 6.9.0。and the imagemin-webpack-plugin version is 2.4.2。

this is my webpack config，i dont know what wrong

Same error here - notFoundError for file cross-spawn/lib/enoent.js
`
Error: The system cannot find the path specified.
at notFoundError (C:\Users\XXXXXX\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Users\XXXXXX\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Users\XXXXXX\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

`
While I can see any reference to that file in imagemin-webpack-plugin, removing it from my webpack config got rid of the error


Cannot find module async/setImmediate

I installed 12.1.0, and got this error. Call stack:
Error: Cannot find module 'async/setImmediate'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (.../node_modules/ipfs-block/src/index.js:4

I downgraded to 10.0.0 to resolve this. This problem exists in 11.0.0 and on.

which npm version are you using @drauschenbach ?

This is probably related to the other PR/issue @VictorBjelkholm fixed for this, I just can't remember which module it was.

ok, @drauschenbach can you try again?

Tried again with 12.1.2, problem remains. I'm using npm v3.9.5.

This was fixed in https://github.com/ipfs/js-ipfs-block/pull/23 but there was no new release of ipfs-block since then. Making a patch release for ipfs-block now, which should be picked up by a fresh install of ipfs-api.

Published https://github.com/ipfs/js-ipfs-block/releases/tag/v0.5.4

This issue isn't closed until the next tag & release of ipfs-api.

This issue is still with me, now due to the peer-id module apparently:
      Error: Cannot find module 'async/setImmediate'
           at Function.Module._resolveFilename (module.js:440:15)
           at Function.Module._load (module.js:388:25)
           at Module.require (module.js:468:17)
           at require (internal/module.js:20:19)
           at Object.<anonymous> (/app/node_modules/libp2p-crypto-secp256k1/src/crypto/index.js:5:22)

+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>...
| +--<EMAIL_ADDRESS>...
| |   +--<EMAIL_ADDRESS>| |   | `--<EMAIL_ADDRESS>...

Just released:
+<EMAIL_ADDRESS>[17:27:57] Published to npm.

Could you please try again? Apologies for the troubles, somehow this escaped CI and our testing.

Works -- thanks!


Fix problem with covid_hosp skipping state revisions.

Prevents future recurrence of the HHS state hospital admissions outage active 2023-01-12.
Prerequisites:

[x] Unless it is a documentation hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

Summary
In January 2023, we noticed that the HHS hospital admissions data had unusually high lag. On investigation, it turned out that timeseries datasets had not been fetched in over a week, even though new timeseries revisions were available from healthdata.gov. It turned out that successful import of daily revisions (which in Jan 2023 have 7 days of lag, while timeseries revisions have only 1-2) were masking the new timeseries revisions from the acquisition system.
This PR changes the usage of the dataset_name column in the covid_hosp_meta table from containing the data table name (for which covid_hosp_state_timeseries is shared by both the timeseries and daily revisions pipelines) to containing the healthdata.gov dataset ID (which is unique). This lets the acquisition system check for the last known timeseries file when pulling timeseries revisions, and the last known daily file when pulling daily revisions.
This PR also changes how we track metadata. Previously, each run of the pipeline collected together all revisions posted to healthdata.gov on a particular day, and recorded only one line in metadata for the whole batch -- preventing us humans from having any idea whether any particular file from healthdata.gov was actually ingested by the acquisition system. The proposed change records a line in metadata for each file from healthdata.gov which is included in the batch.
This PR includes a migration to run after deploy and before next acquisition, which will update the covid_hosp_meta table to tag state rows with their healthdata.gov ID based on the name of the revision file stored in the revision_timestamp column.
Things this PR DOES NOT include:

changing the older_than inequality to permit pulling revisions from the current day: we exclude current-day revisions on purpose to avoid a scenario where the initial data reported for an issue turns out to be incomplete and must be updated later, i.e., needing to version our versions in addition to versioning the reference dates. essentially, we wait until we're sure the issue from healthdata.gov is complete before ingesting it.
checking the metadata table and skipping acquisition of revisions that are already listed: this is potentially desirable as a mechanism for minimally backfilling the last two years of potentially-skipped revisions, or as a mechanism for relaxing our insistence on excluding current-day revisions if we think 12-24 hours of reduced lag is worth the consequences. we'd need to include a way to turn it off though, since our current method of pulling in new columns on past data is just to re-acquire the files.

@melange396 done


microsolf edge

[Enter feedback here]

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

ID: cf05a7bc-42b9-118a-1d7a-40535d0c21ca
Version Independent ID: 48713b46-3ce3-0d16-d9f2-22c04c6761c2
Content: Registering Miniport Driver Functions for WDM Lower Edge - Windows drivers
Content Source: windows-driver-docs-pr/network/registering-miniport-driver-functions-for-wdm-lower-edge.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @aviviano
Microsoft Alias: amvivian

@stephane439 . Whats your query in this article?

Thanks, @stephane439 for using the Issue reporting tool for the repo. I don't see any question about Microsoft Edge or any driver problems, so I am going to close this out. If you do have feedback or a question, please leave details in the Issue.
Thanks,
Eliot


Presentation: Fix presentation-test-app layout issue

After #1280, GlobalContextMenu started rendering a <div />, which broke presentation-test-app layout. This PR fixes it.

I think this needs to be fixed on the GlobalContextMenu component level by adding display: "none" style to that empty div. Otherwise, other applications will likely need to adapt their layout too.

I think this needs to be fixed on the GlobalContextMenu component level by adding display: "none" style to that empty div. Otherwise, other applications will likely need to adapt their layout too.

@bsteinbk what do you think?

@grigasp What issue is this causing so I can add a test and fix the problem? I had to add that div so it can mount the div and I can extract the ownerDocument so context menus work in popout windows.

@grigasp @roluk Can you used a PopupContextMenu like https://github.com/imodeljs/imodeljs/blob/bd45d29dcf184d8f071c6d9c8f52dcb450b1ff05/test-apps/ui-test-app/src/frontend/appui/frontstages/component-examples/SamplePopupContextMenu.tsx#L27 instead of a GlobalContextMenu? Like I said, I need to anchor the portal to a document in either the main window or a popup window. The target (to the button) in the PopupContextMenu gives me the ability to associate the popup with the proper window.

@grigasp @roluk Can you used a PopupContextMenu like
https://github.com/imodeljs/imodeljs/blob/bd45d29dcf184d8f071c6d9c8f52dcb450b1ff05/test-apps/ui-test-app/src/frontend/appui/frontstages/component-examples/SamplePopupContextMenu.tsx#L27
instead of a GlobalContextMenu? Like I said, I need to anchor the portal to a document in either the main window or a popup window. The target (to the button) in the PopupContextMenu gives me the ability to associate the popup with the proper window.

@bsteinbk We already have a good enough fix in this PR. I think what @roluk wants to say is that adding this div likely caused issues not only in our test app, but also other consumers, so it would make sense to fix it in GlobalContextMenu. I confirmed @roluk's suggestion helps for the layout issue in our test app. Can you check setting display: "none" still allows you to associate it with the window?


add macro colors to theme file

especially for the bools.  A matching green and red would be nice.
It just requires that weird nesting in the theme file

I did it for the check and x boolean macros.  It's sloppy in terms of generating the language/theme for them, but good enough for now


Example getAltitude doesn't work

The Altitude example doesn't work. It requires an input, sea level pressure, such as the Standard pressure at 1013.25 hPa,
alt = SW01.getAltitude(101325);
See WikiPedia

Exampled fixed by 9b8077d


Differences Between WhiteBox Attacks

Hi,
There are four padding attacks implemented in the library that add in bytes: c_padding_evasion, c_kreuk_evasion, c_fast_gradient_sign_evasion, c_suciu_evasion. I know that  c_kreuk_evasion uses c_fast_gradient_sign_evasion when no indexes_to_perturb is given. But c_suciu_evasion doesn't seem to have its own _run() function, instead it calls  c_kreuk_evasion. Are  c_kreuk_evasion  and  c_suciu_evasion doing the same thing? Additionally, if I wanted to find indexes_to_perturb outside the ones calculated by c_kreuk_evasion is that possible?

Hi,
I was wondering about them from an implementation level. There is no run() function associated with c_suciu_evasion


Upgrade/preparing for react 16

As part of the modernization of the Express Proxy and React UI, we need to remove the createClass, as this is not supported in React 16+.

Remove React.createClass({}), replacing with class ComponentName extends React.Component {}

@mstier-nflx @hunterford please review when you get a chance, thanks

@hunterford I resolved the conflicts. Can you please re-approve and merge these changes when you get a chance?
Thanks.

@mstier-nflx can you please merge this so I can avoid further conflicts?

@hunterford  @cyzhao @mstier-nflx  any feedbak, thoughts, etc? I have the redux upgrade behind this one done, and I am working on the React 16.4 and Router upgrade along with some elastic dash-boarding behind this and my other pull request.


accessing/updating weights w/o optimizer?

This is not a big deal, more of an intellectual interest than an actual need.

I know that using optimizers (SGD, Adam, ...) we can easily update the weights of models. However, is there a way to access the model weights / update them manually ourselves ?

The example at https://pytorch.org/tutorials/beginner/examples_nn/two_layer_net_nn.html#sphx-glr-beginner-examples-nn-two-layer-net-nn-py uses the nn module to compute the gradients, but then tries to manually date it as follows:
model = torch.nn.Sequential(
    torch.nn.Linear(D_in, H),
    torch.nn.ReLU(),
    torch.nn.Linear(H, D_out),
)

while training :
    forward pass
    backward pass

    with torch.no_grad():
        for param in model.parameters():
            param -= learning_rate * param.grad

When I try to convert this over to tch-rs, the model becomes a tch::nn::Sequtnail, which also implements tch::Module.
Is there a way to either (1) grab the parameters or (2) update the parameters,
or does current design require that we use an optimizer and have the optimizer do the updating work?
[[ This seems this might be useful if the end user wants to write their own custom optimizer ]]
Thanks!

You can certainly do so. The mnist-linear example shows how to perform (2), but there is no real need for (1) in this case as the parameters are known.
(1) can also be automated to work on all the parameters in a var store, e.g.
fn my_module(p: nn::Path, dim: i64) -> impl nn::Module {
    let x1 = p.zeros("x1", &[dim]);
    let x2 = p.zeros("x2", &[dim]);
    nn::func(move |xs| xs * &x1 + xs.exp() * &x2)
}

#[test]
fn gradient_descent_test() {
    let vs = nn::VarStore::new(Device::Cpu);
    let my_module = my_module(vs.root(), 7);
    for _idx in 1..50 {
        let xs = Tensor::zeros(&[7], kind::FLOAT_CPU);
        let ys = Tensor::zeros(&[7], kind::FLOAT_CPU);
        let loss = (my_module.forward(&xs) - ys).pow(2).sum();
        for mut v in vs.trainable_variables() {
            v.zero_grad();
        }
        loss.backward();
        tch::no_grad(|| {
            for mut v in vs.trainable_variables() {
                v -= 0.1 * v.grad();
            }
        });
    }
}

Maybe it would be good to have a tutorial for such examples with a column for the python code and a column for the rust code.

Thanks!
I translate the full example as
use super::*;

fn main(opts: (tch::Kind, tch::Device)) {
    let (d_n, d_in, d_h, d_out) = (64, 1000, 100, 10);

    let x = tch::Tensor::randn(&[d_n, d_in], opts);
    let y = tch::Tensor::randn(&[d_n, d_out], opts);

    let vs = tch::nn::VarStore::new(opts.1);

    let model = tch::nn::seq()
        .add(tch::nn::linear(
            vs.root(),
            d_in,
            d_h,
            tch::nn::LinearConfig::default(),
        ))
        .add_fn(|xs| xs.relu())
        .add(tch::nn::linear(
            vs.root(),
            d_h,
            d_out,
            tch::nn::LinearConfig::default(),
        ));

    let learning_rate = 1e-4;

    for t in 0..500 {
        let y_pred = model.forward(&x);

        let loss = (y_pred - &y).pow(2).sum();

        for mut v in vs.trainable_variables() {
            v.zero_grad();
        }

        println!("{}: {:?}", t, loss);

        loss.backward();

        tch::no_grad(|| {
            for mut v in vs.trainable_variables() {
                v -= learning_rate * v.grad();
            }
        });
    }
}

I don't see how to use the mnist-linear technique as we define the model via tch::nn::seq().add(...), but the mnist-linear technique seems to require to explicitly has the weights as tensors.
However, the vs.trainable_variables() solved all my problems. thanks!
=====
I have translated the examples at https://pytorch.org/tutorials/beginner/pytorch_with_examples.html , with the exception of the Tensorflow example and the "need support for custom backward" example.
See attached:
pytorch_by_example_translation.zip
I'm not sure if a line by line conversion would have helped much. The most useful thing was being forced to read through parts of the tch-rs code (which I think is inevitable due to Rust/Python differences.)

Glad that it ended up working.
A line by line conversion may indeed not be super helpful as it would be a bit hard to read and most of the benefit comes from actually writing the code. So not sure how to help people with this learning curve, maybe having some kind of blog posts describing the experience of adapting some pytorch code to rust and the common hurdles along the way?

Let me translate a few more examples, logging points of frustration, and get back to you this.
Thanks again for the vs.trainable_variables insight!


Hashicorp Vault wallet implementation proposal

Currently, the fabric operation console wallet implementation uses the local browser storage to store the user identities (cert and private key). The console user must download those identities locally to persist them. This can be a cumbersome process that requires additional steps to keep the downloaded data secure.
Hashicrop Vault can be used to persist automatically the user identities and keep the data secure without the need to download and manage locally.
The fabric operations console wallet can be extended to support Hashicorp Vault as a secure store of the user identities.
The idea is to abstract the existing wallet implementation and introduce a new Hashicorp Vault based wallet. Furthermore, a configuration can be enabled to control what wallet impl to use based on the specific deployment needs. That way the console would support the current wallet impl and the new Hashicrop Vault based impl.
My team at Senofi is willing to contribute the implementation to the project.

@TsvetanG thanks for the proposal, so what i think we could do is make the wallet more plug-able/modular. we could make a spec that a wallet would need to implement, and a user could configure their console to use 1 of many wallets, which could include hashicorp. the actual wallet code would sit in it's own repository, and it would be pulled into a console build when we bundle the fontend js.
i like the idea of this plug-able wallet solution, because ALL users don't have to download code and get maintenance updates from every different wallet implementation, when they are only using 1 particular kind.

so next steps would be to define the wallet api spec, and make some stubs to bring in other wallets during our esbuild process

@dshuffma-ibm Do you think we should be adding the Wallet vault implementation inside the fabric operations console git repo or we should use a dedicated repository?

@TsvetanG a dedicated repository

Here are the technical details.
In a nutshell the idea is to change the Fabric Operations Console front-end and backend so that it can support other identity storage (Hashicorp Vault). The following changes may achieve that:

Change in Fabric Operations Console front-end
The current wallet is implemented in the front-end and uses the browser storage. Hashicorp Vault based wallet impl will be implemented in the backend. Hence the front-end should be able to use backend wallet API to perform the identity(wallet) related operations. The abstraction of the wallet impl will happen in the backend using modules (see further below). In order to keep the current browser based wallet impl working a new class IdentityStorageFactory will be introduced. The IdentityStorageFactory (based on a configuration) will either use the exisitng browser storage impl or call the wallet backend APIs. The new factory class will be used by the existing IdentityApi class.

Implementation of Wallet  REST API on the backend of Fabric Operations Console
Implement a new wallet API that will handle the requests from the front-end (in case the front-end it is configured to use the backend based Wallet APIs). The new endpoint handlers will use an external module which provides a wallet storage client. The client will be abstract. The proper specific wallet module configuration can be provided during build/deployment.

Implementation of a module which provides the wallet storage
The implementation of the wallet can exist and be maintained outside the console. This module will be a separate node_module and will be installed in the console as an external module.

@dshuffma-ibm : let us know what you think.

@ckpaliwal What are your thoughts?

@TsvetanG
I'm weighing my options and will let you know.

@ckpaliwal Do you have any update?

Discussed with @TsvetanG today. Current thinking is to keep the implementation simple by having console repository natively support both the browser storage and Hashicorp vault storage, with a simple configuration that determines which will be used.

Pull Request ready for review https://github.com/hyperledger-labs/fabric-operations-console/pull/781

@dshuffma-ibm Thanks for merging the pull request to the experimental branch. Could you also start the build so we can get the images published?

on it, I made a tag, looks like its building now, job: https://github.com/hyperledger-labs/fabric-operations-console/actions/runs/11371570067/job/31633935822

@dshuffma-ibm the build is ready and the package is available. Thank you for reviewing and moving that feature in. I am closing the issue.


Allow integrating to new LocalCAS keepalive time

This is opt-in by user. Integration for https://gitlab.com/BuildGrid/buildbox/buildbox-casd/-/issues/89

[00:02:11] FAILURE [ffeab612] hello.bst: tar source at hello.bst [line 16 column 2]: Error mirroring http://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz: <urlopen error [Errno 99] Cannot assign requested address>

@juergbi @abderrahim @gtristan would it be possible to get this merged please?

Landing now that we have a bst-2.1 branch.

Opening up on what @juergbi said above:  it was decided this goes out in 2.2.x since it allows projects to require 2.2 as minimum version of BuildStream (and take this feature into use).


bpfd: Use sensible exit codes

When we encounter an error, we should exit using one of the standard codes:
https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Closing since this really only applies to being a daemon


maybeSingle() Spams API Logs with 406 Errors

Describe the bug
When using maybeSingle(), if no rows match the query the client properly produces a null value. However, from looking at the API logs, the server throws a 406 Not Acceptable error. Presumably the client is telling the server this is a single() and simply catching the error on no data.
This sounds like intended behavior so I'm not sure whether or to call this a bug report or a feature request, but either way I'd really like maybeSingle not to pollute our error logs with 406's because it makes it much harder to figure out what our true error rate is and especially makes it hard to ensure that there are no legitimate 406 errors (ie a single() request finding no data).
To Reproduce
Steps to reproduce the behavior:

Create an empty table named test_foo with arbitrary columns
Run the following query from a client:

await supabase
  .from('test_foo')
  .select()
  .maybeSingle();

Query the API error logs for the relevant request:

        select
          t.timestamp::datetime as timestamp,
          t,
          response
        FROM edge_logs t
          cross join unnest(metadata) as m
          cross join unnest(m.response) as response
          cross join unnest(m.request) as request
          cross join unnest(request.headers) as headers
        WHERE t.event_message like '%test_foo%'

See that the request(s) produces 406 errors:

Expected behavior
maybeSingle() triggers a 200 OK or a 204 NO CONTENT or some other non-error HTTP response when no rows match the query.
Generally, I'd like it if the client never relies on the server returning an error status code for intended behavior. I'd like to be able to look at the API logs and know that every error (barring maybe retries and some other minor edge cases) represents a potential user-facing problem.
Version (please complete the following information):
├── supabase_flutter 1.10.0
│   ├── supabase 1.9.0
│   │   ├── functions_client 1.3.0
│   │   ├── gotrue 1.8.0
│   │   ├── postgrest 1.3.0
│   │   ├── realtime_client 1.1.0
│   │   ├── storage_client 1.4.0

Additional context
This problem scared the heck out of me when we launched because our API logs have a way-too-high ~1% error rate:

On inspection, over 50% of our 400+ responses are 406's. It took me several hours of panicked debugging to identify the maybeSingle() issue. I'm still not sure if all of our 406's are false alarms-some may still be legitimate users-facing issues. This also distracted me from inspecting our second largest group of errors (500's) which turned out to contain some legitimate bugs (poorly optimized queries timing out) massively hurting our user expierence.
I reached out to Supabase email support about this issue and they were not very helpful. I repeatedly asked what the 406's meant and if they were a problem or just expected behavior when using maybeSingle() and I repeatedly got unrelated answers.

I will transfer this request to postgrest-js ot discuss it with the rest of the team.


Add loading indicator

Add spinner and text when data is being fetched #10
I'm pretty sure this markup could have been done better
div.text-center(style="display: flex; justify-content: center; position: relative;")
          button#submit(type="submit") Authorize & Backup
          span#loading.loader(style="display: none; position: absolute; left: 65%;")

Thank you for the pull request. Unfortunately, it doesn't fully solve #10 . The spinner is only visible until the /export request returns. However, the export is only finished after /download request finishes.
While the current state is bad (no loading indicator at all), I would argue that the proposal makes it worse - now users may think that once the loading spinner moves away, the download is completed - which is not true.
I've created this project 10 years ago, mostly as a learning experience. And the code shows that, making some changes quite difficult. As far as I can tell, I used window.location.replace to redirect to the /download endpoint. As the endpoint returns a file, the browser downloads the file and the code relies on native browser handling. For some reason, we don't see a native browser tab loading.
What could work (just tried it as a proof of concept) would be to replace the window.location.replace with
    await fetch(persistentBackupUrl);

Unfortunately, I currently don't have the time to further look into this.

@darekkay, I'm sorry for wasting your time. At the time of development, I was experiencing network issues which prevented me from downloading data from Todoist. This also made it difficult for me to detect the early disappearance of the spinner, as network errors consistently resulted in an error page.
Thanks for the suggestions. Now it's done and tested.

@kashiashvili No problem, no time wasted. I just don't put much priority on this project in general. I had finally a look into your latest changes and it seems to cause a new regression: not all data is exported when selecting JSON + "all data". On the main branch, all data is exported (for me 18 MB); with your change, it seems to break the export too early (only 602 kB for me).


Overwriting OpenP command

Could it be that the chatbox overwrites the OpenPeripheral glasses command?
I found this in the log: [Server thread/INFO] [MoarPeripherals/MoarPeripherals]:  [MoarP]: Detected OpenPeripheral-Addons installed. Registering the terminal glasses command as a ChatBox command so it is ignored by ChatBoxes.
And the glasses command doesn't work anymore

Already addressed in OpenMods/OpenPeripheral-Addons#65

Already addressed in OpenMods/OpenPeripheral-Addons#65


llvmPackages: 17.0.6 -> 18.1.5 on Linux

Description of changes
The next staging cycle will likely have Rust using LLVM 18 (https://github.com/NixOS/nixpkgs/pull/309580), so to avoid ending up with more LLVMs in closures than necessary, it's time to start working on upgrading the default in general.
I've built all my systems with LLVM 18 with no build regressions (which is better than 16 -> 17, where there was 1), so hopefully it'll just be a few leaf packages that need to have their LLVM versions pinned.  Or maybe we'll be lucky, and the pinning from last round will mean there aren't any?
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Tried a nixpkgs-review (big mistake with all the nix log errors) and a lot of packages are borked on aarch64-linux.
900 packages marked as broken and skipped
23748 packages failed to build

I tried on the aarch64 builder and it appears that works better. Must be Apple Silicon related weirdness.

Builds fine for me on Apple Silicon, fwiw.

If you only tried building with nixpkgs-review, it was very probably the CPU or memory contention issues I mentioned before.


Use iris landmarks in python

Dear miss/mister,
I can't get the landmarks working in python. I followed this issue solution: https://github.com/google/mediapipe/issues/1530
(mp_env) sjoerd@sjoerd-GL552VW:~/mediapipe-<IP_ADDRESS>/mediapipe-<IP_ADDRESS>$ python3 setup.py gen_protos
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running gen_protos
generating proto file: mediapipe/framework/calculator_profile_pb2.py
google/protobuf/any.proto: File not found.
mediapipe/framework/calculator.proto: Import "google/protobuf/any.proto" was not found or had errors.
mediapipe/framework/calculator.proto:273:14: "google.protobuf.Any" is not defined.
mediapipe/framework/calculator_profile.proto: Import "mediapipe/framework/calculator.proto" was not found or had errors.
mediapipe/framework/calculator_profile.proto:194:12: "CalculatorGraphConfig" is not defined.
(mp_env) sjoerd@sjoerd-GL552VW:~/mediapipe-<IP_ADDRESS>/mediapipe-<IP_ADDRESS>$

Hi @SjoerdTimovanVliet, Thank you for reaching out to us regarding the above issue. Could you please provide complete details like your code changes and error logs.

@sgowroji How can you use iris tracking with python on windows?

@DSgUY  Did you check this https://github.com/google/mediapipe/issues/1530#issuecomment-790210796.

@DSgUY Did you check this #1530 (comment).

Thanks for your fast reply.
Yes but I have this errors:
I generate the protos with python setup.py gen_protos but then get and error when python setup.py install --link-opencv
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
ERROR: Error fetching repository: Traceback (most recent call last):
ERROR: Analysis of target '//mediapipe/modules/face_detection:face_detection_front_cpu' failed; build aborted: Repository command failed
INFO: Could not find files for the given pattern(s).
INFO: Elapsed time: 0.248s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
Im using windows and python 3.9

Hi @DSgUY, Can you raise a new issue with complete details and steps to reproduce the above error.  Thanks!

We are closing this issue due to lack of activity from the reporter!

@sgowroji when i ran  python setup.py install --link-opencv, it is throwing a error as represented below
$ py setup.py install --link-opencv
running install
running build_binary_graphs
could not find bazel executable. Please install bazel tobuild the MediaPipe Python package.
I have followed the installation steps mentioned https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows here to install bazel and also set the environment variables as mentioned below

Hi @sandesh1994199, Can you raise the above comment as a new issue. Present issue is about iris landmarks in python.


lib.es2015.iterable.d.ts includes Promise

This means that
tsc --lib es2015.iterable @types/es6-promise/es6-promise.d.ts
fails with
Generic type 'Promise<T, R>' requires 2 type argument(s).
because lib.es2015.iterable.d.ts chose a different name for the free template variable than the es6-promise typing everyone uses from DT.

so what is the proposal? iterable adds some functions that return a Promise.

Maybe it used to, but doesn't at head: search Promise in https://github.com/Microsoft/TypeScript/blob/master/lib/lib.es2015.iterable.d.ts
proposal is to remove Promise and PromiseConstructor declarations in that file.

That means that Promise will reference iterables. Are you saying that this is less common?

es2015.promise.d.ts doesn't mention Iterable. Why should there be a dependency between the two at all?

So in https://github.com/Microsoft/TypeScript/blob/master/lib/lib.es2015.iterable.d.ts#L123-L139, we have some iterable references, e.g.:
interface PromiseConstructor {
  ...
  race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
}

this is why we have PromiseConstructor in this file, to augment it with the iterable overload.
we could move this out to es2015.promise.d.ts. but that means that es2015.promise.d.ts will need to have a declaration for Iterable<T>. hence my question; if we believe more ppl will be using itrables with es6-promise-shims, then we should be putting it in promise.

Ah, I see now. What we really want is for that one line in lib.es2015.iterable to declare "there's an interface named Promise that takes one generic parameter, but I don't know what name it has". No such syntax, right?
interface Promise<?> {}
That would make the file compatible with es6-promise.d.ts from DT.
cc @rkirov

I tried just a bit harder, and found that our Promise<R> is just old - it was already fixed on DT:
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/830e8ebd9ef137d039d5c7ede24a421f08595f83#diff-f53514e542177d42bff33f6076b1fea9


LinkedIn r_fullprofile not supported

authService.getRequestToken() return error now:
Response body is incorrect. Can't extract token and secret from this: 'oauth_problem=Scope%20NOT_AUTHORIZED%20%3A%20r_fullprofile'
r_fullprofile is not supported now https://developer.linkedin.com/support/developer-program-transition
Please, fix this.

pull requests are welcome :smiley: !

any updated on this? why was this closed? this is still not supported

possibly, it has been fixed, at least partly. check the new version of ScribeJava

ahh nevermind , It seems this is only working if the application is accepted to the Apply with LinkedIn partner program ( https://developer.linkedin.com/support/developer-program-transition )
Sorry for the trouble. THank you very much
I love this library :)


GoogleSignIn Plugin fixes

Do not check serial execution for getTokens(). I looked into whether we should be caching tokens and it seems both iOS and Android do this caching already. The tokens have a lifetime of 1-hr by default. Calling getTokens(), even concurrently, should not be a problem.

Assert serial execution of signIn/signOut methods on iOS just like we are doing on Android.

Ignore this PR for now. Android side is not right.

OK now it should be ready.


AutoIngest Better

[x] Dataset -> {json}
[x] Project -> {json}
[x] channel {   }
[x] success (with better explanation after)

@Aeusman This is now in master. Confirm and close issue when you get a chance.

Import error on jsonspec.validators in ocpcaschema.py after clean install, can be seen here: http://ec2-54-201-19-176.us-west-2.compute.amazonaws.com/ocp/accounts/login/

@Self Resolved


How to obtain simpleaf previous versions

Hello,
I would like to create a conda env with simpleaf version 0.11.0 but I get the following error wen I try to create the env.
PackagesNotFoundError: The following packages are not available from current channels:

simpleaf=0.11.0

The reason for wanting to use a previous version is that I have used that version for analysis some time back and would like to rerun more analysis with it for a publication. Unfortunately I had to rebuild my conda hence not having my previous simleaf env.
Please let me know how to obtain this version.
Thank you

I realized that the version I had used was version 0.10.0 which is available. Closing this issue.

I realized that the version I had used was version 0.10.0 which is available. Closing this issue.


false positive for cloud-n.yml and cloud-adj.yml

The cloud-n.yml and cloud-adj.yml are reporting errors for this legit product name:
Certified Cloud and Service Provider (CCSP)

fixed by #164


2 players no limit holdem example

Dear Authors,
Will you consider share the no limit Holdem source code? Since the liar dice and onlimit holdem has many difference on environment. That will help researchers to reproduce your work, e.g., researchers cannot compare their algorithms with the proposed methods.
Thanks

MasterAI Github： https : //github.com/masterai-top
Challeng AI ：  https ://master.deeptexas.ai/aigame/


Fix 'Non-leaf type' errors in xpack

And also remove unused x_pack special cases. The namespace is named xpack now, so they did not have any effect.
This fixes around 25 validation errors. More generally, I'm not sure how useful those "Non-leaf type cannot be used here" errors really are. It's pretty common to use a class in a property and then subclass it to add more things, and then use that too.

Closed in favor of #2648.


Added batch mode option

When batch.mode=true is set as a System Property then logging is disabled for the progress listener.

Fixed the compile error. :+1:

Guys?

Hi Bram,
First of all sorry for the late reply,
Our QA department check changes  and I'll accept your pull request.

Hi Bram,
Our QA has checked changes. As a conclusion, option batch.mode isn't working. It is always false.
The reason is that method https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#getBoolean(java.lang.String)
does not parse boolean primitive, it gets it from environment variables and then parses it.
So in following code:
final boolean batchMode = Boolean.getBoolean(System.getProperty(BATCH_MODE, "false"));
you are trying to get environment variable with name true or false.
I have one more question:
In what cases do you use this option?

It does work work when you add the batch.mode option to the JVM. We are using Jelastic in our company and want to disable the percentage logging for the uploading.


test: begin implementing basic component tests

Re-opening #148 as a branch of this main repo so it's easier for people to contribute to these tests while they're being developed.
Fixes #112.

I think #493 just needs to me merged, then this will be GTG.

I would love to help the implementation of the tests \o/ Once on master, how could we split the job? Divide and conquer 💃

We should do the same as we did for styled-components, create different issues so people can start contributing one component at a time. 😎

I'll fix the comment I left above quickly, then I'd just like to get a few more confirmations that this works on Android, because this is making the significant leap to React v16.

@jouderianjr @alejandronanez Check out #518 for dividing up the work!