Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'writeText')

Describe the bug
I have everything setup it work perfect only one problem that after connections drop menu "Copy address" I get this error " Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'writeText') "
import {
  ConnectionProvider,
  WalletProvider,
} from "@solana/wallet-adapter-react";
import { WalletAdapterNetwork } from "@solana/wallet-adapter-base";
import {
  getLedgerWallet,
  getPhantomWallet,
  getSlopeWallet,
  getSolflareWallet,
  getSolletExtensionWallet,
  getSolletWallet,
  getTorusWallet,
} from "@solana/wallet-adapter-wallets";
import {
  WalletModalProvider,
  WalletMultiButton,
} from "@solana/wallet-adapter-react-ui";
import { clusterApiUrl } from<EMAIL_ADDRESS>import logo from "../images/newlogo.png";

// Default styles that can be overridden by your app
require("@solana/wallet-adapter-react-ui/styles.css");

const Wallet = () => {
  const network = WalletAdapterNetwork.Devnet;
  const endpoint = useMemo(() => clusterApiUrl(network), [network]);
  const wallets = useMemo(
    () => [
      getPhantomWallet(),
      getSlopeWallet(),
      getSolflareWallet(),
      getTorusWallet({
        options: { clientId: "Get a client ID @ https://developer.tor.us" },
      }),
      getLedgerWallet(),
      getSolletWallet({ network }),
      getSolletExtensionWallet({ network }),
    ],
    [network]
  );

  return (
    <ConnectionProvider endpoint={endpoint}>
      <WalletProvider wallets={wallets} autoConnect>
        <WalletModalProvider logo={logo}>
          <WalletMultiButton />
        </WalletModalProvider>
      </WalletProvider>
    </ConnectionProvider>
  );
};

export default Wallet;

To Reproduce
Steps to reproduce the behavior:

Go to 'Select Wallet'
Click on 'Phantom'
Click on 'Copy address'
See error

Expected behavior
Copying the address
Desktop (please complete the following information):

OS: [windows]
Browser [chrome]
Version [e.g. 22]

@jordansexton thank you for your responses, should i send you screenshot from the files because i did it again and still having the same problem somehow?

@jordansexton alright i'll send you invite to the repository because it's private..thank you for everything!

I looked at your repository... and it doesn't look like wallet-adapter is even used there?

I recommend checking out the example project. That's all the help I can provide. Good luck!

https://github.com/solana-labs/wallet-adapter/issues/128#issuecomment-945987496
This is what I recommended doing. The problem isn't with the library, it's that you're not using React contexts correctly. I've suggested a few things around this. Please take your time and read the code and examples, everything you need is there.


OCT 10 - Post 2- Join CLENT Africa for Hacktoberfest!

Hacktoberfest is here, and CLENT Africa is excited to invite developers, technical writers, researchers, and community builders to be part of our mission to build climate resilience in African communities. Here are meaningful ways for you to contribute:
https://github.com/clentafrica/hacktoberfest
1⃣ Documentation Team ()

