Since Windows 10 V1809, Windows PE is now a separate download

Please update
https://docs.microsoft.com/en-us/windows/deployment/deploy-windows-mdt/prepare-for-windows-deployment-with-mdt#a-href-idsec02ainstall-windows-adk-for-windows-10
Referring readers to...
https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

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

ID: 7ab08370-69ab-d025-cea2-c41c3aa4b908
Version Independent ID: 9f5603f8-10e6-2651-3120-6d5627217cc9
Content: Prepare for deployment with MDT (Windows 10)
Content Source: windows/deployment/deploy-windows-mdt/prepare-for-windows-deployment-with-mdt.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@anwarmahmood1 Thanks, I'll that link and a brief explanation


Swift 4 Support - Working

Not sure the status on maintaining this pod, I moved it over to work on swift 4. I am willing to spend more time on it if there is interest.
I removed everything that was force unwrapped and made code changes.
https://github.com/Shanlon/SAConfettiView

@sanlon how could I use your fork from the time being until @sudeepag updates this package ?

@alfonsodev
If your using CocoaPods try: pod 'SAConfettiView', :git => 'https://github.com/Shanlon/SAConfettiView.git', :commit => 'c3d602ba939278d28cf7634d0cf5b38d113cd8d2'

thanks @Shanlon, I can confirm your fork works on XCode 9.3 and Swift 4.1
Just one minor change, I had to replace
  confettiView.type = .Confetti

by
  confettiView.type = .confetti


slow to load when running 6-8 queries

First of all many thanks for the super package which helped us include analytics on our cms backend.
However it seems that things are slow when running 6-8 queries. Any solution to speed things up? Caching helps a lot since this delay is noticeable only when the data is refreshed but trying to figure a way to speed things up from the package itself.
i show site statistics when a users logs in to the admin area and i want to avoid the 5-6 seconds delay when the data needs to be refreshed. The obvious solution is to load this data via an ajax call so the page loads and the data is visible as soon as they are fetched but i want to investigate if the re is a way to make these 5-6 requests to analytics API in parallel than one after the other so this will effectively take 1sec instead of 6 seconds. So even when data need to be refreshed which would be much faster.

ajax via javascript should be a preferred solution as it allows async by nature and will not hold the user in a "delay" while waiting for response

yeah i figured a good approach is to have a very long cacheLifetime so when the page load it draws my stats dashboard form the cache. and then with an ajax call i refresh each component data while doing Config::set('laravel-analytics.cacheLifetime',60 ); beforehand so that the cache for that query is refreshed
Give it a nice touch wile graphs are being redrawn, its like an animation from the cached values to the refreshed ones! A lot more code but i think with this i solved my delay problems.

Using the Google API is indeed kinda slow. In my projects the Google API only gets called from scheduled jobs. Webrequests only show the data that was pulled in by those jobs.


url quote all paths when updating build output paths

Not yet tested. cc @zowoq

Seems to work as intended.


ERROR: Invalid client.

Thanks @beshoo1! I've now updated the SE-Client-Type and SE-Client-API-Key request headers with respective values from current stable Opera and it should fly again. Let me know if that's not the case.

it seems Opera change how it works ! i can not find the SE-Client-Type and SE-Client-API-Key!
and thy change it each day !
Please Advice

Strange !
you_get_a_proxy = OprahProxy('se0310', 'AE4CA57D1E3C0E6711C53416BFA0988F08D41B428D26D053A4C46EC72A79B9E7')
https://github.com/spaze/oprah-proxy :::==~=~~~~~~~~=~~~~~~~
DEBUG: Call register_subscriber
DEBUG: Your SurfEasy email<EMAIL_ADDRESS>DEBUG: Your SurfEasy password: dfca46ef-ecb7-4fa6-84d1-b9129ff8a2c4
DEBUG: Your SurfEasy password hash: 2C8DBC26C887751164959F6712523BF5244B16AE
DEBUG: Your mailbox: https://mailinator.com/inbox2.jsp?public_to=f89778b5-4b58-47f3-8c7f-339f3d704c6b
DEBUG: These are not the credentials you are looking for (you won't probably need these, ever)
ERROR: Invalid client.

Please pull in the newest changes, https://github.com/spaze/oprah-proxy/commit/e39fdae7a283165d5ab097c7226651f71300b8c0 has fixed the latest Invalid client error.

@spaze  thank you very much , its work just fine.
But i like to ask , can we automated geting SE-Client-Type and SE-Client-API-Key ?via installing opera on linux ?

Maybe. You'd need to do at least three things automagically everytime you'd need the values:

install Opera, or reset the user profile
enable the VPN feature
MitM the connection to SurfEasy API servers

But as you can see in https://github.com/spaze/oprah-proxy/commit/e39fdae7a283165d5ab097c7226651f71300b8c0 the problem was not in wrong type and value

While i am trying to understand VPN android app of opera , by reverse engineering the APK file . i found this values
'se0307', '2D67631A124F7AE10629ACA9ACA5AB21D67D30BDF6CF11C0B78735527FDF4DCA'
Which i believe it's hard to be changed since it is apk and hard coded .BTW it is worked just fine !
Any way , i am planing to mimic the connection the the real VPN , it seem same ip address are involved , thy use OpenVPN to connect to the servers.
If anyone like to help , it will be wonderful.
iam searching for the .ovpn file to connect to operaVPN server ,
if any one intrested , reverse engineering the opera APK file .
and start digging :)

here is some goodies
# Enables connection to GUI
management /data/user/0/com.opera.vpn/cache/mgmtsocket unix
management-client
management-query-passwords
management-hold

# Log window is better readable this way
suppress-timestamps
client
verb 3
connect-retry-max 1
resolv-retry 60
dev tun
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
MIICbjCCAdegAwIBAgIJALpa3K/RGz7TMA0GCSqGSIb3DQEBBQUAMC8xCzAJBgNV
BAYTAkNBMQswCQYDVQQIEwJPTjETMBEGA1UEAxMKb3BlbnZwbi1jYTAeFw0xMjA4
MjQxNDQxNDVaFw0yMjA4MjIxNDQxNDVaMC8xCzAJBgNVBAYTAkNBMQswCQYDVQQI
EwJPTjETMBEGA1UEAxMKb3BlbnZwbi1jYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw
gYkCgYEAsFp/304CrPQsoCwEZjTgxH0L8bDfTLvouIc2aGxg8SdhHspA7Gl8pEri
+NjpDV8Z1zwH7vbxMFbV4e9XNU/3OSEO+IcwOf4U376bKMmv7jRtGydo6sCN7vxK
npMhQ8gT+oViVfkZj2rj7XXXHLJBWnIDy7yfI+we3XBM+Izz3xsCAwEAAaOBkTCB
jjAdBgNVHQ4EFgQUPOII5Sm8xvtWnRvlWvXFnUkOMyUwXwYDVR0jBFgwVoAUPOII
5Sm8xvtWnRvlWvXFnUkOMyWhM6QxMC8xCzAJBgNVBAYTAkNBMQswCQYDVQQIEwJP
TjETMBEGA1UEAxMKb3BlbnZwbi1jYYIJALpa3K/RGz7TMAwGA1UdEwQFMAMBAf8w
DQYJKoZIhvcNAQEFBQADgYEAG0hBjHvj5JSm39QrjjKgGDnchsHHV0ox1cPyWp+Z
v4iOjjWigz2jtnl1OetoZvJBOkgwf+r9yCU0/s9gYA8tjVYa2RKXf5DEivdLog4c
3eDsGXFuQm1YhTmdTcjiFs/0SYcbzP5AbNmTCv8KEaIaE6WGpzPKjccH7rd8Q2mk
/DM=
-----END CERTIFICATE-----

</ca>
comp-lzo
nobind
# Use system proxy setting
management-query-proxy
# Custom configuration options
# You are on your on own here :)
<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 1194
</connection>

<connection>
remote <IP_ADDRESS>
proto tcp-client
port 443
</connection>

<connection>
remote <IP_ADDRESS>
proto udp
port 53
</connection>

# These Options were found in the config file do not map to config settings:
ns-cert-type server
ping 10
ping-restart 15

i can not find auth-user-pass
i tide the returned username and password from the python script but it dos not worked :)

@beshoo1  how is your progress in this?
I managed to find similar values in the OperaVPN App for iOS (I didn't reverse-engineer the executable, I managed to find all the connection properties in the Cache files of the app)
What script did you try to use to connect to the OpenVPN Server ?

Well i found it is dame as proxy connection same ip address same ports but
what i did not foumd the password for the openvpn.
On Feb 26, 2017 3:03 PM, "IgorOne"<EMAIL_ADDRESS>wrote:

@beshoo1 https://github.com/beshoo1 how is your progress in this?
I managed to find similar values in the OperaVPN App for iOS (I didn't
reverse-engineer the executable, I managed to find all the connection
properties in the Cache files of the app)
What script did you try to use to connect to the OpenVPN Server ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spaze/oprah-proxy/issues/10#issuecomment-282554416,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATw78fIWC8uA2c_vyk-eD2PK05L6GwRVks5rgXgSgaJpZM4Lp9pa
.

I don't believe that the connection is established with a password, but with a certificate - does OpenVPN allow this ?
See here:
058BC9CA-45C1-43D0-9FED-FB745CB89CB5.txt
That's in JSON - there are keys called "cert_password" and "device_p12" - I assume there is a certificate(??) which allows the secure connection. But I'm not sure. The file appears to contain the request/ response to the server as far as I understand.
I hope someone could get a hang on this.

I understand what you are trying to do; there seems to be some degree of commonality or compatibility between the two services.  This could be relevant also:
https://chrome.google.com/webstore/detail/surfeasy-vpn-security-pri/odiddbcijempnhhobijfbggjogofdlgl
One difference in v4 Opera proxy, the certificates are much bigger than the Android one you reversed.  So the method could have change.  See for example in opera://net-internals/#events
t=45075 [st= 0] +CERT_VERIFIER_JOB  [dt=30]
For the OVPN config file, "management" directives are only valid on linux, so comment them out with "#" on other platforms.  Also, you could possibly replace the server connections with the Opera proxy servers, e.g.
remote <IP_ADDRESS> 443
remote <IP_ADDRESS> 443
remote <IP_ADDRESS> 443
remote <IP_ADDRESS> 443
remote <IP_ADDRESS> 443
I believe the   tags are deprecated and no longer necessary
The certs might be used like this:
https://www.brainfart.sg/index.php/2012/05/embedding-certificate-into-openvpn-config/

re "It seem there is a problem with client API , please advice
ERROR: Invalid client."
just for reference, a working version is here: https://github.com/nampud/oprah-proxy

Opera just pushed an iOS update called "Opera VPN gold" and the free servers immediately quit working after installing.  Android & iOS users with root might want to backup the old VPN client before updating.


Fix for issue #24.

This will give back the correct relative path, without weird characters.

Closing due to #40


Fix object merge

ref: https://github.com/pepabo/gmopg/blob/master/src/config.type.ts#L5
http property is object. If we use spread syntax here, http property will be over written like this.
// deepmerge
{
  baseUrl: 'test',
  http: {
    timeout: 1,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'GMO PG Client: Unofficial'
    }
  }
}

// spread syntax
{ baseUrl: 'test', http: { timeout: 1 } }

Thank you for reporting the bug and fixes. Nested settings in the first place creates bugs like this. I am thinking of the following improvements:
const config = {
  baseUrl: 'localhost',
  httpTimeout: 1,
  httpHeaders: {},
  ...
}

Apparently http config relies on node-fetch, so my suggestion doesn't seem right.
https://github.com/pepabo/gmopg/blob/fd93d837a8fe60c8f52fc7cbacc3627f8a91b092/src/config.type.ts#L5

Deep merged config cannot support because it introduces complexity between the library and the application.

I prepared http property separately like this.
https://github.com/pepabo/gmopg/pull/31/files#diff-3cafb86a5b0a9d0916a7fed543a1fb53R17-R21

Thanks


Some proposals

I will fix coverage later if we agree on the rest.

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

Project coverage is 100.00%. Comparing base (5193780) to head (cdb6f03).

Additional details and impacted files
@@               Coverage Diff                @@
##           soma-functions     #1119   +/-   ##
================================================
  Coverage          100.00%   100.00%
================================================
  Files                  35        35
  Lines                2683      2683
================================================
  Hits                 2683      2683


Unable to instantiate service com.flurry.android.marketing.messaging.FCM.FlurryMessageListenerService: java.lang.ClassNotFoundException: Didn't find class

It looks like alongside my iOS issue, I have a somewhat similar problem with Android that was reported by our CI and Google Play's pre-launch report:

It's interesting that not all devices (only 7 out of 10) are affected.
As per my other issue, I'm not using push notifications, so have not followed any of the "FLurry Push" section of the Android setup instructions (e.g. didn't use .withMessaging() etc).

Note I didn't follow this step in the setup instructions as it seems to be optional:

To improve analytics identities, please see Manual Flurry Android SDK Integration for adding Google Play Services library in your app by including the following in your build.gradle file:

dependencies {
    // Recommended to add Google Play Services
    implementation 'com.google.android.gms:play-services-base:15.0.1'
    implementation 'com.google.android.gms:play-services-ads:15.0.1'
}

This one is obviously more serious than my iOS issue as it would stop us from releasing the update containing Flurry.
Thanks in advance!

Update - I just checked the APK's entry in Play Store's artifact library, and it looks like com.google.android.c2dm.permission.RECEIVE has somehow got into the Required permissions. It's definitely not in my AndroidManifest.xml. I assume this SDK is injecting it somehow.

@markymc Cannot reproduce it. Does your app's proguard hide FlurryMessageListenerService class?

@poting-oath This is my proguard-rules.pro:
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

-keep class com.mypackage.BuildConfig { *; }

-keep class io.invertase.firebase.** { *; }
-dontwarn io.invertase.firebase.**

@markymc Not sure why this class disappeared in your app. Before we can find out the cause, please comment out the following line from your project's node_modules/react-native-flurry-sdk/android/build.gradle.
dependencies {
    implementation 'com.facebook.react:react-native:+'
    implementation 'com.flurry.android:analytics:11.6.0@aar'
    // implementation 'com.flurry.android:marketing:11.6.0@aar'
}

Please add the following lines in your proguard-rules.pro to see whether it preserves the missing class or not,
-keep class com.flurry.android.marketing.messaging.FCM.FlurryMessageListenerService { *; }
-keep class com.flurry.android.marketing.messaging.FCM.FlurryInstanceIDListenerService { *; }
-keep class com.flurry.android.marketing.messaging.notification.NotificationCancelledReceiver { *; }
-keep class com.flurry.android.marketing.messaging.notification.NotificationClickedReceiver { *; }

@poting-oath Thanks. I tried and it didn't seem to help. However, it looks like this worked:
-keep class com.flurry.android.** { *; }

I spoke too soon. Google Play's pre-launch report failed, so this is not fixed.

I just realised that Proguard is not enabled for my project, so it shouldn't be a proguard rules issue.

Hmm, so I removed Firebase from our project to test, and it seems to be fine now. Luckily we don't really need Firebase any more, so I'll keep it out. But it's very strange that this was a problem.

Closed, looks like it's a integration issue that caused by Firebase leftover that is conflict with Flurry Push. (Yes, Flurry Push does depend on Firebase at run time, that may have conflict with this.)

@buchereli Do you still have the build issue? We are now compatible with the latest Firebase libraries. Thanks!

We are now compatible with the latest Firebase libraries. Thanks!

Closed


Fixes undefined method `exist?' for Dir:Class

I tried to run:
bourbon install
on my mac and the error was triggered on line 39.
I fixed it by replace Dir.exists? with File.directory?

@nlisgo Are you using Ruby 1.8.7 by any chance?

Yes. Is it not supported? Everything runs fine for me after making that change to the file.

Ah, that explains it. Dir does not have an exist? method in Ruby 1.8.7 it was only introduced in Ruby 1.9. If at all possible, I personally recommend upgrading your Ruby version, as Ruby 1.8.7 is slowly being phased out by developers in favour of Ruby 1.9.

I'm new to ruby and attempted the upgrade but I haven't been able to get bourbon to run with ruby1.9
I think it's because when I installed bourbon I used gem install but to download and use 1.9 I've had to use rvm. Did I mention I'm on a mac. 1.8.7 is the recommended release for lion. I would like to recommend that my peers (who are also mac users) use the bourbon library with sass. We are not ruby devs but Drupal so expecting my colleagues to get 1.9 setup is not feasible unfortunately. My fork of bourbon with this one line change which I assume works in 1.9 as well as 1.8.7 would remove a barrier for me and my colleagues.
Please let me know if you pull my amend.

I am also on Mac and use rbenv as my ruby version manager of choice and currently running Ruby 1.9.3-p0 as my default. It's up to the maintainers of Bourbon if they want to make it backwards compatible with 1.8.7. And if they do, I am not sure how long they will keep that support as Rails will dump support for 1.8.7 in Rails 4.
It's entirely up to the Bourbon team what their plans are for backwards compatibility.

@gabebw pushed the fix for this today:
https://github.com/thoughtbot/bourbon/commit/45f680647ab33606a6033cd83c92f1cc966cae2e. Let me know if you still run into this issue.


There is no ability to pass html data attributes

There is a problem when I wanna connect to my map Stimulus.js controller and I can't! 'cause there is no such ability!

Hi @loqimean, you can put the map in a div with any attributes.

but it's a workaround.., it's like simple_form, rails with link_to, image_tag etc. said you wrap your link or image, to have the ability set something to your element, the again workaround in CSS, JS, where you should use selectors, like .map > div or .map > svg, in JS also NOT this.element, but using getters and another stuff, like this.element.quarySelector("svg") . I don't think that it's good

Btw, what If I create a pull request to add this feature?


Add ESLint and Prettier formatting and run initial formatting

In response to https://github.com/tailwindcss/tailwindcss/issues/93, this PR establishes the use of ESLint using Prettier for code formatting. The ESLint config is pretty stock, and Prettier is configured using the following settings:
"semi": false, // Use semicolons
"singleQuote": true, // Use single quotes instead of double quotes
"printWidth": 80, // Limit each line to 80 characters
"tabWidth": 2, // Each tab is 2 spaces wide
"useTabs": false, // Use spaces instead of tabs
"trailingComma": "none", // Don't use trailing commas, even if allowed in things like arrays
"bracketSpacing": true // Use spaces between brackets

Sweet, excited to get this in! I agree with @MichaelDeBoey I think we should force dangling commas for multiline though, which looks like an easy tweak to the config?

Good with me! I usually leave them in too.
On Sat, Nov 4, 2017 at 11:45 AM Adam Wathan<EMAIL_ADDRESS>wrote:

Sweet, excited to get this in! I agree with @MichaelDeBoey
https://github.com/michaeldeboey I think we should force dangling
commas for multiline though, which looks like an easy tweak to the config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tailwindcss/tailwindcss/pull/95#issuecomment-341911484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADmWor0hcjBTKN-LtGywxajMt77WSCvks5szJShgaJpZM4QR5sR
.

Can we also add the quote-props rule set to consistent? I hate seeing some quoted keys and some not in objects where we need to use numbers as keys or dashes in keys.

This is where we'd have to jump off the Prettier wagon. They're not interested in adding this option yet: https://github.com/prettier/prettier/issues/838.

@MichaelDeBoey No need to point out each comma; once we get the ESLint and Prettier config set the way we want it will do all of that automatically; @davidhemphill didn't make any of these changes by hand it's just the result of Prettier running with the config that was in place at the time of running it.

@adamwathan Oh I didn't know that, I'm sorry 😕
I thought he did it all by hand so...

@MichaelDeBoey Haha all good! 😊


When set -callback-url flag should have bigger priority than X-Forwarded-For header

Otherwise weird stuff happens.

Fixed in https://github.com/aerokube/moon2/pull/153.


Refactor the doYesNo middleware

Previously we always had "yes" or "no" pages in front of "amount" pages, so I wrote a pretty basic middleware that assumed this would always be the case.
Now that it is no longer the case, we have weird functions that do a bunch of copy+paste stuff and we gotta get rid of that nonsense.
Updated the doYesNo function so that it can handle nulling out more than just the "amount" variable, and it's no longer hardcoded to use the path + "/amount" url that we were assuming before.
The changes from how "doYesNo" worked before are:

we pass in an array of fields as the second parameter rather than just the "Amount" string
the redirect isn't hardcoded anymore, instead we're using the "routes" array to pick the next url to go to

Thanks @nmakuch! I'm gonna merge as-is with my eyes open etc.


fix: tx.IterateBuckets cannot iterate.

Hi, please open a issue and describe this bug, thanks. @diiyw

Hi, please open a issue and describe this bug, thanks. @diiyw

Yeah, here :  https://github.com/nutsdb/nutsdb/issues/544


Getting 0 tweets for specific person

name =
tweetCriteria = got.manager.TweetCriteria().setUsername(name).setMaxTweets(15)
tweets = got.manager.TweetManager.getTweets(tweetCriteria)
print(tweet)
for v in tweet:
    print(v.text)

i seted name ="Fujiwaraizuho", tweets don't have any value.(if not,i can get tweets.)
I tried this code on several independent environment, but i can't get his tweet.
His account is not private, so I think there is no reason this issue occur.

Possibly due to "shadowbanning", or "restricted"/"sensitive" accounts. In that case, @Jefferson-Henrique should add a function that uses Selenium for browsing timelines using user accounts with the sensitive settings turned off.

@haniokasai currently https://github.com/eddiewang/TwitterScrape and https://github.com/hridaydutta123/twitter_scraper are the best at doing this (but you need to tinker with selenium to do this).


fix(internal): Use TypeScript's built-in file watcher for SDL loader

Resolves #339
Summary
TODO

Test this on Linux and Windows
Check default options of ts.sys.watchFile that TypeScript itself uses (as default options were broken out of the box on macOS)

This switches the SDL loader over to using ts.sys.watchFile in favour of other, similar file watchers that work around some issues. Generally, there are some conditions under which the built-in file watcher in Node fails. It's suspected that swap-writing in some editors breaks the file watcher, for example.
Instead of working around this ourselves, we can use TypeScript's implementation, which implements all known workarounds and approaches, including polling fallbacks.
Set of changes

Use ts.sys.watchFile in SDL file loader's watcher

It seems that ts.sys.watchFile watchers are not unrefed. Opposite to fs.watch watcher that are created with persistent: false.
The unrefed watchers do not allow process to exit. That is fine for TypeScript language service, but that is troublesome in cases where gql.tada is used as stand alone package.

I bumped into this limitation while debugging this issue: https://github.com/tstyche/tstyche/pull/276
Reproduction repo can be found here: https://github.com/tstyche/tstyche/pull/276#issuecomment-2267647218
Not sure what could be the solution. Just wanted to draw your attention.

Generally, there are some conditions under which the built-in file watcher in Node fails. It's suspected that swap-writing in some editors breaks the file watcher, for example.

@kitten The other difference previous implementation was using the async version of fs.watch. In contrary TypeScript's watchers are wrapped around sync fs.watch. I was experimenting with both of them while implementing watch mode for TSTyche. Indeed sometimes events were missing in the async fs.watch.
I was wondering if you tried using the sync fs.watch implementation instead?


I cannot get istio gateways with the decorator controller

apiVersion: metacontroller.k8s.io/v1alpha1
kind: DecoratorController
metadata:
  name: gateway-configmap-generator-controller
spec:
  resources:
  - apiVersion: networking.istio.io/v1beta1
    resource: gateways
  hooks:
    sync:
      webhook:
        url: http://gateway-configmap-generator-controller.metacontroller/sync
        timeout: 10s

Will error:
E0201 14:53:00.360131       1 discovery.go:103] Failed to fetch discovery info: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request

I'll even add this, I have a custom deployment that just logs info:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: gateway-configmap-generator-controller
  namespace: metacontroller
spec:
  replicas: 1
  selector:
    matchLabels:
      app: gateway-configmap-generator-controller
  template:
    metadata:
      labels:
        app: gateway-configmap-generator-controller
    spec:
      containers:
      - name: controller
        image: "tiangolo/uvicorn-gunicorn-fastapi:latest"
        workingDir: /hooks
        command: ["uvicorn", "sync:app", "--reload"]
        volumeMounts:
        - name: hooks
          mountPath: /hooks
      volumes:
      - name: hooks
        configMap:
          name: gateway-configmap-generator-controller
     ```

    ```
$ cat sync.py
from typing import Optional
import logging
import typing

from fastapi import FastAPI, Request

logging.basicConfig(level=logging.DEBUG)
LOGGER = logging.getLogger(__name__)
LOGGER.info("started")

app = FastAPI()

@app.api_route("/{anything:path}", methods=["GET", "POST"])
async def catch_all(anything: str, request: Request):
    LOGGER.info({"Method": request.method,
            "URL": request.url,
            "Headers": dict(request.headers.items()),
            "Query Parameters": dict(request.query_params.items()),
            "Path Parameters": request.path_params,
            "Client": request.client.host,
            "Body": await request.body()})

I can port forward to this, and hitting it with anything works, but metacontroller never hits it.

So I was a goof for a few reasons. I'll leave this here though because I think it's helpful.
First, I wasn't listening on <IP_ADDRESS> second, I hadn't actually deployed my gate way.
apiVersion: metacontroller.k8s.io/v1alpha1
kind: DecoratorController
metadata:
name: gateway-configmap-generator-controller
spec:
resources:

apiVersion: networking.istio.io/v1beta1
resource: gateways

hooks:
sync:
webhook:
url: http://gateway-configmap-generator-controller.metacontroller/sync
timeout: 10s
apiVersion: apps/v1
kind: Deployment
metadata:
name: gateway-configmap-generator-controller
namespace: metacontroller
spec:
replicas: 1
selector:
matchLabels:
app: gateway-configmap-generator-controller
template:
metadata:
labels:
app: gateway-configmap-generator-controller
spec:
containers:
- name: controller
image: "tiangolo/uvicorn-gunicorn-fastapi:latest"
workingDir: /hooks
command: ["uvicorn", "sync:app", "--reload", "--port", "80", "--host", "<IP_ADDRESS>"]
volumeMounts:
- name: hooks
mountPath: /hooks
volumes:
- name: hooks
configMap:
name: gateway-configmap-generator-controller
apiVersion: v1
kind: Service
metadata:
name: gateway-configmap-generator-controller
namespace: metacontroller
spec:
selector:
app: gateway-configmap-generator-controller
ports:

port: 80

With that python file above though just a nice way to see whats coming in to the container


fix: check for slash atend of forward_url

We should check if the entered url is ending with a / and if so strip that as req().uri().path() starts with a /

In favor of #28


Provide more info / context for mapped properties

The properties mapped to the spine should have more information about how they "connect" to the domain being mapped. For example instead of postalCode could be Person.address → PostalAddress.postalCode.
Important to emphasize this even when property is directly connected to show that, for example name is Person.name not, say, the name of the person's employer (which could be Person.employer → Organization.name)
(Note, this could be difficult to do automatically for RDF based stds)

Important for accurate mapping. Related to #404 which is high priority.

@philbarker could you provide more details and specifics on this task?

Suggested resolution, when issue #404 is resolved so that we have path information for properties, the information card for mapped properties when both mapping and displaying results,  that is on cards for both mapped and unmapped properties on the "align and fine tune" mappings screen

and on the view of completed mappings

should include (where known / as appropriate):

[ ] the property's domain / the class that contains the property (remember only the ones relevant to the abstract class being mapped, i.e. those selected during the domain mapping stage)
[ ] the path to get to the property
[ ] the property's range / expected value type / expected value datatype

(I have some ideas about how we might better display this info in mapping result, which I will circulate for comment and add to this issue if folk agree.)
While you are at it, could you tidy up the information displayed on the mapping cards. Currently they look like this:

—for a CEDS term that came from a spread sheet in https://gopher.desm.staging.c66.me/mappings/252/align (user<EMAIL_ADDRESS>or like

—for a schema.org term from RDF/S vocab definition in https://gopher.desm.staging.c66.me/mappings/279/align (user<EMAIL_ADDRESS>Please can we make them all look as close to the second example, i.e.

[ ] no opaque URIs in place of name or ID, use what is in the uploaded file for these, and where possible shorten the URIs with namespace prefixes.

Finally on the mapping page, the origin for the properties is showing as the organization that uploaded it.

[ ] Please change the origin of properties on the spine to be the schema name and version

Here's how we would like to display the info in a mapping result:

Copying from slack conversation:
edgar: Can you help orienting us on the attribute Expected Value Type? What should be the possible options there and where do we get it?
phil: It'll be the class or datatype for values of the property, it'll come from the schema, for RDF/S it'll be the range/rangeincludes property, for JsonSchema it'll be the type property, for xml schema it'll the xsd:dataType of the element if it has a simple value or it'll be a complex type.

Let's drop the path information because in #404 we never specified how to find it. Everything I can think of ends up being Class.property and we are already displaying both Class and property.

@shlag3n Looks pretty good, definitely an improvement, thank you. On seeing the results in context, I a further request: can we separate the property name from the schema name and version. Something like
Schema: ELM Micro-Credential. Property: Expiration date
(I'm looking at https://gopher.desm.staging.c66.me/mappings-list?cp=47&abstractClass=Assertion)
I hope that's not a big ask, sorry for not thinking of it earlier.

@philbarker thank you, updated and deployed on staging (gopher).

Looks good, thank you!


Unable to use local nvd json files with dependency-check utility

I am in a corporate environment hence the dependency-check aggregate command is not working fine and error logs[1] are attached (it looks to be an upstream error). So I tried to set up the local NVD cache by downloading the nvdcve-1.1-modified.json.gz and nvdcve-1.1-modified.json files from the NVD website but still while running the dependency-check aggregate command it is pointing to the NVD website to download the metadata file. Can someone please suggest what is the issue here?
build.gradle file configuration is shown below -
plugins {
    id "org.owasp.dependencycheck" version "<IP_ADDRESS>"
}

ext.publishUser = project.hasProperty('artifactoryUser') ? project.artifactoryUser : ''
ext.publishPassword = project.hasProperty('artifactoryPassword') ? project.artifactoryPassword : ''

subprojects {
    apply plugin: "io.spring.dependency-management"

    apply plugin: "org.owasp.dependencycheck"
    dependencyCheck {
        autoUpdate = false
        cve {
            urlBase = 'C:/Users/somefolder/Downloads/nvdcve-1.1-modified.json.gz'
            urlModified = 'C:/Users/somefolder/Downloads/nvdcve-1.1-modified.json.gz'
        }
        failOnError = true
        format = 'ALL'
        outputDirectory = 'security-report'
    }
}

[1] - Error logs attached -
errorlogs.txt

also, it would be great if someone can point out how to set up the NVD mirror? or use the dependency check inside a docker image by still pointing the code on the host system and not inside image.

Even tried with the below configuration[1] but still had no luck as it still returns the below error.
Caused by: org.owasp.dependencycheck.utils.DownloadFailedException: Download failed, unable to retrieve 'https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta'; Error downloading file https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-modified.meta; unable to connect.
Gradle config[1] -
plugins {
    id "org.owasp.dependencycheck" version "<IP_ADDRESS>"
}

ext.publishUser = project.hasProperty('artifactoryUser') ? project.artifactoryUser : ''
ext.publishPassword = project.hasProperty('artifactoryPassword') ? project.artifactoryPassword : ''

subprojects {
    apply plugin: "io.spring.dependency-management"

    apply plugin: "org.owasp.dependencycheck"
    dependencyCheck {
        autoUpdate = false
        cve {
            urlBase = 'http://localhost/nvdcve-1.1-%d.json.gz'
            urlModified = 'http://localhost/nvdcve-1.1-modified.json.gz'
        }
        failOnError = true
        format = 'ALL'
        outputDirectory = 'security-report'
    }
}

docker container -

Your second config using the nvdmirror looks correct.  Are you sure that the mirror had completely copied the NVD? It takes more than a minute to fully populate the mirror.  Also, I haven't tested the nvdmirror docker image since the NVD introduced rate limiting...

I think I just figured out the issue.  I'm guessing you are running:
./gradlew dependencyCheckUpdate

And you are seeing the issue?  Either use allprojects instead of subprojects or copy the config to the parent level for the update. Also - the output directory as configured will give you fits. You need to use:
outputDirectory = "$buildDir/security-report"

Your second config using the nvdmirror looks correct. Are you sure that the mirror had completely copied the NVD? It takes more than a minute to fully populate the mirror. Also, I haven't tested the nvdmirror docker image since the NVD introduced rate limiting...

I checked inside the mirror docker container at the /tmp folder but the count of the files there is 0. Seems like the error is with the NVD docker image. Could it be? Also if I point the CVE url to the NVD mirror as in the above configuration the utility still fetching the required configuration from the actual NVD database. Let me try with other commands like check-aggregate and see if it helps? I will help update the results here.

I think I just figured out the issue. I'm guessing you are running:
./gradlew dependencyCheckUpdate

And you are seeing the issue? Either use allprojects instead of subprojects or copy the config to the parent level for the update. Also - the output directory as configured will give you fits. You need to use:
outputDirectory = "$buildDir/security-report"

Let me make this change in the configuration and see if it helps. I will update the results here.


byte format issue

line 56, in
code_bstr = b"""
AttributeError: 'bytes' object has no attribute 'format'

Works only with python 2.x


Mithrandir: Blacklist healthytipweb.com

Mithrandir requests the blacklist of the keyword healthytipweb.com. See the Metasmoke search here

Already caught by pattern-matching: http://chat.stackexchange.com/transcript/message/35323332#35323332


Hide author name and image in post?

Question
I'd like to hide the author image and name for all posts. Since it is my site/blog, it is kind of obvious that the posts were by me.
Is there a way (frontmatter? _index.md? ...?) to hide it?
I've seen other themes that support the profile: false in the front matter, but that does not seem to work for this theme.
I'm sure I can change it in my own fork of the theme, but maybe there is a simple, standard way to do it.
Thanks!

Obviously, I understand the usefulness of having the option to support multiple authors. It is just that I would prefer not to use it ;).

As far as I know, there's no option to do it. If I have time I might do it in the following days.
You could try removing the author lines inside /layours/_default/single.html
If you're stuck, you can follow this guide.

@BernatBC Thanks!
I'm pretty confident I can get it to work by disabling it altogether in my own fork of the theme, but figured there might be a simple config setting that I didn't know about. Seems there isn't, and I'll look at modifying the theme.
Thanks again.

I think it is a reasonable feature request. We can introduce a configuration option to disable the author section in post.

I'd propose to try and do it myself but I don't expect that will work out well. I can try though. I'd first need to find out how to access the front matter and then change the templating.

@BernatBC Thank you very much. Looking at the commits in the pull request, it would have taken me an awful long time to come up with something that was portable and not just a hack for my own use.


added min/max support to binned_statistic

Added support for min/max support for binned statistics.  This is related to a previous request to add this (https://github.com/scipy/scipy/pull/5119) which also included a request to improve the efficiency of the median binned statistic (which I did not do).  Min/max support seems separable from that request.

Makes sense to deal with the enhancement separately. Implementation seems OK from a quick glance, but definitely needs tests. stats/tests/test_binned_statistic.py has some examples to follow. Thanks!

I added some tests where you directed for min/max as 1d, 2d, and dd.  Let me know if you're looking for anything else!  Thanks.

LGTM. Merging, thanks @thomaspingel! Keep them coming :-).


feat: prepare for release v1.2.0

update docs for releasing 1.2.0 (readme, comp matrix, release notes)
fix the requirements versions in readme with the ones used in tests
update CI with pluto instead of deprek8n to check for deprecated API versions usage
improve wording and style in readmes
update test that was using a deprecated API version

not merging until we have the pending update to Kiali 1.44


Font size adjustable

One should be able to customize the font size. This is very important for the accessibility of the software.

I'm on it

Awesome!
Please let me know if you need any help.

Fixed via #89

Fixed via #89


Initial audio1 implementation for Unity backend.

Here's my initial audio1 implementation for Unity.
I wasn't sure how to finish off getting MusicChannel working so I've left it commented out in Backends/Unity/kha/audio1/Audio.hx for now.
On line 48 of Backends/Unity/kha/audio1/UnitySoundChannel.hx I've explicitly written the C# code including a typecast for set_volume() to avoid a compiler error about implicit conversion from double to float - is there a better way to do this from the haxe side?
In Sources/kha/audio1/AudioChannel.hx I've changed some private functions to public - I assume that's how they are supposed to be defined?
Also I'm not sure about loading the sound in the UnitySoundChannel constructor - is there a better place I could put that? I'm not totally clear on how asset loading works in Kha yet.

The AudioChannel functions should stay private. You don't call them directly, they are just here so you can write channel.length, see http://haxe.org/manual/class-field-property.html
Can you add another commit to fix that?
Don't bother about the MusicChannel, it's deprecated.
Everything else looks good.

Sorry about that, not sure what I was thinking there!

Don't worry, I'm very glad you're helping out.


Node Labeling for worker_groups and worker_groups_launch_template

Is your request related to a new offering from AWS?
No

Is your request related to a problem? Please describe.
I'm migrating an existing setup to Terraform based EKS cluster, with the help of these modules. I have a requirement to use the nodeSelector and taints for some special node schedules.
Is there any way to use the node labeles with worker_groups and worker_groups_launch_template please note that nodeGroups are not an option and I need specifically to use the worker_groups

Describe the solution you'd like.
Anything that can be fit into the Terraform code it self.

Describe alternatives you've considered.

Additional context

I need to add the specific node label and value. changing the label should be updated in my module and pipeline should update t in a launch template, manual label addition cannot be used on the node. New nodes coming from ASG should come with this node label as well.
Appreciate your valuable thoughts. Thanks!

you can achieve this by adding additional kubelet arguments in worker group definition which will overwrite default:
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/56e93d77de58f311f1d1d7051f40bf77e7b03524/locals.tf#L67

@daroga0002 Thank you for the reply and appreciate the support.
Actually,  I used it like this "--node-labels=role=infra" and nodes were not able to connect and I  found it was changed in  the 1.16 release. Thanks to your FAQ it was pointed out.
Later I  added  the labels like this and I was  able to overcome with the issue "--node-labels=my.domain.io/role=infra" (just specifying something) so now I can manage pod selectors. I think I can close  it now.


How to perform bit shift operations on mask type (such as vbool16_t) through intrinsic functions？

Hi, there!
I used a mask type vbool16_t to represent the carry bit of addition, and now I need to shift it left to propagate the carry. But I can't find the corresponding intrinsic function, not even the intrinsic function to convert vbool16_t to uint16_t.
I saw someone mentioned it, but it was in assembly code.
Rotate and shift vector mask bits
Is it necessary to add some pseudo intrinsics to achieve it?

You can use __riscv_vreinterpret_v_b16_u64m1 to cast from vbool16_t to vuint64m1_t then you can use __riscv_vsrl.

You can use __riscv_vreinterpret_v_b16_u64m1 to cast from vbool16_t to vuint64m1_t then you can use __riscv_vsrl.

Oh! I didn't notice the super vreinterpret. Thank you so much!

It works! Thanks again!


Direct kll double v2

This has been refactored to this hierarchy:
KllSketch
	public KllDoublesSketch <- polymorphic
		KllHeapDoublesSketch
		KllDirectDoublesSketch
	public KllFloatsSketch <- polymorphic
		KllHeapFloatsSketch
		KllDirectFloatsSketch

It probably needs some fine tuning, but I'd like you to take a look.

This has been refactored to this Hierarchy:
KllSketch
	public KllDoublesSketch <- polymorphic
		KllHeapDoublesSketch
		KllDirectDoublesSketch
			KllDirectCompactDoublesSketch
	public KllFloatsSketch <- polymorphic
		KllHeapFloatsSketch
		KllDirectFloatsSketch
			KllDirectCompactFloatsSketch

The LGTM is failing due to some internal issue: "[ERROR] Spawned process exited abnormally..."
Retried multiple times.  It doesn't seem to be related to this code at all.  So I'm going to ignore this error.


Action "sonar" authentication failure with token in "sonar_login" vs sonar-scanner 4.6.2

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Hello,
I'm using fastlane sonar(sonar_url: "my_url", sonar_login: "my_token") with latest sonar-scanner (4.6.2; downloaded from SonarQube) but it fails to authenticate with the Sonar server.
I tried to run sonar-scanner -Dsonar.login="my_token" directly in Terminal and got same issue.
I found that sonar-scanner -Dsonar.login="my_token" -Dsonar.password="" works as expected.
Please pass argument -Dsonar.password="" to sonnar-scanner when sonar_login is available.
Or it's better that action sonar supports sonar.password argument.
Thank you.
Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
11.4

Ruby
2.6.3

Bundler?
true

Git
git version 2.30.1 (Apple Git-130)

Installation Source
~/Documents/<my project>/vendor/bundle/ruby/2.6.0/bin/fastlane

Host
macOS 11.4 (20F71)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.5.1

Swift Version
5.4.2

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
default_platform(:ios)

platform :ios do

  lane :metrics do |args|

    scan(
      ...
    )

    slather(
      ...
    )

    swiftlint(
      ...
    )

    sonar(
      sonar_url: args[:url],
      sonar_login: args[:auth_token],
    )
  end
end

fastlane gems

Gem
Version
Update-Status

fastlane
2.187.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-appcenter
1.11.1
✅ Up-To-Date

Are you able to roll-back to 4.6.1 or earlier to verify? I don't see anything in the release notes of sonar-scanner that suggest they made any changes around that.
I can't test as this doesn't seem like it affects SonarCloud.


Support multi-submission endpoints and fix reward_shares

This is a slight rework of oracles#260 which changed querying for transactions as well and had a wider scope. The changes here are minimal and should only affect injector  service which uses submit_random and would have multiple urls configured in its settings.toml on server.

This also fixes receipt_txn module to correctly calculate the reward_shares.

Since injector is a fire and forget event it doesn't matter which client the txn gets submitted to. Furthermore its a best-effort situation.

This also removes any file_upload related src from injector, once the transactions are submitted, they appear on chain assuming they get cleared.


how to re-render when props update?

I'm trying to figure out how to update the modal after it's been displayed, like to update a price estimate value.  Right now I'm able to modal.add(myComponent, {}) to create a modal and render myComponent but I can't figure out how to update the component.  I could remove the modal and display it again with the new props but that would discard the user updates inside the modal, such as form fields.
I'm currently getting around this issue by using connect() on myComponet to link it directly to the store, but I'd prefer to use a basic component and not a redux container.  What's the best way to do this?  Maybe I should always specify a generic container for the modal and one of the options will be the actual component I want displayed?  I feel like the problem will be that the container will need to know about every property any modal will need and will pass those to every modal it displays.

Uh... this question needs a lot more context to make sense.  What modal?  What's modal.add?
For that matter, this is really a usage question, and should be asked on Stack Overflow, since it's not a bug or a feature request.
It sounds like you might want to go read Dan Abramov's description of a generic modal dialog manager in Redux.  See http://stackoverflow.com/questions/35623656/how-can-i-display-a-modal-dialog-in-redux-that-performs-asynchronous-actions/35641680 , and a couple other similar articles at https://github.com/markerikson/react-redux-links/blob/master/redux-techniques.md#ui-and-widget-implementations .

@markerikson oops, I meant submit this to a completely different project, I guess I had the wrong window open.  my bad

Gotcha.  Out of curiosity, what project?

https://github.com/diegoddox/react-redux-modal


fixed star rating for update (issue #8)

I know there is a library and I initially used that. But it was asking me to deprecate some of my local npm packages which is a hassle I didn't want to bear.


[Fixes #35] Update PyEverywhere to use JS for zooming.

FYI in the Kolibri repo, we have the checklist item that:

If this includes an internal dependency change, a link to the diff is provided

recommend doing the same here


Print metadata table above response

Model
Input tokens
Output tokens
Total cost
Maybe whether it stopped because it ran out of output tokens

Might want to put this behind a flag, or maybe only do it in the --show output.

Closed by 33db9030fdcb03e633271ec9ccc21424153abe5a


support Terasology distZip distributions

Terasology's build configuration has two tasks for building a distribution: distZip and a more customized distForLauncher.
The differences are:

By default, gradle-produced distributions have a containing folder, so when you unzip them you get Terasology-4.2.0/README instead of just README and everything else in the current directory.
gradle defaults to putting libraries in a lib subdirectory, Launcher currently expects to find them in libs (with an s).

Supporting the libs directory is particulary fiddly because that's hard-coded in gradle in a couple places, there's no configuration option for it. We could add that feature to gradle, but it seems a lot easier to change Launcher to accept the default.
If Launcher supported these defaults it would let us simplify Terasology's build configuration. At the cost of adding a little bit of code to Launcher while it is in the transition period of accepting either variant.

This could be version-based like #589, but it might be even easier to implement it as a fallback. e.g. does lib/ exist? if not, use libs/

 Launcher Fixes & Improvements

However, the game startup failed for other reasons. I'm fine with leaving that for a different PR, but don't close https://github.com/MovingBlocks/TerasologyLauncher/issues/622 until that gets fixed too.

@keturn voiced his concern in https://github.com/MovingBlocks/TerasologyLauncher/pull/638#issuecomment-901524394, but I don't understand what exactly this was about, and how I could reliably test it.
I just tried to test the current launcher code with what I believe to be the default gradle build of a Terasology distribution. Here is what I did:

create a Terasology distribution zip file by running gradlew distZip in the engine repo (on commit 5e3d63f18)
copy over the resulting file (in my case facades/PC/build/distributions//home/skaldarnar/Code/movingblocks/ts-omega/facades/PC/build/distributions/Terasology-5.3.0-SNAPSHOT.zip to the launcher's cache folder (~/.terasologylauncher/cache). I double checked that the zip file has

a top-level folder (named Terasology-5.3.0-SNAPSHOT)
a lib directory (Terasology-5.3.0-SNAPSHOT/lib/

rename the file to match the naming pattern the launcher uses, basically faking a current nightly build of the Omega distribution. I used terasology-omega-alpha-20+484-nightly.zip for this matter.
download and install the game from the launcher. this will use the fake cached zip file and extract it to the game installation directory. the extracted (i.e., installed game) still has the nested folder structure, but the launcher can deal with that just fine:.
├── alpha-20+482
│   ├── libs
│   │   ├── annotations-2.0.1.jar
│   │   ├── ...
│   │   └── TypeHandlerLibrary-5.4.0-SNAPSHOT.jar
│   ├── LICENSE
│   ├── logFileFolder_IS_UNDEFINED
│   │   └── Terasology-init.log
│   ├── modules
│   │   ├── AdditionalFruits-1.1.0-SNAPSHOT.jar
│   │   ├── ...
│   │   └── Xmas-0.1.0-SNAPSHOT.jar
│   ├── natives
│   │   ├── linux
│   │   ├── macosx
│   │   └── windows
│   ├── NOTICE
│   ├── Terasology
│   ├── Terasology.bat
│   └── VERSION
└── alpha-20+484
   └── Terasology-5.3.0-SNAPSHOT
       ├── lib
       ├── LICENSE
       ├── natives
       ├── NOTICE
       ├── Terasology
       ├── Terasology.bat
       └── VERSION

starting the game works, and it shows up as "ALPHA 20 Custom version - running from source or hand-built", indicating that the launcher is indeed running the locally built distribution. (Our official nightly builds show up as "ALPHA 20 Preview / (engine v5.4.0-SNAPSHOT, dev build 740, 2022-10-15")

Given that, I believe the part on the launcher is done, and we can switch to the default gradle build for the game distribution. The respective changes are part of https://github.com/MovingBlocks/TerasologyLauncher/releases/tag/v4.5.0.

Did you create or load a world? Is it both finding and properly executing code from its modules?

No, I did not - as I don't know how to produce any game proper game zip locally... Can we make an experimental (temporary) Jenkins job to test this (with a temporary test code line in the launcher)?


Add SUBSCRIPTION_CHANGE_REASONS const

Adds a new const to be used in the following Web-E PR: https://github.com/Expensify/Web-Expensify/pull/33904
Fixed Issues
$ Partially resolves https://github.com/Expensify/Expensify/issues/208493
Tests
Confirmed the const works as expected in the associated PR
QA
N/A

I have read the CLA Document and I hereby sign the CLA


Work on sending outgoing payments from Gigawallet.

New API:
POST /account/:foreignID/pay { "amount": "1.0", "to": "DPeTgZm7LabnmFTJkAPfADkwiKreEMmzio" }

Pays funds from an account managed by Gigawallet to a Dogecoin Address.
UTXOSource: a UTXO cache attached to the Account that fetches UTXOs from the database on demand (only local to the Account instance)
TxnBuilder: a helper to create Dogecoin Txns. Acquires UTXOs from UTXOSource in AddUTXOsUpToAmount. Also in CalculateFee, which adds a fee based on transaction size, then adds UTXOs to cover the fee if necessary (this causes a loop.)
SendFundsToAddress API: basic outgoing payment to a Doge address.
PayInvoiceFromAccount API: updated to use new TxnBuilder helper.
Encountered some problems actually signing UTXOs in MakeTransaction. It seems to need raw hex Privkey and Pubkey, but I only have Extended HD Keys in WIF (dgpv, dgub) - not sure how to convert these.
Fixed wrong query in GetAllUnreservedUTXOs.

I forgot to raise a PR for this one, it "mostly works" ran into shoals signing the transaction (which will be fixed by the new doge helpers!)

Update! Found out that the "scripthex" argument to W_sign_raw_transaction is actually the hex script from the UTXO, in the original transaction that created the UTXO. libdogecoin picks apart that script to work out how to sign the transaction input properly. This means our UTXO database needs to keep the script hex (which does come back from RPC)


[Impeller] Re-enable impeller_unittests after shader compiler errors are addressed.

These were disabled while we investigate the flakes reported in https://github.com/flutter/flutter/issues/114872.

Taking a stab at re-enbaling these. So far, we know that this issue was happening on the try-bots for a while and could not be reproduced locally or on the post-submit bots. Then it began to happen on the post submit bots as well.
So far, we have verified that the API usage is correct and instrumented with ASAN and TSAN. We think this is an issue with Metal drivers on some platforms where there is a race between device teardown and concurrent PSO construction.
If we need to gather more information on the flakes on the bots, we could try retrying on this specific failure in run_tests.py.

x-ref https://github.com/flutter/engine/pull/40339

I'm reopening this issue, we are seeing the shader compiler error again and there was a partial revert of that pr.

We are re-trying on failure and tracking in https://github.com/flutter/flutter/issues/123733.


ML- Fixed the issue with adding and removing flex container

This PR fixes #13468

Pull Request Test Coverage Report for Build 371192688

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 41.228%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/views/widgets/dashboardWidget.ts
2
92.59%

Totals

Change from base Build 369003368:
-0.002%

Covered Lines:
21756

Relevant Lines:
48429

💛  - Coveralls


[3199] Remove 1 record and update 2 others with TRN values

Context
https://trello.com/c/CizDlWU9/3199-remove-records
Changes proposed in this pull request

Data migration to remove a trainee record (no longer in DTTP) and update 2 others with TRN values

 Remove records


libYaml is not found correctly when installed in a non-standard directory

When installing through spack, libyaml is in a non standard directory and build fails

mentioned in commit 4fcbb50d6056c6069844770d6461231488066fa2

mentioned in commit 819c832604c7bd63a561eaf9e3943bcd0e54c95c

mentioned in commit 1b9705e60478c8b1d77d2e19e255e8f4c3e27fe5

mentioned in commit 9ad33603720364907c4be2498e66cdf2c25c17f5

mentioned in commit 6ccc48a657979a03b129bc3367933c9ddb559470

mentioned in commit 2dddcb6899baa926bf73563fa1a8df086e4fe0ff

mentioned in commit 1a6a1b07588cbc7043e39aa7ac0b2bc7e9d2230b

mentioned in commit 96fb66a6a6dac9d64a3ed7f49c72a774d51b6d2e

mentioned in commit afe8683b6daf817a322e4d0e4c4f16e644b3fec7

mentioned in commit 61bcffc11d68da6d454bcb929ee3743c4f9b06d9

mentioned in commit c67ec9cb455fae9d3699cc23d0bb4c9a98e84c4f

mentioned in commit 878ae3dde8d85bf0067bd5180e42fd4a46798b3b


Change Dockerfile base image

Currently the migration job(create tables to crdb) doesn't take effect.
Job logs only provide limit information: no migrations to run.
It's good to have shell access to either fleetdb or fleetdb-migration pod to investigate deeper. However, existing image gcr.io/distroless/static doesn't support shell :( https://github.com/GoogleContainerTools/distroless/blob/main/README.md
We can revert the image back in the future. However it would be helpful for us to switch to some image that allows us debugging inside the pod.

Created PR to the wrong repo.


Updates to DOI formatting

Addressing issue #66. Changes class and bibtex style files:
bibliography formatting of DOIs
footer (publication information) formatting of DOIs
to follow CrossRef DOI guidelines. No changes to the sample TeX documents were necessary.

Thanks, @dwsideriusNIST !


rofi: 1.7.3 -> 1.7.4

Description of changes

https://github.com/davatorium/rofi/releases/tag/1.7.4
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Favor #186693 (commit msg is more accurate, it's not a rofi update, but a rofi-unwrapped update)


Export hook to abstract SpeechRecognition instance creation, closes #17

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


github-action-for-generator: Error: Found non-callable @@iterator

Bug Description:
Following error occurs when generating HTML from my AsyncAPI document with the latest versions of github-action-for-generator and html-template in my GitHub Actions
[BABEL] Note: The code generator has deoptimised the styling of /node_modules/<EMAIL_ADDRESS>as it exceeds the max of 500KB.
Error: Found non-callable @@iterator

How to Reproduce
Please see source files and steps to produce as GitHub Action definition file.
Complete GitHub Action:
name: AsyncAPI documents processing
on: push
permissions:
  contents: write
jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
    #"standard step" where repo needs to be checked-out first
    - name: Checkout repo
      uses: actions/checkout@v2

    #Using another action for AsyncAPI for validation
    - name: Validating AsyncAPI document
      uses<EMAIL_ADDRESS>      with:
        filepath: docs/api/my-asyncapi.yml

    #In case you do not want to use defaults, you for example want to use different template
    - name: Generating HTML from my AsyncAPI document
      uses: docker://asyncapi/github-action-for-generator:latest  #always use latest tag as each is pushed to docker
      with:
        template: '<EMAIL_ADDRESS>#In case of template from npm, because of @ it must be in quotes
        filepath: docs/api/my-asyncapi.yml
        parameters: baseHref=/test-experiment/ sidebarOrganization=byTags #space separated list of key/values
        output: generated-html

    #Using another action that takes generated HTML and pushes it to GH Pages
    - name: Deploy GH page
      uses<EMAIL_ADDRESS>      with:
        ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        BRANCH: feature/asyncapi-integration
        FOLDER: generated-html

API Description Used:
asyncapi: 2.0.0
info:
  title: Account Service
  version: '1.0.0'
  description: |
    Manages user accounts in the system.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0

servers:
  production:
    url: mqtt://test.mosquitto.org
    protocol: mqtt
    description: Test MQTT broker

channels:
  user/signedup:
    subscribe:
      operationId: emitUserSignUpEvent
      message:
        $ref : '#/components/messages/UserSignedUp'

components:
  messages:
    UserSignedUp:
      name: userSignedUp
      title: User signed up event
      summary: Inform about a new user registration in the system
      contentType: application/json
      payload:
        $ref: '#/components/schemas/userSignedUpPayload'

  schemas:
    userSignedUpPayload:
      type: object
      properties:
        firstName:
          type: string
          description: "foo"
        lastName:
          type: string
          description: "bar"
        email:
          type: string
          format: email
          description: "baz"
        createdAt:
          type: string
          format: date-time

Please also note that error disappears when switching back to<EMAIL_ADDRESS>version.
This time blank html case occurs in the generated index.html:
`

Streetlights API 1.0.0 documentation

`

Hey there, we just released completely new version of this action, it now uses AsyncAPI CLI under the hood
please try to use docker://asyncapi/github-action-for-cli:3.0.0 and let us know if issue is still there

@derberg
I just tried to use the docker://asyncapi/github-action-for-cli:3.0.1
I get the following error:
/entrypoint.sh: line 19: $1: unbound variable
I also tried to provide "cli_version: latest" but that makes no difference.

@Shurtu-gal please have a look

@serkmen Couple of things to note :-

As this action covers a multitude of functionalities now compared to the earlier generate function. The parameters passed don't just include template params hence you have to pass an -p as shown in the README and in this file example

Please use<EMAIL_ADDRESS>as shown in GitHub Actions Marketplace.

@derberg I would be updating the README to do the same instead of docker://.
The problem with our docker image is that our GitHub is not passing any parameters to the docker image as can be seen here.
Earlier it using octokit it could pull params from context of workflow.

@Shurtu-gal best would be to enable our docker image to work as before, otherwise our action will not be very handy as it will always be delayed by the fact that image will have to be build as part of workflow run. Advantage of docker is that image is already there, so workflow run is much faster

Yeah, I was looking into how others were solving it, got an idea what to do from here

@Shurtu-gal @derberg
I switched everything to your new GitHub Action<EMAIL_ADDRESS>but the original error of this issue is still the same.
My action:
       - name: Generating HTML from CheckoutOrders AsyncAPI document
         uses<EMAIL_ADDRESS>         with:
           template: '<EMAIL_ADDRESS>           filepath: src/main/resources/asyncapi_checkoutOrders.yml
           parameters: --force-write -p baseHref=/checkout-orders-asyncapi-generated-html/ sidebarOrganization=byTags
           output: asyncapi/checkout-orders-asyncapi-generated-html

The output:
AsyncAPI CLI version: @asyncapi/cli/1.3.0 linux-x64 node-v18.19.0
Executing AsyncAPI CLI...
Debug information
Generating from AsyncAPI file...
Debug information
Executing command: asyncapi generate fromTemplate /github/workspace/src/main/resources/asyncapi_checkoutOrders.yml<EMAIL_ADDRESS>-o /github/workspace/asyncapi/checkout-orders-asyncapi-generated-html --force-write -p baseHref=/checkout-orders-asyncapi-generated-html/ sidebarOrganization=byTags
Generation in progress. Keep calm and wait a bit... done
[BABEL] Note: The code generator has deoptimised the styling of /usr/local/lib/node_modules/@asyncapi/cli/node_modules/<EMAIL_ADDRESS>as it exceeds the max of 500KB.
Generator Error: Found non-callable @@iterator

I will look into this. Can you send the AsyncAPI spec as well as workflow run? @pioneer2k

@Shurtu-gal
I am not able to send that, as the workflow run is on a GitHub repository of a private organization and the AsyncAPI spec contains confidential information.
Maybe I can provide some other information that can help?

@pioneer2k Was able to reproduce, and from what I could see its a problem with html-template.

It's working with version 0.9.0 as can be seen here
But not with 2.0.0 here

@Shurtu-gal
yes, I know. That was the reason why this issue originally was opened by @serkmen
Migration from html-template 0.28.4 (in my case) to 1.0.0 and 2.0.0 is not working.

As can be seen, the 2.0.0 version works with sidebarOrganization as byTagsNoRoot or undefined. Maybe you don't have tags at the root level.
PS:- For further info https://github.com/asyncapi/html-template/#supported-parameters

Yes, you are right. Without the parameter 'sidebarOrganization' it works for me.

This should be solved by a fix to the underlying react components: https://github.com/asyncapi/asyncapi-react/pull/885


Using DLGTEMPLATE to create dialog.

Now, WinLamb only support using a resource id to construct dialog and it's simple. However, using "DLGTEMPLATE" is a more flexible way to create dialog. Do you have any plan for it?

WinLamb is very opinionated when it comes to window creation, and making it flexible would break this philosophy.
So, no plans.


Currently no way to create a Coordinates object without indexes for 1D variables

What happened?
The workaround described in https://github.com/pydata/xarray/pull/8107#discussion_r1311214263 does not seem to work on main, meaning that I think there is currently no way to create an xr.Coordinates object without 1D variables being coerced to indexes. This means there is no way to create a Dataset object without 1D variables becoming IndexVariables being coerced to indexes.
What did you expect to happen?
I expected to at least be able to use the workaround described in https://github.com/pydata/xarray/pull/8107#discussion_r1311214263, i.e.
xr.Coordinates({'x': ('x', uarr)}, indexes={})

where uarr is an un-indexable array-like.
Minimal Complete Verifiable Example
class UnindexableArrayAPI:
    ...

class UnindexableArray:
    """
    Presents like an N-dimensional array but doesn't support changes of any kind,
    nor can it be coerced into a np.ndarray or pd.Index.
    """

    _shape: tuple[int, ...]
    _dtype: np.dtype

    def __init__(self, shape: tuple[int, ...], dtype: np.dtype) -> None:
        self._shape = shape
        self._dtype = dtype
        self.__array_namespace__ = UnindexableArrayAPI

    @property
    def dtype(self) -> np.dtype:
        return self._dtype

    @property
    def shape(self) -> tuple[int, ...]:
        return self._shape

    @property
    def ndim(self) -> int:
        return len(self.shape)

    @property
    def size(self) -> int:
        return np.prod(self.shape)

    @property
    def T(self) -> Self:
        raise NotImplementedError()

    def __repr__(self) -> str:
        return f"UnindexableArray(shape={self.shape}, dtype={self.dtype})"

    def _repr_inline_(self, max_width):
        """
        Format to a single line with at most max_width characters. Used by xarray.
        """
        return self.__repr__()

    def __getitem__(self, key, /) -> Self:
        """
        Only supports extremely limited indexing.

        I only added this method because xarray will apparently attempt to index into its lazy indexing classes even if the operation would be a no-op anyway.
        """
        from xarray.core.indexing import BasicIndexer

        if isinstance(key, BasicIndexer) and key.tuple == ((slice(None),) * self.ndim):
            # no-op
            return self
        else:
            raise NotImplementedError()

    def __array__(self) -> np.ndarray:
        raise NotImplementedError("UnindexableArrays can't be converted into numpy arrays or pandas Index objects")

uarr = UnindexableArray(shape=(3,), dtype=np.dtype('int32'))

xr.Variable(data=uarr, dims=['x'])  # works fine

xr.Coordinates({'x': ('x', uarr)}, indexes={})  # works in xarray v2023.08.0

but in versions after that it triggers the NotImplementedError in __array__:
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
Cell In[59], line 1
----> 1 xr.Coordinates({'x': ('x', uarr)}, indexes={})

File ~/Documents/Work/Code/xarray/xarray/core/coordinates.py:301, in Coordinates.__init__(self, coords, indexes)
    299 variables = {}
    300 for name, data in coords.items():
--> 301     var = as_variable(data, name=name)
    302     if var.dims == (name,) and indexes is None:
    303         index, index_vars = create_default_index_implicit(var, list(coords))

File ~/Documents/Work/Code/xarray/xarray/core/variable.py:159, in as_variable(obj, name)
    152     raise TypeError(
    153         f"Variable {name!r}: unable to convert object into a variable without an "
    154         f"explicit list of dimensions: {obj!r}"
    155     )
    157 if name is not None and name in obj.dims and obj.ndim == 1:
    158     # automatically convert the Variable into an Index
--> 159     obj = obj.to_index_variable()
    161 return obj

File ~/Documents/Work/Code/xarray/xarray/core/variable.py:572, in Variable.to_index_variable(self)
    570 def to_index_variable(self) -> IndexVariable:
    571     """Return this variable as an xarray.IndexVariable"""
--> 572     return IndexVariable(
    573         self._dims, self._data, self._attrs, encoding=self._encoding, fastpath=True
    574     )

File ~/Documents/Work/Code/xarray/xarray/core/variable.py:2642, in IndexVariable.__init__(self, dims, data, attrs, encoding, fastpath)
   2640 # Unlike in Variable, always eagerly load values into memory
   2641 if not isinstance(self._data, PandasIndexingAdapter):
-> 2642     self._data = PandasIndexingAdapter(self._data)

File ~/Documents/Work/Code/xarray/xarray/core/indexing.py:1481, in PandasIndexingAdapter.__init__(self, array, dtype)
   1478 def __init__(self, array: pd.Index, dtype: DTypeLike = None):
   1479     from xarray.core.indexes import safe_cast_to_index
-> 1481     self.array = safe_cast_to_index(array)
   1483     if dtype is None:
   1484         self._dtype = get_valid_numpy_dtype(array)

File ~/Documents/Work/Code/xarray/xarray/core/indexes.py:469, in safe_cast_to_index(array)
    459             emit_user_level_warning(
    460                 (
    461                     "`pandas.Index` does not support the `float16` dtype."
   (...)
    465                 category=DeprecationWarning,
    466             )
    467             kwargs["dtype"] = "float64"
--> 469     index = pd.Index(np.asarray(array), **kwargs)
    471 return _maybe_cast_to_cftimeindex(index)

Cell In[55], line 63, in UnindexableArray.__array__(self)
     62 def __array__(self) -> np.ndarray:
---> 63     raise NotImplementedError("UnindexableArrays can't be converted into numpy arrays or pandas Index objects")

NotImplementedError: UnindexableArrays can't be converted into numpy arrays or pandas Index objects

MVCE confirmation

[x] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[x] Complete example — the example is self-contained, including all data and the text of any traceback.
[x] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[x] New issue — a search of GitHub Issues suggests this is not a duplicate.
[x] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
No response
Anything else we need to know?
Context is #8699
Environment
Versions described above

Thanks @TomNicholas. There is a possible fix for this implemented in #8124. I've hit some general issues with the approach taken in that PR (described in the top comment) but I'm wondering if we couldn't cherry pick some of the commits there: 26fa16a36ba04d6aaf4e6ad6f4670c9b5be0a9d4 and 7741b2ab0c24960908b5a39e94e9cdcf375d5084. I'm not sure this will just work, though.
As an (ugly) workaround, xarray Variable objects can be constructed manually and then passed to xarray.Coordinates._construct_direct().

Thanks @benbovy!

xarray Variable objects can be constructed manually and then passed to xarray.Coordinates._construct_direct().

That's useful, thanks.

I'm wondering if we couldn't cherry pick some of the commits there: https://github.com/pydata/xarray/commit/26fa16a36ba04d6aaf4e6ad6f4670c9b5be0a9d4 and https://github.com/pydata/xarray/commit/7741b2ab0c24960908b5a39e94e9cdcf375d5084.

That would be great.
I'm wondering if the change inside xr.merge on this line might also fix the other problem I'm having with indexes being automatically created - see the final error in this notebook. (I can make a separate issue to track that error if that would be helpful)

I'm wondering if we couldn't cherry pick some of the commits there: https://github.com/pydata/xarray/commit/26fa16a36ba04d6aaf4e6ad6f4670c9b5be0a9d4 and https://github.com/pydata/xarray/commit/7741b2ab0c24960908b5a39e94e9cdcf375d5084.
I'm not sure this will just work, though.

I tried this in #8711 but it did not just work (yet).

I'm wondering if the change inside xr.merge on this line might also fix the other problem I'm having with indexes being automatically created - see the final error in this notebook.

Yes I think it will also fix this one.


【pigeon】Error: This project cannot run with sound null safety, because one or more project dependencies do not

When I run bash:
flutter pub run pigeon pigeons/message.dart

I get this error:
Unhandled exception:
IsolateSpawnException: Unable to spawn isolate: Error: This project cannot run with sound null safety, because one or more project dependencies do not
support null safety:

 - package:pigeon
 - package:args

Run 'pub outdated --mode=null-safety' to determine if versions of your
dependencies supporting null safety are available.
Instance of '_StringStackTrace'pub finished with exit code 255

Here is my pubspec.yaml:
dev_dependencies:
  flutter_test:
    sdk: flutter
  # Pigeon is a code generator tool to make communication between Flutter and the host platform type-safe and easier.
  pigeon: ^0.1.14

and flutter version
Flutter (Channel master, 1.24.0-8.0.pre.191
Flutter version 1.24.0-8.0.pre.191
Framework revision 281522bc87
Engine revision c5cbbb000f
Dart version 2.12.0 (build 2.12.0-31.0.dev)
----

Any suggestion is appreciation.

@gaaclarke

I will consider this as proposal since as far as I know Pigeon is not migrated to null-safety yet.

Looks like Isolate.spawnUri is spawning a null-safety isolate by default now.  Pigeon supports generating null-safe code but itself hasn't been migrated to null-safety.  I'll try to switch spawnUri otherwise I'll have to bite the bullet and migrate Pigeon.

This might still be broken.  We ran into a problem elsewhere and it seems the language annotation is in the wrong spot: https://github.com/flutter/packages/blob/6cd84e20d974614dbd473f0e00b84b2655a9cc60/packages/pigeon/bin/pigeon.dart#L37
This may have fixed running pigeon without flags, and possibly otherwise if your input file had a language annotation.  The next version of pigeon will address moving the import.  If anyone is running into this after 0.1.15 let me know, please.

Still be broken on pigeon 0.1.15
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.24.0-8.0.pre.304, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Android Studio
[✓] Android Studio (version 4.1)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
[✓] VS Code (version 1.51.1)
[✓] Connected device (1 available)

Same as @belinwu

i get the same exception message.
cc @gaaclarke

Version 0.1.16 published with a fix.  This is still a blindspot for Pigeon's CI unfortunately since it requires unstable versions of Dart.  I think it will sort itself out once NNDB hits stable.


AD FS and HSTS

The FAQ states the following with respect to "HTTP String [sic] Transport Security" support:

HTTP Strict Transport Security (HSTS) is a web security policy mechanism which helps mitigate protocol downgrade attacks and cookie hijacking for services that have both HTTP and HTTPS endpoints. It allows web servers to declare that web browsers (or other complying user agents) should only interact with it using HTTPS and never via the HTTP protocol.

All AD FS endpoints for web authentication traffic are opened exclusively over HTTPS. As a result, AD FS effectively mitigates the threats that HTTP String Transport Security policy mechanism provides (by design there is no downgrade to HTTP since there are no listeners in HTTP). In addition, AD FS prevents the cookies from being sent to another server with HTTP protocol endpoints by marking all cookies with the secure flag.

Therefore, implementing HSTS on an AD FS server is not required because it can never be downgraded. For compliance purposes, AD FS servers meet these requirements because they can never use HTTP and all cookies are marked secure.

I disagree with this answer because I feel that it neglects to consider an attacker with active MitM capabilities - where AD FS not listening on port 80 is irrelevant (and it's probably a bad idea anyway). Consider the following scenario:

Attacker is able to intercept and respond to traffic on the network.
Attacker uses something like sslstrip to coerce the victim's browser into requesting the AD FS URL in plaintext (maybe the victim visits an application over http: which redirects to AD FS for auth).
Attacker intercepts the response and switches the redirect to use http. There's no HSTS so the browser happily tries to connect using port 80.
Attacker proxies requests from AD FS using port 443, stripping Secure flag on any Set-Cookie headers.
Credentials are captured.

Is there anything I have missed which would mitigate this sort of attack?

We will close this issue now.  Please reopen if you would like additional follow-up.

We will close this issue now. Please reopen if you would like additional follow-up.

Issue has not been addressed, nor can I re-open a closed issue myself. I don't see why you've closed it.
The page here https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/operations/customize-http-security-headers-ad-fs still misses the point and erroneously states:

As a result, AD FS effectively mitigates the threats that HTTP Strict Transport Security policy mechanism provides (by default there is no downgrade to HTTP since there are no listeners in HTTP).

This was incorrect in 2017, and it's still incorrect today. The threat isn't mitigated by having no HTTP listeners, since the whole point is to protect against an active MitM (which can respond to the SYN on port 80!).
Maybe it would be easier if I just opened a PR?


use context.GetLogger to replace logrus in listener

Signed-off-by: yuzou<EMAIL_ADDRESS>

Current coverage is 51.23%

Merging #1635 into master will decrease coverage by -6.69% as of f2686b8

@@            master   #1635   diff @@
======================================
  Files          122     122
  Stmts        10683   10683
  Branches       839     747    -92
  Methods          0       0
======================================
- Hit           6188    5473   -715
+ Partial        839     747    -92
- Missed        3656    4463   +807

Review entire Coverage Diff as of f2686b8

Uncovered Suggestions

+0.30% via .../driver/s3-aws/s3.go#732...763
+0.28% via .../driver/s3-aws/s3.go#268...297
+0.21% via .../driver/s3-aws/s3.go#884...906
See 7 more...

Powered by Codecov. Updated on successful CI builds.

LGTM

Dear maintainers,
Please help to check this change and welcome your suggestions. Thanks.


[WIP] Dynamic subgraph property

Description
Initial PR for supporting dynamic loading of subgraph properties from libraries. This PR builds on the previous work for dynamic library loading (#15760), partition API enhancements (#15886), and dynamic custom operators (#15921). It enables partitioning a model using a partitioning scheme loaded from an external library.
The model's symbolic graph is analyzed at bind time to determine which operators should be partitioned into a subgraph. Then this info is kept in a custom SubgraphProperty class instance until partition time. Then the custom SubgraphProperty uses this info to guide partitioning of the model and insert the custom subgraph operator specified in the external library.
At runtime, the operators in the model will be executed normally, including the custom subgraph operator. At this time, the subgraph can be executed by the external library just like any regular operator. This provides an interface for parts of the model to be executed on custom accelerators without any change to MXNet's source code (specifically for each accelerator).
Design
Rather than provide a pure subgraph property interface to external libraries, we will provide a single API function that the user will implement to control the partitioning. The whole symbolic graph will be provided to the user -- post infer type & infer shape -- to analyze and determine which ops they want to include in subgraphs. They will return the node ID for each node in the graph that is supported. In this PR we implement a fixed custom SubgraphProperty in MXNet that will interface between the current Subgraph API and this streamlined "supportedOps" API in the external library.
Heres an end-to-end overview, starting at the Python users' end. First, a user will load their custom library containing a custom subgraph operator and the implemented "supportedOps" API.
mx.library.load(path)

Then they will call the "optimize_for" API (from #15886) that will use the custom subgraph property to partition the graph. The name here is the name the user specified when registering their "supportedOps" function in the external library.
part_sym = sym.optimize_for("myProp")

This will then call the SubgraphProperty's "PrePartition" API and pass the whole model graph (post infer type/shape) to the custom subgraph backend/property.
https://github.com/apache/incubator-mxnet/blob/61013a8bf9ef8a7b79d684504df1b321b1efb8d8/src/c_api/c_api_symbolic.cc#L1305
In the custom subgraph property's "PrePartition" API, it will call the "supportedOps" API registered in the external library
int retval = callSupportedOps_(supportedOps_, json, num_ids, ids);

Then the "supportedOps" API in the external library will be called. The symbol json string will be given as input, and any node that is supported by the external library will be set in a list of node IDs.
MXReturnValue mySupportedOps(std::string json,
                             const int num_ids,
                             int *ids) {
  return MX_SUCCESS;
}

Then in the "PrePartition" function, these node IDs will be converted back into node names:
for(int i=0; i<num_ids; i++) {
      if(supportedNodeIDs[i]) {
        supportedNodes.push_back(idx[i].source->attrs.name);
        std::cout << idx[i].source->attrs.name << std::endl;
      }
    }

The supportedNodes vector is passed when creating the SubgraphSelector:
virtual SubgraphSelectorPtr CreateSubgraphSelector() const {
    return std::make_shared<CustomContainOpSelector>(supportedNodes);
  }

And then in the SubgraphSelector "Select" function is used to check if a given node should be included in the subgraph:
virtual bool Select(const nnvm::Node &n) {
    return std::find(supportedNodes_.begin(), supportedNodes_.end(), n.attrs.name) != supportedNodes_.end();
  }

Finally, after the subgraph is created the operator used is the one specified by the user for their custom subgraph operator:
virtual nnvm::NodePtr CreateSubgraphNode(const nnvm::Symbol &sym,
                                           const int subgraph_id = 0) const {
    nnvm::NodePtr n = nnvm::Node::Create();
    n->attrs.op = Op::Get(subgraph_op_name);
    n->attrs.name = "_op" + std::to_string(subgraph_id);
    n->attrs.subgraphs.push_back(std::make_shared<nnvm::Symbol>(sym));
    return n;
  }

At runtime, the regular user operator is called resulting in the execution of the custom operator for the subgraph that was partitioned.
Users register their partitioning strategy using the following API where they specify the name of their subgraphBackend (and subgraphProperty), the supportedOps function, and the name of the custom operator they want inserted for each subgraph created:
REGISTER_PARTITIONER(myProp)
.setSupportedOps(mySupportedOps)
.setSubgraphOp("_custom_subgraph_op");

Checklist
Essentials

[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mseth10 @rondogency @szha @ptrendx @PatricZhao @TaoLv @ZhennanQin Initial PoC is working, would be great to get some early feedback before we go too far down the wrong road.
Some more things todo:

Support multiple supportOps functions grouped together. Similar to how subgraphProperties are grouped into subgraphBackends
Annotate the symbol json string with shape/type info from the graph object
Implement working example that computes real output values to compare to non-partitioned model execution
Add test to unittests to build library in the CI and test

@samskalicky  Thanks for providing such convenient API to integrate external subgraph libraries. Basically, I agree with the design on API. Here's some questions that not mentioned in your PR description:

Can we support implicit using external backends by setting some env variables? That is, can we use  export MXNET_SUBGRAPH_BACKEND=myProp to enable it without changing scripts?
How to decide which subgraph backends should be integrated as external libraries? For example, we've had MKLDNN and TensorRT as mxnet native supported subgraph backends, what's the next plan for them? And, if we want to add more subgraph backends in future, have it to be integrated as external libraries? What's the release management / policy for such external subgraph backends?

Can we support implicit using external backends by setting some env variables? That is, can we use  export MXNET_SUBGRAPH_BACKEND=myProp to enable it without changing scripts?

Sure, but I would like to do that as part of a separate PR. I want to have another PR with a set of usability enhancements for external libraries:

Load libraries that are found as siblings next to libmxnet.so/dll. This will allow us to package external libraries into the pip wheel (ie. MKLDNN, TensorRT)
Load libraries that are specified in an environment variable like MXNET_EXT_LIBS=/path/to/libmylib.so
(your suggestion) Apply subgraphBackend during bind when specified by an environment variable like MXNET_SUBGRAPH_BACKEND=myProp

How to decide which subgraph backends should be integrated as external libraries? For example, we've had MKLDNN and TensorRT as mxnet native supported subgraph backends, what's the next plan for them? And, if we want to add more subgraph backends in future, have it to be integrated as external libraries? What's the release management / policy for such external subgraph backends?

I think there are a lot of reasons that it would be good to make MKLDNN and TensorRT external libraries, most important of which would be to let the Intel/Nvidia teams move faster by not being tied down to releases. It would also speed development since compilation would not include all of MXNet, just the library pieces. We can also host external libraries in a bucket and have an API to download/install them (like mx.test_utils.download()) then users can pull the latest library whenever there is a new version and dont have to wait for the next MXNet release.
But im not looking to pressure anyone to do this now. When the time is right it will make sense to do it. :-)

Thanks for the feedback @TaoLv !

Thanks for the feedback @rondogency!

@mxnet-label-bot add [pr-awaiting-review]

Hey @pengzhao-intel @ZhennanQin @TaoLv @ptrendx @szha this PR is complete and ready for review. Would really appreciate your feedback. Thanks and Happy New Year!

Reviewed recent changes to allow library to add attributes to subgraph. Looks good to me.

Thanks for the review @eric-haibin-lin! ive made changes based on your feedback, updated the PR description with "Next Steps" for some todo items you suggested.

You might want to have github issues or project to track the todos and the progress of this project.

Thanks @TaoLv I created this issue: #17236

@mxnet-label-bot update [pr-awaiting-merge]

apologies @eric-haibin-lin my mistake on the comments. Thanks for the suggestions, ive gone through and changed the variable names to use the underscore format in the custom_subgraph_property.h file.

Hi @samskalicky , is it ready to merge this PR?

@wkcn ready to go!

Merged. Thank you!


Hide from the dock and add context menu

I believe that the app shouldn't appear on the dock and on the application switcher, like other apps of this kind. Besides that, it would be good to have a Context Menu on the Tray to provide a couple options like toggle and quit. Have you already discussed this?
I implemented this in my fork, if you want to take a look.

@akz92 Those are great commits. Can you send a PR for them?

Sure!


Introduce TabBar.textScaler for tab label upper text scale limit

fixes Tab is hardcoding the height of the icons and the text
Description
This PR introduces TabBar.textScaler to provide upper text scale limit for tab label.
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MediaQuery(
        data: const MediaQueryData(textScaler: TextScaler.linear(3.0)),
        child: DefaultTabController(
          length: 3,
          child: Scaffold(
            appBar: AppBar(
              title: const Text('Sample'),
              bottom: const TabBar(
                textScaler: TextScaler.linear(2.0),
                tabs: <Widget>[
                  Tab(text: 'Tab 1'),
                  Tab(text: 'Tab 2'),
                  Tab(text: 'Tab 3'),
                ],
              ),
            ),
            floatingActionButton: Builder(builder: (BuildContext context) {
              return FloatingActionButton(
                onPressed: () {
                  print(MediaQuery.textScalerOf(context));
                },
                child: const Icon(Icons.add),
              );
            }),
          ),
        ),
      ),
    );
  }
}

Without TabBar.textScaler

With TabBar.textScaler
              bottom: const TabBar(
                textScaler: TextScaler.linear(2.0),
                tabs: <Widget>[
                  Tab(text: 'Tab 1'),
                  Tab(text: 'Tab 2'),
                  Tab(text: 'Tab 3'),
                ],
              ),

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I checked the Google testing failures, and they appear to be legitimate, There are existing customers that expect to be able to create the before image in this PR.
@TahaTesser maybe there is a way we can make this opt-in?

Added TabBar.textScaler which can override the text scale for tab label, optionally This ensures the existing tests are not effect. EditableText and SelectableText also contain similar way to override their text scale.
Updated the PR and description as well. Please let me know what do you think.

@Piinks Thanks for review! Rebasing just in case. :)