Delete item functions oddly

I'll try to be accurate with this bug report; my apologies if I'm not. Using the latest version from F-Droid.
When selecting the 3 vertical dots and telling the program to delete, the program displays "Delete Products" at the top of the screen, and a trashcan icon at the bottom left. Clearly it's in delete mode.
The program auto-selects/checks several items with check-marks in the boxes. Tapping on the check-marks makes the program turns the item gray and strikeout the item, but does not un-check the box.
Trying to check the items that have un-checked boxes results in the items being turned gray and struck-out.
Clearly the delete items function is broken.

Thanks for the response Peter. And thanks even more for a handy tool -- one that's not only highly functional, but one that I have some confidence in that it's not tracking me or sending my lists of groceries out to third parties. :+1:
I see what you mean about deletion, but if I may suggest, try to imagine that from a clueless user like me. From my perspective, the entire deletion routine functions so oddly that I still don't use it even though you took the time to explain it to me and I verified it works.
IMO this should be a task to revamp for the next version (but I guess it's easy for non-coders to assign you guys work. :-)

Hi, I agree, the UI could be more intuitive here 😉 It is on our list and I will keep this issue open until the UI has been improved.


Automatic Speech Recognition Pytorch Workflow

Training Dataset: Librispeech clean 100 hour.
Eval Dataset: Librispeech test_clean
Model: CNN LSTM model.
Platform: 8 V-100 GPU machine.
Character Error Rate: 0.0995 after 64283 steps or 97699.67 seconds (0.66 step/second).
Net training time (score): 43357 seconds.

@ckt624 @znado @runame
Could you each give me a signal when this is ready to merge?

@ckt624 @znado
Where exactly are the workload-specific python libraries version requirements are added?
For example, this workload requires librosa, pandas, .. libraries

@ckt624 @znado
Where exactly are the workload-specific python libraries version requirements are added?
For example, this workload requires librosa, pandas, .. libraries

We don't have this right now.

@ckt624 can you figure out which versions of the additional pip dependencies this requires, and add them to setup.py?

@ckt624 can you figure out which versions of the additional pip dependencies this requires, and add them to setup.py?

Added.


CsvSource type conversion with custom schema

From the project README - CSV source part I got the idea that type conversion for loaded CSV should be performed according to the specified schema.
But if I define a custom schema for a CsvSource which has columns with other types than String (Int for example), then the values in that column are still returned as String.
Is it intended behaviour, bug or it just haven't been implemented?
Runnable example:
import java.io.ByteArrayInputStream
import java.nio.charset.StandardCharsets
import io.eels.component.csv.CsvSource
import io.eels.schema._

object CsvSourceTypeConversionTest extends App {

  val exampleCsvString =
    """A,B,C,D
      |1,2.2,3,foo
      |4,5.5,6,bar
    """.stripMargin

  val stream = new ByteArrayInputStream(exampleCsvString.getBytes(StandardCharsets.UTF_8))
  val schema = new StructType(Vector(
    Field("A", IntType.Signed),
    Field("B", DoubleType),
    Field("C", IntType.Signed),
    Field("D", StringType)
  ))
  val ds = new CsvSource(stream _, Some(schema)).toDataStream()
  val firstRow = ds.iterator.toIterable.head
  val firstRowA = firstRow.get("A")
  println(firstRowA) // prints 1 as expected
  println(firstRowA.getClass.getTypeName) // prints java.lang.String
  assert(firstRowA == 1) // this assertion will fail because firstRowA is not an Int
}

@flexik Have you considered using the SchemaInferrer?
val inferrer = SchemaInferrer(SchemaType.String, SchemaRule("qty", SchemaType.Int, false), SchemaRule(".*_id", SchemaType.Int))
CsvSource("myfile").withSchemaInferrer(inferrer)

I take your point though that perhaps if you explicitly pass in the schema it should use the schema under-the-hold - we will be looking into this.

@hannesmiller Using SchemaInferrer yields the exactly same result as using schema directly. No type conversion happens. All Row fields are still Strings.
Updated example with SchemaInferrer:
import java.io.ByteArrayInputStream
import java.nio.charset.StandardCharsets

import io.eels.{DataTypeRule, SchemaInferrer}
import io.eels.component.csv.CsvSource
import io.eels.schema._

object CsvSourceTypeConversionTest extends App {

  val exampleCsvString =
    """A,B,C,D
      |1,2.2,3,foo
      |4,5.5,6,bar
    """.stripMargin

  def stream = new ByteArrayInputStream(exampleCsvString.getBytes(StandardCharsets.UTF_8))
  val inferrer = SchemaInferrer(
    StringType,
    DataTypeRule("A", IntType.Signed),
    DataTypeRule("B", DoubleType),
    DataTypeRule("C", IntType.Signed),
    DataTypeRule("D", StringType)
  )
  val ds = new CsvSource(stream _).withSchemaInferrer(inferrer).toDataStream()
  val firstRow = ds.iterator.toIterable.head
  val firstRowA = firstRow.get("A")
  println(firstRowA) // prints 1 as expected
  println(firstRowA.getClass.getTypeName) // prints java.lang.String
  assert(firstRowA == 1) // this assertion will fail because firstRowA is not an Int
}

@flexik ok this maybe a bug that was introduced between versions - nevertheless I agree this should match the supplied schema - we will make this a priority for the next release which is looking like the early part of March.
Will keep you posted If we manage to get this resolved in alpha release beforehand.
Regards
Hannes


Enhancement: Alignment of buttons in mobile view and responsiveness

In mobile view, the buttons are not properly aligned and the project cards are a bit choked, I can help fix this issue.

This issue will be taken under the mobile responsiveness milestone.
Please wait sometime till we create the milestone.

Alright. Thank you

@DavOlufuwa do let me know if you interested in working on this issue.

@thtauhid I am still interested in working on the issue.

@DavOlufuwa I have assigned the issue to you.

Thank you. I'd get started.


Rewriting the bundler in the Lua

I've had it on my mind for a while now that it would be a good idea to rewrite the bundler in Lua. Having a significant part of our functionality written in a language with which most contributors aren't familiar is less than ideal. By my count only @asherber and myself are familiar with it, but I haven't been able to contribute for a while, so that really only leaves one person.
So I'm opening this to plan and discuss any issues around this, such as:

Is there any reason that it can't be in Lua? There are extensions for Lua for things like PCRE, etc
Can we run Lua with extensions installed from an action?
... and whatever else I might have missed

Cc @asherber @rpatters1

I agree with the general idea of making the ecosystem accessible, but I'm not in favor of taking this action, for a number of reasons. Off the top of my head:

I am reluctant to rewrite something that's already working.
The JS ecosystem is bigger, easier to find answers in, easier to navigate, easier to set up and test. It seems to me that the major selling point of Lua as a language is its easy interoperability with C -- a significant factor in using it (rather than a better-known language) to interface with Finale, but not relevant for this project's supporting infrastructure.
I don't think that having the bundler in Lua will really make it any more welcoming to the community in general than it is now, because of what I expect to be the complexity of the code.
It's reasonable to expect that some complicated parts of the ecosystem (the website, the build process, the mixins, RGPLua itself) are provided and maintained by a subset of the community for the benefit of the whole.

To answer @ThistleSifter's question, yes, it would be possible to run this from an workflow. There's an action that installs Lua on the runner (with luarocks), and then you would use a run statement to invoke your Lua file.

I wasn't look at it from the perspective of making the repo more welcoming or inviting. I don't expect that a bundler written in the same language as the rest of the repo will attract an influx of contributions. Rather, I was looking at it from the point of view of the bus factor. You're right that, for example, you wouldn't expect everyone to add to or modify the mixin  library. However, I have documented it as best as I could (I'm always happy to take suggestions for better docs) and should the need arise for someone else to make changes, the only hurdle is understanding the code. Websites aren't built with Lua and it's also a separate entity built on top of this repo, which could still function without it as a place for people to get scripts, whereas the bundler is part of this repo. The JS ecosystem is only useful if you already know JS, or TS in this case.
As somebody in another team once said to me (in good humour) "now it's okay if you get hit by a bus."

I am wondering if converting the build over to Lua would buy us much. The thing about Lua is that where expertise matters is in the domain it's running under. To do anything useful with it, you have a domain-specific library that it is interacting with. (In our case, it's the PDK Framework.)
Whatever domain library a Lua bundler is running under is not going to be any more common knowledge within the team than TypeScript. I think mixin is actually a good example. It is a fundamental part of the project now, but until recently only @ThistleSifter was able effectively to modify it. In this last project (with his help) I think I finally understand how it works well enough to make at least superficial changes.
I've never used TypeScript except in this project, but it's just a computer language and those are basically all the same. The syntax is not what's hard. What's hard is understanding the structure of the program and the ramifications of changes.
This project will survive only as long as there are team members interested in learning new aspects of it. And usually that is driven by the Mother of All Invention.

@ThistleSifter makes good points about documentation. The bundler has reasonable general documentation, but it could use some more specific docs about program structure, and warnings about certain gotchas; I'm happy to take on those improvements.
FWIW, as it is used in this repo, TypeScript is really just JavaScript with type checking.

As long as @asherber is volunteering to update documentation, expanded documentation about how to build, test, and deploy the jw-lua-scripts-docs repo would be a very helpful addition to the README.md there. The current instructions are minimal.
This probably goes without saying, but any new docs for this repo should be at or clickable from the README.md here.

(The bundle and get-metadata actions, which live in this repo, actually have their own READMEs. I think it's probably good to keep them separate, since the info there will only be relevant to people working on those parts of things -- don't want to pollute the main README.)

It might be at least worth adding a link to the readme files for each from the top-level readme. Links can be relative to the top of the repo, and they will work in any branch that way.
I did this, for example, in the readme for luaosutils.


Jitify version is not consistent in different installation methods

So now we have two issues:

With wheels (I confirmed on Linux too): Jitify version is unknown
With conda packages (on Linux): Jitify version is not unknown

Update: I just checked the Windows conda package and wheel. Below is an updated summary:

With wheels:
a. On Linux: Jitify version is <unknown>
b. On Windows: Jitify version is not <unknown>
With conda packages:
a. On Linux: Jitify version is not <unknown>
b. On Windows: Jitify version is <unknown>

@kmaehashi I am confused why the situation is flipped between wheel/conda and between Linux/Windows...

Originally posted by @leofang in https://github.com/cupy/cupy/issues/8147#issuecomment-1924130611

@kmaehashi any thoughts?

With wheels:
a. On Linux: Jitify version is <unknown>
b. On Windows: Jitify version is not <unknown>

Currently Windows wheels are built with .git, but Linux wheels are not. (Linux wheel build infra has recently been migrated to the new GitHub Actions-based pipeline and is currently in the private repo. I think this needs to be fixed...)
Not sure why Windows conda packages say <unknown>...

Not sure why Windows conda packages say <unknown>...

We download sdist from PyPI to build conda packages, could this be relevant?

Not sure why Windows conda packages say <unknown>...

We download sdist from PyPI to build conda packages, could this be relevant?

Likely. sdist does not contain .git.

Not sure why Windows conda packages say <unknown>...

We download sdist from PyPI to build conda packages, could this be relevant?

Likely. sdist does not contain .git.

Indeed, it occurred to me that we rely only on git to give Jitify a version. But now I don't understand why the version in Linux conda packages is not <unknown>...


Does not identify worker

I have issues
Error aws_auth
kubectl get nodes
No resources found
I'm submitting a...

[x] bug report
[ ] feature request
[ ] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details

Affected module version:
OS: linux
Terraform version: 0.13.4

Any other relevant info

Error de version


Enable compilation on higher VS versions even if the F# plugin is not installed

Currently, the build process fails if one is building with an MSBuild version corresponding to a Visual Studio version higher than 11.0 if the Visual F# plugin for Visual Studio is not installed.
The changes in this pull lets the projects use the Visual F# Tools in version 3.1 or 3.0, in that case, provided that they are installed.
Also, if no matching Microsoft.FSharp.Targets file is found, the build fails explicitly - because <Import Project="$(FSharpTargetsPath)"/> expands to <Import Project=""/> - instead of failing silently because the project has no compilation output.

Another alternative would be to use the open source F# compiler that is available on NuGet as FSharp.Compiler.Tools.

not completely sure if I understand the change, but if make it work on more machines :+1:


Automatically configure when switching kits

When switching kits, it's necessary to also run Configure to configure with the kit.  Perhaps switching kits should automatically trigger configuration?  Or, short of that, perhaps add a setting to enable configuration when switching kits.  There is an existing setting to auto configure on open.  These could be merged, so CMake is always maintained in a configured state.  Though, even when not (re-)configuring on open, it would seem beneficial to always configure when switching kits.

Just as a side note: In VS2019 configurations can be defined in CMakeSettings.json and when switching between them, the configuration happens in a new directory. When switching kits with the VSCode extension - the configuration is done in the same location. This needs to be taken into consideration too.

The configuration will be done in different locations if you make use of variables in the cmake.buildDirectory.

if it is going to be added then it should be customizable. I often change kits and sometimes by accident and don't want to trigger a configure always

@bobbrow Thank you for reminding me about these variables. Should we have predefined configurations/environments VS2019 style in the VSCode extension?
https://docs.microsoft.com/en-us/cpp/build/cmake-predefined-configuration-reference?view=vs-2019

@Zingam can you create a new feature request for that?  Thanks!

I use different build directories for different kits, and automatic configuration will harm my usage. So this should probably be at least optional/configurable. Maybe it's possible for vscode-cmake-tools to detect, whether actual value of buildDirectory (after variables substitution) has been changed due to switching kits, and re-configure depending on this.

Any news on this?


Update render to sprite extension

Version 0.0.2

Fixes bug that created a new RenderTexture on each call eventually crashing WebGL when used every frame
Fixes sprites not keeping their original height and width when rendering a scene or layer into them
Fixes culling not being updated before rendering

I trust you for the fixes :) This being said this is starting to use non public API. As this is very dangerous, we should mark the extension as experimental and have a "non public apis" tag too I think?