Help us improve and create accessible resources on climate change, renewable energy, and environmental health.
Translate our guides into African languages to expand our reach and inclusivity.
Ensure all content meets accessibility (#A11Y) standards so everyone can benefit.

2⃣ Research and Data Team (https://github.com/clentafrica/research-and-data)

Contribute to climate data analysis, create visualizations, and develop reports on trends in Africa.
Write research reports on various key topics like renewable energy adoption and climate-induced migration.
Build and manage databases tracking climate challenges and community adaptation efforts.

3⃣ Community Management Team (https://github.com/clentafrica/Community-Managers)

Engage with our online community, creating conversations and highlighting Hacktoberfest contributions.
Recruit and onboard new volunteers, ensuring they feel welcome and supported.
Plan events and collect feedback to continuously improve our community experience.

By participating, you’ll not only gain valuable experience but also make a tangible impact in African communities working towards sustainability and resilience.
Ready to make a difference? Join us this Hacktoberfest and become part of CLENT Africa’s journey!
#Hacktoberfest #ClimateAction #OpenSource #VolunteerWithUs #Sustainability #ClimateTech #CommunityEngagement #DataForGood #AccessibleEducation #RenewableEnergy #TechForClimate #Hacktoberfest2024

@clentafrica/wg-design Please we need someone to work on this


Add Migraine Log by @zerodogg

[x] Project URL :https://migrainelog.zerodogg.org
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thx!


PostCSS: Exec Format Error (ENOEXEC)

I am trying to use tailwind in my Jekyll project but the postcss plugin throws a conversion error.
Below are the logs while running Jekyll serve:
Conversion error: Jekyll::Converters::PostCss encountered an error while converting 'assets/css/main.scss':
                    Exec format error - C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-postcss-0.4.0/bin/postcss '{"raw_content":"@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n\n"}'
Traceback (most recent call last):
        29: from C:/Ruby25-x64/bin/jekyll:23:in `<main>'
        28: from C:/Ruby25-x64/bin/jekyll:23:in `load'
        27: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
        26: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        25: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        24: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        23: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        22: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        21: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        20: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        19: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
        18: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        17: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
        16: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
        15: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
        14: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:80:in `process'
        13: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:211:in `render'
        12: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `render_pages'
        11: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `each'
        10: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:539:in `block in render_pages'
         9: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:547:in `render_regenerated'
         8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:63:in `run'
         7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:84:in `render_document'
         6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `convert'
         5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `reduce'
         4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `each'
         3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:106:in `block in convert'
         2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-postcss-0.4.0/lib/jekyll/converters/postcss.rb:39:in `convert'
         1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-postcss-0.4.0/lib/jekyll-postcss/socket.rb:20:in `write'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-postcss-0.4.0/lib/jekyll-postcss/socket.rb:20:in ``': Exec format error - C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-postcss-0.4.0/bin/postcss '{"raw_content":"@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n\n"}' (Errno::ENOEXEC)

Even with the only front matter in the scss file, it throws the same error.
main.scss file
---
---
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

Ditto.  I have a teeny-tiny Jekyll theme (just a _config.yml, a Gemfile, a Gemfile.lock, an index.html) that works fine when I run NODE_ENV=production JEKYLL_ENV=production bundle exec jekyll build or NODE_ENV=development JEKYLL_ENV=development bundle exec jekyll serve.
I'm walking through adding Tailwind to it using Steven Westmoreland's instructions at https://stevenwestmoreland.com/2021/01/using-tailwind-css-with-jekyll.html and when I run NODE_ENV=production JEKYLL_ENV=production bundle exec jekyll build after following all of his steps, I get the following error dump:
Configuration file: C:/example/_config.yml
            Source: C:/example
       Destination: C:/example/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
  Conversion error: Jekyll::Converters::PostCss encountered an error while converting 'assets/css/main.css':
                    Exec format error - C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/bin/postcss '{"raw_content":"@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";"}'
                    ------------------------------------------------
      Jekyll 4.2.0   Please append `--trace` to the `build` command
                     for any additional information or backtrace.
                    ------------------------------------------------
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll-postcss/socket.rb:20:in ``': Exec format error - C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/bin/postcss '{"raw_content":"@import \\"tailwindcss/base\\";\\n@import \\"tailwindcss/components\\";\\n@import \\"tailwindcss/utilities\\";"}' (Errno::ENOEXEC)
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll-postcss/socket.rb:20:in `write'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll/converters/postcss.rb:39:in `convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:106:in `block in convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `reduce'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:84:in `render_document'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:63:in `run'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:547:in `render_regenerated'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:539:in `block in render_pages'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `render_pages'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:211:in `render'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:80:in `process'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby27-x64/bin/jekyll:23:in `load'
        from C:/Ruby27-x64/bin/jekyll:23:in `<main>'

Ditto. I have a teeny-tiny Jekyll theme (just a _config.yml, a Gemfile, a Gemfile.lock, an index.html) that works fine when I run NODE_ENV=production JEKYLL_ENV=production bundle exec jekyll build or NODE_ENV=development JEKYLL_ENV=development bundle exec jekyll serve.
I'm walking through adding Tailwind to it using Steven Westmoreland's instructions at https://stevenwestmoreland.com/2021/01/using-tailwind-css-with-jekyll.html and when I run NODE_ENV=production JEKYLL_ENV=production bundle exec jekyll build after following all of his steps, I get the following error dump:
Configuration file: C:/example/_config.yml
            Source: C:/example
       Destination: C:/example/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
  Conversion error: Jekyll::Converters::PostCss encountered an error while converting 'assets/css/main.css':
                    Exec format error - C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/bin/postcss '{"raw_content":"@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";"}'
                    ------------------------------------------------
      Jekyll 4.2.0   Please append `--trace` to the `build` command
                     for any additional information or backtrace.
                    ------------------------------------------------
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll-postcss/socket.rb:20:in ``': Exec format error - C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/bin/postcss '{"raw_content":"@import \\"tailwindcss/base\\";\\n@import \\"tailwindcss/components\\";\\n@import \\"tailwindcss/utilities\\";"}' (Errno::ENOEXEC)
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll-postcss/socket.rb:20:in `write'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-postcss-0.4.1/lib/jekyll/converters/postcss.rb:39:in `convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:106:in `block in convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `reduce'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:104:in `convert'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:84:in `render_document'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:63:in `run'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:547:in `render_regenerated'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:539:in `block in render_pages'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:538:in `render_pages'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:211:in `render'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:80:in `process'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby27-x64/bin/jekyll:23:in `load'
        from C:/Ruby27-x64/bin/jekyll:23:in `<main>'

Any chance there's a bug in jekyll-postcss parsing CSS files w/ "Tailwind" imports on Windows?

Well, I researched a bit and there is a high likelihood that the postcss gem plugin has a bug. Instead of using the gem postcss plugin , you can use postcss module for node.js and then set the output folder of generated CSS files to Jekyll's static folder.
There is a tailwind jekyll starter from which you can take hints from. -> Jekyll Tailwind Starter


WIP: button system

🚫 do not merge🚫
Implements new uniform button system (figma) using theming.
We will have 5 main buttons: StandardOutlinedButton, StandardFilledButton, LargeOutlinedButton, LargeFilledButton, StandardTextButton. Each is built off of BaseButton, which receives props and returns the correct type of button without styles (ie. to prop outputs a react router Link, to prop with # returns a HashLink, etc etc). Styles for each of the 5 buttons are applied in MainButtons.style.tsx.
In terms of use, we should use these 5 buttons directly in the component (rather adding any further styles with styled()) in order to keep uniformity. They are unaware of their context, so margins should be implemented in a parent/wrapping component.

 Implement new button and link styles


overload interface property perform confused

TypeScript Version:  2.8.3

Search Terms:
Code
interface Overload {
  id: 'jack' | 'mary'
}

// what i use now
interface OverloadWithAny extends Overload {
   id:'jack' | 'mary' | 'ross' | any
}

// expect the bellow succeed
interface OverloadDirectly extends Overload {
  id: 'jack' | 'mary' | 'ross'
}

Expected behavior:
overload  directly succeed
Actual behavior:
overload only succeed when add  any type
Playground Link: link
Related Issues:
remark: it is confused.Is overload property directly failed  is a bug? Or is overload with any type succeed is a bug?

How would you expect this to work? OverloadDirectly must be compatible to Overload, but when OverloadDirectly has 'ross' as an id it's not compatible anymore.
const abc: OverloadDirectly = { id: 'ross' };
const def: Overload = abc; // OverloadDirectly inherits from Overload so an assignment should work, but suddenly Overload.id has an invalid value.

@MartinJohns yes, it is what I want to get. Add  a valid value for the id property.
this come because  I inherits  a  module base on a third part module which already has a  @types/XX declaration . I want extend a declaration module for mine base on the base module's declaration module. That is why i want to add another value for the id property.
Besides, is there a official method that  make 'ross' right for 'id' property. And is the overloadWithAny  a bug?

You can not add a new possible type to id if you want to stay compatible with Overload. If compatibility is not necessary (meaning a value of your new type can't be passed as an argument to a method accepting Overload), then you could create some magic type using conditional types that represents a new type with your id addition.

Indeed,  for my situation, compatibility is necessary。My custom type need pass to a third module Class.method which accept Overload 。
So, I guess I still need to use the OverloadWithAny method.
But what I am still confused is whether this method is actually a  syntax bug of Typescript.

Anyway, thank you for help @MartinJohns

Not a bug


Issue while sending push notification

I am using apn version :1.7.5
When We tried one or two static device token, then it is working fine. but When we tried it with live device token. then it is not working.  I have performed various test on code. and It is working fine. There is no any issues.
At the end of code, we called third party package to send push notification. Whenever I called this function. then It didn;t show any error and notification is also not working. PLease check my code belowL
var apns = require("apn");
var options;
options = {
cert: config.PEM_FILE,
key: config.PEM_FILE,
production: config.NOTIFICATION_MODE,
passphrase:'745SD',
port: 2195,
};
var connection = new apns.Connection(options);
var notification = new apns.Notification();
notification.expiry = Math.floor(Date.now() / 1000) + 300; //5 mins
notification.sound = "default";
notification.contentAvailable = true;
notification.alert = "Test message";
if (utils.isDefined(data.title)) {
notification.title = data.title;
}
notification.payload = data;
data.deviceToken = ['b78e3372472a3a6128b6524c73b3143d8794110f28dbb958c8efcdc2cefa2da3'];
if (data.deviceToken && data.deviceToken.length > 0) {
try{
connection.pushNotification(notification, data.deviceToken, function(response){
console.log("Test response");
console.log(response);
});
}
catch(e){
console.log(e);
}
}

To send a notification first create a Device object
var myDevice = new apn.Device(token);
Next, create a notification object
var note = new apn.Notification();
note.expiry = Math.floor(Date.now() / 1000) + 3600; // Expires 1 hour from now.
note.badge = 3;
note.sound = "ping.aiff";
note.alert = "\uD83D\uDCE7 \u2709 You have a new message";
note.payload = {'messageFrom': 'Caroline'};
apnConnection.pushNotification(note, myDevice);`

check the feedback service for a list of devices with failed delivery
function handleFeedback(feedbackData) {
	feedbackData.forEach(function(feedbackItem) {
		console.log("Device: " + feedbackItem.device.toString("hex") + " has been unreachable, since: " + feedbackItem.time);
	});
}

var feedback = new apn.feedback({ "batchFeedback": true, interval: 60 });

feedback.on("feedback", handleFeedback);
feedback.on("feedbackError", console.error);

@avtaniket , Thanks For your reply.
My above code was working perfectly previously. But from past 5-6 days,  I am facing this issue. But I unable to find the solution. because, It is not showing me. It is not showing any error in my code.
Could you please tell me. Is there any way to print error if there is an error.
Thanks

Hi, @michaelstws
Once re-check whether your device tokens are up to date or not.
You can check here: [https://github.com/noodlewerk/NWPusher]
Also, below is my code reference working for me.
var apn = require('apn'); var gcm = require('android-gcm'); export default function notification( devicetype, devicetoken, alert, userid, action, profilepic,  image, youtubeimage, id ) {        if(devicetoken != "(null)") {         var androidApiKey = '', cert = '', key = '', passphrase = '';         if(process.env.NODE_ENV.toLowerCase() == "production") {           cert = '/../config/ios_support/apns-cert.pem';           key = '/../config/ios_support/apns-key.pem';           passphrase = '*****';           androidApiKey = "*******";         }         else {           cert = '/../config/ios_support/apns-dev-cert.pem';           key = '/../config/ios_support/apns-dev-key.pem';           passphrase = '*******';           androidApiKey = "********";         }         if(devicetype == "ios"){             var myDevice = new apn.Device(devicetoken);             var note = new apn.Notification();             note.badge = 1;             note.sound = "notification-beep.wav";             note.alert = alert;             note.category = "respond"             note.device = myDevice;             note.payload = { 'action': action, 'userid': userid, 'profilepic': profilepic, 'id':id};             console.log("note.payload: "+ JSON.stringify(note.payload));             //, 'WatchKit Simulator Actions': [{"title": "Show", "identifier": "showButtonAction"}]             var callback = function (errorNum, notification) {                 console.log('Error is:.....', errorNum);             }             var options = {                 gateway: 'gateway.push.apple.com',                 //'gateway.sandbox.push.apple.com',                 // this URL is different for Apple's Production Servers and changes when you go to production                 errorCallback: callback,                 cert: __dirname.split('src/')[0] + cert,                 key: __dirname.split('src/')[0] + key,                 passphrase: passphrase,                 port: ****,                 cacheLength: 100             }             var apnsConnection = new apn.Connection(options);             apnsConnection.sendNotification(note);         }         else if(devicetype == "android"){             var gcmObject = new gcm.AndroidGcm(androidApiKey);             var message = new gcm.Message({                 registration_ids: [devicetoken],                 data: {                     body: alert,                     action: action,                     userid: userid,                     profilepic: profilepic,                     id: id                 }             });             gcmObject.send(message, function(err, response) {                 if(err) console.error("error: "+err);         //        else    console.log("response: "+response);             });         }     } }
Hope it helps.

To send a notification first create a Device object
var myDevice = new apn.Device(token);
Next, create a notification object
var note = new apn.Notification();
note.expiry = Math.floor(Date.now() / 1000) + 3600; // Expires 1 hour from now.
note.badge = 3;
note.sound = "ping.aiff";
note.alert = "\uD83D\uDCE7 \u2709 You have a new message";
note.payload = {'messageFrom': 'Caroline'};
apnConnection.pushNotification(note, myDevice);`

check the feedback service for a list of devices with failed delivery
function handleFeedback(feedbackData) {
	feedbackData.forEach(function(feedbackItem) {
		console.log("Device: " + feedbackItem.device.toString("hex") + " has been unreachable, since: " + feedbackItem.time);
	});
}

var feedback = new apn.feedback({ "batchFeedback": true, interval: 60 });

feedback.on("feedback", handleFeedback);
feedback.on("feedbackError", console.error);

@avtaniket , Thanks For your reply.
My above code was working perfectly previously. But from past 5-6 days, I am facing this issue. But I unable to find the solution. because, It is not showing me. It is not showing any error in my code.
Could you please tell me. Is there any way to print error if there is an error.
Thanks

Hey Do you got the issue? Currenctly i am facing simlillar issue. This is working on my local environment but on aws-lambda.

@avtaniket , Thanks For your reply.
My above code was working perfectly previously. But from past 5-6 days, I am facing this issue. But I unable to find the solution. because, It is not showing me. It is not showing any error in my code.
Could you please tell me. Is there any way to print error if there is an error.
Thanks

Hey, Have you found any solution for this?

Thanks in advance.

@ishwarsfarm
I suggest you to use lasted version  "apn": "^2.2.0", and suggest to use with Token Auth mechanism. Refer here
const apn = require("apn"),

let apnoptions = {
  token: {
    key: path.resolve(__dirname + "/pem/AuthKey_*keyId*.p8"),
    keyId: "*keyId*",
    teamId: "*teamId*"
  },
  production: true
};
let apnCustomerConnection = new apn.Provider(apnoptions);
apnCustomerConnection.on("transmissionError", function(errCode, notification, device) {
console.log('apnError',"customer transmission Error");
});
apnCustomerConnection.on("timeout", function () {
    console.log('apnError',"customer Connection Timeout");
});
apnCustomerConnection.on("disconnected", function() {
    console.log('apnError',"customer Disconnected from APNS");
});
apnCustomerConnection.on("socketError", function(err){
    console.log('apnError',"customer socketError",err);
});

and then for notification
var note = new apn.Notification();
note.badge = 1;
note.sound = "ping.aiff";
note.alert = 'Heading message';
note.payload = {
    'data': 'what ever data you want to pass'
};
note.topic = 'com.ios.buildle id';

let myDevice = recipents.deviceToken;
apnCustomerConnection.send(note, myDevice).then((result) => {
    if(common.isValid(result.failed) && result.failed.length){

    }else{

    }
});


create CI pipeline

that runs gradle build

blocked on #5

Will probably want to follow similar pattern to https://github.com/Mach30/m30ml/blob/main/.github/workflows/upload-artifacts.yaml


Avoid holding lock while serializing / deserializing

No need to hold the lock, and depending on what the client
is doing, they could be serializing / deserializing for a long
time.

LGTM, FWIW.

Thanks @chrisdanford :)


Security Updates

Some of our gems had security alerts. This fixes them.

Coverage increased (+0.005%) to 96.092% when pulling 16ea90e52a78d86d99a275069de196182ab85b31 on quick_fix_maybe into 221ea830fcb1ac46032d41a451d5dbdfeb7186c6 on master.


[SPARK-14904][SQL] Put removed HiveContext in compatibility module

What changes were proposed in this pull request?
This is for users who can't upgrade and need to continue to use HiveContext.
How was this patch tested?
Jenkins.

Test build #56934 has started for PR 12672 at commit 2fb8b73.

Maybe also include a sanity check to make sure it can be created and try some basic functions?

Test build #56934 has finished for PR 12672 at commit 2fb8b73.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56934/
Test PASSed.

Some of my own libraries were able to compile against this, so +1 from me.

Test build #56949 has started for PR 12672 at commit 4d3f745.

Test build #2878 has started for PR 12672 at commit 4d3f745.

Test build #2879 has started for PR 12672 at commit 4d3f745.

[info] HiveContextCompatibilitySuite:
[info] - basic operations (11 seconds, 60 milliseconds)
[info] - basic DDLs *** FAILED *** (1 second, 754 milliseconds)
[info]   Array([bob8,8], [bob9,9], [bob10,10], [bob6,6], [bob7,7], [bob1,1], [bob2,2], [bob3,3], [bob4,4], [bob5,5]) did not equal Array([bob1,1], [bob2,2], [bob3,3], [bob4,4], [bob5,5], [bob6,6], [bob7,7], [bob8,8], [bob9,9], [bob10,10]) (HiveContextCompatibilitySuite.scala:88)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:500)
[info]   at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1555)
[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:466)
[info]   at org.apache.spark.sql.hive.HiveContextCompatibilitySuite$$anonfun$2.apply$mcV$sp(HiveContextCompatibilitySuite.scala:88)
[info]   at org.apache.spark.sql.hive.HiveContextCompatibilitySuite$$anonfun$2.apply(HiveContextCompatibilitySuite.scala:75)
[info]   at org.apache.spark.sql.hive.HiveContextCompatibilitySuite$$anonfun$2.apply(HiveContextCompatibilitySuite.scala:75)
[info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
[info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
[info]   at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166)
[info]   at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:56)
[info]   at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:163)
[info]   at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
[info]   at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175)
[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
[info]   at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:175)
[info]   at org.apache.spark.sql.hive.HiveContextCompatibilitySuite.org$scalatest$BeforeAndAfterEach$$super$runTest(HiveContextCompatibilitySuite.scala:25)
[info]   at org.scalatest.BeforeAndAfterEach$class.runTest(BeforeAndAfterEach.scala:255)
[info]   at org.apache.spark.sql.hive.HiveContextCompatibilitySuite.runTest(HiveContextCompatibilitySuite.scala:25)
[info]   at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
[info]   at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:208)
[info]   at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
[info]   at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
[info]   at scala.collection.immutable.List.foreach(List.scala:381)
[info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
[info]   at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
[info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
[info]   at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:208)
[info]   at org.scalatest.FunSuite.runTests(FunSuite.scala:1555)
[info]   at org.scalatest.Suite$class.run(Suite.scala:1424)
[info]   at org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1555)
[info]   at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
[info]   at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:212)
[info]   at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
[info]   at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:212)
[info]   at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterAll$$super$run(SparkFunSuite.scala:28)
[info]   at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:257)
[info]   at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:256)
[info]   at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:28)
[info]   at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:357)
[info]   at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:502)
[info]   at sbt.ForkMain$Run$2.call(ForkMain.java:296)
[info]   at sbt.ForkMain$Run$2.call(ForkMain.java:286)
[info]   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[info]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[info]   at java.lang.Thread.run(Thread.java:745)

LGTM. Let's fix the test and get it in.

Test build #56949 has finished for PR 12672 at commit 4d3f745.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class UnresolvedException[TreeType <: TreeNode[_]](tree: TreeType, function: String)
case class UnresolvedGenerator(name: FunctionIdentifier, children: Seq[Expression])
class RuntimeConfigImpl(

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56949/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2879 has finished for PR 12672 at commit 4d3f745.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class UnresolvedException[TreeType <: TreeNode[_]](tree: TreeType, function: String)
case class UnresolvedGenerator(name: FunctionIdentifier, children: Seq[Expression])
class RuntimeConfigImpl(

Test build #2878 has finished for PR 12672 at commit 4d3f745.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class UnresolvedException[TreeType <: TreeNode[_]](tree: TreeType, function: String)
case class UnresolvedGenerator(name: FunctionIdentifier, children: Seq[Expression])
class RuntimeConfigImpl(


Error whilst getting hls hotlink (Line 103- List index out of range)

Runs fine until I try to tune.

I'm running windows but that doesn't seem to be the issue.
Cheers

Hey!
I'm also on Windows, when I try to tune to usa network (or any channel for that matter) it works correctly.
I would make sure that all requirements are installed correctly.
For a crude method try running:
python -m pip install requests  python -m pip install beautifulsoup4  python -m pip install python_vlc
in powershell.

I will be running some tests today in a windows environments whilst I am updating the docs, so give me a little while and I will get back to you. This seems to be a common problem.

writing a patch for this, looks like in windows the script element it pulls the link out of is in position 14 of the list instead of 15.

Just posted a quick and dirty patch, will do a full refactor to remove the need for the list of elements all together, but should be okay for now, closing this.


functionalities page is empty on master. worked on staging.

Normally, the only difference between master and staging was that I exported the translations. (in the mean time staging on master contain the same commits).
Can you investigate, @abom?

I think the old functionalities.tmpl file is deployed, not the latest one.
Caught exception in success handler of /common/functionalities/modules/activated
ReferenceError: FUNCTIONALITY_MODULES is not defined
ReferenceError: FUNCTIONALITY_MODULES is not defined
    at renderFunctionalities (https://rogerthat-server.appspot.com/static/js/solutions/sln-functionalities.js:98:16)
    at success (https://rogerthat-server.appspot.com/static/js/solutions/sln-functionalities.js:87:17)
    at Object.options.success (https://rogerthat-server.appspot.com/static/js/solutions/sln-utils.js:917:25)
    at c (https://rogerthat-server.appspot.com/static/js/jquery-1.10.0.min.js:4:25967)
    at Object.fireWith [as resolveWith] (https://rogerthat-server.appspot.com/static/js/jquery-1.10.0.min.js:4:26772)
    at k (https://rogerthat-server.appspot.com/static/js/jquery-1.10.0.min.js:6:14027)
    at XMLHttpRequest.r (https://rogerthat-server.appspot.com/static/js/jquery-1.10.0.min.js:6:18415)


Relative file lookups are incorrectly shimmed

After version 0.11.0 was released a project that was packaged with browserify starting to build with the wrong contents.  I tracked the problem down to version 0.11.0 being used to package module ltx 0.9.1.
I've created a testcase that demonstrates a change in file resolution between 0.10 and 0.11.  I didn't find an obvious solution to the problem, so I thought I'd start with a PR with the testcase and see if anybody else had thoughts. I'm happy to code the fix if there is an approach that somebody can explain.

ping @substack who worked on 1.11

I'm assuming that this will not be merged. I'm closing it so that it will be remove from my open PR list


fix(docker): config update not working

Fixes #1122

Pull Request Test Coverage Report for Build 806120659

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

Totals

Change from base Build 798819862:
0.0%

Covered Lines:
2031

Relevant Lines:
11749

💛  - Coveralls


Re-implement hand

Re-implement the render of the selected item in hand.

Isn't this a duplicate of #111

Yes, or #111 is a duplicate of this one :)

Oh, sorry, it's not. This is the hand ... the other one is the rendered item when we move items in the inventory. So, do, It's not :)

Ah that hand! :smile:


Allow use of openstack application credentials

It would be nice instead of using username/password if the plugin could use application credentials to do v3 auth.
I am assuming this would require a new secrets type to be defined and the option for the plugin to detect which secrets being passed so it could switch the auth it is using.
If there is a way to already do this please let me know and close this ticket.
Thanks

Application credentials are not supported.

Hi @olivergondza, this feature show stopper for my company.
Regarding the help you request, I guess PR 179 I've just checked deeply on openstack4j would add the support of Application credentials.
Do you have time to review it ?


Investigate the possibility to instrument classes compile-time

Investigate if it's possible to integrate Scott's agent easily into a compile pipeline (e.g. with Maven) to produce class files that are already instrumented.
It might provide an alternative for using this tool, for example, when you have limited options to fine-tune the runtime environment.

Based on a short pilot, this seems to be possible. I've documented the necessary steps in the manual setup user guide.
I'll add a short example to the page as well.


Allow custom config without file and or custom conifg loader

Most of my configs are module .config.ts files in my project root. I'd love to have a codegen.config.ts file, but it looks like graphql-codegen does not by default add the cosmiconfig typescript loader. Browsing the source, I can't see a way to pass in the TS loader either. So it would be most ideal then if there was a way to skip loading the config altogether and just allow me to import codegenConfig from './codegen.config'; and pass that in directly.
I can take a look at this a little later and see if I can PR.

Makes sense to me! I'll see about getting this feature added this week. You are more than welcome to create a PR if you'd like!
I'm thinking I'll just add a new plugin option called config, where if passed will use that and prevent loading the config automatically.
Thanks for the suggestion!

@thorlucas Hopefully this works for you! If you run into any troubles let me know and we can reopen the issue. Have a good weekend!


Accessibility regressions in youtube-dlg 0.4

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dl-gui version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[x] I think my problem is NOT with youtube-dl
[x] I've verified and i assure that I'm running youtube-dl-gui 0.4
[x] I assure that i am using the latest version of youtube-dl
[ ] Searched bugtracker
[x] I've read the FAQs file

What is the purpose of your issue?

[x] Bug report
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Please remove any sections between (---) if they are not related to your issue

Bug report
If the problem occurs when downloading a URL please provide the full verbose output as follows:

Restart youtube-dl-gui
Go to Options > Extra tab
Enable Debug youtube-dl
Go to Options > Advanced tab and Clear your log content
Try to download the URL
Copy the whole log content and insert it between the ``` part below

delete me and insert your log content here

What operating system do you use ?
Windows 10 Build 1703.
List of actions to perform to reproduce the problem:

Load a screen reader, such as Narrator using control-windows enter in build 1703 or windows-enter in previous builds of windows.
Navigate the main screen using tab and shift tab keys.

What is the expected behaviour ?
The buttons on the main screen should announce with names such as delete button, settings button, etc. This was the behaviour in the previous youtube-dlg, 0.3.8.
What happens instead ?
The screen reader simply says "button" for most buttons on the main screen. This makes it tricky to know what the buttons will do.

That's not exactly a bug, at least not on our side. We use bitmap buttons in version 0.4 so that's probably the reason Narrator can't announce the buttons by name (even though they are labeled).
I'm going to take a closer look on this and improve the accessibility in the next version.

Hi.
Regarding this issue. I did speak to you about this the other day. Hope it indeed can be fixed, as this is a great program. For now, though, I use 0.3.8.

Hi I am having the same problem using NVDA screen reader. Pleas don't say that it's not a bug when if some one who is blind, cant use your program just because your controls in your UI don't have proper labels. I am willing to help in testing any fixes you mite be able to come up with. Pleas if you don't know how to fix the labels on the buttons, say so and I will ask around to see if any of the blind programmers I know to see if they can help! Thanks. For a blind person this bug really is a show stopper as i cant use this program at all.

Any news on this?

Ping!

I'd suggest you use version 0.3.8 until he sorts it out.
On 10/18/17, tapper82<EMAIL_ADDRESS>wrote:

Ping!
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/MrS0m30n3/youtube-dl-gui/issues/202#issuecomment-337655124

version 0.3.8 will not work for me. It says that it's finished downloading but there is no files in the download der.

Works fine for me. Have you set download location, file types etc. in
the Options dialog?
On 10/25/17, tapper82<EMAIL_ADDRESS>wrote:

version 0.3.8 will not work for me. It says that it's finished downloading
but there is no files in the download der.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/MrS0m30n3/youtube-dl-gui/issues/202#issuecomment-339280692

@tapper82
Youtube-dl needs Microsoft's Visual C++ Redistributable package in order to run on Windows.
You can download it from here.

Created PR #252 to add labels to buttons. JAWS 2018 screen reader is able to accurately identify these.

Hi,
I just downloaded this to test it for a friend who is not so comfortable fiddling with command line, and was sad to see the label issues. The unfortunate fact is that even if the buttons have labels, they are not in a place that any screen-reader knows how to understand.
I don't agree that we need a "blind interface" at all. If you're worried about clutter we could add access keys such as alt+d for download. These keys would be announced when the user moves to the button, so an attentive user can memorize them. We're used to tabbing through interfaces with several buttons and this is far from the worst thing I've ever seen. It would be usable if everything had a label; it would be great if hotkeys also existed. Don't worry about a separate interface; that's more work on your end and it's almost never a good idea. Thank you for taking a look.


What are the checks that FAIL more frequently on the Google Fonts collection?

Task: Run fontbakery on all the family folders in the google/fonts repo and tabulate the check-id FAIL (and maybe also WARN) frequencies.

This check ⚠ WARN: Is there kerning info for non-ligated sequences? is systematically ignored for multiple reasons:

some ligature or not of letters (example --> to create an arrow)
in the case of ligature tt for example, it can be good to keep the option of not having the letters touching, by deactivating the ligature.
ligatures are often ornemental which doesn't necessitate a kerned sequenced from the base pair

Since this check apply only for edge cases and not for common usage, it could be removed entirely, or only for a specific profile of a specific client.

Here's a spreadsheet: https://docs.google.com/spreadsheets/d/1TycCvPSFjar1Y5l8A4j7L9QN1xuDdMO2Pah1b26nJuE/edit#gid=2146669006


attr_list acts on {%

My earlier ticket was caused by this.
Example input:
{% for each in articles %}

{{ each.excerpt }}

{% endfor %}

This is a jinja2 block. If the addon attr_list is on, it outputs this:

{% for each in articles %}
{{ each.excerpt }}

The weird part is, that only acts on the closing tag.

I suppose we could tweak the regex to not match {%, but technically, according to the syntax, that is valid. We don't require a space after the opening bracket and I suppose an attr name could be %. Seems to me that we should expect Markdown to not munge up template syntax. I think a better approach to to have an extension which informs Markdown of the template syntax so it is ignored (as your other issue explores).

I suppose an attr name could be %

I disagree. The docs don't mention this and from my perspective, it is supposed to add css classes. I certainly didn't expect it and the docs don't  mention the usage of the percentage sign for this extension.

I just noticed that the forth supported format is not mentioned in the docs, which is what is perhaps confusing you.

#someid results in id="someid"
.someclass results in class="someclass"
key="value" results in key="value"
checked results in checked

Notice that a single word is a supported feature. While there is limited use for it in HTML, it is a feature of HTML and supported by the extension. That is why endfor is a single word attribute assigned to your
 tag. I'm not exactly sure how % results in _=%, but given the unusual input, there should be no reason to expect unusual output.

I'm not exactly sure how % results in _=%,

I took another look at this. Internally, we store single term attributes in a dict as {'term': 'term'}. When serializing the output, if the key and value are equal, then the output is altered accordingly (term if output format is html or term="term if output format is xhtml).
>>> markdown.markdown('*foo*{ checked }', extensions=['attr_list'], output_format='xhtml')
'
foo
'
>>> markdown.markdown('*foo*{ checked }', extensions=['attr_list'], output_format='html')
'
foo
'

However,  the percent sign (%) is not a valid character in a HTML attribute key. Therefore it is escaped/replaced with the underscore, which happens before the key and value are compared. Therefore, even when the output format is html, we still get _="%" because the key and value are not equal.
>>> markdown.markdown('*foo*{ % }', extensions=['attr_list'], output_format='xhtml')
'
foo
'
>>> markdown.markdown('*foo*{ % }', extensions=['attr_list'], output_format='html')
'
foo
'

It probably makes sense to do something different when an entire key only consists of invalid characters. But it is not clear what that should be. Any feedback is welcome.

@domeniko-gentner sorry I didn;t mention this earlier, but you can backslash escape your Jinja syntax so that it is not recognized by Markdown as an attr list:
>>> t = """
... {% for each in articles %}
...
{{ each.excerpt }}

... {% endfor %}
... """
>>> markdown.markdown(t, extensions=['attr_list'])
'
{% for each in articles %}\n
{{ each.excerpt }}

'
>>> t = """
... {% for each in articles %}
...
{{ each.excerpt }}

... \{% endfor %}
... """
>>> markdown.markdown(t, extensions=['attr_list'])
'
{% for each in articles %}\n
{{ each.excerpt }}
\n{% endfor %}
'

The document by itself would look like this:
{% for each in articles %}

{{ each.excerpt }}

\{% endfor %}

As we have updated the documentation to include the missing details in #987 and it is possible to use a baskslash escape to avoid the issue here, I am closing this. There still is the question about how to handle a key which consists solely of invalid characters, but as the (updated) docs state, that is the responsibility of the document author to address. In the present case, using the backslash escape avoids the issue altogeather.


Add in missing 'FLAG_DRAW_NEXT_FRAME_IF_VISIBLE' to Flag enun

This is to address #29582
Bugsquad edit: Fixes #29582.

Thanks!


check existing comments

Bot comments on previously commented pictures leading to spam ...please implement check_existing_comments .
Thanks :)

Done


Line wrapping in console results in duplicate problems

Issue Type: Bug
When I run a task in a split terminal such that long warning/error messages wrap to multiple lines, I get two problems for every message that wraps. The first problem only contains the text on the first line, while the second problem contains the entire warning/error message. I specifically see this problem when building a C file with GCC and using the $gcc problem matcher. I do not know if the issue is specific to that problem matcher or if it is an issue with problem matchers in general.
I use waf.io to manage my build, which has many files, but I believe the problem can be reproduced using just GCC and a single C file. I am using GCC version 6.4.0. My tasks.json looks like this:
{
  "tasks": [
    {
      "label": "build",
      "type": "process",
      "command": "python",
      "args": ["waf.py"], // gcc.exe -Wdeprecated-declarations (plus other options not relevant to this issue)
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "problemMatcher": [
        {
          "base": "$gcc",
          "fileLocation": ["autoDetect", "${workspaceFolder}/build"]
        }
      ]
    }
  ]
}

Then I have a file which generates a long warning message:
// ./compiler.h
#if defined(__GNUC__)
    #define DEPRECATED(func)    __attribute__ ((deprecated)) func
#else
    // implementations for other compilers would go here.
    #define DEPRECATED(func)    func
#endif

// ./some/really/long/path/to/header.h
#include "compiler.h"

// This used to do something, but now it isn't necessary.
static DEPRECATED( __inline int old_function(void) )
{
    return 1;
}

// ./some/really/long/path/to/source.c
#include "header.h"

int main(void)
{
    if (old_function())
    {
        // do something
    }
}

Compiling this results in a warning which looks something like:
..\some\really\long\path\to\source.c:6:8: warning: 'old_function' is deprecated[-Wdeprecated-declarations]
     if (old_function())
         ^~~~~~~~~~~~
In file included from ..\some\really\long\path\to\header.h:2
                      ..\some\really\long\path\to\source.c:2:
C:\projects\example\some\really\long\path\to\header.h:4:51 note: declared here
 static DEPRECATED( __inline void old_function(void) )
                                  ^
C:\projects\example\compiler.h note: in definition of macro 'DEPRECATED'
 #define DEPRECATED(func)    __attribute__ ((deprecated)) func
                                                          ^~~~

If I am running the build task in a split terminal, that first line tends to get wrapped to something like this:
..\some\really\long\path\to\source.c:5:8: warning: 'old_function' is deprecated[-Wd
eprecated-declarations]

And then in the problems pane I will get two problems:
source.c some\really\long\path\to (2)
    'old_function' is deprecated [-Wd gcc [6, 8]
    'old_function' is deprecated [-Wdeprecated-declarations] gcc [6, 8]

If I run the build task in a terminal that is wide enough that the warning does not get wrapped, then only one problem appears, as I would expect.

In 1.37 I have a task that just echos that data, and uses the same problem matcher, and it looks ok:

Are you running Windows 10? I was seeing the issue on Windows 7, so it's possible this only occurs on Windows 7 or when terminal.integrated.windowsEnableConpty is false.

I was using macOS, but I tried windows, and there I can't even get the problem to show up at all

Sorry about that, it's a Windows specific issue and it happens regardless of the Windows version. The repro is to make your terminal very narrow then run a task that causes problems.


Unable set node.role remote_cluster_client

cluster.yml
  nodePools:
    - component: masters
      replicas: 3
      diskSize: "5Gi"
      persistence:
        emptyDir: {}
      resources:
         requests:
            memory: "2Gi"
            cpu: "500m"
         limits:
            memory: "2Gi"
            cpu: "500m"
      roles:
      - master
      - data
      - remote_cluster_client
      - ingest

pod env:
network.publish_host=test-elk-masters-0
OPENSEARCH_JAVA_OPTS=-Xmx512M -Xms512M -Dopensearch.transport.cname_in_publish_address=true
node.roles=master,data,ingest
OPENSEARCH_PASSWORD=admin

curl -u admin:admin -k https://localhost:9200/_cat/nodes?v
ip            heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
<IP_ADDRESS>           18          46  14    1.21    0.99     0.63 dim       -      test-elk-masters-1
<IP_ADDRESS>           32          46  12    0.53    0.64     0.63 dim       *      test-elk-masters-0
<IP_ADDRESS>            17          45  42    0.40    0.57     0.60 dim       -      test-elk-masters-2

Hi @chenyg0911. There is a restriction on what roles are allowed: https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/pkg/builders/cluster.go#L47 . Any other roles are silently ignored.
Actually I'm not sure why we restricted it. @idanl21: Do you know if we had a reason to allow only some roles? If not what do you say to removing the restriction?

Hey @swoehrl-mw and  @chenyg0911, you are absolutely right,  i will remove the restrictions and will release a newer version .

added all role types, will release a new version tomorrow


How Do I Reach Out Binance Support Number

➡ For help with Binance Support Number 📲 1(209)-798-6943 reach out to our support team anytime at We're available 24/7 to assist with installation.
➡ For Binance Phone Support, please feel free to contact our support team at 📲 1(209)-798-6943 We can assist with installation, setup, and troubleshooting.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Binance Support, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 (📲 1(209)-798-6943). 𝐖𝐞'𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟺/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Binance, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 📲 1(209)-798-6943. 𝐖𝐞’𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟼/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡For help with ❞Binance Support Number❞, reach out to our support team anytime at 📲 1(209)-798-6943 We're available 24*7 to assist with installation.
➡ For Binance Support, please feel free to contact our support team at 📲 1(209)-798-6943 We can assist with installation, setup, and troubleshooting.

Closing this issue as spam.


Adding more projects to the list.

Please add descriptions for the resources in the Other section.
Please provide explanation why aShop is awesome.

@moltar thanks for your feedback. corrected.


Validate css on build

Since IE9 still have selectors limit we should count them on build with something like https://github.com/phamann/grunt-css-metrics

This is no longer relevant since we dropped support for IE9


forbid setting listen-urls without setting advertise-urls

listen-urls and advertise-urls have to be set explicitly in etcd 2.0
The design goal of this is that people have to set everything explicitly, and understand what is happening in the etcd cluster. listen-urls instruct what etcd should listen on, and advertise-urls instruct what urls should be recorded in the cluster, which are used in configuration fetch and change.
People can only set listen-urls without setting advertise-urls, which leaves advertise-urls as localhost, which cannot be accessed by other members. This issue aims to forbid this case because it is rather confusing.
For the future, maybe we can imply listen-urls from advertise-urls to save user efforts.
/cc @jedsmith

Closed via #2761


Digitally sign .livemd files

More info soon.

I have library that may help :D

@hauleth link? :)

https://github.com/hauleth/ssh_signature
It allows SSH keys to be used as a sign key and can be verified without using Elixir as it uses the same format as ssh-keygen which is probably available already on most developer machines.

@josevalim,
There was a Spawnfest competition and something similar to this secret storage came out of it:
https://elixirforum.com/t/secretvault-store-your-secrets-inside-your-repository/51222
https://github.com/spawnfest/secret_vault


Monospaced font in code listings in pdf

A fixed width (monospaced) font will make the code listings easier to read. We currently use that in the HTML, but not in the PDF.

Its because phantomjs does not support web fonts. Font for code blocks
should be set to a system installed font which is mono spaced. This will of
course be different from system to system, so we might need to specify
several fonts to get predictable outcome on all systems.

Hm, was not set to web fonts after all. Seems to be a bug in PhantomJS. When phantom cannot find the first font listed in font-family, it picks the standard font. Which means this will break depending on which system the PDFs are built, unless we choose a font which are on all systems: Courier. In courier zero and O is very similar, so suggesting we take "Ubuntu Mono" as the first font, and let PDF build break on systems without ttf-ubuntu-font-family installed.

I agree that making the "official" pdfs should be the first priority. Let us use Ubuntu Mono.
I guess we can still add some alternative fonts so that things will start working properly once the PhantomJS bug is fixed, and then possibly a small note in a README somewhere about the bug and instructions for changing the font for other systems?

https://github.com/earaujoassis/ubuntu-fontface


add purescript-tidy

Thank you.

Please also update the list of formatters in the comment on top of format-all.el.
If the executable is called purs-tidy, we should probably use (define-format-all-formatter purs-tidy as well.

Thanks. Please rename purescript-tidy -> purs-tidy in README.md as well.

Well... that's kind of an edge case since html-tidy is also called tidy in README. No need to change it.


Nested mixins

[x] fix for unique style mixes (test commented right now)

Kindly review/merge this before merging any of the sceneLoader refactor.

e999646 updates a bunch of stuff mentioned in the past conversations.

@tallytalwar I'm all for the new syntax, but there is a pending SceneLoader refactoring PR where this change would better fit in and avoid major pita when merging :/

@hjanetzek sure can revert that.

Thanks!

Waiting on Travis, but looks alright to me!


Avoid unnecessary (and potentially erroneous) calls when no lakes are present.

Primarily, this PR is to address erroneous behavior that appeared if t-route did not find any lakes in a given geopackage (as is, for example, the case in the coastal bayous in Texas). Secondarily, unnecessary function calls were also avoided for such cases.
Additions

If statements in HYFeaturesNetwork.py, DataAssimilation.py, compute.py

Removals

Changes

Testing

Running, e.g., Cedar Bayou with reservoir DA enabled.

Screenshots
Notes

Todos

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Target Environment support

[ ] Windows
[ ] Linux
[ ] Browser

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

Due to the fact that this PR was in the queue since March, it's easier to start a new one than try to fix this one.


Cannot go get -u om because of submoduled jhanda?!?

$ go get -u github.com/pivotal-cf/om

package github.com/pivotal-cf/om/vendor/github.com/pivotal-cf/jhanda/commands: /Users/pivotal/go/src/github.com/pivotal-cf/om/vendor/github.com/pivotal-cf/jhanda/.git exists but is not a directory

This looks like an issue with go get, because we put our submodules in the vendor directory which apparently doesn't work. https://github.com/golang/go/issues/17522. It seems like they are working on it based on the link below though.

@joshzarrabi I've actually fixed this with my PR, submodule strategy was not how we had vendored code in the past.

@camelpunch Thanks for reporting this! We've merged Zach's pull request (#109) which fixes this.
Andrew & Riz


Sorting arrows are obscured

What happened?
Sorting arrows are obscured
Please reproduce in steps
open https://kodadot.xyz/series-insight
and then you can see the arrow is abnormal
Expected Behavior
I expected that the arrow should be displayed in full
What browsers are you seeing the problem on?
Chrome
Are you logged in?
No response
At which address did you encounter bug?
kodadot.xyz
Screenshots
Paste from your clipboard or upload screenshots/video

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
Code of Conduct

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

i will check this bug


Make Seurat a bit more robust and fail more elegantly

This PR should make calling the Seurat HTODemux() function more robust, particularly with unfiltered or loosely filtered data. In particular, it removes cellhash HTOs that are found very rarely  before performing calling, and also removes any lingering cells that might have no reads. I picked a threshold of < 0.1% of cells with counts greater than 1 for a each HTO, which I found in a few real data sets seemed to do a good job of eliminating spurious mappings in the data sets that I was able to play with. I considered using a higher threshold, which might make it even more robust, but I didn't want to get rid of HTOs that might correspond to real but rare cells in the multiplexed set.
In the event that HTODemux() still fails, I still add a column for the results in the main colData object, but with NA values rather than real results. I don't include any results in the altExp.
closes #99 (until the next place Seurat breaks)

This looks good to me. I am fine with the threshold that you chose for filtering, as I don't think we have strong rationale for picking a number that's higher than that and risking losing potentially rare cells as you stated.
My only comment is about replacing the failed results with NA and also replacing the doublets and negative results with NA. I wonder if it would make more sense to put Demux_fail or something that indicates it was a failure of the actual function to demultiplex. I know you will be able to distinguish because an entire column will either be NA versus only part of the column, but I think it still might be useful to somehow point out that this library failed in a more direct way.

I can't really think of a better solution here, other than leaving out the column completely, which I didn't want to do, as I wanted some indication that the demux was attempted. Using NA for all values seemed the most straightforward, as it shouldn't immediately break any workflows that might expect particular values.


Fix adjusting log level called with uninitialized logger

Hi @zikolach, happy to merge this as is. Is it possible to write a test that fails under the current master? We obviously don't have this edge case in our current test suite (or else it would have failed).

not sure how easy it is to write a test that is guaranteed to be called first for all pyam...

not sure how easy it is to write a test that is guaranteed to be called first for all pyam...

Coverage increased (+0.006%) to 88.093% when pulling 6fefab299dc5152f086021178e37264131579fac on quickfix/adjust-logger-level into d2fa051caf2e31a3d58d87dccbb0ddb1fae4e056 on master.


Update ipv6 instructions for 3.x Compose files

Proposed changes
This PR expands the instructions to enable ipv6 addressing on Docker Compose 3.x to include the process outlined in this GitHub Issue.
I believe these should be added so that the documentation holds this source of truth.

@ulyssessouza Could you PTAL?

Thank you @kaylareopelle :)


feat: add scalar kind

DEV-3403
Fixes https://github.com/dagger/dagger/issues/6466
This is the "proper" implementation of #6739. This allows us to preserve the original scalar name.
Implemented functionality:

[x] TypeDefs have an AsScalar field, so that they can be connected to their original value.

For example, this allows the CLI to know that a flag is a dagger.Platform flag. Eventually, this could allow us to have a special value, like "current" as a shorthand to represent the client platform.

[x] Modules can call WithScalar to define their own non-core scalar values - these are represented as scalars in TypeDefs, as well as in the GraphQL schema.
[x] Other modules can import another module that have a custom scalar, and use it.

TODO:

[x] Implement all the above functionality
[x] Add a magical CLI handler for dagger.Platform (this was my motivation for doing all this lol)
[x] Add some tests
[x] Fixup all TODOs

A fun side-effect I just discovered - because of how dagql does enums, we get enum support included alongside this!

Note: this is only fully enabled for the Go SDK right now - there will need to be minor updates to both Typescript and Python (cc @TomChv @helderco), so that functions that take a scalar argument mark this using WithScalar to the engine (instead of using WithString).

I'll get on that asap and coordinate with @TomChv. Thanks for pushing this through! 🙏

Asking for https://github.com/dagger/dagger/pull/6967, is WithString still support?.

@wingyplus, yes, WithString is still here - it's just that now, by using WithScalar for a type like Platform, it indicates it as specifically a Platform input, instead of just a normal string - this allows the CLI to have a significantly better interface for it/etc.

It's more important to be in the same release than in the same PR. I've already made the change for Python locally but in holiday today and the tests need improvement. I asked Tom to do the same but it may not be as easy there because of how it's written. Hold on at least for Python and I'll check up with Tom.

Rebased, since main is a little less flaky right now :tada:

@jedevc @helderco
I pushed the support for TypeScript on your PR directly: a0a9d61

@helderco will do - looks like TestModulePythonScalarKind and TestModulePythonEnumKind are failing in CI though.

@helderco will do - looks like TestModulePythonScalarKind and TestModulePythonEnumKind are failing in CI though.

Ah, forgot about those. Will fix in a minute 🙏

@jedevc, user created enums are actually very useful to support (instead of custom scalars):

https://github.com/dagger/dagger/issues/6780

Yeah this is actually a bit more of a pain in go since native enum types aren't really a thing. I'm happy for someone else to lead on the custom enums work and I can work out how it makes sense in go, but probably makes sense to lead with a language that actually supports them nicely :laughing:
See https://github.com/dagger/dagger/compare/main...jedevc:dagger:add-custom-scalar-kind for a base for how to handle the custom scalar plumbing (enums are pretty similar to enums for this).

I think Go's implementation of enums is fine. Custom scalars are more problematic because their implementation has to define:

How the scalar's value is represented in the module's language (aka, back-end representation)
How the value's back-end representation is serialized to a JSON-compatible type
How the JSON-compatible representation is deserialized to the back-end representation

That can be simplified if we just assume/limit to a normal string everywhere, but it still opens a can of worms when we don't have enough feedback that it's actually needed.
However with enums, it's just a fixed list of supported string values. No serialization/deserialization required. To support defining new enums via the API it’s similar to ObjectTypeDef, where the fields are just a list of values and their descriptions:
type EnumTypeDef {
  name: String!
  description: String!
  values: [EnumValueTypeDef!]!
}

type EnumValueTypeDef {
  name: String!
  description: String!
}

type TypeDef {
  """
  If kind is ENUM_KIND, the enum-specific type definition.
  If kind is not ENUM_KIND, this will be null.
  """
  asEnum: EnumTypeDef

  """
  Returns a TypeDef of kind Enum with the provided name.

  Note that an enum's values may be omitted if the intent is only to refer to an enum.
  This is how functions are able to return their own, or any other circular reference.
  """
  withEnum(name: String!, description: String = ""): TypeDef!

  """
  Adds a static value for an Enum TypeDef, failing if the type is not an enum.
  """
  withValue(name: String!, description: String = ""): TypeDef!
}

enum TypeDefKind {
  """
  A GraphQL enum type and its values.

  Always paired with an EnumTypeDef.
  """
  ENUM_KIND
}


Code examples in CONTRIBUTING.md

Let me know what you think. Unless you want to keep them, I will remove the rules and keep only the examples.
Fixes #25

Hmm, I see it is broken. I wanted to check it back when I added the 1st commit, but forgot about it yesterday. Should be fixed now.

I guess this is ready for merge?

I think it is helpful to see the source for the file to understand what you mean, so how about adding the raw file link to the top of the file?
Other than that, looks good.

I think it is helpful to see the source for the file to understand what you mean

Where is the HTML unclear?

Nevermind, I was reading the source and didn't see that it was in a code block.
It's good to merge.


How to get the latent representatio for each user?

Hi there,
What is the best way to get the latent representation (embeddings) for each user?
thanks in advance

Hi @gilcanetasdias,
there is no dedicated way to get only the latent representation of users. However it's python, so you can play with objects however you like.
When you have a trained VAE model, just get a _VAE attribute (https://github.com/mkfilipiuk/VAE-CF/blob/master/vae/models/Mult_VAE_model.py#L45) and then select the encoder from it.
Now just run session on it and you'll get the embeddings of data that you pass there :)

Thank you very much for the answer!
So it should be something like this?
vae.vae.encoder(test_data_input, training=False) embeddings = vae.session.run()
To transform the data is better to use the batch_iterator_val right?
I am more used to work with pytorch 😅!
Thank you for the help one more time!

this encoder you have to pass to session run, so sth more like:
embeddings = session.run(vae.vae.encoder(test_data_input, training=False))

but you were close 🙂

Almost there 😅!
I wrote this inside  the vae.test() to use the batch_iterator_val to transform my data.
with tf.Session() as sess:
 embeddings = sess.run(self.vae.encoder({self.inputs_validation: (idxs, vals)}), training=False)
But when I run I have the following error:
raise RuntimeError("Graph is finalized and cannot be modified.")


Caching

Hi..
How can i add $http{ cache: true } in angular-hal ?

What would you like to achieve? Caching should be done via http caching headers and the browser caching system!

Since the Pull Request #31 is merged, you can pass on options to $http by supplying the options using httpConfig.
Example:
halClient
    .$get(apiUrl, {
        httpConfig: {
            cache: true,
        },
    })
    .then(function(apiRoot) {
        // Do something with it
    });


How to set default device for web view

Hi there, I when I open the web view it always shows the generic view but I want to set another board as the standard. Is there a function or a way to do that?

The web application is using cookie to store the last board you viewed.


Discussion: Is it necessary to add some helper class?

Just like:
ScreenResolutionHelper https://raw.githubusercontent.com/h82258652/SoftwareKobo.UniversalToolkit3/master/SoftwareKobo.UniversalToolkit/SoftwareKobo.UniversalToolkit/Utils/ScreenResolution.cs
T4 for resw
https://raw.githubusercontent.com/h82258652/SoftwareKobo.UniversalToolkit3/master/SoftwareKobo.UniversalToolkit/SoftwareKobo.UniversalToolkit.T4/LocalizedStrings.tt
I don't know what's the goal of Template10. A small library just like handle navigation, or a big library include all things about UWP developing.
@JerryNixon
At last, sorry for my terrible English.

These are great additions. I will add the resolution helper in the Utils namespace. As for the T4. This would not be appropriate to ship with T10, but it's very valuable and I think we should include it in a dedicated sample. Building a sample project based on Blank demonstrating the T4 accessing string resources like Silverlight would be a welcome pull request.

Thanks for response.
How about also add a unix timestamp to DateTime converter?
And change Mdl2.cs static method to const string.

I am not sure those methods are accurate.

Review this for me: http://dwcares.com/actual-size/

I got the ScreenResolution code from a Chinese forum.
I test it in desktop and mobile emulator, both works.
Maybe need more test.

If you test it and trust it, submit it again. Are you testing the physical resolution of your monitor or the effective resolution of your device?

Desperately looking forward to it...i did my research I was almost there to figure it  out. I might have documented in source let me check and revert back on it.
My app which uses Template10 need it. I did customize Template10 library for my app(the early release) I guess June or July...the app basic edition is live(windows store)
The app titled Visual Acuity Pro ...in beta testing...
-----Original Message-----
From: "Jerry Nixon"<EMAIL_ADDRESS>Sent: 14-09-2015 21:56
To: "Windows-XAML/Template10"<EMAIL_ADDRESS>Subject: Re: [Template10] Discussion: Is it necessary to add some helperclass? (#77)
If you test it and trust it, submit it again. Are you testing the physical resolution of your monitor or the effective resolution of your device?
—
Reply to this email directly or view it on GitHub.

Hi Jerry/Andy
Add me as a member I will start contributing in my free time.
First one to use Template 10. I have customized it for my requirement...i did fork but got busy with a client xaml app.
Thanks
-----Original Message-----
From: "Jerry Nixon"<EMAIL_ADDRESS>Sent: 14-09-2015 21:56
To: "Windows-XAML/Template10"<EMAIL_ADDRESS>Subject: Re: [Template10] Discussion: Is it necessary to add some helperclass? (#77)
If you test it and trust it, submit it again. Are you testing the physical resolution of your monitor or the effective resolution of your device?
—
Reply to this email directly or view it on GitHub.

Screen Resolution Test Result：
Desktop（device Win10 10240）
Correct Value：1920x1080
Test Result：1920x1080
Mobile（emulator W10M 10240 WXGA 4.5 inch）
Correct Value：768x1280
Test Result：768x1280
Mobile（emulator W10M 10240 WVGA 4 inch）
Correct Value：480x800
Test Result：480x854
PS：This seems wrong. But I think the reason is the virtual navigation bar. So I think it is still useable.
Get screen resolution is very necessary for a wallpaper app. I hope Jerry can add it into Template10 or find a better way to get the screen resolution.
By the way, I don't have a IoT device. So I don't know if it works on the IoT device.

And I'm coding some classes to access the Package.appxmanifest file when the application is running. But not finished now. Maybe this idea is useful for Template10.
https://github.com/h82258652/SoftwareKobo.UniversalToolkit3/blob/master/SoftwareKobo.UniversalToolkit/SoftwareKobo.UniversalToolkit/Utils/AppxManifest/PackageManifest.cs
https://github.com/h82258652/SoftwareKobo.UniversalToolkit3/blob/master/SoftwareKobo.UniversalToolkit/SoftwareKobo.UniversalToolkit/Extensions/PackageExtensions.cs

We had a ManifestService in the Template10.Services early on and I would love one there again. If you are doing it so it's all strongly typed, you can submit it. Make it defensive, man!


testssl: 2.9.5-3 -> 2.9.5-4

Motivation for this change
Changelog:
https://github.com/drwetter/testssl.sh/releases/tag/v2.9.5-4
Also improved the expression to be more readable.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
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)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build testssl

@etu can you also apply for borg access? https://github.com/NixOS/ofborg/pull/151

Success on x86_64-linux (full log)
Attempted: testssl
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4/bin
patching script interpreter paths in /nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4
/nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4/bin/testssl.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4...
/nix/store/fai7dix91qb9gw6fccmlm28v0a3z1qv4-testssl.sh-2.9.5-4

Success on aarch64-linux (full log)
Attempted: testssl
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4/bin
patching script interpreter paths in /nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4
/nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4/bin/testssl.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4...
/nix/store/7vlf91gxizsmf3yhgxswp0g3ln3kinc9-testssl.sh-2.9.5-4


Implement and test transport::VSomeIpUTransport

Make it work!
Implement a UTransport under the new API. Test that it works.

I can take this one

As discussed,
This task is not a single person task and need a breakdown. I will work on this issue so for tracking purpose you can assign this task to me.

I shall be contributing to this task as well


Update the aws sdk to version 1.2.10

Updates the aws sdk to a version which support Elastic Container Service (ECS) task credentials.
This allows bosun and scollector to be run containerised in an ECS cluster and be able to pick up the correct role to allow them to query the AWS apis.

Closing in favour of #2262 which pulls in new version via mod


bump error-chain to 0.12 in order to silence unused_doc_comment

fixes #423
bumped error-chain to 0.12. The warning: lint unused_doc_comment has been renamed to unused_doc_comments should be all gone now :)

That fixed it!


[Question] Need helps to implement a feature so FzfLua buffers can show only shown buffers

Description
I'm trying to extend the default FzfLua buffers by adding a new action for it so that only shown buffers, i.e. buffers that are opened in a window in some tab, will be listed. I expected that this can be achieved by extending the default one, so I have tried to read the source(as linked below) but it seems that copy-pasting it is not a good idea since some internal local functions are used and I'm not sure about whether they're related to my question or not. What I want to achieve is something like the default action <C-g> for FzfLua live_grep_glob but here I want to toggle between listed/shown buffers.
I really need this feature, thanks for your reading!
https://github.com/ibhagwan/fzf-lua/blob/5abf66f63bf08121dd4e917488b59ccb693eee12/lua/fzf-lua/providers/buffers.lua#L168-L196

What I want to achieve is something like the default action <C-g> for FzfLua live_grep_glob but here I want to toggle between listed/shown buffers.

Although I’m sure it’s possible with some hacks reusing the internal buffers code for an extension such as you’re describing isn’t the best idea and is alsp prone to break if I change something in the future.
For what you’re describing it’s best to use the API fzf_exec which is bound to stay the same, my honest suggestion is start from scratch and experiment first use the output from nvim_list_bufs() as is, see what you want to trim down and finds ways to determine which buffers you want displayed based on certain parameters (if they have visible window or not, maybe use nvim_win_get_buf or winbufnr?), once you have a provider that works to your liking you can use an action to open it using a C-g like action.
You can also copy the buffers source code and remove everything you don’t need there, either way you’ll end up in a similar result to “writing from scratch”.
Good luck!

new action for it so that only shown buffers, i.e. buffers that are opened in a window in some tab

@nyngwang, now that I think of it, isn't what you're asking exactly the FzfLua tabs command?

Closing, feel free to reopen if you need more help.

@nyngwang, now that I think of it, isn't what you're asking exactly the FzfLua tabs command?

@ibhagwan Oh holy-moly golden era. That's exactly what I need!

@nyngwang, now that I think of it, isn't what you're asking exactly the FzfLua tabs command?

@ibhagwan Oh holy-moly golden era. That's exactly what I need! I like the Tmux-like experience it provides: clearly points me out where am I.
(When did you add this?) (Sorry for my late reply I was frustratingly trying to solve some other problems)

This is a somewhat early feature requests, #143 :)

What's the name of the highlight group for the Tab #n in the floating window?

That’s hard coded ansi blue (terminal color):
https://github.com/ibhagwan/fzf-lua/blob/292de730ebbd3834e87f864c8c4115dc1035db37/lua/fzf-lua/providers/buffers.lua#L303

@ibhagwan It's possible to change the color via highlight group? I know this might spend you some time thinking about how to expose it, but I really need it.

You can control terminal colors via the colorscheme: this one should be vim.g.terminal_color_4, if this doesn’t work I can add a configuration key for the color tomorrow.

@ibhagwan Really appreciate that! Take your time I'm not in a hurry for this.

Update to https://github.com/ibhagwan/fzf-lua/commit/dd0346cbe91e2fdf55dba043dfe218427b96ad5f and you can customize both the tab title and a custom neovim highlight, for example:
:lua require("fzf-lua").tabs({ tab_title="TAB NUMBER", tab_title_hl="Error" })
-- Another example:
:FzfLua tabs tab_title=TEST tab_title_hl=Special

Will result in:

@ibhagwan I just saw your update via the log message of lazy.nvim :) I didn't know that a red(?) title looks really nice, thanks for your swift help!

Try them all :-)
Any neovim highlight group should work now, including custom ones set by colorschemes/plugins/etc, you can explore avaiable highlight groups with :FzfLua highlights.


Make sure that you are browsing your default D365 instance

When going to the D365 Admin settings. Be sure that you are going to the default instance URL. Otherwise you will not be able to find the projects listed in Project on the Web.

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

ID: f4f1adb3-b824-60a4-e21f-616feec2270d
Version Independent ID: 5dc9a015-0485-4d8a-d31e-8af06dcb4dde
Content: Access a project in Project for the web after its Office 365 group has been deleted - Project for the web
Content Source: ProjectWeb/access-a-project-after-group-is-deleted.md
Service: ****
GitHub Login: @efrene
Microsoft Alias: efrene

@SLeuthold thank you for helping improve MS Docs. This article has been updated in the interim to read correctly. Thanks again for your help. @scanum this can be closed thank you.

@scanum this can be closed thank you.

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


Gorm module

modules/gorm
Gorm module
Activation
module.gorm = github.com/revel/modules/gorm

Drivers

sqlite3
postgres
mysql

Configuration file
# Database config
app.dbautoinit = true # true | false
app.dbdriver=sqlite # mysql, postgres, sqlite3
app.dbhost=localhost  # Use dbhost  /tmp/gorm.db is your driver is sqlite
app.dbuser=dbuser
app.dbname=dbname
app.dbpassword=dbpassword

Example Auto init DB:
import (
"github.com/revel/revel"
"github.com/revel/modules/gorm/app"
)

type App struct {
	*revel.Controller
	gorm.GormController
}

Example Manual Init DB:
import (
"github.com/revel/revel"
"github.com/revel/modules/gorm/app"
)

type App struct {
	*revel.Controller
	gorm.GormController
}

func (c App) Index() revel.Result {
	params := gorm.DbInfo{}
	params.DbDriver = "sqlite3"
	params.DbHost = "/tmp/dbtest.db"
	params.DbName = "test"
	params.DbPassword = "test"
	params.DbUser = "test"
	gorm.InitDBWithParameters(params)

	return c.Render()
}

Sorry for the delay, I like the design of the module. I wonder if you could enhance this a little bit.

[ ] Add ability to turn of the InitDB that the init calls from a configuration option.
[ ] Expand the InitDB function so that the dbDrive,dbHost, dbUser, dbName, dbPassword

I always seem to run in the situation where I need two different database connections so if the controller could be flexible enough to have this then (but default to the auto config) that would be great.
And since we are adding easy DB mapping can you provide a function to get a sq.StatementBuilder All this method needs to do is check to see if the sqlDriver is postgres, if it is return this sq.StatementBuilder.PlaceholderFormat(sq.Dollar) , if not return sq.StatementBuilder.PlaceholderFormat(sq.Question)

I will work on the suggested changes and keep you informed

Have you made any progress with this ?

Sorry for the delay, but I had a lot of work.

No problems @wariosolis , thanks for the update !

No problems @wariosolis , thanks for the update

I have pending adding the function to get the sql.Statement Builder, although I think that's part of Gorm and not the module itself.
I await your comments for errors or additions.

So the only comment I have is the config, which seems to conflict with the "keys" used in the manual
http://revel.github.io/manual/appconf.html#database
ie
db.*
vs
app.db*

Prefer the dd.* persnally

Ok, i'll change the config to db.*

Fixed.

The initial code sample doesn't appear to have a gorm package as you're importing gorm/app, is that right? Can you also demo a basic select query from within a Revel Controller method?
This looks pretty good so far.

I have made an example of the module and added it to the examples repository.
Https://github.com/revel/examples/pull/29


Doesn't works on Android?

I found a issue when trying to open the .html in android
I have opened the file on 2 android devices to test and on both devices I get a white screen when opening said .html with a native browser of the phone and with an external android browser when opening the .html file, it simply never connects even if they are connected to the same wifi

The native browser sucks, don't use it.
When using a separate device, you need to find your laptop's IP and either
a) host a little web server on the laptop
b) make neopixel.js point towards the laptop's IP


beforeClose method

add a method before modal close

can you be more descriptive here? So essentially a method that is called before the modal is closed? how would you know the modal is about to close?


[Discuss] Simplify SplittableIterator interface

While working on something, I found the SplittableIterator interface unnecessary complicated.
Let me know if you agree to merge this simplification.

LGTM
I suspect that the travis fail is caused by faulty colocated subslot disposal. Should be fixed with #317

I think in the current state, this makes sense.
I wrote the interface like it was, because it would enable implementations that does not compute/provide all splits on all machines. Think of a collection input format where we send a different subset of the collection to all each node (not supported in the runtime now, but might be at some point).
I guess we can realize something similar by splitting on the client and then sending the sub set iterators directly.

+1
@rmetzger Can you create a JIRA for this?

Resolved in http://git-wip-us.apache.org/repos/asf/flink/commit/7ac6447f.


"Asinip" is listed in the drop-down menu

Description:
"Asinip" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Asinip" in the search bar.

Expected results
The location is listed in the drop-down menu as "Asinip, Alba (Lopadea Nouă)".


📝 Fix example code with sets in Tutorial - Body - Nested Models 2

Duplicate of #2052

Great, thanks! :mag: :coffee: