Websocket connections do not get deleted

When a client disconnects, there is a chance for the socket handler to not cause on close, so cloudlink is unable to delete the clients websocket connection.
In meower, this leads to always online (until restart) users or bots. Where the user or bot is unable to login to there account. Meower returns a internal error
When a socket is not deleted and you try to interact with it, it raises an error saying the client is closed.
Possible fix:
Catch the error and delete the client object and update ulist

This is a design flaw with Cloudlink 3's underlying websocket framework.
We are continuing to make strides towards the CL4 port. With CL4 utilizing a radically different underlying websocket framework, this issue is of less concern.
On top of that, this issue is of extremely low probability of ever occurring, and (even if it does) you can always reconnect and try again.
Marking as won't fix, since this will be automatically rectified in the CL4 port.

i have an account stuck in this state. @CodeBot, try interacting with it. the only way to clear it is restarting the server
This is essentially like banning a user, but they cant be unbanned

i was also planning on fixing this myself, should be clear because i self assigned

This is a design flaw with Cloudlink 3's underlying websocket framework.

Yeah, we know CL3 has issues, but that's no excuse not to fix them

We are continuing to make strides towards the CL4 port. With CL4 utilizing a radically different underlying websocket framework, this issue is of less concern.

Or will it, have you tested?

On top of that, this issue is of extremely low probability of ever occurring, and (even if it does) you can always reconnect and try again.

You can't just reconnect, because the session is still there

Marking as won't fix, since this will be automatically rectified in the CL4 port.

But you haven't tested, how would you know

huh, I'm re-opening this because yeah it's an issue
but @JoshAtticus this will be rectified in CL4 port anyway because CL4 allows multiple clients from a single user and has a much more reliable underlying websocket server

And il go fix it
RIGHT NOW

huh, I'm re-opening this because yeah it's an issue
but @JoshAtticus this will be rectified in CL4 port anyway because CL4 allows multiple clients from a single user and has a much more reliable underlying websocket server

But if it does happen in CL4, then accounts will still work, but you'll have a bunch of ghost connections that don't actually exist.

huh, I'm re-opening this because yeah it's an issue
but @JoshAtticus this will be rectified in CL4 port anyway because CL4 allows multiple clients from a single user and has a much more reliable underlying websocket server

But if it does happen in CL4, then accounts will still work, but you'll have a bunch of ghost connections that don't actually exist.

well, yeah, it'll basically be a memory-leak but it won't affect anything
and if we spot a memory-leak then we'll need to fix it

thats basicly what this is

mb.py alerted me that this issue is still kicking around

https://github.com/meower-community/MeowerBot.py/blob/master/MeowerBot/Bot.py#L207

This has been resolved.


Connect cyhy customer db to encrypt and embed pdf reports.

💡 Summary
Update the "report_generator.py" scripts to include a function "generate_reports" that coordinates the P&E Report process.
Motivation and context
This is a key feature to securely deliver encrypted reports to Posture and Exposure customers.
Implementation notes
Please provide details for implementation, such as:

Create function "generate_reports" to include the following:
Connect to the cyhy database.
Gathers customer information based on customer ID.
Builds the reports.
Embed raw data into the pdf output.
Encrypts the pdfs.

Acceptance criteria
How do we know when this work is done?

[x] Produce P&E Report with no errors.
[x] Output is encrypted.
[x] Validate report data.
[x] Review and ensure reports can be sent using current mailer scripts.

@elr64 can you verify and make sure that the next set of reports are sent using the mailer script?

@cduhn17 I switched assignments on this one as it will be included to the current PR we are trying to get merged. https://github.com/cisagov/pe-reports/pull/33

@schmelz-ctr ,
Is there any code started from elr64? That we are aware of, is there an encryption method "dev standard" that is recommended?

@schmelz-ctr ,
Is there any code started from elr64? That we are aware of, is there an encryption method "dev standard" that is recommended?

@cduhn17 - It is already in the code leveraging the package fitz the following function in ss-working-test branch.
def embed_and_encrypt()
There is no action on this, just tracking it at this point - gets introduced on that merge.


Add Version information for Tenant Admins

Create a table in DB with some name like VersionInformation and fields like
Id
Name
ShortDescription
Text
Changes
RealeaseDate
and the ROW should implement ILoggingRow and May be Localization ?!
This will require at least a changes in USER entity that will be adding new column: LastSeenVersion, and after that a Help page with information for changes in the new version
!IDEA: use timeline https://adminlte.io/themes/AdminLTE/pages/UI/timeline.html to show versions

Implemented


Some difficulties getting a minimal FeatureFilter going

Continued from https://github.com/microsoft/FeatureManagement-Dotnet/issues/103. I suspect this issue might uncover some ways the introduction & documentation can be improved.

I've just finished putting together a FeatureFilter in my asp.net application that reads data which is loaded once & early during requests.  The information is simply a graph of the current session which includes entitlement information which I'm hoping to plug into the feature management system.
MyGlobalFeatureFilter.cs
    public class MyGlobalFeatureFilter : IFeatureFilter
    {
        private readonly MyGlobalContextAccessor myGlobalContextAccessor;

        public MyGlobalFeatureFilter(MyGlobalContextAccessor myGlobalContextAccessor)
        {
            this.MyGlobalContextAccessor = myGlobalContextAccessor;
        }

        public async Task<bool> EvaluateAsync(FeatureFilterEvaluationContext context)
        {
            // note: I test by putting a breakpoint here, but this line never ends up executed.
            var currentUser = await myGlobalContextAccessor.GlobalContext.User;
            var feature = new Feature(context.FeatureName);

            return currentUser.Features.Contains(feature);
        }
    }

Startup.cs
// ...
            services.AddFeatureManagement(configuration)
                .AddFeatureFilter<MyGlobalFeatureFilter>();
// ...

appsettings.Development.json
{
  "FeatureManagement": {
    "testing": {
      "EnabledFor": {
        "Name": "MyGlobalFeature"
      }
    }
  }
}

TestController.cs
    [ApiController]
    [Route("test")]
    public class TestController
    {
        [Authorize]
        [Route("")]
        [FeatureGate("testing")]
        public async Task<string> Test()
        {
            return "Hi!";
        }
    }

As I've noted in MyGlobalFeatureFilter.cs, there is a line which I've added a breakpoint to where I expect execution to reach during each request when FeatureManagement performs its check.
I don't get any errors from FeatureManagement, but it always seems to return false and never hits my breakpoint.  My best guess at this point is that it's not noticing my attempt to register my custom FeatureFilter. Given that I've followed the readme for this repo as best as I could, I'm either completely missing something, or something else is going on.
Anyway, would greatly appreciate any help getting to the bottom of this as I feel like I'm close! :heart:

Ahh, looks like I was missing some of the JSON structure.  Needed an array in there:
{
  "FeatureManagement": {
    "testing": {
      "EnabledFor": [
          {
            "Name": "MyGlobalFeature"
          }
      ]
    }
  }
}


fix(deps): update module github.com/ibm/platform-services-go-sdk to v0.41.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/IBM/platform-services-go-sdk
require
minor
v0.40.0 -> v0.41.0

Release Notes

IBM/platform-services-go-sdk (github.com/IBM/platform-services-go-sdk)
v0.41.0
Compare Source
Features

Enterprise Management: re-gen service after update trait object (#263) (52cfdaf)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.10.12 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Crash whenever stepping on chiseled blocks

I play on a server with some friends, and this doesn't seem to affect them, and we're all using the same mods, but whenever I step on a chiseled block, no matter what, my game instantly crashes for no reason. We're using origins, industrial revolution, and tech reborn mainly for mods, but this doesn't seem to happen to anyone else.

Make sure to update to the latest version and post your log if it still happens on the latest version

likely same as #57 reopen with log it it's a separate issue


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 344

Questions ?
Please refer to the Backport tool documentation


Fix Broken 'Docs' Workflow

It's broken since a while. Don't know why.
Someone should investigae

"someone" ... assignee kevin 😄

thought you were an read the docs-expert now ;)

🤓

yes I can take a look at it. I like the approach that you can see the result directly on readthedocs


1.8 client disconnect issues

What is the output link of /viaversion dump?
https://dump.viaversion.com/34be2219e0318adc605773ab1f1a48ab3e725c84a4c0b8171d915c896767d249
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Yes WaterFall & all bungee plugins are in the dump.
How does this error happen? login? Using an item?
When a player tried to join a server other then my hub, it immediately disconnects them. Just says User TheDjape has disconnected, reason: Disconnected in the servers console, and in bungee console it gave the error.
Is there an error in the console? Use pastebin.com. Is there a kick message?
Full error https://pastebin.com/tYCpuGAT

As discussed on Discord


Feature Request: mimic openai API endpoints

I'm using this docker compose file to deploy a front end UI that is very similar to the ChatGPT UI interface.
version: '3.6'

services:
  chatgpt:
    build: .
    # image: ghcr.io/mckaywrigley/chatbot-ui:main
    ports:
      - 9080:3000
    environment:
      - 'OPENAI_API_KEY='
      - 'OPENAI_API_HOST=http://api:8080'

  api:
    image: quay.io/go-skynet/llama-cli:v0.4
    volumes:
      - /Users/Shared/Models:/models
    ports:
      - 9000:8080
    environment:
      - MODEL_PATH=/models/7B/gpt4all-lora-quantized.bin
      - CONTEXT_SIZE=700
      - THREADS=4
    command: api