Maybe 🤔 It is kinda sad in my opinion though to not have the possibility to make this extension work in a "stable" way. On the other hand, I cannot think of any other extension that could make use of this API and don't think it would be a good idea to make it public just for that. I'll add the "experimental" and "non-public api" tag.

Well, that's the interesting part actually - and why GDevelop is open-source ;) Finding how we could adapt the runtime scene to allow such rendering.
Of course if it's for a single extension we might not seen the exact best API, but it's still hinting in what we could do.


onFloatingFilterChanged in react

Hi,
how to use onFloatingFilterChanged in reactJs? there is no doc for react :(
Thanks

I  am using the version v10 but still I am getting the error Uncaught TypeError: this.floatingFilterComp.onParentModelChanged is not a function

This should be fixed now


Official documentation page seems to be broken.

Tried going into the docs and I just got a 500 error.

Could be the same problem -> https://twitter.com/DaveJ/status/1524337027461926912?

Any updates here ? Tried to disable uBlock Origin but that didn't fix anything.
The documentation website being down for a doc product is kinda ironic 😕


Access to the driver profile currently in use

Is your feature request related to a problem? Please describe.
Not related to a problem
Describe the solution you'd like
To be able to obtain the name of the currently active driver profile.  For my car, it could be "Pat" or "Mollie" or "Debbi" or "Guest"
Describe alternatives you've considered
Have considered looking to Tessie API or directly to Tesla, but this seemed to be the best first option.
Additional context
I'm unsure why this isn't already a feature, but have tried to imagine why it might be this way by design.  Perhaps someone thinks this is a privacy issue?  Considering that it's my car, and that the only data I'm looking to gather is which profile is in use, it is difficult to imagine why this would be of any concern.    To that I'd point out that Tessie can provide the "now_playing_artist" field (among other media info data), and the current driver profile feels as relevant, so, why not?

The problem is the Tesla API that is currently being used is unofficial and not documented by Tesla. What has been documented has been done by others reverse engineering the API the Tesla app uses. If you know where/how (or even if it is available to the API) to get hold of this data I'm sure it could be added.

@skipishere isn’t the API now officially documented?
Tesla Dev Docs

@skipishere isn’t the API now officially documented?
Tesla Dev Docs

As I said, this currently uses the unofficial API that isn't documented. There is an issue raised about moving to the official API now that it exists but it's not nice and simple to swap over to, see issue  #743

Also this was previously requested. The unofficial API didn't seem to have the appropriate data to show the driver. #221


New source for 2.1.2

GIF 2.1.2 is proxy indicator that matches 2.1.1 in CIF. Recommend switching source to match CIF source (Table: 13-10-0834-01).

Agreed. Please include a note explaining the change in the data source.

Done in merge https://github.com/sdg-data-canada-odd-donnees/sdg-data-donnees-odd/pull/62


Any gadget for .NET Core

Tried to make a sample vulnerable .NET Core 3.0 app. It looks like none of the gadget works on .net core.
Got following error message when I used gadgets created by Oleksandr Mirosh,  [As per your one of comments on previous similar issue raised by some user].
System.Runtime.Serialization.SerializationException: Unable to find assembly 'Microsoft.PowerShell.Editor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(BinaryParser serParser, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, Boolean check)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
   at DatingApp.API.Controllers.DeserializationController.Deserialize(Info value2) in D:\DeserializationController.cs:line 73
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

This is a duplicate of #25

Hey edvraa,
Any solution for this issue. none of the gadgets are working against asp.net core 3.0

Hey @0xAyub, no solution until someone finds a new gadget. It was never working for .net core no matter which version as far as I know.


Priority issues

Hi,
today while working in go I noticed that order of the results is not good. For example, see this screenshot:

For some reason, tag source came in first, even though there's a Variable LSP that is an exact match on 4th item. Also, LSP has priority of 1000, where tag has priority of 90.
Do you know what can be an issue here? Thanks!

It seems completely broken 🤣
Thank you. I will investigaye it...

Ok, thanks. It happens also with buffer autocompletion being prioritized:

So I assume it's general prioritization issue.

I have gopls environment. Thank you. I will test with,this situation.

Hm... I can't repro... It's very weird...

How can I help debug this?

If you can create minimal config based on https://github.com/hrsh7th/nvim-compe/blob/master/misc/minimal.vim, It's very helpful.
Or just provide your full config for it.

Ok, I'll do that today.

From what I found, it has to do something with these settings in my config:
vim.o.smartcase = true
vim.o.ignorecase = true
vim.o.tagcase = 'smart'

When I comment them out in my config, it works fine.
For some reason I'm not able to reproduce the same thing in minimal vimrc. I'll continue trying, but posting what I found so far so you maybe can get an idea what's the issue.

Ok, i managed to do it with min vimrc.
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

set rtp+=/home/kristijan/.config/nvim/packa/packager/start/nvim-compe
set rtp+=/home/kristijan/.config/nvim/packa/packager/start/nvim-compe/after
set rtp+=/home/kristijan/.config/nvim/packa/packager/start/nvim-lspconfig
set rtp+=/home/kristijan/.config/nvim/packa/packager/start/nvim-lspconfig/after

lua << EOF
  require'lspconfig'.gopls.setup{}
  vim.o.smartcase = true
  vim.o.ignorecase = true
  vim.o.tagcase = 'smart'
	require'compe'.setup({
  enabled = true,
  debug = false,
  min_length = 1,
  preselect = 'disable',
  source = {
    path = true,
    buffer = { ignored_filetypes = {'sql'} },
    tags = { ignored_filetypes = {'sql'} },
    vsnip = true,
    nvim_lsp = true,
    vim_dadbod_completion = true,
    nvim_lua = false,
    calc = true,
    treesitter = true,
    ripgrep = true,
  }
})
EOF

Note that I add to rtp instead of plug, since I wasn't able to reproduce it with plug for some reason.
Also I moved nvim/pack to nvim/packa to make sure none of the other packages are loaded.

Thx. I'll test it.

Hm.... It's very weird...
I can't repro with folllowing config.
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !isdirectory(s:plug_dir)
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

" execute 'set runtimepath+=' . s:plug_dir
" call plug#begin(s:plug_dir)
" Plug 'hrsh7th/nvim-compe'
" Plug 'neovim/nvim-lspconfig'
" call plug#end()
" PlugInstall | quit

set rtp+=/tmp/plugged/vim-plug/nvim-compe
set rtp+=/tmp/plugged/vim-plug/nvim-compe/after
set rtp+=/tmp/plugged/vim-plug/nvim-lspconfig
set rtp+=/tmp/plugged/vim-plug/nvim-lspconfig/after

lua << EOF
  require'lspconfig'.gopls.setup{}
  vim.o.smartcase = true
  vim.o.ignorecase = true
  vim.o.tagcase = 'smart'
	require'compe'.setup({
  enabled = true,
  debug = false,
  min_length = 1,
  preselect = 'disable',
  source = {
    path = true,
    buffer = { ignored_filetypes = {'sql'} },
    tags = { ignored_filetypes = {'sql'} },
    vsnip = true,
    nvim_lsp = true,
    vim_dadbod_completion = true,
    nvim_lua = false,
    calc = true,
    treesitter = true
  }
})
EOF

I'm really sorry. I had a bit outdated version (was on commit 75f629a3ec2b1c097e882c0ca62dc80dedd0f289). I completely forgot that I didn't ran update.
After I did an update everything worked out fine.
Sorry once more for bothering, and thanks for help.

Thank you very much work.
I had found some of bugs while in this investigation. So this issue was helpful to me.

Great! At least I helped somehow :)

