[url_launcher]  Opening the Messenger app for the first time.

Is there an existing issue for this?

[x] I have searched the existing issues
[x] I have read the guide to filing a bug

Steps to reproduce
We have to wait over 5 second to open messenger app for the first time after we have clicked  icon.
https://drive.google.com/file/d/1fofXXn4NAZhS-wmyr6S4tQJ8--exZNRV/view?usp=sharing
Expected results
I want to open messenger app instantly for the first time after we clicked icon.
Actual results
I want to open messenger app instantly for the first time after we clicked icon.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

void main() {
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  void _incrementCounter() async {
    await launchUrl(Uri.parse("https://m.me/appcheap.io"), mode: LaunchMode.platformDefault);
  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body:const Center(
        child: Text('a'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]
s

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.13.9, on macOS 13.6.1 22G313 darwin-x64, locale en-VN)
    ! Flutter version 3.13.9 on channel [user-branch] at /Users/nguyenvantoan/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.84.2)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Can you confirm if you build the apk using --release flag, i.e flutter build apk --release?

Can you confirm if you build the apk using --release flag, i.e flutter build apk --release?

I did a release build but the problem still occurs.
i tested with Samsung s23 ultra and Iphone 11 pro max.
The bug happens in both
Thank you.

If that's the case, this looks like an issue with how Messenger app handles external requests, and not with how flutter sends these requests.
Let this be open for a while for others to share their thoughts.

Hi @VanToan08 This could depend on Messenger app. In case Messenger app is not loaded yet. When you open it from Flutter app, it triggers a cold start on Messenger app, it will be longer than hot start if the app has already opened.
You can try checking this with a simple Android native app to see if the issue persists or not. Also, let's try open other apps as well (not Messenger app)

Hi huycozy
I did the checks as you said. And other applications such as phone, sms, email work stably. And I also tested it on a real iPhone 11pro "ios16.3" device and it also works stably, but my customer checked and reported to me that the problem was on the 11Pro Max device as well. And I realize this will happen on most Android devices in all Android versions.
I think the possibility of the problem lies in the messenger app
Thank you for your comments on my article

Thanks for the update. This is quite vague because it depends on the device status at that time (memory, CPU usage...). It would be useful if you could replicate it consistently and see if it has any pattern. If you are unable to see it again, feel free to close it and write a comment when you have clear steps to reproduce.


The charm size got 10x bigger due to cygrpc.cpython-38-x86_64-linux-gnu.so with debug symbols

Bug Description
As you can see blow, the charm size got 10x bigger in candidate/beta/edge compared to the stable one.
$ juju info prometheus-k8s

...

channels: |
  latest/stable:     129  2023-09-04  (129)  10MB   amd64<EMAIL_ADDRESS>  latest/candidate:  146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>  latest/beta:       146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>  latest/edge:       153  2023-10-20  (153)  124MB  amd64<EMAIL_ADDRESS>  1.0/stable:        129  2023-09-11  (129)  10MB   amd64<EMAIL_ADDRESS>  1.0/candidate:     146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>  1.0/beta:          146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>  1.0/edge:          146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>
By looking into the content, the dominant factor is the following file in non stable ones.
$ du -h prometheus-k8s_edge/venv/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so
297M	prometheus-k8s_edge/venv/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so

After looking up the internet (https://github.com/grpc/grpc/issues/21958), there was a hint that the binary may contain the debug info in it. And indeed, stripping the debug info by hand trimmed down the size significantly.
$ strip --strip-debug prometheus-k8s_edge/venv/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so

$ du -h prometheus-k8s_edge/venv/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so
14M	prometheus-k8s_edge/venv/grpc/_cython/cygrpc.cpython-38-x86_64-linux-gnu.so

Not so sure how to fix the situation properly in this charm though.
To Reproduce
$ juju download --channel 1.0/stable prometheus-k8s
Base<EMAIL_ADDRESS>is not supported for charm "prometheus-k8s", trying base<EMAIL_ADDRESS>Fetching charm "prometheus-k8s" revision 129 using "1.0/stable" channel and base "amd64/ubuntu/20.04"
Install the "prometheus-k8s" charm with:
    juju deploy ./prometheus-k8s_r129.charm

$ unzip -d prometheus-k8s_stable ./prometheus-k8s_r129.charm

$ juju download --channel 1.0/edge prometheus-k8s
Base<EMAIL_ADDRESS>is not supported for charm "prometheus-k8s", trying base<EMAIL_ADDRESS>Fetching charm "prometheus-k8s" revision 146 using "1.0/edge" channel and base "amd64/ubuntu/20.04"
Install the "prometheus-k8s" charm with:
    juju deploy ./prometheus-k8s_r146.charm

$ unzip -d prometheus-k8s_edge ./prometheus-k8s_r146.charm

$ du -sh prometheus-k8s_*/
381M	prometheus-k8s_edge/
36M	prometheus-k8s_stable/

Environment
  1.0/stable:        129  2023-09-11  (129)  10MB   amd64<EMAIL_ADDRESS>  1.0/edge:          146  2023-09-11  (146)  123MB  amd64<EMAIL_ADDRESS>
Relevant log output
N/A

Additional context
No response

After #569, latest edge release is 26MB. It's more than 10MB as there are new libraries included, but it's not 126 MB anymore.
channels: |
  latest/stable:     159  2024-01-16  (159)  125MB  amd64<EMAIL_ADDRESS>  latest/candidate:  165  2024-01-16  (165)  127MB  amd64<EMAIL_ADDRESS>  latest/beta:       165  2024-01-16  (165)  127MB  amd64<EMAIL_ADDRESS>  latest/edge:       170  2024-02-01  (170)  27MB   amd64<EMAIL_ADDRESS>  1.0/stable:        156  2023-12-12  (156)  124MB  amd64<EMAIL_ADDRESS>  1.0/candidate:     159  2023-12-12  (159)  125MB  amd64<EMAIL_ADDRESS>  1.0/beta:          159  2023-12-12  (159)  125MB  amd64<EMAIL_ADDRESS>  1.0/edge:          159  2023-12-12  (159)  125MB  amd64<EMAIL_ADDRESS>


Unleash the power of Block Directive

Modifications

Unleash the full power for users to customize their own view instead of using MarkdownView
Update APIs
Re-structure related files

Custom View inside MarkdownView
Now, BlockDirectiveDisplayable gives you text from the body of block directives.
You can add custom view inside MarkdownView by implementing BlockDirectiveDisplayable.
Example
If you want to support LateX in your app along with MarkdownView.
Define your provider:
import LaTeXSwiftUI // https://github.com/colinc86/LaTeXSwiftUI

struct LatexProvider: BlockDirectiveDisplayable {
    func makeView(arguments: [BlockDirectiveArgument], text: String) -> some View {
        LaTeX(text).id(text)
    }
}

extension BlockDirectiveDisplayable where Self == LatexProvider {
    static var latex: LatexProvider { .init() }
}

Then, adding it to MarkdownView:
MarkdownView(...)
    .blockDirectiveProvider(.latex, for: "latex")

🎉 That’s it. Now if you write markdown like this:
# LateX

@latex { Euler's identity is $e^{i\\pi}+1=0$. }

You can see this:

Deprecations
The required function makeView(arguments:innerView:) has been replaced with makeView(arguments:text:)

Tips: If your custom view depends on previous innerView, you can replace it with MarkdownView(text: text)

This enhancement may satisfy the feature request: #19

@LiYanan2004 Thank you for your always great work. It works fine on my side. However, it seems @latex is a must in input string. Could you please share how can we go without that annotation? I think in most of Latex texts, there is no @latex annotation.

@hugo53 You’re right.
I mean you can now add LateXView as a part of MarkdownView. If you’re working on views with static markdown text, you can simply do that. If you are developing document editors, you can try to manually detect this syntax(use the dependency of LateXSwiftUI package) and dynamically wrap it using @latex annotation.
To sum up, It’s full of potential 😁

Yes I'm thinking about that as we may need to do preprocessing text in that case.
I have found another case, although it is rare, where LaTeX does not work if the text has both a code block and LaTeX text. Please check below image.

@hugo53 Congratulation. You found a bug of swift-markdown.🤣 This bug only occurs when the code block is the first Markdown item. I will report this bug.

@LiYanan2004 Ah correct, I added some words at first and it works fine now. Weird bug 🤣

@hugo53 Based on the documentation, you can extract ranges that contains LateX Syntax using this method:
func findLateXRanges(in text: String) -> [Range<String.Index>] {
    let singleDollarPattern = #"\$((?!\$).)+\$"#
    let doubleDollarPattern = #"\$\$(.+)\$\$"#
    let squareBracketsPattern = #"\\\[(.+)\\\]"#
    let beginEndPattern = #"\\begin{equation}(.+)\\end{equation}"#
    let beginEndWithAsteriskPattern = #"\\begin{equation*}(.+)\\end{equation*}"#
    let pattern = try! Regex("\(doubleDollarPattern)|\(singleDollarPattern)|\(squareBracketsPattern)|\(beginEndPattern)|\(beginEndWithAsteriskPattern)")
    return text.matches(of: pattern).map { $0.range }
}

@LiYanan2004 Thank you for suggestion. I will check more on that!


Disable changing this. to globalThis. in VSCode Insiders

VSCode Version: latest Insiders
OS Version: Ubuntu 19.10

Steps to Reproduce:

Just type this. on a new line anywhere inside Javascript file
Upon typing of ., the this. is auto-corrected to globalThis.

Does this issue occur when all extensions are disabled?: Yes

As you start typing thi does the autosuggest list appear?
If yes, I assume globalThis is listed first, and this doesn't appear.
Where is globalThis coming from in your project?
Can you reproduce the issue if you launch a fresh VSCode with nothing open, then create a new .js file, then enter some code?
Also maybe worth knowing that when the autocomplete list is showing you can add an explanation panel to it by typing Ctrl+/

Also, did you perhaps disable keyword suggestions? Make sure "editor.suggest.showKeywords": true is set

All good suggestions. I will be able to respond on Monday as this happens only on my job's machine.

The issue was caused by this deprecated setting:
 "editor.suggest.filteredTypes": {
    "keyword": false
  },

removing it, fixed the problem and I will close the issue.


I know this is not a part of T-SQL but they are accepted and run by Invoke-SQLCMD. However, Invoke-SQLCMD2 does not.
The workaround is to remove these statements by script, but there are some cases where this breaks it (as when a CREATE VIEW is done, it must be in a separate batch). The second workaround would be splitting the scripts, but that would take a long time and generate more complexity to the project.
So I had to sadly revert to old Invoke-SQLCMD.
Is there any option to make Invoke-SQLCMD2 accept these files ?
Thanks in advance...

Hiyo!
I know this isn't always possible, but generally, I'd recommend (1) not writing queries with GO, and (2) modifying existing queries that you need to not use GO.
If that's not possible, your best bet will be something that supports GO.
Some folks have suggested splitting on GO and submitting multiple queries.  Not a big fan of this.  Outside of any functional differences, this would IMHO be impossible to reliably parse.  I suppose we could throw in a -SplitOnGO that attempts this, with the assumption that it can and will break given certain query strings.... but I would personally advocate against that : )
Anyone else want to chime in?  This isn't really my area of expertise!
Cheers!

welll....techinically the "GO" in "sqlcmd mode" is only valid for lines starting with GO and nothing else but spaces (or tabs, etc).
soooooo, apart from being able to handle different resultsets (which I'm not sure it's the proper case) and/or error management, splitting should be a breeze
 [regex]::split($thestatement, '(?smi)^[\s]?GO[\s]?$')

I believe @niphlod's suggestion to split on GO is what's used in the Install-DbaWhoIsActive command in dbatools to break up the batches and run them independently.

Awesome!  Didn't realize that was a restriction - if so, that solution makes sense to me : )
Might consider whether to add a switch to parse this, or to just make it clear that this happens in the comment based help - doing this by default won't be a breaking change, as this was never supported in the past.
Cheers!

Are there any plans to add support for GO statements?

Hiyo!
So! Not a DBA, and I'll defer to DBAs, but given what @niphlod mentioned (GO only supported if it's the first and only word on a line), personally I think it would be safe and convenient to support this by default.
Cheers!

I think its a bit harder than the regex you propose @niphlod, check out https://github.com/chucknorris/roundhouse/blob/master/db/SQLServer/TestRoundhousE/up/0003_TestBatchSplitter.sql

There are definitely ways to avoid depending on SMO for "uber-parsing" (https://stackoverflow.com/questions/7690380/regular-expression-to-match-all-comments-in-a-t-sql-script/33947706#33947706) but I reallly think anything exported from dbatools or any other "sane" client would solve the 99% of the cases invoke-sqlcmd2 now "suffers".
Let's face it, the real deal here is that despite the name, invoke-sqlcmd2 will never be 100% compatible with sqlcmd2,isql,osql weird syntaxes (irregardless of go, and nested comments, there is also :setvar: .... ). Can't we just help with the 99% and leave the weird 1% aside instead of refuse to help where we know for sure there is a good usercase scenarios ?

Hiyo!
A reasonable compromise might be to include some form of GO parsing, but only if a -ParseGo or similar switch is indicated.
IANADBA, but my initial thoughts on implementation:

Given that existing code is independent of SMO, use a text-based parsing method
Indicate shortcomings of parsing method in parameter description
Continue to recommend the SMO Query method for queries involving GO and other Microsoft specific bits where they make sense (e.g. queries that don't need to be parameterized)

This way the command would continue to work as is, but folks who want to use it with queries involving GO can do so, with a built in option and minimal effort.
I'd defer to DBAs and other dbatool authors, take my thoughts with a grain of salt : )
Cheers!

I'm all in favour of the previous points.
Recapping a bit, so we can "close the deal"...

Basically a little modification of the original to include yet another corner case, i.e. [regex]::split($thestatement, '(?smi)^[\s]*GO[\s]*$') works for all split statements, in the "perfect" way (i.e. there are no cornercase to advertise about possibly incorrect splits on GO).
This would leave basically only 2 open points on "SMO" vs "text-based" parsing:

setvar statements
comments

For the original requirement of this issue, "supporting GO statements", the aforementioned solution is a win-win.
Setvar will probably never implemented, but for comments (which DO NOT consider nested ones) there's yet another simple and fast regex to the rescue.
Implementing BOTH regexes (comments parsing and GO splitting) will make invoke-sqlcmd2 on par of SMO/invoke-sqlcmd/sqlcmd/isql/osql except for:

setvar statements
nested comments

If you're all on board with it, I'll make a PR and you can throw at it everything you can think of to test we aren't introducing bugs.

Please fix this as it will be incredibly useful for script deployments.

@niphlod  this doesnt seem to work
I tried using -parsego swtich and it throwed me error saying "Invoke-Sqlcmd2 : A parameter cannot be found that matches parameter name 'ParseGo'."
below are commands i used. please help.
invoke-sqlcmd2 -ServerInstance $srv -Credential $pscredential -Database master -Query $q1  -ParseGo true
invoke-sqlcmd2 -ServerInstance $srv -Credential $pscredential -Database master -Query $q1  -ParseGo


netlify dev --live: Media / MP4 serving error

There is an error working with .mp4 files. I am trying to use the live plugin with the Restaurant Hugo demo site: https://github.com/netlify/restaurant-template-cms that is in the JAMStack tutorial: https://www.netlify.com/blog/2017/10/06/coding-modern-websites-with-the-jamstack-part-1/
It has a number of .MP4 files that are shown in the template and the local server returns the following error trying to server them:
`
/usr/local/lib/node_modules/netlify-cli/node_modules/netlify-redirector/lib/redirects.js:116
throw ex;
^
Error: Parse Error
at Socket.socketOnData (_http_client.js:442:20)
at Socket.emit (events.js:189:13)
at addChunk (_stream_readable.js:284:12)
at readableAddChunk (_stream_readable.js:265:11)
at Socket.Readable.push (_stream_readable.js:220:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)
ERRO[0013] Failed to do http request to local service    error="Get http://localhost:8888/videos/SDVid.mp4: EOF" request_id=d0001618-6bb2-4e3a-9604-19f7378de713`

This is unrelated to --live and also doesn't work without the --live flag.
To fix it:

npm install<EMAIL_ADDRESS>(required to fix gulp on Node.js >=10). See here
Add the following to netlify.toml

[dev]
command = "npm run start"
framework = "#custom"
targetPort = 3000

netlify dev --live should work

Closing. Please comment if the issue is still relvant.


[Screencast] Smooth showing/hiding of marker

Screencast is blinking too much. This PR adds transition to toggle it a bit smoother.

@dbaeumer I tweeted about it, but @joaomoreno is the author

Thanks! :beers:


Package request: Microsoft Autogen

Project description
This may not need to be separately packaged since it already exists as a Python package, but figure I'll submit it for consideration in case someone wants it as a nix pkg.
AutoGen is a framework that enables development of LLM applications using multiple agents that can converse with each other to solve tasks. AutoGen agents are customizable, conversable, and seamlessly allow human participation. They can operate in various modes that employ combinations of LLMs, human inputs, and tools.
Intro: https://www.microsoft.com/en-us/research/blog/autogen-enabling-next-generation-large-language-model-applications/
Metadata

homepage URL:  https://microsoft.github.io/autogen/
source URL:  https://github.com/microsoft/autogen
license: mit
platforms: unix, linux, darwin

I have to get FLAML up first as a dependency (and potentially openai) then I can take a swing at this.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/single-or-multiple-prs-when-adding-a-new-package-w-missing-deps/43355/1

Currently blocked by automl/ConfigSpace#338


Show a confused message when trying to change the default group on 'Manage Access' dialog

Storage Explorer Version: 1.7.0/20190221.1
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Commit: a1fecf3f
Regression From: Not a regression
Steps to Reproduce:

Expand one ADLS Gen2 account -> 'Blob Containers'.
Right click one blob container then select 'Manage Access...'.
Click 'Edit' icon next to the default group $superuser(Owning Group) -> Clear the group name then check the messages.

Expected Experience:

The placeholder shows 'Enter an Object ID'.
The error message shows 'No Object ID specified.'

Actual Experience:

The placeholder shows 'Enter a UPN or Object ID'.
The error message shows 'No UPN  or Object ID specified.'

Notes: The UPN is just for users not groups.

Hey @v-xuanzh , I also thought this would be the case! But I double checked with the platform team, and the owner/owning group can be either a user or a group, which means we need to allow the user to enter either a UPN or an OID. Definitely confusing, but that's the intended design apparently.


Rector assisted update to PHP 8.1

First 2 commits are done by https://github.com/rectorphp/rector. The last one if my own fixed for issues generated by PHPStan.

Almost done. I want to take a stab at InheritDependency skipped violation. :)
So far 800 deleted lines of code we could afford with PHP 8.1


Consider usage of rom_phy_disable_cca()

Based on another thread in my Discord, the rom function, esp_rom_phy_disable_cca()  was brought up.  I am putting this here as a note - that it might be a way to use good P2P on the swadges, without having to earmuf them so bad with the IGI killer.
The test should be done where the IGI code in esp-now would be removed, in a challenging RF environment where you also disable CCA with, and do a pingstream to the swadge and see if it continues to behave well.

To be clear, I am proposing I do this test. I would like to do it later this month, maybe next month, but will need to do it in a nasty RF environment.

@cnlohr status on this?

I have time, but I am worried this will need testing at event.  I can do it there.  So yes, let's kick to next year, and I will do testing at-event.


Use caching to speedup github runners

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows
OpenMPI on github macos runners?

Closing as not really important and @henryleberre already partially investigated anyway (max. cache size could be a problem).


Why when I use top_image I always get None

Is it error or I do something wrong, every time I try to use article.top_image it return None. No matter what url I pass it is always the same.

Can you provide an example URL that is failing? Also a code sample of how you configured goose3 would be helpful.
According to the docs, you need to enable image fetching (it can take awhile) or it will always be None.
from goose3 import Goose3

with Goose3({'enable_image_fetching': True}) as g:  # include pulling images
    article = g.extract(my_url)
    print(article.top_image) # or whatever you want to do with it

The docs might need to be updated in the Article section to mention that it has to be enabled in the configuration.

As for url I pass articles from cnn, nytimes other news outlets articles but still, it always returns None.
url = 'https://10ways.com/improve-yourself/10-ways-to-improve-your-sleep-so-the-following-day-youre-more-productive/13262'
goose = Goose()

article_goose = goose.extract(url)
print(article_goose.top_image)

Solved this issue
from goose3 import Goose, Configuration

url = 'https://10ways.com/save/how-to-save-money-on-the-philips-perfect-draft-system-beer-kegs-includes-beerhawk/12878'

config = Configuration()
config.enable_image_fetching = True

g = Goose(config)
article_goose = g.extract(url)

Thank you very much for directing me to look for enabling this feature.

Glad to help and good luck!


add a way to convert an IResult to a std::result::Result

Coverage remained the same at 84.319% when pulling 24c6429c730f93716628b64d256da33bdc131b5d on Keruspe:master into b71491d638e3a418265061fda2ed8ece87c33b3d on Geal:master.

Coverage increased (+0.06%) to 84.378% when pulling 105988f96065bf998ac2296a268bc7ecaf72df92 on Keruspe:master into b71491d638e3a418265061fda2ed8ece87c33b3d on Geal:master.

This is more a RFC than a real pull request. Not sure which way you'd prefer to do things.

Coverage increased (+0.05%) to 84.368% when pulling 149d25deb9cdbf6a34f90a0224f01f6454b44f95 on Keruspe:master into b71491d638e3a418265061fda2ed8ece87c33b3d on Geal:master.

I feel there should be two implementations: one that returns Result<O, IError<I,E>> and one that returns Result<O, Err<I,E>>. Can you add the other one?

What do you think of this approach?

Coverage increased (+0.08%) to 84.44% when pulling 070cbe8842982aa04dba5369865c719f5a6a1aa9 on Keruspe:master into a286aa42207ecb9a107017549c50f9fa1ea3dfe8 on Geal:master.

Coverage increased (+0.08%) to 84.44% when pulling 070cbe8842982aa04dba5369865c719f5a6a1aa9 on Keruspe:master into a286aa42207ecb9a107017549c50f9fa1ea3dfe8 on Geal:master.

Coverage increased (+0.07%) to 84.43% when pulling 71dae2c892f30a548aa3f25d8b57980fadc4a7e5 on Keruspe:master into a286aa42207ecb9a107017549c50f9fa1ea3dfe8 on Geal:master.


Cloning an existing repository during setup doesn't work

Summary
Cloning an existing repository during setup doesn't work
Steps To Reproduce
Have a pre-existing gopass git repository remote that functions (has a non-empty .gpg-id file at minimum). In my examples, I'll call this remote:gopass-store. This, for me, is a --bare git repository and works between two computers, and I'm trying to add a third to this setup.

Run gopass setup
Select private key
Enter email address<EMAIL_ADDRESS>Say "Yes" to "add a git remote" and enter remote:gopass-store

Expected behavior
Gopass first clones the remote:gopass-store repository (if it is empty, git will warn but not error), then adds the email<EMAIL_ADDRESS>or GPG identifier to .gpg-id, creates a git commit, and syncs this back to the remote.
Actual behaviour
Gopass creates a new repo, adds<EMAIL_ADDRESS>or the GPG identifier to .gpg-id and then tries to push to remote:gopass-store which obviously fails.
Environment

OS: Gentoo stable
OS version: linux 5.15.69
gopass Version: 1.14.4 go1.19.1
Installation method: Gentoo's portage

Additional context
Reading setup.go it looks like it assumes that the root repository will not be shared - it only attempts to join or create if both remote and team are given. I don't know if this is just an oversight, or if its intentional that the root repository should not be easily shareable. For what it's worth, my use case is that this root store is my personal store, I'm sharing it between two personal laptops and desktop, and I have a work store shared with work. I don't have any passwords that I don't want to at least put into one of those stores, so if I make a personal team then my root store will be empty. This is slightly annoying, as I'll have to use a prefix to my personal team, which I'd prefer to be prefix-less aka the default.

IIRC your assumption is correct, i.e. setup.go assumes to not share the root store.
This is not great UX and we should support your use case better.
Thanks for the detailed description.

Actually cloning is left to gopass clone. `gopass setup is not intended to support that use-case.
So if you have an existing remote just use gopass clone <remote>.
Maybe we should give a hint during setup?

I no longer have exact errors, but I did try using gopass clone first (i.e., without setup) but it would complain either when gopass clone is run, or when gopass list is run after cloning, that setup had not yet been run. I probably just wasn't using the right flags to clone, though.

I just tried it and it did work for me in a clean test setup.
In case you can reproduce please let us know and re-open this issue.


Create method to organize download content

A method should be created to organize and store the downloaded data.
I suggest to store as
[database_name]/[year|state|type]/[data]
So, TSE data would be stored like
tse/SP/candidatos.csv
and Infraero as
infraero/2015/statistics.csv
One challenge is how to do that on a Mac, Windowns and Linux.

the method should probably call os.path.expanduser(~), as per this this link and reference to decide on where to put the data. this seems to work well on all OSes.

So, should we create a bradata dir at the home folder?
On Sun, Mar 26, 2017, 17:57 bruno cuconato<EMAIL_ADDRESS>wrote:

the method should probably call os.path.expanduser(~), as per this this
link
http://stackoverflow.com/questions/10170407/find-home-directory-in-python
and reference
https://docs.python.org/3/library/os.path.html#os.path.expanduser to
decide on where to put the data. this seems to work well on all OSes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/labFGV/bradata/issues/9#issuecomment-289314617, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATCfVOlSjxfHvRbJVXRFwEwtObB4yWgSks5rptEjgaJpZM4Mo2-a
.

--
João Carabetta / Data Developer
https://htmlsig.com/t/000001CA95SE
[image: Facebook] https://htmlsig.com/t/000001CA95SE [image: LinkedIn]
https://htmlsig.com/t/000001CC9BV9 [image: Github]
https://htmlsig.com/t/000001C5STHP

I think so! that's the approach taken by nltk. maybe we should check their code!

    def default_download_dir(self):
        """
        Return the directory to which packages will be downloaded by
        default.  This value can be overridden using the constructor,
        or on a case-by-case basis using the ``download_dir`` argument when
        calling ``download()``.

        On Windows, the default download directory is
        ``PYTHONHOME/lib/nltk``, where *PYTHONHOME* is the
        directory containing Python, e.g. ``C:\\Python25``.

        On all other platforms, the default directory is the first of
        the following which exists or which can be created with write
        permission: ``/usr/share/nltk_data``, ``/usr/local/share/nltk_data``,
        ``/usr/lib/nltk_data``, ``/usr/local/lib/nltk_data``, ``~/nltk_data``.
        """
        # Check if we are on GAE where we cannot write into filesystem.
        if 'APPENGINE_RUNTIME' in os.environ:
            return

        # Check if we have sufficient permissions to install in a
        # variety of system-wide locations.
        for nltkdir in nltk.data.path:
            if (os.path.exists(nltkdir) and
                nltk.internals.is_writable(nltkdir)):
                return nltkdir

        # On Windows, use %APPDATA%
        if sys.platform == 'win32' and 'APPDATA' in os.environ:
            homedir = os.environ['APPDATA']

        # Otherwise, install in the user's home directory.
        else:
            homedir = os.path.expanduser('~/')
            if homedir == '~/':
                raise ValueError("Could not find a default download directory")

        # append "nltk_data" to the home directory
        return os.path.join(homedir, 'nltk_data')

that's how they do it.

Seems good. Can you implement it?

will do!

I'm reopening this issue because we must implement a way of 'remembering' where files were stored in a second startup. this is not a problem when the standard download directory is chosen, but when a user chooses her own path we currently have way of recording it.

We could save the path in a config file that the user cannot change.

such as this one! has any one ever done that? we have to make sure it works on all platforms. maybe this library I referenced is not the best one, because I couldn't find where exactly the files are stored in unix computers..

It may be a good idea to do a config file that is stored on the root of
bradata. This config can be in .yaml and can have some configurations such
as the path to save data and other stuff that we might have to configure.
On Sat, Apr 1, 2017, 12:02 bruno cuconato<EMAIL_ADDRESS>wrote:

such as this one https://pypi.python.org/pypi/profig! has any one ever
done that? we have to make sure it works on all platforms. maybe this
library I referenced is not the best one, because I couldn't find where
exactly the files are stored in unix computers..
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/labFGV/bradata/issues/9#issuecomment-290925477, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATCfVLEQJzhZvHq6EE2Mc7nrRyZxqx4Vks5rrmcZgaJpZM4Mo2-a
.

--
João Carabetta / Data Developer
https://htmlsig.com/t/000001CA95SE
[image: Facebook] https://htmlsig.com/t/000001CA95SE [image: LinkedIn]
https://htmlsig.com/t/000001CC9BV9 [image: Github]
https://htmlsig.com/t/000001C5STHP


Add minimal CI

Adding:

ci.yml file describing the CI process
drafter.yml file to enable Release Drafter to automatically maintain the changelog
dependabot.yml to automatically maintain the Github Actions definitions

Actually, let me just merge and then make the changes, that will be simpler.


cannot fit model

Hi,
So I am trying to try this promising tool with a set of 99 genomes. I succeeded in generating the database for my genome set. Now I am trying to fit the model by running poppunk --fit-model --distances strain_db/strain_db.dists --output strains --full-db --ref-db strain_db --K 2 and I get the following error: Distances failed quality control (change QC options to run anyway).
Could you please help me solve this issue?
Cheers,
Pablo

You can try adding --ignore-distances and --max-a-dist 1 to get it to run and produce a distance plot. You will likely have to remove some of your genomes based on what you find, take a look here: https://poppunk.readthedocs.io/en/latest/troubleshooting.html#dealing-with-poor-quality-data


Figures with CairoMakie use meshes, resulting in excessively large file sizes

I'd like to make some nice looking figures, but when saving to vector formats the file sizes are enormous and I wouldn't be able to include them in a publication.  Presumably this is because of the conversion from multi-polygon to mesh for the GeoJSON data results in many more
There are some other issues related to poly and mesh #9 #144. There are mostly performance related, and it seems like the performance issues with large polygons were fixed after updates to GeoJSON #63 and some faster paths in Makie for vectors of multi-polygons #2599.  In CairoMakie a similar issue #834 was brought up for contour plots having very large files sizes as a result of mesh triangulation instead of using polys when saving plots.
When creating a plot with GeoMakie, it can create a polygon based plot (see example below), but CairoMakie will use a fallback conversion to mesh when it draws the plot.
Presumably  this function should be called when CairoMakie renders the plot (specializing on polygons::AbstractArray{<: MultiPolygon}).  Instead this fallback function is used which winds up converting the geo axis to a mesh.
This occurs because in drawplot() draw_poly will specialize on to_value.(poly.input_args)... and this results in to_value.(poly.input_args) = (FeatureCollection with 127 Features,).  It seems like that should somehow result in a multi-polygon instead of a FeatureCollection in order to allow the dispatch to call the correct function.
From here I do not know enough about the internals of Makie, CairoMakie, and GeoMakie to understand where the the disconnect is between poly!(ga,land_geo) creating a multi-polygon plot and draw_plot being handed a FeatureCollection, or in what package the correct fix needs to be created.
(Because a mesh is used, it also means that saving to .svg will create a .png embedded into the .svg, rather than an actual vector format.  Saving to .pdf is the only way to get a vector format when a mesh is used in a plot layer.)
Example
Plotting geosjon will create a multi-polygon
# This example was contributed by Martijn Visser (@visr)
using Makie, CairoMakie, GeoMakie
using GeoMakie.GeoJSON
using GeometryBasics
using Downloads

source = "+proj=longlat +datum=WGS84"
dest = "+proj=natearth2"

url = "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/"
land = Downloads.download(url * "ne_110m_land.geojson")
land_geo = GeoJSON.read(read(land, String))
pop = Downloads.download(url * "ne_10m_populated_places_simple.geojson")
pop_geo = GeoJSON.read(read(pop, String))

fig = Figure(resolution = (1000,500))
ga = GeoAxis(
    fig[1, 1];
    source = source,
    dest = dest
)

poly!(ga, land_geo, color=:black)
ga

julia> ga
Axis with 5 plots:
 ┣━ Lines{Tuple{Vector{Point{2, Float32}}}}
 ┣━ Lines{Tuple{Vector{Point{2, Float32}}}}
 ┣━ Lines{Tuple{Vector{Point{2, Float32}}}}
 ┣━ Lines{Tuple{Vector{Point{2, Float32}}}}
 ┗━ Poly{Tuple{Vector{MultiPolygon{2, Float32, Polygon{2, Float32, Point{2, Float32}, LineString{2, Float32, Point{2, Float32}, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point{2, Float32}, Point{2, Float32}}, TupleView{Tuple{Point{2, Float32}, Point{2, Float32}}, 2, 1, Vector{Point{2, Float32}}}, false}}, Vector{LineString{2, Float32, Point{2, Float32}, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point{2, Float32}, Point{2, Float32}}, TupleView{Tuple{Point{2, Float32}, Point{2, Float32}}, 2, 1, Vector{Point{2, Float32}}}, false}}}}, Vector{Polygon{2, Float32, Point{2, Float32}, LineString{2, Float32, Point{2, Float32}, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point{2, Float32}, Point{2, Float32}}, TupleView{Tuple{Point{2, Float32}, Point{2, Float32}}, 2, 1, Vector{Point{2, Float32}}}, false}}, Vector{LineString{2, Float32, Point{2, Float32}, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point{2, Float32}, Point{2, Float32}}, TupleView{Tuple{Point{2, Float32}, Point{2, Float32}}, 2,
1, Vector{Point{2, Float32}}}, false}}}}}}}}}

Using to_value should presumably return something that is ::AbstractArray{<: MultiPolygon}
allplots = Makie.collect_atomic_plots(fig.scene; is_atomic_plot = CairoMakie.is_cairomakie_atomic_plot)
poly_plot = allplots[39]
to_value.(poly_plot.input_args) # returns `(FeatureCollection with 127 Features,)`

Saving/visualizing this figure will use a mesh
save("test.svg", fig)  # creates an embedded png in an svg because of the mesh
save("test.pdf", fig) # creates a vector format, but very large file size because of the mesh

yeah CairoMakie has regressed a bit unfortunately.  This has been a consistent issue specifically because CairoMakie checks the input types of the call to poly...we are looking into this!


Subdomain takeover on Cname simplifyemail.com

Hi guys need help with a subdomain alias to CNAME eu-proxy-2.symplifymail.com

Hi,
You need to provide more details in order to understand what you want to do.  Are you getting a dns response NXDOMAIN ?

It shows a 200 http status

It shows a 200 http status

This is just a nginx default page. You should investigate more about how subdomain takeovers work.


Update README with typo fixes

As part of the initiative to promote open source culture at Intuit, we are reviewing the text of projects featured on OpenSource.Intuit.com for spelling and grammar. Thanks!

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


Not working with angular 1.4

I have angular 1.4 version and it's not working with the ui-grid. I thought 1.3+ should work?

Known issue: #3658
The grid has been tested with Angular 1.2.* and 1.3.*. However, 1.4.* is a new release. Major version bumps usually happen because of a breaking change.

I see. Buy even when I fall back on 1.3. And then reinstall angualr-ui-grid I get the menu to find suitable version of angular to work with ui-grid. And it trying to resolve to 1.2.16.

I am using RC21 with ng 1.4. Just fine so far, just just started with this project. Only using ui-grid-selection as far as extra directives go at the moment.

Yep there's some issues; hope to fix very soon.
Closing as a dupe of #3658

Cool. Can't wait. Thanks!


Add a dependabot configuration for keeping actions up to date

This PR adds a dependabot configuration to keep github actions up to date. It will run a check once a week to automatically create a PR to update an action if an action has a new version available.
To enable this, you'll need to go into the Security -> Code Security settings for the repository and click the Enable button next to Dependabot version updates. This should also activate the Dependabot on Actions runners button as well.

Thanks! Link failures are known (the CLA link uses a CA that isn't recognized by the jupyter link checker) and unrelated.


refactor visualization directory

Signed-off-by: ChengZi<EMAIL_ADDRESS>

Codecov Report

Merging #1356 (82d85c3) into main (e0204a8) will decrease coverage by 0.05%.
The diff coverage is 84.81%.

@@            Coverage Diff             @@
##             main    #1356      +/-   ##
==========================================
- Coverage   67.88%   67.82%   -0.06%
==========================================
  Files         289      291       +2
  Lines       15434    15446      +12
  Branches     2495     2495
==========================================
- Hits        10477    10476       -1
- Misses       4285     4298      +13
  Partials      672      672

Impacted Files
Coverage Δ

towhee/models/visualization/clip_visualization.py
80.53% <80.53%> (ø)

.../models/visualization/transformer_visualization.py
95.45% <95.45%> (ø)

towhee/trainer/utils/plot_utils.py
59.66% <100.00%> (ø)

towhee/engine/task_scheduler.py
60.49% <0.00%> (-12.35%)
:arrow_down:

towhee/engine/graph_context.py
86.15% <0.00%> (-4.62%)
:arrow_down:

towhee/engine/operator_context.py
82.60% <0.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 e0204a8...82d85c3. Read the comment docs.

/lgtm
/approve


confluence: 7.6.1 -> 7.7.2

Motivation for this change
https://confluence.atlassian.com/doc/confluence-7-7-release-notes-1004960930.html
https://confluence.atlassian.com/doc/confluence-7-7-upgrade-notes-1004960924.html
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Successfully upgraded and tested


Move to GitHub Actions from AppVeyor

Currently, the builds are run on AppVeyor and the artifacts are uploaded there.
I suggest we use GitHub Actions so everyone can see how we build the project, and store the releases on GitHub alongside git tags.
When a release is created, the artifacts should be pushed to NuGet.

The Release workflow successfully pushed 6.0.0-alpha to nuget.org.
I tried to use the AppVeyor API key for nuget.org, but I think it expired, so I generated my own.
It may be a good idea to have a Twilio Labs account on nuget.org and have that account generate the API Key instead.

@dprothero Should we add a Twilio Labs account to NuGet and have it generate the API key instead of using my API key?


ODM Tools:  Database Connection Form Does Not Allow Special Characters

horsburgh[CodePlex] ODM Tools version 1.1.1 will not allow me to use any special characters in the quotServer User IDquot input text field on the quotDatabase Configurationquot form. It is not uncommon for SQL Server user names to have underscores or other special
characters in them. The limitation on which characters can be entered into that field should be removed.

sreeder[CodePlex] Error should be fixed in source code checkin # 59439

kimschreuders[CodePlex] Here are the rules for Microsoft’s SQL Server Logins (which are one type of SQL Server identifiers) and found that for all versions of SQL Server that are approved for use with ODM (2005 and newer), the rules are a character length limit of 128 characters
and:
The first character must be one of the following:
• A letter as defined by the Unicode Standard 2.0. The Unicode definition of letters includes Latin characters from a through z and from A through Z, in addition to letter characters from other languages.
• The underscore (_), at sign (@), or number sign (#).
Certain symbols at the beginning of an identifier have special meaning in SQL Server. An identifier beginning with the at sign denotes a local variable or parameter. An identifier beginning with a number sign denotes a temporary table or procedure.
An identifier beginning with double number signs (##) denotes a global temporary object.
Some Transact-SQL functions have names that start with double at signs
(@@). To avoid confusion with these functions, it is recommended that you do not use names that start with
@@.
Subsequent characters can be:
• Letters as defined in the Unicode Standard 2.0.
• Decimal numbers from either Basic Latin or other national scripts.
• The at sign (@), dollar sign ($), number sign (#), or an underscore (_).
The identifier must not be a Transact-SQL reserved word. SQL Server reserves both the uppercase and lowercase versions of reserved words.
Embedded spaces or special characters are not allowed.
Since these are the rules from a SQL Server standpoint, ODM Tools should probably allow follow something similar.


fix(transactions): Added endpoints for transaction history

:tada: This PR is included in version 1.0.5 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


feat: Bump version 0.2.0 to prepare for release.

We have reached consensus to run the first release: 0.2.0, see the discussion in mail list.
This is the first step of #180 :

Bump version to 0.2.0
Update dependencies.

cc @ZENOTME @Xuanwo @Fokko PTAL

I believe we need to wait for https://github.com/apache/iceberg-rust/pull/174

@liurenjie1024 Now #174 has been merged, can you regenerate the dependencies tsv's?

@liurenjie1024 Now #174 has been merged, can you regenerate the dependencies tsv's?

Yeah, let's move!

It would be better not to bump release version on main branch. All following commits (snapshot version) will carry this release version.

It would be better not to bump release version on main branch. All following commits (snapshot version) will carry this release version.

It's okay for the rust ecosystem that we don't releases snapshots. We also want users who rely on git versions to start using the new version.


Update refined to 0.5.0

Current coverage is 80.49% (diff: 100%)

Merging #334 into master will increase coverage by 0.10%

Powered by Codecov. Last update 79998b2...a117f5f


feat: add support for partitioned cookies

This PR adds support for partitioned third-party cookies in a backwards compatible way, as described in #1166.
I have updated the documentation's configuration examples, but have not added any tests regarding this new option as the existing tests did not seem to cover similar options. I'll gladly add some if you think it's worth it.
Let me know if you have any comments/feedback!

closes #1166

The CI pipeline errors seem to be unrelated to this PR's changes, and should probably be dealt with in a different PR:
--- Expected
+++ Actual
@@ @@
         "title": "LexikJWTAuthenticationBundle",
         "version": "1.0.0"
     },
-    "openapi": "3.0.0",
+    "openapi": "3.1.0",
     "paths": {
         "/login_check": {
             "parameters": [],

/home/runner/work/LexikJWTAuthenticationBundle/LexikJWTAuthenticationBundle/Tests/Functional/Command/ApiPlatformOpenApiExportCommandTest.php:28

FAILURES!
Tests: 166, Assertions: 483, Failures: 1, Skipped: 22.

Hello! Would it be possible to know when we can expect this to be reviewed and/or merged, or if there is anything prevent this from moving forward :)

@chalasr

One thing: given the feature can only be used on Symfony 6.4 and higher, should we throw an exception if ones tries to use it with an lower Symfony version? If it makes sense, I'd suggest throwing both from the DI Extension (when setting the option) and the CookieProvider constructor (for potential direct instantiation).

Makes sense to me! I just added this in a677b38 :)


Feature/3361/logout incorrect user

For dockstore/dockstore#3361
Simply logout if there's any issues grabbing the user.
Had to move some code around because:
logout.service.ts imports user.service.ts, we grab users in the user.service.ts (which makes sense), but logging out requires logout.service.ts function which results in a circular dependency.
logout.service.ts is now mostly useless and should probably be merged with user.service sometime
So the previous behavior where the top right shows a dropdown with no username should never happen. The user would be instantly redirected to the logout page.

Just curious, were you able to reproduce dockstore/dockstore#3361, where it seems a valid token stopped working?
I feel like this is addressing dockstore/dockstore#2105, which is good, but still wondering what was going on in dockstore/dockstore#3361

There is no indication that it was a valid token

There is no indication that it was a valid token

I thought Denis wrote up the ticket for his experience on prod, where we don't clear/wipe the tokens like we do in other environments.

There is no indication that it was a valid token

I thought Denis wrote up the ticket for his experience on prod, where we don't clear/wipe the tokens like we do in other environments.

Still had every indication that it was the exact same behavior though (failing to get the user)

I thought Denis wrote up the ticket for his experience on prod, where we don't clear/wipe the tokens like we do in other environments.

This is true, there is an external user on that ticket so it should be prod.

Still had every indication that it was the exact same behavior though (failing to get the user which likely means invalid token)

What is the theory though for why a redeploy would invalidate a token?
That said, can't see why this would hurt so approving.

I thought Denis wrote up the ticket for his experience on prod, where we don't clear/wipe the tokens like we do in other environments.

This is true, there is an external user on that ticket so it should be prod.

Still had every indication that it was the exact same behavior though (failing to get the user which likely means invalid token)

What is the theory though for why a redeploy would invalidate a token?
That said, can't see why this would hurt so approving.

If this gets merged, the original issue https://github.com/dockstore/dockstore/issues/3361 would be kind of unreproducible and I doubt users care they have to login (click two buttons) every time we do a release. I personally don't really care exactly why it gets invalidated since it could be due to a myriad of unconfirmable reasons (satellizer implementation, browser security feature, etc)


Remove whitespace that makes regexp matches unlikely.

I might misunderstand something but the current regex does not seem to be useful. Applying the role with jenkins_java_options to -Djava.awt.headless=true -Xmx{{ jenkins_java_heapsize_mb }}m results in the following config file's content:
...
Environment="JAVA_OPTS=-Djenkins.install.runSetupWizard=false"
Environment="JAVA_OPTS=-Djava.awt.headless=true -Xmx6000m"
...

although I would expect having just only one JAVA_OPTS string: Environment="JAVA_OPTS=-Djava.awt.headless=true -Xmx6000m".

Please re-open, this PR looks sensible.


Suggested Program to Manually Correct New Game Mode Names // Small Request

Hello!
First of all, many thanks for writing this program, I've been using for the last week, and it's been great.
As you can imagine, the new game mode is "creating waves" as the levels in it do not share names with the "normal" rounds eventhough they are the same (e.g. "Gaunlet 04 Event Yeetus" instead of "Knight Fever").
My first thought was to find a LiteDB editor to open the DB and manually correct them. Is there anyone that you would suggest?
After that, I took a look here and found that this is something you've had to patch everytime a new show, shows-up, that is why I think being able to manually update it could be an option I could learn.
Finally, I see someone also already brought this point up, and I would like to let you know that if possible, I would appreciate if you could work on it as well, that is, "the ability to show only one of the cycled info. For example, I don't care much for number of players, but I like seeing my ping, so I wish the ping would be visible at all times instead of cycling. ", that felt as if I writed it my self.
Once again, many thanks for your awesome tracker, I appreciate the time you've put into this.
Fer Anguiano

Hey there! Yea it's unfortunate that the game modes for whatever reason add post fixes on the round names causing issues with the stats. I just add an update for them each time something new pops up.
And I went ahead and added the ability to select the alternate option for those 4 fields on the overlay in the settings in v1.98

Hello!
   Thanks a lot for the extremely quick response! Specially on a Sunday!

   I’ll give it a try soon!

   Once again thanks for your support! I really appreciate it!

Kind Regards!

De: DevilSquirrel<EMAIL_ADDRESS>Enviado: domingo, 29 de noviembre de 2020 13:10
Para: ShootMe/FallGuysStats<EMAIL_ADDRESS>CC: angui82<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Asunto: Re: [ShootMe/FallGuysStats] Suggested Program to Manually Correct New Game Mode Names // Small Request (#54)
Closed #54https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShootMe%2FFallGuysStats%2Fissues%2F54&data=04|01||1fa98ae888984600607508d8949a7782|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637422738426144045|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YYaGwlVtVzxnctPzpqmeKMgQIaVlKSiqIasInd7LsGQ%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShootMe%2FFallGuysStats%2Fissues%2F54%23event-4049322304&data=04|01||1fa98ae888984600607508d8949a7782|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637422738426154038|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=nUuq4iFVqDP3kpojhDU8eEHE2Km22Ngraof8oLSKGko%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR5Z6E3G4MA4NDNCYON32TLSSKMDDANCNFSM4UGRFZZQ&data=04|01||1fa98ae888984600607508d8949a7782|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637422738426154038|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=AQQuGP%2F5LyPBKtCZY0Qo2NzAw3QXwa2Pnfo3nk7fOz4%3D&reserved=0.


Log into another VO using the password for another VO

Description
Have a username and password for 2 different VOs, both with the same username and different passwords.
I can access the VO1 using the password set for VO1.
For the VO2 I can't access using the password set for VO2 but can access using the password for the VO1.
Can't access VO1 using the password of VO2.
When the password is removed from the VO2 I can no longer access VO2 using the password of VO1
This is happening on both the current webui and webui2.0
Steps to reproduce
No response
Rucio WebUI Version
No response
Additional Information
No response

Hey @gmatthews20, would you like to investigate this to figure out the root cause?

I have had a look into this and I think the issue might be that the identities don't have a VO associated with them. So both accounts on each VO are being mapped to the same identity.


Test on modern PHP versions

< 5.6 is EOL

+1

@nigrosimone Hello! How are you doing with the official releases?
Are they stealing from us?
Are you importing the official changes?

Hi viktor! Official version seem again abbandoned :D. for my project i use fix-w3tc master, it seem very stable ;)

@pls consider using PR-s for modifying the code base.
I've also learned it.


Incorporate experimental route snapper improvements

I have an in-progress rewrite to the route snapper UI. It uses maplibre markers for dragging things around, which dramatically improves the hit detection. And a hopefully much more clear on-map control panel, with more explicit modes.
https://acteng.github.io/atip/route_snapper_next_gen/scheme.html?authority=TA_Telford+and+Wrekin&schema=v1&style=streets#10.45/52.721/-2.4898

The changes are now live / visible in https://acteng.github.io/atip/files.html?authority=TA_South Yorkshire Combined Authority&schema=v2, the route tool. Likely going to port them over here soon.

I just gave the new route UI a try in the ATIP test site and really liked it. Big :+1: to benefiting from these improvements in the NPW. Screenshot showing level of detail that the 'middle points' mode allows:


[Bug]: flashinfer backend bug

Your current environment
I set vllm to flashinfer, but i get the error below:

INFO:     <IP_ADDRESS>:38616 - "POST /v1/completions HTTP/1.1" 200 OK
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 261, in wrap
    await func()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 238, in listen_for_disconnect
    message = await receive()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 553, in receive
    await self.message_event.wait()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f47bc642f40

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
    return await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 75, in app
    await response(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

🐛 Describe the bug
Firstly, I set vllm attention backend to flashinfer as shown below:
export VLLM_ATTENTION_BACKEND=FLASHINFER
Secondly, I run the vllm server as:
python -m vllm.entrypoints.openai.api_server --model LLM-Research/Meta-Llama-3-70B-Instruct --tensor-parallel-size 4 --trust-remote-code --max-model-len 8192  --port 30000  --swap-space 16  --disable-log-requests --enable-prefix-caching --enforce-eager

Your current environment
I set vllm to flashinfer, but i get the error below:

INFO:     <IP_ADDRESS>:38616 - "POST /v1/completions HTTP/1.1" 200 OK
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 261, in wrap
    await func()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 238, in listen_for_disconnect
    message = await receive()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 553, in receive
    await self.message_event.wait()
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f47bc642f40

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
    return await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/routing.py", line 75, in app
    await response(scope, receive, send)
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/mnt/harddisk/miniconda3/envs/flashinfer/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

🐛 Describe the bug
Firstly, I set vllm attention backend to flashinfer as shown below: export VLLM_ATTENTION_BACKEND=FLASHINFER
Secondly, I run the vllm server as: python -m vllm.entrypoints.openai.api_server --model LLM-Research/Meta-Llama-3-70B-Instruct --tensor-parallel-size 4 --trust-remote-code --max-model-len 8192 --port 30000 --swap-space 16 --disable-log-requests --enable-prefix-caching --enforce-eager

It turns out that flashinfer does not support prefix caching.

problem solved

problem solved

I encounter the same errors here, can u share how u solve this ? Many thanks.

Same issues, can you share how you solve this promblem @haichuan1221

遇到了相同的问题，请问是如何解决的？


Add support for example transclusion and use it in chapter 14

Transclusion reads a file and inlines it into the chapter (as opposed to "cmd", which runs a command and inlines the result).
Use it to inline examples into the print edition for Chapter 14.
If this pattern lands, I plan to next go through all chapters and provide an inline version of all examples in the print edition.

I guess an alternate solution would be :
``` {.cmd}
cat <filename>
``` <end>

Up to if you prefer that.


fix issues with method return types incorrectly resolving on the fast path

Motivation

Inspired by work in #5828 and tests in #5805, this fixes one more case where we shouldn't be using existing information in the symbol table.  I said in #5828 that this location would need some kind of context-aware lookup, and this seemed to be the right way to address it.  (The other alternative I could see was to add a TypeTemplateAliasType and have a separate dealiasing through that, but that seemed like a lot of work for epsilon gain, if that.)
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/bui_LlcXq3wUXQUilB
→ https://go/builds/pay-server-sorbet-check--bui_LlcXzJ8K1o79wt

I think we can do this without having to introduce new bits onto the symbol table:
https://github.com/sorbet/sorbet/pull/5847
I'm generally -1 on introducing new bits that are redundant with information that is already in the symbol table, as it makes it introduces a point where one of the sources of truth can be updated while forgetting to update the other source of truth.


Large performance impact when ACTIONS_STEP_DEBUG is enabled

There is a large performance impact when ACTIONS_STEP_DEBUG is enabled. I have a test repo here https://github.com/billyvg/test-actions-cache/runs/3236458097?check_suite_focus=true that compares actions/cache@v1 vs actions/cache@v2 with logging enabled vs disabled. The results (with a sample size of 1 here) are as follows:

-
no logging
w/ logging

v1
24s
31s

v2
8s
35s

Ideally, we'd want to always have ACTIONS_STEP_DEBUG enabled, so it'd be nice to have the option of completely suppressing the logging from actions/cache.

It looks like this is more appropriate for the toolkit repo. I will keep this issue open as there may need to be changes in this repo to pass options along when restoring.


Implemented POST request for Bank Blocks

solves #115
account number: 8de30226230c35bbc1ce4a63c62a7b9c86bf0ce21fc7bc1a984b7884a9f88782

Hey @tomijaga I merged my PR which refactored the accounts validator DTO to the common class. This caused a conflict in your branch.

@tomijaga Good stuff! approved and merged.


Sequential focus navigation starting point

We're using this issue to track the pending content merge.

Draft is in the drafts folder. Just got eng feedback

@jeffposnick - can we close this?


fix: Extract landing page docs

Issue number:

#1064
#1067
#1069

Summary
Extract code examples from landing page and fix errors in python, yaml
Changes
Changes:

Extract all code examples
Fix yaml, terraform and python
Add make file to format, lint and validate examples

Fixes:

[x] Fix SAM example for Rest api (and fixes #1069)
[x] Includes #1068 HomePage - Lambda Layer - Terraform example
[x] Fix python syntax HomePage - SAR - CDK  examples
[x] Fix template yml indents HomePage - Example: Least-privileged IAM permissions to deploy Layer example

User experience

Please share what the user experience looks like before and after this change

Checklist
If your change doesn't seem to apply, please leave them unchecked.

RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

View rendered docs/index.md

@heitorlessa  as per your request, i am breaking the larger PR #1065 into 16 smaller PRs. This one is the for index.md landing page examples.


Create new CommonUtils and push pause methods into it

Let's create in carina-commons or carina-utils file where we can collect some very-very high level static util methods.
And as 1st one move pause(long) and pause(double)  into it from all ocurrences we have now

done


Show creation process as a dummy node in explorer

testing off of the ej/create branch, so may already be fixed.
I created a new cosmosdb and after it was created (5min?) i did a "refresh" in the explorer, but the new database would not show up.
i confirmed i did not have any subscription or resource group filtering going on.
If i did a "reload window", the new db would show up.

How are you determining if it was finished creating? Sometimes the portal will display the resource even if it's not "done" creating
Did you wait until the little status bar message at the bottom of VS Code disappeared? The status that says "Creating CosmosDB Account"?

i was looking in the portal, waiting until the point where I could see the map :).
Yes, the status bar message in VS Code was gone.

I can't repro this with the latest from master. @chrisdias do you want to try again?
Either way we need to make it more obvious when a resource is being created. We've discussed showing the node in the explorer and adding some icon or text to indicated that it's being created. Should we "re-purpose" this issue to implement that functionality?

i think we need a better notification system in VS Code.  but, in the meantime, yes adding a "working..." node or something like that in the explorer makes great sense.  I will update title.

@chrisdias Currently, there is a 'working...' status on the status bar message.
I couldn't repro this - the database appears in the tree as soon as it's created. Would a notification on completion help?

Yes there is a working... status in the status bar, but it's hard to see and the user can hide their status bar. This bug it to create a 'working...' node right in the Cosmos DB explorer

I like the suggestion of creating the "working..." node. We should adopt this pattern across all extensions.

A side-question : If we do implement this, are we removing it from the status bar?


Prolog: Some kata translations doesn't appear when you want to (re)edit them

For example it happens with:
https://www.codewars.com/kata/5a057ec846d843c81a0000ad/edit/prolog
https://www.codewars.com/kata/5b1cd19fcd206af728000056/edit/prolog

Another Prolog Kata with blank tabs:
https://www.codewars.com/kata/5539fecef69c483c5a000015/edit/prolog

@g964 I think I've found the root cause of all of your issues that others can't reproduce.
Uncaught TypeError: ns.GetCommandSrc is not a function is from Kaspersky that you mentioned in https://github.com/codewars/codewars.com/issues/2072#issuecomment-603282607.
https://stackoverflow.com/questions/59411562/kaspersky-internet-security-blocks-ajax-requests
It seems to do stuff depending on the URL so maybe prolog is causing something.
Can you try changing some settings? I don't know anything about it, so I have no idea what to do, but maybe https://stackoverflow.com/a/59945988

Closing because it's not reproducible and it's most likely related to the Kaspersky (https://github.com/codewars/codewars.com/issues/2017#issuecomment-607512316).


Width-Adjusted-Regularization

Paper: will be uploaded soon
Venue: {if applicable, the venue where the paper appeared}
Dataset and threat model: CIFAR-10, l-inf, eps=8/255
Code: Training with WAR based on implementation of RST, for testing, please refer to https://github.com/tabrisweapon/A-temp-project
'''
python auto_cifar10.py --width=15 --model-dir=highest.pt
'''
Pre-trained model: https://www.dropbox.com/s/89uuo4w2iaitw04/highest.pt?dl=0
Log file: {link to log file of the evaluation}
Additional data: yes
Clean and robust accuracy: clean: 85.60%, PGD 20 * 0.003: 64.86%
Architecture: WRN-34-15
Description of the model/defense: A new training principle: stronger regularization for wider models

Hi,
thanks for the submission! I'll let you know once I've run the evaluation!

Hi,
thanks for the submission! I'll let you know once I've run the evaluation!

Thanks!

I got
clean accuracy: 85.60%
robust accuracy 59.78%
for eps=8/255. Is this consistent with your experiments?
I'd like to add it to the list. How should I cite it (since there's no paper I'd simply put a link to this page to read some info of the model)?

I got
clean accuracy: 85.60%
robust accuracy 59.78%
for eps=8/255. Is this consistent with your experiments?

My evaluation has a little bit higher score. I got robust accuracy of 60.34% for eps=0.031, which is slightly lower than 8/255. Could this be a problem? I'm re-running the testing for eps=8/255 right now and it could take one or two days.
Following your instructions, my testing code can be found in https://github.com/tabrisweapon/A-temp-project/blob/master/auto_cifar10.py, and the key part is in line 76-77.
Could you kindly tell me if my implementation is correct?

I think something around 0.5% of difference between the robust accuracy at eps=0.031 and eps=8/255 is usual, so it should be fine.
Your implementation looks good to me, I just noticed that you used the older version of AA (now the standard version contains the targeted versions APGD-DLR and FAB and should be a bit faster, see also the README for details), which could lead to slightly higher values.

I think something around 0.5% of difference between the robust accuracy at eps=0.031 and eps=8/255 is usual, so it should be fine.
Your implementation looks good to me, I just noticed that you used the older version of AA (now the standard version contains the targeted versions APGD-DLR and FAB and should be a bit faster, see also the README for details), which could lead to slightly higher values.

Thanks for your help!
Knowing the difference of the epsilon parameter, We are re-training our method under eps=8/255 and will report our results later. We will also give the new version of AA a try.

I used eps=8/255 because that's indicated in the form above, but in the list there are a few models using eps=0.031, just we flag it,
Anyway, let me know when you have the new model!

I used eps=8/255 because that's indicated in the form above, but in the list there are a few models using eps=0.031, just we flag it,
Anyway, let me know when you have the new model!

Hi, my evaluation of eps=8/255 on our submitted model comes out and has a robust accuracy of 59.88%, very close to your evaluation. Since we are the highest result so far, we hope to release it for now and maybe report better results in the future. Our paper will also be uploaded in a few days. Could you please put our score onto the table?

I'm happy to add your results! I'd need to know how to cite your work on the list.
Also, in my opinion it is preferable to have a paper explaining how the model has been trained. If you can assure that your paper will be uploaded soon (within a few days), I'd link to this page so there is some info about the model from the form above (I'd suggest to add a list of authors). Could this work?

I'm happy to add your results! I'd need to know how to cite your work on the list.
Also, in my opinion it is preferable to have a paper explaining how the model has been trained. If you can assure that your paper will be uploaded soon (within a few days), I'd link to this page so there is some info about the model from the form above (I'd suggest to add a list of authors). Could this work?

Hi! Sorry for replying late. We've uploaded our paper, and you can find it at http://arxiv.org/abs/2010.01279. Please cite our work with this link too. Thanks a lot!

Hi, I've updated the list. Thanks again for the submission!

Hi, I've updated the list. Thanks again for the submission!

Thanks for your efforts of providing such an effective platform!


Is there a way to make sure you get one of each character from value array?

Like if I have 12 characters, I want every one of them to e displayed and not have it done randomly when I set the particle count to 12. Is there a way I could achieve this? I tried setting random to false under the shape property but that does not seem to work.

Hi @DitwanP,
You can do this configuration in two ways (at least):

You can set particles manually, using the manualParticles property. You can find documentation here

You can reduce duplicates, this goes sequentially when initializing a particle. You can find documentation here (sorry, I forgot to add it to the table, but the property goes inside the particles section)

Tanks for the fast response!


Build against primitive-0.8

Related to https://github.com/commercialhaskell/stackage/issues/6887
Fixes https://github.com/Gabriella439/Haskell-Pipes-Safe-Library/issues/60

Thank you, Gabriella! 🥳


Added PingOnly Option

Added PingOnly option for programming use, allowing a script to use the PingOnly option will determine if the Xbox One is on and it can then determine an action including turning it on. Also works with the Forever option which will only ping until the Xbox One is found.

Example usage currently in my own home automation project:
Declaring Variables not clean but does the job
xboxIP = "<IP_ADDRESS>"
xboxID = "0000000000000000"
xboxPowerOnScript = "python " + installLocation + "xbox-remote-power/xbox-remote-power.py -a " + xboxIP + " -i " + xboxID
xboxPowerPing = xboxPowerOnScript + " -p"

And the actual usage further down the script
    print "Checking Xbox"
    xboxResponse = subprocess.Popen(xboxPowerPing, shell=True, stdout=subprocess.PIPE)
    (xboxResponseOutput, xboxResponseError) = xboxResponse.communicate()
    if (xboxResponseOutput == "Ping successful!\n"):
        print " - Found"
        stateXbox = True
    else:
        print " - Lost"
        stateXbox = False


v-text cannot render in svg tspan

Version
3.2.1
Reproduction link
https://jsfiddle.net/robedgenius/oky8r140/19/
Steps to reproduce
This piece code render differently for <tspan> and
 code:
<svg>
<text x="0" y="0">
<tspan v-text="mytext"></tspan>
</text>
<foreignObject>

</foreignObject>
</svg>

The <tspan> becomes <tspan textContent="hello"></tspan> and second div is working as expected:
hello

However, it works in these scenarios for tspan:

Mustache format {{mytext}} in tspan
if remove <svg> tag
In Vue 2,  it also works, even it has svg tag.
if use vanillaJS  set document.getEelement('tspan-id'). textContent.

What is expected?
<tspan> should  render variable text to tag textContent. same with

What is actually happening?
<tspan> cannot render v-text to textContent, but a textContent attribute.

BTW don't use this in templates

@posva  thanks. I found I post a debug jsfiddle for our real use case that use $parent data, here is simplified version https://jsfiddle.net/robedgenius/oky8r140/26/.


next: sso auth handler

connects #788
connects #829
Note

process_userinfo_hook is not implemented yet
I think auto_link_keys is not useful if process_userinfo_hook is not implemented, so it's not included in this PR too. Let me know if I have any misunderstandings, I can add it back. (5309dd9)

@carmenlau @Steven-Chan Updated, please help review. Thanks.

@carmenlau Updated. When you have time, please help review. Thanks.

@carmenlau @Steven-Chan Thanks for your review, I had made some updates. When you have time, please help review again. Thanks.

@carmenlau @Steven-Chan I added some commits when I testing with JS SDK, when you have time, please help review:

Should SetCookie for both redirect or popup mode c3a259d
Should set path when set redirect login cookie 58b41c4
Set correct API endpoint to iframe_html and auth_handler_html a8b8584
Reverse proxy should also pass query parameters a847bac


[Documentation] Change the colours of the code section

The code on the documention is tough to read.
Maybe it's because I'm a bit colourblind but it hurts my eyes to read the code.

Some tools:

https://accessible-colors.com/
https://webaim.org/resources/contrastchecker/

https://codemirror.net/demo/theme.html#material could be nice.
Thank you!

Code's here: https://github.com/mjmlio/slate/tree/master/source/stylesheets

Hey @kud I agree with you, the code colors of documentation hurts our eyes. So I tried this combination without make a big change in actual color palette. First of all, I believe we need to change background-color and his shadows and then, change the red color to another that make more contrast and less brightness. Do you think it could be better like that?

That's really great! Thank you to answer so quickly too!
I'm more than ok with those colours! Good for me.

@kud You're very welcome! The MJML project helps me a lot... I'm always trying to do the same, as I can.

cc @ngarnier

@kud @dougfabris
Is current try it live (https://mjml.io/try-it-live) theme accessible enough ? So we can maybe use this one instead ? Or we should update it to so we can re-use the same on both doc & try it live ?

Yes, it's ok for me, with maybe a darker background.

@iRyusa I agree with @kud. To be more accessible, maybe we will have to use a darker background, to get a nice contrast with the red color. This tool is a good option to check the contrast ratio: https://contrast-ratio.com/


[Umbrella] Separate kyuubi client modules into kyuubi-client repo

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the proposal
Separate kyuubi client modules into kyuubi-client repo.

kyuubi-hive-jdbc
kyuubi-hive-jdbc-shaded
kyuubi-hive-beeline
kyuubi-rest-client
kyuubi-ctl

Task list

apply kyuubi-client repo
Move client modules to kyuubi-client repo
setup nightly kyuubi-client release GA

Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

With separated repos for clients and main parts, what is the purposed way for integration tests after this change, especially the features relying on both? Dedicated PR for each, and make the server/engein module provided in clients tests?

With separated repos for clients and main parts, what is the purposed way for integration tests after this change, especially the features relying on both? Dedicated PR for each, and make the server/engein module provided in clients tests?

Release the snapshot to maven repository nightly or more frequently.

https://github.com/apache/kyuubi-client repo is created, the privileges will be sync within about 5 min


Undo of typing should group characters so undo is less tedious

I find that all mac editors do this and even the emacs manual says "Consecutive character insertion commands are usually grouped together into a single undo record, to make undoing less tedious."

finally done!  It works by time (currently anything within 250 msec is grouped -- continuously so if you keep going it stays grouped), and major operations (commenting, etc) establish a new group as well.


CentOS 7 support

This should turn on CentOS7 support for rabbitmq

+1

Should Centos/RHEL/Fedora tests be combined?

I'm debating it. I guess it doesn't hurt to have all three but it doesn't really help either.


When powering on state switches to "inactive" instead "on"

Describe the bug
I'm relatively new to HA and I was happy to find a custom integration for my RX-V671 AVR.
After the initial integration everything looked fine for me. Playing around a little bit and setting up an automation where I wanted to use the state as a trigger then showed that the state for both zones Main and Zones 2 changed from "off" to "inactive" instead "off" to "on".
Behavior is independent from powering on the AVR with Yamaha WebUI, Android App, Pushbutton on the front of the AVR or using Homeassistant Media Control Card.
It's not possible to use the state change to "on" in an automation, because state changes unexpectedly to "inactive".
Steps to reproduce the behavior:

Go to Media Control Card
Click on "Power button" to turn zone or system power on
Go to details of device
See error

Powering it off shows expected state "off"

Standard integration shows expected and correct state for "on" and "off"

HA has been restarted several times since integration was set up.
Diagnostics
Anonymized the serial_url...
config_entry-yamaha_ynca-78bf481c90a5a6cffc8990660c186983.json (1).txt
Home Assistant version information:

Version 2023.2.3

The states for the mediaplayer in Home Assistant are a bit complicated, unfortunately there is more than just On and Off.
In the past I used to have On, but there were issues with that when selecting sources that could actually do playback, like NetRadio or Spotify so I revered back to using Idle.
I see that the Home Assistant Yamaha integration seems to indicate On for inputs like HDMI, but Idle for inputs like NetRadio. I could add that, but not sure if that is the correct way to do it. Building automations on the On state would then still break if you happend to have a playable source selected.
In my opinion Idle, Playing, Paused and On are all variants of On, but is not how Home Assistant treats it.
I need to ask around a bit to see what the intended way to handle this in Home Assistant is before I change stuff.
Meanwhile, would it be possible to reverse the logic? So check on "not Off" as that would cover all the other states.

Thanks for your quick reply!
I get your point that handling this AVR and the media player in HA is a bit confusing.
The "off" state of the AVR is not really "off", it is more like "standby"; powering it "on" could / should result in different states depending on the source, playable or not.
A Node-Red package handles it that way: "on" or "standby";  there's no distinction between playable or not playable sources.
At least I have not seen any differentiation because I've never used a playable source
Until I tried "to get smart" for me it was only "on" or "off";
I have modified your suggestion a bit and use  the state change "from Off"... so it doesn't matter which state it changes to...
Additionally I check the input source and everything works fine for me (right now ;-) )

Glad you found a way to get it working for now 👍
I want to look more into the mediaplayer states at some point, but not a lot of time for that now.

[quote]Meanwhile, would it be possible to reverse the logic? So check on "not Off" as that would cover all the other states.[/quote]
Is it possible to do something like this in tiles?

I managed to get it working by creating a "switch" in the configuration yaml.
switch:
  - platform: template
    switches:
      versterker:
        friendly_name: "Versterker"
        value_template: >
          {% if is_state('media_player.rx_a3030_main', 'inactive') or
                is_state('media_player.rx_a3030_main', 'on') or
                is_state('media_player.rx_a3030_main', 'idle') or
                is_state('media_player.rx_a3030_main', 'playing') or
                is_state('media_player.rx_a3030_main', 'paused') %}
            true
          {% else %}
            false
          {% endif %}
        turn_on:
          service: media_player.turn_on
          target:
            entity_id: media_player.rx_a3030_main
        turn_off:
          service: media_player.turn_off
          target:
            entity_id: media_player.rx_a3030_main

And used it in the tile.
The color was orange when it was turned on and i wanted it to stay blue so i had to set that as well.
type: tile
entity: switch.versterker
tap_action:
  action: toggle
icon_tap_action:
  action: toggle
name: Versterker
hide_state: false
icon: mdi:audio-video
color: blue

Wanted to add to this issue by telling I was first confused when my receiver wasn't turning off when I clicked the power button on the card. First read through this thread and then came up with the following automation:
alias: "RX-A2010: toggle"
description: ""
triggers:
  - trigger: event
    event_type: call_service
    event_data:
      domain: media_player
      service: toggle
      service_data:
        entity_id: media_player.rx_a2010_main
conditions: []
actions:
  - if:
      - condition: state
        entity_id: media_player.rx_a2010_main
        state:
          - "on"
          - idle
    then:
      - action: media_player.turn_off
        metadata: {}
        data: {}
        target:
          entity_id: media_player.rx_a2010_main
mode: single

It was only later that I realised that it was a feature of the card itself.
I use https://github.com/kalkih/mini-media-player and it has an option toggle_power which is default true (and calls toggle on media_player)
Once you set toggle_power: false on that card it would work as expected.

Yeah, the toggle doesn't turn it Off when in Idle. In my opinion this is a bug in Home Assistant, it also happens with other media_players that use Idle state see https://github.com/home-assistant/core/issues/77412


Refactor

Fixed various WPCS violations
Prepped for phpDocumentor
Removed plugin templates and tied into new CAWeb Theme actions/filters

Changes from this refactor were manually merged into 1.0.8/1.0.9 releases.
Thanks so much Danny for helping make our contributions better.
Closing this PR so we don't get confused looking at it. We will leave the branch in the repo. Will rename it for future reference from refactor to 2021-06-19-danny-wp-refactor


simple way to upload documents to ES

Hello guys.
We with @AverageS used another way to upload index to our Demo Dashboard.
Would be great if you will add it to your docs.
Here is it:

Go to small_datasets directory:

cd ./small_datasets

Untar all files to this directory:

find . -name '*.tar.gz' -exec tar -xzf {} \;

Upload it using python script:

import elasticsearch
import json
import os

es_url = "http://<es_ip/domain>:<es_port>"
es_user = ""
es_pass = ""
index_name = ""
_doc_type = ""

es = elasticsearch.Elasticsearch([es_url],http_auth=(es_user, es_pass))

for i in os.listdir():
  if not i.endswith(".json"):
      continue
    with open(i) as f:
      test = []
      for line in f.readlines():
        test.append(json.loads(line))

    for x in test:
      res = es.index(index=index_name, doc_type=_doc_type,body=x)
      print(res['result'])

Thank you very much for sharing @yugoslavskiy ! I will add it as another way to consume the data. I will have an option in the wiki for "other suggestions" and I will make sure this goes there. Thank you for contributing 👍 Best of luck with your project too guys! Have a nice weekend!

Thank you for your project and good luck with your one too, guys!
BTW, I have one thing to discuss with you, related to MITRE ATT&CK.
I couldn't find your email, so I've followed you on LinkedIn instead.
We will meet each other on x33fcon in Gdansk (and later in Brussels on EU MITRE ATT&CK Workshop), and I just wanted to share some materials with you to discuss it offline next week.
So please text me back in LinkedIn when you will be available.
Thank you again!
See you!

mordor is an awesome project and I like the idea of having a simple way to load the data to ES (@yugoslavskiy ). An improvement that I would like to see is sending each log (i.e. each line in the json file) to a different index based on the source_name field. Now I can possibly do that by having a config file that maps a source_name to an ES index and make the python script follow that config file for writing to ES. But I was also wondering if logstash is more suitable for the job. Has anyone reading this issue thread tried using logstash to parse and dump the data in ES (preferably to different indices for different source_name? ) (Basically I am a newbie in logstash and looking for code example :-)  In our organization we are using logstash to send these logs to places other than ES as well - so eventually I will have to use logstash anyway. Thanks for any code snippet!


Added Hackathon Finder website

Title and Issue number
Title : Hack Among Us
Issue No. : 47
Code Stack : HTML , CSS , JS

I have reforked the repo and updated all the necessary but netlify bot is not working then what should I do?

I have reforked the repo and updated all the necessary but netlify bot is not working then what should I do?

Ok...I will look into that

@abhrajit2004 Thanks for your valuable contribution.


Task/style guide clean up

Hey, @emily-plummer + @djfarrelly! Cleaned up some markup and Sass and merging to master! :smile:


[RubyGemsIntegration] Mark loaded specs as activated

What effects does this change have? Does it fix a bug?

Not that I can tell, but it does mean that the resolved specs are marked as activated, which Specification#activate does, and it's possible someone is relying on that instead of using the loaded_specs hash.

This seems to have been merged manually.