Would it be possible to add API endpoints to mimic the same output as openai? Not sure if it's easier to do here, or to to add a proxy that converts the in/out of each call. But i see value in other tools that normally call openai apis, could simply targer this local instance.
Your thoughts?

Cross post in: https://github.com/mckaywrigley/chatbot-ui/issues/432

wonderful idea, I'd be more than happy to have it work in a way that is compatible with chatbot-ui, I'll try to have a look, but - on the other hand I'm concerned if the openAI api does some assumptions (e.g. prefixed prompts, roles, etc) at the moment the llama-cli API is very simple, as you need to inject your prompt with the input text. Although we can just offer an opinionated setup, e.g. by injecting prompts, etc.

alright, master is capable to handle multi-model, and mimics the openAI api. however, chatbot-ui seems to not be completely following the openAI spec so I'm struggling to make it work with. however,  https://github.com/Niek/chatgpt-web follow closely the spec and seems to work just fine.
I've just contacted upstream as would be super-nice if they could list the available models returned by the API and avoid filtering it.

I can now see all the models when using the master branch. thank you. Nice work!
Couple of suggestions:
1 - Do PRs, so when a new feature is introduced, people can go to the PR and see what were the changes, and any additional comments related to the issue it resolves, etc..
2- Update your documentation. You're README.md doesn't show how this implementation is working.
Feature Request:
1 - Is it possible to add a drop down in the index.html to show the list of models?
2- Have it switch models when a different one is selected in the drop down?

I can now see all the models when using the master branch. thank you. Nice work!
Couple of suggestions: 1 - Do PRs, so when a new feature is introduced, people can go to the PR and see what were the changes, and any additional comments related to the issue it resolves, etc.. 2- Update your documentation. You're README.md doesn't show how this implementation is working.

Good points! Lately I had just few cycles to dedicate to it and had less time here, hence I rushed this a bit, sorry about that!

Feature Request: 1 - Is it possible to add a drop down in the index.html to show the list of models? 2- Have it switch models when a different one is selected in the drop down?

That sounds a great addition! could you please file separate issues? So we can track them down and tackle those separately.
My plan indeed was to close this issue once got the documentation and a tag with all the new features in!

If you want to test out chatgpt-web with your cli/api:
https://github.com/mkellerman/chatgpt-web/tree/feature/add-llama-cli

If you want to test out chatgpt-web with your cli/api:
https://github.com/mkellerman/chatgpt-web/tree/feature/add-llama-cli

That's super-nice! loving it! you are so fast :)
I've opened https://github.com/Niek/chatgpt-web/issues/105 upstream to track it, maybe worth mentioning your branch directly?
Let me close this issue, I've just added the docs for it: https://github.com/go-skynet/llama-cli#supported-openai-api-endpoints so we have addressed the original request, we can track the webui api in a separate one or directly upstream - I'm fine with both!


java version support

Hello:
when I use the module with java or openjdk version 1.8 the module work very well, but when i use java 1.7 the bellow error displayed!
org/diffxml/patchxml/PatchFormatException  : Unsupported major.minor version 52.0
how can I use it with java 1.7?
thanks

Check out the code and compile it yourself. But 1.7 is pretty old...

I have compiled source by 1.7 and it is done successfully! but the error
dispatches at runtime, yet!
On Wed, Jun 29, 2016 at 12:08 PM, Adrian Mouat<EMAIL_ADDRESS>wrote:

Check out the code and compile it yourself. But 1.7 is pretty old...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amouat/diffxml/issues/3#issuecomment-229279897, or mute
the thread
https://github.com/notifications/unsubscribe/AA3jAw3Ny4BDiykipHifjvAxV8SfsRecks5qQiDYgaJpZM4JAB42
.

Check the libraries.


Correct docs

In your docs you have the wrong attribute name for a mailserver priority. This should correct this, as everyone in the world uses priority instead of preference.

Do you agree to removing the SPF record? I would prefer merging this without the SPF record in there for reasons discussed in this thread.

@danrl yes, you are absolutely right, that this might be confusing for some people. I've removed the entry.

Squash-merged. Thank you very much, @kodianbruck. Good catch!


Feature Enhancement: Snippet Manager - Text Expander

Still mulling over this concept and exactly how it could be implemented but first thought I had when I saw this project is that there is potential for it to be expanded as a means to quickly access predefined snippets/templates of text and inserting them anywhere system wide.

@pa-0 I had similar idea and put it into a prototype https://github.com/neptuo/Productivity.SnippetManager.
It's not a powertoy plugin, on the other hand it positions the snippet window next to the cursor 😎

@pa-0 I really like this idea, however I think it is more similar to one of my other PTRun plugins (ClipboardManager) however instead of listing the clipboard contents it would list snippets which could be created and managed via the PTRun UI (context menu options for adding and removing snippets).
I think I'd like to keep this separate from this plugin as it was designed specifically to emulate manual typing in situations where that is required and adding a whole snippet manager to this would deviate a bit from its purpose.
I'll take a stab at a standalone snippet manager plugin here would love for any feedback or suggestions for functionality you have!

@pa-0 Initial version is out, hopefully you find it useful!
https://github.com/CoreyHayward/PowerToys-Run-Snippets
I'll close this as resolved, if you have any specific requests for features feel free create an issue on the repo!


Shoot cannot be deleted because of unexisting resource-manager

What happened:
A shoot that was created 1 month ago (before the resource manager was introduced) and hibernated since then, could not be deleted.
Gardener is unable to delete the shoot because it tries to scale up the resource manager deployment which was never created for the shoot.
What you expected to happen:
The shoot clusters can be successfully deleted/wokenup.
How to reproduce it (as minimally and precisely as possible):
Create a shoot on a gardener with version <0.26.0 and hibernate the shoot.
Update Gardener to version 0.26.4 and try to delete the hibernated shoot.
Environment:

Gardener version: 0.26.4
Cloud provider or hardware configuration: aws

Duplicate of #1194.
You can close in favour of the referenced issue.


Improve ASCII art in README.md

Unfortunately the current ASCII art causes problems as the non-ASCII characters are not rendered with even width on macOS. See following screenshots:
Click me How the ASCII art is rendered on the rendered version of the README
Click me How the README is rendered when shown as raw text

As a fix I've replaced all non-ASCII characters with equivalent characters. Admittedly it does not look as nice as before, but at least it seems to render consistently (at least for me). See: https://github.com/muellermartin/moa/blob/d212b5ce73379d4e725dd69354e20404ad88b2c0/README.md

Hi @muellermartin this is odd because I've never seen this rendering problem before. Can you provide more details about your OS and Browser. I'm on macos 10.14 in the latest Firefox and this is what I see

I created those graphics in Monodraw (a mac app).

Hm, that's strange then. Here's a bit more information about my system:
OS: macOS 10.13.6 (Build 17G4015)
Browser: Firefox 64.0 (64-Bit) (Build ID<PHONE_NUMBER>1918)
If I open the README in Terminal.app, the ASCII art looks correct. My guess is that the font choice SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace of GitHub's <code> block maybe causes different fonts to be mixed up because of missing symbols. The characters of one font have equal width, but mixing it with another one causes different widths to be mixed.

when i inspect that code block in firefox it says that Consolas and Menlo are being used.

when i inspect that code block in firefox it says that Consolas and Menlo are being used.

Same for me.


Adding Multilanguage Facility

@Kajol-Kumari I want to add a multilanguage button in this page. Kindly assign this issue to me.

@Ojas-Arora  which page?

Main Page sir

@Ojas-Arora assigned ...u will be working on homepage.js file?

Yes sir

@Ojas-Arora  okay ...can i add more task with this task would u do it if possible

Likewise can u tell which task?

will share u figma and static code for contact us about us brands and influencers services u have to just make them responsive and add them to homepage buttons ..currenlty those 4 options are not workable

or u can do this task making blue color button consistent all across ...cureenlt some blue butoons are light blue some are dark if u can make them consistent
u can choose any task

I can do both of thses firstly I will do the upper one.

@Ojas-Arora  great adding that issue with this then

@RohitGupta1237 Sir make independent issues.

@Ojas-Arora  ok

@Ojas-Arora  sorry to bother could u take #37 or #46 now we need them to wrap up before any other issue ?

I would like to work on both but firstly I would like to try #37.

@Ojas-Arora  can u try 46 pls first

ok

@RohitGupta1237 Please provide me the steps to run this repo in local.

@RohitGupta1237 Please provide me the steps to run this repo in local.

@RohitGupta1237 @Kajol-Kumari

@Ojas-Arora  just follow the readme for each frontend and backend - https://github.com/Kajol-Kumari/InfluMart/blob/main/backend/README.md https://github.com/Kajol-Kumari/InfluMart/blob/main/frontend/README.md


Different step sizes can lead to frozen bots

If the game update function is left by one bot during an "off loop" of the other bot, the other bot will wait indefinitely for a response. For example, python-sc2 bots have a default step size of 8. If the other bot has a time out etc during a loop that is not dividable by 8 the python-sc2 bot will ALSO have a time out.

Solved with #128


