Not using Podfile on xcode 8 and switf 3

My Podfile:
platform :ios, '8.0'
use_frameworks!
target 'RepeatAgain' do
pod 'DKImagePickerController'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
But when I try open RepeatAgain.xcworkspace, I get error:

I try convert my project to switf3. I get error:

I try to re-install cocosPod to new version, or old version.. I hot fixed on code, but I can't fixed it.
can you help me?

Try this:
pod 'DKImagePickerController', :git => 'https://github.com/zhangao0086/DKImagePickerController.git', :branch => 'master'

Thanks @zhangao0086. I fixed it.
Tell me why the reason I get this bug?

Also https://github.com/zhangao0086/DKImagePickerController/issues/201


Enhancement: Show scored ELO per match for each player

It would be nice to see the number of ELO points scored after the match.

I was thinking about a design for a dashboard that shows some statistics on a current game or the recently played one(s). We should have an idea what to put on this dashboard.


List of interpreters that would be nice to have

Interpreter for Discord, using something like the following:

Interpreter for Godot.
Interpreter for Unity.


Crashes when baking Lightmap on unsaved Scene with only LightmapGi Node

Godot version
4.0 Stable
System information
Windows 11, Nvidia RTX 3070ti, Ryzen 2600. Driver Version: 531.18, Vulkan
Issue description
Baking a Lightmap on a Scene that isn't Saved and only has the LightmapGi node itself inside crashes the editor.
I'm not sure how to provide Error Logs, because I don't know where to find them.
(There aren't any log files in C:\Users\USERNAME\AppData\Roaming\Godot\app_userdata\projectTest, I'm not sure if the crash logs are saved there though.)
Steps to reproduce
1: Open a new Scene that is using the LightmapGi as the Base Node (don't save the Scene!)
2: Press the "Bake Lightmaps" button
3: Editor crashes.
Minimal reproduction project
N/A

When trying to bake lightmaps in a scene that wasn't saved yet, I get this dialog:

This is a bit out of topic, but how do I find those Crash Logs?
Would be good to know, for next time, when I open a new Issue. @Calinou


Second Sonar Build

When having 2 sonar build steps inside the same build configuration, the second build step does not run sonar with the specified connection parameters, so sonar uses the default h2 database connection (which might not work).

It tries also to use the default sonarqube server : 'localhost:9000' even if I'm specifying the path to my sonar server !

Yes, it doesn't use any values from the connection parameters.

Could you please describe why do you need to run sonar analysis twicely?

For example when I want to run the analysis for multiple profiles (which means multiple projects in Sonar).

Fixed. Please update the plugin - https://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build/431355:id/sonar-plugin.zip


kubeadm join check download file exist

Signed-off-by: huiwq1990<EMAIL_ADDRESS>
What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@huiwq1990 please fix the golangci-lint errors.

/lgtm
/approve


Module errors when importing

I have the page below rendering a stack trace that appears to be related to the required modules not loading in.
Uncaught TypeError: Cannot read property '0' of undefined
import React from 'react';
import ReactDOM from 'react-dom';
import {Router, Route} from 'react-router';
import createHistory from 'history/lib/createHistory';

// Import the pages
import * as HomePage from '../pages/home_page';
import * as UserPage from '../pages/user_page';
import * as WidgetPage from '../pages/widget_page';

// A wrapper to create a Relay container
function createPageContainer(Component, props) {
    if (Relay.isContainer(Component)) {
        // Construct the RelayQueryConfig from the route and the router props.
        var {name, queries} = props.route;
        var {params} = props;
        return (
            <Relay.RootContainer
                Component={Component}
                renderFetched={(data) => <Component {...props} {...data} />}
                route={{name, params, queries}}
            />
        );
    } else {
        return <Component {...props}/>;
    }
}

export default function(){
    ReactDOM.render(
        <Router
            createElement={createPageContainer}
            history={ createHistory() }>
            <Route>
                <Route
                    name="widget"
                    path="/widget/:id"
                    component={WidgetPage.RelayContainer}
                    queries={WidgetPage.Queries}
                />
            </Route>
        </Router>,
        document.getElementById('root')
    );
}

The babel/browserify compiled code where the stack trace links to is:
// ...
function readState(key) {
  var json = window.sessionStorage.getItem(createKey(key));

  if (json) {
    try {
      return JSON.parse(json);
    } catch (error) {
      // Ignore invalid JSON.
    }
  }

  return null;
}
},{"warning":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/warning/browser.js"}],"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/DOMUtils.js":[function(require,module,exports){
arguments[4]["/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/history/lib/DOMUtils.js"][0].apply(exports,arguments)
},{}],"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/ExecutionEnvironment.js":[function(require,module,exports){
arguments[4]["/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/history/lib/ExecutionEnvironment.js"][0].apply(exports,arguments)
},{}],"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/createDOMHistory.js":[function(require,module,exports){
arguments[4]["/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/history/lib/createDOMHistory.js"][0].apply(exports,arguments)
},{"./DOMUtils":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/DOMUtils.js","./ExecutionEnvironment":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/ExecutionEnvironment.js","./createHistory":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/createHistory.js","invariant":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/invariant/browser.js"}],"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/createHashHistory.js":[function(require,module,exports){
arguments[4]["/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/history/lib/createHashHistory.js"][0].apply(exports,arguments)
},{"./Actions":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/Actions.js","./DOMStateStorage":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/DOMStateStorage.js","./DOMUtils":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/DOMUtils.js","./ExecutionEnvironment":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/ExecutionEnvironment.js","./createDOMHistory":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/createDOMHistory.js","invariant":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/invariant/browser.js","warning":"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/warning/browser.js"}],"/Users/jwaldrip/dev/src/github.com/brandfolder/relay-on-rails/node_modules/react-router/node_modules/history/lib/createHistory.js":[function(require,module,exports){
'use strict';
//...

You're doing something really weird there with your history imports. createHistory isn't something you can use directly as far as I'm aware (and you shouldn't be doing so in this context), and you're also not doing anything with that import anyway.
If you want to use React Router and Relay without react-router-relay, try working off @cpojer's example (note fork/branch): https://github.com/cpojer/relay-starter-kit/tree/react-router-example.

I get an error when trying to use that example too. As far as I can tell react-router doesnt have the file: ''react-router/lib/BrowserHistory' anymore.

Yeah - it's a bit old, but you should be able to get things working with the exact specified versions, then update it to the current release. Otherwise I don't think we can really support custom Relay integrations.

The issue here is not relay AFAIK. I am stuck on the history piece, thats all, the relay stuff is a non issue at this point.

Try using an actual history. Can you provide the actual browser stack trace?

Instead of
import createHistory from 'history/lib/createHistory';

shouldn't you be using
import createHistory from 'history/lib/createBrowserHistory';

?
I know it's somewhat confusing—maybe we should just rename createHistory to something like createAbstractHistory or whatever just so people stop importing it by mistake. createHashHistory() and createBrowserHistory() are compatible with React Router, but createHistory() is low-level and isn't meant for use with it.
cc @mjackson

Are people importing it by mistake? I tried to keep it out of the docs. The
idea was that whatever create function you use, you will just import it as
createHistory.
import createHistory from 'history'
import createHistory from 'history/lib/createHashHistory'
On Wed, Oct 21, 2015 at 6:55 PM Dan Abramov<EMAIL_ADDRESS>wrote:

Instead of
import createHistory from 'history/lib/createHistory';
shouldn't you be using
import createHistory from 'history/lib/createBrowserHistory';
?
I know it's somewhat confusing—maybe we should just rename createHistory
to something like createAbstractHistory or whatever just so people stop
importing it by mistake. createHashHistory() and createBrowserHistory()
are compatible with React Router, but createHistory() is low-level and
isn't meant for use with it.
cc @mjackson https://github.com/mjackson
—
Reply to this email directly or view it on GitHub
https://github.com/rackt/history/issues/106#issuecomment-150047424.


Does this simulator has the property of time-delay?

I'm interested in whether this simulator is time-delayed or not? In the provided gym environment, if the patient was injected with certain amount of insulin, would this affect the patient's subcutaneous glucose (or obs) in the following few env steps, other than just next step?

Yes, it is time-delayed. The dynamics are defined here https://github.com/jxx123/simglucose/blob/master/simglucose/patient/t1dpatient.py#L119-L208 The ODE follows the UVa/Padova Simulator, which models the insulin delay effect.


Doesn't work with files on the local filesystem

I tried to open a local json file with file:///path/to/object.json . However the extension doesn't seem to parse it. I searched for a similar issue, but was suprised to not find one.

Hi @drocsid thanks for the issue, usually you have to give the extension permission for local files. Can you check issue #10 for more information, you didn't found any other issue related due to different titles.
Thanks!

@tulios Thanks. Maybe put a mention of this on the README?


WEBPACK_UPDATE.md recommends deleting config/karma-test-shim.js

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OSX El Capitan

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
silveir@US3430NB:~/Projects/dlabs/wpack
v6.2.1
$ npm --version
3.10.6

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

Follow these instructions to install angular-cli@webpack
Use IntelliJ to perform a safe delete of ./config/karma-test-shim.js, as per angular-cli@webpack installation instructions
Observed that IntelliJ finds a reference to ./config/karma-test-shim.js in ./config/karma.conf.js
If this is a safe delete, then the installation should have updated ./config/karma.conf.js to remove the reference.

The log given by the failure. Normally this include a stack trace and some
more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

A mistake, the suggested observed behavior does not happen. My apologies


Add my_film cmd and little improvements

Fix https://github.com/GeorgeS1995/moscow-movie-night-bot/issues/1 too


feature: Password Recovery via Email

I cannot see any way to configure password recovery. Yet tantalisingly it seems to be an option in the Portal (I've tried it).
Password Recovery Failed
Password recovery failed. Please retry.
I can't see any documentation on this...does it only work with some other type of backend, or not at all?

I can't see any documentation on this...does it only work with some other type of backend, or not at all?

@tetricky, thank you for the question! 👍
The "Password Recovery" as a link exists, but the functionality does not. Why not? Initially I thought that resetting password or MFA is insecure to do via email. Now, as this project matures I think it might be the time to add it as a feature. (side note, the password reset via email is related to email as MFA #96 and iOS app auth #223; all of them have a form of one-time password)
Option 1: Redirect to instructions
In the meantime, you could do the following. Say you are running the form the root of the path, i.e. the login page is https://auth.myfiosgateway.com/login.
auth.myfiosgateway.com {
    ...
  route {
    authp {
      ...
      password_recovery_enabled yes
      ...

The "Forgot Password" link points to https://auth.myfiosgateway.com/forgot

Next, create a route that would handle the /forgot and redirect users to the instructions on how to reset a password, e.g. call or open helpdesk tickets, etc.
auth.myfiosgateway.com {
  ...
  route /forgot* {
    # respond "password recovery procedure"
    redir https://auth.myfiosgateway.com/docs/howto
  }
  route {
    authp {
      ...
      password_recovery_enabled yes
      ...

Option 2: Reset password manually
Locate the local database file, e.g. users.json:
backend local /home/greenpau/.local/caddy/users.json local

In the file, locate the user you want to reset a password for, e.g. webadmin.
The password you are looking for is whether disabled is NOT set to true.

Next, use bcrypt to generate a new hash manually. See here
Finally, modify hash field to the newly generated password hash.

Brilliant. That points me in the right direction. I'll use a redirect to frame a workflow for triggering a password reset (even if it's just me manually doing something).
Thanks for that.

Similarly when a user is registering I'm sure I saw something about receiving an email...which doesn't happen, and will never happen without some setup. Is this in the same category?

@tetricky , you would need to modify the register template. See https://youtu.be/20XOn-RBIX0 for the instructions on how to customize UI. In the video, the instructions are about login.template. You would need to do the same for register.template.

Is this in the same category? It would perhaps be better to not have a stub that promises something, but doesn't deliver....alternatively I'd be curious about how to make it happen!

@tetricky , it is a feature, i.e. SMTP to complete registration. I will try finding type to work on it.
In the meantime 😄 ... You can copy the user from registration.json to user.json.

....there's a lot of good stuff here. for my needs it integrates lovely with caddy, and negates the need for me to run keycloak or some such...which saves me a lot of resource.
I think my  personal 'would like to have' is password recovery based on email, and I get the requests for registration transfer to users...but if I'm going to have to manually intervene, the form of that isn't critical to me (although easier better - subject to security).

'would like to have' is password recovery based on email, and I get the requests for registration transfer to users

let’s keep it open as a feature request.

Appreciated....though obviously if there's a password recovery by email, I'm going to need a change email (like change password). It's a can of worms...

It's a can of worms...

@tetricky, I am glad you appreciate the challenges I have 😄 🤣

@tetricky , please reopen in github.com/greenpau/caddy-security if this is still relevant for you. Please consider sponsoring the work on the project! 👍


LaunchTemplateBlockDeviceMappingEbs.encrypted has incorrect type

What happened?
In the interface LaunchTemplateBlockDeviceMappingEbs, the property encrypted  (currently a pulumi.Input<string>) should be pulumi.Input<boolean>.
This would also match the interfaces InstanceRootBlockDevice and InstanceEbsBlockDevice.
deleteOnTermination has also the same issue.
This may be related to the upstream provider:

https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/ec2/ec2_launch_template.go#L57-L76
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/ec2/ec2_launch_template_data_source.go#L44-L51

Seems similar to #1281
Steps to reproduce
n/a
Expected Behavior

the inputs mentioned above are boolean.

Actual Behavior

the inputs above are string.

Output of pulumi about
CLI
Version      3.49.0
Go Version   go1.19.3
Go Compiler  gc

Host
OS       debian
Version  11.5
Arch     x86_64

Backend
Name           pulumi.com
URL            https://app.pulumi.com/aureq
User           aureq
Organizations  aureq, team-ce, menfin, menfin-team, demo, pulumi

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Other affected properties

ebsOptimized
deleteOnTermination (x2)
associatePublicIpAddress

Overall, this resource is confusing because some booleans are strings and others are actual booleans. For the former, the documentation isn't explicit enough to provider a great developer experience.

Thanks @aureq for the lucid bug report ✋ I agree this is a confusing state of affairs. I changed it to kind/enhancement to reflect that it's basically workable as it is, just something that could be much clearer.
It looks like the same underlying problem as #1281 to me, too -- the Terraform spec types these fields as strings, so they can be unspecified rather than defaulting to false, and Pulumi codegen takes this at face value.

@squaremo Is this really an enhancement? Because when writing policies (as in, policy-as-code), the experience is at best cumbersome since there's no boolean and truthy operations don't work either.
I agree though the problem originate from upstream, but I feel we should try to address this within our own codegen/sdks to provide a better experience than what upstream provides.

Is this really an enhancement?

It's arguable either way, and for most purposes it doesn't really matter. But for the record, I'm working to this rough definition: a bug is when something doesn't work as specified. My reading here is that it works as specified, but how it's specified is awkward to use.

@squaremo when using this with Typescript, in both cases it complains.
When using with a string
blockDeviceMappings: [{
    deviceName: '/dev/sda1',
    ebs: {
      deleteOnTermination: 'true',
      encrypted: 'true',
      volumeType: 'gp3'
    }
  }],

Result:
❯ pulumi up
Previewing update (<customer>/dev)

View Live: https://app.pulumi.com/<customer>/<customer>/dev/previews/26856fd1-b35b-4992-8c04-4471dcfa7df1

     Type                       Name                 Plan     Info
     pulumi:pulumi:Stack        <customer>-dev           12 messages
     └─ aws:ec2:LaunchTemplate <customer>-proxy               1 error

Diagnostics:
  aws:ec2:LaunchTemplate (<customer>-proxy):
    error: aws:ec2/launchTemplate:LaunchTemplate resource '<customer>-proxy' has a problem: Expected Object Type: Expected object, got string. Examine values at 'LaunchTemplate.IamInstanceProfile'.

  pulumi:pulumi:Stack (<customer>-proxy-dev):
    error: [runtime] Running program '/Users/ali/code/<customer>/infrastructure/<customer>-proxy' failed with an unhandled exception:
    Error: failed to register new resource default-vpc [awsx:ec2:DefaultVpc]: Resource monitor is terminating
        at Object.registerResource (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/@pulumi/runtime/resource.ts:339:27)
        at new Resource (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/@pulumi/resource.ts:398:13)
        at new ComponentResource (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/@pulumi/resource.ts:891:9)
        at new DefaultVpc (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/@pulumi/ec2/defaultVpc.ts:52:9)
        at Object.<anonymous> (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/index.ts:11:20)
        at Module._compile (node:internal/modules/cjs/loader:1218:14)
        at Module.m._compile (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/ts-node/src/index.ts:439:23)
        at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
        at Object.require.extensions.<computed> [as .ts] (/Users/ali/code/<customer>/infrastructure/<customer>-proxy/node_modules/ts-node/src/index.ts:442:12)
        at Module.load (node:internal/modules/cjs/loader:1081:32)

When using with a boolean
blockDeviceMappings: [{
    deviceName: '/dev/sda1',
    ebs: {
      deleteOnTermination: true,
      encrypted: true,
      volumeType: 'gp3'
    }
  }],
❯ pulumi up
Previewing update (<customer>/dev)

View Live: https://app.pulumi.com/<customer>/<customer>-proxy/dev/previews/5f5f37c5-800c-4865-ab87-ab4b565a283f

     Type                 Name                 Plan     Info
     pulumi:pulumi:Stack  <customer>-proxy-dev           1 error

Diagnostics:
  pulumi:pulumi:Stack (<customer>-proxy-dev):
    error: Running program '/Users/ali/code/<customer>/infrastructure/<customer>-proxy' failed with an unhandled exception:
    TSError: ⨯ Unable to compile TypeScript:
    index.ts(140,7): error TS2322: Type 'true' is not assignable to type 'string | Promise<string> | OutputInstance<string> | undefined'.
    index.ts(141,7): error TS2322: Type 'true' is not assignable to type 'string | Promise<string> | OutputInstance<string> | undefined'.

So I don't consider this to be an enhancement.

It appears the error is originating from the following 2 locations:

https://github.com/pulumi/pulumi-terraform-bridge/blob/6dbd650bf8bbff7f393a49923a99ceee932918a8/pkg/tfbridge/provider.go#L629
https://github.com/pulumi/terraform-plugin-sdk/blob/23001ad6ec03/helper/schema/schema.go#L2160

This is most likely being caused by a difference in how the bridge applies transformations and validation compared to the reference implementation. This will likely need to be reproduced in the bridge and addressed there.

Thanks for the follows-up @ringods and @danielrbradley. Should we move this to the bridge repo, or report it there and link to it as an upstream issue?


Initial flake builder

Initial proposal for a flake builder utility
Major Missing features:

build directly from package
infer variables from config/package
multiple pilot symlinks

To build run with --template jflake-ctl/flake-ctl-buikd-debbuild/templates or copy the contents of that folder to /usr/share/flakes/package/debbuild


Nav transition promises hard to find

I have noticed that even though we have this section of the docs we still seem to get alot of issues about users trying to do multiple transitions/navigations without using promises. I think the issue may be that you have to dig through the api docs a little to find this, although it should definitely be in the api docs and not the component docs. Therefore, one of our users had the idea of adding something about using the nav transition promises into the FAQ section of the docs.

related: https://github.com/driftyco/ionic/issues/7543 , https://github.com/driftyco/ionic/issues/7554

The NavController API docs state in the section Asynchronous Nav Transitions that chaining navigation promises is a "best practice", which seems a bit misleading, because currently it is necessary to chain them or the app will break.


Converted JSON lib from org.json to com.google.gson

The proper fix to issue #4.
Incremented version to 1.0.1
Added min java version 1.7 to pom to fix maven compilation issues and to align with min java requirements for selenium-server-standalone 2.53.0

Can you please make it work for selenium 3.4.0 ? Lots of code have been modified. for eg:  p.put(eachProxy.getOriginalRegistrationRequest().getAssociatedJSON()); in AllProxiesJsonServlet.java file has been deleted. Any suggestion will be highly appreciated.


Unreal swarm support?

Just wondering if you guys have ever considered adding support for distributed local computation (for unreal engine users) through unreal swarm, since apparently, the system is work agnostic.

@TirushOne Yes, Unreal Swarm is something that we did look into about a year ago.  If we do support a distributed local computation system, we are considering using Incredibuild or FASTBuild as alternatives to Unreal Swarm since those work distribution systems will work outside of the Unreal environment.  Having said that, we haven't been able to focus attention on building this infrastructure yet.


Unpin tiles from stat menu does not work

Downloaded installer using iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
C:\Temp\Windows10Debloater exists. Skipping.
Transcript started, output file is C:\Temp\Windows10Debloater\PowerShell_transcript.DESKTOP-AG2KNCL.1esoVeSs.20210125142851.txt
Unpinning all tiles from the start menu
Unpinning all tiles from the start menu
While all the other feature work , the unpinning tiles feature hangs as above. On one instance explorer.exe was killed and had to be restarted.
Windows 10 OS Build 18363.1316
Start time:<PHONE_NUMBER>2851
Username: DESKTOP-A\work
RunAs User: DESKTOP-A\work
Configuration Name:
Machine: DESKTOP-A(Microsoft Windows NT 10.0.18363.0)
Host Application: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
Process ID: 22336
PSVersion: 5.1.18362.1171
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.18362.1171
BuildVersion: 10.0.18362.1171
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: <IP_ADDRESS>

Same here.

same here

I believe the code to unpin tiles has been outdated at this point and does not work as expected. I will work to find a fix for this.
Sent from my iPhone

On Feb 13, 2021, at 6:55 PM, aliazhar<EMAIL_ADDRESS>wrote:

same here
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Major refactor to better fit the format of a Python package

Arrange classes and functions into submodules to match other ML platforms, and add entry points for other programs and CLI usage. Addressing the following:

We might want to move the models into a models/ subpackage, where we can call the files (modules) schnet and e3nn so you can from .models.e3nn import E3NNBind and from .models.schnet import SchNetBind. These are just stylistic choices, but will make things cleaner.
The training scripts should become entry points. These allow you to organize the scripts that do things instead into (1) a Python API you can use from another program, (2) a method you can call with command-line arguments, and (3) an entry point defined in setup.py that builds an executable script on the path that calls (2) with the command-line arguments when you run it.
Originally posted by @jchodera in https://github.com/choderalab/covid-moonshot-ml/pull/2#pullrequestreview-951031979

@kaminow is this done for now?

I still need to do the second point above, but maybe we can close this for now and that can be opened as a new issue once we've split off the ML stuff into its own repo. @ijpulidos @mikemhenry thoughts?

I think this was already addressed by the changes in #98. Closing.


Forward, Django 3, etc.

Hi, I made some changes for my project. But maybe they will come in handy here?

added forward function
added media loading from the widget
creating a media class in the admin_model, if it has not been created (now empty media class is not needed)
the creation of the widget has been moved to a separate function so that you can override it
setting the parameter name manually, to work around the error "DisallowedModelAdminLookup"

I checked the work of these changes on Django version 3.0.7

Hi Aleksandr,
Thank you for your contribution to this project. Your PR motivated me to
update the dal_admin_filters package that was abandoned for a long time
before today.
On Wed, Oct 7, 2020 at 8:42 PM Aleksandr F<EMAIL_ADDRESS>wrote:

Hi, I made some changes for my project. But maybe they will come in handy
here?

added forward function
added media loading from the widget
creating a media class in the admin_model, if it has not been
created (now empty media class is not needed)
the creation of the widget has been moved to a separate function so
that you can override it
setting the parameter name manually, to work around the error
"DisallowedModelAdminLookup"

I checked the work of these changes on Django version 3.0.7
You can view, comment on, or merge this pull request online at:
https://github.com/shamanu4/dal_admin_filters/pull/37
Commit Summary

Adding a media class to the model_admin and adding media from a
widget
ability to set parameter_name
added forward function
fix widget width

File Changes

M dal_admin_filters/init.py
https://github.com/shamanu4/dal_admin_filters/pull/37/files#diff-4cf019641693e7e251d44227e3b6a856
(49)
M
dal_admin_filters/static/dal_admin_filters/css/autocomplete-fix.css
https://github.com/shamanu4/dal_admin_filters/pull/37/files#diff-9b4dac6fe251017bab4018ba8ab15fe0
(2)
A dal_admin_filters/static/dal_admin_filters/js/forward-fix.js
https://github.com/shamanu4/dal_admin_filters/pull/37/files#diff-c4fa68087d4b974527be48bb8d9b5bdc
(5)

Patch Links:

https://github.com/shamanu4/dal_admin_filters/pull/37.patch
https://github.com/shamanu4/dal_admin_filters/pull/37.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shamanu4/dal_admin_filters/pull/37, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACFPU4PGZ4B7V3GVQ6K2ZDSJSSB7ANCNFSM4SHWNBAA
.


Weird crash with switch (iOS Safari)

Just found a weird issue while testing my app on my device. Tapping on switch element crashes almost every time my iPhone 5S and iPad Mini 1st gen. I finally found that this did the trick:
.label-switch .checkbox:before {
  display: none;
}

It seems like Safari doesn't like transform: scale() transitions on pseudo-elements... I'm curious if anyone encounters the same problem. I should precise that my app is pretty fat on memory at the moment :) But this only line of CSS resolved the issue.
Hope it helps someone in the future.

Sounds weird. Does it happen on real device or simulator, and what is iOS version?

On the simulator, there's only some kind of a little freeze.
Tested it on a real iPhone 5S and iPad Mini 1st gen with iOS 9.2.

Don't know what to suggest, i can't replicate it :) What i can suggest is try to add translate3d(0,0,0) to that scale transform property for its pseudo elements, also try to add -webkit-backface-visibility: hidden CSS property to checkbox and its pseudo elements. Potentially this could help

No problem, I guess I just encountered a very specific edge case. I'll close this and hope it helps someone else one day :)


Response Deserialization for Different Status Codes

I'm trying to use the built in marshmallow support to handle deserialization for a login route. The service looks like this:
class AuthService(Consumer):
    @json
    @returns.json
    @post("oauth/token")
    def login_basic(
            self,
            body: Body(type=PasswordGrantTokenRequest.Schema)
    ) -> TokenGrantResponse.Schema:
        """Login using basic username/password credentials."""

The problem is when you get your username/password wrong, then you get a deserialization exception (because you get a 403 back instead of a 200, and the JSON payload is different). Retrofit solves this problem by supplying a Call as the top-level return, which then allows you to access the body and raw request, for status code checking. Is there a way for me to replicate this functionality easily within Uplink?

@mikeholler, have you tried using a @response_handler?

@prkumar this is very helpful and certainly describes the presented use case. I'll definitely be able to use this for cases like that. This being said, the reason I mentioned Retrofit's call as a preference is access the response and the deserialized content. This may be a different question (feel free to consider it as such), but imagine a case where a header is sometimes returned along with a 200 JSON model that the client would like to read. Is there a way I can get the client access to lazy auto-deserialization via and the response headers? Or is that mutually exclusive?


Some fixes and changes

Too many changes in one PR, maybe some other commits were put into this one PR?

Yeah absolutely didn't want this to happen like this, Just close it and i'll actually try to find my way through GitHub so it ends up looking good!


Not playing on release builds

ApplicationMusicPlayer.shared.prepareToPlay() throws "The operation couldn’t be completed. (MPMusicPlayerControllerErrorDomain error 6.)"
The debug version of the app works perfectly.
Have no idea why this happens, looking into it, created a post both on swift forums and apple dev forum.

Turns out the executable has to be codesigned, and SwiftPM doesn't do that. Issue closed.


[release-0.19] Add the support to build the operator image for all platforms

Proposed Changes

Build images for all the platforms ko supports

@googlebot I consent


Window' object has no attribute 'Channel'

Window' object has no attribute 'Channel' | Foraging.py | _stop_logging | line 3165 | 3B, ephys3

Good day,
I believe this error is being caused by the Channel attribute not being initialized before it is used in the _stop_logging method. The issue arises when the _ConnectBonsai method does not successfully establish a connection and initialize the Channel attribute. To address the issue, we need to ensure that the Channel, Channel3, and Channel4 attributes are initialized in the constructor of the Window class or an initialization method. Additionally, we need to ensure that these attributes are correctly set up when the _ConnectBonsai method is called. If you'd like me to submit a pull request with my implementation of the bug fix then please let me know.
Thank you.

Continues to happen:
10 | Window' object has no attribute 'Channel' | Foraging.py | _stop_logging | line 3192 | 3C, 3D, ephys3

@alexpiet can we close this since it hasn't been updated in several months?

yes


Server down?

While doing a request to: https://visage.surgeplay.com/full/512/5d30e92c5ae24284a3ee74bc15077439
Error screenshot: http://oi67.tinypic.com/eq9no1.jpg

Seems to be working now... I'll let @unascribed close this if he wants

Yeah, sorry. I'm dealing with some graphics driver issues.

@unascribed I just re-started our worker so that Visage doesn't just depend on your graphics card. :+1:

Awesome, thanks! The issues I'm having though are that I'm running the slave on my server now, which has a GPU, but it has outdated graphics drivers. I haven't had the time lately to fix that.
I'm going to set up a software fallback slave today though, so if this happens again and I'm not around to fix it, Visage will just slow down instead of breaking entirely.


Findings Lost CSS For DataTables

Just information, on demo table page. The DataTable section is not completely working because the CSS for DataTables doesn't embedded. If you want to use DataTables on your project, you can simply add DataTables javaScript and CSS on your project file.
CMIIW
Cheers :beers:

Thank you. The CSS for datatables actually handled by polished.min.css
But yes you're right, to use with datatables the script of datatables (javascript) file need to be inserted.
Information has been added to the documentation.
Thanks a lot.


LSP Server Crashing on VS Code

I get this error when using Even Better TOML VS Code pluggin, it's making the extension unusable.
This error appears when selecting a schema (it doesn't auto-detect schemas for some reason).
panicked at 'getrandom::getrandom() failed.: Error { internal_code:<PHONE_NUMBER>, description: "Node.js crypto module is unavailable" }', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.3/src/random_state.rs:81:51

Stack:

Error
    at PA.i.wbg.__wbg_new_693216e109162396 (/home/rencedm112/.vscode/extensions/tamasfe.even-better-toml-0.19.1/dist/server.js:2:4646)
    at wasm://wasm/00fb2f8a:wasm-function[2518]:0x2e8066
    at wasm://wasm/00fb2f8a:wasm-function[4393]:0x328a27
    at wasm://wasm/00fb2f8a:wasm-function[3073]:0x303105
    at wasm://wasm/00fb2f8a:wasm-function[1499]:0x29f415
    at wasm://wasm/00fb2f8a:wasm-function[1019]:0x263047
    at wasm://wasm/00fb2f8a:wasm-function[274]:0x155b0c
    at wasm://wasm/00fb2f8a:wasm-function[362]:0x1910fd
    at wasm://wasm/00fb2f8a:wasm-function[3286]:0x30a999
    at wasm://wasm/00fb2f8a:wasm-function[889]:0x23ea21

--- snip ---

RuntimeError: unreachable
    at wasm://wasm/00fb2f8a:wasm-function[2518]:0x2e8128
    at wasm://wasm/00fb2f8a:wasm-function[4393]:0x328a27
    at wasm://wasm/00fb2f8a:wasm-function[3073]:0x303105
    at wasm://wasm/00fb2f8a:wasm-function[1499]:0x29f415
    at wasm://wasm/00fb2f8a:wasm-function[1019]:0x263047
    at wasm://wasm/00fb2f8a:wasm-function[274]:0x155b0c
    at wasm://wasm/00fb2f8a:wasm-function[362]:0x1910fd
    at wasm://wasm/00fb2f8a:wasm-function[3286]:0x30a999
    at wasm://wasm/00fb2f8a:wasm-function[889]:0x23ea21
    at wasm://wasm/00fb2f8a:wasm-function[1409]:0x295ce4
[Info  - 3:53:39 PM] Connection to server got closed. Server will restart.

VS Code build info
Version: 1.80.0
Commit: 660393deaaa6d1996740ff4880f1bad43768c814
Date: 2023-07-04T13:39:48.236Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.3.11-200.fc38.x86_64

I switched to version 0.19.0 to avoid this issue

It's not the first time I see this, unfortunately I don't remember what caused it.
Since the vscode marketplace doesn't allow yanking versions, I re-released the previous version (0.19.0) as 0.19.2 for the time being.

It's not the first time I see this, unfortunately I don't remember what caused it.

In my case it is because of schema. If I ever use it, the LSP got crash. At first it didn't, but after I tried (I'm curious ok?) draft-07 from here https://json.schemastore.org/hugo.json. The plugin went crazy. I also tried to uninstall and reinstall but there's nothing change...
Do you happen to cache your plugin somewhere in vscode?

It's not the first time I see this, unfortunately I don't remember what caused it.
~Since the vscode marketplace doesn't allow yanking versions, I re-released the previous version (0.19.0) as 0.19.2 for the time being.~ Welp, the CD apparently ignores the tag version, so just tagging the old commit wasn't enough.

If it helps, the neovim taplo lsp works perfect.

It's not the first time I see this, unfortunately I don't remember what caused it.

@tamasfe I suppose this?
https://docs.rs/getrandom/latest/getrandom/#webassembly-support
https://github.com/tamasfe/taplo/commit/61d54a8f9d8015894b7aee0435bd5dba85e49a23

Thanks, we do have the js feature enabled, but this could be it: https://docs.rs/getrandom/latest/getrandom/#nodejs-es-module-support.

Fixed in #462. In order to use the workaround you linked, we need to have the version of getrandom pulled in that has the code enabling that workaround. For that I bumped our ahash dependencies, which in turn allowed bumping the getrandom version in the lockfiles.


Feature: add option jump_to_single_result to lsp picker

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.pick, mini.extra
Description
Recently I started using mini.pick in my config. Thank you for this great plugin!
Regarding the lsp picker, I miss the ability to jump directly to a single result, bypassing the picker.
This is standard behavior in telescope, and can be configured in fzf-lua by supplying jump_to_single_result is true.
I frequently use goto definition. For now, fzf-lua provides the following lsp pickers in my config: "definition", "reference", "implementation", "type_definition".
Would it be possible to add this behavior to mini.pick?

Thanks for the suggestion!
This is, of course, possible. However, I don't think this is a good idea. My reasoning is that starting a picker should always result into showing a picker (as stated in #809 with a bit more thoughts in this comment).
Closing as not planned.

Oops... I was just writing an apology for this duplicate issue...)

I've stumbled upon the same problem and implemented this function that does just that =) Hope it helps
-- Open LSP picker for the given scope
---@param scope "declaration" | "definition" | "document_symbol" | "implementation" | "references" | "type_definition" | "workspace_symbol"
---@param autojump boolean? If there is only one result it will jump to it.
function M.picker(scope, autojump)
	---@return string
	local function get_symbol_query()
		return vim.fn.input("Symbol: ")
	end

	if not autojump then
		local opts = { scope = scope }

		if scope == "workspace_symbol" then
			opts.symbol_query = get_symbol_query()
		end

		require("mini.extra").pickers.lsp(opts)
		return
	end

	---@param opts vim.lsp.LocationOpts.OnList
	local function on_list(opts)
		vim.fn.setqflist({}, " ", opts)

		if #opts.items == 1 then
			vim.cmd.cfirst()
		else
			require("mini.extra").pickers.list({ scope = "quickfix" }, { source = { name = opts.title } })
		end
	end

	if scope == "references" then
		vim.lsp.buf.references(nil, { on_list = on_list })
		return
	end

	if scope == "workspace_symbol" then
		vim.lsp.buf.workspace_symbol(get_symbol_query(), { on_list = on_list })
		return
	end

	vim.lsp.buf[scope]({ on_list = on_list })
end


[BUG] Java symbol lookup error in CICD run

From STDOUT:
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java: symbol lookup error: /tmp/xxxxx.so: undefined symbol: xxxxx
More details in CICD pipeline examples-udf-examples-native, run #139.

It seems a temporary issue, and not happen in recent running.

close since should be pipeline issue


class 'custom_components.eltako.sensor.GatewayReceivedMessagesInActiveSession'> sets an invalid suggested_unit_of_measurement.

I followed the instructions of this protocol message in HA:
<class 'custom_components.eltako.sensor.GatewayReceivedMessagesInActiveSession'> sets an invalid suggested_unit_of_measurement. Please create a bug report at https://github.com/grimmpp/home-assistant-eltako/issues. This warning will become an error in Home Assistant Core 2024.5
I run a highe version of HA Core of 2024.5 so maybe this is why I can't connect to my LAN GW. (see also #113 )

I don't think so. Should be actually only a warning. I had this already. I will fix it anyway :-)

I did a few changes which are right now on main branch. Could you test if it is working now?


Virtual Services ignored in Istio canary

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
When doing a canary upgrade on ISTIO from version 1.5.0 to 1.6.6 we are facing issue with the virtualservices that are added is not getting reflected in the proxy routes. We can see the virtualservice routes no present in the istioctl proxy-config routes. All request reaching ingress gateway gets a 404
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
To upgarde to new control plane should automatically pick up the existing virtualservice routes as well as the new virtualservice routes that we apply
Steps to reproduce the bug
From version 1.5.0 upgrade to 1.6.6 using the below commands
To install new canary deployment:
curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.6.6 sh -
cd istio-1.6.6/bin
./istioctl install --set revision=canary
To route to new canary deployment
kubectl label namespace #{namespace_name} istio-injection- istio.io/rev=canary
kubectl rollout restart deployment -n #{namespace}
checking after applying a virtualservice it doesnt appear in the routes config
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
ISTIOCTL 1.6.6
How was Istio installed?
Using istioctl
Environment where bug was observed (cloud vendor, OS, etc)
AWS EKS
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

I labeled this area/networking because it seems to be a problem of Virtual Service rules being ignored, not a problem with Istio being installed.  If it belongs to another group please assign to another working group.

@esnible can you help you how to override the helm charts & values of istio 1.6 to support istio IG headless service, so that it wont go and override our existing setup

I don't know how to override the install to fix a problem with missing VirtualService routes.
Run istioctl analyze to see if anything is broken in the environment.
Run istioctl proxy-status and check if any pods are STALE.
If neither of those things is true, Istio 1.6.x should have identical behavior to 1.5.0.  Why do you think the upgrade changed something?  Do you suspect a root cause?

@ensible @gargnupur @ramaraochavali  Sorry for the delay. Here I am sharing the configuration
cd istio-1.5.0/
./istioctl manifest generate \
     --set values.gateways.istio-ingressgateway.type=ClusterIP \
     --set values.grafana.enabled=false \
     --set values.tracing.enabled=true \
     --set values.kiali.enabled=true \
     --set values.prometheus.enabled=false \
     --set values.global.proxy.accessLogFile="/dev/stdout" \
     --set values.kiali.dashboard.jaegerURL=http://jaeger-query:16686 > $HOME/install_istio.yaml

Then we opened install_istio.yaml and then edited  Istio IG service as ClusterIP: None and   external-dns.alpha.kubernetes.io/hostname: xxx.xxx.xx
Now we tried to upgrade in canary way.
cd istio-1.6.6/
./istioctl manifest generate \
     --set values.gateways.istio-ingressgateway.type=ClusterIP \
     --set values.grafana.enabled=false \
     --set values.tracing.enabled=true \
     --set values.kiali.enabled=true \
     --set values.prometheus.enabled=false \
     --set values.meshConfig.accessLogFile="/dev/stdout" \
     --set values.kiali.dashboard.jaegerURL=http://jaeger-query:16686 \
     --set revision=canary > $HOME/install_istio_1.6.6.yaml

Then we opened install_istio_1.6.6.yaml and then edited  Istio IG service as ClusterIP: None and   external-dns.alpha.kubernetes.io/hostname: xxx.xxx.xx then applied the same.
After applying 1.6.6 i can see the below list of pods in istio-system
istio-ingressgateway-5b95b9fdf7-jlwvp   1/1     Running
istio-tracing-8584b4d7f9-5hsxh          1/1     Running
istiod-5766465646-5d5d5                 1/1     Running
istiod-canary-65dc749467-tw768          1/1     Running
jaeger-6f457f5964-wgj8c                  1/1     Running

I can see two pods .. one as istiod & istiod-canary but istio ingressgateway also get restarted which resulted in all routes got cleared.. We can see all virtual services present kubectl get vs
I tried to see routes..all routes were cleared which results 404.
./istioctl proxy-config routes istio-ingressgateway-598796f4d9-xlkx4 -n istio-system -o json
We are trying to understand the issue on why all routes are cleared and are there a way to mitigate from this?

Does istioctl ps show any pods being stale?

@esnible
We tried the following
cd istio-1.6.6/
./istioctl analyze -n test

Error [IST0101] (VirtualService sleep-vs.test) Referenced gateway not found: "ingressgateway.istio-system.svc.cluster.local"
Error: Analyzers found issues when analyzing namespace: test.
See https://istio.io/docs/reference/config/analysis for more information about causes and resolutions.

./istioctl proxy-status
NAME                                                   CDS        LDS        EDS        RDS          PILOT                              VERSION
istio-egressgateway-89444576-s7njl.istio-system        SYNCED     SYNCED     SYNCED     NOT SENT     istiod-canary-5457864ccf-g6wxb     1.6.6
istio-ingressgateway-6df7b486d9-tmkbd.istio-system     SYNCED     SYNCED     SYNCED     SYNCED       istiod-canary-5457864ccf-g6wxb     1.6.6

Kindly let me know how to overcome this?

@VinothChinnadurai The error message may not be valid.  Use --all-namespaces and see if it goes away.

./istioctl analyze -n test

Error [IST0101] (VirtualService sleep-vs.test) Referenced gateway not found: "ingressgateway.istio-system.svc.cluster.local"
Error: Analyzers found issues when analyzing namespace: test.

When istioctl is run with -n <namespace> it may only check that namespace and assume istio-system is using only the defaults.

@esnible
Error [IST0101] (VirtualService sleep-vs.test) Referenced gateway not found: "ingressgateway.istio-system.svc.cluster.local"
Warn [IST0102] (Namespace aws-sb) The namespace is not enabled for Istio injection. Run 'kubectl label namespace aws-sb istio-injection=enabled' to enable it, or 'kubectl label namespace aws-sb istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0102] (Namespace catalog) The namespace is not enabled for Istio injection. Run 'kubectl label namespace catalog istio-injection=enabled' to enable it, or 'kubectl label namespace catalog istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0102] (Namespace default) The namespace is not enabled for Istio injection. Run 'kubectl label namespace default istio-injection=enabled' to enable it, or 'kubectl label namespace default istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0102] (Namespace external-secrets) The namespace is not enabled for Istio injection. Run 'kubectl label namespace external-secrets istio-injection=enabled' to enable it, or 'kubectl label namespace external-secrets istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0102] (Namespace kube-node-lease) The namespace is not enabled for Istio injection. Run 'kubectl label namespace kube-node-lease istio-injection=enabled' to enable it, or 'kubectl label namespace kube-node-lease istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0102] (Namespace kubecost) The namespace is not enabled for Istio injection. Run 'kubectl label namespace kubecost istio-injection=enabled' to enable it, or 'kubectl label namespace kubecost istio-injection=disabled' to explicitly mark it as not needing injection
Warn [IST0104] (Gateway kiali-gateway.istio-system) The gateway refers to a port that is not exposed on the workload (pod selector istio=ingressgateway; port 15029)
Warn [IST0104] (Gateway tracing-gateway.istio-system) The gateway refers to a port that is not exposed on the workload (pod selector istio=ingressgateway; port 15032)
Info [IST0118] (Service aws-servicebroker-aws-servicebroker.aws-sb) Port name  (port: 443, targetPort: 3199) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service catalog-catalog-controller-manager.catalog) Port name secure (port: 443, targetPort: 8444) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service catalog-catalog-webhook.catalog) Port name secure (port: 443, targetPort: 8443) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service external-secrets-kubernetes-external-secrets.external-secrets) Port name prometheus (port: 3001, targetPort: prometheus) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service kubecost-cost-analyzer.kubecost) Port name frontend (port: 9090, targetPort: 9090) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service kubecost-cost-analyzer.kubecost) Port name model (port: 9003, targetPort: 9003) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service kubecost-cost-analyzer.kubecost) Port name server (port: 9001, targetPort: 9001) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service kubecost-grafana.kubecost) Port name service (port: 80, targetPort: 3000) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service kubecost-prometheus-node-exporter.kubecost) Port name metrics (port: 9100, targetPort: 9100) doesn't follow the naming convention of Istio port.
Error: Analyzers found issues when analyzing all namespaces.
See https://istio.io/docs/reference/config/analysis for more information about causes and resolutions

