Any chance for a JS variant?

Trying to use this lovely theme with Hamsket, which allows JS injection but not SCSS sadly.

Is this the Hamsket you mean? In that case under the features section, it lists "Custom CSS injection". Doesn't that work?

That is the Hamsket, sadly I've never gotten CSS to work in it. But I've used JS for Messenger for a while without issue, but lately haven't found any decent theme that still works after Facebook's updates.

Okay, understand. I need to look into this. Do you have an example of another theme that work this way?

I found out how to get CSS working with another theme, thank you for your help though <3


Don't count downloaded components towards total dl size

Codecov Report

Merging #897 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #897      +/-   ##
==========================================
+ Coverage    96.5%   96.53%   +0.02%
==========================================
  Files          38       38
  Lines        3376     3546     +170
  Branches      284      508     +224
==========================================
+ Hits         3258     3423     +165
+ Misses        118      114       -4
- Partials        0        9       +9

Impacted Files
Coverage Δ

browser/pages/confirm/controller.js
72.5% <100%> (+0.13%)
:arrow_up:

browser/services/credentialManager.js
96.87% <0%> (-3.13%)
:arrow_down:

browser/pages/location/controller.js
93.54% <0%> (-3.12%)
:arrow_down:

browser/main.js
98.48% <0%> (-1.52%)
:arrow_down:

browser/model/helpers/downloader.js
96.24% <0%> (-1.51%)
:arrow_down:

browser/model/devstudio.js
96.8% <0%> (-0.97%)
:arrow_down:

browser/model/cdk.js
99.21% <0%> (-0.79%)
:arrow_down:

browser/services/data.js
96.72% <0%> (-0.55%)
:arrow_down:

browser/model/jdk-install.js
96.04% <0%> (-0.39%)
:arrow_down:

browser/model/helpers/util.js
100% <0%> (ø)
:arrow_up:

... and 25 more

Continue to review full report at Codecov.

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


How save video streaming to local (type mp4)

How save video streaming in local (type mp4).
Thanks

You can save it by your self with AVCaptureSession and AVAssetWriter


Readme, in English?

Please provide an english translation for Readme.md. I am interested in trying to use this library.  I am asking this because it seems impressive.
Thank you .
Best regards, Marius.

Thanks for your attention.
I want to write Readme file as English. But my English skills are terrible. So for now, Please translate by Google. I try to write as English after learn.


Support for multiple accounts?

The more we know about your system and use case, the more easily and likely we can help.
Environment info

OS: macOS 10.13.6
App Version (Command/Ctrl + ,): 1.9.1

Description of the problem / feature request / question:
I have two Github accounts, a personal account and a work account. Both accounts have gists that I would like to view/edit with Lepton.
Is there a way for Lepton to support multiple accounts at the same time, i.e. without logging out and logging in again every time I want to work on a gist in the other account?
I would be okay with running multiple instances of Lepton using open -n as a workaround. However, if I ran it that way, the data directory will have to be different from the default for one of them.
If possible, provide a sample gist or screenshot:
If possible, provide the log files
For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

Mac: ~/Library/Application Support/Lepton/logs
Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
Linux: ~/.cached/Lepton/logs

The debug mode is recommended when producing the logs.
You can send your log file to<EMAIL_ADDRESS>if don't want to post it here.

me too. I also hope the awesome app supports multiple accounts.

I used a small script to switch between my personal and the enterprise accounts which essentially toggles the .leptonrc field enterprise.enable. https://github.com/hackjutsu/Lepton/wiki/Configuration
But I agree it's preferable to have the navtive multi-account support in Lepton.


added the imageio instead of opencv

close #56
Replace OpenCV with imageio for Image Reading and Normalization
This update modifies the CustomImageParam  and  MaskedImageParam class to remove its dependency on OpenCV for reading images and converting color spaces. Instead, we utilize imageio, which simplifies the process by natively reading images in the desired RGB format and allows for direct normalization without additional steps. The primary change is in the __init__ method, where we replaced OpenCV operations with imageio functionality.
Changes:

Removed import for cv2.
Added import for imageio.
Updated the __init__ method to use imageio.imread for reading the image, automatically handling RGB conversion and normalization.

Code Change:
# Before:
import cv2
...
if isinstance(image, str):
    image = cv2.cvtColor(cv2.imread(image), cv2.COLOR_BGR2RGB)/255.
    image = torch.tensor(image).permute(-1,0,1).unsqueeze(0)

# After:
import imageio
...
if isinstance(image, str):
    image = imageio.imread(image) / 255.0  # Reads in RGB and normalizes
    image = torch.tensor(image).permute(2, 0, 1).unsqueeze(0)

This modification significantly reduces the dependency footprint by eliminating the need for OpenCV, which is a larger library used minimally in this context. It simplifies the codebase and leverages imageio for efficient image processing, making the project lighter and more focused on its specific requirements.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.03%. Comparing base (df90177) to head (0876aa7).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #59   +/-   ##
=======================================
  Coverage   83.03%   83.03%
=======================================
  Files          22       22
  Lines         825      825
=======================================
  Hits          685      685
  Misses        140      140

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


First unit tests never completes

If you follow the link to the Hello World project and add the code from that document then return here to create the first test, then the unit test never completes because the hello world is waiting for Console.ReadLine();

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

ID: 107f3c03-dac2-0226-d5c1-f2f49daa413d
Version Independent ID: aaf80310-28eb-462b-d4f1-6b97a8abe260
Content: Get started with unit testing - Visual Studio
Content Source: docs/test/getting-started-with-unit-testing.md
Product: visual-studio-windows
Technology: vs-ide-test
GitHub Login: @gewarren
Microsoft Alias: gewarren

@TonyKenny666 Thanks for pointing this out. And actually with Visual Studio 2019, the console automatically waits for a keystroke, so this section of "Quickstart: Use Visual Studio to create your first C# console app" can be removed (@TerryGLee fyi). Here's the output if you press F5 on the default .NET Core console app project template:
Hello World!

C:\Program Files\dotnet\dotnet.exe (process 17616) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .


Button: Create variant with download icon

Create a variant of the button that has a download icon. Apply this variant to:

All primary buttons in the data card.
Some secondary buttons that imply the download of a file.

Examples:

Done and updated on all templates. You can have a look at them here. (Please keep in mind that the templates are being fixed because of the headers sizing change.) @inesdgomes

Looks good, moving this to development @beatrizmartinmartins

@Shashika6 all you have to do for this one is add the download icon to the icons package. @inesdgomes, you'll have to then instruct the website team to adjust the button setting so it uses the download icon.


toCompanion(true) not working

i got this error when i use the code bellow

Sorry, Instance of  GeneralStatisticsCompanion  cannot be used for that because:
• nbTicket: This value was required, but isn't present

this is the  data value (a GeneralStatistics):

It's hard to say what's wrong here without seeing the table definition of GeneralStatistics. Does the companion have all fields present except for id and ndTicket?

this is the table definition:
class GeneralStatistics extends Table {
  IntColumn get id => integer().autoIncrement()();

  IntColumn get nbTicket => integer().named("NB_TICKET")();

  RealColumn get sumTicket => real().named("SUM_TICKET")();

  IntColumn get nbArticle => integer().named("NBREARTICLE")();

  RealColumn get sumDeposit => real().named("SUM_DEPOSIT")();

  RealColumn get sumDiscount => real().named("SUM_DISCOUNT")();

  RealColumn get sumEscompte => real().named("SUM_ESCOMPTE")();
}

Update : it's not toCompanion,  it's b.insertAllOnConflictUpdate(generalStatistics, entries); that throws

Sorry, Instance of GeneralStatisticsCompanion cannot be used for that because:
• nbTicket: This value was required, but isn't present

//insert a list of entries
  Future<void> insertEntries(
      List<GeneralStatisticsCompanion> entries) async {
    //insert all new data
    await batch((b) {
      // functions in a batch don't have to be awaited - just
      // await the whole batch afterwards.
      b.insertAllOnConflictUpdate(generalStatistics, entries);
    });
  }

Is GeneralStatistics.nbTicket marked as nullable in the table definition? If it's not and you're not providing a value for nbTicket you'll get that error.

Yes , i did not mark the attribute as nullable for this i use companion, is batch compatible with companion ? or i have to use a loop to insert entries as companions instead of insertAllOnConflictUpdate

If nbTicket is non-nullable in the database, you won't be able to insert a record with that field set to null (or it being absent). Companions can't help you here. Even if moor didn't warn about that, the insert would fail in sqlite.
If you want to allow null values, you need to make that column nullable. Then this code would work as expected.

Please tell me so when i should use companion ?

Companions make it explicit if you want to write a null value or if you want to use a default.
For instance, let's say you had a nullable column with a default value. If you set the corresponding field to null in the data class, it's not sure if you want to explicitly set the column to null or if you want to apply the default value (e.g. provide no value at all).
With companions, you either use Value.absent(), which tells moor that you want to use a default value, or Value(null), which makes it clear that you want to insert null.
For non-nullable columns without a default, both Value(null) and Value.absent() would be forbidden, which is what you're seeing here.


Update Policy.swift with designated types for logical and range operators.

…nge operators.

@swift-ci Please smoke test

Can the infix operators (... and ..<) also have Comparable as their designated type?

@benrimmington Yes, thanks - just missed it.

@swift-ci Please smoke test


Calculator UI designed through components

Calculator UI created and submitted for approval

Suggested changes have been incorporated. Send it for a re review again.


Rename power-query-extensions.m to power-query-extensions.pq

Please also update the extension from .m -> .pq in the Readme and I'll accept your PR 🥇

Hmm... Done?

Thanks


ENH: Add CI through GitHub actions

Add CI through GitHub actions.
Testing data and script
--
Have you

[X] Added a description of the content of this PR above
[X] Followed proper commit message formatting
[ ] Added data and a script to test this PR
[ ] Made sure that PEP8 issues are resolved
[ ] Tested the code yourself right before pushing
[ ] Added unit tests to test the code you implemented

People this PR concerns
--

I guess this will require multiple iterations, since I do not think I can test this locally due to disk space reasons.

Closing in favor of #40. Not sure why this PR did not trigger the events. The GitHub actions file in PR #40 was added directly through the web interface.


Diff view has two font size dropdowns

As above; if you open up a diff view there's two font sizers!

https://godbolt.org/g/b2dcbe repro case


fix(android): make template / rn-tester Android 12 compatible

Summary
The stock new app template is not Android-12 compatible, and I did not notice any issues or PRs opened for it when I searched, though I may have missed it? So I'm proposing what I think are the necessary changes so new apps work on Android 12 out of the box
Changelog

[Android] [Fixed] - updated new app template and rn-tester for Android 12 support
Test Plan

Check out my branch
Make a temporary edit to template/package.json to replace react-native version 1000.0.0 with 0.67.0-rc.2
Make a temporary edit to template/android/app/src/debug/.../ReactNativeFlipper.java to revert this change which makes ReactNativeFlipper incompatible with the react-native 0.67-0-rc.2 release (https://github.com/facebook/react-native/commit/ce74aa4ed335d4c36ce722d47937b582045e05c4#diff-1e429281c560d83c035cbe6f50683ada72292f7860de108d420fb55185ababad)
npx react-native init Android12Test --template git@github.com:mikehardy/react-native.git#android12
cd Android12Test && npx react-native run-android

Those test steps worked for me
I assume rn-tester is tested in CI? If not it will clearly work or clearly blow up when run, but I did check locally:

Check out my branch
yarn install
./gradlew :packages:rn-tester:android:app:installJscDebug (this is where it would fail if there was a problem)
./scripts/packager.sh
start the app on the device - it all seems to work

Note that I am able to pop up the android debug settings (the DevSupportActivity) with ctrl-M on linux but I am simply not able to get the emulator shake to bring it up with exported:true or exported:false. Just in case, and since it is debug only I labeled that activity exported:true to make sure it could be called if needed.
If someone with more knowledge of how and when DevSupportActivity is used in the ecosystem it may be possible to have this as exported:false safely.

hey, that's for contributing this!
we already have a similar change internally, but there are some issues with JDK 11 on CI that block this from moving forward :)

hey @ShikaSD yeah - the changes are tiny and pretty important so I am not surprised if it is duplicate.
I am curious though, I don't think JDK11 is necessary for these specific changes?
I was building with JDK11 during my initial round of testing, but just to make sure I just did this:
PATH=:/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH java -fullversion
and received: openjdk full version "1.8.0_302-8u302-b08-0ubuntu2-b08"
Then this works as well:
PATH=:/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH ./gradlew :packages:rn-tester:android:app:installJscDebug
Then in my Android12Test init app I did this in the android directory:
PATH=:/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH ./gradlew assembleDebug
It all works.
This should not be blocked on any JDK11 issues I think.

CI failure analyze_code is eslint issues, not touched in this PR, not related
CI failure build_npm_package-1 is a PR bot failing to post links to the PR at the end of the run, not related

Okay @ShikaSD this appears to be proof there are no JDK dependencies for this to work: https://app.circleci.com/pipelines/github/facebook/react-native/10992/workflows/be8368b7-8ef7-4671-b057-6ebc3a3e232f/jobs/224244
Only CI failures are unrelated, and it works for android in CI and local testing with JDK11 or JDK8
Hopefully this may be considered for merge

In conversation on Discord, it was requested that an attempt be made to move ./ReactAndroid/build.gradle to 31 as well, that does not seem possible on JDK1.8:
> Task :ReactAndroid:compileDebugJavaWithJavac FAILED
An exception has occurred in the compiler (1.8.0_302). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)
        at com.sun.tools.javac.util.Assert.error(Assert.java:133)
        at com.sun.tools.javac.code.TypeAnnotations.annotationType(TypeAnnotations.java:231)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:294)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitMethodDef(TypeAnnotations.java:1066)
        at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)

But this PR, just moving the rn-tester app and template seem fine.

Thanks, @mikehardy. I'm going to import this and ask @ShikaSD to take a closer look using internal tools.

Quick update here… @ShikaSD and @cortinico are investigating the best path forward.

Fixed by #32606

Beautiful! I know that was one of those seemingly small changes that actually rippled out everywhere and only looked small. I appreciate it. Cheers!


Better to make average ratings of APIs are visible for every user

Problem
Currently the average rating of an API is visible only the user is authenticated however the user can see the rating widget but not the numeric value of the average rating.
Before Authentication

After Authentication

Solution
Make average rating visible for every user nevertheless the user is authenticated or not
Affected Component
APIM
Version
4.2.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response

Fixed by https://github.com/wso2/apim-apps/pull/662


fix: wrong auth separator

Pretty sure this is meant to be : not ..

Superseded by #17.

thanks tho :)


WIP: Add fuzzy search

Finding the correct icon requires a bit efforts. To ease it I have the following features planned.

As part of build process generate a JSON file containing all the icon files.
Use fuse.js as base for a better fuzzy search experience
Optionally provide a synonym JSON object for better results, while searching for synonyms.

I would like to know if you are interested in this feature, so that I work on it.

Finding the correct icon requires a bit efforts.  To ease it I have the following features planned.

As part of build process generate a JSON file containing all the icon files.
Use fuse.js as base for a better fuzzy search experience
Optionally provide a synonym JSON object for better results, while searching for synonyms.

@fawmi cool! did you see we already generate a json file containing all icons? https://github.com/TYPO3/TYPO3.Icons/blob/master/dist/icons.json

Resolved with https://github.com/TYPO3/TYPO3.Icons/commit/21c6fc30c6b051f4f2288a1864c484264fc45b5e


What does dsn stand for in your paper?

Deeply supervised network. It's used to form auxiliary loss in CCNet.


New version: IDMComputerSolutions,Inc.UltraEdit version <IP_ADDRESS>

Description

Resolve #133241

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @Dragon1573,

This PR's version number <IP_ADDRESS> has 4 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version 30.2.27, which has 3 parameters.

Is this intentional?
(Automated response - build 522)


Call user-defined functions

What's up?
I would like to call a user-defined function (UDF) named get_magic_name and pass it the name column as parameter.
from animals
derive {
  magic_name = get_magic_name name
}

Error:
Error:
   ╭─[:3:16]
   │
 3 │   magic_name = get_magic_name name
   │                ───────┬──────
   │                       ╰──────── expected a function, but found `this.animals.get_magic_name`
───╯

Perhaps user-defined functions could be reached from a pseudo namespace called udf like:
from animals
derive {
  magic_name = udf.get_magic_name name
}

Can we adjust the example so get_magic_name is defined?

But get_magic_name is not defined in the PRQL script because it is a user-defined function (UDF) that has been created on the database server using the CREATE FUNCTION SQL statement so PRQL doesn't know about it.

Perhaps get_magic_name can be implemented using s-strings?

But get_magic_name is not defined in the PRQL script because it is a user-defined function (UDF) that has been created on the database server using the CREATE FUNCTION SQL statement so PRQL doesn't know about it.

Ah I see. We could have a call_udf function, which I think could be an s-string...
Can you confirm what the SQL output would look like?

I suppose it would look like this:
SELECT
  *,
  get_magic_name(name) AS magic_name
FROM
  animals

OK great.
I think this can be handled by an s-string at the moment.
If there were substantial demand we could add a call_udf function, but it might be so trivial that it wouldn't be worthwhile.
What do you think about adding an example to the docs?

