Redirect flow within iframe with allowRedirectInIframe flag

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.22.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.1.1
Description
Hi,
My application B is hosted inside an iframe of another application A. The user journey is that the user logs into the parent application A and then clicks on the navigation menu which loads my application B in an iframe. This application B is an Angular SPA and the backend is hosted on a different domain. I am trying use Bearer tokens in this application B after acquiring a session with the redirect flow. I am using the "allowRedirectInIframe" flag as well. however this does not work. B starts the redirect flow comes back and starts it all over again and fails with the following error

I can see some issues/docs where it explicitly says that redirect flow is not possible in iframes. for eg
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3759
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/iframe-usage.md
But the existence of the "allowRedirectInIframe" flag leads me to believe that this is outdated. Please correct me if i am wrong. Otherwise can you tell me what i am doing wrong? I have attached my msal config and app.module.ts file below.
MSAL Configuration
auth: {
    clientId: 'xxxxxxxxxxxx',
    authority: b2cPolicies.authorities.signUpSignIn.authority,
    knownAuthorities: [b2cPolicies.authorityDomain],
    redirectUri: https://my.redirect.uri,
    postLogoutRedirectUri: '/logged-out'
  },
  cache: {
    cacheLocation: BrowserCacheLocation.LocalStorage,
    storeAuthStateInCookie: false
  },
  system: {
    loggerOptions: {
      logLevel: LogLevel.Error,
      piiLoggingEnabled: false,
    },
    allowRedirectInIframe: true,
  },

Relevant Code Snippets
// app.module.ts code
  providers: [
    ConfigService,
    {provide: HTTP_INTERCEPTORS, useClass: RequestHeaderInterceptor, multi: true},
    {provide: HTTP_INTERCEPTORS, useClass: ConfigServiceInterceptor, multi: true, deps: [ConfigService]},
    {provide: HTTP_INTERCEPTORS, useClass: RequestErrorInterceptor, multi: true, deps: [ToastrService]},
    {provide: ErrorHandler, useClass: AppErrorHandler},
    {
      provide: HTTP_INTERCEPTORS,
      useClass: MsalInterceptor,
      multi: true,
    },
    {
      provide: MSAL_INSTANCE,
      useFactory: MSALInstanceFactory,
    },
    {
      provide: MSAL_GUARD_CONFIG,
      useFactory: MSALGuardConfigFactory,
    },
    {
      provide: MSAL_INTERCEPTOR_CONFIG,
      useFactory: MSALInterceptorConfigFactory,
    },
    MsalService,
    MsalGuard,
    MsalBroadcastService,
    // {
    //   provide: APP_INITIALIZER,
    //   multi: true,
    //   deps: [MsalService],
    //   useFactory: (authService: MsalService) => {
    //     return () => {
    //       return authService.ssoSilent({
    //         scopes: []
    //       }).toPromise();
    //     };
    //   }
    // },
  ],
  bootstrap: [AppComponent]
})

Identity Provider
Azure B2C Custom Policy
Source
External (Customer)

@sibijohn72 Are you using the B2C embedded sign in feature? The allowRedirectInIframe flag was added specifically to enable that feature (otherwise, the server will return X-Frame-Options header set to Deny, which will prevent the login page from being rendered in the iframe).
From the documentation you linked:

Azure AD B2C offers an embedded sign-in experience, which allows rendering a custom login UI in an iframe. Since MSAL prevents redirect in iframes by default, you'll need to set the allowRedirectInIframe configuration option to true in order to make use of this feature. Note that enabling this option for apps on Azure AD is not recommended, due to the above restriction.

@jasonnutter We dont use the embedded sign-in experience. Thank you for clarifying. 👍
It would be really great if you can tell me if the following thought process of mine is right. :)
My app and the iframe is on the same origin. Unfortunately the parent frame does not use local storage for MSAL's caching. Given this scenario i am assuming that i could to go with the "Apps with cross origin" approach outlined here. Is my understanding correct?

Yes, you can try that approach.

Try it already. Works. Thank you. :)

@sibijohn72 Are you using the B2C embedded sign in feature? The allowRedirectInIframe flag was added specifically to enable that feature (otherwise, the server will return X-Frame-Options header set to Deny, which will prevent the login page from being rendered in the iframe).
From the documentation you linked:

Azure AD B2C offers an embedded sign-in experience, which allows rendering a custom login UI in an iframe. Since MSAL prevents redirect in iframes by default, you'll need to set the allowRedirectInIframe configuration option to true in order to make use of this feature. Note that enabling this option for apps on Azure AD is not recommended, due to the above restriction.

Can you elaborate more on this topic? According to Microsoft the front-channel logout functionality is supported for both Azure AD as Azure AD B2C. However, indeed I get an error when trying to logout from Azure AD in an iframe that has the allowRedirectInIframe: true  flag set.

@gurhangulmez  No, i didnt have to do that. I can share my config and the
app module file. But i am on vacation and can only do this after Jan 4th.
Sorry :/
Regards,
Sibi John
On Mon, 11 Dec 2023 at 21:04, gurhangulmez @.***> wrote:

@sibijohn72 https://github.com/sibijohn72 Thanks for openning this
discussion. I am trying to achieve the same thing, and it took a lot of
time. Did you use postMessage to authenticate the page in iframe?
—
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/4596#issuecomment-1850320646,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3HJGUGHVQDKSKAVUYRZ43YI4RZBAVCNFSM5QPBVH5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGAZTEMBWGQ3A
.
You are receiving this because you were mentioned.Message ID:
<AzureAD/microsoft-authentication-library-for-js/issues/4596/1850320646@
github.com>


Fixed exceptionless NIO handling for EOF