Some exceptions on startup don't get logged due to AsyncAppender

If I startup CAS from maven and get a fatal error (e.g. spring-cloud-zookeeper can't resolve host - but I have seen it previously for other reasons), the exception isn't logged and output looks like this:
  __  ____     _     ____  __
 / / / ___|   / \   / ___| \ \
| | | |      / _ \  \___ \  | |
| | | |___  / ___ \  ___) | | |
| |  \____|/_/   \_\|____/  | |
 \_\                       /_/

CAS Version: 5.0.2
Apache Tomcat Version: Apache Tomcat/8.5.9
Build Date/Time: 2017-02-01T18:24:32.687Z
System Temp Directory: C:\Users\xyz\AppData\Local\Temp\
Java Home: C:\Program Files\Java\jdk1.8.0\jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_111
JCE Installed: no
OS Architecture: amd64
OS Name: Windows 7
OS Version: 6.1

←[0m
2017-02-02 16:20:04,791 WARN [org.springframework.boot.SpringApplication] - <Err
or handling failed (ApplicationEventMulticaster not initialized - call 'refresh'
 before multicasting events via the context: org.springframework.boot.context.em
bedded.AnnotationConfigEmbeddedWebApplicationContext@25a65b77: startup date [Wed
 Dec 31 19:00:00 EST 1969]; parent: org.springframework.context.annotation.Annot
ationConfigApplicationContext@66048bfd)>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2017-02-02T16:20:04-05:00
[INFO] Final Memory: 12M/240M
[INFO] ------------------------------------------------------------------------

If I change all the <AsyncLogger in log4j2.xml to <Logger then I get the actual error:
CAS Version: 5.0.2
Apache Tomcat Version: Apache Tomcat/8.5.9
Build Date/Time: 2017-02-01T18:24:32.687Z
System Temp Directory: C:\Users\xyz\AppData\Local\Temp\
Java Home: C:\Program Files\Java\jdk1.8.0\jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_111
JCE Installed: no
OS Architecture: amd64
OS Name: Windows 7
OS Version: 6.1

←[0m
2017-02-02 16:22:45,318 WARN [org.springframework.boot.SpringApplication] - <Err
or handling failed (ApplicationEventMulticaster not initialized - call 'refresh'
 before multicasting events via the context: org.springframework.boot.context.em
bedded.AnnotationConfigEmbeddedWebApplicationContext@2ed0fbae: startup date [Wed
 Dec 31 19:00:00 EST 1969]; parent: org.springframework.context.annotation.Annot
ationConfigApplicationContext@445b84c0)>
2017-02-02 16:22:45,345 ERROR [org.springframework.boot.SpringApplication] - <Ap
plication startup failed>
java.lang.reflect.UndeclaredThrowableException
        at org.springframework.util.ReflectionUtils.rethrowRuntimeException(ReflectionUtils.java:317) ~[spring-core-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.findProperties(ZookeeperPropertySource.java:104) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.<init>(ZookeeperPropertySource.java:46) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.create(ZookeeperPropertySourceLocator.java:116) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySourceLocator.locate(ZookeeperPropertySourceLocator.java:101) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89) ~[spring-cloud-context-1.1.6.RELEASE.jar!/:1.1.6.RELEASE]
        at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:635) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
        at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:349) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:313) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
        at org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:61)
[cas-server-webapp-init-5.0.2.jar!/:5.0.2]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [cas-pki-war-1.0.war:?]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [cas-pki-war-1.0.war:?]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [cas-pki-war-1.0.war:?]
        at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)
 [cas-pki-war-1.0.war:?]
Caused by: java.net.UnknownHostException: zookeeper1
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_111]
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) ~[?:1.8.0_111]
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) ~[?:1.8.0_111]
        at java.net.InetAddress.getAllByName0(InetAddress.java:1276) ~[?:1.8.0_111]
        at java.net.InetAddress.getAllByName(InetAddress.java:1192) ~[?:1.8.0_111]
        at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[?:1.8.0_111]
        at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61) ~[zookeeper-3.4.6.jar!/:3.4.6-1569965]
        at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445) ~[zookeeper-3.4.6.jar!/:3.4.6-1569965]
        at org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94)
~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.HandleHolder.internalClose(HandleHolder.java:128)
~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.HandleHolder.closeAndReset(HandleHolder.java:77) ~
[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.ConnectionState.reset(ConnectionState.java:217) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:193) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:88) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:116) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:489) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:108) ~[curator-client-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:200) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191) ~[curator-framework-2.10.0.jar!/:?]
        at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38) ~[curator-framework-2.10.0.jar!/:?]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.getChildren(ZookeeperPropertySource.java:116) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        at org.springframework.cloud.zookeeper.config.ZookeeperPropertySource.findProperties(ZookeeperPropertySource.java:81) ~[spring-cloud-zookeeper-config-1.0.3.RELEASE.jar!/:1.0.3.RELEASE]
        ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 min
[INFO] Finished at: 2017-02-02T16:22:45-05:00
[INFO] Final Memory: 12M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
:1.4.2.RELEASE:run (default-cli) on project cas-pki-config: Could not exec java:
 Application finished with exit code: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

This particular error is my fault but when I first started using CAS I was bit by this a few times for different errors. Sometimes I would get lucky and see the error (timing?) or I would see it if I used the debugger. Eventually I just made my own log4j2.xml.
I haven't tried this but something like this in CasWebApplication might fix the issue:
              try {
			new SpringApplicationBuilder(CasWebApplication.class).banner(new CasBanner())
					.properties(Collections.singletonMap(
							CasEmbeddedContainerConfiguration.EMBEDDED_CONTAINER_CONFIG_ACTIVE, Boolean.TRUE))
					.logStartupInfo(true).run(args);
		} finally {
			org.apache.logging.log4j.LogManager.shutdown();
		}

That is referencing log4j2 directly instead of slf4j so maybe that isn't ideal. Other options might be to just sleep for a second in the finally block or not use AsyncAppender.

Have you tried raising this issue with log4j folks or even spring boot?

Is this also something that can be duplicated with 5.1? Given it runs a more recent version of log4j.

Separately and out of interest, what are your intentions with zookeeper?