I think this is fixed by #26352 in 1.6.8+

Please re-open if https://github.com/istio/istio/pull/26352 does not fix this. thanks!


PROTOCOL_UDP is not implemented

edit config.h to enable the #define PROTOCOL_UDP line, and comment out the TCP line, and the script fails.

UDP is not implemented, code is an artefact from previous project.

was removed with last cleanup.


how can I use the disconnect callback  to reconnect ? Is there some demo. thank you!

I don't believe you should reconnect the same hiredis instance. You'd need to recreate a new one. One instance = one connection.


"Locals" acts weird

It seems "Locals" is not emptied/filled with the variables from the current scope. Sometimes some variables are missing, sometimes variables get duplicated.
This is easily reproducible with randomly opening and closing the "Locals" element before/after stepping into a new context.

I failed to reproduce this. Are there any errors logged to the console output (ctrl+alt+i to show) in atom?

When the string is long, I cannot see the value...
Anyway, The panel cannot be dragged, can it?

Whenever I try to use it the locals dropdown is empty so I have to add everything I want to watch.

I also see it having the wrong value for the local

I can confirm this. I sometimes see double variables or occasionally a value from the previous/next variable. I thought I was going crazy. Often I set a variables in watches because it's not showing in locals or just to be sure.
E.g. loops like
for (let i = 0, keys = Object.keys(obj), len = keys.length; i < len; i++)