:(
So in true Ruby tradition. Exceptionless NIO has no real documentation, I misunderstood a patch I was reading originally and thought it returned :eof on EOF. Apparently it returns nil (super obvious right?)
I just looked again and found: https://bugs.ruby-lang.org/issues/11358 and reading that patch shows returning a nil is correct.
This won't happen in general use, but it's still not great.

:thumbsup:


InstagramRipper fails to rip anything

Ripme version: 1.7.93
Java version: 8 update 261 (1.8.0_261)
Operating system: Windows 10 Version 2004 (19041.388)
Exact URL you were trying to rip when the problem occurred: https://www.instagram.com/instagram/
Please include any additional information about how to reproduce the problem:

Expected Behavior
I expected a full and complete rip of the posts on the account I was trying to rip.
Actual Behavior
No post was ripped and I received an error which said "Error: null".

https://github.com/RipMeApp/ripme/issues/1699 Might be related to this, most of us are just finding it failing after ripping about one page of pics.

And now I am experience this exact same issue, getting a Error:null instead of anything.

Getting the same issue

Here's my full error printout
[+] Creating directory: ./rips/instagram_instagram
Retrieving https://www.instagram.com/instagram/
name:1:0 Expected an operand but found <
<!DOCTYPE html>
^
name:2:0 Expected an operand but found <
<html lang="en" class="no-js not-logged-in client-root">
^
name:3:4 Expected an operand but found <
    <head>
    ^
name:4:8 Expected an operand but found <
        <meta charset="utf-8">
        ^
name:5:8 Expected an operand but found <
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        ^
name:7:8 Expected an operand but found <
        <title>
        ^
name:9:1 Expected an operand but found /
</title>
 ^
name:12:8 Expected an operand but found <
        <meta name="robots" content="noimageindex, noarchive">
        ^
name:13:8 Expected an operand but found <
        <meta name="apple-mobile-web-app-status-bar-style" content="default">
        ^
name:14:8 Expected an operand but found <
        <meta name="mobile-web-app-capable" content="yes">
        ^
name:15:8 Expected an operand but found <
        <meta name="theme-color" content="#ffffff">
        ^
name:16:8 Expected an operand but found <
        <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover">
        ^
name:17:8 Expected an operand but found <
        <link rel="manifest" href="/data/manifest.json">
        ^
name:19:8 Expected an operand but found <
        <link rel="preload" href="/static/bundles/metro/ConsumerUICommons.css/e059ec4278a3.css" as="style" type="text/css" crossorigin="anonymous" />
        ^
name:20:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/ConsumerAsyncCommons.css/e5f471a37be6.css" as="style" type="text/css" crossorigin="anonymous" />
^
name:21:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/Consumer.css/2f3d4843da28.css" as="style" type="text/css" crossorigin="anonymous" />
^
name:22:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/LandingPage.css/8d927d69de86.css" as="style" type="text/css" crossorigin="anonymous" />
^
name:23:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/Vendor.js/5a56d51ae30f.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:24:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/en_US.js/283c814fe246.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:25:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/ConsumerLibCommons.js/8306c406d4b1.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:26:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/ConsumerUICommons.js/ff9c759d0dbe.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:27:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/ConsumerAsyncCommons.js/af02b1aebf9f.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:28:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/Consumer.js/5aadc3e477b5.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:29:0 Expected an operand but found <
<link rel="preload" href="/static/bundles/metro/LandingPage.js/b341e37926f3.js" as="script" type="text/javascript" crossorigin="anonymous" />
^
name:30:8 Expected an operand but found <
        <link rel="prefetch" as="script" href="/static/bundles/metro/FeedPageContainer.js/4589b7562b04.js" type="text/javascript" crossorigin="anonymous" />
        ^
name:31:0 Expected an operand but found <
<link rel="prefetch" as="stylesheet" href="/static/bundles/metro/FeedPageContainer.css/ca57a913952e.css" type="text/css" crossorigin="anonymous" />
^
name:34:8 Expected an operand but found <
        <script type="text/javascript">
        ^
name:41:0 Expected an operand but found <
</script>
^
name:42:8 Expected an operand but found <
        <script type="text/javascript">
        ^
name:132:0 Expected an operand but found <
</script><script type="text/javascript">
^
name:151:0 Expected an operand but found <
</script>
^
name:153:16 Expected an operand but found <
                <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/static/images/ico/apple-touch-icon-76x76-precomposed.png/666282be8229.png">
                ^
name:154:16 Expected an operand but found <
                <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/static/images/ico/apple-touch-icon-120x120-precomposed.png/8a5bd3f267b1.png">
                ^
name:155:16 Expected an operand but found <
                <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/static/images/ico/apple-touch-icon-152x152-precomposed.png/68193576ffc5.png">
                ^
name:156:16 Expected an operand but found <
                <link rel="apple-touch-icon-precomposed" sizes="167x167" href="/static/images/ico/apple-touch-icon-167x167-precomposed.png/4985e31c9100.png">
                ^
name:157:16 Expected an operand but found <
                <link rel="apple-touch-icon-precomposed" sizes="180x180" href="/static/images/ico/apple-touch-icon-180x180-precomposed.png/c06fdb2357bd.png">
                ^
name:159:20 Expected an operand but found <
                    <link rel="icon" sizes="192x192" href="/static/images/ico/favicon-192.png/68d99ba29cc8.png">
                    ^
name:163:20 Expected an operand but found <
                    <link rel="mask-icon" href="/static/images/ico/favicon.svg/fc72dd4bfde8.svg" color="#262626">
                    ^
name:165:18 Expected an operand but found <
                  <link rel="shortcut icon" type="image/x-icon" href="/static/images/ico/favicon.ico/36b3ee2d91ed.ico">
                  ^
name:171:0 Expected an operand but found <
<meta property="al:ios:app_name" content="Instagram" />
^
name:172:0 Expected an operand but found <
<meta property="al:ios:app_store_id" content="389801252" />
^
name:173:0 Expected an operand but found <
<meta property="al:ios:url" content="instagram://mainfeed" />
^
name:174:0 Expected an operand but found <
<meta property="al:android:app_name" content="Instagram" />
^
name:175:0 Expected an operand but found <
<meta property="al:android:package" content="com.instagram.android" />
^
name:176:0 Expected an operand but found <
<meta property="al:android:url" content="https://www.instagram.com/_n/mainfeed/" />
^
name:178:0 Expected an operand but found <
<meta property="og:site_name" content="Instagram" />
^
name:179:0 Expected an operand but found <
<meta property="og:title" content="Instagram" />
^
name:180:0 Expected an operand but found <
<meta property="og:image" content="/static/images/ico/favicon-200.png/ab6eff595bb1.png" />
^
name:181:0 Expected an operand but found <
<meta property="fb:app_id" content="124024574287414" />
^
name:182:0 Expected an operand but found <
<meta property="og:url" content="https://instagram.com/" />
^
name:183:0 Expected an operand but found <
<meta content="Create an account or log in to Instagram - A simple, fun & creative way to capture, edit & share photos, videos & messages with friends & family." name="description" />
^
name:184:0 Expected an operand but found <
<link rel="canonical" href="https://www.instagram.com/" />
^
name:187:4 Expected an operand but found <
    <link rel="alternate" href="https://www.instagram.com/" hreflang="x-default" />
    ^
name:188:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=en" hreflang="en" />
^
name:189:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=fr" hreflang="fr" />
^
name:190:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=it" hreflang="it" />
^
name:191:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=de" hreflang="de" />
^
name:192:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=es" hreflang="es" />
^
name:193:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=zh-cn" hreflang="zh-cn" />
^
name:194:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=zh-tw" hreflang="zh-tw" />
^
name:195:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ja" hreflang="ja" />
^
name:196:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ko" hreflang="ko" />
^
name:197:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=pt" hreflang="pt" />
^
name:198:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=pt-br" hreflang="pt-br" />
^
name:199:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=af" hreflang="af" />
^
name:200:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=cs" hreflang="cs" />
^
name:201:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=da" hreflang="da" />
^
name:202:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=el" hreflang="el" />
^
name:203:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=fi" hreflang="fi" />
^
name:204:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=hr" hreflang="hr" />
^
name:205:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=hu" hreflang="hu" />
^
name:206:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=id" hreflang="id" />
^
name:207:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ms" hreflang="ms" />
^
name:208:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=nb" hreflang="nb" />
^
name:209:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=nl" hreflang="nl" />
^
name:210:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=pl" hreflang="pl" />
^
name:211:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ru" hreflang="ru" />
^
name:212:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=sk" hreflang="sk" />
^
name:213:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=sv" hreflang="sv" />
^
name:214:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=th" hreflang="th" />
^
name:215:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=tl" hreflang="tl" />
^
name:216:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=tr" hreflang="tr" />
^
name:217:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=hi" hreflang="hi" />
^
name:218:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=bn" hreflang="bn" />
^
name:219:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=gu" hreflang="gu" />
^
name:220:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=kn" hreflang="kn" />
^
name:221:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ml" hreflang="ml" />
^
name:222:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=mr" hreflang="mr" />
^
name:223:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=pa" hreflang="pa" />
^
name:224:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ta" hreflang="ta" />
^
name:225:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=te" hreflang="te" />
^
name:226:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ne" hreflang="ne" />
^
name:227:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=si" hreflang="si" />
^
name:228:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ur" hreflang="ur" />
^
name:229:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=vi" hreflang="vi" />
^
name:230:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=bg" hreflang="bg" />
^
name:231:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=fr-ca" hreflang="fr-ca" />
^
name:232:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=ro" hreflang="ro" />
^
name:233:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=sr" hreflang="sr" />
^
name:234:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=uk" hreflang="uk" />
^
name:235:0 Expected an operand but found <
<link rel="alternate" href="https://www.instagram.com/?hl=zh-hk" hreflang="zh-hk" />
^
java.lang.NullPointerException
[!] Error while ripping URL https://www.instagram.com/instagram/
java.lang.NullPointerException
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.rangeError(ECMAErrors.java:266)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.rangeError(ECMAErrors.java:238)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.rangeError(ECMAErrors.java:225)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ErrorManager.checkLimit(ErrorManager.java:82)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ErrorManager.error(ErrorManager.java:149)
	at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.handleParseException(Parser.java:472)
	at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.parse(Parser.java:327)
	at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.parse(Parser.java:285)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getJsBodyBlock(InstagramRipper.java:449)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getHashValue(InstagramRipper.java:417)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getProfileHash(InstagramRipper.java:201)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getQhash(InstagramRipper.java:193)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getFirstPage(InstagramRipper.java:153)
	at com.rarchives.ripme.ripper.AbstractJSONRipper.rip(AbstractJSONRipper.java:63)
	at com.rarchives.ripme.App.rip(App.java:103)
	at com.rarchives.ripme.App.ripURL(App.java:296)
	at com.rarchives.ripme.App.handleArguments(App.java:279)
	at com.rarchives.ripme.App.main(App.java:78)

Yep, getting Error:null when trying to rip instagram

+1

is anonymous access a problem now?

Same issue here...

I'll take a look at it and see if I can fix it.

I quickly glanced over

at com.rarchives.ripme.ripper.rippers.InstagramRipper.getQhash(InstagramRipper.java:193)

What does this?
qHash = getQhash(document); at
https://github.com/RipMeApp/ripme/blob/master/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java#L153
I was able to resolve this locally by hard setting qHash = "";
But I am not sure what this would affect just a temp solution

Same issue found here, all of the Instagram links error out with "null"

I quickly glanced over

at com.rarchives.ripme.ripper.rippers.InstagramRipper.getQhash(InstagramRipper.java:193)

What does this?
qHash = getQhash(document); at
https://github.com/RipMeApp/ripme/blob/master/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java#L153
I was able to resolve this locally by hard setting qHash = "";
But I am not sure what this would affect just a temp solution

The way the IG ripper works is, it fetches .js files it needs, parses them and extracts the queryHash from it. Setting qHash="" should get rid of the current error but, the ripper should run into errors in the further steps. You do need the queryHash to rip the images.
You can check #1722 for a more detailed answer( and possibly some kind of fix).

I'm getting the null issue too

I'll take a look at it and see if I can fix it.

I've been working on something tonight, but it's pretty late and I need to test this a bit more before PR'ing. ( and sleep:] ) It's an updated Ripper, Nashorn (deprecated Java 11 I believe?) -> GraalVM.js to support the latest ECMAScript version to parse for the qHash. Changed a bit of the logic to choose which js file to parse as well.
Let me know what your thoughts are on adding a dependency to support parsing the newer ES versions.

Getting the null error with IG rips

I've been getting null like everyone else, but I just tried again today, and I was able to rip. Can anyone else confirm?

@yothrowawaytoday Still not working for me.  Waiting for @cyian-1756 to release/push a fix

I've been getting null like everyone else, but I just tried again today, and I was able to rip. Can anyone else confirm?
EDIT: It sorta works. For new profile rips, it only downloads the first page. I tried with https://www.instagram.com/alexandradaddario/

Yep, now getting the same result. Varies from 19 to 30 images only

Still getting null error (v1.7.93)

@cariah are you able to compile ripme with your IG fix in it until @cyian-1756 pushes out a official version?  I don't know how to compile it myself or I would.  Thank you very much

@thinkpad4
I've build the @cariah fixed version using maven for Windows 10 x64. It fixed the issue and worked fine for me!
Here is the link, all credit goes to @cariah :
https://drive.google.com/file/d/123MGXJaJEFNemzS59BAK1h0hMgkYkyqs/view?usp=sharing

@Kirmakoff SWEET, thank you so much, this will help hold me over until @cyian-1756 pushes the fix into the main program.

Thanks I'll use that build!

The problem seems to have reared its ugly head again. Had been using the new build perfectly until last night.
Just tried now ripping a few new insta accounts and the new build is suddenly only downloading the first 15-30 images.

can confirm, fix doesn't work anymore

Anyone find a way to get IG working again?

Must be another IG change, it's only ripping page one.

As posted in the other thread i got 37 images downloaded from an account yesterday with the new release before it stopped working again. Tried again today on a different account - this time 67 images before I got the "no images found" error.
Has anyone else managed to get it working?

@menial717

Has anyone else managed to get it working?

I ripped a few accounts to completetion before pushing the update, maybe it's rate limiting on IG's side? If so I'll edit the wait times and push an update

same error


[Android] Translucent StatusBar bugs ScrollView

When I set the the StatusBar translucent prop to true, the content of the app draws behind the status bar (as expected), however, all the scroll views lost the capability of auto scroll to a focused input. When I remove the translucent prop, the app works as expected. (I'm using RN 0.21)
Before focus input

After focus input

Could you try 0.22-rc see if it still happens? I changed the implementation a bit and I think I know why it happens and should not anymore.

@janicduplessis I'm still getting the same bug on 0.22.0-rc :confused:

Aww, I'll look into it.


SVD doesn't support prompt for motion control

Hi team, thank you for a great project, while finetuning svd, I noticed that there is no prompt supported for motion control with svd.  is there anyway i can control the motion by prompt when using SVD (same as use with SD) ?. Thank you all

SVD supports motion control through the motion_bucket_id in the configuration file.
 # The motion bucket ID. Used as conditioning for the generation. The higher the number the more motion will be in the video.   motion_bucket_id: 127

`SVD supports motion control through the motion_bucket_id in the configuration file.
The motion bucket ID. Used as conditioning for the generation. The higher the number the more motion will be in the video. motion_bucket_id: 127`

SVD supports motion control through the motion_bucket_id in the configuration file.  # The motion bucket ID. Used as conditioning for the generation. The higher the number the more motion will be in the video. motion_bucket_id: 127

thank you for a quick response, as i understand, motion_bucket_id is like the range of motion, that why the higher the number the more motion. Am I misunderstanding something ? How can I create a motion with prompt "a girl is fighting" ?

As far as I know, the SVD model for image2video generation does not support prompt control as you mentioned.


🚧 Add support for Gridsome query blocks (#200)

query-tag deals with embedded GraphQL syntax inside <page-query> and <static-query> blocks
add file containing GraphQL code sample
recompile master syntax file

Close #200
Looking for feedback on this, as I'm new to .sublime-syntax and not a regex expert.

Hey @matthewmorek
Thanks for taking the time to add this. I'd love to get this in, but there's one major concern
<page-query> isn't an official part of the vue component spec. There's no technical harm, but accepting this would mean that we'd have to accept any other 3rd party plugin's support.
I believe vetur handles this very well by using custom blocks which allows you to add support, but without incorporating the features in the main syntax.
I would like to explore all possibilities of doing this with as little modification to the main syntax file as possible.

Closing, since Gridsome has been inactive for a few years now.


Updated Dependencies

Updated Dependencies
Gradle Wrapper
-> v8.4
Kotlin
-> v1.9.20
Serialization Plugin
-> v1.9.20
Paper
-> v1.20.2
Kaml
-> v0.55.0
Other

removed gradle task test
updated paper in docker images

sorry commit msg's don't allign, first commit is gradle dependencies update and the second is update paper in docker image

does not matter i will squash all commits anyway @12rcu


 We now accept NSLocale.
ERROR: 1 null

make: *** [/dev/null] Error 255
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/Users/mat/.nvm/versions/node/v4.1.2/bin/node" "/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node" "--module_name=wrtc" "--module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64"
gyp ERR! cwd /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/mat/.nvm/versions/node/v4.1.2/bin/node /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:73:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:818:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Darwin 15.0.0
node-pre-gyp ERR! command "/Users/mat/.nvm/versions/node/v4.1.2/bin/node" "/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc
node-pre-gyp ERR! node -v v4.1.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute '/Users/mat/.nvm/versions/node/v4.1.2/bin/node /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64' (1)
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/mat/.nvm/versions/node/v4.1.2/bin/node" "/Users/mat/.nvm/versions/node/v4.1.2/bin/npm" "install" "webtorrent-hybrid"
npm ERR! node v4.1.2
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the wrtc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls wrtc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/mat/dev/video-encoder/npm-debug.log
https://gist.github.com/acidhax/0b3b5dbe59b9a19dd1d1

https://github.com/js-platform/node-webrtc/pull/229

Having the same issue. I have tried node 0.10, 0.12 and 4.1
Still can't get to install it.

I got it under ubuntu with node 0.10.x, but I don't want to use that version of node. Hopefully webrtc gets fixed. @feross Have you looked into this at all? It seems that webtorrent hybrid is getting a bit out of date.

I couldn't get it working in node 0.10, 0.12, 4.1 or 5.1.

@ericwooley how did you get past "npm ERR! not a package /tmp/npm-5-M6AlQmVz/github.com/jhiesey/mp4box.js.git" on node 0.10?

Heres my Dockerfile from testing
FROM ubuntu:14.04.3
RUN apt-get update
RUN apt-get -y install vim git curl wget python build-essential
RUN curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash - #NODE 0.10
#RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - #NODE 4
#RUN curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash - #NODE 0.12
#RUN curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - #NODE 5
RUN apt-get -y install nodejs
RUN npm install webtorrent-hybrid -g
CMD webtorrent-hybrid

@jsindy I am not really sure, I installed in on my desktop/fileserver. and I was suprised to see it work. Ill try to reproduce in a docker.
as for mp4box, I don't get past that error if I am using npm@2

@jsindy It doesn't work in docker, but I started up a digital ocean box with ubuntu 15.x and install nvm 0.10,
npm install -g npm@2
# from docs in https://github.com/js-platform/node-webrtc
sudo apt-get install python2.7 git-all pkg-config libncurses5-dev libssl-dev libnss3-dev libexpat-dev
npm install -g webtorrent-hybrid

It might work in node 0.12.7 as well, haven't tried it yet. It seems that the real issue was docker though.

I also got it to work in yosemite this way the same way.
On ubuntu it seems to be working with 0.12.7, but not yosemite, only 0.10 works there.
I'll check el capitan when I get home.

El capitan might work if you have XCode 6.x
Couldn't get it to work in 7

On Nov 9, 2015, at 9:10 PM, Eric Wooley<EMAIL_ADDRESS>wrote:
I also got it to work in yosemite this way the same way.
On ubuntu it seems to be working with 0.12.7, but not yosemite, only 0.10 works there.
I'll check el capitan when I get home.
—
Reply to this email directly or view it on GitHub.

Working Dockerfile
FROM ubuntu:15.04
RUN apt-get update
RUN apt-get -y install vim git curl wget python build-essential sudo
RUN curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash - #NODE 0.10
RUN apt-get -y install python2.7 git-all pkg-config libncurses5-dev libssl-dev libnss3-dev libexpat-dev
RUN apt-get -y install nodejs
RUN npm install node-gyp@latest
RUN npm install -g npm@2
RUN npm install wrtc
RUN npm install -g webtorrent-hybrid --unsafe-perm
CMD webtorrent-hybrid

Working Dockerfile
FROM ubuntu:15.04
RUN apt-get update
RUN apt-get -y install vim git curl wget python build-essential sudo
RUN curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash - #NODE 0.10
RUN apt-get -y install python2.7 git-all pkg-config libncurses5-dev libssl-dev libnss3-dev libexpat-dev
RUN apt-get -y install nodejs
RUN npm install node-gyp@latest
RUN npm install -g npm@2
RUN npm install wrtc
RUN npm install -g webtorrent-hybrid --unsafe-perm
CMD webtorrent-hybrid

Maybe add that dockerfile as a pull request?

This issue can be closed now that webtorrent-hybrid is based on Electron instead of wrtc, as of 1.0.0.


one of the link is not properly linked

In the text "For more information about how to use groups to help manage permissions, see Choose security groups (SharePoint Server 2010)", the url links back to the front page, which is a bit misleading.

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

ID: 6a791cf8-87ec-909b-7f49-0c538f91b021
Version Independent ID: 506426a7-accd-8e74-d17a-539181b4f012
Content: Overview of site permissions in SharePoint Server
Content Source: SharePoint/SharePointServer/sites/overview-of-site-permissions-in-sharepoint-server.md
Product: sharepoint-server-itpro
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@selwyndd21  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @selwyndd21 Tawei
Thanks for reporting this, I created a pr to correct the link.

@selwyndd21 Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


build: Cleanly forward features to imap-types

Closes #566.

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

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

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
11180

Relevant Lines:
12024

💛  - Coveralls


Can not quantize model in Per tensor way

Hello teams,
I try to quantize all the parameters of my model in a per_tensor way.
And I found that the final output quantization model still contains layers per_channel.
the yaml file is following:
version: 1.0

model:                                               # mandatory. used to specify model specific information.
  name: mobilenetv2
  framework: onnxrt_qlinearops                       # mandatory. supported values are tensorflow, pytorch, pytorch_ipex, onnxrt_integer, onnxrt_qlinear or mxnet; allow new framework backend extension.

quantization:                                        # optional. tuning constraints on model-wise for advance user to reduce tuning space.
  approach: post_training_static_quant               # optional. default value is post_training_static_quant.
  calibration:
    dataloader:
      batch_size: 1
      dataset:
        ImagenetRaw:
          data_path: /home/tau/Workspace/databank/imagenet/ILSVRC/Data/CLS-LOC/val
          image_list: /home/tau/Workspace/databank/imagenet/caffe_labels/val.txt      # download from http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
      transform:
        Rescale: {}
        Resize:
          size: 256
        CenterCrop:
          size: 224
        Normalize:
          mean: [0.485, 0.456, 0.406]
          std: [0.229, 0.224, 0.225]
        Transpose:
          perm: [2, 0, 1]
        Cast:
          dtype: float32
  model_wise:                                        # optional. tuning constraints on model-wise for advance user to reduce tuning space.
    weight:
      granularity: per_tensor
      scheme: asym
      dtype: int8
      algorithm: minmax
    activation:
      granularity: per_tensor
      scheme: asym
      algorithm: minmax

tuning:
  accuracy_criterion:
    relative:  0.02                                  # optional. default value is relative, other value is absolute. this example allows relative accuracy loss: 1%.
  exit_policy:
    timeout: 0                                       # optional. tuning timeout (seconds). default value is 0 which means early stop. combine with max_trials field to decide when to exit.
  random_seed: 9527                                  # optional. random seed for deterministic tuning.

Thanks.

hi,
in order to reduce tuning space and per_channel usually has better accuracy, we just use per_channel in framework yaml

.
You can update 'per_channel' to 'per_tensor' of specific ORT version

hi,
in order to reduce tuning space and per_channel usually has better accuracy, we just support per_channel in framework yaml https://github.com/intel/neural-compressor/blob/master/neural_compressor/adaptor/onnxrt_qlinear.yaml, you can update 'per_channel' to 'per_tensor' of specific version ORT.

Hi, @mengniwang95. Thanks for your quick reply. Is there an option to directly quantize the entire model as per_tensor?

@zihaomu Unfortunately there is no other way. We will consider adding 'per_tensor' to framework yaml in next release.

Thanks. Looking forward to the next release.

Hi, 1.12 version support per-tensor way. If you want to get per-tensor quantized model directly, pls add model_wise in yaml file like https://github.com/intel/neural-compressor/blob/aac0a0ec860d6d875467a8b7fb119ec18713fd48/neural_compressor/template/ptq.yaml#L43 and set 'granularity' to per_tensor

Hi, 1.12 version support per-tensor way. If you want to get per-tensor quantized model directly, pls add model_wise in yaml file like
https://github.com/intel/neural-compressor/blob/aac0a0ec860d6d875467a8b7fb119ec18713fd48/neural_compressor/template/ptq.yaml#L43
and set 'granularity' to per_tensor

Thanks @mengniwang95, this will be of great help to us.


tf2.16.1 isn't compatibale with tensorflow text 2.10

Describe the bug
import tensorflow_text
ImportError                               Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_17348\101723867.py in
----> 1 import tensorflow_text
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_text_init_.py in
18
19 # pylint: disable=wildcard-import
---> 20 from tensorflow_text.core.pybinds import tflite_registrar
21 from tensorflow_text.python import keras
22 from tensorflow_text.python import metrics
ImportError: DLL load failed while importing tflite_registrar:
TypeError: Error when deserializing class 'CLIPTokenizer' using config={'name': 'clip_l_tokenizer', 'trainable': True, 'dtype': 'int32', 'config_file': 'clip_l_tokenizer.json', 'sequence_length': None, 'add_prefix_space': False, 'pad_with_end_token': True}.
Exception encountered: CLIPTokenizer requires tensorflow and tensorflow-text for text processing. Run pip install tensorflow-text to install both packages or visit https://www.tensorflow.org/install
If tensorflow-text is already installed, try importing it in a clean python session. Your installation may have errors.
KerasHub uses tf.data and tensorflow-text to preprocess text on all Keras backends. If you are running on Jax or Torch, this installation does not need GPU support.
During handling of the above exception, another exception occurred:
tensorflow text 2.16.1 is not available in windows。
Would you like to help us fix it?

tensorflow-text and tensorflow should always be on the exact same version; the tensorflow-text c++ code is built and linked against the tensorflow c++ code.
For windows, the best approach for 99% of users will be to go with WSL and install the packages in WSL. You might be able to pick an older version of tensorflow and tensorflow-text on windows, but tensorflow 2.15 is over a year old now so I wouldn't recommend it. You could also uninstall tensorflow entirely, but that would mean preprocessing would have to happen outside of KerasHub, which would make the package much harder to use.
The best experience will be on the newer versions of keras-hub, keras and tensorflow in a linux like environment, and WSL is a great option for that.

邮件已收到，谢谢！


TFLite Android: My lite Model file does not loaded

I'm having a problem with loading a lite model to the using the android tensorflow lite Interpreter.
I am trying to use the workflow of  Tensorflow-for-poets-2 TFLite tutorial, https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/#6
instead of using the function:
private MappedByteBuffer loadModelFile(Activity activity,String MODEL_FILE) throws IOException {
    AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(MODEL_FILE);
    FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor());
    FileChannel fileChannel = inputStream.getChannel();
    long startOffset = fileDescriptor.getStartOffset();
    long declaredLength = fileDescriptor.getDeclaredLength();
    return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);

in order to load my model, I use:
AssetFileDescriptor fileDescriptor = null;
try {
fileDescriptor = getAssets().openFd(MODEL_PATH);
} catch (IOException e) {
e.printStackTrace();
 }
FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor());
FileChannel fileChannel = inputStream.getChannel();
long startOffset = fileDescriptor.getStartOffset();
long declaredLength = fileDescriptor.getDeclaredLength();
try {
MByteBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);
} catch (IOException e) {
e.printStackTrace();
}