how do I set the priority for completion options?
I want snippets to come before LSP and then everything and anything else

how do I set the priority for completion options?
I want snippets to come before LSP and then everything and anything else

You can use something like this:
    source = {
        nvim_lsp = true,
        luasnip = {
            priority = <number>,
        },
    },

From what I could see nvim_lsp has a priority fo 1000 by default, so if you set the priority of the snippet to higher than 1000, it should work


Fix initialisation issue on Android

This fixes a bug on Android described in https://github.com/medic/medic-webapp/issues/1207

Thanks! This was definitely not according to the spec!


Builtin costs rework

Fixes #836
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
Attention: Patch coverage is 84.61538% with 34 lines in your changes missing coverage. Please review.

Project coverage is 88.09%. Comparing base (a06fa32) to head (e3a8a5a).

Files with missing lines
Patch %
Lines

src/libfuncs/gas.rs
85.10%
14 Missing :warning:

src/executor.rs
79.48%
8 Missing :warning:

src/executor/contract.rs
76.47%
8 Missing :warning:

src/types.rs
0.00%
3 Missing :warning:

src/executor/jit.rs
90.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
- Coverage   88.11%   88.09%   -0.03%
==========================================
  Files         123      123
  Lines       35294    35485     +191
==========================================
+ Hits        31099    31259     +160
- Misses       4195     4226      +31

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[promptflow] Add raise_on_error for stream run API

Description
Add parameter raise_on_error for pf.stream, by default we raise.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes].
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

close this and continue in #1200


[requires.io] dependency update on master branch

Coverage remained the same at 100.0% when pulling ec192248db36bd989ca3a3b0d59ab78c275708f9 on requires-io-master into c6fc8f465b591978f9e153f49fadd582cbbd9f22 on master.

Coverage remained the same at 100.0% when pulling 78b8451254fc822c64d28bb816a371534f530530 on requires-io-master into c6fc8f465b591978f9e153f49fadd582cbbd9f22 on master.

Coverage remained the same at 100.0% when pulling 3d7dd273f776d4be0a0b644530b4e387649a6815 on requires-io-master into c6fc8f465b591978f9e153f49fadd582cbbd9f22 on master.


PowerLauncher doesn't look for files and folders

Environment
Windows build number: Microsoft Windows [Versione 10.0.18362.836]
PowerToys version: 0.18.1
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce
Simply search
Expected behavior

Actual behavior
When used it does not search the files and the folders, only the programs.
Screenshots

Closing dye to duplicate of #3680
#File Search in Run Not Working v0.18.1 #3680


Try dynamic badge.

As Here only static badge info is present we also need to try dynamic badge

as status badges were removed no need for any badge.


MarkPad crashes when trying to save a read-only file.

Like the hardcore, window-goes-gray Windows crash.

Commit 58d1b6a0c69d4b4218c21dccd0ce87f82ad3dc7d should have fixed this.
Please check that you are running the latest version as I am unable to reproduce.

I was reporting the issue against the released version 1.0.1. I checked it out with the latest and I get the "Don't Panic" dialog. I can close that dialog and the application stays up (does not crash).


chore(main): release 0.26.0

:robot: I have created a release beep boop
0.26.0 (2023-03-04)
Features

move changelog (ce87295)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/samuele-cozzi/obsidian-marp-slides/releases/tag/0.26.0 :sunflower:


✨ [REQUEST] XTEVE

hello,
tahnk you for your job
i used home assistant with nginx proxy and i have https
visibly, i'm not alone
https://github.com/xteve-project/xTeVe/issues/327
it's possible to make this tweak with the fork of xteve included https option?
https://github.com/SenexCrenshaw/xTeVe
thank you

Hi, I've updated the addon with this image

thank you very much :)


Synchronization of vsix for python-debugger and vscode-python

This issue does not require verification as it is just a prototype.


HTTP 400 Error occurs when trying to convert SPDX to OSV. (spdx-to-osv-0.1.2-jar-with-dependencies.jar)

HTTP request body data when calling https://api.osv.dev/v1/query
It appears that purl and ecosystem are specified at the same time.
A 400 error is returned in that case.
Related Issue
https://github.com/google/osv.dev/issues/1443

Thanks @ups-oikawa for reporting this.
Feel free to create a pull request to fix.  Otherwise, I should be able to create a PR to fix in the next week or so.

@ups-oikawa I created PR #32 to resolve this issue - a bit more involved than I expected.
I'll wait a couple of days to see if there are any review comments then I'll merge / spin a new release.

Any progress here? Would love to use the tool :)

@mpierrau - I guess it's been more than a few days for the review - thanks for the ping.  I just merged the PR which should resolve the issue.
Let me know if you'd like me to spin a new release to Maven central.


fix build errors from attribute-map sets

When constructing the SNS and SQS controllers, ran into some build
failures, including type conversion issues to/from
string/ackv1alpha.AWSResourceName, unused variable errors when there
were no fields being set in an input or output shape, and import issues
with the aws-sdk-go/aws/errors package.
This patch fixes all the above issues and corrects the build of the SNS
and SQS generated service controllers.
You can test the SNS or SQS service controller build by calling:
make build-ack-generate
ACK_GENERATE_CONFIG_PATH=pkg/models/testdata/models/apis/sns/0000-00-00/generator.yaml \
./scripts/build-controller.sh sns
make test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Looks like GitHub swallowed that one comment I had: in order to test it, you need to set ACK_GENERATE_CONFIG_PATH=pkg/model/testdata/models/apis/sns/0000-00-00/generator.yaml (note pkg/model and NOT pkg/models ;)


RFC5424 Issue with multi-word "application" field

Occasionally a multi-word string will be generated for the APPLICATION field.
If this happens, the spaces should be replaced with a hypen or something, as the APPLICATION field only accepts a single word.

Oh, I found the cause. I'll fix it soon.
Thank you.

It was fixed since flog v0.3.0.


This page isn't very useful at all. How do I actually run these queries in .NET?