There is no i, keys, len etc in the local variables.

It seems like mercury hg.array suffers from some kind of disease...
https://github.com/Raynos/mercury/issues/177
It could be worth trying to swap out the hg.array in the treeview in favor of the, not so concenient (in this case),  hg.varhash.
@Redsandro Are you in a position  to provide any reproduction steps?

It's difficult. I encounter this now and again with big code. When I try to simplify this, into reproduction code, it starts working. :(
The problem with the hidden vars is easier. You got that one confirmed, or do you prefer reproduction code for that too?


Mapping and class locations

Assuming we're going to be using coordinates for each building, I think it might be a good idea to have at least 2 entrances saved for most of the buildings on campus. We can figure out in each building which classrooms are on which side and have zones that point to each entrance depending on which classroom the class is in. It could also route to the closest entrance from where the person is. Just so we're not sending people to the opposite side of a building than their class or than they're approaching the building from.

Im not sure how accurate we can get with GPS tracking.

Phone GPS is accurate up to I think a few meters, IP location is significantly less accurate but using Google Maps it shouldn't be an issue because setting your current location should definitely be possible. Really depends if they're on a phone or a computer.


feat: migrate to pyproject.toml for building package

Request for Review: @hbq1 @rosshemsley
pyproject.toml is the new standard for packaging python packages, setup.py is now deprecated (first introduced in PEP 518 and later expanded in PEP 517, PEP 621 and PEP 660). This PR proposes to switch from the legacy setup.py method in favour of pyproject.toml. This would lead to a overall better project structure because all requirements would be managed within a single pyproject.toml file instead of 5 separate text files. It also allows for dynamic version allocation (reads automatically from /__init__.py).
I'd like to raise the discussion about shifting to a newer modern build backend in the deepmind JAX ecosystem (happy to raise subsequent PRs in other repositories as well)
Changes proposed by this PR can be summarized as follows :-