then, I use the tflite Interpreter by calling:
tflite = new Interpreter(MByteBuffer);
Using this snippet of an android code, I am able to laod the .lite graph that i got following the Tensorflow-for-poets-2 TFLite tutorial, https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/#6
But when i try to load my .lite model I got the following error:
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 9320 (flitecamerademo), pid 9320 (flitecamerademo)
I want to notify that my model works (preforms a style transfer). I test it using python API, in the following way:
tflite_graph_filename = 'debug_graph.lite' # this is my model
# Load TFLite model and allocate tensors.
interpreter = tf.contrib.lite.Interpreter(model_path=tflite_graph_filename)
interpreter.allocate_tensors()

# Get input and output tensors.
input_details = interpreter.get_input_details()
print('input_details: \n{}\n'.format(input_details))
output_details = interpreter.get_output_details()
print('output_details: \n{}\n'.format(output_details))

# Test model on random input data.
input_shape = input_details[0]['shape']
print('input_shape: \n{}\n'.format(input_shape))

X = np.zeros(input_shape,np.float32)
X[0] = content_image

input_data = X # np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[0]['index'], input_data)

interpreter.invoke()
output_data = interpreter.get_tensor(output_details[0]['index'])

The above test is working so I assume my model is successfully converted to .lite format.
use the following command to toco convert:
toco --graph_def_file=/fullpathto/debug_graph.pb  --output_file=/fullpathto/debug_graph.lite --input_format=TENSORFLOW_GRAPHDEF  --output_format=TFLITE --input_shape=1,474,712,3 --input_array=img_placeholder --output_array=transform/up-sample/mul --inference_type=FLOAT   --input_data_type=FLOAT
Can you please help me with ideas on how to solve such problem or how can I debug this?
Thanks,
Vadim