Hi @vanillajonathan ,
I once answered a question on HackerNews which I think speaks to what you are looking for: https://news.ycombinator.com/item?id=37569946
Unfortunately the JSON DuckDB extension isn't loaded in the playground so the example doesn't work but hopefully the example below explains enough:
    > prqlc compile <<EOF
    let get = func path obj -> s"""{obj} -> {path}"""
    let getstr = func path obj -> s"""{obj} ->> {path}"""
    let extract = func obj path -> s"""json_extract({obj}, {path})"""

    from [{data='{"duck": [1, 2, 3]}'}]
    select { data | get '$.duck[0]', data | getstr '$.duck[1]', extract data '$.duck[2]' }
    EOF
    WITH table_0 AS (
      SELECT
        '{"duck": [1, 2, 3]}' AS data
    )
    SELECT
      data -> '$.duck[0]',
      data ->> '$.duck[1]',
      json_extract(data, '$.duck[2]')
    FROM
      table_0

    -- Generated by PRQL compiler version:0.9.4 (https://prql-lang.org)
    ```

---
I've been meaning to add this to the docs somewhere as I think JSON functionality is something that would speak to a lot of people. Will try and get to it.

I think this is tricky to use.
You cannot just declare an line s-string like:
from animals
derive {
  magic_name = s"get_magic_name" name
}

because you get the error:
Error:
   ╭─[:3:16]
   │
 3 │   magic_name = s"get_magic_name" name
   │                ────────┬────────
   │                        ╰────────── expected a function, but found `s"get_magic_name"`
───╯

So you have to do declare the function with a let statement before you can use it.
let get_magic_name = param_name -> s"""get_magic_name({param_name})"""

from animals
derive {
  magic_name = name | get_magic_name
}

which is a bit cumbersome. It would be nice to not have to do that. Would be easier:
from animals
derive {
  magic_name = name | udf.get_magic_name
}

Oh I see. That's an interesting idea.
So in that case it would have to infer how many parameters it is being passed and then generate AST node equivalent to the corresponding s-string. Not my area of expertise how feasible that is at the moment but I could see it working in principle.
We had a discussion elsewhere about a possible db namespace for database objects. That would also make it easier for the resolver whether it should find a name internally or just assume that it exists in the database. In that case I would suggest something like the following syntax:
from animals
derive {
  magic_name = name | db.fn.get_magic_name
}

That should indicate to the compiler that get_magic_name is a function that exists in the database and then it can simply treat it as such. One problem with that approach is that the return type becomes opaque to the compiler. That's not such a problem at the moment but as we try to formalise the type system that might be a problem. Forcing the let statement function definition allows you to provide the type annotations, I guess like a foreign function interface (FFI) in other languages. Maybe that could be a requirement for a "strict" mode which is relaxed otherwise.

Yeah!

I definitely see the case here.
I'm not sure the proposal quite fits — it uses a namespace to indicate a type (it's not crazy — maybe we store all the UDFs in a namespace — but in this case it works for any string, which isn't quite consistent)
We could have a function like udf:
let udf = function_name param_name -> s"""{function_name}({param_name})"""

from animals
derive {
  magic_name = name | (udf get_magic_name)
}

...though we would need to implement something to allow passing a tuple of params; this only supports a single param...

Yeah, a udf function to call user-defined functions would be okay too, it would be better than what we have right now, because right now it is rather awkward having declare functions using s-strings prior to using them.
With risk of sounding whiny, PRQL is meant to make our lives easier but I feel that:
from animals
derive {
  magic_name = name | (udf get_magic_name)
}

looks harder to read, write and understand than SQL:
SELECT
  *,
  get_magic_name(name) AS magic_name
FROM
  animals

A couple more thoughts to add to this interesting discussion!
The query above can be written fully equivalently as:
from animals
derive {
  magic_name = udf get_magic_name name
}

which is really close to the original request (just with udf  inserted in the right spot). It also might be able to be treated by the compiler as sugar for udf.get_magic_name or db.fn.get_magic_name, which are related to the proposals above. If we're going down the sugar route, we could also consider funky syntax like &get_magic_name.
Also, if PRQL doesn't have awareness of the database schema, then it isn't going to actually know if get_magic_name is a UDF or a database-native function. That's either a good thing or a bad thing, depending how you look at it, because it allows writing:
from animals
derive {
  full_name = udf concat first_name " " last_name
}

which would compile to:
SELECT
  *,
  concat(first_name, ' ', last_name) AS full_name
FROM
  animals

This would end up being another "escape hatch" to regular SQL, just as S-strings are right now.

I'm not sure if I have a preference in any of this. I think my tendency would be to declare all of the UDFs that I care about in a module, which would allow for type checking and make things a bit more explicit - but I'm not sure this is the most user-friendly.
module fns {
  let get_magic_name = func name <text> -> <text> s"get_magic_name({_param.name})"
}

from animals
derive {
  magic_name = fns.get_magic_name name
}

The above snippet works in the playground right now.


TRAILS: error StatusError: Forbidden

TRAILS: error StatusError: Forbidden is the message displayed both on the module and in the error log. The module worked correctly once after it stayed on for a long while. Upon seeing that it was properly displaying the default trails I  edited the  trailIDs so it would display the trails that I ride regularly and restarted the MagicMirror and got the same StatusError: Forbidden message. Have not be able to figure out what might be causing this error message, I even tried to  switch networks and connect to a different network because I know that the Forbidden error usually means network issues. Again no luck. I'm all out of ideas as to what might be causing this.

Hi
Yes, I've been trying to work with the guys at dorba for a while now, but not having much luck. Basically what's happening is that they've balcklisted the app from querying their site.
I'm guessing it's because maybe it hits it too much (although as I recall, I only query the site twice a day).
But that's just a guess. I've never gotten any concrete response from them as to why I might be blacklisted or how I might be able to pull the query data "more politely" I suppose....?
Anyway, unfortunately, at this point, i'm pretty much out of ideas as well. I used to use that Applet on my own magic mirror, and it's still there, still showing the unavailable most to the time as well.
I say "most" because +very+ occasionally, it'll suddenly work and pull down status on the set of trails I have set. But, usually, within a day, its back to "Unavailable"
You wouldn't happen to know anyone at Dorba that could help would you?

I do not know anyone at dorba, but I am willing to try and help with this. I can try and contact trailforks and dorba and ask about this and see if maybe they'll give me an answer. I was also wondering if they have banned the MagicMirror app from making requests could we have another server get the data and have the MagicMirror request the status of the trails form there instead of directly from their site?

Yes, that could work, but, I'd kinda like to "play nice" if you know what I mean rather than just brute force it. If my little app really is posing an issue for their site, I was hoping I could get someone to let me know why so I could correct the problem.
What few MM's there are in the Dallas ft area (I can't imagine anyone living anywhere else would be interested in Dorba trails) surely can't swamp the site, esp if it's only hitting it a few times a day.
But they may be blacklisting for some other reason... I just don't know.

What's really odd is they actually have a public facing API for getting trail data. You'd think with that, it'd be ok to access it from something like an MM

Wouldnt your module work with any trails on the TrailForks website, but even then I am not sure that there would be that many people using it because it is called Dorba trails.

You could also make a request to use the API, or have you already tried that? Maybe that way they will turn a little more attention to this project.

Yeah, that's what I'd asked about before but never got a response.

Since you are already in contact with DORBA about this I will not be bothering them for now. I can imagine that there is much they can do anyway. I already messaged TrailForks so we'll see if they respond. Hopefully, they won't ignore me and message me back so we can figure this out because this module was the reason I started on this mirror and now I'm determined to make it work.

I see that on the TrailForks website, there is a function that shows you if your message has been read or not. DId they ever open your message/s?

I think when I originally reached out, it was to the Dorba guys. I've gone directly to trailforks and sent a query that way. We'll see if they get back to me.

Good news!

Let me know what to message him and tell him.

I got in touch with Mark Tay at Trailforks. Waiting to hear back.
Right now, I'm not specifying any particular user-agent, the plugin just
uses the Open source BENT Javascript library to make a pretty vanilla HTTP
request against the site.
Here's the default configuration
url: "
https://www.trailforks.com/widgets/region_list/?rids={trailIDs}&cols=title,status,city_title,last_report_ts
",
trailIDs: "3723,19031,5025",
The list of trailids comes from their site, and is just substituted in  for
{trailids}
But it'd be a pretty simple change to add headers or make whatever change
would be required, I believe.
In fact, you can type that exact query into a browser and get back the
status for the listed trail ids.
I suppose I could specify a user-agent the same as what Firefox or Edge
specifies.
I just want to be sure I'm playing by their rules if there are any
specifically for this sort of thing
Darin
On Fri, Sep 29, 2023 at 10:34 PM dani4ko03 @.***> wrote:

Let me know what to message him and tell him.
—
Reply to this email directly, view it on GitHub
https://github.com/drventure/MMM-Dorba-Trails/issues/1#issuecomment-1741646548,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOMXBTJ4JUB6PJQJQ6JP5LX46HL3ANCNFSM6AAAAAA5LR5UOI
.
You are receiving this because you commented.Message ID:
@.***>

You could also just add some unique param to the URL that I can filter on.
On 2023-09-30 7:49 p.m., Trevor May @.***> wrote:

Let me know an IP the requests come from if its many, then is it
possible for you to add some sort of unique thing to the request, like a
unique user-agent?
On 2023-09-30 4:21 p.m., Darin Higgins wrote:

I got in touch with Mark Tay at Trailforks. Waiting to hear back.
Right now, I'm not specifying any particular user-agent, the plugin just
uses the Open source BENT Javascript library to make a pretty vanilla
HTTP
request against the site.
Here's the default configuration
url: "
https://www.trailforks.com/widgets/region_list/?rids={trailIDs}&cols=title,status,city_title,last_report_ts
",
trailIDs: "3723,19031,5025",
The list of trailids comes from their site, and is just substituted in
for
{trailids}
But it'd be a pretty simple change to add headers or make whatever change
would be required, I believe.
In fact, you can type that exact query into a browser and get back the
status for the listed trail ids.
I suppose I could specify a user-agent the same as what Firefox or Edge
specifies.
I just want to be sure I'm playing by their rules if there are any
specifically for this sort of thing
Darin
On Fri, Sep 29, 2023 at 10:34 PM dani4ko03 @.***> wrote:

Let me know what to message him and tell him.
—
Reply to this email directly, view it on GitHub

https://github.com/drventure/MMM-Dorba-Trails/issues/1#issuecomment-1741646548,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAOMXBTJ4JUB6PJQJQ6JP5LX46HL3ANCNFSM6AAAAAA5LR5UOI

.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/drventure/MMM-Dorba-Trails/issues/1#issuecomment-1741880248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2NEWRIFNKBH4SPHT3VILX5CSRJANCNFSM6AAAAAA5LR5UOI.
You are receiving this because you are subscribed to this
thread.Message ID:
@.***>

@drventure and @canadaka: What do you think about a parameter like that: https://www.trailforks.com/widgets/region_list/?rids=3721&cols=title,status,city_title,last_report_ts?client=MMM-Dorba-Trails?
I prepared this in my PR: https://github.com/drventure/MMM-Dorba-Trails/pull/2/commits/f0aaa5e805889e67ba9aba86f497fa67b24c3af2

It might be this weekend before I can get a chance to test it myself.
I haven't heard anything from @canadaka yet, but adding a client parm like that seems like a super simple way to ID the requester.

I added a whitelist for requests with that client string to that URL.

Perfect, I'll try it as soon as I can free up some time.
Thanks for taking a look at this!

I added a whitelist for requests with that client string to that URL.

Nice! It's working on my setup :smiley:  Thanks! 🎉


Fix index when dealing with reverse ordinals

When dealing with reverse ordinals, the match.entity will be a negative value and so it needs to be subtracted from the choices.length to get the proper index. The current code is adding the match.entity value because its doing minus negative number.

@Stevenic FYI

cood catch


Spfx 1.18 fails to compile with --use-heft

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version 1.18.0-beta.1
Node.js version 16

Describe the bug / error
SPFX generator with --use-heft produces non compilable project.
Running build script results in error:

Error: Resolved configuration object does not match schema: Error: JSON validation failed:
<EMAIL_ADDRESS>
I found another issue (#8767)  related to heft, but symptoms are not the same at all.
The expectation of using heft is to be able to work in a large monorepo where some "leaf" projects are SPFX projects that should consume shared packages.
Steps to reproduce

Bootstrap a new webpart project with the next version of generator.

I use this command line:
pnpm --package yo@latest --package @microsoft/generator-sharepoint@next dlx yo @microsoft/sharepoint@next --skip-install --package-manager pnpm --use-heft

Followed by generator series of questions (choose WebPart type + react in my case), and a pnpm i to install the dependencies.

Try to build

pnpm run build

Results in:
><EMAIL_ADDRESS>build D:\protos\spfx-1.18
> heft test --clean

Error: Resolved configuration object does not match schema: Error: JSON validation failed:
<EMAIL_ADDRESS>
Error: #/ (Defines configuration used by core Heft.)
       Additional properties not allowed: eventActions
Error: #/heftPlugins/5 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/5 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
Error: #/heftPlugins/4 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/4 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
Error: #/heftPlugins/3 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/3 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
Error: #/heftPlugins/2 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/2 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
Error: #/heftPlugins/1 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/1 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
Error: #/heftPlugins/0 (A plugin that can be used to extend H...)
       Missing required property: pluginPackage
Error: #/heftPlugins/0 (A plugin that can be used to extend H...)
       Additional properties not allowed: plugin
 ELIFECYCLE  Command failed with exit code 1.

Expected behavior
Generated project should compile with --use-heft flag

@stevebeauge - we're currently working on some changes for the Heft.
When it's done we will update SPFx solutions to correctly use Heft.

Thanks @AJIXuMuK
Can we expect this update to be available with 1.18 RTM ? Or any aprox. ETA?

It seems as of v1.18-rc1, original problem is resolved. However, new problem is present:
PS C:\Solutions\Experiments\spfx-1.18-rc1> pnpm build

><EMAIL_ADDRESS>build C:\Solutions\Experiments\spfx-1.18-rc1
> heft test --clean

Error: File does not exist: C:\Solutions\Experiments\spfx-1.18-rc1\node_modules\.pnpm\@microsoft+spfx-heft-plugins<EMAIL_ADDRESS>File does not exist: C:\Solutions\Experiments\spfx-1.18-rc1\node_modules\.pnpm\@microsoft+spfx-heft-plugins<EMAIL_ADDRESS>ENOENT: no such file or directory, open 'C:\Solutions\Experiments\spfx-1.18-rc1\node_modules\.pnpm\@microsoft+spfx-heft-plugins<EMAIL_ADDRESS> ELIFECYCLE  Command failed with exit code 1.

I checked NPMJS and indeed package @microsoft\spfx-heft-plugins is missing heft-plugin.json file. This seems like an easy fix because I was able to manually create patched version of this package and build started to work (kinda...)
Waiting with anticipation for next release :)


Remotely triggered Erlang/OTP builds

Once initial implementation is merged, ask Erlang to trigger workflows when a new Erlang version is out.
It could look something like this: PR is a few months old so it's possible a better method exists already.

I plan to ask them, yeah. Otherwise I'd add a nightly job to poll.


[Bug]: Discard API bug not resulting in proper change discard

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Discard API is not able to cleanly discard changes.

When I try to delete a datasource which has associated actions, after that discarding action doesn't result in clean state.
https://user-images.githubusercontent.com/1573771/160620328-7aa650b2-2608-4597-a80c-d482746a7186.mov

Another case
https://user-images.githubusercontent.com/1573771/160620624-371d6b04-cc66-431d-8b4b-d5b274946c14.mov
On commit:

Steps To Reproduce

Add a bunch of datasources, objects and pages to a git connected repo.
Try making changes after first commit.
Click Discard changes button.

For exact steps please take a look at the attached videos.
Public Sample App
No response
Version
Release

PR for discard changes: https://github.com/appsmithorg/appsmith/pull/11835, DP link can be picked from there.

For client-side migration, we have decided to depend upon letting users know about the migration. This is because the server doesn't have any way to run the client-side migration, which is resulting in uncommitted changes showing up even after the discarded change is executed successfully.

@IAmAnubhavSaini I'm not able to reproduce the bug when we have updates for queries, JSObject and pages etc and user tries to delete the datasource which already has the queries attached. If you are still facing the issue can you please list down the steps to reproduce?
For ref: https://www.loom.com/share/ddb8af641cb8410c9634aa25d37d33eb

For updates to the rightColumn property we have fixed this in the recent PR and the version we are dependent on the migration messaging as stated earlier https://user-images.githubusercontent.com/1573771/160620678-15059d1c-566a-471e-9e13-5a6c01c9c3ce.png
If we are satisfied and unable to reproduce the issue related to the datasource deletion we can close this issue
cc: @IAmAnubhavSaini

Looks like #12351 fixed it.


Adding NimblePool as a supervisor child

The README states that the following should work:
children = [
  {GenMagic.Pool.NimblePool, pool_name: MyApp.GenMagicPool, pool_size: 2}
]

opts = [strategy: :one_for_one, name: MyApp.Supervisor]
Supervisor.start_link(children, opts)

But Supervisor runs child_spec/1 on its children, giving me this error:
** (Mix) Could not start application gen_magic_test: exited in: GenMagicTest.Application.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (ArgumentError) The module GenMagic.Pool.NimblePool was given as a child to a supervisor
but it does not implement child_spec/1.

I'm happy to provide a PR. I think there are at least possible 2 solutions:

The Pool behaviour requires child_spec/1.
The README is updated to include the child spec:

%{
  id: GenMagic.Pool.NimblePool,
  start: {GenMagic.Pool.NimblePool, :start_link, [[pool_name: MyApp.GenMagicPool, pool_size: 2]]}
}

Hi @maartenJacobs the NimblePool implementation has no child spec, the Poolboy implementation has it, so the README is wrong. I’ll look into it however would suggest using Poolboy for now.

@maartenJacobs Please test feature/pool-test latest @ f81bb829395e0a0a36281f8c7e48de13186f5ced and advise, reference the relevant test files for example use cases.

@evadne I think you should write @maartenJacobs a cheque for £1 ;-)
Yes comparing you to Knuth - the reference https://en.wikipedia.org/wiki/Knuth_reward_check

@maartenJacobs Please test feature/pool-test latest @ f81bb82 and advise, reference the relevant test files for example use cases.

@evadne @ [f81bb82] works as expected 🙌  The pool size default works as well.

The pool size default works as well.

@maartenJacobs will we be using a pool size of 2 ;-)


These were not touched modified to ensure intent consistency as discussed by @akien and @karroffel below:
[drivers/gles2/rasterizer_canvas_gles2.cpp:198]: (style) Variable 'buffer_ofs' is assigned a value that is never used.
[drivers/gles3/rasterizer_canvas_gles3.cpp:367]: (style) Variable 'buffer_ofs' is assigned a value that is never used.
[drivers/gles3/rasterizer_canvas_gles3.cpp:430]: (style) Variable 'buffer_ofs' is assigned a value that is never used.

These seem to be false positives since member variables are being updated and were not touched:
[editor/file_type_cache.cpp:53]: (style) Variable 'file_type_map' is assigned a value that is never used.
[editor/editor_settings.cpp:1076]: (style) Variable 'hints' is assigned a value that is never used.
[editor/progress_dialog.cpp:126]: (style) Variable 'updates' is assigned a value that is never used.

I just finished reviewing the changes after rebasing the changes from #17765. There are some new changes that could be bug themselves and need to be reviewed.

Pull request updated to implement the requested changes so far. The failed Travis build seems to be unrelated to this pull request.

Merged manually as a22e746bc with my two pending comments resolved. Thanks!

@akien-mga Thanks for working on this and merging it!


Restore scroll position

I want behaviour similar to what the browser offers. If I scrolled down a long page, opened a new page and immediately went back, it would load the previous page at the same scroll position. React Router always re-renders the view and resets scroll, when we go back. How do I get the 'save scroll' with React Router?

Yes, we have plans to automatically let you restore the scroll position as you navigate back to pages you've already visited. We already have the functionality in master, but we need https://github.com/rackt/history/issues/17 to be fixed first.

Does it cache previously rendered DOM and then restore scroll position? Or is the component mounted again? I would expect scroll position to be meaningless if the component renders differently.

It can't (and shouldn't) cache the DOM, after all we're in React's paradigm. Yes, it's up to you to render your components the same way. For example if you don't cache the data locally, there's nothing router can do to restore your position. But that's how browser's default behavior works, too, we're just trying to emulate it.

How is this planned to work with async loading of data?
Often the view that you navigate back to will be initially empty, waiting for content to load. As soon as the data is loaded, you typically want to reset the scroll position. (Or is there a way to pre-fetch data and feed into the view before mount?)

How is this planned to work with async loading of data?

YOu need to cache it so when the back button is clicked you get a synchronous render w/ all the data.

@ryanflorence That's a bad news. Can't we restore scroll position only after rendering?

@th0r The router can't know when your data is ready.

@gaearon If you tell the router, it would now.
I tried Ryan's advice on caching and restoring the data to get the scroll position to restore correctly. Seems to work well.

@gaearon The router knows, when I render something (it means, a already have all the data I need) and it knows it's current state.

@antonholmquist What if user goes 5 pages back?

@mjackson is there a solution for this? If so where can I find the docs?

https://github.com/rackt/react-router/blob/73e6c85f427c48f90bae0bb0e9745b6b48536e2f/CHANGES.md#scrolling

also waiting a solution for async loading, any news?
I have tried scroll-behavior, seems this not support async loading, the scrolling position were wrong after I pressed back button.

I have a problem, correlated with this issue. Help me please! http://stackoverflow.com/questions/36088020/keep-react-router-routed-components-for-all-history-states

loos like this issue was solved after I upgrade to the new version of react simple router, now it change the name to "react-router-redux".
the position now can be remembered

Scroll position is only one effect, i need render whole history steps.

Hi @mjackson, can you point me to any information on how to use ScrollManagementMixin?
(I can see the code in the repo, but no examples or docs). Thanks.

Is the "save scroll" feature already implemented?

@Alfrex92  maybe you should read this  docs https://reacttraining.com/react-router/web/guides/scroll-restoration
In one word ,React-Router doesn't think it is a bug and want someone else to do the work.

I'm trying a solution involving using history.replaceState() and window.onpopstate() to track window position and deal with reload.


ERROR in python -m vlfm.run

AssertionError: ESP_CHECK failed: Missing (at least) one of scene dataset attributes, stage attributes, or dataset scene attributes for scene 'data/scene_datasets/hm3d/val/00853-5cdEh9F2hJL/5cdEh9F2hJL.basis.glb'.  Likely an invalid scene name
I had downloaded the HM3D and ran successfully before. But now there is a error happen

@LebinLiang Did you resolve the problem?


Training Matcha for other languages: Fine tunning HiFiGAN to specific speakers

Discussed in https://github.com/shivammehta25/Matcha-TTS/discussions/120

Originally posted by ibonsc November 28, 2024
Hello
I'm training Matcha for different languages and I think it would be good to fine tune the universal HiFiGAN vocoder to these new languages. Have you done such a thing?
To do that it is necessary to get the ground truth-aligned spectrograms of the training material, that will be used as input for the HiFiGAN finetuning. Is there any way to do that?
Thank you very much for your help.

Yeah! Ofcourse, what you can do it extract alignments from a trained model, using the first part of: https://github.com/shivammehta25/Matcha-TTS/wiki/Extracting-phoneme-alignments-and-improving-GPU-utilisation
Then, you would have to hack the inference code and use these alignments instead. One way I can suggest is to use the batched dataset in the CLI and also load the transcripts and durations:
https://github.com/shivammehta25/Matcha-TTS/blob/108906c603fad5055f2649b3fd71d2bbdf222eac/matcha/cli.py#L292-L300
Then use these saved durations instead of w
https://github.com/shivammehta25/Matcha-TTS/blob/108906c603fad5055f2649b3fd71d2bbdf222eac/matcha/models/matcha_tts.py#L121
And it should be fine. Hope this helps, let me know if you have any more doubts.


Embedding 10: Responsive Embeds Dead Link

On the following page the screen https://quickstarts.sigmacomputing.com/guide/embedding_10_responsive_embeds/#0 the screnshotted link 404s.

Corrected. Thanks for reporting the issue.


correction for the xruby references

I just pushed a correction for the few xruby references

Can you please rebase this onto master.
You probably need to do:
git checkout master
git fetch upstream
git rebase upstream/master

If it complains about the git fetch upstream line you probably need to configure the upstream branch see: https://help.github.com/articles/configuring-a-remote-for-a-fork/

I've had conflicts so I had to merge according to git. I'm really positive about what I did though.
Please let me know.


Hey creator I like to make listify more attractive may I?

@dinurymomshad
Let's make it awesome

Hello,
Thanks for contacting me. What do you have in mind?
On Wed, Feb 23, 2022 at 11:36 AM Ramasubramanian S @.***>
wrote:

Let's make it awesome
—
Reply to this email directly, view it on GitHub
https://github.com/dinurymomshad/listify/issues/40, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKH3X4UEKCRFLDYFUWLEKLU4RW5XANCNFSM5PDLJGFA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Please let me to my first contribution and it will results awesome!

I going to do a small change in code that will make it more meaningful and professional


Option to push and delete any GVMI image

If we successfully upload a file to Skynet, and then delete the local version of it, we do not have to specify the file name. This can be defaulted if no file name is specified; take the first best .gmvi, upload it, delete it.

From the push file, we can now parse the line that looks like this:
Output File  : docker-thorgpress-latest-51a89a6f57.gvmi

Which would make us be able to compare it against the previous filename after running gvmkit-build instead of gvmkit-build --push, as we can parse this as well.
This Python code lists all the .gvmi files in the current directory.
import os

files = os.listdir(os.curdir)
for file in files:
    if file.endswith('.gvmi'):
        print(file)

If that string matches the one from the push file, we should not upload the file to the Golem server.

This Python code lists all the .gvmi files in the current directory.
import os

files = os.listdir(os.curdir)
for file in files:
    if file.endswith('.gvmi'):
        print(file)

This can be used to get the file names by default to then delete it after the script has run if there isn't a file name in the flags.


About 3DHP

Hello author, thank you very much for sharing. This is an excellent piece of work. When running train_3dhp.py, I found that the dimension of input x in line 50 of the code is [N, T, 17,3]. My understanding is that the in_channel here should not be 2, should we use 2D pose as input? In reality, the 3D pose is used as input. This is where I don't quite understand. Or rather, I misunderstood. Finally, thank you for your answer!  : )

The input is (x, y, score), so 2D keypoints plus confidence value.

The input is (x, y, score), so 2D keypoints plus confidence value.

I understand, thank you very much for your answer!


PHP 7.4

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/BackendService.php  -6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Coverage increased per file
===========================
+ src/Entity/RiskInfo.php  2
+ src/Entity/TransactionDetails.php  1
+ src/Response/XmlResponseData.php  1
+ src/Entity/CustomFieldCollection.php  1
+ src/Helper/Enum.php  2
+ src/Entity/CustomField.php  2
+ src/Transaction/Transaction.php  1

Coverage decreased per file
===========================
- src/Entity/Device.php  -4
- src/Mapper/RequestMapper.php  -4
- src/Config/Config.php  -2
- src/Transaction/EpsTransaction.php  -10
- src/Entity/Browser.php  -2
- src/Helper/XmlBuilder.php  -10
- src/Entity/Redirect.php  -8
- src/TransactionService.php  -15
- src/Entity/AccountHolder.php  -1
- src/BackendService.php  -6
- src/Entity/Payload/NvpPayloadData.php  -8
- src/Entity/Mappable.php  -1
- src/Entity/Basket.php  -2
- src/Response/ResponseFactory.php  -9
- src/Entity/Address.php  -2
- src/Transaction/CustomFieldTransaction.php  -15

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/TransactionService.php  -6
- src/TransactionService.php  -6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/TransactionService.php  -8

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Coverage decreased per file
===========================
- src/Transaction/CustomFieldTransaction.php  -10
- src/TransactionService.php  -8
- src/Response/ResponseFactory.php  -4
- src/BackendService.php  -21

See the complete overview on Codacy


fix: set accountId 0

Summary
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you check your dashboard image quality? -  Do they look good?
[x] Did you check that your alerts actually work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[x] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

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

Hi @ykarlinski-newrelic would you mind just signing the CLA and we can get this merged :D


Enable building on python3 along with changes to doctest to work unde…

…r both python2 and python3
This enables building a python3 version of the module via 2to3.  It also modifies the doctests so that they work under both python2 and python3 (by using the concept of native strings that the wsgi folks popularized).
I'll understand if you don't like this -- it isn't my favorite approach to either of these problems either.  But it would be appreciated if you could look at this and @ThomasWaldmann's approach in https://github.com/mitsuhiko/speaklater/pull/3 and decide if either of them are worth working on more.  I'd be willing to do more work to make either approach better but don't know what your criteria for a preferred solution would be.
Fixes #2

FWIW, there's a patch in Debian to support Python3:
https://anonscm.debian.org/cgit/python-modules/packages/speaklater.git/tree/debian/patches/0002-port-to-python-3.3-and-also-support-2.6-2.7.patch
@mitsuhiko, do you plan on integrating one of these approaches?


feat: show notifications for start/stop/delete integration actions

fixes #148
Ready for review.
Am feeling like we could refactor out all the actions into a separate component along with their dialogs, but I can't decide if that'd be worthwhile or not.  I'd do it later anyways, there's other things to get done.

PR Storybook available here

Am feeling like we could refactor out all the actions into a separate component along with their dialogs, but I can't decide if that'd be worthwhile or not. I'd do it later anyways, there's other things to get done.

Yeah I agree


[BUG/Help] <微调的时候会把labels放入inputs中>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
似乎微调的时候会把labels放入inputs中

我查看了代码ChatGLM-6B-main/ptuning/main.py，代码里也是这么做的

Expected Behavior
No response
Steps To Reproduce
sh train.sh
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :

Anything else?
No response

That is expected. You can read papers about autoregressive generation to understand.


Boxes shown for missing multiroot file icons

This is using the Seti UI theme (from the extension) which has a folder icon available.

All the built in extensions work fine. So you are using a Seti UI theme.
The issue is that @aeschli comment does not seem to be true.
So if the an icon theme does not provide a root icon the folder icon should be used instead.
I checked and https://github.com/hellopao/vscode-seti-icons does not provide a root folder icon.


Errors in event handlers cause server to crash

The flow:

Event handler onClick called
Event handler dumps an event (dict) into an anyio memory_stream's send_stream
Event handler done
Separate anyio-spawned thread picks up the event (inside an async for)
Event is executed, exception hit
Stack trace posted above happens

The rest of the application (the event queue) is responsive when this happens and I'm able to dispatch/process events via non-idom means.
My fix was to add a try/catch around step 5. The problem is resolved but the stack trace was getting swallowed somehow from the exception in event execution so it took a while to realize it was my code at fault.
Hopefully that all makes sense.
Originally posted by @brentbaum in https://github.com/idom-team/idom/discussions/392#discussioncomment-879196

Adding a try/except here and logging the error rather than raising it should fix the issue: https://github.com/idom-team/idom/blob/main/src/idom/core/layout.py#L108

A fix for this will make it into the upcoming 0.29.0 release this week.


Fixes #4139.

Function dosomething_signup_get_mobilecommons_vars() has been removed in #4024, but it is still used by dosomething_signup_get_mobilecommons_friends_vars().

:+1:


Close tab button for Macs

It would be nice to maintain consistency by having the close tab button on the left side of tabs for Macs. Some ideas include:

a configuration option
a separate theme
automatically detected based on the OS

This came up already in https://github.com/atom/one-dark-ui/pull/95 and was closed as wontfix (for now).
I think if this theme should support it, then only as a configuration option to not mess with people's muscle memory.
There are also these additional options:

See if there is a package for it? Maybe this, this or this.
Point people to https://github.com/atom/one-dark-ui/pull/95#issuecomment-199668345 so they can override it in their styles.less file.

@simurai see also https://github.com/atom/tabs/issues/378

yeah, doing it the tabs package would be ideal, but probably hard to not break existing packages/themes. For example the One themes have some custom gradient mask for the text that would need to be switched direction.

Closing, this is now supported in the theme settings:


Fix bug with aioHTTP and none authentification

Description:
Related issue (if applicable): fixes #4109

🐬  ok to merge when tests pass


[WHLSL] _checkShaderType checks seem wrong

Migrated from https://bugs.webkit.org/show_bug.cgi?id=189033:
At 2018-08-27T23:31:58Z<EMAIL_ADDRESS>wrote:
We should make sure they match the spec.

At 2018-09-13T01:51:22Z<EMAIL_ADDRESS>wrote:
rdar://problem/44403013

At 2018-09-22T08:27:45Z<EMAIL_ADDRESS>wrote:
*** This bug has been marked as a duplicate of bug 189134 ***


Add notes about running the test suite

Includes:

a tests/requirements.txt file for the test dependencies
a little diff fluff from my Markdown auto-formatter, hope that's alright

Part of https://github.com/openjournals/joss-reviews/issues/7123
If desired, I can add the tests to CI as well, let me know if you'd like me to tackle that.

thanks for the requirements.txt, I had not thought of that, indeed.
The "diff fluff" as you call it is okay I guess.
And anything that can improve the package is welcome, so feel free to suggest!


Highlighting user actions in editor tour

Tour steps containing an action the user should perform now have following formatting:

A colored border around the step.
The text detailing the action is displayed semi-bold.
The text detailing the action is displayed in color.
The text detailing the action is displayed as a new paragraph.

Resolves #789.

Basics

[ ] I added a line to /doc/CHANGELOG.md
[ ] The PR is rebased with current master.
[ ] Details of what you changed are in commit messages.
[ ] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.

Checklist

[ ] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed the introduction tour
[ ] I wrote migrations in a way that they are compatible with already present data
[ ] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
(exceptions are documented)
[ ] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

jenkins build please

jenkins build please


[Spanish] localize 'API Gateway'

Localize the content/en/api_gateway.md document to Spanish

Please assing this to me.

Only needs review


PHOENIX-7175 : Set java.io.tmpdir to the maven build directory for tests

merged manually

merged manually

what does merge manually mean? Why not use the regular merge?

via git cli, not github.
I add this to avoid confusion when the PR is closed.


layers: Change size of X8_D24_UNORM_PACK32

Lots of validation errors in CTS due to this being 3 instead of 4.  Dave confirms 4 is correct.

Push it!

P-push it real good!


There is no error when entering a reserved word "administrator" as the VM username

OS: All
Build Version: 20201129.1
Repro Steps:

F1 -> Azure Virtual Machines: Create Virtual Machine... (Advanced) -> Enter a VM name -> Select an OS -> Select an image -> Enter a username "administrator".
Check whether there is an error or not.

Expect:
There is an error, such as the below error in portal.

Actual:
There is no error.

More Info:

This issue reproduces for Windows/Linux VM with any images.
There is an error when creating a VM with username "administrator".

@nturinski , this issue also reproduces on the latest main build 20201217.2 which merged the PR you mentioned above. Could you help to take a look?

Sorry, you're correct.  I originally had fixed it in that PR, but had reverted the changes.  Good catch!


Example examples/example.md throws 500 error

The example.md throws a 500 error. All examples should be working.
"code": 500,
  "errors": [
    {
      "message": "Internal error encountered.",
      "domain": "global",
      "reason": "backendError",
      "debugInfo": ...

Appears to be an internal error related to loading images, an an intermittent one at that. Seems to fail ~50% of the time for me when loading images from a particular source (unsplash.com). Filed a bug against the Slides API.
Will update the example presentation to load from elsewhere.

Switching to https://picsum.photos/ seems to work more reliably.


Translation of English proposal for index.md

In case pull-request #24671 is accepted, this is its Spanish translation
Pull-request URL: https://github.com/freeCodeCamp/freeCodeCamp/pull/24671

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@econdepe Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


Allow loading links from other apps

See issue #3 (no idea why it was closed, it didn't look like it was fixed)
Clicking a link in a different app and opening in Colombo would lead to a blank browser page. This change should fix that.

Wait i am changing a lot of the project structure, so for avoid conflicts i will include your code my self

Is already working :/

Yeah, it wasn't working when I pushed the fix :stuck_out_tongue_closed_eyes:
The Intent wasn't being handled.

Oh OK, btw thanks


Adapts to dark mode for iOS example project.

Changes in this pull request
Checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

Love it! Thank you so much @dirtmelon !

would it be possible to introduce a UIColor extension that uses the #available checks within it and switch between the new apis like labelColor and the hardcoded colors? That would help to keep the callsites a little bit cleaner and allow the examples to focus on the critical/relevant integration points

Done. @joetam @lorixx Thanks for reviewing.


Windows binary not working

Running the windows binary does nothing.

@cybercritic, I'm not sure what you mean.  Running the exe, even with a correct config, is not going to display anything.  It will simply wait for connections and forward emails.  It's meant to be run as a daemon/service.
Did you try running with the -test flag to test your configuration?  See here.


Building Release APK for arm64 & arm32(?)

Hi I'm building a release apk for the playstore.
I'm able to build for arm64 (my pixel) using:
flutter build apk --release -target-platform android-arm64
and for arm32? using:
flutter build apk --release
but then i have two different apks.
is there any easy way to combine so i have one apk for the playstore?

@Hixie

Listening intently...
On Fri, Aug 10, 2018 at 5:25 PM netindicium<EMAIL_ADDRESS>wrote:

Has this been resolved ?
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/18681#issuecomment-412237102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ5ei87IeqlYr60hkHJtqDH61es8Z0gks5uPiRzgaJpZM4UyZin
.

--
Jean-Paul Cozzatti
(925) 378-0290
@jeanpaul

any news about this?

i think this is the Issue that really solves this for everyone?
Support for Android App Bundles
https://github.com/flutter/flutter/issues/17829

Hi @gedw99 ,
I'm sorry but I don't quite understand the solution proposed there. I still can't build a single apk with support for both android-arm and android-arm64, in order to upload only one apk on Google Play Store. Could you explain a bit?
If you could give a bit more details I would be deeply appreciative.
Than you

Dup of https://github.com/flutter/flutter/issues/19275


Publish the OPA dashboard to Grafana Dashboards

It would be great to publish this OPA dashboard to Grafana Dashboards so more people can know this exists 😃

That's a great idea @Hongbo-Miao, I'll take that as a ToDo.

Published: https://grafana.com/grafana/dashboards/14828


Provide a way to ask user an arbitratry modal dialog before closing window.

Upon closing vscode, extension developers like myself are sometimes in need of asking the user if its ok to lose some state/data, (or some other simple question).
For example, my extension may provide a service or remote feature, or bridge to something outside of vscode, that may be in the process of doing something (may be as simple as the concept of being 'dirty') where it would be greatly useful to ask the user a simple question before closing.
(such as  "save dirty state? yes/no" of whatever the extension is providing a view of..., or "cancel operation or continue after closing" for whatever remote operation the extension had started, in essence,  modal dialogs with those kind of messages, etc.)
Before raising this issue I've tried hooking on 'deactivate' but it does not seem to provide access to vscode's GUI modals, as I've tried this simple 'ok' before quitting to no avail.:
export function deactivate(): Promise<any> {
  return vscode.window.showInformationMessage('Deactivating Leo - Unsaved Leo Files will be lost!', { modal: true }, 'ok')
          .then((p_result) => {
              console.log('DEACTIVATE 2', p_result);
              return true;
          }) as Promise<any>;
}

Lastly - if deactivate can expect a promise as a return value, I expected vscode would at least wait for the promise to resolve ... or limit it with a 10 second timer to limit extensions in this closing process somewhat. (documentation is short about this)
Anyways Thanks for considering and Thanks for this great product!!

cc @jrieken


io: Make the crate conform to the API guidelines

Rust API Guidelines Checklist

Naming (crate aligns with Rust naming conventions)

~[ ] Casing conforms to RFC 430 (C-CASE)~
[ ] Ad-hoc conversions follow as_, to_, into_ conventions (C-CONV)
[ ] Getter names follow Rust convention (C-GETTER)
[ ] Methods on collections that produce iterators follow iter, iter_mut, into_iter (C-ITER)
[ ] Iterator type names match the methods that produce them (C-ITER-TY)
[ ] Feature names are free of placeholder words (C-FEATURE)
[ ] Names use a consistent word order (C-WORD-ORDER)

Interoperability (crate interacts nicely with other library functionality)

[ ] Types eagerly implement common traits (C-COMMON-TRAITS)

Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug,
Display, Default

[ ] Conversions use the standard traits From, AsRef, AsMut (C-CONV-TRAITS)
[ ] Collections implement FromIterator and Extend (C-COLLECT)
[ ] Data structures implement Serde's Serialize, Deserialize (C-SERDE)
[ ] Types are Send and Sync where possible (C-SEND-SYNC)
[ ] Error types are meaningful and well-behaved (C-GOOD-ERR)
[ ] Binary number types provide Hex, Octal, Binary formatting (C-NUM-FMT)
[ ] Generic reader/writer functions take R: Read and W: Write by value (C-RW-VALUE)

Macros (crate presents well-behaved macros)

[ ] Input syntax is evocative of the output (C-EVOCATIVE)
[ ] Macros compose well with attributes (C-MACRO-ATTR)
[ ] Item macros work anywhere that items are allowed (C-ANYWHERE)
[ ] Item macros support visibility specifiers (C-MACRO-VIS)
[ ] Type fragments are flexible (C-MACRO-TY)

Documentation (crate is abundantly documented)

[ ] Crate level docs are thorough and include examples (C-CRATE-DOC)
[ ] All items have a rustdoc example (C-EXAMPLE)
[x] Examples use ?, not try!, not unwrap (C-QUESTION-MARK)
[ ] Function docs include error, panic, and safety considerations (C-FAILURE)
[ ] Prose contains hyperlinks to relevant things (C-LINK)
[ ] Cargo.toml includes all common metadata (C-METADATA)

authors, description, license, homepage, documentation, repository,
keywords, categories

[ ] Release notes document all significant changes (C-RELNOTES)
[ ] Rustdoc does not show unhelpful implementation details (C-HIDDEN)

Predictability (crate enables legible code that acts how it looks)

[ ] Smart pointers do not add inherent methods (C-SMART-PTR)
[ ] Conversions live on the most specific type involved (C-CONV-SPECIFIC)
[ ] Functions with a clear receiver are methods (C-METHOD)
[ ] Functions do not take out-parameters (C-NO-OUT)
[ ] Operator overloads are unsurprising (C-OVERLOAD)
[ ] Only smart pointers implement Deref and DerefMut (C-DEREF)
[ ] Constructors are static, inherent methods (C-CTOR)

Flexibility (crate supports diverse real-world use cases)

[ ] Functions expose intermediate results to avoid duplicate work (C-INTERMEDIATE)
[ ] Caller decides where to copy and place data (C-CALLER-CONTROL)
[ ] Functions minimize assumptions about parameters by using generics (C-GENERIC)
[ ] Traits are object-safe if they may be useful as a trait object (C-OBJECT)

Type safety (crate leverages the type system effectively)

[ ] Newtypes provide static distinctions (C-NEWTYPE)
[ ] Arguments convey meaning through types, not bool or Option (C-CUSTOM-TYPE)
[ ] Types for a set of flags are bitflags, not enums (C-BITFLAG)
[ ] Builders enable construction of complex values (C-BUILDER)

Dependability (crate is unlikely to do the wrong thing)

[ ] Functions validate their arguments (C-VALIDATE)
[ ] Destructors never fail (C-DTOR-FAIL)
[ ] Destructors that may block have alternatives (C-DTOR-BLOCK)

Debuggability (crate is conducive to easy debugging)

[ ] All public types implement Debug (C-DEBUG)
[ ] Debug representation is never empty (C-DEBUG-NONEMPTY)

Future proofing (crate is free to improve without breaking users' code)

[ ] Sealed traits protect against downstream implementations (C-SEALED)
[ ] Structs have private fields (C-STRUCT-PRIVATE)
[ ] Newtypes encapsulate implementation details (C-NEWTYPE-HIDE)
[ ] Data structures do not duplicate derived trait bounds (C-STRUCT-BOUNDS)

Necessities (to whom they matter, they really matter)

[ ] Public dependencies of a stable crate are stable (C-STABLE)
~[ ] Crate and its dependencies have a permissive license (C-PERMISSIVE)~

Checked - Documentation examples (C-QUESTION-MARK). Can be checked off, there are no try! or unwrap.

Scratched out items are checked off over here: https://github.com/rust-bitcoin/rust-bitcoin/issues/1649

C-STABLE: Done. The only dependency is internals and grepping the API text files shows internals is not mistakenly in the public API.

C-SEALED: Done. There are 4 traits. IntoBoxDynDebug is in a private sealed module. And the other 3 are meant to be implemented by users (Read, BufRead, Write)

C-STRUCT-PRIVATE: Done. All structs have private fields except Sink which has no fields as expected.

C-NEWTYPE-HIDE: Done. The only function parameters are generics, buffers (byte slices), or position (u64). No new types required by this lib.

C-STRUCT-BOUNDS: Done. The only trait bounds are on Take and they look correct to me (and are not derivable traits).
pub struct Take<'a, R: Read + ?Sized> {
    reader: &'a mut R,
    remaining: u64,
}

All checkmarks added to here.


select 下拉框 选项和框分离 是缺少了什么样式吗

Bug Report or Feature Request (mark with an x)

[ ] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Current behavior

Expected behavior

Environment

Angular version: X.Y.Z

ngx-weui version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

Others:

@Leiloloaa 麻烦提供一个重现示例。


Threat Hunting with YARA

Aim

The objective of the Threat Hunting with YARA section is to proactively identify and mitigate potential cyber threats by leveraging YARA rules for advanced detection and analysis.

Details

The objective of the Threat Hunting with YARA project is to provide tutorials, resources, and explanations to assist in the generation of YARA rules, enabling proactive identification and mitigation of potential cyber threats through advanced detection and analysis.I will add rules generation scripts, techniques and other CTF tutorials regarding yara

Do I want to work on this:

[x]  Yes

Go Ahead @shakil1819


Arbitrary equality in pip freeze causes crash

[ x] I am on the latest Poetry version.
[x ] I have searched the issues of this repo and believe that this is not a duplicate.
[x ] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

MacOS High Sierra 10.13.6:
Poetry 0.11.5:

Issue

Running poetry install when a package is installed such that pip freeze lists it with an arbitrary equality operator (ex. package===1.6.1-642-g1e03d5e853) causes an exception
[ValueError]
Unable to parse "=1.6.1-642-g1e03d5e853".

Looks like the issue is the strict splitting on == in poetry/repositories/installed_repository.py.

Maybe change name, version = line.split("==") to name, version = re.split("={2,3}", line)?


Modify src/QuantEcon.jl

delete evaluate_policy!  : which doesn't exist in ddp.jl
export num_states  : for convenience

Thanks for cleaning this up @myuuuuun1
@oyamad are you ok with this? For some reason I'm remembering you commenting about the future of num_states or num_actions.

It is num_actions that I propose to delete (#103), while I believe num_states is worth exporting.

Excellent, thanks for confirming


How to get signInWithCustomToken working ?

I am trying to use signInWithCustomToken to Login
Bootstrap is setup like this:
firebaseAuthConfig({
      provider: AuthProviders.Custom,
      method: AuthMethods.CustomToken,
    })

And my code is like this
this.af.auth.login({ token });
But I am getting this kind of error:
error TS2345: Argument of type '{  token }' is not assignable to parameter of type 'EmailPasswordCredentials | AuthCredential | string'.
      Object literal may only specify known properties, and 'token' does not exist in type 'EmailPasswordCredentials | AuthCredential | string'.

@dmastag  you should use this -
this.af.auth.login( token );
i.e. only pass the string and not the object. There is a change in the parameter type in Firebase 3

@ksachdeva I am getting the following Error when doing that
EXCEPTION: Error: Uncaught (in promise): You must include credentials to use this auth method.

Is there anything I am missing ?

Could it be that I've setup the wrong provider?

@dmastag
I have never user the customToken auth before but looking at the source it seems that the login method is waiting for another parameter.
Try passing an empty config like this:
this.af.auth.login(token, {})

@dmastag
Below is what is working for me (there are problems once the token is submitted to Firebase which I will describe in a separate issue but this will get you to submit the token)
this.fbAuth.login(authToken, {
provider: AuthProviders.Custom,
method: AuthMethods.CustomToken
});

I am getting this exception:
'EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property 'providerId' of undefined'
I've put this into my constructor:
 constructor(af: AngularFire) {

    af.auth.subscribe(auth => console.log(auth ));
    af.auth.login(localStorage.getItem('fbToken'), {
      provider: AuthProviders.Custom,
      method: AuthMethods.CustomToken,
    });
}

Are you on Beta.2 also ?

Correct. I am also getting this error. Please see this - https://github.com/angular/angularfire2/issues/292
AngularFire2 is expecting providerData and providerId but when we are doing custom token authentication Firebase is returning provderdata array with length 0. I am not sure whose bug it is - Firebase or AngularFire2 ?  A temporary fix in AngularFire2 can be done to not rely on providerData when doing custom authentication but cleaner approach will be if Firebase returns the providerId as 'custom'

This is an issue in the way Custom Login provider data has changed in Firebase 3.0. The current code base relies on that provider data existing when it can now be null. We'll work on getting this fix.

Hi David,
I have created a repository as an example to demonstrate the custom authentication. As you already know that there is a bug with the providerId. I thought it would be helpful to test the modification when you will fix the bug. There is a readme that describes all the necessary setup etc as well
https://github.com/ksachdeva/firebase-custom-auth-example
Regards & thanks
Kapil

Hi David,
Here is a pull request for this issue/bug :
https://github.com/angular/angularfire2/pull/301
that contains the fix for the issue. The CI is failing but I do not think it is because of my modifications; seems like a build issue.
I did run the tests locally and they all are passing.
Regards
Kapil

Is there any workaround for this for now? I am trying to integrate my app with auth0 custom tokens.

@npradeeptha you either try the pull request #301 or you use firebase without angularfire for the authentication

Thank you! I wasn’t aware I could you both firebase and angularfire2 in tandem.
From: Julian Alimin<EMAIL_ADDRESS>Sent: Tuesday, July 05, 2016 5:32 PM
To: angular/angularfire2
Cc: Perera, Nipuna; Mention
Subject: Re: [angular/angularfire2] How to get signInWithCustomToken working ? (#286)
@npradeepthahttps://github.com/npradeeptha you either try the pull request #301https://github.com/angular/angularfire2/pull/301 or you use firebase without angularfire for the authentication
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/angular/angularfire2/issues/286#issuecomment-230622016, or mute the threadhttps://github.com/notifications/unsubscribe/ALCfFqoGptktSV-IimVfsBz-RT2CEBbyks5qSttggaJpZM4I-aVR.

Any update here?

@hunterleaman Working on it for the next release.


merge from arlac77/template-arlac77-github,arlac77/template-cli-app

package.json

chore(package): remove arlac77/template-github (template.inheritFrom)
chore(package): add arlac77/template-arlac77-github (template.inheritFrom)

README.md

docs(README): update from template

:tada: This PR is included in version 2.1.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


clarified what plugin module to call from pelicanconf.py

Depending on what mode (markup or liquid) is used, a different module needs to be loaded from pelicanconf.py.
Clarifies issue #74.

Fixed this manually right now since there is a conflict. Thanks!


signs and information in statusline mismatch

1 warning sign vs 2 warnings

2 warning sign vs 5 warnings

2 warning sign vs 3 warnings

What's more, I found this type of mismatch often happens, though in some cases it's expected.

One line can contain more than one error/warning, to know the exact number check the loclist.

@KabbAmine Seeming my misunderstanding，thanks.


MG RP new API versions: 2020-10-01 and 2021-04-01

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[X] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[X] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[X] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[X] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[x] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Swagger changes look good from ARM point of view. Once, the breaking changes issue is cleared up, we'll be able to sign off.

Can we know why this PR include 2 new API versions? why not use one version to cover all changes?

/cc @msyyc @ArcturusZhang pls help double check the go and python sdk breaking change.

/cc @msyyc @ArcturusZhang pls help double check the go and python sdk breaking change.

Do I need any other approvals for this PR?

@stivanov-git please proceed with the assignee @zhenglaizhang

@zhenglaizhang is there anything else we need for an approval on this PR?


[dv] Fix tl host for reset

In #4282, we updated it to avoid printing too much log and reduce loops
However, when a req comes in the the middle of reset, we won't process
it as driver is waiting for reset to be released, which causes
uncompleted items in RAL
Changed to still polling every 1ns but don't enter `DV_SPINWAIT_EXIT if
it's in the reset
Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

The last push removed below in cip_base_vseq. This statement flushes all the  remaining items in seq_item_port but it doesn't release the semaphore that is gotten by RAL, which makes it very hard to debug. It took me a while to figure out the root cause of the failure.
p_sequencer.tl_sequencer_h.stop_sequences();
I feel it's better to remove that. If any undone RAL request, we should see error from this line. I ran 1000 tests and all passed. Will keep an eye to see if this affects stress_all with reset in regression.
`DV_CHECK_EQ(seq_item_port.has_do_available(), 0)


Springy cursor

I've created an alternative cursor movement for your consideration. The cursor smear is very fun and got my interested in this project. I thought I'd offer another interpretation. It uses a spring-damper setup rather than a lerp on the corners. It also adds volume preservation on the squash and stretch.
Here are some examples of the new movement style. Critical damping gives a more subdued feel:
https://user-images.githubusercontent.com/13814470/103178181-65019080-4835-11eb-9dfe-acfab602cfb3.mp4
Underdamping gives a snappier, more playful feel with a bit of overshoot:
https://user-images.githubusercontent.com/13814470/103178200-911d1180-4835-11eb-8e9c-577211d1ea6c.mp4
As an aside, the codebase has great discoverability, even with few comments. I love how easy it was to add new global settings.

@tim-harding ping? Do you plan on coming back to this? I may close it as stale if not given that there are merge conflicts.

Closing as stale. Please forgive the abandonment.


document public API

@ianpartridge thank you!

Feel free to add/ignore those small tweaks; this looks amazing and is super helpful! 🥇

Thanks @Yasumoto! I committed the obvious fixes :)


ipc: allow passing date instances

Fixes #4490

We should follow the behavior of JSON.stringify, by converting date to string.

JSON.stringify returns instance of date as ISO string, should we return the same ? Currently just returns the same value as Date.toString.

It should return the same value with JSON.stringify.

Fixed, thanks!

:+1:


Lollipopplot does not show complete protein length.

Describe the issue
We tried to plot "MUC3A" in lollipop plot. The length of the actual protein is 3323 according to uniprot database. But it is only showing 876.
Command
lollipopPlot(
  maf = maffiles,
  gene = 'MUC3A',
  AACol = 'Protein_Change',
  showMutationRate = TRUE,
  showDomainLabel = FALSE,
  labPosSize = 1.2,
  printCount = TRUE,
  labPosAngle = 90,
  repel = FALSE,
  legendTxtSize = 1.4,
  axisTextSize = c(1.3,1.3),
  labelOnlyUniqueDoamins = FALSE,
  titleSize = c(1.4,1.2),
  pointSize = 1.8,
  domainLabelSize = 1.4
  )

Hi,
I don't know which transcript the length of 3323 corresponds to.
As per cBioPortal - the length and transcript seems to match

Hi, thanks for your quick reply. But according to Uniprot, the length of the protein is 3323. Moreover, in our analysis we also got the same length and mutational site, which extends beyond 876 amino acids.

Could you please post the transcript ID?

It,s ENST00000379458.9


Fix GATEWAYS_ENUM

I want to merge this change because...
#4105
Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] GraphQL schema and type definitions are up to date.
[ ] Changes are mentioned in the changelog.

We need to generate a new GraphQL schema as well.


Native XPath support in jsoup

This is a first draft of adding native XPath support to jsoup. It uses the Java provided XPath parser & evaluator, so should fully support all valid XPath expressions.
As a starting point, I've added the method:
Elements el.selectXpath(String expression)

For example:
String html = "

One

Two

Three
";
Document doc = Jsoup.parse(html);

Elements els = doc.selectXpath("//div/p");
assertEquals(2, els.size());
assertEquals("One", els.get(0).text());
assertEquals("Two", els.get(1).text());

I'm planning on bringing this in as a beta feature in the next release (1.14.3 -- I'll add a few more tests first) and then hopefully finalizing it in a release shortly following that. I'm looking for all feedback on how to make this feature most useful, and feel jsoup native.
Particularly:

does the name selectXpath make sense? Had thought also about just xpath() or selectX)
should we have a selectXpathFirst method, like selectFirst?
this current implementation is namespace aware. From looking at common XPath questions, it seems that that namespaces can be a source of confusion and query difficulty. Should we make it default to namespace unaware, and add another method (?) selectXpathNS or similar with it on? Or best to leave as-is?
Does this match what you were expecting when you heard "jsoup has xpath support now"? What's missing? (Please provide suggested API signatures and how you'd use them)
Does it work for your data and queries? Can you break it?

Greetings!
First and most important: Thank you so much for your work and providing those great tools! Much appreciated.
Now some requested feedback from practice. Parsing an XHTML file in order to insert a TOC, I got everything working somehow, but it was not straight forward and a lot of trial'n error.
The main confusion is about the XPATH. With my limited knowledge, I would have expected this to work (it works
//xhtml:a[not(@href)]/@name

But in JSoup, I had to use
//*[local-name()='a' and not(@href) and @name]

I get somehow, why I have to work around the namespaces. But I am totally lost, why this did not work
//*[local-name()='a' and not(@href)]/@name

XSoup did not work at all because of the Name Space and looking for elements without the href attribute.

@manticore-projects thanks for the feedback. Can you take a look at the current release (1.15.2, you can use try.jsoup) and see if your issues are fixed? Otherwise, could you open a new issue and include sample HTML / XML, and the xpath query. I have disabled namespace awareness in the xpath evaluator which will simplify things.

Works even better than xsoup. Thanks a lot. However the only thing i experienced was "Could not find function: lower-case". That's not a problem for me since [contains(attr, val) does ignore case in jsoup.
It's technically 2 errors which even out for me ;-)


Automated Package Upgrade

:tada: This PR is included in version 25.3.460 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


/dashboard improvements

improve the dashboard
feed:

[ ] add more context information
[ ] replace dummy "load more" with real implementation

graph:

[ ] issues with specific status over time
[ ] response limit of open issues

moved to trello & feedback tool


Policy needed to enforce Server-side encryption for managed disks

We should offer a custom policy to enforce SSE for managed disks so customers can BYOK into Azure Key Vault. This may be on the roadmap for ESLZ so upstream needs to be checked.

There are some recently created policies listed here that should help with this requirement:

OS and data disks should be encrypted with a customer-managed key. Use customer-managed keys to manage the encryption at rest of the contents of your managed disks. By default, the data is encrypted at rest with platform-managed keys, but customer-managed keys are commonly required to meet regulatory compliance standards. Customer-managed keys enable the data to be encrypted with an Azure Key Vault key created and owned by you. You have full control and responsibility for the key lifecycle, including rotation and management. Source.
Managed disks should use a specific set of disk encryption sets for the customer-managed key encryption. Requiring a specific set of disk encryption sets to be used with managed disks give you control over the keys used for encryption at rest. You are able to select the allowed encrypted sets and all others are rejected when attached to a disk. Source.
Managed disks should disable public network access	Disabling public network access improves security by ensuring that a managed disk isn't exposed on the public internet. Creating private endpoints can limit exposure of managed disks. Source.

The third one is often overlooked but is really important. It basically adds private link to the disk export feature which makes data exfiltration (i.e. the direct download of an unencrypted disk) more difficult. More info on this at: https://aka.ms/disksprivatelinksdoc.