Delete setup.py in favour of pyproject.toml for packaging and update the test.sh script appropriately.
Update Github Actions Workflows with updated cache-dependency-path (introduced in #485) and different build commands for uploading to pypi.
Removing the now redundant requirements/ directory and making subsequent updates to MANIFEST.in.
Updating "read the docs" configuration.

Thanks for writing this pull request! I'll try to get you a good review by end of the week :)

Thanks for your pull request, it looks good to me.
Few things to think about:
Which tests have you run to check this works?

Does installing directly from github work (still)?
Can you successfully build a wheel and install the wheel etc.?
Do the docs all still work and render the same way?
Can this be submitted to pypi (this might not be something you can test - unless you use target a test-pypi)

I'd also like to get some of the other optax folks to take a look before approving :)

Installing from Github does work. I ran pip install git+https://github.com/SauravMaheshkar/optax.git, and it installed successfully.

Apologies for the slow responses @SauravMaheshkar! I have not forgotten about this, just trying to juggle a few projects at the moment :)
I see the CLA checker is complaining, do you know what the reason for this is? Have you followed the guidelines in https://github.com/deepmind/optax/blob/master/CONTRIBUTING.md?

I see the CLA checker is complaining, do you know what the reason for this is?

Re-trigger the workflow will resolve this.