I can try it out in 5.1, there is that log4j servlet context listener bean that should be shutting down logging if spring-boot is shutting down the servlet context and all the spring beans. Not sure if it flushes all the async loggers...
Regarding zookeeper, we have Solr Cloud used by some applications and it relies on zookeeper. Since we have zookeeper in the environment we are using it as key value store to provide an option for overriding some properties in an environment without packaging them with the webapp or the app server container. Something like Vault (which I haven't used) might be better than zookeeper for what we are doing but we already have zookeeper...
Solr uses zookeeper to store whole config files but unless I am missing something, spring-cloud-zookeeper uses the "file" you put in zookeeper as the "key" and the contents of the file are the value. I can use ${someVariable} in a cas property file and then spring-cloud-zookeeper will look in zookeeper for various paths (e.g. /config/application, /config/cas, /config/cas,somprofile, etc) and in each of those paths it will look for "files" and if one of those is "someVariable" then it will use the contents as the value for that property. I was surprised it didn't look for property files and load them instead of single properties.

I am trying to try this out with 5.1.0-RC1 but when I switch to that I am getting a conflict on port 8443. The port is not in use prior to me starting spring-boot:run. Is there anything new regarding the tomcat configuration? I also got the same error with 5.1.0-SNAPSHOT (and for that I upgraded spring boot to 1.5.1).
***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8443 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 8443, or configure this application to listen on another port.

There isnt anything new as far as I remember. Are you running embedded?

It wasn't a port conflict issue, it was a mis-configuration but I wasn't seeing the error logged, I think because org.apache log level is set to off, and that includes org.apache.tomcat.* so an error level log message was not logged. Is there ever a reason to turn a log level off? When wouldn't you want to see errors logged?
    <AsyncLogger name="org.apache" level="off" additivity="false">
        <AppenderRef ref="casConsole"/>
        <AppenderRef ref="casFile"/>
    </AsyncLogger>

Cool. This is likely an oversight. I think the intention here was to turn off warnings really that tomcat produces when it scans for tlds and jars and somehow the level got set to off. If you'd rather reverse that please submit a PR.

I am also assuming the logging change addresses the original issue as well?

I was able to get a stack trace in 5.0.2 when I changed the Loggers from async to regular without changing any log levels. The same stacktrace wasn't logged when the loggers were async. I still haven't re-created that situation in 5.1 but only because I ran into some other issues when trying to get 5.1 going that I eventually got around (there was a mix of groovy versions that groovy didn't like, and the newer guava version didn't seem to be compatible with the zookeeper/curator jars I was using so I had to use an older version.

OK, cool. Keep updating the 5.1 snapshot and continue to try to duplicate the issue. Log4j JIRA shows that a number of similar and related issues in this area got fixed in log4j 2.7.
Also consider: https://apereo.github.io/cas/development/installation/Logging.html#asyncloggers-shutdown-with-tomcat

Going to close this for now, in favor of the new changes/fixes available in master and current SNAPSHOT releases. If you do run into this issue again, please post back so we can reopen the issue and investigate.


add website section to minutes

add a website section to the mintutes to hold discussions.

addressed in commit 4f08f55


Facing issues when using in a remote exec environment

First and foremost, thank you for making this! It has been a wonderful addition to our build.
When testing in a remote exec environment, I am getting DYLIB loading failures. I cannot repro this when using caching or local execution:
dyld: loaded: <89CF8E71-A978-340D-B9CC-BABBFD6E2B1E> /Users/maxwell.elliott/buildbuddy/remote_build/08e53c47-afb5-4f61-bf7e-406df92386c9/bazel-out/host/bin/external/mockolo/mockolo
dyld: loaded: <B3812B86-4FCF-3A10-8866-DF67940A974C> /usr/lib/libc++.1.dylib
RPATH failed expanding     @rpath/lib_InternalSwiftSyntaxParser.dylib to<EMAIL_ADDRESS>RPATH failed expanding     @rpath/lib_InternalSwiftSyntaxParser.dylib to: /usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /Users/maxwell.elliott/buildbuddy/remote_build/08e53c47-afb5-4f61-bf7e-406df92386c9/bazel-out/host/bin/external/mockolo/mockolo
  Reason: image not found
/bin/bash: line 1: 47428 Abort trap: 6           DYLD_PRINT_RPATHS=true DYLD_PRINT_LIBRARIES=true bazel-out/host/bin/external/mockolo/mockolo

Adding this as a tracking issue, I hope to make a repro repo soon for this

This is interesting: https://github.com/bazelbuild/bazel/issues/13819

We see this on remote exec as well


Add maintainer

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This PR adds @simetenn as Maintainer. He agrees with this addition, and it can be public checked here.

@conda-forge-admin, please rerender


Back to the Pistachio

This PR moves back Pistachio feature set into kd.View

ps. I've added build and dist folders intentionally for running koding main app tests on this branch, so once this PR is approved I'll revert those commits and push back without those. no need to merge this, after approval I'll update and merge.


Support for cloud-config's ca_cert value

RancherOS Version: 1.0.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.) Bare-metal
Currently, it is quite a challenge to add new root CA certs to RancherOS. This is a problem for internally used CAs such as what we use in our development environment. When our root CA is not recognized, it becomes impossible to pull from our internal Git repos or Docker registry without a lot of hacky (at best) workarounds.
CoreOS already supports this via a ca_certs parameter in cloud-config.yml and that implementation could be ported over to RancherOS with relative ease I believe. The parameter supports a sub-property called trusted which is either a single CA cert string, or an array of strings, with each value being it's own certificate. The actual representation for the ca-certs parameter is:
ca_certs:
  remove-defaults: false # If true, removes all default CAs and only uses CAs provided in the trusted key
  trusted:
    - |
      -----BEGIN CERTIFICATE-----
      .....
      -----END CERTIFICATE-----
    - |
      -----BEGIN CERTIFICATE-----
      .....
      -----END CERTIFICATE-----

I think this goal could be accomplished in 1 of 2 ways in the system level.

Concat the provided string(s) to the base-system /etc/ssl/certs/ca-certificates.crt file during the initial system boot (Which is mounted to /etc/ssl/certs/ca-certificates.crt.rancher in the console container)
Add support for multiple .crt files in /etc/ssl/certs in which scenario, each provided key under ca_certs.trusted is used as it's own .crt file. While I think this solution is more easily managed from an administrative role, it could cause issues with compatibility when the rest of the Rancher ecosystem has been built to use the single ca-certificates.crt file.

We are attempting to find a way to deploy RancherOS in production as part of our immutable infrastructure plan and the inability deploy root CAs alongside the rest of our configuration (Again, without resorting to an unsavory amount of workarounds) is quite a pain. Even utilizing the exact implementation from CoreOS would be far superior to the current "solutions".
This topic has been discussed in #470 however there was no final conclusion on how best to proceed with the idea implementation, so I am creating this ticket to formally propose using ca_certs as the solution.

I would be willing to write the code myself, however after reviewing the config code, I doubt my understanding of golang is sufficient to implement a good solution. If this goes untouched for awhile, I might dig in and create a PR.

actually - if CoreOS already supports this, then most of the work should already be done - as we use (and recently forked) their cloud-init code. All we need to add, is the cloud-init-execute code to lay the files down.

@SvenDowideit What do you think would be the best way to "lay the files down"? Should they be put into individual cert files in /etc/ssl/certs or concat them to the /etc/ssl/certs/ca-certificates.crt?
If we don't concat them, I'd imagine we'd have to figure out some other way of passing them down to the system-docker containers as they all depend (I believe) on the ca-certificates.crt file alone (And this is what user-space docker containers would ultimately receive).
If we concat though, we'd have to either set it to only run during the system's initial boot or scan the crt file every time and only insert new key entries, less we wind up with a constantly growing ca-cert file.
The only other solution I could think of is to treat the ca-cert file as immutable, and compile it at boot every single time. The downside of this is if any user-space docker containers are modifying the CA file, their changes would be lost every boot.

mmm, yes :/ I'm tempted to suggest that the file is only modified during and by the boot process, and after that we consider it immutable - idk how to sanely deal with allowing user-docker containers to modify it.


The user is missing a required role: ['TREUser', 'TREAdmin']

Hi, I am facing this error in installing the base workspace.
Describe the bug
The user is missing a required role: ['TREUser', 'TREAdmin']
403 Error forbidden
202 successful response
422 validation error
Steps to reproduce

Once logged in, click Try it out on the POST /api/workspace-templates operation
Paste the payload json generated earlier into the Request body field, then click Execute. Review the server response.3.

@vidit2011998 have you granted the appropriate roles to you user in the Azure AD Enterprise Application as per https://microsoft.github.io/AzureTRE/tre-admins/setup-instructions/pre-deployment-steps/#add-admin-user ?

@vidit2011998 have you granted the appropriate roles to you user in the Azure AD Enterprise Application as per https://microsoft.github.io/AzureTRE/tre-admins/setup-instructions/pre-deployment-steps/#add-admin-user ?
See: https://microsoft.github.io/AzureTRE/tre-admins/auth/#enabling-users

Hi @marrobi , Yes I gave the --admin-consent parameter while running the /scripts/aad-app-reg.sh. But I am stuck here in installing the base workshop part.

If you view the Enterprise Application in Azure AD, under Users and Groups do you see the users listed?
The users/your user needs assigning the TRE Administrator role.

Closing this for now, if you are still facing issues let us know.


Android Basics: Viewmodel and State with Compose

"import org.junit.Assert.assertNotEquals" isn't a thing.
Should be "import org.testng.Assert.assertNotEquals" from what I can tell.

Issue with the dependencies was resolved by copying out the file in the solutions, and resyncing gradle. The whole tutorial needs to be reworked from start to finish, but this issue is solved by downloading the solution code.


Lifetime issues with arguments to function calls that are awaited on

I wasn't sure if this was a Rust bug, a futures-await bug, or a duplicate of one of the several other lifetime issues :-)
I've minimized this issue down to the following code:
#![feature(conservative_impl_trait, generators, proc_macro)]

extern crate futures_await as futures;

use futures::prelude::*;

fn f1<'a>(_: &'a [u8]) -> impl Future<Item=(), Error=()> + 'a {
    return futures::future::ok(());
}

#[async]
fn g1(v: Vec<u8>) -> Result<(), ()> {
    await!(f1(&v)).unwrap();
    Ok(())
}

fn f2(_: &[u8]) -> impl Future<Item=(), Error=()> {
    return futures::future::ok(());
}

#[async]
fn g2(v: Vec<u8>) -> Result<(), ()> {
    await!(f2(&v)).unwrap();
    Ok(())
}

f2/g2 using the default lifetimes compiles fine, however f1/g1 makes the compiler sad.
This was surprising to me, as I naively expected them to either both be accepted or both be rejected.

Probably related to one of https://github.com/rust-lang/rust/issues/44257, https://github.com/rust-lang/rust/issues/44200, or https://github.com/rust-lang/rust/issues/44197 perhaps?

I suspect, if any of them I think it's most likely to be #44257, but I wasn't totally sure. The reason for my lack of confidence was that the behavior here varies based on whether there's an explicit lifetime or the automatic one.

Yeah I'm not sure :(
Maybe let's see if this is still here after the upstream issues are fixed?

Sounds like a plan :-)

I believe rustc is correct here. f1 and f2 are different. Desugared, they have the signatures
fn f1<'a>(_: &'a [u8]) -> impl Future<Item=(), Error=()> + 'a;
fn f2<'a>(_: &'a [u8]) -> impl Future<Item=(), Error=()> + 'static;

This means that f1 can potentially capture its argument, while f2 can't. Because of that, v has to be borrowed over the await in g2, which isn't supported today.

Ah excellent point, and thanks for the diagnosis @arielb1!


ci: cancel old job, require commits for release

This fixes a require cycle that got into main.
It also adds some extra guards to hopefully prevent race conditions with parallel merges. I discovered what the problem is, just now sure how to fix it yet: https://github.com/release-it/release-it/issues/773

Codecov Report

Merging #317 (7076afb) into main (a41cc75) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #317   +/-   ##
=======================================
  Coverage   88.28%   88.28%
=======================================
  Files         220      220
  Lines        4004     4004
  Branches      465      465
=======================================
  Hits         3535     3535
  Misses        469      469

Impacted Files
Coverage Δ

src/modules/connections/ConnectionsModule.ts
67.60% <100.00%> (ø)

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 a41cc75...7076afb. Read the comment docs.


Pretrained window/hybrid SABlock backbone model for Detection task

Hi, thank you for the contribution to this super-rad work!
Wonder that, in your experiments, whether the backbone models used in Detection task with stage-3 window/hybrid SABlock (S-h14, B-h14) are needed to be pretrained on imagenet?
If so, could these backbones with window/hybrid SABlock be released? And if not, are the weights loaded directly from the regular model with global window in stage-3?
Thanks!

Sorry for the late response.
Actually, the backbones used in downstream tasks with window/hybrid SABlock are not need to be pre-tained on ImageNet. The weights are directly loaded.
Since we train the backbone with 224x224 images on ImageNet, the normal self-attention in stage-3 can be seen as window self-attention with size 14x14 (224/16=14).
Hence, for the downstream tasks, we only need to ensure the window in stage-3 is larger than 14x14, thus the pre-trained weights can be well utilized.

We do not use backbones trained with Token Labeling for fair comparisons, since most SOTA models are trained without it.
As for layer scale, it is good for avoiding NaN for ImageNet. We have tried to used backbones with Layer Scale for video classification, but it sometimes can not converge in the later epochs.  It seems strange but it does not affect other downstream tasks.
Actually, most of the current works used Layer Scale for training large models. I think it is a better choice to use it.
Moreover,  backbones trained with Token Labeling also help downstream tasks like detection. If you only pursue better results, you can use those powerful models with Token Labeling.

And when using the backbone in the detection task, in UniFormer module, each stage initializes a new norm1-4 layer and discards the original self.norm layer (the one before the final classification head). Could you please share some insights on this implementation as well? Thanks a lot!

@CanyonWind Thanks for your detailed questions!
About the two techniques:

Yes, the model trained with token labeling will only have one difference than the regular model, since it need to generate dense labels for all tokens. You can find it in the original repo. Actually for downstream tasks, the classification head is not used anymore. Researchers only utilized the intermediate features to form FPN. Thus for backbone trained with Token Labeling, the additional auxiliary head and the classification head are both removed.
For smaller models, it doesn't help for accuracy improvement but it helps for normal convergence. Note that all vision transformers are easier to be NaN when training. The layer Scale is a smart technique to avoid this problem. For larger models, Layer Scale is often used for better convergence. You can find the results in the original paper (CaiT).

About norm for detection task:

Actually, the extra norm layers are popular settings for detection tasks. We simply follow MMDetection to add them. You can find them in ResNet and Swin.

Thanks for the clarifications. These are awesome!

@CanyonWind We have verified that Token Labeling can help detection. Have a try!


Test normal interpolation for triangle.

Coverage increased (+0.2%) to 55.389% when pulling 369a2dc9d786fe9c1dce33f474ac8cb6cb7b21a6 on karsten/test-triangle into 2f963799e2b29ec502ceed7bb98790cef9f49558 on hierarchical.

Coverage increased (+0.2%) to 55.389% when pulling 7ba4d6d601122e57de12e368fdc6e6970b96f4ef on karsten/test-triangle into 2f963799e2b29ec502ceed7bb98790cef9f49558 on hierarchical.


File Reorganization with backward compatibility

Package installed in /opt/rocm
Wrapper header files and softlink to binaries for backward compatibility

@raramakr, I have a few questions regarding this change.

Should it be merged in 5.1 release?
Did you test it on the packages?
Did you run hipify-clang unit-tests?
Could you please explain your approach and how it works in more details?

Thank you!

@raramakr, I have a few questions regarding this change.

Should it be merged in 5.1 release?
Did you test it on the packages?
Did you run hipify-clang unit-tests?
Could you please explain your approach and how it works in more details?

Thank you!

@raramakr could you add more comments in the cmake file and a more descriptive commit message? thanks

@raramakr could you add more comments in the cmake file and a more descriptive commit message? thanks

Done

Hi @emankov Please find the details. Thought of replying after a sync up call. This was planned for 5.2 release, but may get moved to 5.3 Hipify Package installation and uninstall done Tested hipiify-perl and hipifify-clang for the sample app square.cu Ran hipify-clang unit-tests with latest changes(76 passed , 1 failed - failure seems to be not related to this change) Hope we can discuss in a call on the approach and other

Thank you, @raramakr. I anticipate the failed test is about GL\glew, if yes, it is definitely unrelated.

Pls find the details on failed test case
/tmp/lit-tmp-dkht8ff6/cudnn_softmax.cu-d076fa.hip:6:10: fatal error: 'cudnn.h' file not found
Failed Tests (1):
hipify :: unit_tests/libraries/cuDNN/cudnn_softmax.cu
Testing Time: 2.46s
Passed: 76
Failed:  1

Hi @emankov Please find the details. Thought of replying after a sync up call. This was planned for 5.2 release, but may get moved to 5.3 Hipify Package installation and uninstall done Tested hipiify-perl and hipifify-clang for the sample app square.cu Ran hipify-clang unit-tests with latest changes(76 passed , 1 failed - failure seems to be not related to this change) Hope we can discuss in a call on the approach and other

Thank you, @raramakr. I anticipate the failed test is about GL\glew, if yes, it is definitely unrelated.

Pls find the details on failed test case /tmp/lit-tmp-dkht8ff6/cudnn_softmax.cu-d076fa.hip:6:10: fatal error: 'cudnn.h' file not found Failed Tests (1): hipify :: unit_tests/libraries/cuDNN/cudnn_softmax.cu
Testing Time: 2.46s Passed: 76 Failed: 1

Looks like -DCUDA_DNN_ROOT_DIR was not provided in hipify-clang cmake command line.


Hosting on Heroku

Is it possible to self-host NadekoBot on Heroku?

Yes, there is a 1.3b version of Nadeko, which means:

Multiple prefixes.
Many new commands are not added.
If your server needs/has categories, the bot will not work.

@JGriffin34432 You can close this issue. It's solved.

It's not officially supported.


where compiler?

You need to compile it yourself.

But how, without sln

Make sln yourself

how lol

how lol

google visual studio how to make new c++ project

make an empty project, then import all files to the project, like hpp and cpp.


Show original C error messages

For crashes, it would be great if it showed the original error message rather than the original line number. So instead of:
File: /home/runner/work/cimgui-go/cimgui-go/cimgui/imgui/imgui.cpp, Line: 9932
exit status 1

pointing to https://github.com/gabstv/cimgui-go/blob/main/cimgui/imgui/imgui.cpp#L9932
It would instead give the error: Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?
or even the full line: IM_ASSERT_USER_ERROR(g.CurrentWindowStack.Size == 1, "Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?");
I'm not familiar with cgo so I'm not sure how feasible it is, but it would definitely save a lot of time when debugging.

I got this working, though it's a bit hacky: ebiden_debug.sh.txt
$ ebiden_debug.sh go run .
Hello World!
File: /home/runner/work/cimgui-go/cimgui-go/cimgui/imgui/imgui_widgets.cpp, Line: 7597
exit status 1
Line 7597 from imgui_widgets.cpp:
    IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup);  // Mismatched BeginMenu()/EndMenu() calls

The script works by extracting the line number from the error message and then retrieving the line from that file on github. Like: https://raw.githubusercontent.com/gabstv/cimgui-go/main/cimgui/imgui/imgui_widgets.cpp
This would be better if it used the local versions of those files, but I'm not quite sure where they are. Somewhere in GOPATH I'm sure.


config: subscription factory dependency injection.

While working on TDS, it became apparent that the xDS subscription tests are a bit conflated today,
since they include both testing of the xDS resource specific subscription and also things like the
REST fetcher, etc. This is because the subscription factory is a static, rather than a mockable
dependency of subscriptions. This PR transforms subscription factory to an instance object.
The PR is quite massive, but it has big pay-off in terms of reducing the boiler plate in xDS tests,
separating concerns and making it easier to add new xDS types. Given the recent additions of SRDS,
VHDS, TDS and FCDS, this seems worth it.
A number of xDS tests have been modified to work with the new pattern. Some tests and properties
that are orthogonally tested in subscription_factory_test or the gRPC/REST subscription tests are no
longer tested in the resource specified tests.
Some general absl::string_view goodness plumbing was also needed due to the new string_view-based
interface.
Risk level: Medium
Testing: Modified a number of resource specified xDS unit tests.
Relates to #6708.
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

@fredlas @dmitri-d @AndresGuedez @silentdai  this is the cleanup PR that should make adding new xDS a bit easier.

@lizan looks like clang_tidy is now passing; if you could approve, I'll merge when CI passes.


Add https://wiki.fricklers.org/abstand.html

I don't know why there are 2 additions and I don't know how to fix it :/

The second diff is just because of the end of the last line.
But I‘ve added Abstandsmesser in PR #12 (still open) too. 😀

Hi!
I merged #12 before and now we have a merge conflict.
I could resolve it if you like and also merge the two additions for Abstandsrechner like:

Abstandsrechner

GitHub - Text
Website - Text


Print toplevel comments with Doxygen syntax