Nagging Assignee @tofulawrence: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tofulawrence: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

But when i try to load my .lite model I got the following error:
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 9320 (flitecamerademo), pid 9320 (flitecamerademo)

Is there nothing else in the logcat? Perhaps an exception being thrown or a more descriptive error?

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 29 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 44 days with no activity and the awaiting response label was assigned. Is this still an issue?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


fixed a missing [ in the end tag

needed for integration with product documentation

@dzlier-gcp Can you please merge this? It's a doc only change, but it is failing because language/automl isn't in the parent pom so the tests are outdated/failing.


The generated API documentation does not indicate some properties are read only

For example all properties of the RenderTarget class are read only (only have getters but not setters), but the API documentation does not mention it:
https://developer.playcanvas.com/api/pc.RenderTarget.html
I believe this was displayed as ReadOnly.

The API now shows the read only properties as accessors with just a getter. For example:
https://api.playcanvas.com/classes/Engine.Texture.html#pot
Closing.


Show number of nodes in the network

We can estimate this data from the seed server, and it's a nice non-essential feature that makes the user feel they're part of  something big. Not sure what technical requirements are necessary for that.

Adding an issue on the server for this.

Look at the no longer used adminPanelVw.js file, it has code to fetch the connected peers.
This should probably be done as a button in the settings/advanced tab.
When the tab is activated, the call to connected_peers can be made, and the number shown (in a row above the server on/of button would be good).
There could also be a button next to the number for "show peers" that when pressed, expands the row into a scrollable table that shows 6 rows at a time, each row being one peer and the information about the peer.
Each peer should be clickable, clicking on it would navigate the client to that peer's userPage.

https://github.com/OpenBazaar/OpenBazaar-Client/pull/1824

@ameliagoodman great job!


Docs and Travis CI updates

moved all support files into docs directory + added missing files and updated existing
updated .gitattributes and .gitignore
updated composer.json
updated Travis CI configuration

removed composer self-update
moved all cs-check and coverage to run on PHP 7.1 with locked dependencies
removed allow_failures on PHP 7.2
updated legacy dependencies

Thanks, @webimpress


mkvtoolnix: fix GUI not being built

Motivation for this change
With qt5.qtbase the configure script will skip building the GUI because some dependency is missing
Things done

[x] Tested using sandboxing
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change`
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

The current nix expression works (at least for me). So why the change of the dependency on Qt5?
The dependency on qt5.qtbase in buildInputs has been discussed in https://github.com/NixOS/nixpkgs/pull/18871. See in particular the comment from  @dezgeg https://github.com/NixOS/nixpkgs/pull/18871#discussion_r80229866.:

Actually you should just move it outside the list, like:
] ++ optional withGUI qt5.qtbase;
...because now you have a one-element list containing qt5.qtbase in buildInputs, which confuses mkDerivation.

Well, it seems I have messed up my local branch. You are totally right.


Orthographic camera has some artifacts

Hello,
First of all you did a great job, brilliant solution!
I found some artifacts with orthographic camera. See picture below:

And the same camera transform but Perspective projection:

Hey Den, this is caused by some issues with the view direction. The line below helps to influence the strength of the depth buffer, by increasing the amount of depth required on sharp edges (see section 3. Resolving surface artifacts of the tutorial).
float NdotV = 1 - dot(viewNormal, -i.viewSpaceDir);
Unfortunately, in ortho mode, as the projection is parallel, viewSpaceDir does not correctly work. This can be resolved by replacing the line with
float NdotV = 1 - dot(viewNormal, float3(0,0,1));
Where the view direction to each vertex is directly forward.

There's still some missing edges, such as along the teapot's rim, but those could be fixed by tweaking the parameters I'd assume. The above is using the default settings, except Depth Threshold is set to 0.01.

Thank you for help!
Tried your solution but seems did not really work well for me. Still have missing edges on stairs and other.
Set Depth Threshold to 0.01 helps for better result.
Also found but did not tried yet other solution also based on normal map.
https://gamedev.stackexchange.com/questions/68401/how-can-i-draw-outlines-around-3d-models

Are you making sure to run the scene in Play mode? This ensures that the normals buffer is rendered out and is accessible.

Yes, run in Play mode.


Multi-groupby support + Saved Query auto-viz

Rolling PR, more to follow-

[x] Add Dataset.parser util from keen-dataviz project, import tests
[ ] Update logic for parseRequest and parseRawData to handle saved query response body

There appears to be an issue between Travis and Sauce, so I'm removing the Sauce Labs task from test:cli. I've confirmed these tests pass locally, and will continue to run this task manually against merges to master.


Re-subscriber

How can I fix it with this error?
Array
(
[type] => http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
[title] => Member Exists
[status] => 400
[detail] =><EMAIL_ADDRESS>is already a list member. Use PUT to insert or update list members.
[instance] =>
)
Thanks
Keith

Hey, use PUT:
Code example:
$subscriberHash = $this->mailchimp->subscriberHash($subscriber->getEmail());
$result = $this->mailchimp->put("lists/$listId/members/$subscriberHash",
            array_merge(
                $subscriber->formatMailChimp(),
                ['status' => 'subscribed']
            )
        );

Hi Thanks
It works,
How about unsubscribe a use?
Any code example, thanks!

Same with keyword unsubscribed. Look at the MailChimp documentation
$subscriberHash = $this->mailchimp->subscriberHash($subscriber->getEmail());
$result = $this->mailchimp->put("lists/$listId/members/$subscriberHash",
            array_merge(
                $subscriber->formatMailChimp(),
                ['status' => 'unsubscribed']
            )
        );

Yep, but my email address is still shown as subsriber in mailchimp
any idea?
here is the callback
2016-09-20T07:45:08+00:00 DEBUG (7): Array
(
[id] => ad8048e630b5003a9e988e2790355595
[email_address] =><EMAIL_ADDRESS>[unique_email_id] => 5e25fb8b24
[email_type] => html
[status] => unsubscribed
[merge_fields] => Array
(
[FNAME] => k
[LNAME] => k
[POSTCODE] => asd
[AGEGROUP] =>
[MOBILE] =>
[COUNTRY] => AU
[MMERGE7] =>
[MMERGE8] =>
[MMERGE9] =>
[CGROUP] =>
[BMONTH] =>
[MMERGE11] =>
[MMERGE13] =>
)
[interests] => Array
    (
        [1bff07909a] =>
        [47c7c4df85] =>
        [1c3eeb5baa] =>
        [7e24252217] =>
        [d6bc521a3f] =>
        [190b84c0a1] =>
        [e38c7ec15f] =>
        [126db74ed4] =>
        [e42aab9317] =>
        [d40335a4cc] =>
        [474ca26e74] =>
    )

[stats] => Array
    (
        [avg_open_rate] => 0
        [avg_click_rate] => 0
    )

[ip_signup] =>
[timestamp_signup] =>
[ip_opt] => <IP_ADDRESS>
[timestamp_opt] => 2016-09-20T07:31:41+00:00
[member_rating] => 2
[last_changed] => 2016-09-20T07:45:08+00:00
[language] =>
[vip] =>
[email_client] =>
[location] => Array
    (
        [latitude] => 22.2831
        [longitude] => 114.213
        [gmtoff] => 8
        [dstoff] => 8
        [country_code] => HK
        [timezone] => Asia/Hong_Kong
    )

[list_id] => c71e704852
[_links] => Array
    (
        [0] => Array
            (
                [rel] => self
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595
                [method] => GET
                [targetSchema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json
            )

        [1] => Array
            (
                [rel] => parent
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members
                [method] => GET
                [targetSchema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json
                [schema] => https://us2.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json
            )

        [2] => Array
            (
                [rel] => update
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595
                [method] => PATCH
                [schema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json
            )

        [3] => Array
            (
                [rel] => upsert
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595
                [method] => PUT
                [schema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json
            )

        [4] => Array
            (
                [rel] => delete
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595
                [method] => DELETE
            )

        [5] => Array
            (
                [rel] => activity
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595/activity
                [method] => GET
                [targetSchema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json
            )

        [6] => Array
            (
                [rel] => goals
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595/goals
                [method] => GET
                [targetSchema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json
            )

        [7] => Array
            (
                [rel] => notes
                [href] => https://us2.api.mailchimp.com/3.0/lists/c71e704852/members/ad8048e630b5003a9e988e2790355595/notes
                [method] => GET
                [targetSchema] => https://us2.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json
            )

    )

)

It takes some times to refresh the list view in MailChimp... Refresh and try later...

Ok thanks for your help, I will take a look :)

If you look at your 'callback'/response, your user is unsubscribed:
[id] => ad8048e630b5003a9e988e2790355595
[email_address] =><EMAIL_ADDRESS>[unique_email_id] => 5e25fb8b24
[email_type] => html
[status] => unsubscribed

yes, it is still showing I am a subscriber in the list of mailchimp account.

Hi kk12837,
Do mean by "Mailchimp Account" is your mailchimp admin like "us.admin.mailchimp.com"
If NO please disregard my comment.

Please check your selection on your Mailchimp account if it's on unsubcriber list:

Also check your Data Center if it is the same as the one your trying to update on your API query.

Kind Regards,
John

thanks it is fixed


Combine console logs pages

Resolves #176
After #987, merging the logs pages is the next logical step.

Removed the Project Logs, Container Logs and Executable Logs pages
Created a new Console Logs page
Changed the menu to have a Monitoring section that has Console logs, Structured Logs, Traces and Metrics under it and removed the old Logs section that had all of the console logs and structured logs
Removed some commented code from the menu that should have been removed earlier

Unlike #987, not much to show from a visuals perspective other than the changes to the menu structure:

Note: #176 had discussion of indicating the type of resource that is selected. For the moment, I've left that out of this PR and plan to do follow up once people take a look and we can agree on a design (icon in select? text in the header?).

When you click on the console logs link in the menu, what decides which app to display?
Structured logs and traces displays an "All" option but that doesn't make sense for console logs.
Metrics doesn't display anything by default and prompts you to choose a service (note: service should be renamed to resource)

I think the console logs could do the same thing. That page would also be displayed if a bad name is in the url, e.g. http://localhost:15888/ConsoleLogs/ThisDoesntExist

When you click on the console logs link in the menu, what decides which app to display?

@JamesNK This PR didn't change the way that worked from before - it selects the first one in the list (which is sorted alphabetically). I think this is a good suggestion though. I filed https://github.com/dotnet/aspire/issues/1055 to track it.


Did little gui tweaks

As per ron requested :

threshold mins are now 0 by default
alert bar is green
some magic constants clean up

Looks good


IndexError: list index out of range

please help me
(venv) root@kali:~/facial_emotion_recognition__EMOJIFIER# python3 src/dataset_creator.py
[2019-01-01 19:06:15] [root] [INFO] (Loggers ready !)
0%|                                                                                | 0/5 [00:00<?, ?it/s][2019-01-01 19:06:15] [emojifier.dataset_creator] [DEBUG] (length images list: 0)
Traceback (most recent call last):
File "src/dataset_creator.py", line 151, in
_images, _labels = image_label_generator()
File "src/dataset_creator.py", line 47, in image_label_generator
images = image_reader(image_list)
File "src/dataset_creator.py", line 16, in image_reader
image = cv2.imread(image_path_list[0], 0)
IndexError: list index out of range

This line in your error "0%| | 0/5 [00:00<?, ?it/s][2019-01-01 19:06:15] [emojifier.dataset_creator] [DEBUG] (length images list: 0)" suggests that it didn't find any images at the set path for the images directory.
Did you capture the images? Can you please check, the images if captured are in the right directory?

The captured images in images folder. I created 2 folder one is cry another happy.
Each folder have 200 captured images.
Step 1 : is successfully completed
problem in Step : 2
can you solve this

There is a problem with the emotions (folder names) that you mentioned. You can only create emotion classes that are defined here. Change this dict as you want but only create (all)the emotions mentioned in the dict.
This was something that needed a mention in the getting started section. Will do it. Thanks.

@mediaproduction, give it one more try.


Smart replace (a.k.a preserve case)

Is there a way to intelligently replace matches while preserving their existing case?
For example replacing 'foo' with 'bar' in "foo Foo FOO", will result in "bar Bar BAR".
Here is a link to the equivalent vscode feature for reference.

Not directly through ripgrep unless there is some option I am missing.
What you can do though ism

do case insensitive search for say ‘foo’
Use something like https://github.com/tpope/vim-abolish#substitution to do your desired case preserving replace in the grug far buffer
Trigger the Sync All action

Makes sense. Just realized text-case.nvim has :Subs for this, which works great. Thanks!


CDN for coreui-icons.min.css has changed

<EMAIL_ADDRESS>is not longer available

@japc-74 yes, I just faced this issue yesterday and going to it fix it soon.

After this change, my admin portal design breaks. What is the issue with coreui? I generated the template with infyom. Is anybody having the same issues as me?

@sooviet I think now your problem was resolved.
if you getting still a problem then you need to publish layout again.


[Area/AreaStack/Spline] Simplify overwriting x/y accessors by applying xScale/yScale within components

Current dependencies on/for this PR:

#115  👈
main

This stack of pull requests is managed by Graphite.


missing cwt package

When running the test code and installing with pip (Windows, anaconda) I get the following error:
ImportError: No module named 'cwt'

I could fix this by changing the code in _dgs_class_web.py from
import cwt
import sgolay

into
from . import cwt
from . import sgolay

Hi @peendebak , thank you for posting this workaround!
When you ran the initial DGS setup, did you use default settings for Cython
USE_CYTHON = TRUE
or did you use alternative settings?
USE_CYTHON = FALSE  USE_CYTHON = 'auto'
Thank you!


Unable to find functions SDK

Functions detection is broken in some cases, in my case I ended up needing to do the following:
sudo ln -s /home/codespace/.npm-global/lib/node_modules /usr/local/lib/node_modules

npm modules are going into npm-global in this setup. We should find out whatever configuration is causing that and follow it if we have to.

We definitely don't look for .npm-global in our functions detection. How did you install it?

Is codespace part of github codespaces or something else?


Display the word Total and  and value of total on summary row

Total 200,000

This issues does not fullfil the guidelines with a description of what you need nor a sandbox, so I will close it.


Replace node_modules relative path when importing sass-true.

We should avoid using a relative path to node_modules in use declarations, because the location of node_modules can differ depending on install location.
(sass-true is used by layout/_grid.scss and text/_modification.scss making it a peer-dependency of the scss-foundation library)

Yeah, this is ideal and code was working like this in past, but I remember we had some issues after sass-true upgrade and we had to make it peer dependency.
Have you executed all the commands (such as builds, linting, testing) before creating this PR?

Have you executed all the commands (such as builds, linting, testing) before creating this PR?

Yes.


[Design] Consider removing default value for useTrainingLabels parameter

From arch board notes:
Could useTrainingLabels be made a required field, rather than optional with default:false?
FOLLOW-UP with service team on what is consistent with REST, expected customer behavior, etc

Per discussion in internal Teams channel we will make useTrainingLabels parameter required for preview.3

Thanks for the update Jeremy!


if ƒ encounters a function, it will call it

this way we can use ƒ with accessor functions..
example:
var scales = [d3.scale.linear(), d3.scale.linear().domain([0,100])];

console.log(scales.map(ƒ('domain', 1))); // logs [1, 100]

the prior behavior was to just return the function itself which would make the example use case impossible..

what do you think @1wheel ?

this can be done using f.run now https://github.com/gka/d3-jetpack/blob/master/src/f.js#L22


Jobs and McMMO

Hi there,
On my server, we have an issue where Jobs are paying out full prices for McMMO abilities such as tree feller. Players can obtain ridiculous amounts of money this way. I found this issue where it was stated that the "Overhaul" version of McMMO should be compatible with Jobs, however, using both the Classic and Overhaul versions of McMMO do not fix our issue.
In our Jobs generalConfig.yml:
McMMO:
TreeFellerMultiplier: 0.1
gigaDrillMultiplier: 0.1
superBreakerMultiplier: 0.1
Jobs version: v4.10.3
McMMO (Overhaul) version: v2.1.12
Server version: Paper 1.13.2 #544
If any further information is required, please feel free to request it.
Looking forward to a fix!

David (Daphsquid)

I'm also having this issue:
Mcmmo:
TreeFellerMultiplier: 0.2
gigadrillMultiplier: 0.2
superBreakerMultiplier: 0.2
Jobs Version: v4.10.3
mcMMO version: 2.0.0
Server Version: PaperSpigot  #525
Reviewing mcMMO code, there are changes from AbilityType.Skillname to SuperAbilityType.Skillname however Job referencing to AbilityType have been removed completely and without the introduction to SuperAbilityType. In order for this to function again there needs to be a check between pre-overhaul and the overhaul of mcmmo on which api to use.
Notes in mcmmo's changelog mention in the api this has changed accordingly:
https://github.com/mcMMO-Dev/mcMMO/blob/67bcb8da11074e1d5468299d60f4c7538a083564/Changelog_2.1.0.md

#384


DONOTMERGE -- Flash tlul bug rep 080422

cmd:
./util/dvsim/dvsim.py ./hw/ip/flash_ctrl/dv/flash_ctrl_sim_cfg.hjson -i flash_ctrl_host_ctrl_arb -r 1 -v m -s 988544120 --waves
RMA is requested while there is on going read transaction.
So looks like dut waiting for outstanding flash read (from controller) complete.
While tb does rd_fifo read, @113774868.5ns, it issues 4byte rd_fifo read but
dut doesn't give ready back. So tb issues same read 2 cycle later @113774895.3ns
and gets ready back and response after.
But for that response, d_user.data_intg is wrong ( got 0x0 but exp 0x2a).

wave is attached.

fixed by #14244


[FEAT] Type in answer cards with auto-check

Is your feature request related to a problem? Please describe.
It would be very useful if we could enter the answer for text-based cards, similar functionality to Anki type: (Anki docs).
Describe the solution you'd like
A textbox below the prompt to type in the answer, then answer is shown with mistakes (if any) highlighted, and finally (optional) card can be auto-re-scheduled based on correctness of answer.
Here's how a basic type-in answer looks in Anki:
Editing the Card
Front
Flipped

Is addressed in #459. I'm also working on a fork of this plugin with first class editing support.

Thanks @AB1908 for contributing to this plugin, this has been very helpful to my course-work. I couldn't find in the readme/settings how to create a type-in-answer card, let me know the syntax

@mayukhc @AB1908 do you think that type-in-answer cards should be defined separately by unique separator or just with global on/off setting? I think both of these could be useful. Global on/off setting would make every basic cards defined by :: to type-in-answer cards.
If we think this broader, then card appearance and card content should be separate entities. Why to implement new and new separators if we could just assign one custom style to cards and then the user could make changes to the custom style like adding type-in box etc.
Other point of view: users that want more customisation could just use Anki. In a sense type-in-answer cards already replicate a lot of Anki. We don't want to reproduce all the hard work that has been put to Anki because that doesn't make any sense.

@maggaou Separating card style from content is cleaner than adding new separator for every content-style combo. Also if the setting is review-level, so we can type-in/just mentally recall depending on situation.
Regarding the feature overlap with Anki, I think most users of this plugin want not just spaced repetition, but spaced rep plus PKM/task management system. So some overlap with Anki is unavoidable as Anki doesn't have PKM/task management system. For pure spaced repetition, Anki would definitely be better.

Thanks for your answer. I think you stated quite well the value of this plugin.

Lähettäjä: mayukhc @.>
Lähetetty: Saturday, January 14, 2023 11:13:33 AM
Vastaanottaja: st3v3nmw/obsidian-spaced-repetition @.>
Kopio: maggaou @.>; Mention @.>
Aihe: Re: [st3v3nmw/obsidian-spaced-repetition] [FEAT] Type in answer cards with auto-check (Issue #549)
@maggaouhttps://github.com/maggaou Separating card style from content is cleaner than adding new separator for every content-style combo. Also if the setting is review-level, so we can type-in/just mentally recall depending on situation.
Regarding the feature overlap with Anki, I think most users of this plugin want not just spaced repetition, but spaced rep plus PKM/task management system. So some overlap with Anki is unavoidable as Anki doesn't have PKM/task management system. For pure spaced repetition, Anki would definitely be better.
—
Reply to this email directly, view it on GitHubhttps://github.com/st3v3nmw/obsidian-spaced-repetition/issues/549#issuecomment-1382697713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZRI63WPT7R2DI6I455CNTWSJU33ANCNFSM6AAAAAATBZAOIA.
You are receiving this because you were mentioned.Message ID: @.***>


Testing

Test unmake/make move
Have a suite of cases along with the expected output for the eval function

For this, Making a SPRT tester for battlesnake will work a lot better.
That is outside of the scope of this single repo, so im closing this.


OE DockStream notebook

added OpenEye DockStream notebook

Many thanks for the notebook.  The notebook would need to be converted to, preferably, light script with jupytext or similar.  Notebooks store all kind of data, in particular the outputs which can make them very large.
The notebook should also go to contrib/notebooks as we will probably not be able to maintain it.

No worries, I plan to use Reinvent extensively for my PhD so I might post some more in the future.

Many thanks for all of your work!


Adjust height of map for desktop screen

Currently, modal is a bit squished and scrolling only works on lower details component.
It would be good to make map taller, and then in the modal change so the whole area scrolls

https://github.com/mymizu/mymizu-web/pull/33


Imporving basic_patterns.rst documentation file

A couple of improvements in the basic_patterns.rst documentation file.

Yes, why not.

Merged: https://github.com/opensistemas-hub/osbrain/commit/c06bec2c4d5d66801830f530615d540717abee30
Thanks for the contribution! :blush:
Next time, please, configure your email in Git appropriately, to avoid having an ugly email address like<EMAIL_ADDRESS>:stuck_out_tongue_winking_eye:

Thanks man. I'll make sure that next time my Git is configured properly. 😇🙏
Why did you close the PR? Isn't it ready to be merged or you want to merge it in future time? Cause I can't see any changes in the documentation!

The pull request is already merged, see: https://github.com/opensistemas-hub/osbrain/commit/c06bec2c4d5d66801830f530615d540717abee30
I simply squashed the two commits you made and changed the commit subject. You keep the authorship. :blush:
Thanks for reporting that the changes were not displayed in the documentation. It seems Read the Docs was misconfigured. I fixed that and you should now be able to see your changes in the latest version of the documentation. It will be included in stable once we roll out the next release (no ETA for that).

Thanks for your kindness when responding to my comments. 😇🌹🌻
Wish you the best. 👑


Remove the category directory

All RFCs are now top level. The tests for name formating have been updated
for the new location. Likewise, documentation has been updated to correct
some incorrect process and improve clarity.

@MikeCamel I tested the code. Also, the code executed as part of this PR's tests (which passed). So the only potential problem left should be false positive tests.


Node 6.6

With node 6.6 I get a "global.env.a is not defined" error when using the example from the frontpage:
var Parallel = require('paralleljs')
var p = new Parallel([1, 2, 3], {
  env: {
    a: 10
  }
});

// returns 10, 20, 30
p.map(function (d) {
  return d * global.env.a;
});

I am getting the same.

This project is pretty much dead. I wouldn't recommend using it.

This project is pretty much dead. I wouldn't recommend using it.

I see - last commit was feb 2015.
Any inputs on why its dead?

Lack of interest from the maintainer?
Lack of interest from the community (other methods thats better)?

I've tried to contact him on multiple occasions and he hasnt responded 😭

Good - then he knows that there is people wanting to carry this baby

He might not check the email address that I sent the message to. It was the only email I could find.

ok - this repo is ready to get some love... I started out by adding the project page to js.org so it will soon be available as http://parallel.js.org

@mathiasrw It would be great if you could add me as a collaborator. See https://github.com/parallel-js/parallel.js/pull/118#issuecomment-232420319.

Never mind! I just saw that he already sent me an invitation.

Ouch. We have to fix this.

I would like to do some minor changes in the devops here. Suggestions:

Setup Travis-ci to verify PR's works (in node)
Merge existing PR that can be merged
Lean towards a git-flow attitude by keeping master branch as "last stable version" and adding updates to a new develop branch

Any objections?

Add to the list that we must be added as collaborators to the node repo... But lets first make sure that the readme examples actually work...

Made #126 to focus on a fresh start

I think you should do git-protect master branch and git-dev branch.

Locked!


Narrative documentation of new units and measures model

Should include:

Explanation of the new model and how it differs from the old model
Overview of what the migration scripts do (see issue #1034)
Clear explanation of exactly how one would carry out business as usual, given

there will be no standard units, or any units for that matter in gist itself (if my understanding is correct)
there are no subclasses of Magnitude to use for restrictions and anything else.

proposed text (not including data conversion)
The following is an informal high-level description of changes to gist to better support magnitudes and units of measure.
With gist 13, the ontology for magnitudes and units of measure has been revisited to provide:
•	Simpler governance
•	Support for financial metrics
•	Simple standard ways to represent data involving units of measure
•	Support for calculations involving units of measure
The release includes scripts for converting data from gist 12 to gist 13, and Semantic Arts will also provide a rich set of reference data for units of measure that can be tapped going forward.
To see how gist 13 accomplishes these goals, let’s start with a simple example and build on it.
A patio has an area of 144 square feet.
We can break this statement down as follows:
•	The patio has a magnitude that represents its area
•	The magnitude is for an area (a measurable characteristic, also called an aspect)
•	The magnitude uses square feet to measure the area
•	The magnitude has a numeric value of 144
Each of these simpler statements can be represented as a triple; the gist properties involved are, respectively:
•	has magnitude
•	has aspect (new)
•	has unit of measure
•	numericValue
Building on this example, the new concepts for units of measure in gist 13 are:
•	every magnitude is directly related to a measurable characteristic (called an aspect)
•	aspects and units of measure are treated as reference data and are not part of the ontology
•	groups of units can be established, where all the units in the group measure the same aspect (for example bit, kilobit, and megabit all measure a quantity of data)
•	the units of measure in a group are all multiples of the same product of powers of base units, given as exponent of ampere, exponent of bit, exponent of candela, etc.
•	as before, every unit of measure has a conversion factor and a conversion offset that can be used to convert from one unit of measure to another (e.g. from liters to gallons)
•	there is a simple way to represent units of measure and aspects in terms of component parts, e.g. ‘profit = revenue – expenses’ or ‘watt hour per mile = watt x hour / mile’
•	aspects can be categorized by discipline
To draw a comparison with gist 12:
•	it is no longer necessary to change the ontology to add new aspects and units of measure, because they are treated as reference data instead of as classes
•	it is no longer necessary to figure out if a unit is a coherent unit, a simple unit, a product unit, etc.
•	because of the two items above, gist now has 25% fewer classes
•	there is now one standard way to represent things that previously could be represented multiple ways
•	there is now a simple way to validate that a unit of measure is applicable for measuring a given aspect
•	calculations can now be done in SPARQL that would be far more complex in gist 12
Most units of measure can be related to the International System of Units as in the following example using base units kilogram, meter, and second:
1 watt-hour = 3600 x kilogram meter squared per second squared
In terms of the ontology:
	the conversion factor for watt-hour is 3600
	the exponent of kilogram is 1
	the exponent of meter is 2
	the exponent of second is -2
	all other exponents are zero

Every member of a unit group containing watt-hour must be a multiple of kilogram meter squared per second squared. The unit group containing watt-hour would also contain kilowatt-hour, for example.
Reminder: calculations involving the exponents can be done as follows:
2 meters squared x 3 meters =
= 2 x 3 (meter with exponent 2) x (meter with exponent 1)
= 6 meter with exponent 3    [to get the product, add the exponents]
Calculations involving exponents can be done in SPARQL queries. A more complex example is:
1 watt = 1 kilogram meter squared per second cubed
1 hour = 3600 seconds
1 mile = 1609.34 meters
Therefore:
1 watt-hour per mile
= watt x hour x mile^-1
= (1 x kilogram x meter^2 x second^-3) x (3600 x second) x (1609.344 meter)^-1
= (1 x 3600 x 1609.344^-1)  x kilogram x (meter^2 x meter^-1) x (second^-3 x second)
= 2.237 x kilogram x meter x second^-2
This calculation relates the unit ‘watt-hour per mile’ to the base units kilogram, meter, and second of the International System of Units, with a conversionFactor of 2.237.
For more information, see the following items in the gist ontology:
Classes:
Aspect
UnitGroup
UnitOfMeasure
Magnitude
Object properties:
hasUnitGroup
isMemberOf
hasAspect
hasUnitOfMeasure
hasMultiplier
hasDivisor
hasAddend
hasSubtrahend
hasPrecision
Datatype properties:
numericValue
conversionFactor
conversionOffset
hasExponentOfAmpere, hasExponentOfBit, etc.
Also see section 2.3.4 of the Brochure of the International System of Units at https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-EN.pdf

@philblackwood This should be submitted in a PR to the gist-doc repo as a markdown file in directory gist-13.0.

Opened https://github.com/semanticarts/gist-doc/issues/13 and closing this issue.


Returning with Postgres

Hello guys!
I'm trying to use returning function but objection is ignoring what I would like to return. I tried the same query on the same DB with Knex (without Objection) and worked properly.
fields.password = await PasswordUtils.generateHash(password);
fields.email = email;
fields.firstName = firstName;
fields.lastName = lastName;
fields.photoProfileURL = photoProfileURL;
fields.userPublicId = await PublicIdGenerator.generate();

let newUser = await User.query()
      .returning(['userPublicId'])
      .insert(fields)
      .debug();

The Objection code above generated a query that should works:
{
  method: 'insert',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [
<EMAIL_ADDRESS>    'first,
    'last',
    'asdffdsaasdffdsaasdf,
    'https://via.placeholder.com/150',
    'p0JgZFUrx'
  ],
  __knexQueryUid: '93969f30-ae75-11ea-a678-dd25528d8462',
  sql: 'insert into "server-core"."users" ("email", "firstName", "lastName", "password", "photoProfileURL", "userPublicId") values (?, ?, ?, ?, ?, ?) returning "userPublicId"',
  returning: [ 'userPublicId' ]
}

But Objection is returning a complete object after execute the query, ignoring the returning asking to return only the userPublicId
Database - PostgreSQL 10;
Objection - ^2.2.0
Knex - ^0.21.1
pg - ^8.2.1

Tks!

Objection returns the input object plus the fields listed in returning.

humm... I got it.
Just to clarify, why Knex return only the field informed in returning? Objection shouldn't have same return as Knex? I mean, return only what is asked in returning.
I saw that Objection have a deprecated pick method, so what I should use to return only what I want?
Sorry for the question, I'm an old Knex user but a 2 days Objection user :).
Tks!!


Removed use of Clone in samples

I'm just looking at this PR and noticed that the Copyright years were updated. Is that correct? My understanding is that these should remain unchanged with the original year.


Day cell custom selection view corner radius and ranged background view inset.

This  PR extends DayCell configuration with two additional properties that allow to customise selection view corner radius and ranged background view inset.
public var rangedBackgroundViewInset: CGFloat = 3
public var customSelectionViewCornerRadius: CGFloat?

Example configurations:

@ilia3546 please take look 🙂
BTW. do you have idea how to remove this white vertical line between Thu - Fri?

Hi @ilia3546, any ETA for this PR?
Best Regards,
Wojtek


chore(experimental): move IAM resources into iam.tf and add group headings

Re: TODOS - not necessarily, some TODOs are outside the scope of the experiment itself, but TODOs related to reaching parity with the current implementation should be resolved.


tags lookup/validation on ask question

Enable lookup of tags when asking question, validate that only valid tags are used.

@wooldridge, I rebased and pushed this to my fork as tags-in-progress.
I left a TODO list in the commit.

Verified on different browser combinations .


[Feature] : Implement New Login & Sign Up form

Is your feature request related to a problem? Please describe.

In this project login &  sign Up form Ui is not perfect. So I suggest for the professional Ui

Describe the solution you'd like

change professional Login & sign Up form

Demo Video/Screenshot (Mandatory )
Screencast from 2024-05-23 08-03-02.webm
Are you contributing under any open-source program ?

gssoc24 Contributer..

@sivaprasath2004 I am assigning you . Recently the login page UI have been changed in our website .please look into that , Then if u think u can do better UI work for the login page , then PING me with that idea here , I will assign you then

@apu52  I'm ready to work.

Assign me..

@apu52 ,
Screencast from 2024-05-23 08-03-02.webm

@apu52 ,
Screencast.from.2024-05-23.08-03-02.webm

okk. try to make it a full functional login page with all the functionalities & UI according to the theme of the website

@apu52 ,sure


Support for macos_arm64

tried to run lce_benchmark_model on an Apple Mac mini with M1.
turns out that this is not possible directly although the platform aarch64 is generally the same.
next step was trying to build it manually but it did not work since more adaptations for the bazel build system are needed (I assume it would need a different toolchain).
could you give me a hint on how to implement this properly such that we could do:

bazel build --config=macos_arm64 //larq_compute_engine/tflite/benchmark:lce_benchmark_model

or for the whole pip package of larq_compute_engine

bazel build --config=macos_arm64 :build_pip_pkg

since commit bab0d14036efd0adcd4e48303d045cee3c342cb0 it is possible
to build TF2.4 for Apple silicon as explained here.
I checked the subrepo of TF within larq_compute_engine, which currently is at commit 85c8b2a817f95a3e979ecd1ed95bff1dc1335cff so this is not yet included

Unfortunately we are not able to give you concrete guidance here as we don't have access to Apple Silicon at the moment.
From the PR you linked it should be possible to update the TensorFlow dependency to a newer commit here, although I am not sure if this would require additional changes to our code.
Then, you probably need to manually apply the changes of the PR to our .bazelrc and add the missing platform config_setting here.
I would start with lce_benchmark_model as it has a lot fewer dependencies that could lead to problems.

so for a start I changed the .bazelrc and CONFIG according to these PR changes.
since you mentioned updating the SHA hash here: is larq compiled using TF by downloading that .tar.gz package ?
cause I also thought I had to update the tensorflow subrepo to that newer commit.

Hey Simon, when building with Bazel the tar.gz file that's in the WORKSPACE file you linked to gets used, and the TF submodule is used for Makefile builds. We tend to use Bazel for almost everything so the WORKSPACE file is what matters, but when we update TF versions we always bump the submodule as well to keep them in sync.

so workin on this front also revealed some updates.

bazel: with the aforementioned changes in WORKSPACE using a more recent TF (mid January) tar.gz and BUILD I was able to build the lce_minimal example. however lce_benchmark_model/pip_package do not work yet (also tried compiling the lce_benchmark_model from offical TF repo) which resulted in errors with respect to XNNPACK. (the bazel compilation automatically builds with xnnpack whereas LCE make script does not). this is due to XNNPACK not being able to build using bazel, check this issue
make: with the aforementioned changes I was able to compile the lce_benchmark_model for macos_arm64using

larq_compute_engine/tflite/build_make/build_lce.sh --native

this works and I evaluated the QuickNet models. the performance is quite stunning. LARQ doc would also be a nice place to show these numbers

I made a pull request on the official TF repo to allow a host compilation using cmake for TensorFlow Lite library and the benchmark_model on macos_arm64.

@lgeiger @Tombana @AdamHillier as stated above bazel builds are not yet possible (due to TensorFlow Lite dependencies on XNNPACK but I issued a PR there.
once this gets accepted, I can issue a PR in the official TensorFlow repo. this should allow bazel builds of the TensorFlow Lite libraryand the benchmark_model for the macos_arm64platform.

Closing this issue as #664 fixes this and has been merged


Check on len() < 0

Hi,
https://github.com/camunda/camunda-platform-get-started/blob/b65589232c5494318f541fc7dcf4a7277c589913/go/main.go#L118
Maybe there should be a different logic here?
Because len >=0 by design.

maybe you nead: if len(resource.GetDeployments()) == 0 { }


safeTxGas estimation for smart contract upgrade is failing

Describe the bug
When trying to get an estimation of safeTxGas for a smart contract upgrade it gets an error.
To Reproduce
Steps to reproduce the behavior:

Do POST on https://safe-transaction.rinkeby.staging.gnosisdev.com/api/v1/safes/0x8e37AAcCd416d08D09e52659E13ceB05280cA431/multisig-transactions/estimations/

example data:
{ "data": "0x8d80ff0a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000f2008e37aaccd416d08d09e52659e13ceb05280ca431000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000247de7edef0000000000000000000000003e5c63644e683549055b9be8653de26e0b4cd36e008e37aaccd416d08d09e52659e13ceb05280ca43100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024f08a0323000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e40000000000000000000000000000", "operation": 1, "to": "0x40A2aCCbd92BCA938b02010E17A5b8929b49130D", "value": "0" }
Expected behavior
I would expect to get a correct gas estimation

Operation should be 1

Just for reference, actual example of multisend update: https://safe-transaction.rinkeby.gnosis.io/api/v1/multisig-transactions/0x22dd97d06df459b5a443c788c9f35d78608b8f8988404a4bc3ee37e22393c653/

@rmeissner yes sorry about that, we were setting wrong operation and wrong to for the estimation and the correct values for sending it. Thank you for pointing that!
@Uxio0 thank you for your time checking!


Publishing failed

OB 2.0.21
Reproducibility: always
Steps:
Launch OB.
What happened:
"Publishing failed" error message.

10:50:58.755 [SendRequest] [DEBUG] Sending STORE request to QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ

10:50:58.755 [func1] [ERROR] Error pushing data to peer QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ: failed to find any peer in table

10:50:58.755 [SendRequest] [DEBUG] Sending STORE request to QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o

10:50:58.755 [func1] [ERROR] Error pushing data to peer QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o: failed to find any peer in table

10:50:58.755 [Publish] [ERROR] failed to find any peer in table

10:50:58.755 [publish] [ERROR] failed to find any peer in table

ob.log

This looks more like a connectivity and server issue. @cpacia any ideas?


Realtime indexing error on Arbitrum

i tried using ponder recently for indexing transactions that have been settled on our contract. currently got it to work well, historical indexing works perfectly for both mainnet & arb.
however realtime indexing seems to be failing after 20 or so seconds for arbitrum (mainnet seems ok). attached are my config and the error msg.

Can you share some information about what your indexing functions are doing? Any contract reads?

sure thing, apologies for the sort of messy code as i was trying to get ponder working as a proof of concept:
tldr: we get transaction hash and other txn info from the event and essentially use that information to update records in our offchain mongodb for analytic purposes
import { ponder } from "@/generated";
import "dotenv/config";
import { MongoClient } from "mongodb";
import { Seaport__factory } from "../types/ethers-contracts";
import { MongoCollections, MongoDatabases } from "./constants";
import { clients } from "./providers";
import { tokenMap } from "./tokens";

export const mongoClient = new MongoClient(process.env.MONGO_DB_URI || "");

ponder.on("AoriProtocol:TradeOccurred", async ({ event, context }: any) => {
  // @ts-ignore
  const receipt = await clients[context.network.chainId].getTransactionReceipt(event.transaction.hash);

  if (!receipt) return;

  receipt.logs.map(async (log: any) => {
    const res = Seaport__factory.createInterface().parseLog(log as any)
    if (res?.name !== "OrdersMatched") return;

    const orderHash = res.args[0][0];
    const txHash = event.transaction.hash;

    const order = await mongoClient
      .db(MongoDatabases.OrderManager)
      .collection(MongoCollections.Orders)
      .findOne({ orderHash })
    if (!order) {
      console.log("no order")
      return
    }

    if (order.fulfilledAt != undefined) {
      console.log("order already fulfilled")
      return
    }

    const taker = order.pendingTakerOrders[order.pendingTakerOrders.length - 1].parameters.offerer

    const prices = await mongoClient
      .db(MongoDatabases.DataIndexers)
      .collection(MongoCollections.AssetPricing)
      .find({ $or: [{ address: order.inputToken }, { address: order.outputToken }] })
      .toArray()

    const inputTokenInfo = prices.find((x) => x.address === order.inputToken);
    const outputTokenInfo = prices.find((x) => x.address === order.outputToken);

    if (!inputTokenInfo || !outputTokenInfo) throw new Error("Cannot fetch asset pricse in Order Fulfillment");

    const inputToken = tokenMap.get(order.inputToken)
    const outputToken = tokenMap.get(order.outputToken)

    if (!inputToken || !outputToken) {
      console.log("no token info: ", order.inputToken, order.outputToken)
      return
    }

    const inputAmount = inputTokenInfo.price * (order.totalInput / (10 ** inputToken.decimals))
    const outputAmount = outputTokenInfo.price * (order.totalOutput / (10 ** outputToken.decimals))

    const result = await mongoClient
      .db(MongoDatabases.OrderManager)
      .collection(MongoCollections.Orders)
      .updateOne({
        orderHash
      }, {
        $set: {
          totalInputUSD: inputAmount,
          totalOutputUSD: outputAmount,
          taker,
          fulfilledAt: Date.now(),
          txnHash: txHash
        },
      });

    console.log("(Order Fulfilled) orderHash: ", res.args[0][0], "txnHash: ", event.transaction.hash);
  })
});

I think I see what is going wrong here. I don't know the exact numbers but let's say the call you do to getTransactionReceipt() takes 100 milliseconds. Arbitrum tries to emit 15 blocks per second (67 milliseconds per block). So even without any other operations in the indexing function, there is no way to keep up with the chain.
The solve for this would be to try and add the seaport contract to the config rather than fetch the logs within a separate indexing function.
For example your config could look like
export default createConfig({
  networks: {
    mainnet: {
      chainId: 1,
      transport: http(process.env.PONDER_RPC_URL_1),
    },
    arbitrum: {
      chainId: 42161,
      transport: http(process.env.PONDER_RPC_URL_42161),
    },
  },
  contracts: {
    Aori: {
      abi: <aori abi>,
      network: {
        mainnet: {
          address: <mainnet address>,
        },
        arbitrum: {
          address: <arbitrum address>
        },
      },
    },
    Seaport: {
      abi: <seaport abi>,
      network: {
        mainnet: {
          address: <mainnet address>,
        },
        arbitrum: {
          address: <arbitrum address>
        },
      },
      filter: {
        event: "OrdersMatched",
      },
    },
  },
});

Now you have to write indexing function for both Seaport:OrdersMatched and Aori:TradeOcurred. If you know the ordering of the events before hand, you could add some logic like:
let aoriTx: Hex | undefined = undefined;

ponder.on("Aori:TradeOccured", async ({ event, context }) => {
  aoriTx = event.transaction.hash;
});

ponder.on("Seaport:OrdersMatched", async ({event, context }) => {
  if (aoriTx === event.transaction.hash) {
    // Now you know that this event occurred in same transaction as the Aori event
    // Do your mangoDB logic here
  }
});

Hopefully this makes sense. Happy to help more


🌱 Add tests for capi provider edit operations

What this PR does / why we need it:

Add integration tests for CAPI Provider reconcile process, focused on field modification.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #381
Depends on #395, #397
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[x] adds unit tests
[ ] adds or updates e2e tests

@Danil-Grigorev - both #395 and #397 have merged. Would you be anle to rebase this so we can get this in?