Apologies for the slow responses @SauravMaheshkar! I have not forgotten about this, just trying to juggle a few projects at the moment :)
I see the CLA checker is complaining, do you know what the reason for this is? Have you followed the guidelines in https://github.com/deepmind/optax/blob/master/CONTRIBUTING.md?

I incorporated @XuehaiPan's suggestion into the PR and maybe that's causing the fail. But it's claimed in https://github.com/deepmind/optax/pull/513#issuecomment-1491843752 that re-triggering the workflow should help fix it.

And is the copybara import failing because of the squash 🙁

Similar change was just expected in Flax https://github.com/google/flax/pull/2960

Gentle ping

Hello @SauravMaheshkar Apologies for being slow to respond.
We'd like to accept this, but the thing that's failing at the moment is that the system that syncs this with the internal version is failing.
This failure is happening because of the deleted files.
Do you think you could put those files back (requirements.txt, setup.py) etc, so that the import will succeed. We'll then be able to remove them in a way that will work on our end, and then finally get this patch in!
We did try to do this ourselves (hence commit from @mkunesch) but we think this would be easier if you could make the change and then we can work from there.
Does that work for you?

I tried that in 93a7774d66cfbb027318aeed39902abbf0581a32, but it still seems to fail. But why though ??

@rosshemsley do you just want me to open up a new PR ??

It looks like we'll have to add an empty file structure first with an internal change and merge your PR on top - I'll submit a PR and cc you. Thanks a lot!

Okay, so this is done now in PR #526. I had to create the pyproject.toml file at the same time as making the internal change that tells copybara how to sync the file.
I've left the file empty - could you sync and add the file content with your PR?
Thanks a lot for your help with this!

Okay, so this is done now in PR #526. I had to create the pyproject.toml file at the same time as making the internal change that tells copybara how to sync the file.
I've left the file empty in my PR so that your PR adds the content. I think the checks pass now so I think this worked!
Thanks a lot for your help with this!

Thanks a lot for helping this through 😄

@rosshemsley any update on when we can get this in ?

@SauravMaheshkar FYI As far as I understand optax uses flit as a build backend so all metions of setuptools and requirements*.txt can be removed. Also I'm not sure about validity of readthedocs.yml.

@rosshemsley Now that this change has been in the repository for a while now. Do you think we can drop the redundant files which I initially removed in this PR ? Happy to open a PR for that change (unless we have a chance of encountering the problem again with copybara)

Hey! @SauravMaheshkar,
I actually was looking at this yesterday - unluckily, there was a small problem with the deploy script with the new setup, which caused release 0.1.6 to fail. The fix was quite straight forwards (https://github.com/deepmind/optax/commit/cfa6f78)
When I was looking at this, I was also looking at removing setup.py and the requirements, but didn't finish that yet (was hoping to find a way to test the publish flow before submitting, but haven't found a way yet).
Unfortunately, you're right that this would likely make our syncing tool unhappy (those files are mentioned directly).

Glad to know the fix was simple. No worries maybe you can remove it on your end (I encountered a similar problem while contributing to flax as well), as long as the changes are made and the project structure looks minimal it's good.

Hi @rosshemsley checking in again. I saw that recently optax bumped to a 0.1.8.dev on the master branch. Is it planned to perhaps shift to a entirely pyproject.toml based build (and thereby removing the other redundant files) in this upcoming version ?

Hi @rosshemsley checking in again. I saw that recently optax bumped to a 0.1.8.dev on the master branch. Is it planned to perhaps shift to a entirely pyproject.toml based build (and thereby removing the other redundant files) in this upcoming version ?

Gentle ping

@fabianp was wondering if you could provide any update on this ?

thanks for brining that up @SauravMaheshkar. I would be fine in deleting the setup.py (and it seems that @rosshemsley and @mkunesch are in agreement with this), although it's currently still being used for some things like uploading to pypi in https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml
Would you be willing to submit a PR that removes setup.py and updates its use in https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml ?
Thanks!

thanks for brining that up @SauravMaheshkar. I would be fine in deleting the setup.py (and it seems that @rosshemsley and @mkunesch are in agreement with this), although it's currently still being used for some things like uploading to pypi in https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml
Would you be willing to submit a PR that removes setup.py and updates its use in https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml ?
Thanks!

Yes ofc more than happy to. It's just the "Check consistency between the package version and release tag" step that still depends. I'll make a PR for removing it.

I very recently made a release. We should be in sync
On Sun, Jan 21, 2024, 17:03 Saurav Maheshkar @.***>
wrote:

thanks for brining that up @SauravMaheshkar
https://github.com/SauravMaheshkar. I would be fine in deleting the
setup.py (and it seems that @rosshemsley https://github.com/rosshemsley
and @mkunesch https://github.com/mkunesch are in agreement with this),
although it's currently still being used for some things like uploading to
pypi in
https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml
Would you be willing to submit a PR that removes setup.py and updates its
use in
https://github.com/google-deepmind/optax/blob/main/.github/workflows/pypi-publish.yml
?
Thanks!
Yes ofc more than happy to. It's just the "Check consistency between the
package version and release tag" step that still depends. I'll make a PR
for removing it.
—
Reply to this email directly, view it on GitHub
https://github.com/google-deepmind/optax/pull/513#issuecomment-1902680091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACDZB2OEW5FMNYEYU7XHWDYPU34BAVCNFSM6AAAAAAV3CMCDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGY4DAMBZGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @SauravMaheshkar . How would you then modify the block
    - name: Check consistency between the package version and release tag
      run: |
        RELEASE_VER=${GITHUB_REF#refs/*/}
        PACKAGE_VER="v`python setup.py --version`"
        if [ $RELEASE_VER != $PACKAGE_VER ]
        then
          echo "package ver. ($PACKAGE_VER) != release ver. ($RELEASE_VER)"; exit 1
        fi

in the CI? BTW feel free to start a PR so we can test stuff

then modify the block

Not a modification, I think we'll have to drop that block. Am trying to figure out other workarounds, will open a PR if I find something

@fabianp now would you propose that I open a PR to delete the other files such as MANIFEST.in and setup.py, or would that cause some issue with internal google dev tooling ?

Yes, please open the PR! I'll take care of things on the Google side


ORC-919: Spark bench objenesis should be the same as Spark

What changes were proposed in this pull request?
This PR aims to use the same objenesis version as Spark in Spark benchmark.
Why are the changes needed?
To fix the class not defined error seen below
java.lang.NoClassDefFoundError: org/objenesis/strategy/InstantiatorStrategy
	at org.apache.orc.mapred.OrcInputFormat.setSearchArgument(OrcInputFormat.java:97)
	at org.apache.orc.mapreduce.OrcInputFormat.setSearchArgument(OrcInputFormat.java:57)
	at org.apache.spark.sql.execution.datasources.orc.OrcFileFormat.$anonfun$buildReaderWithPartitionValues$5(OrcFileFormat.scala:190)

How was this patch tested?
Manual.
java -jar spark/target/orc-benchmarks-spark-1.8.0-SNAPSHOT.jar spark data -d sales -c snappy -f orc

BTW, @williamhyun .
Do you think we can add a GitHub Action job to run a benchmark to prevent this kind of issues in the future?


Indenting does not work properly, only the first indent is rendered (Post Refactoring)

The other render levels stay put. However it seems to work for levels that are already in an indented block. Although it seems to jump all over the place.
https://user-images.githubusercontent.com/11160141/180660777-4178c4c5-1f70-48f1-bc84-1f28d0902b1e.mov

It appears that the delta document is properly encoded when indentation is requested. Therefore this seems to be a problem with rendering.
https://user-images.githubusercontent.com/11160141/196676360-a5e5b682-a67e-4d4c-9531-ad7bb4e0b889.mov


Remove the "secure" flag on cookies

Unfortunately, setting secure cookies for us in production doesn't actually work because (I am pretty sure) our app is sitting behind a proxy of some kind.
Explanation
The Google Chrome Network interface shows “request cookies” and “response cookies” in a table.
I was looking for the  “httponly” and “samesite” values checked off in the “request cookies” section, not realizing that there were two different sections. And they never showed up, because you can't set those on request cookies (ie, from the client to the server).
You can only set them on Response cookies.
Okay, but currently, nothing is showing up under "Response cookies".

I noticed that when ‘secure’ cookies were set and the app was running locally (ie, over http://localhost), you don’t see any "Response cookies" in Chrome's Network tab, which is the same behaviour as the "prod" version of the app.
When we upload our app to app service, we click some option that says “only serve traffic over HTTPS”, which means probably our app is running on HTTP behind a proxy.
This means the secure option is set, but the cookies don't get set at all. So the solution for now is to not set the "secure" flag.
Once the "secure" flag is removed, the Response cookies show up again.

Bref, unsetting the 'secure' cookie flag resolves #124.

🍪


Appsmith currently has a very vanilla version of JSON Forms.  After reading up a little on JSON Forms documentation I'm hoping a more robust support for JSON Forms might be implemented and/or enabled with the upcoming Custom Widgets implementation

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
JSON Forms for Vue / React allows for highly configurable forms with horizontal placement of fields, grouping of fields, data validation and more.
Why should this be worked on?
I have several JSON Forms in my Apps.  I love that you don't have to generate a bunch of Input widgets and the Queries to update/insert are way more straightforward.  However, forms with numerous fields get very tedious to work through.  The ability to place like data on a single row (i.e. Address, City, State, Zip) or (First Name, Last Name, Birthdate) would be very nice!  If I need to save space, as I frequently do, I have to go to the Form widget which offers much more flexibility in formatting, but is much more tedious to write queries for.  Thanks for your consideration.

@pchambless are you referring to this widget?
https://jsonforms.io/

This issue is tracked here #12995 I'm closing this for now. Let me know if it's any different


Bat is missing completions

https://github.com/sharkdp/bat
Related: #8

It's a known issue. Here are a few links to which we've subscribed (and we're using tinyurl.com so we don't clutter their comment threads with mentions):

completions: Support adding additional code to complete values
Generated fish completion does not complete filenames
Bat autocomplete with zsh is buggy

This is a known issue. Here are a few links to which we've subscribed (and we're using tinyurl.com so we don't clutter their comment threads with mentions):

completions: Support adding additional code to complete values
Generated fish completion does not complete filenames
Bat autocomplete with zsh is buggy


Added Remix OS Player under Emulators

I don't know if this latest commit was necessary. @JStumpp could've fixed it. But...


Port changes of [#17381] to branch-2.8

This is the doc update from a few recent commits:

https://github.com/Alluxio/alluxio/commit/aee3c5cb960b2e472f4fcdb86e731ca3b91d2f8c
https://github.com/Alluxio/alluxio/commit/9a4e154e7293667572fec25c63136462fb58a345
https://github.com/Alluxio/alluxio/commit/dbac084c1e1d89c1e9253da036746e2df9e1ef14
https://github.com/Alluxio/alluxio/commit/8da59539201cff376c33256846bd565d976a148e
https://github.com/Alluxio/alluxio/commit/141ee0e567a4c6c60907f85ea66b828704bd761d
https://github.com/Alluxio/alluxio/commit/26257e6f35c57d937f6f5bdee831facc2fcf7e1a

In short, a few improvements have been added that the admin can now see the version/revision of the running Alluxio components in the cluster. A few commands were also added to help with gracefully decommissioning/restarting workers in the cluster.
This doc change helps users understand how to utilize those features.
		pr-link: Alluxio/alluxio#17381
		change-id: cid-1d45c1750f84ac94d3fa79b9bbe0f0f328f7cb45

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

This is cherry-picking a DOCFIX PR so only the checkstyle test matters. I'm merging ignoring all other tests.

alluxio-bot, force-merge this please


Support Flink 1.7.0

Now that Flink 1.7.0 has been released [0], can we upgrade bravo to use Flink 1.7.0? I'm updating my Flink cluster to 1.7 and would love to continue to be able to use bravo
[0] https://flink.apache.org/news/2018/11/30/release-1.7.0.html

Does it not work with 1.7.0? I would assume the savepoint/checkpoint format hasn't changed much

It might be that I'm doing something wrong, but I now get this error:
Caused by: java.lang.IllegalStateException: Cannot read state of a stateless operator.
	at com.king.bravo.reader.OperatorStateReader.lambda$readKeyedStates$0(OperatorStateReader.java:101)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at com.king.bravo.reader.OperatorStateReader.readKeyedStates(OperatorStateReader.java:101)

And when I try doing something super simple like
val savepoint = StateMetadataUtils.loadSavepoint(savepointPath)
val env = ExecutionEnvironment.getExecutionEnvironment
val reader = new OperatorStateReader(env, savepoint, stateOperatorUid)
reader.getAllKeyedStateRows.first(3).print()

I get
Caused by: java.lang.NoSuchMethodError: org.apache.flink.runtime.state.KeyedBackendSerializationProxy.<init>(Ljava/lang/ClassLoader;Z)V
	at com.king.bravo.utils.StateMetadataUtils.getKeyedBackendSerializationProxy(StateMetadataUtils.java:177)
	at com.king.bravo.reader.inputformat.RocksDBSavepointIterator.openIfNeeded(RocksDBSavepointIterator.java:136)
	at com.king.bravo.reader.inputformat.RocksDBSavepointIterator.nextRecord(RocksDBSavepointIterator.java:102)
	at com.king.bravo.reader.inputformat.RocksDBSavepointIterator.next(RocksDBSavepointIterator.java:87)
	at com.king.bravo.reader.inputformat.RocksDBSavepointIterator.next(RocksDBSavepointIterator.java:54)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
	at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
	at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
	at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
	at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
	at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
	at com.king.bravo.reader.inputformat.RocksDBKeyedStateInputFormat.reachedEnd(RocksDBKeyedStateInputFormat.java:104)

To be clear, I'm compiling with flink 1.7.0 and bravo 0.3 in the same code base. It's possible if I used Flink 1.6.2 and bravo 0.3 together to read flink 1.7 savepoints, it would work, but that's much more challenging to operate in this code base.

Works now, thanks!


Latest schema version (43) not supported.

Also tried building from source, same issue.

2.2.2 definitely supports schema version 43 (and only 43). Can you share the exact error message about schema version that you are seeing?

I reset my computer & had to transfer files from my old computer to my new one. I copied the whole OSU folder onto my new pc and am now trying to extract the beatmaps.

You'll want to use 2.2.1 instead of the latest 2.2.2. The database you are accessing is on 42, which makes sense if you haven't launched the latest osu!lazer from 3 days ago it'll be on the older version still.

Alrighty, that worked! Thank you!


Path of Exile and Async shader compiling

Hi,
Sorry about reopening such discussion, but I'm playing Path of exile using DXVK and it's working fine except massive stuttering.
I undestand your previous comment about asynchrous shader compilation (sorry for wrong terms but I'm not a Vulkan programmer but only embeded software programmer), but the game is completly unplayable at a certain level as you cannot react due to massive game freezing.
Here what I have done :

I used version 1.6.X (not on an tag and not a big issue)
I patched the code (quick and dirty as a proof of concept for me only)
I created a dedicated worker thread and add message queue
The thread compiles shader/pipeline by calling DxvkGraphicsPipelineInstance::createInstance  and DxvkGraphicsPipelineInstance::writePipelineStateToCache as requested by DxvkGraphicsPipelineInstance::compilePipeline() and DxvkGraphicsPipelineInstance::getPipelineHandle() respectively
I have checked object owership and object copy to avoid dangling pointer ...
Move m_mutex lock/unlock to improve performance without breaking thread safety

Results : Path of exile runs perfectly at more than 60 fps without any lag spike.
Drawback : There are graphical glitches and I understand why this happens and why you remove this from previous versions
So why don't you set this behavoir as optional or only enabled for specific game as already done for other games (see config.cpp)
Thank you for your answer.

There's an inofficial patch set floating around which does exactly that. It's not supported in DXVK because it breaks the vast majority of games in nasty ways (to the point where you're essentially providing a wallhack in some cases) and due to the maintenance burden.


Fix travis CACHES setting

Quick r?
Pretty sure this fixes the problem @rehandalal is having with pr #572.

/me waits on travis to green light

To hell with waiting for travis.

/me rebases my pull


Question | Directline message Ids

Same question: https://github.com/Microsoft/BotBuilder/issues/2170, just hoping for a quick response.
So we've got a web interface which uses https://www.npmjs.com/package/botframework-directlinejs (works really well) and we use the fact that messages returned via directline (bot and user msgs) have a messageId of the format "G0SRNz7iwTiLehjQsXk3tI|0000001", "G0SRNz7iwTiLehjQsXk3tI|0000002" etc to sort on the sent and received ones on our FE.
However... Messages (Activities) in the bot code itself have a messageId of the format of a GUID. Even if you got to that point in code from a request via directline.
So my question is: does directline have some sort of interception and enrichment of the messages (ids) on your side before returning to the user? Why then do these messages not have the same ID in our bot code itself?
Reason I'm asking is, we broadcast messages to a separate 'admin-console' via signalR. But the message has a GUID id. But the message had a directline id on the webchat side.
You can imagine how this mucks with sorting messages in their correct order. Especially as the timestamp on the messages is not reliable - messages are frequently in the wrong order.
Any feedback very much appreciated.

I'll let the BotBuilder folks respond. Definitely not a client issue.


Extract Sort Logic into Separate Package

Is your feature request related to a problem? Please describe.
I would like to write a Prettier plugin that automatically sorts my Tailwind classes, rather than needing to run the code through a VSCode plugin. This will allow me to ensure classes are sorted correctly as part of my CI configuration.
Describe the solution you'd like
Ideally, I would like to use the class sorting functionality from Headwind directly, rather than implementing something very similar from scratch.
What I'm imagining is that the actual sort logic is extracted into something like a @headwind/core package that would allow other tools to do something like this:
const { sortClasses } = require('@headwind/core');

/// whatever

sortClasses(classString, options);

where my own code will handle

File parsing and extracting the class string
Reading the options from the file
Updating the file

Describe alternatives you've considered
Some alternatives include

Waiting for the Tailwind team to build something themselves
Problem: Not really in the spirit of OSS; I'd love to see the community work on tools together, rather than waiting for them!
Writing my own custom Tailwind sorter
Problem: There would then be my own implementation, Headwind, and whatever Tailwind eventually makes first-party
Just copying the code from here
Problem: This package and my own would be in sync to start, but I'd be constantly trying to keep up with changes to this library

Additional context
If you're interested in the idea, I'd love to help out with getting this done! If you're not interested, that's OK too; I'm happy to just duplicate the logic if need be.

What happened to this, did you abandon it @alexlafroscia? We consider using headwind in a project but it doesn't really make sense imo if we cant run it in ci. So I really like your idea here.

What happened to this, did you abandon it @alexlafroscia? We consider using headwind in a project but it doesn't really make sense imo if we cant run it in ci. So I really like your idea here.

Hey! Yeah, I did end up abandoning this I guess. I don't remember closing it necessarily, but it looks like I did 😅 I don't have a lot of open-source time these days but agree that this would be a really nice thing to support!

Hey! Yeah, I did end up abandoning this I guess. I don't remember closing it necessarily, but it looks like I did 😅 I don't have a lot of open-source time these days but agree that this would be a really nice thing to support!

Ah I see, the same situation here 😉  I'll give you a ping if I sometime in the future find some time to extract it into a prettier plugin!

Ah I see, the same situation here 😉  I'll give you a ping if I sometime in the future find some time to extract it into a prettier plugin!

I think part of the problem that I ran into was the fact that there is not a good way to generate the list of actual Tailwind classes generated by a Tailwind config without running all of Tailwind (including the actual CSS generation). I believe that Headwind assumes your class names match the default, but for my apps that's not the case. You'd want a piece of light-weight software that allows you to do something like
const listOfClassNames = generateClassNames(tailwindConfigObject);

But... that doesn't actually exist in any way, including within Tailwind's source code itself. It's all tied up with PostCSS and actually running the transformations over the output CSS files. This was true at the time I was looking into this, at least; it may have changed by now, and (hopefully) will in the future, too.
IIRC I ran into a problem, then, where a Prettier plugin must run synchronously and, because Tailwind runs as part of PostCSS, it must be run (or I guess, is designed to be run?) asynchronously. With those things being incompatible I just put the whole thing down. If we had the kind of utility described above, we wouldn't have the sync/async problem, but... that's where things are right now.

I think part of the problem that I ran into was the fact that there is not a good way to generate the list of actual Tailwind classes generated by a Tailwind config without running all of Tailwind (including the actual CSS generation). I believe that Headwind assumes your class names match the default, but for my apps that's not the case. You'd want a piece of light-weight software that allows you to do something like
const listOfClassNames = generateClassNames(tailwindConfigObject);

But... that doesn't actually exist in any way, including within Tailwind's source code itself. It's all tied up with PostCSS and actually running the transformations over the output CSS files. This was true at the time I was looking into this, at least; it may have changed by now, and (hopefully) will in the future, too.
IIRC I ran into a problem, then, where a Prettier plugin must run synchronously and, because Tailwind runs as part of PostCSS, it must be run (or I guess, is designed to be run?) asynchronously. With those things being incompatible I just put the whole thing down. If we had the kind of utility described above, we wouldn't have the sync/async problem, but... that's where things are right now.

Okay interesting, thanks for the writeup! For my team just matching as Headwind does would probably be sufficient, at least better than nothing. To have something that would handle everything from the tailwind config would've been incredible but running the generation of the tailwind classes and do the matching and ranking sounds pretty heavy to run on save. Might be wrong tho, I have quite limited experience in this field.

Okay interesting, thanks for the writeup! For my team just matching as Headwind does would probably be sufficient, at least better than nothing. To have something that would handle everything from the tailwind config would've been incredible but running the generation of the tailwind classes and do the matching and ranking sounds pretty heavy to run on save. Might be wrong tho, I have quite limited experience in this field.


Fix memory leaks

Fix some memory leaks with texture buffers and material instances.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13452/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13452/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13452/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13452/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13452/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13452/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13452/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13452/merge#BCU1XR#0


feat: Add the chatbot-java recipe

What does this PR do?
Add the chatbot-java recipe (created added via https://github.com/containers/ai-lab-recipes/pull/809) to the default recipe catalog
Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

I've sent https://github.com/containers/ai-lab-recipes/pull/813 for the rename, so merging this one should wait for that one (I'll also have to update the commit hash after https://github.com/containers/ai-lab-recipes/pull/813 is merged)

Ok, renamed it and updated the git ref, should be all good now

I launched the CI workflows

thanks @jmartisk


Set Variable with return Cookie value

Hello,
Thank you for this great application.
VSCode Version : 1.84.2
Flashpost Version : 1.1.42
I have set variable on your apps, with my return response.
The variable has be set but with the Details of first Cookie (.DWPLATFORMAUTH), not the value of good cookie (.DWPLATFORMAUTH) :

When i use my auth, i have automatic cookie on other request, that is great, but the value has not correct :
.DWPLATFORMAUTH=; .DWPLATFORMAUTH=...... we have double name.

Thank you

Hi,
Can you please send me the value for "set-cookie" from the response Headers? and the screenshot of the response  Headers.

Hi,
Your "Forms Authentication" API call is returning back 2 cookies. Thats why you see 2 cookies.

Hi,
You do have 2 cookies with the same name. Check the response headers "set-cookie" value.
Anyway,  i have fixed the code to remove the empty value. Please update Flashpost to version 1.1.44 and try again and it will work.


request: add loop benchmark

sometime we don't need complicated algorithm to see performance of programming
language, we just need to see how these language loop's implemetation, all benchmark
game like binarytree, fasta, etc just only test loop implementation of language and sometime
benchmark implementation syscall like 'print' to console through loop
example just loop for 1000_000_000 (billion) in linux bash for various language,
i'm using digitalocean cloud with centos7
perl 5.16 -> 5 secs just loop

# time perl -e 'my $a = 1; for $i (0 ..<PHONE_NUMBER>){$a+=4}; print $a'
4000000005
real    0m5.020s
user    0m5.006s
sys     0m0.009s

---  php 5.4.16 -> 3.5 secs just loop

# time php -r '$a = 1; for($i=0;$i<=1000000000;$i++){ $a+=4; } echo $a;'
4000000005
real    0m3.536s
user    0m3.502s
sys     0m0.032s

--- php 8.2.8 -> 1.2 secs just loop

# time php82 -r '$a = 1; for($i=0;$i<=1000000000;$i++){ $a+=4; } echo $a;'
4000000005
real    0m1.181s
user    0m1.152s
sys     0m0.029s

python

--- src

# cat loop.py
a = 1
for i in range(0,1000000001):
    a += 4

print(a)

--- python2 -> error just loop

# time python loop.py
Traceback (most recent call last):
  File "loop.py", line 2, in <module>
    for i in range(0,1000000000):
MemoryError

--- python3 -> 30 secs just loop

# time python3 loop.py
4000000005
real    0m30.887s
user    0m30.857s
sys     0m0.015s

C gcc 11.2.1

--- src

# cat loop.c

#include <stdio.h>
void main(){
        long i,a=1;
        for(i=0;i<=1000000000;i++){
                a += 4 ;
        }
    printf("%lli",a);
}

--- default optimation -> 0.5 secs just loop

# gcc -o loop loop.c
# time loop
4000000005
real    0m0.526s
user    0m0.523s
sys     0m0.003s

--- O3 optimation -> 0.002 secs just loop

# gcc -O3 -o loop loop.c
# time loop
4000000005
real    0m0.003s
user    0m0.001s
sys     0m0.002s

note:
we need simple operation on loop like a+=4 so the optimizer of language 'dont cheat' the output, because empty operation might make some language optimizer skip loop operation

Here's a too simple loop — https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/toosimple.html
Notice that swapping the order of two statements can have a dramatic impact.
Notice that using global vars vs local vars can have a dramatic impact.
Notice that the particular language implementation can have a dramatic impact.

note:
we need simple operation on loop like a+=4 so the optimizer of language 'dont cheat' the output, because empty operation might make some language optimizer skip loop operation

You should use a more complex operation in the loop that can't be optimized out. A good, optimizing compiler/interpreter will have little issue with optimizing out a loop that just performs increments using a constant value. As demonstrated by your timings, GCC had no issue optimizing out the loop when optimization was enabled and completed the program in just 0.003s which would be impossible on all current microprocessors if it had actually ran that loop 1,000,000,001 times.


Demo Architecture Question

Hi,
I have a question about the demo architecture that I was hoping I could get some clarification on.
In the documentation there's a clear separation between the Controller API inside the Agent and the Controller Logic outside the agent.  In the recording of walking through this demo, the instructions are that the "Controller" never communicates with the ledger, but one of the first thing the Controller/Wrapper does is call the RegisterDID function, which I see is inherited from the agent.py, but the line before it is the webhook listener (presumably for the Controller piece):
await agent.listen_webhooks(start_port + 2)
await agent.register_did()
(faber.py)
My team would like to understand this template from the architecture but be able to swap out the Controller Logic piece with another programming language (Node, most likely).  From the demo code, it looks as through the ControllerAPI and the Controller Logic are heavily intertwined in the runner files.
The two-part question is whether or not that's a correct assessment of the code, and if it is if there's a plan to separate it.  Other places in the docs (like the Deployment Model) it says there's no repository for the Controller Logic because it's a basic web server, which is totally fine.  I think we're struggling, though, with what belongs in the API and what belongs in the Logic.  We've been looking for a standalone agent with the API that we can build a Node server to connect to, but haven't found one.
Thanks so much for your help!

Good questions.  The intended design of an ACA-Py based agent is as outlined in the recording - the controller is external to the ACA-Py instance and can be in whatever language you want.  The demo does muddy that up a bit by making the ACA-Py instance a child process of the controller.  In all of the "real" implementations, the controller is external and often written in whatever language makes sense.  The recent work by @amanji has demonstrated this while still using the Alice, Faber example.  See https://github.com/petridishdev/aries-acapy-controllers for examples of 3 controllers all based on a different tech stack (.Net, Angular and node/express). Several examples we have built have often used django, which is still python, but implemented as a separate component running in a separate container.  The Verifiable Credential Open ID Connect implementation that we created (https://github.com/bcgov/vc-authn-oidc) uses .NET as a controller and ACA-Py providing the agent capabilities.
Does that clarify it?

Fabulous, thanks!


Convert src/{digraph,hangulin}.c to utf8

I've used iconv -f latin1 -t utf8 (since Vim detects it as latin1).
file -bi src/digraph.c reported "text/x-c; charset=unknown-8bit".
This makes it easier for other tools to handle, e.g. https://github.com/RPGillespie6/fastcov/issues/14.

I've used iconv -f latin1 -t utf8 (since Vim detects it as latin1).

Obviously wrong for hangulin.c. It is encoded in euc-kr.

Obviously wrong for hangulin.c

Sorry, not for me obviously.. ;)
Thanks for catching - fixed!

Codecov Report

Merging #4731 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4731      +/-   ##
==========================================
+ Coverage   81.39%   81.39%   +<.01%
==========================================
  Files         115      115
  Lines      145322   145322
==========================================
+ Hits       118281   118287       +6
+ Misses      27041    27035       -6

Impacted Files
Coverage Δ

src/digraph.c
88.51% <ø> (ø)
:arrow_up:

src/window.c
87.93% <0%> (+0.03%)
:arrow_up:

src/gui.c
63.75% <0%> (+0.05%)
:arrow_up:

src/channel.c
83.98% <0%> (+0.07%)
:arrow_up:

src/if_xcmdsrv.c
86.53% <0%> (+0.35%)
:arrow_up:

Continue to review full report at Codecov.

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

This line can be updated:
https://github.com/vim/vim/blob/94f82cbacf76767b5ac32f813e1d670501dbd0e6/.travis.yml#L99
latin-1 and EUC-KR can be removed.

I recall some compilers didn't like the utf-8 encoded text.  But I forgot which ones.

I recall some compilers didn't like the utf-8 encoded text. But I forgot which ones.

Theres a note, but not about utf8:

Note: Characters marked with XX are not included literally, because some
compilers cannot handle them (Amiga SAS/C is the most picky one).

https://github.com/vim/vim/blob/8edf0e31323a4293524f51f2960f4f3064309526/src/digraph.c#L32-L36


Need help in implementing private chat

So I'm new to laravel and php overall...i know a few things here and there... But i love this package and i want to include a private messaging system (inbox) how can i change the thread model and participants model to enable such a feature and that index.blade.php should show user threads

You don't have to change anything on the Models. And this Question was asked and answered multiple times already - can you pls take a look in the closed issues!?

Thanks for the help...i checked