Warning app_identifier when use multiple targets

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I read the Contribution Guidelines
[X] I read docs.fastlane.tools
[X] I searched for existing GitHub issues

Issue Description
My app contains multi targets as Whitelabels, then I use ENV[] to setup app_identifier, but in the last fastlane version this warning shows:
In the config file './fastlane/Deliverfile' you have the line app_identifier, but didn't provide any value. Make sure to append a value rght after the option name. Make sure to check the docs for more information
fastlane
[15:45:49]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[15:45:52]: In the config file './fastlane/Deliverfile' you have the line app_identifier, but didn't provide any value. Make sure to append a value rght after the option name. Make sure to check the docs for more information
[15:45:52]: In the config file './Deliverfile' you have the line app_identifier, but didn't provide any value. Make sure to append a value rght after the option name. Make sure to check the docs for more information
[15:45:52]: -----------------------------
[15:45:52]: --- Step: update_fastlane ---
[15:45:52]: -----------------------------
[15:45:52]: Looking for updates for fastlane...

Environment
Fastfile:
def find_bundle (bundle_name)
  case bundle_name
  when "SocialBase"
    ENV["BUNDLE"] = "com.socialbase.socialbase"

  when "CREA"
    ENV["BUNDLE"] = "com.socialbase.conecteCREA"

  when "Fazenda"
    ENV["BUNDLE"] = "com.socialbase.redefaz"

  when "Capemisa"
    ENV["BUNDLE"] = "com.socialbase.capemisa"

  when "Portobello"
    ENV["BUNDLE"] = "com.socialbase.redepb"

  when "PortoSeguro"
    ENV["BUNDLE"] = "com.socialbase.redeporto"

  when "Epagri"
    ENV["BUNDLE"] = "com.socialbase.redeepagri"

  when "Senior"
    ENV["BUNDLE"] = "com.socialbase.senior"

  when "Embratur"
    ENV["BUNDLE"] = "com.socialbase.embratur"
  end
end

platform :ios do
  before_all do
    # cocoapods
  end

  desc "Deploy a new version to the App Store"
  lane :deployAll do
    #increment_version_number
    #increment_build_number

    ["Senior", "Embratur", "Epagri", "SocialBase", "Portobello", "Capemisa", "PortoSeguro", "CREA", "Fazenda"].each do |scheme_name|
        ENV["SCHEME"] = scheme_name
        find_bundle(scheme_name)
        gym(
          export_xcargs: "-allowProvisioningUpdates",
          export_options: {
            iCloudContainerEnvironment: 'Production'
          }
        )
        deliver
    end
  end

.....

Deriverfile
app_identifier ENV["BUNDLE"]# The bundle identifier of your app

....

Hey @narlei - would you mind sharing the output of fastlane env and some more of the output from your terminal? I have been trying to reproduce this for a bit and am unable to recreate the situation so I would love some more context about how this is happening? Thanks 🚀

Hi @ohayon here's my environment. Thank you!
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.13

Ruby
2.3.3

Bundler?
false

Git
git version 2.14.1

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13 (17A405)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.0.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.62.1"

default_platform :ios

generated_fastfile_id "cb32b268-9d3d-4098-8c97-f7788a07f718"

#method to change the bundle name in fastlane lanes.
def find_bundle (bundle_name)
  case bundle_name
  when "SocialBase"
    ENV["BUNDLE"] = "com.socialbase.socialbase"

  when "CREA"
    ENV["BUNDLE"] = "com.socialbase.conecteCREA"

  when "Fazenda"
    ENV["BUNDLE"] = "com.socialbase.redefaz"

  when "Capemisa"
    ENV["BUNDLE"] = "com.socialbase.capemisa"

  when "Portobello"
    ENV["BUNDLE"] = "com.socialbase.redepb"

  when "PortoSeguro"
    ENV["BUNDLE"] = "com.socialbase.redeporto"

  when "Epagri"
    ENV["BUNDLE"] = "com.socialbase.redeepagri"

  when "Senior"
    ENV["BUNDLE"] = "com.socialbase.senior"

  when "Embratur"
    ENV["BUNDLE"] = "com.socialbase.embratur"
  end
end

platform :ios do
  before_all do
    # cocoapods
  end

  desc "Deploy a new version to the App Store"
  lane :deployAll do
    #increment_version_number
    #increment_build_number

    ["Senior", "Embratur", "Epagri", "SocialBase", "Portobello", "Capemisa", "PortoSeguro", "CREA", "Fazenda"].each do |scheme_name|
        ENV["SCHEME"] = scheme_name
        find_bundle(scheme_name)
        gym(
          export_xcargs: "-allowProvisioningUpdates",
          export_options: {
            iCloudContainerEnvironment: 'Production'
          }
        )
        deliver
    end
  end

  desc "Deploy a new version to BETA Users in SocialBase Staging"
  lane :fabric do

    scheme_name = "SocialBase"
    ENV["SCHEME"] = scheme_name
    find_bundle(scheme_name)

    changelog = File.read("Changelog.txt")
    increment_build_number

    gym(
      scheme: "SocialBase",
      export_xcargs: "-configuration 'Adhoc'",
      export_options: {
         iCloudContainerEnvironment: 'Development'
      },
      export_method: "ad-hoc"
    )

    # upload to Beta by Crashlytics
    crashlytics(
      api_token: "50f8b882fa802f838e2f23a6ee949a922eb58a3b",
      build_secret: "3a2d107ce4aaf9dcae237a1f159c082822ee371a66d1e22e3609cf36a4f5d843",
      groups: "Interno",
      notes: changelog
    )
  end

  desc "Increase build version"
  lane :add_version do
    increment_build_number
  end

  # Whitelabels

  desc "Deploy specific whitelabel to AppStore, call: `$ fastlane ios deploy scheme:'WhiteLabel'`"
  lane :deploy do |options|

    scheme_name = options[:scheme]
    ENV["SCHEME"] = scheme_name
    find_bundle(scheme_name)

    gym(
      scheme: options[:scheme],
      export_xcargs: "-allowProvisioningUpdates",
      export_options: {
        iCloudContainerEnvironment: 'Production'
      }
    )
    deliver
  end

  # You can define as many lanes as you want
  after_all do |lane|
    # This block is called, only if the executed lane was successful
  end

  error do |lane, exception|
  end
end

`./fastlane/Appfile`

app_identifier ENV["BUNDLE"] # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "3G9EBGNG32"  # Developer Portal Team ID
itc_team_id "4027801" # Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.62.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.2

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.59.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.8.3

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.4

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.6

io-console
0.4.5

generated on: 2017-10-26

Hey @narlei - this is definitely a bit strange. I am having a hard time reproducing the issue locally. I have two proposals to help you out of this mess though! 🚀

You could try to pass your app ID in to the deliver call directly rather than relying on your Deliverfile, and that would just look like: deliver(app_identifier: find_bundle(scheme_name)) and you would just want to change your find_bundle method to return the ID rather than just setting the ENV var.
The other option would depend on your familiarity with Ruby, it would be interesting to see if you could put a breakpoint in where that error message gets printed to see exactly what the call stack is that gets you there and then we could move forward from there.

I think option 1 is probably the best/easiest to move forward quickly 😄

Same error here. I have an app with 4 schemes, and only one of the schemes is giving me this issue. Will try to provide more details later.

Hey @scurioni - apologies for this issue, I think the same fix I mentioned above should work for you too... if you pass the app_identifier: param to match, and remove it from your Matchfile, it should work 💯 . I think that the config files themselves dont respond so well to dynamically setting values 😄


Solved little error in configuration code

I had to make the conditional statement come immediately after initializing the _array variable with the config values.
I also removed the early setting of array values in the ArrayExample class for proper indexing of config values

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

Thanks @Rick-Anderson I've made the change

Any update @serpent5 😅

Thanks for your contribution, @sammychinedu2ky. Be sure to check What's New early next month, where you'll see yourself listed as a valued contributor.

Thanks a lot 😊.


v6.11.0 breaks Custom Axios instance

What are the steps to reproduce this issue?

Set a custom axiosInstance via

override: {
  mutator: {
    name: 'axiosMutator',
    path: './axiosMutator.ts',
  }
},
target: './generated/orval.ts',

Run orval
Look at the output

Example 2:
override: {
  mutator: {
    name: 'axiosMutator',
    path: './utils/axiosMutator.ts',
  }
},
target: './generated/orval.ts',

What happens?
The above example generates:
import { axiosMutator } from '..axiosMutator'
import type { ErrorType } from '..axiosMutator'

Example 2 output uses \ instead of /
import { axiosMutator } from '..\utils\axiosMutator';
import type { ErrorType } from '..\utils\axiosMutator';

What were you expecting to happen?
The above example should:
import { axiosMutator } from '../axiosMutator'
import type { ErrorType } from '../axiosMutator'

Example 2 expected output:
import { axiosMutator } from '../utils/axiosMutator';
import type { ErrorType } from '../utils/axiosMutator';

Any logs, error output, etc?
Folder structure:

Git diff after the upgrade from v6.11.0-alpha.4 to v6.11.0

Any other comments?
I've been using v6.11.0-alpha.4 and many versions before that quite some time now without any issues.
What versions are you using?
Operating System: Windows 11
Package Version: 6.11.0
Browser Version: not relevant

Hello @NimmLor, it's a problem on windows I am currently adding a fix

Hello @NimmLor, can you try if 6.11.1-alpha.1 is working for you

That didn't work 😅
The path mentioned in the error is correct.
🍻 Start orval v6.11.1-alpha.1 - A swagger client generator for typescript
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "failed to load from C:/development/monorepo/packages/api/orval.config.ts => TypeError: n is not a function".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Sorry for that just published another version that fixes that problem too => 6.11.1-alpha.2. If you can confirm that it works I will do a proper release with it

Works as expected! Thanks!

Fixed with 6.11.1

Just an FYI I bumped to Axios 1.2.3 today from 1.2.2 and I had to change my Mutator from AxiosRequestConfig to RawAxiosRequestConfig as they change the TypeScript def to make headers required.
export const useAxiosMutator = <T>(): ((config: RawAxiosRequestConfig) => Promise<T>) => {
	return (config: RawAxiosRequestConfig) => {


Revert "Fix several auth refresh bugs. "

Fixes an issue where system users are logged out due to not having a user.Username

LGTM


Now the tests are passing.
@ptrcnull can you take the opportunity of this PR to add a test for a srt subtitle ? Thanks!

Great, thanks!


chore(run/helloworld): update Go to 1.22

Description
Update helloworld Cloud Run example to Go 1.22.
The main idea here is to update the documentation located here: https://cloud.google.com/run/docs/quickstarts/build-and-deploy/deploy-go-service
It's for this reason that this update is not global.
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[x] I have followed Contributing Guidelines from CONTRIBUTING.MD
[x] Tests pass:   go test -v ./.. (see Testing)
[x] Code formatted:   gofmt (see Formatting)
[x] Vetting pass:   go vet (see Formatting)
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[x] Please merge this PR for me once it is approved

Why Kokoro CI failed?

Hi @pattishin,
Could you help me 🤗
Thanks!

Ha, logs say:
=== Errors
go: go.mod requires go >= 1.22 (running go 1.21.11; GOTOOLCHAIN=local)

It is possible that some policy about supported Go version would sometimes prevent us from using the latest stable (Go 1.22) in our samples.
@muncus do you know if kokoro is running Go 1.21, preventing Go 1.22 ?

@muncus do you know if kokoro is running Go 1.21, preventing Go 1.22 ?

Kokoro is running 1.21, and with 1.22, go.mod versions become blocking rather than advisory, so this has become an error.
Is go 1.22 required to run the sample? I doubt it since no code has changed. reverting the change to go.mod should fix the tests, and allow the sample to run with 1.21 on kokoro and 1.22 for customers

We need to support the same versions of Go as the client libraries:
https://github.com/googleapis/google-cloud-go?tab=readme-ov-file#go-versions-supported
For that reason, I am going to delete this PR for now. Feel free to reopen once the window of supported versions is minimum 1.22. Thank you!


Trixi forcing downgrades when using Enzyme.jl, Zygote.jl, SciMLsensitivity.jl

Xpost: https://discourse.julialang.org/t/scimlsensitivity-jl-precompile-error-because-of-enzyme/122561/9
Trying to follow along this the SciMLSensitivity.jl tutorial:
Parameter Estimation of Ordinary Differential Equations · SciMLSensitivity.jl
If anyone has any idea what's going on, I'd appreciate it.
Julia version: Version 1.11.1 (2024-10-16)
When looking for Enzyme.jl version:
] status Enzyme
Status ~/TRIXI/Project.toml ⌅ [7da242da] Enzyme v0.11.20 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use 'status --outdated'
and
status --outdated
Status `~/TRIXI/Project.toml`
⌅ [7da242da] Enzyme v0.11.20 (<v0.13.14): SciMLSensitivity
⌃ [7ed4a6bd] LinearSolve v2.22.1 (<v2.36.2)
⌅ [7f7a1694] Optimization v3.19.3 (<v4.0.5): OptimizationOptimJL, OptimizationOptimisers, OptimizationPolyalgorithms
⌃ [500b13db] OptimizationPolyalgorithms v0.1.2 (<v0.3.0)
⌃ [1dea7af3] OrdinaryDiffEq v6.66.0 (<v6.90.1)
⌃ [1ed8b502] SciMLSensitivity v7.51.0 (<v7.71.1)

When using Pkg.add:
Pkg.add("OrdinaryDiffEq")
Pkg.add("Trixi")
Pkg.add("Plots")
Pkg.add("LinearSolve")
Pkg.add("LaTeXStrings")
Pkg.add("LinearAlgebra")
Pkg.add("Enzyme")
Pkg.add("Optimization")
Pkg.add("OptimizationPolyalgorithms")
Pkg.add("SciMLSensitivity")
Pkg.add("Zygote")

I get many errors but most being due to Enzym.jl :
0 dependencies successfully precompiled in 25 seconds. 496 already precompiled. 7 dependencies errored. For a report of the errors see `julia> err`. To retry use `pkg> precompile` Resolving package versions... Updating `[~/TRIXI/Project.toml](http://<IP_ADDRESS>:8888/lab/tree/TRIXI/TRIXI/Project.toml)` [37e2e46d] + LinearAlgebra v1.11.0 No Changes to `[~/TRIXI/Manifest.toml](http://<IP_ADDRESS>:8888/lab/tree/TRIXI/TRIXI/Manifest.toml)` Precompiling project... ✗ Enzyme ✗ Enzyme → EnzymeSpecialFunctionsExt ✗ DiffEqBase → DiffEqBaseEnzymeExt ✗ Optimization → OptimizationEnzymeExt ✗ LinearSolve → LinearSolveEnzymeExt ✗ SparseDiffTools → SparseDiffToolsEnzymeExt ✗ SciMLSensitivity 0 dependencies successfully precompiled in 22 seconds. 496 already precompiled. 7 dependencies errored. For a report of the errors see `julia> err`. To retry use `pkg> precompile`

And then using :
using OrdinaryDiffEq
using Trixi
using Plots
using LaTeXStrings
using LinearSolve
using LinearAlgebra
using Optimization
using OptimizationPolyalgorithms
using SciMLSensitivity
using Zygote

[ Info: Precompiling IJuliaExt [2f4121a4-3b3a-5ce6-9c5e-1f2673ce168a]
[ Info: Precompiling SciMLSensitivity [1ed8b502-d754-442c-8d5d-10ac956f44a1] (cache misses: wrong dep version loaded (2))
ERROR: LoadError: InitError: type Nothing has no field major
Stacktrace:
  [1] getproperty
    @ ./Base.jl:49 [inlined]
  [2] __init__()
    @ GPUCompiler ~/.julia/packages/GPUCompiler/U36Ed/src/GPUCompiler.jl:64
  [3] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1336
  [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1324
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
    @ Base ./loading.jl:1213
  [6] _include_from_serialized (repeats 2 times)
    @ ./loading.jl:1169 [inlined]
  [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
    @ Base ./loading.jl:1985
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2450
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2315
 [10] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [11] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2302
 [13] macro expansion
    @ ./loading.jl:2241 [inlined]
 [14] macro expansion
    @ ./lock.jl:273 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2198
 [16] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [17] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2191
 [19] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
 [20] include(x::String)
    @ Enzyme ~/.julia/packages/Enzyme/l4FS0/src/Enzyme.jl:1
 [21] top-level scope
    @ ~/.julia/packages/Enzyme/l4FS0/src/Enzyme.jl:43
 [22] include
    @ ./Base.jl:557 [inlined]
 [23] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base ./loading.jl:2790
 [24] top-level scope
    @ stdin:5
during initialization of module GPUCompiler
in expression starting at /home/evaldez/.julia/packages/Enzyme/l4FS0/src/typetree.jl:6
in expression starting at /home/evaldez/.julia/packages/Enzyme/l4FS0/src/Enzyme.jl:1
in expression starting at stdin:5
ERROR: LoadError: Failed to precompile Enzyme [7da242da-08ed-463a-9acd-ee780be4f1d9] to "/home/evaldez/.julia/compiled/v1.11/Enzyme/jl_oI4hIh".

Additionally when removing Trixi.jl
] rm Trixi
] update

allows everything to update properly.
then:
] add Trixi
gives the previous downgrades.

Maybe related to #1789 #2061 #2150 etc.?

Why is this upstream? It's Trixi that's setting the bound?

Since it's related to upstream changes that force us to update quite a lot of stuff here. When that's done, we can look for the upstream label to check similar/related issues.

Right now, it needs some work on our side like #2150 and StartUpDG.jl updates. As far as I know, https://github.com/SciML/RecursiveArrayTools.jl/issues/400 is the only issue there we currently know.

@erny123 Thank you for reporting this issue and I can confirm this on my end.
We can simplify the issue further and find that it’s a problem between Trixi.jl and Enzyme.jl - see
(@v1.11) pkg> st
Status `C:\Users\huiyu\.julia\environments\v1.11\Project.toml`
  [a7f1ee26] Trixi v0.9.6

(@v1.11) pkg> add Enzyme
   Resolving package versions...
    Updating `C:\Users\huiyu\.julia\environments\v1.11\Project.toml`
⌃ [7da242da] + Enzyme v0.11.20
    Updating `C:\Users\huiyu\.julia\environments\v1.11\Manifest.toml`
⌃ [7da242da] + Enzyme v0.11.20
⌅ [61eb1bfa] + GPUCompiler v0.25.0
⌅ [929cbde3] + LLVM v6.6.3
  [d8793406] + ObjectFile v0.4.2
  [6c6a2e73] + Scratch v1.2.1
  [53d494c1] + StructIO v0.3.1
⌅ [7cc45869] + Enzyme_jll v0.0.102+0
⌅ [dad2f222] + LLVMExtra_jll v0.0.29+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ✗ Enzyme
  ✗ Enzyme → EnzymeSpecialFunctionsExt
  0 dependencies successfully precompiled in 9 seconds. 238 already precompiled.
  2 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

And it is essentially the bug from old version GPUCompiler.jl see https://github.com/JuliaGPU/CUDA.jl/issues/2520 (as a dependency of Enzyme.jl) and we can also confirm this form your stacktrace
ERROR: LoadError: InitError: type Nothing has no field major
Stacktrace:
  [1] getproperty
    @ ./Base.jl:49 [inlined]
  [2] __init__()
    @ GPUCompiler ~/.julia/packages/GPUCompiler/U36Ed/src/GPUCompiler.jl:64

One straightforward way would be to update this dependency, but unfortunately, our current restriction on DiffEqBase.jl prevents it from being updated (or it would cause method overwritten warnings) - we force restriction on DiffEqBase.jl as a WAR for SciML dropping support of arrays of SVectors see https://github.com/trixi-framework/Trixi.jl/issues/1789.

Since it's related to upstream changes that force us to update quite a lot of stuff here.

Exactly, and the upstream is not handling releases well enough; they roll them out too quickly without thorough testing. We found that the updates are not robust enough to fit our code. Also, as the upstream provider, they should ensure backward compatibility in new versions instead of directly dropping support for older versions.

What's a case I could look at?

@ChrisRackauckas please take a look at this new issue https://github.com/SciML/RecursiveArrayTools.jl/issues/410 if you have the bandwidth. Thanks.

Update: The given project setting can be configured with no errors using Julia 1.10 (I'm trying via this version https://julialang.org/downloads/#long_term_support_release)
@erny123 WAR: Downgrade your Julia version to 1.10 and try configure all the packages again if you are urgent

#410 is patched, I'll look at the ArrayPartition performance bit on my next no-wifi flight.

@erny123 WAR: Downgrade your Julia version to 1.10 and try configure all the packages again if you are urgent

I'll give it a shot just to confirm.


Updated EFCore packages to 3.1.6 & other Dependencies

CsvHelper to 15.0.5
Moq to 4.14.5
xunit to 2.4.1
xunit.runner.visualstudio to 2.4.3

@IoTFier There are conflicts in this PR. Please resolve them before I can review it.

Closing PR, as there are unresolved conflicts. Please solve and resubmit it.


Bring the selected class back?

Feature request is related to

[ ] The Vanilla JavaScript version
[x] The React version
[ ] The Embla Carousel core (all versions)
[ ] Documentation website
[ ] Other

Is your feature request related to an issue?
I tried to update to the latest version but now my project is working as expected because of the removal of the selected class.
Is there any heavy reason why this was removed? Is there any chance to bring it back?
Is there any alternative to accomplish the same result?
Describe the solution you'd like

A restoration of the selected class functionality or an alternative

hey @NachoVazquez i think this is becoming a plug in https://github.com/davidcetinkaya/embla-carousel/issues/237

hey @NachoVazquez i think this is becoming a plug in https://github.com/davidcetinkaya/embla-carousel/issues/237

Thanks @reco ! That makes sense then!

Hi @NachoVazquez and @reco,
@reco, thanks for your helpful response!
As @reco mentioned, I'm thinking about introducing the selected class logic in a plugin. Out of curiosity, do you think draggableClass and draggingClass is useful too? @reco feel free to leave your opinion here too.
Best,
David

Hi,
For me the classNames .is-draggable & .is-dragging are useful for change the cursor (grab/grabbing)
Is there another way to achieve this simply ?

I agree those classes can become very handy, you could also increase the size of the element while grabbing to enhance the UX.
The draggable one is lest common to be used but I can see how someone could find use on that, like changing the cursor as @RectoVersoDev mentioned.

Thanks for the input guys. I don’t use this myself so I’m not opinionated about what should be included in this plugin and not. Do you want all these classes to have defaults or should they be empty unless you pass a value to the plugin?

Hello David,

Personally I don't have a preference, I let others say what they prefer

"ClassNames" seems good to me !

For anyone interested:
The Class Name plugin has now been released. Give NPM an hour or so to handle the first publish and it should be good to go.

Docs here

Thank you very much !

Awesome, thanks!

HI @davidcetinkaya i updated my carousel from 2.4.4 to its latest version in my carousel i have button on images consider if i have button on 4th image and while tabbing i got to 4th button so in that case my carousel scrolled to 4th slide but is-selected class is not adding to that slide . I also checked select event is also not initiating in tabbing case.i am adding lots of css based on is-selected class. in my older version i was not facing this issue select was also initiated while tabbing as well as is-selected class was also adding automatically. this is a accessibility issue for me. do we have a way to solve the issue.

Hi @PurviJha,
You've actually the first person that noted this. That feature was removed in v6. You should be able to create a plugin that with the code that Embla used when this feature was available like so:
function SlideFocus(userOptions) {
  const options = Object.assign(
    {},
    defaultOptions,
    SlideFocus.globalOptions,
    userOptions,
  )
  let carousel
  let lastTabPressTime = 0

  function init(embla) {
    carousel = embla
    const { eventStore } = carousel.internalEngine()

    eventStore.add(document, 'keydown', registerTabPress, false)
    carousel.slideNodes().forEach(addSlideFocusEvent)
  }

  function destroy() {}

  function registerTabPress(event) {
    if (event.keyCode !== 9) return
    lastTabPressTime = new Date().getTime()
  }

  function addSlideFocusEvent(slide, index) {
    const { scrollTo, eventStore, options } = carousel.internalEngine()

    const focus = (): void => {
      const nowTime = new Date().getTime()
      const diffTime = nowTime - lastTabPressTime
      if (diffTime > 10) return

      carousel.rootNode().scrollLeft = 0
      const selectedIndex = Math.floor(index / options.slidesToScroll)
      scrollTo.index(selectedIndex, 0)
    }

    eventStore.add(slide, 'focus', focus, true)
  }

 const self = {
    name: 'SlideFocus',
    options,
    init,
    destroy,
  }
  return self
}

SlideFocus.globalOptions = undefined

...and use it like this:
VanillaJs
import EmblaCarousel from 'embla-carousel'
import SlideFocus from './SlideFocus'

const embla = EmblaCarousel(emblaNode, {loop:false}, [SlideFocus()])

React
import useEmblaCarousel from 'embla-carousel-react'
import SlideFocus from './SlideFocus'

function Carousel() {
  const [emblaRef, emblaApi] = useEmblaCarousel({ loop:false }, [SlideFocus()])
}

Best,
David

@davidcetinkaya Thanks so much for posting the SlideFocus plugin code. I had been trying to make the carousel fully keyboard accessible and was experiencing some strange behavior where the prevSlide button was being disabled and I couldn't swipe back to the beginning of the slide container after tabbing through the slides.
I had to slightly modify your code to fix a warning (e.g., refactoring registerTabPress to use event.code instead of event.keyCode) and make it work with TypeScript. Here is the modified plugin file:
// SlideFocus.ts
import { EmblaCarouselType, EmblaOptionsType } from 'embla-carousel-react';

// Plugin
const defaultOptions: EmblaOptionsType = {};
const globalOptions: EmblaOptionsType = {};
function SlideFocus(userOptions?: EmblaOptionsType) {
  const options = Object.assign(
    {},
    defaultOptions,
    globalOptions,
    userOptions
  );
  let carousel: EmblaCarouselType;
  let lastTabPressTime = 0;

  function init(embla: EmblaCarouselType) {
    carousel = embla;
    const { eventStore } = carousel.internalEngine();

    eventStore.add(document, "keydown", registerTabPress, false);
    carousel.slideNodes().forEach(addSlideFocusEvent);
  }

  function destroy() { }

  function registerTabPress(event: KeyboardEvent) {
    if (event.code !== 'Tab') return;
    lastTabPressTime = new Date().getTime();
  }

  function addSlideFocusEvent(slide: EventTarget, index: number) {
    const { scrollTo, eventStore, options } = carousel.internalEngine();

    const focus = (): void => {
      const nowTime = new Date().getTime();
      const diffTime = nowTime - lastTabPressTime;

      if (diffTime > 10) return;

      carousel.rootNode().scrollLeft = 0;
      const selectedIndex = Math.floor(index / options.slidesToScroll);
      scrollTo.index(selectedIndex, 0);
    };

    eventStore.add(slide, "focus", focus, true);
  }

  const self = {
    name: "SlideFocus",
    options,
    init,
    destroy,
  };
  return self;
}

export default SlideFocus;

Cheers,
Danny 🍻

Hi @dathmart,
Thanks a bunch for the JS --> TS conversion 👍. If I have some time to spend some day, I'll improve the code and change the behaviour so the carousel only scrolls the bare minimum distance in order to show the newly tab focused element (similar to how browsers handles it). The solution above is a bit coarse and scrolls to the slide that contains the focused element. I'll release an official plugin if I get the opportunity.
Cheers and thanks!
David

thanks @davidcetinkaya  for posting the slide focus code.

@PurviJha and @dathmart,
The SlideFocus feature has been added to the Embla core as of v8.0.0-rc12. No need to add the SlideFocus code manually anymore.
Best,
David


Exit code 0 on crash [NOK]

Problem:

When the MMB crashes due to some unexpected error like ERROR: Tries exceeded, given maximum:....  the bot should exit with non-zero exit code. Zero is used for successful execution.

Solution:

Make sure to return a non-zero exit code when the bot crashes.

Resources:
Further explanation:

In Linux and Unix-based systems, a successful exit code for an application is typically 0. An exit code, or return code, is a small number passed from a child process (or application) back to the parent process upon completion of its execution. By convention, an exit code of 0 signifies that the program executed successfully without any errors. On the other hand, any non-zero exit code indicates an error or abnormal termination, with different non-zero values potentially signifying different types of errors depending on the application's design.

I simulated a crash and saw 1 as exit code. Is there a reproducible example for this?


Formatting issue with rich panels

Hi,
Thank you for this plugin, it has been good to see it's rapid evolution over the past couple of weeks 😄
Following the 0.7.0 update there appears to be a formatting issue when using terminal output contained within a rich panel:
Expected:
$ my-cli
 Usage: my-cli [OPTIONS] COMMAND [ARGS]...

╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --about               -a        Show the application about dialog and exit.  │
│ --version             -v        Show the application version and exit.       │
│ --install-completion            Install completion for the current shell.    │
│ --show-completion               Show completion for the current shell, to    │
│                                 copy it or customize the installation.       │
│ --help                          Show this message and exit.                  │
╰──────────────────────────────────────────────────────────────────────────────╯

Actual:
$ my-cli
 Usage: my-cli [OPTIONS] COMMAND [ARGS]...

╭─ Options ────────────────────────────────────────────────────────────────────╮

│ --about               -a        Show the application about dialog and exit. │

│ --version             -v        Show the application version and exit. │

│ --install-completion            Install completion for the current shell. │

│ --show-completion               Show completion for the current shell, to │

│                                 copy it or customize the installation. │

│ --help                          Show this message and exit. │

╰──────────────────────────────────────────────────────────────────────────────╯

The line spacing is probably a css tweak I imagine, the collapsed white-space on the right I'm not too sure about.
Please let me know if you require an further info.

Hi!
Thank you.
In 0.8.0 it looks like this

I removed extra spaces and now it looks

About the line spacing, you actually can change the css style and will get this result

I will think how it will be made more comfortable


Correction for raw affiliation Institut d'études politiques (Sciences Po Aix)

Correction needed for raw affiliation Institut d'études politiques (Sciences Po Aix)
raw_affiliation_name: Institut d'études politiques (Sciences Po Aix)
new_rors: 0406m4x33
previous_rors: 05fe7ax82
works_examples: W2258220359
contact: 1f94b86f76a058747e96daceb1bbf776:b0cb2466e7205644bcdd1a3c069a73c85e732c3235 @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Documentation fix -- contradictory explanation

In the documentation/naming of ratios_for_attack in the notebook, the given ratios of the example target model is 0.66: {0: 1000, 1: 500}: 33% of data points are from class 0, 66% from class 1.) , which is confusing because the distribution of the two classes are opposite

I changed the notebook accordingly, now the target model has {0: 500, 1: 1000}


Transactions have no effect!!

async with transponder_.Meta.database.transaction():
    sub_ = await Fusion.objects.create(
           ...
    )
    raise Exception("hello")

After the above code is executed, I still create a Fusion record in mysql

Hmm ,that's weird.
It is managed by databases not ormar and I see there is an open issue for transactions not being rolledback https://github.com/encode/databases/issues/403


Cannot read properties of undefined (reading 'auto')

TypeError: Cannot read properties of undefined (reading 'auto')
at la.E in src/vs/editor/contrib/suggest/browser/suggestModel.ts:685:17
at la.A in src/vs/editor/contrib/suggest/browser/suggestModel.ts:429:8
at <anonymous> in src/vs/editor/contrib/suggest/browser/suggestModel.ts:211:10
at u.invoke in src/vs/base/common/event.ts:692:17
at f.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at <anonymous> in src/vs/editor/browser/widget/codeEditorWidget.ts:1677:13
at u.invoke in src/vs/base/common/event.ts:692:17
at s.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at L.n in src/vs/editor/common/viewModelEventDispatcher.ts:64:11
at L.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at v.M in src/vs/editor/common/viewModel/viewModelImpl.ts:1086:11
at v.L in src/vs/editor/common/viewModel/viewModelImpl.ts:1023:8
at v.executeEdits in src/vs/editor/common/viewModel/viewModelImpl.ts:1026:8
at rn.executeEdits in src/vs/editor/browser/widget/codeEditorWidget.ts:1221:21
at ki.merge in src/vs/editor/contrib/snippet/browser/snippetSession.ts:659:10
at Nn.p in src/vs/editor/contrib/snippet/browser/snippetController2.ts:150:11
at Nn.insert in src/vs/editor/contrib/snippet/browser/snippetController2.ts:112:9
at i.insertSnippet in src/vs/workbench/api/browser/mainThreadEditor.ts:549:21
at ec.$tryInsertSnippet in src/vs/workbench/api/browser/mainThreadEditors.ts:233:33
at v.N in src/vs/workbench/services/extensions/common/rpcProtocol.ts:455:17
at v.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:440:32
at v.H in src/vs/workbench/services/extensions/common/rpcProtocol.ts:370:19
at v.G in src/vs/workbench/services/extensions/common/rpcProtocol.ts:296:10
at <anonymous> in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:34
at u.invoke in src/vs/base/common/event.ts:692:17
at s.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at o.fire in src/vs/base/parts/ipc/common/ipc.net.ts:646:12
at te.onmessage in src/vs/workbench/services/extensions/electron-sandbox/localProcessExtensionHost.ts:615:40

Go to Errors Site

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Test PR - not to be merged

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


Added Support for Android Devices without time compensation fix

Some Android devices are at least 15 seconds ahead than UTC due to not compensating GPS time.
(http://www.businessinsider.com/neil-degrasse-tyson-the-time-on-your-android-phone-is-incorrect-2012-3)
If an user has Telecom Operator synced time, and an app like Google Authenticator, it will produce future tokens (15 seconds ahead) than server NTP time.
To avoid this I added an option to produce tokens in the future and bumped window to 1.
Example:
:pot.valid_totp(token, secret, [window: 1, addwindow: 1])

Thanks for your contribution!


[SPARK-38936][SQL] Script transform feed thread should have name

What changes were proposed in this pull request?
re-add thread name(Thread-ScriptTransformation-Feed).
Why are the changes needed?
Lost feed thread name after SPARK-32105 refactoring.
Does this PR introduce any user-facing change?
No
How was this patch tested?
exist UT

Can one of the admins verify this patch?

cc @AngersZhuuuu FYI .

Merged to master and branch-3.3, branch-3.2 and branch-3.1.


Added custom icon to the collapsible navbar

Shot Type
Count
Status

Added
0
🟡

Deleted
0
❌

Regression
4
❗

❗ storybook/components-icons--icons__[w1440px]:

Before
After

❗ storybook/components-icons--icons__[w1920px]:

Before
After

❗ storybook/components-icons--icons__[w390px]:

Before
After

❗ storybook/components-icons--icons__[w900px]:

Before
After

Shot Type
Count
Status

Added
4
🟡

Deleted
0
❌

Regression
3
❗

🟡 storybook/widgets-collapsible-nav-bar--with-custom-icon__[w1440px]:

Image

🟡 storybook/widgets-collapsible-nav-bar--with-custom-icon__[w1920px]:

Image

🟡 storybook/widgets-collapsible-nav-bar--with-custom-icon__[w390px]:

Image

🟡 storybook/widgets-collapsible-nav-bar--with-custom-icon__[w900px]:

Image

❗ custom/widgets-collapsiblenavbar-opened__[w899px]_menu_opened:

Before
After

❗ custom/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu:

Before
After

❗ custom/widgets-user-profile--is-opened__[w1920px]:

Before
After


(v5) Changes to members of top-level array field should change instance identity

React components that take just the array field still need to re-render.
Existing tests covered this case, but explicitly asserted the incorrect
behavior.
Specifically "top-level" array fields, because array fields below the
top level change their identity based on the return value rather than
modifications to the fields object.
Copied the control flow from the object-field path, which Does The Right
Thing.

I'm not really too concerned with v5 anymore, so I'm not examining this in detail, but I'll merge it and perhaps release it eventually.

@erikras How can you not be concerned with v5 anymore? v6 is a huge migration and is literally impossible on many projects because it breaks with so many other libraries.

Erik is probably out of time to maintain an old branch which barely gets requests nowadays.
If you get enough significative contributions landed on the v5 branch, we'll very likely publish new releases.


HP EliteBook 9470m - Updated with BIOS F.70

HP released a new BIOS update for the EliteBook 9470m. BIOS Update F.70. URL details:
SPaqURL==https://ftp.hp.com/pub/softpaq/sp87001-87500/sp87466.exe
NoteURL==https://ftp.hp.com/pub/softpaq/sp87001-87500/sp87466.html
I'm uploading a ZIP of the whole EliteBook 9470m dir, all other parts not having changed.

Botched post. Closing.


[Enhancement] Rewrite DateInput and TimeInput using Cleave.js

Cleave.js provides a clever way that helps format input text content automatically. We can use this library (or borrow the code) to replace the existing date / time formatter.
Demo
https://nosir.github.io/cleave.js/
React Binding
https://github.com/nosir/cleave.js/blob/master/src/Cleave.react.js
DateFormatter
https://github.com/nosir/cleave.js/blob/master/src/shortcuts/DateFormatter.js
TimeFormatter
https://github.com/nosir/cleave.js/blob/master/src/shortcuts/TimeFormatter.js

Look forward to it!!


Textpad Cursor behavior with arrow keys

Textpad remembers the column you were in before typing, and moving into a new line.
Is something like this possible to add into VSC?
https://user-images.githubusercontent.com/97917628/201244136-0b577305-d70c-4514-b1bc-a9c60572f181.mp4

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Validate the DOM node passed to render

Fix #1304

Wait, adding the same message to mount (and a test in route). For better stack traces in case async by default (#1299) is implemented.

Actually, I just added the tests for route and mount since no more is needed right now.


Replace ant-design-vue with PrimeVue

This pull request aims to replace ant-design-vue with PrimeVue in my project. While ant-design-vue is a solid UI library, I believe that PrimeVue offers several advantages that align with my project's goals:

Modern Theme: PrimeVue provides a sleek and modern theme that can enhance the overall user experience.
TailwindCSS Integration: PrimeVue seamlessly integrates with TailwindCSS, allowing for greater customization and flexibility in our design.
Active Development: PrimeVue is actively maintained and developed, ensuring ongoing support and updates.

This change will involve updating components, styles, and potentially refactoring parts of our code to adapt to the PrimeVue API and conventions.

I'd like to implement hoverable cards and form validation for enhanced user experience. However, as these are currently not supported by the framework, I'll wait for future updates.


Tour of Pulumi uses var where the aws-javascript template uses const

Here's the template:
"use strict";
const pulumi = require("@pulumi/pulumi");
const aws = require("@pulumi/aws");

// Create an AWS resource (S3 Bucket)
const bucket = new aws.s3.Bucket("my-bucket");

// Export the DNS name of the bucket
exports.bucketName = bucket.bucketDomainName;

Here's an example from https://docs.pulumi.com/tour/basics-updating.html:
var bucket = new aws.s3.Bucket("my-bucket", { acl: "public-read" });

We may want to update the tour to use const.

Unfortunately JS has made life hard here - and there is no great answer.  We'll just want to pick a standard and use it consistently.
The two easiest places to land are:

Use var everywhere, and generally avoid ES6+ features.
Assume ES6 generally (it's been supported since Node 4) and use const where possible and let where necessary.

I don't love either option - but I'd suggest that (2) will be easier to be consistent about.  It's also closest to where our examples and templates are today.

We'll just want to pick a standard and use it consistently.

This is really why I filed this. Not so much about var vs. const, much more about being consistent.

I agree we can assume ES6; in part because we're (mostly) dealing with new
code ...
On Mon, Jun 18, 2018 at 2:18 PM, Pat Gavlin<EMAIL_ADDRESS>wrote:

We'll just want to pick a standard and use it consistently.
This is really why I filed this. Not so much about var vs. const, much
more about being consistent.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pulumi/docs/issues/392#issuecomment-398198889, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH_5wgBO5ftbbV8pguTEOsilkHJviKAoks5t-BkIgaJpZM4Uo0yZ
.

My approach has been to stick to "classic" JavaScript for our JS examples, and newer ES6+ advanced functionality for our TS examples.  IMHO, this covers the broadest range of skillsets and meets people closer to where they are.  So, that's my vote.

(It also avoids issues if you try to run our stuff on downlevel Node.js versions, which is common.)

My approach has been to stick to "classic" JavaScript for our JS examples, and newer ES6+ advanced functionality for our TS examples. IMHO, this covers the broadest range of skillsets and meets people closer to where they are. So, that's my vote.

It sounds like we're talking about features above Node 4, which is actually EOL. My vote is to just be compatible with 6.10.x.

Here's a handy table that shows language features and Node versions: https://node.green/

Yeah - it's not so much a question of whether or not it's supported in Node (these features have all been available in Node for many years).
It's a question of whether we want to default to using "new"-style syntax of "old"-style syntax.
Unfortunately, it's generally hard to pick a consistent model for sticking with "old"-style syntax - we would need to tell folks not to use dozens of little features that we use all the time (for..of loops, template strings, etc.) So either we would make up some semirandom set of rules about what is okay to use and try to enforce them, or we go with "use ES6 features" (e.g. everything supported on Node 6 and beyond).
As I said, on this particular point of var vs. let vs. const I just think the ECMAScript committee did the world a disservice by forcing the choice (yes, I was part of said committee at the time - but I swear I did everything I could to try to stop this :smile:) - and I wish we didn't have to think about this.  But consistency will be more important for our sanity than any other aspect here - and I'm not sure there's a good consistent option other than "const where possible let necessary" as part of a more general "use ES6".


Scoped CSS. Could it support SCSS in the future?

Hello.
Happy user of surface here :)
I have a short question ref to the scoped CSS feature introduced in 0.8.
Is there a plan to allow SCSS as well in some future releases?
Eg like VUE JS:

Hi @iacobson!
All the Surface compiler does is collect the CSS styles from all components, add scope information, and then save everything in assets/css/_component.css, which is imported by the main /css/app.css. If you're already using SCSS there, it should just work. We won't be adding non-standard CSS syntax, for now, to make sure users can keep using whatever CSS variant solution they need.

Thank you for the response. I tried a small test. Adding this snippet at the top of a component
<style>
  .test_surface_scoped {
  width: 100%;
  height: 100%;
  background-color: $bsr-orange-1;
  }
</style>

and this line in the template HTML
  <div class="test_surface_scoped" />

where the $bsr-orange-1; is a variable defined in the project scss.
All CSS is already converted to SCSS (using :dart_sass)
So, when compiling getting this error:
Error: Sass variables aren't allowed in plain CSS.
   ╷
10 │   background-color: $bsr-orange-1;
   │                     ^^^^^^^^^^^^^
   ╵
  css/_components.css 10:21  @import
  css/app.scss 20:9          root stylesheet

I suppose if it would be possible to configure somehow the _components.css to be actually _components.scss it would work

@iacobson you can try this in your config:
  config :surface, :compiler,
    css_output_file: "assets/css/_components.scss"

oh! it works perfectly!
Thank you so much 🙏


integration: Add a flag to skip tests which do not have CO-RE version.

Hi.
In this PR, I added a new flag to skip integration tests for gadgets which do not have a CO-RE version.
This can be useful for #640 and #608.
Best regards.

Thank you for the review!
I just hope we will revert it soon!


Error in " String interpolation

I can see that you created this issue, but then deleted its contents. Do I understand it correctly that you did that, because you realized there isn't actually a problem here? If that's actually the case, then this issue should be closed.

I can see that you created this issue, but then deleted its contents. Do I understand it correctly that you did that, because you realized there isn't actually a problem here? If that's actually the case, then this issue should be closed.

yes.. i have some problem with this section. just a minute, please..

The code in the example is a script. You can't directly paste it into a regular C# file, because you can't have a type inside a function.
You have to place the types outside the function and the statements inside it:
using System;

public class Vegetable
{
   public Vegetable(string name) => Name = name;

   public string Name { get; }

   public override string ToString() => Name;
}

public enum Unit { item, kilogram, gram, dozen };

class Program
{
    static void Main()
    {
        var item = new Vegetable("eggplant");
        var date = DateTime.Now;
        var price = 1.99m;
        var unit = Unit.item;
        Console.WriteLine($"On {date}, the price of {item} was {price} per {unit}.");
    }
}


增加了台灣-正體中文頁面

增加了台灣-正體中文頁面
修正了簡體頁面中的若干錯誤
Add the pages of Traditional Chinese
Modify some wrong

r? @nikomatsakis
(rust_highfive has picked a reviewer for you, use r? to override)

Same here, there's a BOM issue all over the place.
And some merge conflicts.

@steveklabnik I couldn't fix it,I don't understand Ruby.


Drop support of Python 3.8

Python 3.8 end of life is at end of this month. Clean CI, fix setup.py and announce in release notes.

Done in https://github.com/MarketSquare/robotframework-browser/pull/3808


Implementing Lyra2z330

Description
I'm attemting to Implement lyra2z330 for Zoin.
Added the algo to libmultihash and miningcore itself, seems to work just fine so far, except for submitting shares.
Could push my changes / repo on github if needed.
Steps to Reproduce

Added lyra2z330 to libmultihash
Made the changes to recognize these type of coins (zoin as example)

Expected behavior
Submitting shares
Actual behavior
Shares are being denied
Reproduces how often
100%
Version
latest, compiled under debian, other coins work fine.
Additional Information
Trace log:
[2018-05-24 22:52:50.7465] [D] [eth1] [Bitcoin Job Manager] UpdateJob()
[2018-05-24 22:52:50.7465] [D] [eth1] [Bitcoin Job Manager] GetBlockTemplateAsync()
[2018-05-24 22:52:50.7465] [D] [DaemonClient] ExecuteCmdAnyAsync(getblocktemplate)
[2018-05-24 22:52:50.7465] [T] [DaemonClient] Sending RPC request to http://<IP_ADDRESS>:9333: {"jsonrpc":"2.0","method":"getblocktemplate","params":[{"capabilities":["coinbasetxn","workid","coinbase/append"],"rules":["segwit"]}],"id":"1527195170"}
[2018-05-24 22:52:50.7547] [I] [eth1] [Pool] Broadcasting job
[2018-05-24 22:52:50.7547] [T] [StratumClient] [0HLE1N11PFMC4] Sending: {"jsonrpc":"2.0","method":"mining.notify","params":["00000018","3dbaf17a2f44a78bf20d285fa31b3d9c1bcb3498805405b13c0748c540ed9dc3","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1f035b7404042226075b00","0c2f4d696e696e67436f72652f000000000160b8131a000000001976a914ee71cbf990ac499468dfcd28a4181d4c9b441d4f88ac00000000",[],"20000000","1d039486","5b072622",false]}
[2018-05-24 22:52:51.0801] [D] [eth1] [Bitcoin Job Manager] UpdateJob()
[2018-05-24 22:52:51.0801] [D] [eth1] [Bitcoin Job Manager] GetBlockTemplateAsync()
[2018-05-24 22:52:51.0801] [D] [DaemonClient] ExecuteCmdAnyAsync(getblocktemplate)
[2018-05-24 22:52:51.0801] [T] [DaemonClient] Sending RPC request to http://<IP_ADDRESS>:9333: {"jsonrpc":"2.0","method":"getblocktemplate","params":[{"capabilities":["coinbasetxn","workid","coinbase/append"],"rules":["segwit"]}],"id":"1527195180"}
[2018-05-24 22:52:51.1514] [T] [StratumClient] recv: {"method": "mining.submit", "params": ["myaddress", "00000004", "00000000", "5b07260e", "95160080"], "id":4}
[2018-05-24 22:52:51.1514] [T] [eth1] [Pool] [0HLE1N11PFMC4] Received request data: {"method": "mining.submit", "params": ["myaddress", "00000004", "00000000", "5b07260e", "95160080"], "id":4}
[2018-05-24 22:52:51.1514] [D] [eth1] [Pool] [0HLE1N11PFMC4] Dispatching request 'mining.submit' [4]
[2018-05-24 22:52:51.1708] [D] [eth1] [Bitcoin Job Manager] SubmitShareAsync(0HLE1N11PFMC4)
[2018-05-24 22:52:51.1768] [T] [StratumClient] [0HLE1N11PFMC4] Sending: {"result":false,"error":{"code":21,"message":"job not found","data":null},"id":4}
[2018-05-24 22:52:51.1768] [I] [eth1] [Pool] [0HLE1N11PFMC4] Share rejected: JobNotFound
[2018-05-24 22:52:51.5885] [D] [eth1] [Bitcoin Job Manager] UpdateJob()
[2018-05-24 22:52:51.5885] [D] [eth1] [Bitcoin Job Manager] GetBlockTemplateAsync()
[2018-05-24 22:52:51.5885] [D] [DaemonClient] ExecuteCmdAnyAsync(getblocktemplate)
[2018-05-24 22:52:51.5885] [T] [DaemonClient] Sending RPC request to http://<IP_ADDRESS>:9333: {"jsonrpc":"2.0","method":"getblocktemplate","params":[{"capabilities":["coinbasetxn","workid","coinbase/append"],"rules":["segwit"]}],"id":"1527195176"}

Look like here Add Lyra2Z algorithm added the algorithm and compare it with your changes, maybe this will help

Thanks for the reply,
Exactly what I did to implement lyra2z330 but fails on shares.
Might have to do with incorrect parameters in my Lyra2z330.cs:
`using System;
using MiningCore.Contracts;
using MiningCore.Native;
namespace MiningCore.Crypto.Hashing.Algorithms
{
public unsafe class Lyra2z330 : IHashAlgorithm
{
public byte[] Digest(byte[] data, params object[] extra)
{
Contract.RequiresNonNull(data, nameof(data));
Contract.Requires(data.Length == 80, $"{nameof(data)} must be exactly 80 bytes long");
        var result = new byte[32];

        fixed (byte* input = data)
        {
            fixed (byte* output = result)
            {
                LibMultihash.lyra2z330(input, output, (uint)data.Length);
            }
        }

        return result;
    }
}

}`
This or the block template that doesn't match?
It's doing this every second:
[2018-05-28 13:53:36.4855] [D] [eth1] [Bitcoin Job Manager] UpdateJob() [2018-05-28 13:53:36.4855] [D] [eth1] [Bitcoin Job Manager] GetBlockTemplateAsync()
Is that normal behavior?

@phamels can you link me to the branch you have with the code, ill take a look at it

@arubinofaux sure thing: https://github.com/phamels/miningcore/tree/master/src/MiningCore
thanks for willing to take a look!


documentation for dart:html timeout property missing units

Linked MDN document mentions 'milliseconds', we should too.
I found where this is defined in docs.json but I don't know the process to update the relevant .dart files...
Will sync with @alan-knight on Monday to get some help with this.

Thanks to @srawlins for pointing me to https://github.com/dart-lang/sdk/issues/28414 and go.sh.
Here are the steps I took:
sudo pip install markupsafe
sudo pip install idl_parser
cd tools/dom/scripts
./go.sh

Then:

dartfmt back all the files that changed only in formatting
git add -p and only add the relevant changes to docs and not the giant deletion mentioning MUST RUN tools/dartium/generate_patches.sh

https://codereview.chromium.org/2832353003/ should at least fix the timeout docs


Master mode version: ReaBlink_Monitor.lua

You suggested a master mode here.
https://github.com/ak5k/reablink/issues/9#issuecomment-2211814030

If you're planning to use only one instance of REAPER in your Link session, you might want to consider running ReaBlink in Master mode. This can be achieved by editing the ReaBlink_Monitor.lua file and uncommenting line containing reaper.Blink_SetMaster(true).

I was wondering if you could release that as a master mode script so it would be easier for users to keep up with script upgrades.
What do you think?

Master mode isn't exactly Ableton Link standard compliant, as it enforces Ableton Link session timeline to conform to REAPER timing. So it shouldn't be the default behaviour.  However, you can make a copy of ReaBlink_Monitor script, rename it, and use it instead. Then updating will not overwrite it.

Understood. Thanks!


When detecting an object, it’s easy for you to save a frame.

Hi !
You can't "by design" , some explanation for our README, we do this cause of privacy issue

OpenDataCam never records any photo or video data. The system only saves surveyed meta-data, in particular the path an object moved or number of counted objects at a certain point. The novelty of OpenDataCam is, that everything happens on location, while no visual data is saved or sent to online cloud processing.

That said, you can fork the tool and do it yourself, you need find a way to persist the MJPEG stream coming out the neural network.

@tdurand Would you be open to a Pull Requests implementing this as a configurable feature?

Hi !! Sorry I’m on the move will process everything in 1-2 weeks .. thanks for all the activity..
Pinging @b-g on this ... I’m not very open to it as the philosophy of the tool is not to record any images.. maybe as a debug tool

To give you a little bit of background on why I would need it in my use case.

Debugging: We work with a custom model to detect custom objects. As the model is still under development we don't know how well the detection works in real-life scenarios yet. Pictures could help us determine and improve the accuracy.
Proof of Work: Our use case is counting of non-personal objects. Therefore no privacy concerns have been raised. However there's a high demand for documentation and "proof of work" as our use case is directly linked to quality control.

I know that in a public space privacy concerns matter, but I hope that we can find a way to set up Opendatacam in a way to ensure privacy by default, yet enabling a more detailed collection where required.

Hi there, yes an incredible strength of the ODC always was that we only saved aggregated anonymized data and NEVER anything down to an individual person. Hence I guess we are not very keen to push any features in this direction. I get and I can see why you potentially want this feature ... but I don't think we should add them to the official ODC core.
Hence I would suggest that you create such a "detect and shot" tool with the API as an "external" piece of software. Sorry! I hope you understand.

@b-g Thanks for the clear position on this.


Implement support for tuples

Currently, columnar-rs can only handle structs. It should be possible to support tuples as well, probably using a different macro-approach. Something along the lines of itertools's izip implementation.

Support for tuples has been added in 502f1da7e9d55096286b3b7550c89893064551bf.


Licenses -> License as pr NPM specs.

npm is looking to include licenses in the top 1000 depended-upon projects! :)
http://npm1k.org/

Coverage remained the same at 100.0% when pulling e8a1bda6458349e23da55f10c65157f6aa49297c on Nicholaiii:patch-1 into 3d96d4ace0537db091604945b1b4188d9e8aa9c5 on jaredhanson:master.


💲[Native Checkout] Reward -> Pledge View transition animation (3/4)

📲 What
A continuation of #737 and #740, this adds the heavily lifting for the transition from RewardCollectionViewController to PledgeViewController.
Note A: While this is ready for a high-level review, please take note of the TODOs at the bottom of this description as there are still a number of tweaks needed. It should just be a matter of finessing the animation into the final product, I'm hoping the hard part is done, these tweaks could be in a separate PR if that makes it easier for review.
Note B: Currently this only works reliably in portrait orientation and that can also break if one rotates to landscape and back to portrait while on the pledge view. In reviewing the design pack, it is mentioned that this is only expected to work in portrait so we may just want to lock the orientation of these view controllers.
🤔 Why
This transition is key to the design language of taking us from the list (or upcoming grid) of reward cards to the pledge view and maintaining a sense of continuity between these views.
🛠 How

Firstly, all of the moving around of views in #740 was necessary to have everything in right place for snapshotting, etc.
Filled in the requirements of RewardPledgeTransitionAnimatorDelegate.
Conformed PledgeTableViewController (via PledgeViewController) and RewardsCollectionViewController to RewardPledgeTransitionAnimatorDelegate protocol.
Implemented the transition behaviours in RewardPledgePushTransitionAnimator and RewardPledgePopTransitionAnimator, both are defined in RewardPledgeTransitionAnimators.swift for simplicity and sharing of code.

👀 See

Small card (button remains 👇)
Larger card, button clipped
Larger card, button overlay reappears on return
Scrolled down card, returns to original position

☝ Keeping the button is necessary for the two views to have the exact same size at the time of taking snapshots for the transition. If it's important to never show the button in the thumbnail we can work on this a bit more but it was proving to be pretty complicated.
♿ Accessibility

[ ] Works with VoiceOver
[ ] Supports Dynamic Type

✅ Acceptance criteria

[ ] Tapping a reward in RewardCollectionView pushes PledgeViewController on to the navigation stack with the transition shown above.
[ ] Tapping the thumbnail pops the view controller with transition shown above.

⏰ TODO

[ ] Slide and fade PledgeViewController up as the thumbnail settles into place.
[ ] Improve timing and spring tension of the animation.
[ ] Pop animation is meant to have the RewardCells slide in from the left and right on returning.
[ ] Consider allowing the thumbnail height to be based on the text to the right of it (may improve how it looks for accessibility sizes).
[ ] Disable pledge button when view is in thumbnail size.
[ ] Add expansion icon to the top right corner of the thumbnail.
[ ] Add drop-shadow to thumbnail.
[ ] Add gesture and animation to give the effect of de-pressing card on tap.

 Reward Screen to Pledge Screen Animation

@ifbarrera this last merge commit includes the pill cells and state image stuff from #755 #757. Due to the renames and stuff I had to manually move things around but I think it's all there and working.
@dusi please confirm!


[RFC] Move logic for test registration to the test harness

And use in device_timer suite.

@bashbaug (and others) Here's the change I mentioned in the memory subgroup call. I've rebased it on the latest main. It still seems to work. It may be ready to go or may require additional work. This is work I'd done about 2 years ago so don't remember the exact state of it.


'execute()' is not executed if there is no match for current query

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
For fzf --bind=alt-m:"execute(echo test)" I expect that fzf executes the defined command (prints "test") every time alt-m is hit, regardless if there is a match for the current query.
But it only prints test if there is at least one match.
Is this intended?
Interestingly the command is executed if it its replaced by execute(echo test {q}).

I ran into the same issue (version 0.22.0). I think fzf should always execute commands without placeholders. But maybe there is a deeper reason why that's not allowed?
Adding a {q} only executes the command if there is a non-empty query.

I think fzf should always execute commands without placeholders

Agreed, it's just that the use case wasn't considered when the code was initially written.


Cost Model

New cost model implementation based on the Postgres cost model.
Major changes so far:
-refactor join logical & physical operators. all the joins have the same base properties and cost calculations are the same for almost all types of joins.
-new cost model file with the general skeleton of the formula for NL joins

Replaced with #899


Add support for specifying the script name exactly (i.e. including its extension)

I noticed that it's sometimes useful to pass the command script file's name directly to DevCmd including the file extension.
This PR adds this capability for supported file extensions (otherwise we wouldn't know how to run the script).
If the scriptname ends with a supported extension and matches a file, this is preferred over all other candidates.
As always, @schierla, @do-see, @corux, @lieberlois, if any of you have time to look over this, I'd appreciate any review or feedback :)

I'll try to find some time for this and your other PR tomorrow.
Just one question regarding this one, how is using devcmd + a specific filename different from just executing the JS/TS file directly using node or ts-node? 🤔 I'm not sure whether I properly understand the usecase behind this, but I just scanned through the code on my phone so far ^^

@lieberlois, thanks for taking the time!
And good question about the use case 😅
You're right, in most cases this functionality does basically the same thing as running the JS/TS file directly with the appropriate runner.
It's really just a convenience feature for when it's easier to specify the file name (e.g. you're in the dev_cmds directory and tab-complete the filename), and you don't want to think about which runner to use. I've hit this a few times in my own tests and usage, though it's definitely not the main use case.
On a minor note, I think it might also have been a bit unexpected (though this is just my assumption) that DevCmd would exit with an error when you give it a correct filename. With this change, that just works.
To be clear, this change isn't supposed to accept a full file path to the script file (and that doesn't work at the moment), just the full name (including the filename extension) in the dev_cmds directory.

@lieberlois, thanks for your review!
I you can, feel free to merge this.
Otherwise I'll boot up my work PC some time and do it myself :)


Improvements for metrics cmd #549

Enhancements

fix EffectiveBlockTime
add tx encode
fix send tx to send to self if not set
fix BlockByNumber method to return also transactions
update gql default port

New

Script to be used on testnet that can target multiple nodes, initially via unix socket, but to be updated and handle remote grpc connections.
Usage:

./cmd/utils/tps.sh -h
Usage: tps.sh
Optional command line arguments
-q <number>  -- Quantity to run. eg: 3
-i <number>  -- ID of node. eg: 146512053
-p <number>  -- PORT of node. eg: 9000

example for usage:
watch "./cmd/utils/tps.sh -q 4 -i 146512053 -p 8999"

How to test

Start a small network of nodes with test-harness keepalive

make get-blindbid
make build
NETWORK_SIZE=3 DUSK_BLOCKCHAIN=${PWD}/bin/dusk DUSK_BLINDBID=${PWD}/bin/blindbid-linux-amd64 DUSK_SEEDER=${PWD}/bin/voucher DUSK_WALLET_PASS="password" go test -v --count=1 --test.timeout=0 ./harness/tests/... -args -enable -keepalive

Start metrics collection:

make build && ./bin/utils metrics

Start generating transactions:

watch "./cmd/utils/tps.sh -q 4 -i 990933551 -p 8999"

Hit the metrics endpoint and observe transactions being generated and stats being collected:

watch "curl http://localhost:9099/metrics"

Example metrics output:

$ curl http://localhost:9099/metrics
dusk_block 254
dusk_seconds_last_block 2.30
dusk_effective_block_time 2
dusk_block_transactions 9
dusk_block_tps 4
dusk_block_value 0
dusk_block_size_bytes 0
dusk_pending_transactions 0
dusk_contracts_created 0
dusk_token_transfers 0
dusk_transfers 0
dusk_load_time 0.0137

Codecov Report

Merging #554 into master will increase coverage by 4.50%.
The diff coverage is 54.31%.

@@            Coverage Diff             @@
##           master     #554      +/-   ##
==========================================
+ Coverage   52.34%   56.84%   +4.50%
==========================================
  Files         132      169      +37
  Lines        7499     9249    +1750
==========================================
+ Hits         3925     5258    +1333
- Misses       3063     3317     +254
- Partials      511      674     +163

Impacted Files
Coverage Δ

pkg/config/consts.go
0.00% <0.00%> (ø)

pkg/config/loader.go
61.03% <ø> (ø)

pkg/core/candidate/validator.go
65.21% <ø> (ø)

pkg/core/chain/collectors.go
57.14% <ø> (ø)

pkg/core/consensus/agreement/accumulator.go
90.90% <ø> (ø)

pkg/core/consensus/agreement/store.go
59.30% <0.00%> (ø)

pkg/core/consensus/candidate/factory.go
100.00% <ø> (ø)

pkg/core/consensus/candidate/genesis.go
71.42% <ø> (ø)

pkg/core/consensus/collector.go
0.00% <ø> (ø)

pkg/core/consensus/component.go
72.41% <ø> (ø)

... and 192 more

Continue to review full report at Codecov.

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


Option to remove reminders issue #67

Added dropdown form with phone input in faq section, under unsubscribe question
New api endpoint for unsubscribing, removes Alert objects associated with phone number
api endpoint tests
website view function for handling form submit

Working on adding verification so not anyone can cancel someone's phone reminder.


Test2

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #34 (90d43bb) into master (5c5a45d) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #34      +/-   ##
============================================
- Coverage     63.90%   63.90%   -0.01%
+ Complexity     4813     4811       -2
============================================
  Files           136      136
  Lines         21058    21060       +2
  Branches       3815     3815
============================================
+ Hits          13457    13458       +1
- Misses         6264     6266       +2
+ Partials       1337     1336       -1

Impacted Files
Coverage Δ
Complexity Δ

src/com/amazon/ion/impl/IonTokenConstsX.java
54.66% <100.00%> (+0.19%)
142.00 <0.00> (ø)

src/com/amazon/ion/impl/BlockedBuffer.java
50.97% <0.00%> (-0.13%)
77.00% <0.00%> (-2.00%)

Continue to review full report at Codecov.

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


[Feature] Columns layout for Hyprland

I was wondering if it would be possible to implement a columns layout similar to that in Qtile.
The main idea is to have your windows sorted in columns, but unlike Master and Stack, have no fixed amount of them. As you open new tabs, it gets added to the current column and you can move windows up or down or column to column. You can resize each window vertically of the column horizontally. The current implementation of tabbed windows should work well in this layout as well.
I do have a video for demonstration but it a bit old and I'm cannot figure out how to get the link from reddit but you can find it here
https://www.reddit.com/r/xmonad/comments/xolu6n/question_how_to_replicate_qtiles_column_layout_in/ (The 1st one, with qtile caption, is the intended video)

I don't think any new layouts will be added to the core anymore. Layouts are made pluginable with the plugin API (example: hy3) and thus I'd prefer that.
There's also a plugin for river's tiling protocol support so if river has that layout it might work via that too.

Oh okay. Unfortunately, there doesn't seem to be any be plugins for such a layout at the moment, and the limitations of hyprRiver are too severe.
I'll explore the possibility of creating my own plugin.

also wasnt hyprNstack exactly that layout?

Similar but not quite. The hyprNstack layout still follows the master and stack, and as a result, the creation of new windows only happens at the beginning or end of the stack. I don't the columns layout can be created with master and stack as a base.
To take a XMonad example, it is more symbolic to the 'Group.RowOfColumns' layout rather than 'MultiColumns'

In that case you probably have no other option than to write your own plugin. Thankfully it's not really difficult if you have a bit of C/C++ background

Yes, I'll use the wiki and the current master and stack layout as reference as how to design it. Luckily I am familiar with C as well as OOP so it shouldn;t be hard :)

if you use discord you can join our discord server and ask questions in #hyprland-dev if you need any help or have some questions about the codebase, I answer those most of the time within minutes

I do! Thank you very much :D

@pranavsetpal any chance you managed to write anything?

Unfortunately no. I ended up just switching to qtile


GIST fresh install into SLT2 and still greyed out

Went through everything on your readme file and I have tried both ways in creating the token. Both ways gave me no luck at all how do I fix the problem?

Hi I followed this procedure and its still not working for me. @condemil  could you please guide me. I'm a newbie to this.


⚠ Everything Hub has degraded performance

In d3801ec, Everything Hub (https://hub.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 9737 ms

Resolved: Everything Hub performance has improved in 88b853d after 6 minutes.


50 photo limit:  FeedUserMedia api's

why there is a limit of only 50 photos ?
FeedUserMedia.all()
FeedUserMedia.allSafe()

@emaknyus There is no limit to 50 photos :)
there could be few reasons for such a number ...

you have on user profile just 50 photos
maybe you end up with timeout exception or any other exception which get lost on promise chain
you supply limit option as a third argument (my best guess)

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/feeds/user-media.js#L3

maybe due to a timeout exception or any other exception which get lost on promise chain

sorry its my mistake. I'm using https://github.com/Canop/JSON.prune that can limit result of FeedUserMedia.all()
ok, problem solved. thanks :)


Review Screen Addition

Just add it

Done in https://github.com/mplp/docassemble-MLHMotionRegardingChildSupport/commit/118d417ae4521ce4c218e2e00095dc087574b253


docs: remove indentation to fix code blocks

This PR fixes the code blocks in the new docs. Previously, the language specified after the backticks was prepended to the respective code section and no formatting was applied, e.g.:

After the fix:

I think these changes are also in https://github.com/keptn/lifecycle-toolkit/pull/2705 .  Should we merge that and then see if this PR is needed?

I think these changes are also in #2705 . Should we merge that and then see if this PR is needed?

as far as I can see these two PRs overlap only slightly, so I think both will be required


Use code block for the content for .credentials

The content for the .credentials file is currently rendered in one line.

Hi @gseitz,
Thank you for your contribution! We really value the time you've taken to put this together.
We see that you have signed the Lightbend Contributors License Agreement before, however, the CLA has changed since you last signed it.
Please review the new CLA and sign it before we proceed with reviewing this pull request:
http://www.lightbend.com/contribute/cla

I signed the CLA.


add kernelspec for IPython 3.0

Still WIP,
But once https://github.com/ipython/ipython/pull/6126 is merge this will allow to change running kernel in a single notebook server. This add the minimal changes necessary to register a new kernel with IPython.
The things that are still to figure out are the modification Julia bring to tooltip, and the logo/favicon that does not change (yet).

[edit] kernel selector is now in the Kernel > change kernel Menu.

Following this thread. Would probably then use this to get the Torch kernel to run with Jupyter.

Updated and rebased on master. In conjunction with #276 should make IJulia work with IPython 3.0, either wether or not you use --profile=julia.

I'm super excited about this feature.

I'm super excited about this feature.

Yeah, Someone a little more experienced than me should probably have a look at implementing message spec v5. That would allow to do some nifty things with completion like:
atype)<tab> -> actually complete in front to function(atype) which would give the "seamless" tab introspection on doted accessors like in other languages, or whatever your kernel can do.

I'll merge it if you think it's ready to go.

Thanks so much for your efforts on this, @Carreau.  Now that it's merged, the people on the bleeding-edge IJulia can bang on it a little bit, and then I can tag a new release.

Sure, I hope to find some time to do a bit more of Julia myself. Might demo
that at Strata tomorrow. Thanks !
On Thu, Feb 19, 2015 at 7:02 PM, Steven G. Johnson<EMAIL_ADDRESS>
wrote:

Thanks so much for your efforts on this, @Carreau
https://github.com/Carreau. Now that it's merged, the people on the
bleeding-edge IJulia can bang on it a little bit, and then I can tag a new
release.
—
Reply to this email directly or view it on GitHub
https://github.com/JuliaLang/IJulia.jl/pull/210#issuecomment-75182492.


Merge refactor branch back into main

A major refactoring of the codebase is currently happening on https://github.com/spdx/tools-python/tree/refactor-python-tools. In order to avoid building up large parallel structures and having to maintain diverging branches, it should be brought back to main as soon as possible. It would also be confusing to new contributors if active development is concentrated on a non-standard branch.
When a suitable maturity of the refactoring is reached is up for debate. One suggestion would be: Once the data model and validation layer is complete, and Json is supported end-to-end (meaning that parser and writer are implemented). If there are opinions that this is not enough as a base for upcoming development and main needs to have a richer feature set at all times (even if no release is planned during this transitional period), this issue would be a good place for discussion.
When the merge is done, we should:

create a new 0.7 branch based on the previous version
Add a prominent note to the top of the readme, outlining current limitations and providing a link to the 0.7.0 release

fixed by 3f2619c3da8d62aa1966487ac00a4d0512b5a0e7
The previous version can be found at https://github.com/spdx/tools-python/tree/version/v0.7.


Save timer time

Save user's last timer time and use it as the default in the timer picker
Auto-set timer if user last played with a timer

Closes https://github.com/davidalbers/whitenoise-android/issues/43


VS2015 solution and example project files

Related to #95 #28 #2

thanks!

Wait, what changed that VS project files got merged now? Did I miss an argument why CMake doesn't work here?

Oh I see, it was part of #101. Well... if you're willing to make that trade-off and it doesn't slow other contributions to the project more than it benefits, then your call :)

yeah, the idea is: it's good to have a number of choices in build systems. and yes, that carries the risk of vuild systems getting out of sync. but currently, we just have a number of examples, so I think that is manageable ..


samples: sensor: Relax twister constraints on thermometer sample

The thermometer sensor sample application can support any board that
defines the ambient-temp0 devicetree alias, but the restrictive
platform_allow list prevented twister from running on all but two
selected boards. Use a more flexible dt_alias_exists filter instead to
allow running this sample on additional boards.
Signed-off-by: Maureen Helm<EMAIL_ADDRESS>cc @jpmur

@teburd can you take a look?


Refactor story-related components

Description

Mainly improves code quality and organisation, but also improves maintainability for future additions/other changes to the codebase.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Code quality improvements

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 16 (0.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.002%) to 35.968%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/pages/stories/Stories.tsx
0
2
0.0%

src/pages/stories/Story.tsx
0
6
0.0%

src/pages/stories/StoriesTable.tsx
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/pages/stories/Stories.tsx
1
0%

src/pages/stories/Story.tsx
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
5475

Relevant Lines:
14250

💛  - Coveralls


12307 Update business-create-ui to use legal API to V2

Issue #: /bcgov/entity#12307
Description of changes:

renamed url in legal.services.ts
renamed legalApiUrl in config-helper.ts

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

Did you test that all existing Legal API calls (ie, any call that uses Base URL) still function correctly?

Specifically, all Legal API calls except the subject one will now use V2. Do they still work as before?

Did you test that all existing Legal API calls (ie, any call that uses Base URL) still function correctly?

Specifically, all Legal API calls except the subject one will now use V2. Do they still work as before?

Yes. Endpoints using legal-api V2 are working as they before.


change ppc64le nfs provisioner image

Reference: https://github.com/redhat-cop/ocp4-helpernode/pull/297
The automation should start using the changes for avoiding use of ibmcom images.

/close
We are using the latest hash.


Dbz 8281 Provide outbox Quarkus devservice

@Naros
Thanks for reviewing this PR. I have resolved all of your comments.
Inside DebeziumConnectorStatus I have removed state() method because it is not used.
I forget to do little commits for the review instead I rewrite them. I am sorry...
Documentation has been generated using chatgpt, lot easier way.
Regards,
Damien


Implementing chart to display the results

Ticket: #170
Change-Id: Id1be5ec39e197639469a800cae96425c2787b175

So if you like you can merge it


File handle leak in zip_file

In zip_file, this block is leaking a file
if acceptable_filename(file_name):
    next_file = jarfile.open(file_name, "r")
    test_file(next_file, os.path.join(rel_path, file_name), silent_mode)`

It should be like this:
if acceptable_filename(file_name):
    with jarfile.open(file_name, "r") as next_file:
        test_file(next_file, os.path.join(rel_path, file_name), silent_mode)`

Edit: fixed formatting

Thanks @DevonMiller-tfo ,
fixed in the latest commit


Fixed new high priority FindBugs warnings

Signed-off-by: Yinan Li<EMAIL_ADDRESS>

LGTM.
It seems this is not for fixing finbugs warnings, but style fixes? I submitted PR 147 fixing the warnings as well.

It fixed the two new high priority warnings around use of static non-final variable.


[BUG] When the database dialect is PostgreSQL, the @Serialized annotation handles null values incorrectly

The entity interface is as follows:
interface Task {
    @Serialized
    val strategyFields: List<StrategyField>?
}

The values in this column may be null, and according to common sense, null values will not go through the ScalarProvider process.
But PostgreSQL will wrap null values as follows:

Then this sqlValue itself is not null, so it will enter the ScalarProvider process:

Then the following exception will be thrown:

Try untagged version 0.7.76

Try 0.7.77

Fixed


Remove deprecated attributes and add preload

@faceyspacey what about remove charset and type attributes for link and script tags?
They are not needed for html5.
And it's good to add preload

I just copied what webpack was doing when they inject dynamic imports.
I'm not sure charset and type will make much difference removing them. As for preload, that also seems irrelevant since these links are only added to the page after initial load:
https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
I could be wrong though.


Events enhancement

[x] #212
[x] #213
[x] #214
[ ] #215

#261 allows events which started in the past but finish in the future to be confirmed. Is it useful to confirm ended events?


Problem in importing Tensorflow: "ImportError: DLL load failed while importing"

I have a problem in importing TensorFlow. My system is protected in ProgramData. So, I used the virtual environment and installed TensorFlow in my user environment. The TensorFlow is installed, but can not be imported. I checked other websites and related issues, but non of them solved my issue.
The versions of the python: Python 3.8.2
The version of TensorFlow:  1.13.1
The versions of the pip: pip 20.1
CPU: has avx instruction
Environment: virtual environment installed from "https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/"
Error: ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Thanks.

This error occurs to many Users
This occurs because you may not have Visual C++ Redistributable for Windows. Please download it.
Also tensorflow has no support for Python 3.8 as of now.
Refer here to check if you have installed properly
Also, refer similar issues.
#36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204
Thanks!
Please, check Your CPU/Python is on 32 bits?
Please, refer #36167 #38615 and see if it helps you.
Thanks!

@samiravafa
Solution should be downloading and installing visual studio 2015-2019 x86 and x64 from here:https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads.Thanks!


Add database sync auth token

merge main in, SyncToPCS4Options is moved to Equinor.ProCoSys.Completion.Domain

Are these change on main, or are they not yet merged?
I can't seem to find SyncToPCS4Options in Domain
Or did you mean for SyncToPCS4Options to be merged into ApplicationOptions?

Please update https://statoildeveloper.visualstudio.com/Statoil.NextGenProCoSys/_wiki/wikis/Statoil.NextGenProCoSys.wiki/1910/Completion-API with new SyncToPCS4Options.Scope


Update README.md in VAE example

Deleted outdated --workdir flag in bash command, as discussed in #3666.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8995420) 56.12% compared to head (22a1c59) 56.12%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3671   +/-   ##
=======================================
  Coverage   56.12%   56.12%
=======================================
  Files         102      102
  Lines       12180    12180
=======================================
  Hits         6836     6836
  Misses       5344     5344

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


Improve memory usage

-Implemented a function to load data one by one instead of once for all to effectively improve the memory usage.
-Apply this function to decoder.py only.
-Tested on large input data about 2,000,000 and the code was running fine. The old version would crash due to too large input data.

This can't be merged due to some recent refactoring. However, the latest commit (c7ce6c2894fd75d155323698f7f38ec93c4913c4) should fix this issue.


Slide Show controls

I would like to be able to pause the slide show and then un pause the slide show.
I don't want the controls to go away during slide show.
Did I miss something or is the above not currently possible.

This is not possible at the moment.  this will be fixed in the 1.13 release


out-of-date bogus repo ?

These were removed deliberately  because we figured out they were a bad idea:
chameneosredux		obsolete
fastaredux			obsolete,removed
meteor				obsolete
regexdna				obsolete,removed
threadring			obsolete
Here are the Lisp programs  shown on the benchmarks game website.
Here are the Racket programs.
Here's the benchmarks game website.

It is not bogus. I took what I found to work with, I couldn't find the up to data programs in the site repo and I hate working with gitlab.
Thank you for pointing me to the right direction; I will update the programs and remove the obsolete ones.

Can you point me to the programs for C and Go?

I can also contribute the gerbil programs when I am done bumming them.

Can you point me to the programs for C and Go?

Ok, I found them.

See #2, I have updated for the latest and greatest programs from the official site.
So, not bogus; just unofficial and a vehicle for me to push the envelope in gerbil performance.


Error: IndexError: list index out of range while running policy on us-west-2

My policy is as follows:
policies:

name: ec2-report
resource: ec2
query:

instance-state-name: stopped
filters:
"tag:maid_status": absent
type: state-age
op: gt
days: 29
actions:
type: mark-for-op
op: terminate
days: 3

Seems to work fine when running in US-EAST-1, but i get the following error on US-WEST-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/c7n/policy.py", line 211, in run
resources = self.policy.resource_manager.resources()
File "/usr/lib/python2.7/site-packages/c7n/resources/ec2.py", line 89, in resources
return super(EC2, self).resources(query=query)
File "/usr/lib/python2.7/site-packages/c7n/query.py", line 284, in resources
return self.filter_resources(resources)
File "/usr/lib/python2.7/site-packages/c7n/manager.py", line 86, in filter_resources
resources = f.process(resources, event)
File "/usr/lib/python2.7/site-packages/c7n/filters/core.py", line 157, in process
return filter(self, resources)
File "/usr/lib/python2.7/site-packages/c7n/filters/core.py", line 407, in call
v = self.get_resource_date(i)
File "/usr/lib/python2.7/site-packages/c7n/resources/ec2.py", line 200, in get_resource_date
return parse(self.RE_PARSE_AGE.findall(v)[0][1:-1])
IndexError: list index out of range
2017-03-03 12:17:55,516: custodian.commands:ERROR Error while executing policy ec2-report, continuing
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/c7n/commands.py", line 173, in run
policy()
File "/usr/lib/python2.7/site-packages/c7n/policy.py", line 569, in call
return PullMode(self).run()
File "/usr/lib/python2.7/site-packages/c7n/policy.py", line 211, in run
resources = self.policy.resource_manager.resources()
File "/usr/lib/python2.7/site-packages/c7n/resources/ec2.py", line 89, in resources
return super(EC2, self).resources(query=query)
File "/usr/lib/python2.7/site-packages/c7n/query.py", line 284, in resources
return self.filter_resources(resources)
File "/usr/lib/python2.7/site-packages/c7n/manager.py", line 86, in filter_resources
resources = f.process(resources, event)
File "/usr/lib/python2.7/site-packages/c7n/filters/core.py", line 157, in process
return filter(self, resources)
File "/usr/lib/python2.7/site-packages/c7n/filters/core.py", line 407, in call
v = self.get_resource_date(i)
File "/usr/lib/python2.7/site-packages/c7n/resources/ec2.py", line 200, in get_resource_date
return parse(self.RE_PARSE_AGE.findall(v)[0][1:-1])
IndexError: list index out of range
Any idea what is causing this?
When I run based on instance-uptime, I have no errors in either region.

looks like a value for state transition reason that we haven't seen before. any chance you could report unique values for the StateTransitionReason that aren't user initiated or blank .. via
aws ec2 describe-instances --query Reservations[].Instances[].StateTransitionReason

Running the command returns:
[
"User initiated (2017-02-01 00:30:38 GMT)",
"",
"User initiated (2017-02-01 00:30:38 GMT)",
"",
"",
"",
"User initiated (2017-02-01 00:30:38 GMT)",
"User initiated (2017-02-01 00:30:38 GMT)",
"",
"",
"",
"User initiated (2017-03-06 00:30:39 GMT)",
"",
"User initiated (2017-02-01 00:30:38 GMT)",
"",
"User initiated (2017-03-02 00:30:41 GMT)",
"",
"User initiated (2017-03-03 20:18:03 GMT)",
"",
"User initiated (2017-02-01 00:30:38 GMT)",
"User initiated (2017-02-23 00:30:39 GMT)",
"",
"",
"",
"User initiated (2017-02-01 00:30:38 GMT)",
"User initiated (2017-03-01 00:30:39 GMT)",
"",
"",
"User initiated (2017-03-03 20:18:03 GMT)",
"",
"User initiated (2017-02-16 00:30:39 GMT)",
"User initiated (2017-02-18 00:30:40 GMT)",
"User initiated (2017-02-01 00:30:38 GMT)",
"User initiated (2017-02-23 00:30:39 GMT)",
"",
"User initiated (2017-03-02 00:30:41 GMT)",
"User initiated (2016-09-15 00:32:26 GMT)"
]

thanks

@kapilt - just saw this now.  I will take a look at it.
(I have to figure out how to handle notifications better on github.  I get notified of everything that happens on cloud custodian, so the real ones get lost in the noise).

@victorh3 - what version of custodian are you running?
PR #945 fixed problems related to parsing dates, which was released in <IP_ADDRESS> on March 1st.
The new code looks like this:
        dates = self.RE_PARSE_AGE.findall(v)
        if dates:
            return parse(dates[0][1:-1])

You can see that is different than your stack trace which shows the old code:
return parse(self.RE_PARSE_AGE.findall(v)[0][1:-1])

If I am correct that you are running an old version, upgrading to the new version should make this problem go away.
Thanks,
scot

@victorh3 - I'm going to close this because I think it is resolved.  If you still have questions please comment and reopen.