Please provide instructions on how to actually use the CosmosClient and setup queries. There is surprisingly little documentation on this

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

ID: 65ef452c-ff25-a2ec-feba-5dafa56cb918
Version Independent ID: 733a3a55-e899-5c1d-9bcc-34c2d7e17d27
Content: Getting started with SQL queries in Azure Cosmos DB
Content Source: articles/cosmos-db/sql-query-getting-started.md
Service: cosmos-db
GitHub Login: @timsander1
Microsoft Alias: tisande

Hi @DarthRinzler , here are the .NET SDK samples on Query: https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-dotnet-v3sdk-samples#query-examples.

This is perfect, thanks!
On Wed, Oct 14, 2020, 5:02 PM Tim Sander<EMAIL_ADDRESS>wrote:

Hi @DarthRinzler https://github.com/DarthRinzler , here are the .NET
SDK samples on Query:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-dotnet-v3sdk-samples#query-examples
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/64411#issuecomment-708722753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJPJNECJBVBD5RWGKVMEBQTSKY3Y5ANCNFSM4SRH6SYQ
.

@timsander1 Thanks for providing the necessary documents.
@DarthRinzler We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


[Feature Request] Making it easier to go back to launcher page

Currently when you have any other page than the launcher one open (file check/repair/app settings etc) you always have to do it though the "hamburger" menu. I think it should be easier accessable.
I have 3 ideas how this could be implemented:

Idea: Making the Collapse Launcher title clickable like logos on websites usually are which goes back to/opens the launcher page
Idea: Adding a back button into each page so you can click on it when the settings/repair/file check screens are open
Idea: Adding a home or back button into the titlebar itself

Thank you for your input on how we can implement back-to-home button. We will try to discuss more about this as its quite a nice add-on that will improve QoL for Collapse. The initial discussion we got is that we might be able to use the Collapse logo on the top left as a button to always go to the mainpage, this might change in the future as we try to implement it.
As for when, we still are thinking about it since there are quite a lot of backlog for the next major release but we'll notify this Issue thread once its come into fruition.
Thanks again for your input !

Current preview build (1.71.4) introduces this functionality. Marking as fixed and will close once next mainline release ships. Thanks for the suggestion!

Closing this as its shipped with the latest Preview


User logout fails in production

The Cookie is not removed from the browser on logout. Thereby it redirects to home page and logout fails

Fixed Commit


Add a reminder about communicating major changes to CONTRIBUTING.md

Bigger changes in CONTRIBUTING.md should be communicated to research.csc.fi developers.

The file is getting big. Might make sense to split it like readme.


Optional Enums in responses are not handled properly

In 0.4.0-rc.1, if a server responds with an Optional Enum and provides null (not missing) it causes an error in the client.

Not actually able to reproduce this on master. Possible that the client I discovered this on was generated with 0.3.0


Continue fixing small parts of issue #185

Adds a Pod and Container dataclass in the kuberenetes client python file. This is used to store information related to a pod and its containers
Adds a LitmusChaosObject, ChaosEngine and ChaosResult dataclass which is used in litmus scenarios.
Replaces few calls to runcommand.invoke to call kubectl get pods with the kuberenetes python client equivalent
apply_yaml is used to create resources from yaml file (equivalent to kubectl apply -f commands). This will be used in the common_litmus.py file which has calls to kubectl apply -f .
get_litmus_chaos_object returns either a ChaosEngine or ChaosResult object

Nice addition @shreyasar2202! Adding https://github.com/chaos-kubox/krkn/blob/main/kraken/application_outage/actions.py#L42 to the list of calls that can be replaced with https://github.com/shreyasar2202/krkn/blob/7a163026418e73c497aca6f69bd12742005833a2/kraken/kubernetes/client.py#L413.

@shreyasar2202 We might want to switch this pull request to ready for review.

I made the changes that @janosdebugs requested. Not sure why the build failed though as they were only documentation changes

Thank you @paigerube14. I have incorporated the changes.


@swc/types package hasn't been published in a while

https://github.com/swc-project/swc/pull/8620 changed types, but it hasn't been published.

Closes https://github.com/swc-project/swc/commit/5f2ea762a1d02fc1f9b3f940366bca29302d54b4


401 Unauthorized

i have followed the steps, tried resetting token many times. Is there any way to fix this error? Thanks

i got the same issue with this guy


Issue in capturing $\int dx(v)$ or $\int dy(v)$

The linear term assemble $b = \int dx(v)$ or $b = \int dy(v)$ is not correct. We seem to be missing some terms $b_i<<1$. The branch mab/issue-dx_v  contains a MWE in poisson module.
To run the test, copy the mesh from poisson/comp/circle_coarse.msh to the install directory of poisson module then run
./FemTest Test.poisson.arc

The poisson/comp folder contains the reference for validation, @grospelliergilles  can you please have a look.


Frames leak memory

Here is minimal test case. Memory consumption steadily increases. Note that NOINLINE pragma is crucial. Without it enumerateGZFileList gets inlined and leak disappear
module Main(main) where
import Control.Frame
import Control.IMonad

enumerateGZFileList :: [FilePath] -> Frame () IO (M ()) C ()
enumerateGZFileList nms
  = close !> mapMR_ (const $ foreverR $ yield ()) nms
{-# NOINLINE enumerateGZFileList #-}

takeF :: Monad m => Int -> Frame a m (M a) C ()
takeF 0 = close
takeF n = await !>= yield !> takeF (n - 1)

main :: IO ()
main =
  runFrame
    $   foreverR await
    <-< takeF 100000
    <-< enumerateGZFileList ["A"]

This problem is suppose to be fixed in GHC long time ago, but it stil (again) leaks memory when using forever. Is this a new problem or reintroduction of the same problem?
This is the testcase (tested with ghc version is 8.6.5):
-- test1.hs
-- ghc -O2 -Wall test1.hs && ./test1

import Control.Monad
import Pipes

main :: IO ()
main = runEffect (source >-> sink) where
    source = forever (yield ())
    sink = forever (await >> return ())

    -- this version (without 'forever') has no leak
    --source = yield () >> source
    --sink = await >> sink

@zoranbosnjak: I cannot reproduce, using ghc-8.6.4 and pipes-4.3.9, compiled with -O2

@Gabriel439: I will try with the same versions.
What is your method to determine if it leaks memory or not?
How much time do you observe a running program?

@zoranbosnjak: I tested both informally (by observing memory after running for a minute) and also more formally by collecting a heap profile, like this:
$ ghc -prof -rtsopts -O2 test.hs
$ ./test +RTS -h
<Ctrl-C after some duration>
$ hp2ps -c test.hp

... which shows that the program runs in constant space

@Gabriel439 : I could not reproduce the problem using ghc-8.6.4 and pipes-4.3.9. However, a test program in combination with ghc-8.6.5 and pipes-4.3.11 leaks.
I have tested some other combinations. Please check pipes, commit
896a7e3: Relax Monad constraints to Functor (#194)
It seems like this is where it started to appear. It's after the pipes-4.3.9.

@zoranbosnjak: Thanks!  That gives me enough to go on to fix this


release version and install version is not same

release version is 1.0.0. but install version is master-SNAPSHOT.
dependencies {
    ...
    implementation 'com.github.Shane-Park:psh:master-SNAPSHOT'
}

i think it is better to be something like
implementation 'com.github.Shane-Park:psh:1.0.0'

thank you.

hi. if i mention exact version name on readme file, i need to update it every time i commit.
but, master-SNAPSHOT always follow the latest commit. Thanks


notebooks: Add plots for hardened training run

Creates plots evaluating the first version of the dragonslayer (s349284096 from the hardened training run) and the second version (s497721856)

The code for generating these specific plots were moved into functions that can be reused more easily for future experiments

Some non-hardened plots were regenerated too because we renamed checkpoint 127 from "Initial" to "cp127" in the paper
Also sets up code for generating the Elo plot for https://www.notion.so/chaiberkeley/match-cp-79-103-127-505-v1-16384-elo-eval-42060cb2a3734c8f90bbbbb08c5bd19f once that experiment finishes (we need to update our Elo evaluation in our paper to use Nora's config refactor (go_attack PR 61))

Updated to include plots for adversary @ 497mil steps
Moved the plot-generating code I used into functions so that they can be more easily reused in the future

Thanks for these refactors. This code definitely looks much better.

Not sure, this was copied from existing code. It's 48% of 5.501 so I guess it's just half the width of the page minus a small margin

View entire conversation on ReviewNB

thanks, will remove

View entire conversation on ReviewNB

thanks, will remove

View entire conversation on ReviewNB

This is the plot for "what happens if we train an adversary solely on cp127 and then evaluate it against cp505?" I'll rename it the y-axis label to "cp127-trained adv. win %"

View entire conversation on ReviewNB

yeah, this is the existing plot for Figure 8b and is already committed

View entire conversation on ReviewNB

There's definitely code duplication between this cell and the previous cell. I didn't spend time refactoring it becauseWe're less likely to rerun this Elo analysis than we are to rerun all the adversary evaluation plotsOnce the experiment being processed by this cell is finished, assuming the results look reasonable we can probably just delete the previous cell and replace its results with this cell

View entire conversation on ReviewNB

will remove

View entire conversation on ReviewNB

will do

View entire conversation on ReviewNB


Update ci kernel

The kernel version currently running on ci is too old, preventing many features from being stable.
I fork cross image at the time to update the kernel, but it's too old now.
We need a better way to run tests with newer kernels.

Hello @quininer!
The project seems like a good candidate for contributing. We are starting to use this project, and I am looking for ways we can help.
Would it be possible for you to provide more information about the build servers? I would like to know if it is possible to make a Replica.one image for this purpose.
Thanks,
Luka
cc @jpetrina

@lperkov
Thanks for your interest in this.
Currently ci uses cross + qemu to run the specified image. It's a bit complicated because it uses ssh to communicate with the host, which introduces a lot of dependencies. The tests for io-uring itself have no external dependencies, I think image just needs a sufficiently new kernel, glibc, shell to work.
qemu is a bit too complicated for me and I've been thinking about migrating to firecracker or some other lighter vm.

Hello @quininer!
I have a couple of questions regarding this issue:
Is this the image with the outdated kernel you are referring to?
Does the OS/kernel of the host have any effect on the tests or is it just the one in the image?
Have you considered self-hosting your CI or GitHub Actions runners?
Thanks,
Alen
cc @lperkov @jpetrina

@jela1337
Yes, it is.
The kernel version of host has no effect on tests, we run the tests in vm.
Just hosting is too complicated for me. I initially ran tests directly on github actions, but soon the kernel version became outdated, so I started running tests on vm.

@quininer  would it be okay with you if we managed the self-hosting? The only thing we would need is to setup the WebHooks to GitHub project so the self-hosted instance gets notified on pull requests & new commits.
We already have a similar setup and that would be easiest for us I think.

@lperkov This sounds like the fastest solution, but I still want a vm solution that can run anywhere.

I don't think that's a problem. You or anyone else can run the VM manually...
@jela1337 & @jpetrina can you please make initial VM for testing so once that is functional we can start automating the process?

Is there an update on this? Am I correct in thinking the current ci is using a GitHub ci runner to run cargo cross and cargo cross is using qemu and qemu is pointed to a private linux image.
When I tried this on my ubuntu machine, with docker, cross test --target aarch64-unknown-linux-gnu
failed, not able to build libc v0.2.132.

Hello,
sorry for the delay. Here are the VMs for testing, with instructions on how to run them.
Could you confirm if they satisfy your needs?

This looks great, but I don't have energy to do it right now. It would be great if someone would try it.

I know a way to switch the kernel through wsl. But I'm not sure if it's easy to use. At present, it seems that it can run.
see https://github.com/WinSSitaly/WSL-Linux-Kernel/releases

Is there a reason we can't just use a more recent version of Ubuntu and remove the VM dependency? Kinda like https://github.com/tokio-rs/tokio-uring/blob/master/.github/workflows/ci.yml#L19

@RushilMehra We can use host kernel, vm kernel version is outdated anyway. but even with host kernel, the latest features are still not available for testing on ci.


Scanning into struct with non-primitive (custom) field

Hi, I tried to scan into struct with non-primitive field, but I got this error scanning all: scanning: scanning: doing scan: starting: scany: to scan into a primitive type, columns number must be exactly 1, got: 15. I have tried the solution from #92, by setting db struct tag to empty string "" but couldn't solve the problem. (note: I'm using pgxpool)
My Struct
type Role struct {
	ID                        int    `db:"id"`
	CompanyID                 int    `db:"company_id"`
	BusinessID                int    `db:"business_id"`
	Name                      string `db:"name"`
	IsDefault                 bool   `db:"is_default"`
	CashAndBankAccess         Access `db:""`
	SummaryAccess             Access `db:""`
	...
}

type Access struct {
	Create string
	Read   string
	Update string
	Delete string
}

My Querying Logic
func (pa Adapter) LoadRolesByBusinessID(businessID int) ([]*domain.Role, error) {
	var roles []*domain.Role

	query := `SELECT * FROM roles WHERE business_id = $1`

	err := pgxscan.Select(context.Background(), pa.Pool, &roles, query, businessID)

	if err != nil {
		if pgxscan.NotFound(err) {
			return nil, domain.ErrNotFound
		}
		return roles, err
	}

	return roles, nil
}

Am I missing something? I have similar logic, but the struct I'm scanning into has only primitive field and it works perfectly

Hey. Thank you for opening this issue. I tried to replicate the error, but it works on my end.
In any case, let me explain it to you. That error has nothing to do with the fields in your struct. It doesn't matter whether they are primitive or complex. The only way to get this error is to pass to pgxscan.Select() something other than a list of maps/structs as the scanning destination — the third parameter. The library tries to detect a list of structs or maps, and if there is none, it falls back to the primitive type case, like scanning into an integer variable where it's required to have only one column in the result rows. Another case of the library handling your destination as a primitive type is when you type implements the sql.Scanner interface. So watch out for that as well.
I hope this helps. If not, provide the full struct definition, the destination variable initialization, the library call, and the query with all columns defined explicitly (no * sign). That way, I can replicate it completely.

Hey, thanks a lot for your response and explanation. Your insights helped me identify the issue. Turns out, the problem was with the sql.Scanner implementation for Role struct in my code. I made the necessary changes based on your advice (deleting the sql.Scanner implementation), and now the error is gone.
I really appreciate your quick and informative help. Thanks again!

Sure! I am glad you resolved the issue.


🐛 [Firebase_messaging] No sound from push notifications on android devices

Bug report
Describe the bug
The push notifications received on android devices have no sound, no vibration, and no pop-up is shown. I tried both, doing it manually using the Firebase console and using the server. I'm using firebase_messaging: ^8.0.0-dev.11 and its latest integration guide.
It doesn't work using the server with sound set to default (Node.js):
    const message = {
        notification: {
            title: title,
            body: body,
        },
        token: androidNotificationToken,
        data: {
            recipient: users[0],
            clickAction: "FLUTTER_NOTIFICATION_CLICK",
        },
        android: {
            priority: "high",
            notification: {
                sound: "default",
            },
        },
        apns: {
            payload: {
                aps: {
                    contentAvailable: true,
                    sound: "default",
                },
            },
        },
    };

    admin
        .messaging()
        .send(message)
        .then((response) => {
            // Response is a message ID string
            console.log("Successfully sent message", response);
            return null;
        })
        .catch((error) => {
            console.log("Error sending message", error);
            return null;
        });

Steps to reproduce
Steps to reproduce the behavior:

Go to Firebase console - cloud messaging
create a new notification
make any configuration you want, and turn the sound to "Enabled". Then send it.
The notification is received on android but with no sound or vibration.

Expected behavior
sound or vibration is heard when the notification is received.

Additional context
On iOS, everything is working. It's received with sound, vibration, and pop-up.
I'm using VS Code for development. Tested this issue on Android 11 (Samsung Galaxy s20 & Xiaomi redmi note 9s).
Also, I tried to create a new Flutter and Firebase project from a different PC but the same problem resists.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.18363.1256], locale en-US)
    • Flutter version 1.22.5 at C:\flutter
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\masfo\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\masfo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.0

[√] Connected device (2 available)
    • SM G981U1 (mobile)      • RFCN504PREW   • android-arm64 • Android 11 (API 30)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86   • Android 11 (API 30) (emulator)

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
dependencies:
- cached_network_image 2.4.1 [flutter flutter_cache_manager octo_image]
- camera 0.5.8+17 [flutter]
- cloud_firestore 0.14.4 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cloud_functions 0.7.2 [meta flutter firebase_core firebase_core_platform_interface cloud_functions_platform_interface cloud_functions_web]
- cupertino_icons 1.0.0
- datetime_picker_formfield 1.0.0 [flutter intl]
- device_info 1.0.0 [flutter device_info_platform_interface]
- file_picker 2.1.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_auth 0.18.4+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.3 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_crashlytics 0.2.4 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- firebase_dynamic_links 0.6.3 [flutter firebase_core]
- firebase_messaging 8.0.0-dev.11 [meta flutter firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web]
- firebase_storage 5.2.0 [flutter firebase_core firebase_core_platform_interface firebase_storage_web firebase_storage_platform_interface quiver]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_cache_manager 2.0.0 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_markdown 0.5.1 [flutter markdown meta path]
- font_awesome_flutter 8.10.1 [flutter]
- google_fonts 1.1.1 [flutter http path_provider crypto pedantic]
- http 0.12.2 [http_parser path pedantic]
- image 2.1.19 [archive xml meta]
- image_cropper 1.3.1 [flutter]
- image_picker 0.6.7+15 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.16.1 [path]
- path 1.8.0-nullsafety.1
- path_provider 1.6.24 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- provider 4.3.2+3 [collection flutter nested]
- scrollable_positioned_list 0.1.8 [flutter meta]
- share 0.6.5+4 [meta mime flutter]
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sqflite 1.3.2+1 [flutter sqflite_common path]
- toast 0.1.5 [flutter]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- uuid 2.2.2 [crypto convert]
- video_player 1.0.1 [meta video_player_platform_interface video_player_web flutter]
- video_trimmer 0.3.4 [flutter file_picker video_player flutter_ffmpeg video_thumbnail path_provider intl path]
- wiredash 0.4.0 [flutter file http http_parser path_provider shared_preferences]

dev dependencies:
- flutter_launcher_icons 0.8.1 [image args yaml path]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- cloud_firestore_platform_interface 2.2.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.1+2 [flutter flutter_web_plugins http_parser meta firebase_core firebase_core_web cloud_firestore_platform_interface js]
- cloud_functions_platform_interface 3.0.3 [flutter meta firebase_core plugin_platform_interface]
- cloud_functions_web 3.1.1 [firebase_core firebase_core_web cloud_functions_platform_interface flutter flutter_web_plugins http_parser meta js]
- collection 1.15.0-nullsafety.3
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase_auth_platform_interface 2.1.4 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.2+3 [flutter flutter_web_plugins meta http_parser intl firebase_core firebase_core_web firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.1.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.1.4 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_messaging_platform_interface 1.0.0-dev.7 [flutter meta firebase_core plugin_platform_interface]
- firebase_messaging_web 0.1.0-dev.2 [flutter flutter_web_plugins meta firebase_core firebase_core_web firebase_messaging_platform_interface js service_worker]
- firebase_storage_platform_interface 1.0.2 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_storage_web 0.1.1+1 [async crypto firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_ffmpeg 0.3.0 [flutter]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- js 0.6.2
- markdown 3.0.0 [args charcode meta]
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- mime 0.9.7
- nested 0.0.4 [flutter]
- octo_image 0.3.0 [flutter flutter_blurhash]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+6 [flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- petitparser 3.1.0 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- process 3.0.13 [file intl meta path platform]
- quiver 2.1.5 [matcher meta]
- rxdart 0.24.1
- service_worker 0.2.4 [js]
- shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- vector_math 2.1.0-nullsafety.3
- video_player_platform_interface 2.2.0 [flutter meta]
- video_player_web 0.1.4+1 [flutter flutter_web_plugins meta video_player_platform_interface]
- video_thumbnail 0.2.5+1 [flutter]
- win32 1.7.4 [ffi]
- xdg_directories 0.1.2 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]

One possible cause might be that the android device has denied notification sound permissions, but I know that on android it's given by default, isn't it?

One possible cause might be that the android device has denied notification sound permissions, but I know that on android it's given by default, isn't it?

I'm not seeing this on the latest master 1.26.0-2.0.pre.168 with firebase_messaging: ^8.0.0-dev.11 using the official example but I only have an Android 11 emulator. Works on both emulator and Android 9 physical.

flutter doctor -v
[√] Flutter (Channel master, 1.26.0-2.0.pre.168, on Microsoft Windows [Version 10.0.19041.685], locale et-EE)
    • Flutter version 1.26.0-2.0.pre.168 at C:\Development\flutter_master
    • Framework revision 299e017e41 (22 hours ago), 2021-01-03 06:29:01 -0500
    • Engine revision 121b67fb85
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (5 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.685]
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 87.0.664.66

• No issues found!

Have you tried sending the notification through FCM directly?

I'm not seeing this on the latest master 1.26.0-2.0.pre.168 with firebase_messaging: ^8.0.0-dev.11 using the official example but I only have an Android 11 emulator. Works on both emulator and Android 9 physical.

flutter doctor -v
[√] Flutter (Channel master, 1.26.0-2.0.pre.168, on Microsoft Windows [Version 10.0.19041.685], locale et-EE)
    • Flutter version 1.26.0-2.0.pre.168 at C:\Development\flutter_master
    • Framework revision 299e017e41 (22 hours ago), 2021-01-03 06:29:01 -0500
    • Engine revision 121b67fb85
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (5 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.685]
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 87.0.664.66

• No issues found!

Have you tried sending the notification through FCM directly?

I found the problem: the notification sound on my android phone was set to default (which was supposed to be the android default sound as for all other apps). However, the default sound for my flutter app is silent.
One solution I thought of is creating a notification channel for the sound and from there choose a specific sound for my app instead of the default one (which is silent). I still have not tested it.

I found the problem: the notification sound on my android phone was set to default (which was supposed to be the android default sound as for all other apps). However, the default sound for my flutter app is silent.
One solution I thought of is creating a notification channel for the sound and from there choose a specific sound for my app instead of the default one (which is silent). I still have not tested it.


didn't know you read GEB

haha this is cool

ayy thank you Eddie, GEB is a fantastic book indeed :)
If you are ever around Berkeley/SF shoot me an email


[ko] Update outdated files in dev-1.25-ko.1 (M53-M60)

Related Issue : #36863

8 files to be modified

[ ]  M53.  content/en/docs/contribute/participate/_index.md  | 1(+XS) 1(-)
[ ]  M54.  content/en/docs/contribute/style/write-new-topic.md  | 2(+XS) 2(-)
[ ]  M55.  content/en/docs/reference/access-authn-authz/authorization.md  | 2(+XS) 0(-)
[ ]  M56.  content/en/docs/reference/access-authn-authz/service-accounts-admin.md  | 16(+S) 7(-)
[ ]  M57.  content/en/docs/reference/command-line-tools-reference/feature-gates.md  | 86(+M) 38(-)
[ ]  M58.  content/en/docs/reference/command-line-tools-reference/kube-proxy.md  | 3(+XS) 3(-)
[ ]  M59.  content/en/docs/reference/glossary/cni.md  | 4(+XS) 4(-)
[ ]  M60.  content/en/docs/reference/glossary/eviction.md  | 18(+S) 18(-)

@bconfiden2 좋으네요! 리뷰 의견 반영까지 잘 해 주셔서 감사합니다!
/lgtm

감사합니다!!
/approve


No Bug, No Issue, just ThankYou!

Wanna say Thank you for this nice little tool.
❤ 🎧 😻

Great to hear that. You opened the best issue ever!
Thank you


Switch from gulp to gts, TypeScript 2.6

Moving from gulp to gts.  Hoping to do this without any API breaking changes.

My vote's for moving to 4 and doing a semver-major bump. IIRC 0.10 is no
longer officially supported, but unless we know nobody's using it with this
repo there is still a potential for breaking changes.
On Nov 7, 2017 7:02 PM, "Justin Beckwith"<EMAIL_ADDRESS>wrote:

@JustinBeckwith commented on this pull request.
In package.json
https://github.com/google/google-auth-library-nodejs/pull/173#discussion_r149564621
:

@@ -4,10 +4,10 @@
"author": "Google Inc.",
"description": "Google APIs Authentication Client Library for Node.js",
"engines": {

"node": ">=0.10"

"node": ">=4"

We weren't testing on on 0.10 ... so it's hard to say what was real here.
What do you think we should do?

Keep this at 0.10 and add 0.10 back to travis config
Move this to 4, and bump semver major
Move this to 4, and don't bump semver major since technically 0.10
has been out of support a loooooooong time

I'm cool with any of these :)
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/google/google-auth-library-nodejs/pull/173#discussion_r149564621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACM8xQy6nvu3ML0oMixRdybNXAfaT9vKks5s0RmpgaJpZM4QR1qM
.

@ofrobots I updated this to work with<EMAIL_ADDRESS> Apologies for the massive set of changes.
Right now the only breaking changes are the way we export GoogleAuth from index.ts, and the change to drop 0.10 (which wasn't really a break).  I know we chatted about a bunch of other changes - but I'm starting to think it just makes sense to get this out to 1.0 with the real types finally in place.  If we want to go do axios or something like that, lets plan it another iteration.  Thoughts?

It would be good to drop the dependency on request, and specially the callback with reversed arguments fixed before 1.0. Once we reach 1.0, I would expect the frequency of semver majors to be quite low.

That works :)  Do you want these changes in master, or a 2.0 branch? I can do the axios upgrade pretty quickly after this lands.


Contrib

hello, if you would like to contribute, are there any rules?

Hi @savez, thanks for your question.
The main thing I'd say is that in order to prevent any disappointment I'd encourage discussing any changes in an issue before beginning work intended to be upstreamed.
Did you have a particular contribution in mind?

Hi @savez, thanks for your question.
The main thing I'd say is that in order to prevent any disappointment I'd encourage discussing any changes in an issue before beginning work intended to be upstreamed.
Did you have a particular contribution in mind?

@goksan This is a great app you wrote. Nice and simple, small footprint and fast. I'd love to contribute as well.

Thanks again! Feel free to open an issue to discuss a specific contribution should one arise.


feature(Swiftlint): Adding swiftlint and fixing all warnings and errors

Current coverage is 34.01% (diff: 33.56%)

Merging #12 into master will not change coverage

@@             master        #12   diff @@
==========================================
  Files             3          3
  Lines           147        147
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             50         50
  Misses           97         97
  Partials          0          0

Powered by Codecov. Last update 44807ca...46714db


[feature request?] put it in the AUR

put it in the AUR

[x] put it in the aur

https://aur.archlinux.org/packages/catnip

https://aur.archlinux.org/packages/catnip


Support for extraVolumes / extraVolumeMounts

Its hard to predict all the ways that the chart will be used.
Our named template approach for the fhir config files is pretty flexible, but there are still some cases where a user may want to add a file / set of files to the running ibm-fhir-server container.
One such use case is the ability to add a custom cert for a postgresql database, because the java postgres driver doesn't use the jvm's truststore by default.
Mature charts I've seen expose extraVolumes / extraVolumeMounts values for providing this level of flexibility.
Bitnami charts make these things an array.
The Codecentric keycloak chart makes these string that are evaluated by template.
Personally, I've found the templated strings to be a bit more flexible, so I'm leaning that way at the moment.

added via #63 and released in 0.4.3


Update links from gen1 to gen2 samples

@shreyasharmamsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@shreyasharmamsft: I'm sorry - only the author of this article, @deepakpalled, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

Hi @shreyasharmamsft - PMs should work in the private repo, per the contributor guide. Would you make future content updates in the private repo? Thanks!

@ktoliver sorry I clicked edit straight from the page and totally forgot it wasn't from a private repo! Will remember to do that next time for sure :)


[ENH] correct capability tags in classifier pipelines, forecasting pipelines, etc

The following case in pipeline building is currently not handled correctly:
Suppose we build a pipeline with transformers that ensure the output is equally spaced and has no missing data (e.g., imputer, and padder).
Then, the resulting pipeline should know that it can deal with missing and unequally spaced data, even if the last components cannot.
Currently, this would result in an error being thrown by the pipeline constructed.
The deeper problem is that there is no way to query the information that the output of a transformer is ensured to be equally spaced, or without missing data. The natural solution would be introducing tags for that, e.g., ensures_output:equally_spaced or similar.

same for forecasting pipelines, #2137


Using raw string for bdf_regex to suppress Python12 warning

From Python 12's release notes:
"A backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning, instead of DeprecationWarning." https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
When running amd-smi on systems with python 12 installed, the following warning is generated.
/opt/rocm-6.2.2/libexec/amdsmi_cli/BDF.py:126: SyntaxWarning: invalid escape sequence '.'
bdf_regex = "(?:[0-6]?[0-9a-fA-F]{1,4}:)?[0-2]?[0-9a-fA-F]{1,2}:[0-9a-fA-F]{1,2}.[0-7]"

:(

Never mind. Realized that the fix was already implemented.


CUBLAS_STATUS_NOT_SUPPORTED

Describe the bug
when I run my code. I found the error:
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling `cublasGemmStridedBatchedEx(handle, opa, opb, (int)m, (int)n, (int)k, (void*)&falpha, a, CUDA_R_16BF, (int)lda, stridea, b, CUDA_R_16BF, (int)ldb, strideb, (void*)&fbeta, c, CUDA_R_16BF, (int)ldc, stridec, (int)num_batches, compute_type, CUBLAS_GEMM_DEFAULT_TENSOR_OP)
ds_report output
[2024-11-07 11:09:25,334] [INFO] [real_accelerator.py:219:get_accelerator] Setting ds_accelerator to cuda (auto detect)
2024-11-07 11:09:27.985422: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1730948968.001130   14809 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1730948968.005845   14809 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-11-07 11:09:28.021106: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
async_io ............... [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
cpu_adam ............... [NO] ....... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
cpu_lion ............... [NO] ....... [OKAY]
 [WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
evoformer_attn ......... [NO] ....... [NO]
 [WARNING]  NVIDIA Inference is only supported on Ampere and newer architectures
 [WARNING]  FP Quantizer is using an untested triton version (3.1.0), only 2.3.(0, 1) and 3.0.0 are known to be compatible with these kernels
fp_quantizer ........... [NO] ....... [NO]
fused_lamb ............. [NO] ....... [OKAY]
fused_lion ............. [NO] ....... [OKAY]
gds .................... [NO] ....... [OKAY]
 [WARNING]  NVIDIA Inference is only supported on Pascal and newer architectures
transformer_inference .. [NO] ....... [NO]
 [WARNING]  NVIDIA Inference is only supported on Pascal and newer architectures
inference_core_ops ..... [NO] ....... [NO]
 [WARNING]  NVIDIA Inference is only supported on Pascal and newer architectures
cutlass_ops ............ [NO] ....... [NO]
quantizer .............. [NO] ....... [OKAY]
 [WARNING]  NVIDIA Inference is only supported on Pascal and newer architectures
ragged_device_ops ...... [NO] ....... [NO]
 [WARNING]  NVIDIA Inference is only supported on Pascal and newer architectures
ragged_ops ............. [NO] ....... [NO]
random_ltd ............. [NO] ....... [OKAY]
 [WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.5
 [WARNING]  using untested triton version (3.1.0), only 1.0.0 is known to be compatible
sparse_attn ............ [NO] ....... [NO]
spatial_inference ...... [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/root/anaconda3/envs/deepspeed/lib/python3.9/site-packages/torch']
torch version .................... 2.5.0+cu121
deepspeed install path ........... ['/root/anaconda3/envs/deepspeed/lib/python3.9/site-packages/deepspeed']
deepspeed info ................... 0.15.3, unknown, unknown
torch cuda version ............... 12.1
torch hip version ................ None
nvcc version ..................... 12.1
deepspeed wheel compiled w. ...... torch 2.4, cuda 12.4
shared memory (/dev/shm) size .... 125.75 GB

System info (please complete the following information):

OS: Ubuntu 22.04
GPU count and types: 1 GPU NVIDIA GeForce GTX TITAN X
Python version: 3.9.18

my ds_config:
ds_config = {
        "train_batch_size": args.batch_size,
        "optimizer": {
            "type": "Adam",
            "params": {
                "lr": 0.00006,
                "betas": [0.9, 0.95],
                "weight_decay": 0.01
            }
        },
        "bf16":{
            "enabled": True
        },
        "data_types":{
            "grad_accum_dtype": "bf16"
        },
        "zero_optimization": {
            "stage": 3,
            "offload_optimizer": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "pin_memory": False
            },

            "offload_param": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "buffer_count": 32,
                "buffer_size": 1e8,
                "max_in_cpu": 1e6,
                "pin_memory": False
            },
            "sub_group_size" : 0
        },
        "communication_data_type": "bf16"
    }

Thanks for your help!

Bfloat16 is only supported on GPUs with compute capability 8.0 or newer.  The compute capability of TITAN X is 6.1, which doesn't support BF16 natively.

Thanks for your help！
I have changed my configuration from bf16 to fp16.
But it return an error:
[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/nbw/code/llama3-DS/train.py", line 118, in <module>
[rank0]:     train(ModelArgs)
[rank0]:   File "/home/nbw/code/llama3-DS/train.py", line 87, in train
[rank0]:     model, _, _, _ = deepspeed.initialize(model=model,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/__init__.py", line 193, in initialize
[rank0]:     engine = DeepSpeedEngine(args=args,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 247, in __init__
[rank0]:     self._do_sanity_check()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 1080, in _do_sanity_check
[rank0]:     raise ValueError("Type fp16 is not supported.")
[rank0]: ValueError: Type fp16 is not supported.

Is it because my GPU doesn't support FP16 either？

Besides, I have changed my ds_config to:
ds_config = {
        "train_batch_size": args.batch_size,
        "optimizer": {
            "type": "Adam",
            "params": {
                "lr": 0.00006,
                "betas": [0.9, 0.95],
                "weight_decay": 0.01
            }
        },
        "data_types":{
            "grad_accum_dtype": "fp32"
        },
        "zero_optimization": {
            "stage": 3,
            "offload_optimizer": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "pin_memory": True
            },

            "offload_param": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "buffer_count": 32,
                "buffer_size": 1e8,
                "max_in_cpu": 1e6,
                "pin_memory": True
            },
        },
        "communication_data_type": "fp32"
    }

and run my py file:
/mnt/nvme0n1/zero_stage_3/optimizer/rank0/0_74.tensor.swp: buffer nbytes != file bytes 231770112 != 231735296
python3: /usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/aio/py_lib/deepspeed_py_io_handle.cpp:237: int deepspeed_io_handle_t::pread(const at::Tensor&, const char*, bool, bool): Assertion `buffer_bytes == num_file_bytes' failed.

@hwchen2017 Thanks for your help！ I have changed my configuration from bf16 to fp16. But it return an error:
[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/nbw/code/llama3-DS/train.py", line 118, in <module>
[rank0]:     train(ModelArgs)
[rank0]:   File "/home/nbw/code/llama3-DS/train.py", line 87, in train
[rank0]:     model, _, _, _ = deepspeed.initialize(model=model,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/__init__.py", line 193, in initialize
[rank0]:     engine = DeepSpeedEngine(args=args,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 247, in __init__
[rank0]:     self._do_sanity_check()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/engine.py", line 1080, in _do_sanity_check
[rank0]:     raise ValueError("Type fp16 is not supported.")
[rank0]: ValueError: Type fp16 is not supported.

Is it because my GPU doesn't support FP16 either？

FP16 is not fully supported on compute capability 6.x. See here: https://en.wikipedia.org/wiki/CUDA#Data_types

Besides, I have changed my ds_config to:
ds_config = {
        "train_batch_size": args.batch_size,
        "optimizer": {
            "type": "Adam",
            "params": {
                "lr": 0.00006,
                "betas": [0.9, 0.95],
                "weight_decay": 0.01
            }
        },
        "data_types":{
            "grad_accum_dtype": "fp32"
        },
        "zero_optimization": {
            "stage": 3,
            "offload_optimizer": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "pin_memory": True
            },

            "offload_param": {
                "device": "nvme",
                "nvme_path": "/mnt/nvme0n1",
                "buffer_count": 32,
                "buffer_size": 1e8,
                "max_in_cpu": 1e6,
                "pin_memory": True
            },
        },
        "communication_data_type": "fp32"
    }

and run my py file:
/mnt/nvme0n1/zero_stage_3/optimizer/rank0/0_74.tensor.swp: buffer nbytes != file bytes 231770112 != 231735296
python3: /usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/aio/py_lib/deepspeed_py_io_handle.cpp:237: int deepspeed_io_handle_t::pread(const at::Tensor&, const char*, bool, bool): Assertion `buffer_bytes == num_file_bytes' failed.

FYI. @jomayeri


Profile Page

Overview
Specs as specified from realworld:

Profile page (URL: /#/profile/:username, /#/profile/:username/favorites )
* Show basic user info
* List of articles populated from author's created articles or author's favorited articles

Requirements

Develop the views (including Vue), JS (if needed) and CSS (if needed) for /profile/:username routes

Utilise the frontend styling as specified here
File structure is unknown currently, for example a single Vue file could handle the /profile/:username and /profile/:username/favorites routes

Develop the resource required to handle this
Must meet the backend API specs here
Create a new database table named profiles so that it returns the following model:{
  "username": "jake",
  "bio": "I work at statefarm",
  "image": "https://static.productionready.io/images/smiley-cyrus.jpg",
  "following": false
}

See https://github.com/gothinkster/realworld/tree/master/api#profile

Optional

Develop tests (can be seperated into another issue)

Related Files

/.docker/data/postgres_dump.sql
/src/resources/profiles_resource.ts
/src/vue/routes/Profile.vue

Not include the favorites part in this PR. We can handle that separately in another issue.


[Bug]: Dynamic height issues observed in Radio group widget on DP

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
DP observed on - https://appsmith-git-poc-dynamic-height-range-slider-get-appsmith.vercel.app/
AUTOHEIGHT

Drag and drop the radio group widget and change the selection to Auto Height from the Height dropdown. Note that the height does not change.

This is noted even on adding many options and then deleting the options.

On setting the height to Auto Height, and the label positioning to Top, as we keep adding to the label text, the auto height does not function correctly. There is an overlap of border with text seen

With the label position set at AUTO, increase the label text size from S to M, L, XL, XXL, 3XL and observe that the height has issues when XL  and 3XL are chosen.

AUTO HEIGHT WITH LIMITS

Drag and drop a Radio group widget, widen it a little, and set Auto Height with Limits - min - 5rows max - 22 rows . Keep adding options and as number of options just goes beyond the border, there is an overlap, instead of a scroll getting added.

If the widget is to the right side of the canvas, the min and max height limits indicators text seems like it is cut off (this is true of any widget)

Drag and drop a Radio group widget. Just below the Radio group widget, add a Select or any other widget say rating. Now enable Auto height with limits and set some min and max limits for the radio group widget. We see that as the pink area encloses the widget below it as well. Ideally, as the max height is set, it should push the widget below it further down beyond the max height limit.

@btsgh Is it fixed earlier? I am not able to see the same problems in the new DP, you can check it here https://github.com/appsmithorg/appsmith/pull/16268

AUTO HEIGHT
Scenario 1 - Working fine
Scenario 2 - Working fine with added options
Scenario 3 - Working fine with Top position, and added more words
Scenario 4 - Working fine when we change size from S to 3XL
AUTO HEIGHT WITH LIMITS
Scenario 1 - Working fine

Scenario 2 - Working fine

Scenario 3 - Working fine


ndimage.gaussian_filter corner discontinuity

I was a bit unexpected behavior using gaussian_filter, especially on image boundaries - corners. I have generated a noisy image with a Gaussian distribution and that I was expecting that using a Gaussian filter with sufficient sigma I get an image with zeros. But I got high positive values in top-left, and bottom-right corner and negative values in top-right and bottom-left corner; and this values go up to 0.5 of initial sigma used for generating.
Reproducing code example:
import numpy as np
import matplotlib.pyplot as plt
from scipy import ndimage

np.random.seed(0)
im = np.random.normal(loc=0, scale=0.3, size=(300, 250))
im_blur1 = ndimage.gaussian_filter(im, sigma=50, order=0, mode='nearest')

plt.figure(figsize=(12, 5))
plt.subplot(121), plt.title('image')
plt.imshow(im, plt.cm.gray), plt.colorbar()
plt.subplot(122), plt.title('scipy')
plt.imshow(im_blur1, plt.cm.gray), plt.colorbar()

Output

Scipy/Numpy/Python version information:
Scipy - 0.18.1
Numpy - 1.12.1
Python - 2.7.13
('Linux', 'knuth', '4.9.0-6-amd64', '#1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)', 'x86_64')

if I use mode='constant' it gives the following result:

I would certainly expect that first result. When you use mode='nearest' with such a large sigma, you are implicitly making a lot of copies of the corner values beyond the domain of the original image. When the filter is near the corner, it is mostly seeing those copied values from the corner. When the values are all noise instead of signal, you are amplifying the noisy value at the corners.

@rkern so to say, you see the results mode='nearest' as correct and what about the mode='constant' ?

They are correct, too.

Or rather, I don't think there is a bug in ndimage.gaussian_filter(). It's correctly calculating the Gaussian-filtered image accounting for both of those boundary condition modes. Whether mode='nearest' or mode='constant' or something else is what you want to do depends on the data and the application. In cases where you have lots of noise and not a lot of signal, mode='nearest' is going to amplify the noise of the corner pixels and create these artifacts because it implicitly duplicates the corner pixels so they don't get averaged out. Leaving the default mode='reflect' is usually a pretty good idea.

question is answered, and doesn't look like a bug, so closing. thanks all


Use cinder and glance drivers instead of enable_ceph to be able to use external cluster

Modify the conditional strategy for cinder and glance regarding ceph: use cinder_volume_driver and glance_volume_driver instead of enable_ceph.
Introduced some config values into globals.yml and passwords.yml to be able to use the ceph driver without deploying a ceph cluster.
This strategy could be used in other versions.
WARNING: before merging into "stable", please test the non-regression in the "enable_ceph=yes" situation (deploying a ceph cluster). It should be compatible but has not been tested.

Thank you for contributing to openstack/kolla!
openstack/kolla uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Compilation fails at stage(make installip)

The "make installip" failed saying there's no valid part for the project.
CentOS 7 + Vivado 2019.2
Here's my procedure:
1. mkdir build (successful)
2. cd build (successful)
3. cmake .. -DDEVICE_NAME=vcu118 (successful)
4. make installip (failed)

And it errors out with message:
source /program/Xilinx/Vivado/2019.2/scripts/vivado_hls/hls.tcl -notrace
INFO: [HLS 200-10] Running '/program/Xilinx/Vivado/2019.2/bin/unwrapped/lnx64.o/vivado_hls'
INFO: [HLS 200-10] For user 'xlab' on host 'localhost' (Linux_x86_64 version 3.10.0-1062.4.3.el7.x86_64) on Tue Nov 26 03:56:57 CST 2019
INFO: [HLS 200-10] On os "CentOS Linux release 7.7.1908 (Core)"
INFO: [HLS 200-10] In directory '/home/xlab/Documents/toe/build/hls/ethernet_frame_padding'
Sourcing Tcl script 'make.tcl'
INFO: [HLS 200-10] Opening project '/home/xlab/Documents/toe/build/hls/ethernet_frame_padding/ethernet_frame_padding_prj'.
INFO: [HLS 200-10] Opening solution '/home/xlab/Documents/toe/build/hls/ethernet_frame_padding/ethernet_frame_padding_prj/solution1'.
INFO: [SYN 201-201] Setting up clock 'default' with a period of 3.2ns.
INFO: [HLS 200-10] Setting target device to 'xcvu9p-flga2104-2L-e'
INFO: [HLS 200-10] Adding design file '/home/xlab/Documents/toe/hls/ethernet_frame_padding/ethernet_frame_padding.cpp' to the project
INFO: [IMPL 213-8] Exporting RTL as a Vivado IP.
****** Vivado v2019.2 (64-bit)
**** SW Build 2700185 on Thu Oct 24 18:45:48 MDT 2019
**** IP Build 2699827 on Thu Oct 24 21:16:38 MDT 2019
** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
source run_ippack.tcl -notrace
ERROR: [Project 1-848] Could not get a valid part for the project. Make sure you have the required part installed, use the get_parts command to see the list of valid parts.
INFO: [Common 17-206] Exiting Vivado at Tue Nov 26 03:57:09 2019...
ERROR: [IMPL 213-28] Failed to generate IP.

Hi, Sidler~
I tried this build progress on Windows platform with Vivado 2019.2, it's alright.
It seems a bug on CentOS 7?

This was tested on a modern linux distribution (Ubuntu 16.04 or 18.04, Arch linux). Cent Os uses old kernels.
Further, you should use vivado 2019.1

Solved, thank you :- )


Fixed logout bug and get state bug.

Changed logout() function to honor "redirect_to" query string. Also check for SSO first before auto login.
Fixed bug. You must strip slashes for $_POST["state"]. Changed to: json_decode(stripcslashes($_POST["state"]));

Merged manually