In Microsoft mode, comments are printed with a special syntax so that they can be interpreted by documentation tools. This is actually a good idea, and we should do the same by default, on the basis that if a comment is not proper Doxygen syntax, nothing bad happens.
CCing @duesee and @franziskuskiefer who have requested this

A well-invested asterisk 🥂 Thanks!

CI seems to be dead. I'm going to "yolo this" and cross my fingers I don't have to revert.


Fix/docker disk usage issues

By cloning with --depth==1:

install-dpf-server goes from 3mn30s down to 30s
install-dpf-docker goes from 7mn40s down to 2mn36s

Approving for now, but we absolutely need to add a .dockerignore because .git folders are included in the docker build context (the .git from pydpf-core and the .git from dpf-standalone repo)

See https://github.com/ansys/pydpf-core/actions/runs/8926448235/job/24517586251#step:12:425


feat: add dcql

Adds support for DCQL. Depends on https://github.com/openwallet-foundation/credo-ts/pull/2100

Probably need to wait for Credo and OID4VP pr to be merged
Or we need to depend on this patch, but then @Tommylans will probably have issues with his federation branch


Docs are down

Hey there, just wanted to let you know that your docs are down currently.
When clicking on the sub-page it shows a 500 internal server msg :)

I assume you mean for js.hyperui.dev, right? I have downgraded the version of Next JS which should be the fix. However, there are still errors in the console. I'll keep looking.

Should be all resolved now from #59


Discussion on security

I'm curious about something: if we properly publish limited content to a certain client, and don't secure any of the Astro classes, is there any harm in this?

Since Meteor 1.3 and using imports, things are no longer global, so people can't use the browser console to hack things.
Even if someone could access the Astronomy classes somehow, and none are secured, all they could do is ruin their own content (since I'm not publishing other people's stuff to them).

In what kinds of scenarios would it be problematic to set secured: false on all my Astronomy classes?

In Astronomy 2.1 I will introduce compatibility breaking change that will secure all classes by default.

It's still possible to access Astronomy classes using Astro.Class.get('className') so you can perform some dangerous operations.
In theory yes, but if they know ID of some document that does not belongs to them they can modify such data. Moreover even changing their own data (they are subscribed to) may cause security issues. They can change ownership of some documents, they can change their own privileges etc. So, you should always think about security.

I will make Astronomy 2.1 more secure by default, but it still does not guarantee anything. With or without Astronomy you should always think about security.

Ahh right, since Astronomy is a Meteor package, its namespace is still global. I didn't think of that. Ok, all makes sense. Thanks for clarifying!


Switching theme (light/dark) removes unsaved content

If you are on /add_new and switch to a different theme the content you were writing is discarded.
Preferably the switching theme shouldn't destroy the content, at minimum if you have written any content it should ask if you want to discard your changes or cancel.

Hi @Jerakin
I also think a popup would be the easiest way to implement this asap. I'll try to do it when I have some spare time!

Fixed in https://github.com/Linbreux/wikmd/pull/135


How can we use it as a scrollable ?

Hey! Unfortunately you can't, but i saw other libraries that could do that, don't have a link around though


match import fails when using s3 storage method

Issue Description
When I try to import existing .cer and .p12 files using the s3 storage method an error is thrown about a missing required option. I am specifying my S3 credentials, region, and bucket name in a Matchfile.
~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/bucket.rb:856:in `extract_name': \e[31m[!] missing required option :name

Command executed
fastlane match import --storage-mode=s3

Complete output when running fastlane, including the stack trace and command used

[✔] 🚀
[11:18:03]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[11:18:07]: Successfully loaded '/path/to/Matchfile' 📄
+----------------------+------------------------------------------+
|               Detected Values from './Matchfile'                |
+----------------------+------------------------------------------+
match file stuff
+----------------------+------------------------------------------+
~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
[11:18:07]: Certificate (.cer) path:
paths to cert
~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
[11:18:24]: Private key (.p12) path:
paths to cert
~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
[11:18:37]: Provisioning profile (.mobileprovision or .provisionprofile) path or leave empty to skip this file:
[11:19:58]: To not be asked about this value, you can specify it using 'git_url'
~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
[11:19:58]: URL to the git repo containing all the certificates: ^D
Looking for related GitHub issues on fastlane/fastlane...
➡  Deliver to App Store fails on missing "whatsNew" attribute for app updates
https://github.com/fastlane/fastlane/issues/17318 [open] 4 💬
a day ago
➡  App screenshot missing (APP_IPAD_PRO_3GEN_129)
https://github.com/fastlane/fastlane/issues/16975 [open] 4 💬
3 days ago
➡  download_dsyms: 'Could not find latest bulid for version' error but version exists in App Store Connect
https://github.com/fastlane/fastlane/issues/17202 [open] 15 💬
a week ago
and 590 more at: https://github.com/fastlane/fastlane/search?q=missing required option %3Aname&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
Traceback (most recent call last):
19: from ~/.rbenv/versions/2.7.1/bin/fastlane:23:in <main>' 	18: from ~/.rbenv/versions/2.7.1/bin/fastlane:23:in load'
17: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/bin/fastlane:23:in <top (required)>' 	16: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in take_off'
15: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:25:in start' 	14: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:187:in run'
13: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	12: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
11: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	10: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
9: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	 8: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:146:in block (2 levels) in run'
7: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/importer.rb:36:in import_cert' 	 6: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/storage/s3_storage.rb:96:in download'
5: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/helper/s3_client_helper.rb:49:in find_bucket!' 	 4: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/helper/s3_client_helper.rb:49:in new'
3: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in block in <class:Bucket>' 	 2: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in call'
1: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/bucket.rb:24:in initialize' ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/bucket.rb:856:in extract_name': missing required option :name (ArgumentError)
19: from ~/.rbenv/versions/2.7.1/bin/fastlane:23:in <main>' 	18: from ~/.rbenv/versions/2.7.1/bin/fastlane:23:in load'
17: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/bin/fastlane:23:in <top (required)>' 	16: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in take_off'
15: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:25:in start' 	14: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:187:in run'
13: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	12: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
11: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	10: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
9: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	 8: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/commands_generator.rb:146:in block (2 levels) in run'
7: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/importer.rb:36:in import_cert' 	 6: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/match/lib/match/storage/s3_storage.rb:96:in download'
5: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/helper/s3_client_helper.rb:49:in find_bucket!' 	 4: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/fastlane-2.161.0/fastlane/lib/fastlane/helper/s3_client_helper.rb:49:in new'
3: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in block in <class:Bucket>' 	 2: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in call'
1: from ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/bucket.rb:24:in initialize' ~/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/aws-sdk-s3-1.81.0/lib/aws-sdk-s3/bucket.rb:856:in extract_name': \e[31m[!] missing required option :name

Environment

fastlane gems

Gem
Version
Update-Status

fastlane
2.161.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

faraday
1.0.1

faraday_middleware
1.0.0

gh_inspector
1.1.3

mini_magick
4.10.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

naturally
2.2.0

simctl
1.6.8

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

mini_mime
1.0.2

signet
0.14.0

httpclient
2.8.3

google-api-client
0.38.0

emoji_regex
3.0.0

uri
0.10.0

nanaimo
0.3.0

colored2
3.1.2

claide
1.0.3

CFPropertyList
3.0.2

atomos
0.1.3

xcodeproj
1.18.0

public_suffix
4.0.6

tty-screen
0.8.1

excon
0.76.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

fastimage
2.2.0

json
2.3.1

dotenv
2.7.6

bundler
2.1.4

jwt
2.2.2

uber
0.1.0

retriable
3.1.2

multi_json
1.15.0

os
1.1.1

memoist
0.16.2

googleauth
0.13.1

rake
13.0.1

digest-crc
0.6.1

google-cloud-errors
1.0.1

google-cloud-env
1.3.3

google-cloud-core
1.5.0

google-cloud-storage
1.29.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-partitions
1.375.0

jmespath
1.4.0

aws-sdk-core
3.107.0

aws-sdk-kms
1.38.0

aws-sdk-s3
1.81.0

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

timeout
0.1.0

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

date
3.0.0

delegate
0.1.0

fileutils
1.4.1

io-console
0.5.6

zlib
1.1.0

singleton
0.1.0

rexml
3.2.3

open3
0.1.0

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

webrick
1.6.0

It looks like the problem is with this code https://github.com/fastlane/fastlane/blob/master/match/lib/match/importer.rb#L18-L35
The params s3_bucket parameter needs to be passed into the underlying storage class. None of the S3 specific params are being passed into the S3Storage class instance.

@ryechus Thanks for reporting this! I think this is fixed in https://github.com/fastlane/fastlane/pull/17291 but I will verify and fix it if it isn’t 😊
This new match changes should be going out this week (maybe early Thursday morning)

This should be fixed in latest release! ❤  Feel free to let me know if you run into any other issues!


Getting (automatic) updates for Circuit Maintenance

First of all thanks for the plugin.
Is your feature request related to a problem? Please describe.
Its more like a question and also a request at the same time. I wonder how the circuit updates are performed, is this by adding it yourself?
Or is it also possible to look in emailbox/website or something, which would be the perfect solutions. That it then can update it automatically. Not sure if this is even possible.
Describe the solution you'd like
I would like to grab it somewhere from a email box. With certain tags that it then can add the information.
Describe alternatives you've considered
Havent yet only doing it by hand.
Additional context
As described above.

@deku-m The intention of the plugin was to separate the logic of automatically parsing notifications from carriers due to the varying methods of doing that.
Personally, I use AWS SES & Lambda to automatically parse notifications using networktocode/circuit-maintenance-parser and pass them to the plugin via the Netbox API.

Interessting, do you might know how this might be working with for example Office 365.
Would be great if its written in the docs?

Documentation for using SES to automatically parse maintenance notifications is now available. As I release more parser examples the docs will be updated here https://jasonyates.github.io/netbox-circuitmaintenance/parsers/

Documentation for using SES to automatically parse maintenance notifications is now available. As I release more parser examples the docs will be updated here https://jasonyates.github.io/netbox-circuitmaintenance/parsers/

This is awesome thanks a lot.

I think we can close this.


Bump to protobuf==3.18.3 within lbry-sdk repo causes MacOS unit test failures

Hub/setup.py protobuf version was bumped in this change:
75d64f9dc6d3b2c913b8b10053bd3589e7a2e8eb
However, when I try to apply a corresponding change in lbry-sdk/setup.py:
(lbry-venv) swdev1@Jonathans-Mac-mini lbry-sdk % git diff
diff --git a/setup.py b/setup.py
index bd468c687..4c736f646 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ setup(
         'base58==1.0.0',
         'cffi==1.13.2',
         'cryptography==2.5',
-        'protobuf==3.17.2',
+        'protobuf==3.18.3',
         'prometheus_client==0.7.1',
         'ecdsa==0.13.3',
         'pyyaml==5.3.1',
@@ -57,7 +57,7 @@ setup(
             'jsonschema==4.4.0',
         ],
         'hub': [
-            'hub@git+https://github.com/lbryio/hub.git@929448d64bcbe6c5e476757ec78456beaa85e56a'
+            'hub@git+https://github.com/lbryio/hub.git@75d64f9dc6d3b2c913b8b10053bd3589e7a2e8eb'
         ]
     },
     classifiers=[

The MacOS unit tests start to fail:
https://github.com/moodyjon/lbry-sdk/actions/runs/3933945634
I'm uncertain whether this is due to use of "coverage" tool, GitHub CI, or OS/arch issue.
Unit tests work fine when run locally on my machine (MacOS 13.1 / arm64). I have a development branch which was bumped to "protobuf==3.20.1" for other reasons (stringmap_extensions), and it didn't have the same effect of breaking the test.

This blocks linking to a new version of hub in lbry-sdk/setup.py. I think the change should be reverted, or we go to a higher version of protobuf that does not have the same problem.


Side Nav

When an icon (I've tried Material Icons and FontAwesome icons) included in li tag on side nav, the list broke

Check the https://github.com/Dogfalo/materialize/issues/3400
If you using 0.97.7  release, just put "side-nav" outside nav


make sphinx == strict_sphinx and bump to v7.3

Removes strict-sphinx tox env (will submit a separate NO_CI commit for removing strict_sphinx = true from all pyproject.toml before merging this).
Makes sphinx now run strict as default for dataplane only (mgmt to come later).
Bumps our sphinx version to v7.3
Removes vnext issue creation for sphinx, this was a one-time effort to get every library on board

/check-enforcer override

@microsoft-github-policy-service rerun


client crash when creating hqm party

https://hastebin.com/omameguyap.sql
Hqm book is also empty when rejoining server, Quests are there in local world + other servers though.

duplicate https://github.com/breakinblocks/nutsandboltstorqued/issues/114

Is there no fix then? Lorddusk nor any contributors have replied to your original report a month ago.

It's an hqm issue, there's nothing that can be done on our end.


Ability to include non-db data in results returned by Prisma

Problem
It appears that appending/manipulating data return by Prisma currently is currently only handled by raw sql or manual data updates at application level.
Both these methods have disadvantages ie. raw sql means losing most ORM benefits and an inconsistent query language across the application, manual updates mean a secondary loop through the data which doesn't seem necessary.
The idea is to be able to change returned data the same way that the sql as below would do:
select 'abc' + field1, field2 from users
Suggested solution
Build this feature into Prisma's query language, perhaps something similar to:
  const res = await context.prisma.user.findUnique({
    where: {
      userid: id
    },
    transform: {
  field1: 'abc'+field1,
      field2: field1+' '+field2
}
  })

Alternatives
Additional context

Could Prisma Middlewares be an answer to your question? https://www.prisma.io/docs/concepts/components/prisma-client/middleware

Could Prisma Middlewares be an answer to your question? https://www.prisma.io/docs/concepts/components/prisma-client/middleware

Yes @janpio I guess middleware could be an option, it does feel like an overkill to run through this for every query just to update one field tho.
I did find this option too which is great, although it would only be for graphql: https://v1.prisma.io/tutorials/a-guide-to-common-resolver-patterns-ct08/#scenario:-add-a-custom/computed-field-to-a-prisma-model-via-the-application-schema-prisma-bindings

I think middlewares are made exactly for that - to modify the query parameters or to modify the returned data.
(Unfortunately just adding additional fields is not as easy even with the middlewares, as the types are precomputed and would not include that field. I am not 100% if that is what you want to achieve.)

Thanks @janpio I can accept that middelware is the solution then due to the reasons you mention.
The computed field option suits me better so I'm using that for now.

We already have an issue for virtual/computed fields so I am going to close this: https://github.com/prisma/prisma/issues/3394


Add Rules to Database

What does this do?
adds rules to the database
How was it tested?
CI
Is there a Github issue this is resolving?
https://github.com/bagelbits/5e-srd-api/issues/100
Did you update the docs in the API? Please link an associated PR if applicable.
no
Here's a fun image for your troubles

If it's not too much of a pain in the ass, can I also get you to own exposing the API endpoint when this gets merged in?

Yeah I can figure it out. I don't think it will be too hard

Why is it in this format? Why not use an actual formatting language that can easily be rendered, such as Markdown or HTML?
You use an arbitrary structure where some headers are titles, and some other aren't. This is not readable, this is not parseable. The rules, if you want to expose them, should be a huge String that is in a specific format easily parseable. As it is, it's worse than just text.

I'm mostly in agreement with @ogregoire here. The formatting used here is very inconsistent. Elsewhere in the API, where descriptions are just simple blocks of text, the arrays of strings work; but here, where there are bulleted lists, headings, tables, etc. that style is rather impractical. I would recommend using a single string of proper markdown (and we should settle on a flavour of markdown to support moving forwards, for consistency's sake).
Additionally, I'd love to see subsections as standalone objects, in their own collection, so that they could be queried independently of the entire rules section. E.g. if I want to see the "Cover" rules, I don't want to have to fetch the entire "Combat" rule section every time.
Also - and this may be one for a future PR - it would be cool to supply the tabulated data as computer-friendly JSON objects, alongside the formatted, human-friendly text.

Ah, that's my mistake. This is based on the discussion here:
https://github.com/bagelbits/5e-srd-api/issues/100
Also, so I don't loose it, here's the corresponding API PR

Welp... That was fastly accepted! I'd say there are still a lot of non-ascii characters, especially dashes and curved apostrophes. I can understand ½ and ×, but not the rest.

This is the command I used to find the non-ascii characters:
grep --color='auto' -P -n "[^\x00-\x7F]" 5e-SRD-Rules*

@ogregoire https://github.com/bagelbits/5e-database/pull/302

@ogregoire Well...I....  I'm sorry.

@bagelbits it's OK, no worries, plus @zachanator070 has been quick in providing a solution 😉


[FEATURE] Styling of My addresses and Order history

Describe how this feature will help us improve

Finish styling of my orders and my addresses
Is your proposal related to a problem?

#296
Acceptance criteria

[ ] add missing editable forms to my addresses
[ ] add missing editable forms to my orders
[ ] provide working mobile view for those components

To Do (2020-02-19):

[x] Move components like MyAddresses, MyProfile, OrderHistory to /page to create urls for them
[ ] Create routes for addresses/add or addresses/_id, to edit or add new address (components are already done)
[ ] Check mobile view


sendMessage invoked but no messageCallback defined

i am getting this error when i receive a notification

My code is:

Thanks in advance.
Titanium SDK : 5.5.1

What's the status of the app when this happens? Is it in the background, closed or open? Are you using the latest version of ti.goosh?

Hi... the app is open, and yes, i am using 1.6.1 version of the module.

Does this happen always?

Yeap... i am trying right now, cleaning the project, and rebuilding it again.. and is the same..

Confirmed one more time.
and for the record, the notification arrives. but i want to do something when that happend.

i want to insert the notification in a table to create a "notification counter".
But with no "callback" event, there is no way to doit.
Thanks for the help

Yeah I understand. The callback is supposed to work. That's why we put it there. We're going to investigate the issue and see why this is happening.

hi again, i dont know if this can help you to help me, but i tried the old module caffeine.gcm and i got the same error message.

maybe is some bad android configuration ?
thanks in advance.

Are you calling you iniciarApp on boot?

hi kopiro, yeap, iniciarapp() is a function, and i called just after some vars set.
The code you see, is the app.js
thanks.

Hi @jcsomac, maybe is not related, but you should never use the Ti.App.[VAR] form to store global objects.
From Titanium SDK starter tutorial:
Many users attempt to add to the Ti namespace as a means to persist data across contexts, extend / override native methods, etc. This can sometimes work but is very unreliable for the following reasons:
The Titanium end objects are really not true JavaScript objects. They are proxy representations of native operating system components. As such, they are constructed to pass through properties and method invocations. Your extensions could conflict with native functionality or interfere with proper operation of the proxy objects.
Sometimes you might be able to store things on the namespace but it's not changeable (i.e. an array stored on the namespace might not be able to be modified - mutable, etc.). Other-times your stored objects will be completely null.
Since this isn't an approved way of storing anything, there's no guarantee it will work in future releases of Titanium.
As a rule do not add to, or extend via the prototype, any object or module in the Titanium namespace. If you want to extend a core part of the Titanium API you should build a native module to accomplish this. If you're just looking for an extendible JS namespace, create your own (i.e. {{var MyApp={} }}).
Could you just try to write:
require('ti.goosh').registerForPushNotifications

Thanks Kopiro, and yes, this is old code and i am changing all that bad practices...
The problem persist when i try:
require('ti.goosh').registerForPushNotifications
but thanks anyhow..

hi guys... any news ? sugestions ?

Could you post an entire log of adb logcat | grep goosh with boot + notification?

Sorry @kopiro how can i do that ?

@jcsomac just open a terminal window and run the code adb logcat | grep goosh

BEM $ adb logcat | grep goosh
bash: adb: command not found
it was executed in the root folder of the project.

run it as android_sdk/platform-tools/adb logcat | grep goosh  where android_sdk is the path to your sdk

@jcsomac ?

Sorry i was on vacations...
here is the output:
platform-tools $ ./adb logcat | grep goosh
D/PMS     (  849): acquireWL(21a1b2de): PARTIAL_WAKE_LOCK  wake:com.bebesetmamans.forum/ti.goosh.IntentService 0x1 21357 10160 null
D/ti.goosh.IntentService(21357): Push notification received from:<PHONE_NUMBER>43
D/ti.goosh.IntentService(21357): Notification key : google.sent_time =><PHONE_NUMBER>165 (java.lang.Long)
D/ti.goosh.IntentService(21357): Notification key : data => {"badge":1,"data":{"parent":"9565","child":"9621"},"alert":"Une maman vient de répondre à votre question al reves !","sound":"default","force_show_in_foreground":true,"vibrate":true,"tag":"APP","id":76763,"only_alert_once":false,"title":"Réponse du Forum BébésetMamans"} (java.lang.String)
D/ti.goosh.IntentService(21357): Notification key : google.message_id => 0:1476888270182359%54275acff9fd7ecd (java.lang.String)
D/ti.goosh.IntentService(21357): Notification key : collapse_key => do_not_collapse (java.lang.String)
E/ti.goosh.TiGooshModule(21357): sendMessage invoked but no messageCallback defined
D/PMS     (  849): releaseWL(21a1b2de): PARTIAL_WAKE_LOCK  wake:com.bebesetmamans.forum/ti.goosh.IntentService 0x1 null

Could you try to do a full reinstall of app?

hi @kopiro, you
mean the titanium studio? or the android app?

The android app.

And that's it !!!
Worked like magic....
Is there any explanaition about this ?

Magic! :)
Anyway, I think something related to Android cache, but I don't really know.

A full re-install of my app also fixed: Sending event: exception on thread: AsyncTask #1 msg:java.lang.NullPointerException.


Lower the DOI for records when looking for duplicates

Duplicate records are not recognized when one DOI is (partially) capitalized and the other is not. This PR lowers all characters at comparison.

Very welcome!


Update scalafmt plugin.

Exit status 1 when running "sbt scalafmtCheck test:scalafmtCheck"

Details

[error] missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (test-utils / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (mesos-client / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (metrics / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (examples-keep-alive-framework / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (examples-mesos-client-example / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (persistence-zookeeper / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (examples-core-hello-world / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (mesos-master-detector / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (core-models / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (core / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (metrics-dropwizard / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (examples-simple-hello-world / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (persistence / Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] (Compile / scalafmtCheck) missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.5.2'.: /home/travis/build/mesosphere/usi/.scalafmt.conf
[error] Total time: 1 s, completed Jun 10, 2020 10:53:04 AM
restoring stty: 500:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

Exit status 1 when running "sbt scalafmtCheck test:scalafmtCheck"

Details

[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/helpers/MockedFactory.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/matching/RangeResourceMatcherTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/matching/ScalarResourceMatcherTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/FlowHelpersTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/revive/SuppressReviveHandlerTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/SchedulerTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/SchedulerLogicHandlerTest.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/helpers/MesosMock.scala isn't formatted properly!
[warn] /home/travis/build/mesosphere/usi/core/src/test/scala/com/mesosphere/usi/core/builders/SpecBuilderTest.scala isn't formatted properly!
[error] 2 files must be formatted
[error] 1 files must be formatted
[error] 1 files must be formatted
[error] 13 files must be formatted
[error] (mesos-client / Test / scalafmtCheck) 2 files must be formatted
[error] (persistence-zookeeper / Test / scalafmtCheck) 1 files must be formatted
[error] (examples-core-hello-world / Test / scalafmtCheck) 1 files must be formatted
[error] (core / Test / scalafmtCheck) 13 files must be formatted
[error] Total time: 2 s, completed Jun 10, 2020 11:07:24 AM
restoring stty: 500:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

@timcharper this is related to https://github.com/mesosphere/marathon/pull/7193


Remove minor typo

What was wrong?
Dangling "python" language specifier above code block
How was it fixed?
Remove unnecessary "python"

Codecov Report

Merging #549 (f7ef0d2) into master (8ee4ed7) will decrease coverage by 0.63%.
The diff coverage is 69.68%.

:exclamation: Current head f7ef0d2 differs from pull request most recent head 9fe1b12. Consider uploading reports for the commit 9fe1b12 to get more accurate results

@@            Coverage Diff             @@
##           master     #549      +/-   ##
==========================================
- Coverage   87.91%   87.28%   -0.64%
==========================================
  Files          87       87
  Lines        5653     5907     +254
==========================================
+ Hits         4970     5156     +186
- Misses        683      751      +68

Impacted Files
Coverage Δ

crates/parser/src/ast.rs
71.42% <69.68%> (+7.49%)
: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 0eb0898...9fe1b12. Read the comment docs.

Thanks for the fix :pray:


fix: priority level "info" to "informational"

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

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

Fixes #
Special notes for your reviewer:
Checklist

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] CHANGELOG.md updated

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

43566ec fix: priority level "info" to "informational"

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: kirin-13
To complete the pull request process, please assign bencer after the PR has been reviewed.
You can assign the PR to them by writing /assign @bencer in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

falco/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @kirin-13! It looks like this is your first PR to falcosecurity/charts 🎉


Energy Calibration Wiki Update

After this morning's conversation, I realized that the TGainMatch wiki is a little out of date. Some of the descriptions could be made more clear. We need to more clearly describe what it does how to use it (including the test channel). It would be ideal to have this page written in a way that the user knows exactly what's going on in the background, and can run it pretty close to a recipe.

I'm going to close this issue, it's not resolved, but it's part of the overall issue of documenting more ...


Update Set-DbaTempDbConfig.ps1

Updated Set-DbaTempDbConfig to move log file when no size option is passed and to resize the log file without moving it.

Type of Change

[X] Bug fix (non-breaking change, fixes #6895
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Fix an issue where the log files of tempdb weren't moved if the log file size wasn't passed.
Approach
Update to function so it allows the process to flow to the correct code and build the appropriate SQL statement.

@potatoqualitee looks good to me.

great thanks! will fix indentation then merge 👍

Passed! Thanks so much 🙇


redesigning the Join-Us page

I want to add styling to this page

Also Remove the home button

Also Remove the home button

What should I give here
An arrow??

Nothing


No new line in my generated CSVs

Q
A

OS
Ubuntu 22

PHP
80109

Laravel
9.34

Package
9.8

Question
Simplified I'm doing the following:
$csv = Writer::createFromFileObject(new \SplTempFileObject);

$header = ['item1', 'item2'];
$csv->insertOne($header);

foreach($responses as $response) {
    // In a loop, because I'm doing some mutations here per row
    $csv->insertOne([$response->item_x, $response->item_y]);
}

return response((string) $csv, 200, [
     'Content-Type' => 'text/csv; charset=UTF-8',
     'Content-Transfer-Encoding' => 'binary',
     'Content-Disposition' => 'attachment; filename="results.csv"',
]);

This initializes the download, but both header and rows appear in one line. In Excel, VSCode and Notepad I get one row.
I've tried setting newline to both \r\n and \n. Which I see in the file, but thus isn't parsed.
Anything I'm missing?

@axtg thanks for using the package.
Did you try to run your code without any other tool involved (ie: without Laravel response) to see if the behaviour was still present or not.
If new lines are present then I would suggest asking for help on a better helping channel dedicated to Laravel application.

@nyamsprod thanks for getting back to me.
That was the right nudge in the right direction. I've updated my code above with Laravel's streamDownload() method, which then works. One hick-up I then shortly encountered, for anyone reading, I defined setNewline as '\r\n', but that only works if you use double quotes "\r\n". Fyi.