[Overviews] CDB_Sampling_Reduce_Strategy returning fewer samples that should

@jgoizueta found an issue with _CDB_Sampling_Reduce_Strategy. It uses CDB_RandomTids, which samples by skipping pages.
Since overviews are created in cascade, each level from the next (higher zoom) one, and now the overview tables are reused deleting its rows (not truncating to avoid locking), the first time an overview table has been reused half of its pages are empty, the second time 2/3 etc.
The sampling strategy used by CDB_RandomTids expects rows regularly distributed over pages, and degrades (the number of sampled rows is increasingly reduced) as more and more rows are deleted.
We could fix this, with a plain VACUUM, which does not lock, but it cannot be executed from a function 😞  ERROR: VACUUM cannot be executed from a function or multi-command string
So I would avoid CDB_RandomTids and use a simplistic random() sampling, which is more inefficient but I think _CDB_Sampling_Reduce_Strategy is probably not used by anybody...

Stale


How do I use the visualizer to go from state to state without actions involved?

Hi, I want the visualizer to show a state going to another state with a simple arrow without an action in between them? What would be the syntax to make this happen?
Thanks!!

Hi, I want the visualizer to show a state going to another state with a simple arrow without an action in between them? What would be the syntax to make this happen?
Thanks!!

Hi @suesther. If you want your machine to always transition from one state to another without an event, you can use an eventless (always) transition.


Unwrapping of --help information

Hi There,
I'm finding Click library very useful for developing command line application in Python. One such application that I've developed is Automate Atlassian from Command Line
One slightly annoying thing I've noticed is, --help options are not displayed to length of terminal. I've read about use of \b value, but don't seem that's applicable.

Your guidance here will be very helpful.
Thank you,
Raju

Looks like there is already similar bug filed: https://github.com/mitsuhiko/click/issues/204

Try this:
    max_content_width=400
)

Then when you define the command or group, include that setting:
    chain=False,
    context_settings=CONTEXT_SETTINGS,
    )

This allows the help content to be up to 400 characters wide, and will shrink to the actual screen.


Support for testing sagas that are expected to throw exception

Q: How to test saga that is expected to throw exception?
A: In some cases is useful saga to throw exception, for example when is part of bigger composed saga chain. As this library is testing framework agnostic it should propagate saga exceptions up and this makes no longer possible to receive collected 'PUT's as function result. To solve this problem we can pass empty collected array as argument to collectPuts function and inspect his content after the test run. The second argument (the envMapping) can accept options object, see the following 'ava' test example:
test('Example throwFavSagaWorker with throwError effect follows sad path', t => {
  const FAV_ACTION = {
    type: 'FAV_ITEM_REQUESTED',
    payload: { itemId: 123 },
  }

  const mapping = [
    [call(favItem, itemId, token), throwError('ERROR')],
  ]

  // empty array reference
  const collected = []

  const options = {
    mapping,
    collected,
  }

  // expect to throw exception
  t.throws(() => {
    collectPuts(throwFavSagaWorker, options, FAV_ACTION)
  })

  t.deepEqual(
    collected,
    [put(receivedFavItemErrorAction('ERROR', 123))],
    'Not happy path'
  )
})

It looks like this PR contains a number of duplicated commits from https://github.com/DNAinfo/redux-saga-test-engine/pull/30. Is that intentional?

I think the proposed solution to collecting effects if the saga throws is a bit confusing. I'm personally not a fan of an API where the function you call mutates one of its arguments to get the result you want. I don't think that will be very intuitive for users of this library.

If we're going to introduce prettier (which i think we should), it would be preferable to do it in a separate PR. That would make it easier to review your changes.

About mutation of passed arguments API.

It looks like this PR contains a number of duplicated commits from #30. Is that intentional?

Yes it depends on stubs support, at least as use case.

If we're going to introduce prettier (which i think we should), it would be preferable to do it in a separate PR. That would make it easier to review your changes.

I agree that is a bit confusing, we can create separate PR and rebase this one on top of it. Because separating prettier formatting and actual code changes will be tedious work here.

Prettier formatting in on separate branch and PR https://github.com/DNAinfo/redux-saga-test-engine/pull/33


Enhancement: add support for uploading multiple files

Ref: https://github.com/manojadams/mui-forms/issues/90

Resolved and verified.


{request} Logs

Can u do logging on console when somebody uses the api/site.?
and also provide for these indian torrent sites if possibe
sites: https://www.1tamilmv.email/
https://tamilblasters.cam/
Thanks.!

@githubacc0 added logging 2e3e63c will try to add these sites.


fix tokenizer

Hi,
We employ a manual count of lines used in training in the current speechbrain tokenizer. In addition, the condition check has a minor flaw. Even if we modify parameters like the num_sequences after the txt file has already been generated one time, the changes will not take effect because we check if the file exists or not (which is already there in this case)
https://github.com/speechbrain/speechbrain/blob/e14d2c15874a22df018edf441af62b105b33ed39/speechbrain/tokenizers/SentencePiece.py#L160
SentencePiece provides built in parameters :
--input_sentence_size (maximum size of sentences the trainer loads)  type: int32 default: 0
--shuffle_input_sentence (Randomly sample input sentences in advance. Valid when --input_sentence_size > 0)  type: bool default: true
We can sample more conveniently and randomly just using these parameters. I added these two parameters and removed num_sequences in this PR
@lorenlugosch @aheba

The reason I added num_sequences was that some recipes were running out of memory because we were using too many sequences to train the tokenizer. (Maybe the AISHELL recipe?)
I think I remember the problem still occurred when using SentencePiece's built-in parameter, but maybe I'm remembering that wrong. If your change works, let's go with it.
(And you're right that we should be shuffling!)

@Moumeneb1 any updates?
Please run pre-commit run --all-files - maybe a pull of the latest develop branch is necessary as well.

Dear @Moumeneb1,
Thank you for your contribution to our project through this pull request. Unfortunately, we have decided to close this pull request due to its staleness.
Since the initial submission, our project has undergone significant updates, and we've released several new versions. As a result, we kindly request you to create a new pull request with the latest commits to ensure compatibility and integration with the current codebase.
Please sync your fork with the latest changes from the main repository and address any potential conflicts that may arise during this process. We appreciate your understanding and continued interest in contributing to our project.
If you have any questions or encounter difficulties while creating the new pull request, feel free to reach out. We value your contributions and look forward to seeing an updated pull request from you.
Best regards,
Adel Moumen


Update isort version

https://github.com/pre-commit/mirrors-isort/releases

I don't plan to keep this number in sync as it invites PRs like this one which are noisy and don't add too much value -- maybe instead just add a comment #  pick the isort version you'd like to use

I don't plan to keep this number in sync as it invites PRs like this one which are noisy and don't add too much value -- maybe instead just add a comment # pick the isort version you'd like to use

Fixed :)


spelling mistake in aura book

http://imgur.com/s2Q3Clz
Im sure that iolet isn't a thing... probably

I knew I should read the thing again after he made the colored texts :P


Produce: You must choose a primary language. You must choose a primary language.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Run produce to create new app in ItunesConnect, it cannot create new app due to missing primary language although i already specific the language.

18:40:16]: --- Step: produce ---
[18:40:16]: ---------------------
+----------------+----------------------------------+
|             Summary for produce 1.3.0             |
+----------------+----------------------------------+
| username       |<EMAIL_ADDRESS>       |
| app_name       | "CRUYFF"                         |
| team_id        | QWERTYUI                      |
| team_name      | " bv"         |
| app_identifier |ABC |
| language       | Dutch                            |
| app_version    | 2.11.0                           |
| sku            | ABC|
| company_name   | "bv"         |
| itc_team_id    | 12345678                        |
| skip_itc       | false                            |
| skip_devcenter | false                            |
+----------------+----------------------------------+
[18:40:22]: [DevCenter] App 'nl.cruyffclassics.cruyffclassics' already exists, nothing to do on the Dev Center
[18:40:25]: Creating new app '"CRUYFF"' on iTunes Connect
[18:40:26]: Variable Dump:
[18:40:26]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios createnewapp", :XCODEBUILD_DERIVED_DATA_PATH=>nil}
[18:40:26]: You must choose a primary language. You must choose a primary language.
Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.1

Ruby
2.3.1

Bundler?
false

Git
git version 2.9.3 (Apple Git-75)

Installation Source
/Users/jenkins/.rbenv/versions/2.3.1/bin/fastlane

Host
Mac OS X 10.12.1 (16B2555)

Ruby Lib Dir
/Users/jenkins/.rbenv/versions/2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

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

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

spaceship
0.37.0
✅ Up-To-Date

fastlane_core
0.56.0
✅ Up-To-Date

deliver
1.15.0
🚫 Update availaible

snapshot
1.16.3
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

pem
1.4.0
✅ Up-To-Date

cert
1.4.4
✅ Up-To-Date

sigh
1.11.2
✅ Up-To-Date

produce
1.3.0
✅ Up-To-Date

gym
1.12.0
✅ Up-To-Date

pilot
1.12.0
🚫 Update availaible

scan
0.14.1
✅ Up-To-Date

supply
0.7.1
✅ Up-To-Date

match
0.11.0
✅ Up-To-Date

screengrab
0.5.6
✅ Up-To-Date

fastlane
1.109.0
🚫 Update availaible

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

highline
1.7.8

commander
4.4.0

terminal-table
1.4.5

json
1.8.3

multipart-post
2.0.0

faraday
0.10.0

faraday_middleware
0.10.1

dotenv
2.1.1

net-ssh
3.2.0

net-sftp
2.1.2

plist
3.2.0

rubyzip
1.1.7

security
0.1.3

krausefx-shenzhen
0.14.11

slack-notifier
1.5.1

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.3

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.3

claide
1.0.1

colored
1.2

nanaimo
0.2.2

xcodeproj
1.4.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

addressable
2.3.8

credentials_manager
0.16.2

multi_xml
0.5.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161021

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

xcode-install
2.0.9

word_wrap
1.0.0

multi_json
1.12.1

babosa
1.0.2

excon
0.54.0

gh_inspector
1.0.2

fastlane_core
0.56.0

bundler
1.13.6

mini_magick
4.5.1

xcpretty-travis-formatter
0.0.4

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

google-api-client
0.9.20

io-console
0.4.5

please see https://github.com/fastlane/fastlane/tree/master/deliver#available-language-codes available language codes.
can you try changing "Dutch" to nl-NL - maybe that works.

Have same problem, but only for 1 app. All other apps creates normally.
Our command for creating apps in itunes:
export FASTLANE_PASSWORD='%@'; /usr/local/bin/produce run --skip_devcenter --username "%@" --app_name "%@" --app_identifier '%@' --app_version '%@' --company_name '%@' --sku '%@'
I see only one difference that app with error from other apps: apple user is new and have no apps in itunes yet. Other users already has other apps in itunes. May be I'll found something else.
biolinh, do you have other apps in itunes?

+----------------+----------------------------------+
|             Summary for produce 1.3.0             |
+----------------+----------------------------------+
| skip_devcenter | true                             |
| username       | ******             |
| app_name       | VHW Visit Verification Form      |
| app_identifier | ****** |
| app_version    | 1.0.0                            |
| company_name   | Vanguard Health and Wellness LLC |
| sku            | VHW_Visit_Verification_Form      |
| language       | English                          |
| skip_itc       | false                            |
+----------------+----------------------------------+
[12:38:47]: Creating new app 'VHW Visit Verification Form' on iTunes Connect
Looking for related GitHub issues on fastlane/fastlane...
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run fastlane env to append the fastlane environment to your issue
[!] The request could not be completed because:
You must choose a primary language. You must choose a primary language.

Same error here.
spaceship-0.37.0/lib/spaceship/tunes/tunes_client.rb:221:in `handle_itc_response': [!] The request could not be completed because: (Spaceship::TunesClient::ITunesConnectError)
	You must choose a primary language. You must choose a primary language.
	from /Users/Tino/.gem/ruby/2.3.0/gems/spaceship-0.37.0/lib/spaceship/tunes/tunes_client.rb:294:in `create_application!'
	from /Users/Tino/.gem/ruby/2.3.0/gems/spaceship-0.37.0/lib/spaceship/tunes/application.rb:80:in `create!'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/itunes_connect.rb:25:in `create_new_app'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/itunes_connect.rb:12:in `run'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/manager.rb:8:in `start_producing'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/commands_generator.rb:35:in `block (2 levels) in run'
	from /Users/Tino/.gem/ruby/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/Tino/.gem/ruby/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/Tino/.gem/ruby/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/Tino/.gem/ruby/2.3.0/gems/fastlane_core-0.56.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /Users/Tino/.gem/ruby/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/commands_generator.rb:133:in `run'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/lib/produce/commands_generator.rb:11:in `start'
	from /Users/Tino/.gem/ruby/2.3.0/gems/produce-1.3.0/bin/produce:6:in `<top (required)>'
	from /Users/Tino/.gem/ruby/2.3.0/bin/produce:22:in `load'
	from /Users/Tino/.gem/ruby/2.3.0/bin/produce:22:in `<main>'

@biolinh @drakar4ik @Desnoo as its hard to reproduce, i tried it with English, Dutch ... and right now we are unable to reproduce it, but i still have a small bet on the PR, can someone of you be so kind to try the PR out?
git clone https://github.com/hjanuschka/fastlane fastlane-fork
cd fastlane-fork
git checkout primary_language
#
#  please edit fastlane/Fastfile - and create a demo lane (e.g named: produce_test) - adding
# your produce() code from the failing fastfile.
#
export FASTLANE_LOCAL_DEV=1
bundle install
bundle exec fastlane produce_test --capture_output
unset FASTLANE_LOCAL_DEV

this should use the local forked version including the PR - later on please share the generated output (you'll be asked to auto-copy-paste it)

@hjanuschka I tried it with another bundle ident and other name then it worked.
I can now say that the error happens if the app name is not unique. This was the case at my side.

@Desnoo you mean if an app with the same name already exists?

Since updating fastlane 2 days ago I'm getting a problem with languages / localisations too. I have set my language as English in produce and have my metadata in deliver for en-US (Same as I always have) but deliver is failing with this error message.
[en-GB]: You must provide an app description for English (U.K.). [en-GB]: You must enter one or more keywords for your app in English (U.K.). You must add at least one screenshot. You must add at least one screenshot. [en-GB]: You must add at least one screenshot. [en-GB]: You must add at least one screenshot. [en-GB]: You must provide a Support URL.
When I go into iTunes Connect I now have English UK set as the primary language and it is expecting metadate / screenshots etc for English UK localization.

@hjanuschka Yes that is what I meant.

@drakar4ik It only happen with new account which there don't have any app.

I had exactly this same problem -- as a new iTunesConnect developer making first app.
I created a dummy app in iTunes connect, and after that the bug disappeared.

I have the same problem.
+----------------+------------------------------+
|           Summary for produce 1.3.0           |
+----------------+------------------------------+
| username       | xxxxxxxxxxxxxxxxxxxxxxxxx    |
| app_identifier | xxxxxxxxxx                   |
| app_name       | mYNiceGotGame4               |
| language       | English_UK                   |
| app_version    | 1.5                          |
| sku            | xxxxxxxxxx                 |
| skip_itc       | false                        |
| skip_devcenter | false                        |
+----------------+------------------------------+
the language and app_version options does not work.
language in itunesconnect is "Simplified Chinese" not "English_UK".
app_version in itunesconnect is "1.0" not "1.5".

Has anyone been able to verify the fix from the PR that @hjanuschka put together? https://github.com/fastlane/fastlane/pull/7084 through the process he describes in this comment? Let me know so we can get a fix merged!

Experiencing the same problem since the last update (v1.110.0)
+----------------+---------------------------+
|         Summary for produce 1.3.0          |
+----------------+---------------------------+
| app_name       | ******  |
| language       | UK English                |
| app_version    | 1.0                       |
| sku            | ******                  |
| team_name      | ******               |
| username       | ******    |
| app_identifier | ****** |
| skip_itc       | false                     |
| skip_devcenter | false                     |
| team_id        | ******                |
+----------------+---------------------------+

[16:51:36]: [DevCenter] App '******' already exists, nothing to do on the Dev Center
[16:51:37]: Creating new app '******' on iTunes Connect
[16:51:38]: You must choose a primary language. You must choose a primary language.

+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying required fastlane version                           | 0           |
| 2    | team_id                                                       | 0           |
| 3    | increment_build_number                                        | 1           |
| 💥    | produce                                                       | 6           |
+------+---------------------------------------------------------------+-------------+

[16:51:38]: fastlane finished with errors

@igorstimoli Could you verify the fix from the PR that @hjanuschka put together? https://github.com/fastlane/fastlane/pull/7084 through the process he describes in this comment?. We're just looking for some external confirmation of the fix so we can merge and ship it! 🚀

or someone provide an appleid + password (you can reach me by email) - where we can reproduce it. and try the PR

@asfalcone Doesn't work for me, I get a different error:
Captured Output
Command Used: produce_test
Output/Log

[23:21:02]: Driving the lane 'produce_test' 🚀
[23:21:02]: ---------------------
[23:21:02]: --- Step: produce ---
[23:21:02]: ---------------------

+----------------+-----------------------------------+
|             Summary for produce 1.3.0              |
+----------------+-----------------------------------+
snip some personal details
| skip_itc       | false                             |
| skip_devcenter | false                             |
+----------------+-----------------------------------+

[23:21:05]: [DevCenter] App 'snip' already exists, nothing to do on the Dev Center
[23:21:07]: Creating new app 'snip' on iTunes Connect
[23:21:07]: Variable Dump:
[23:21:07]: {:PLATFORM_NAME=>nil, :LANE_NAME=>"produce_test"}
[23:21:07]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unexpected Error"], "info"=>nil}, "statusCode"=>"ERROR"}

+------+---------+-------------+
|       fastlane summary       |
+------+---------+-------------+
| Step | Action  | Time (in s) |
+------+---------+-------------+
| 💥    | produce | 4           |
+------+---------+-------------+

[23:21:07]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  Unexpected Error
   https://github.com/fastlane/fastlane/issues/3032 [closed] 2 💬
   22 Sep 2016

➡  Deliver fails with "Unexpected Error" after uploading package to iTunes Connect
   https://github.com/fastlane/fastlane/issues/6455 [closed] 51 💬
   4 weeks ago

➡  Deliver fails to create a new version in iTunes Connect for a Mac App
   https://github.com/fastlane/fastlane/issues/6152 [open] 10 💬
   12 hours ago

and 8 more at: https://github.com/fastlane/fastlane/search?q=%7B%22data%22=%3Enil,%20%22messages%22=%3E%7B%22warn%22=%3Enil,%20%22error%22=%3E[%22Unexpected%20Error%22],%20%22info%22=%3Enil%7D,%20%22statusCode%22=%3E%22ERROR%22%7D&type=Issues&utf8=✓

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.1

Ruby
2.3.0

Bundler?
true

Git
git version 2.9.2

Installation Source
/usr/local/rvm/gems/ruby-2.3.0/bin/fastlane

Host
Mac OS X 10.12.1 (16B2555)

Ruby Lib Dir
/usr/local/rvm/rubies/ruby-2.3.0/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

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

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
lane :produce_test do
    produce(username: "snip", app_identifier: "snip", team_id: "snip", app_name: 'snip', company_name: "snip", language: "English")
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.56.0
🚫 Update availaible

spaceship
0.37.0
✅ Up-To-Date

cert
1.4.4
✅ Up-To-Date

deliver
1.15.1
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

gym
1.12.0
🚫 Update availaible

sigh
1.11.2
✅ Up-To-Date

match
0.11.0
✅ Up-To-Date

pem
1.4.0
✅ Up-To-Date

pilot
1.12.1
✅ Up-To-Date

produce
1.3.0
✅ Up-To-Date

scan
0.14.1
🚫 Update availaible

screengrab
0.5.6
✅ Up-To-Date

snapshot
1.16.3
🚫 Update availaible

supply
0.7.1
✅ Up-To-Date

fastlane
1.110.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.2

io-console
0.4.6

rake
11.3.0

CFPropertyList
2.3.3

i18n
0.7.0

json
1.8.3

minitest
5.9.1

thread_safe
0.3.5

tzinfo
1.2.2

activesupport
<IP_ADDRESS>

public_suffix
2.0.4

addressable
2.5.0

ast
2.3.0

babosa
1.0.2

builder
3.2.2

bundler
1.13.6

byebug
9.0.6

colored
1.2

highline
1.7.8

commander
4.4.0

security
0.1.3

credentials_manager
0.16.2

excon
0.54.0

gh_inspector
1.0.2

multi_json
1.12.1

plist
3.2.0

rubyzip
1.1.7

terminal-table
1.4.5

fastlane_core
0.56.0

multipart-post
2.0.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161021

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

fastimage
1.6.8

multi_xml
0.5.5

claide
1.0.1

cork
0.2.0

nap
1.1.0

open4
1.3.4

claide-plugins
0.9.2

coderay
1.1.1

docile
1.1.5

simplecov-html
0.10.0

simplecov
0.12.0

tins
1.12.0

term-ansicolor
1.4.0

thor
0.19.1

coveralls
0.8.15

safe_yaml
1.0.4

crack
0.4.3

faraday-http-cache
1.3.1

git
1.3.0

sawyer
0.8.1

octokit
4.6.2

redcarpet
3.3.4

danger
0.10.1

diff-lcs
1.2.5

dotenv
2.1.1

fakefs
0.8.1

mini_magick
4.5.1

rouge
1.11.1

xcpretty
0.2.4

net-ssh
3.2.0

net-sftp
2.1.2

krausefx-shenzhen
0.14.11

slack-notifier
1.5.1

xcpretty-travis-formatter
0.0.4

jwt
1.5.6

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

hurley
0.2

mime-types
1.25.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.20

terminal-notifier
1.7.1

word_wrap
1.0.0

xcode-install
2.0.9

nanaimo
0.2.2

xcodeproj
1.4.1

method_source
0.8.2

parser
<IP_ADDRESS>

powerpack
0.1.1

slop
3.6.0

pry
0.10.4

pry-byebug
3.4.0

rainbow
2.1.0

rest-client
1.6.9

rspec-support
3.1.2

rspec-core
3.1.7

rspec-expectations
3.1.2

rspec-mocks
3.1.3

rspec
3.1.0

rspec_junit_formatter
0.2.3

ruby-progressbar
1.8.1

unicode-display_width
1.1.1

rubocop
0.44.1

webmock
1.19.0

yard
<IP_ADDRESS>

generated on: 2016-11-21

I can't tell whether its actually using the local dev version, I did all the commands that @hjanuschka put together but from the environment stuff in that message it doesn't seem to say its using the dev copy, unless it does that silently.

@adamipc - hmm strange, can you post the output of the run without the  PR applied append "--verbose" ?

@hjanuschka Here it is with --verbose on master branch:
Captured Output
Command Used: produce_test
Output/Log

DEBUG [2016-11-22 23:32:29.95]: Checking if there are any plugins that should be loaded...
INFO [2016-11-22 23:32:29.98]: Driving the lane 'produce_test' 🚀
INFO [2016-11-22 23:32:29.98]: ---------------------
INFO [2016-11-22 23:32:29.98]: --- Step: produce ---
INFO [2016-11-22 23:32:29.98]: ---------------------
Comparing spaceship version (remote 0.37.0 - local 0.37.0)

+----------------+-----------------------------------+
|             Summary for produce 1.3.0              |
+----------------+-----------------------------------+
snip
| language       | English                           |
| skip_itc       | false                             |
| skip_devcenter | false                             |
+----------------+-----------------------------------+

INFO [2016-11-22 23:32:35.24]: [DevCenter] App 'snip' already exists, nothing to do on the Dev Center
Looking for iTunes Connect Team with ID snip
INFO [2016-11-22 23:32:36.21]: Creating new app 'snip' on iTunes Connect
WARN [2016-11-22 23:32:36.53]: Variable Dump:
INFO [2016-11-22 23:32:36.53]: {:PLATFORM_NAME=>nil, :LANE_NAME=>"produce_test"}
ERROR [2016-11-22 23:32:36.53]: You must choose a primary language. You must choose a primary language.
INFO [2016-11-22 23:32:36.53]: Successfully generated documentation at path '/Users/adam/Documents/dev/fastlane-fork/fastlane/README.md'

+------+---------+-------------+
|       fastlane summary       |
+------+---------+-------------+
| Step | Action  | Time (in s) |
+------+---------+-------------+
| 💥    | produce | 6           |
+------+---------+-------------+

ERROR [2016-11-22 23:32:36.54]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: The request could not be completed because:
	You must choose a primary language. You must choose a primary language.

URL: https://api.github.com/search/issues?q=The%20request%20could%20not%20be%20completed%20because:%0A%09You%20must%20choose%20a%20primary%20language.%20You%20must%20choose%20a%20primary%20language.+repo:fastlane/fastlane
➡  Produce: You must choose a primary language. You must choose a primary language.
   https://github.com/fastlane/fastlane/issues/7074 [open] 18 💬
   3 minutes ago

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.1

Ruby
2.3.0

Bundler?
true

Git
git version 2.9.2

Installation Source
/usr/local/rvm/gems/ruby-2.3.0/bin/fastlane

Host
Mac OS X 10.12.1 (16B2555)

Ruby Lib Dir
/usr/local/rvm/rubies/ruby-2.3.0/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

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

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
lane :produce_test do
    produce(username: "snip", app_identifier: "snip", team_id: "snip", app_name: 'snip', company_name: "snip", language: "English", verbose: true)
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.57.0
✅ Up-To-Date

spaceship
0.37.0
✅ Up-To-Date

cert
1.4.4
✅ Up-To-Date

deliver
1.15.1
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

gym
1.12.1
✅ Up-To-Date

sigh
1.11.2
✅ Up-To-Date

match
0.11.0
✅ Up-To-Date

pem
1.4.0
✅ Up-To-Date

pilot
1.12.1
✅ Up-To-Date

produce
1.3.0
✅ Up-To-Date

scan
0.14.2
✅ Up-To-Date

screengrab
0.5.6
✅ Up-To-Date

snapshot
1.16.4
✅ Up-To-Date

supply
0.7.1
✅ Up-To-Date

fastlane
1.110.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.2

io-console
0.4.6

rake
11.3.0

CFPropertyList
2.3.3

i18n
0.7.0

json
1.8.3

minitest
5.9.1

thread_safe
0.3.5

tzinfo
1.2.2

activesupport
<IP_ADDRESS>

public_suffix
2.0.4

addressable
2.5.0

ast
2.3.0

babosa
1.0.2

builder
3.2.2

bundler
1.13.6

byebug
9.0.6

colored
1.2

highline
1.7.8

commander
4.4.0

security
0.1.3

credentials_manager
0.16.2

excon
0.54.0

gh_inspector
1.0.2

multi_json
1.12.1

plist
3.2.0

rubyzip
1.1.7

terminal-table
1.4.5

fastlane_core
0.57.0

multipart-post
2.0.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161021

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

fastimage
1.6.8

multi_xml
0.5.5

claide
1.0.1

cork
0.2.0

nap
1.1.0

open4
1.3.4

claide-plugins
0.9.2

coderay
1.1.1

docile
1.1.5

simplecov-html
0.10.0

simplecov
0.12.0

tins
1.12.0

term-ansicolor
1.4.0

thor
0.19.1

coveralls
0.8.15

safe_yaml
1.0.4

crack
0.4.3

faraday-http-cache
1.3.1

git
1.3.0

sawyer
0.8.1

octokit
4.6.2

redcarpet
3.3.4

danger
0.10.1

diff-lcs
1.2.5

dotenv
2.1.1

fakefs
0.8.1

mini_magick
4.5.1

rouge
1.11.1

xcpretty
0.2.4

net-ssh
3.2.0

net-sftp
2.1.2

krausefx-shenzhen
0.14.11

slack-notifier
1.5.1

xcpretty-travis-formatter
0.0.4

jwt
1.5.6

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

hurley
0.2

mime-types
1.25.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.20

terminal-notifier
1.7.1

word_wrap
1.0.0

xcode-install
2.0.9

nanaimo
0.2.2

xcodeproj
1.4.1

method_source
0.8.2

parser
<IP_ADDRESS>

powerpack
0.1.1

slop
3.6.0

pry
0.10.4

pry-byebug
3.4.0

rainbow
2.1.0

rest-client
1.6.9

rspec-support
3.1.2

rspec-core
3.1.7

rspec-expectations
3.1.2

rspec-mocks
3.1.3

rspec
3.1.0

rspec_junit_formatter
0.2.3

ruby-progressbar
1.8.1

unicode-display_width
1.1.1

rubocop
0.44.1

webmock
1.19.0

yard
<IP_ADDRESS>

generated on: 2016-11-22

thats so strange! can you give the PR a try again - and changing language to en-US in the fastfile ?

@adamipc big thx for helping and being so patient.

I probably don't need to paste the whole output, it just says: /Users/adam/Documents/dev/fastlane-fork/fastlane_core/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Please enter one of available languages: ["Brazilian Portuguese", "Danish", "Dutch", "English", "English_Australian", "English_CA", "English_UK", "Finnish", "French", "French_CA", "German", "Greek", "Indonesian", "Italian", "Japanese", "Korean", "Malay", "Norwegian", "Portuguese", "Russian", "Simplified Chinese", "Spanish", "Spanish_MX", "Swedish", "Thai", "Traditional Chinese", "Turkish", "Vietnamese"] (FastlaneCore::Interface::FastlaneError)

I hacked it to add en-US to the allowed languages and I'm still getting:
/Users/adam/Documents/dev/fastlane-fork/spaceship/lib/spaceship/client.rb:413:in `parse_response': [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unexpected Error"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
	from /Users/adam/Documents/dev/fastlane-fork/spaceship/lib/spaceship/tunes/tunes_client.rb:293:in `create_application!'

as @tobiasstrebitzer found out - we need to provide both variations, i updated my pull request, can you pull it and give it a another try?

I'm not sure how to call it, if I use language: "English" or leave the option off, I get the same error, if I set to to en-US then I get the original error that "You must choose a primary language."

i updated the PR again :( trigger finger was too fast, lets wait until circel ci finishes with green light 👍
you then should call it with English  as it is converted to en-US automatically.

@adamipc  build suceeded - can you try it?

pulled, seem to have latest, but still unexpected response

you still have the env set?
export FASTLANE_LOCAL_DEV=1
bundle install
bundle exec fastlane produce_test --capture_output

Yep, and output is still the same as here: https://github.com/fastlane/fastlane/issues/7074#issuecomment-262438554

@adamipc  that sucks - can you hack in tunes_client.rb:270
and output the r like  adding puts r.inspect

@adamipc ahh found a nice way to trace spaceship calls :)
export VERBOSE=1
and run the bundle exec

OK, so I was getting a 500 error Internal Server Error and it seemed to be because the bundle ID (even though its in Apple Dev) doesn't show up in iTunes connect. Changing it to a different bundle ID got rid of the error and the create application succeeded.
(No clue why my bundle ID doesn't show up in iTunes connect, but also I guess fastlane can't do anything about internal server error from ITC except show the bug search results like it already does)

@adamipc so it even works without the PR now ? that's wierd

No, that is with the PR.

ok so the PR is a fix? - and you suffer an additional bug in itc.

Yep!

@adamipc  many many thx for your help - and findings!
so can any one else on this issue test the PR?  so we can verify it once again, and get this PR merged?
@asfalcone looks like we are near a solution 👏

@asfalcone @hjanuschka
I just tested the fix from the PR and it seems to work...
At least the process passes that step, yet I get an error later
+-------------------------------------+----------------------------------+
|                        Summary for sigh 1.11.2                         |
+-------------------------------------+----------------------------------+
| force                               | true                             |
| adhoc                               | false                            |
| development                         | false                            |
| skip_install                        | false                            |
| app_identifier                      | ************ |
| username                            | ************    |
| team_id                             | ************                       |
| team_name                           | ************                       |
| ignore_profiles_with_different_name | false                            |
| cert_id                             | ************                       |
| skip_fetch_profiles                 | false                            |
| skip_certificate_verification       | false                            |
+-------------------------------------+----------------------------------+

[10:30:06]: Starting login with user '************'
[10:30:08]: Successfully logged in
[10:30:08]: Fetching profiles...
[10:30:09]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
[10:30:29]: Creating new provisioning profile for '************' with name '************'
[10:30:32]: Downloading provisioning profile...
[10:30:34]: Successfully downloaded provisioning profile...
[10:30:34]: Installing provisioning profile...
************.mobileprovision
[10:30:34]: Setting Provisioning Profile type to 'app-store'
[10:30:36]: Variable Dump:
[10:30:36]: {:PLATFORM_NAME=>nil, :LANE_NAME=>"deploy", :BUILD_NUMBER=>"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.", :PRODUCE_APPLE_ID=>"************", :CERT_FILE_PATH=>"/Users/Shared/Jenkins/Home/workspace/iOS Build - Complete Release/iOS/************.cer", :CERT_CERTIFICATE_ID=>"************", :SIGH_PROFILE_PATH=>"/Users/Shared/Jenkins/Home/workspace/iOS Build - Complete Release/iOS/AppStore_com.************.************.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/Shared/Jenkins/Home/workspace/iOS Build - Complete Release/iOS/AppStore_com.************.************.mobileprovision"], :SIGH_UDID=>"3e62eddd-c680-456d-b78b-dc6ad726a652", :SIGH_UUID=>"3e62eddd-c680-456d-b78b-dc6ad726a652", :SIGH_PROFILE_TYPE=>"app-store"}
[10:30:36]: No value found for 'uuid'

+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying required fastlane version                           | 0           |
| 2    | team_id                                                       | 0           |
| 3    | increment_build_number                                        | 2           |
| 4    | produce                                                       | 120         |
| 5    | cert                                                          | 37          |
| 6    | pem --force                                                   | 9           |
| 7    | sigh                                                          | 27          |
| 💥    | update_project_code_signing                                   | 0           |
+------+---------------------------------------------------------------+-------------+

[10:30:36]: fastlane finished with errors

@igorstimoli looks good - from produce point of view, can you create a seperate issue - as its another problem just add me with @ and i ll post the answer for it  (as i guess i have one);)

This was a great team effort! Thanks @hjanuschka for the PR and @igorstimoli, @adamipc and @tobiasstrebitzer for all your help! 🎉 You're all awesome!


Combobox Accessibility Issues

Came across a use of a combo box in ILAO's Fee Waiver interview when doing an accessibility audit. There are a few accessibility issues I found when using it with a screen reader and keyboard:

There is a button on the right side of the field that doesn't have any labels. Screen readers will announce it as just "Push button" or "button". I think the right way to describe it would be as a collapsible button, but...
when you use keyboard controls to press the button, it quickly shows the available items, but then quickly selects the top option. What's actually happening is that on key down, the available items are shown, and then you can use the arrow keys to navigate and choose the right option, and on key up, that option is selected and entered into the combobox input field. This definitely isn't standard keyboard controls for a button like that (having to hold down one key while using others to choose something), and should be changed to be on 2 different key presses.

after writing this, I discovered that this only seems to happen on Firefox on Ubuntu, and not Firefox on windows, so I'm not sure how to start debugging OS differences here.

the options available in the combobox aren't read out on the screen reader. With Orca (Ubuntu), nothing is read at all, and with NVDA (windows), it says "blank" each time you navigate to the next year selection.
If you enter an invalid number and navigate to continue, the validation message pops up, but nothing is read out on with the reader (at all). If you navigate back to the combo box, it won't read out the issue either. If you just didn't enter anything it will read out "this field is required".

The combobox is a separate bootstrap plugin that we would have to patch separately from docassemble. There haven't been any substantive merged PRs since 2019, so our best bet is to patch it ourselves, see if the author has the time to review and merge, and if not, convince Jonathan to use our fork instead.
Here's an image of what the combobox looks like, and some example code to try it out.

question: |
  What year were you born?
fields:
  - Year of birth: birth_year
    input type: combobox
    datatype: integer
    maxlength: 4
    min: ${ today().year-120 }
    max: ${ today().year }
    code: |
      reversed(range(today().year-120, today().year+1))

Since this is (IMO) a pretty big accessibility issue, and there are a number of things to patch (that I would have to figure out, given I'm not a front-end expert yet), I might recommend that our interviews avoid combo box selections (at least the e-filing ones).

From our conversation at the coding deep-dive:

the particular use case of combo boxes should be to always let a user add their own option, even if not present in the drop down.

the other alternate way of doing this in a docassemble interview is a dropdown with the "other" choice, and a show if that let's you add another

it'll be a complicated change either way, so we will have to defer a sweeping audit / change of existing interviews that use this feature, likely until we add e-filing features to them.

Our priorities here should be to:

[ ] find a better plugin if possible, one that was built with accessibility in mind from the get go
[ ] research the alternatives to using a combo box
[ ] As a stopgap, in the existing interviews that do use combo boxes, we should note that they're deprecated and add a link to this interview and to the documentation page that describes why we're suggesting avoiding it for now.

Did a little more searching for other plugins, and unfortunately the only one I found was https://github.com/cchantep/bootstrap-combobox, which isn't really a combobox, it's just a dropdown. There are a lot of dropdown plugins, but not a lot of combo boxes.
It's not a plugin, but w3 does have a (not-production ready) version, which looks good, but likely won't be a drop-in-replacement when trying to get the styles we want.

Some quick updates here: I forgot that docassemble already it's own fork of most things, including the bootstrap-combobox plugin. So that makes it easier to merge into docassemble more quickly (might also merge upstream if I have the time).
Realizing this I was able to fairly quickly make the combobox much more accessible, with the right aria properties and roles. The code is fairly done, and in this commit. I have an fairly extensive testing plan though, because I want to do this right on mobile and different operating systems, and am kinda doing it on my free time to learn more about front-end stuff.
Keeping track of the testing plan here, cause I might as well.
OS/platforms

[ ] ubuntu

[ ] Firefox
[ ] Chrome
[ ] Opera (?)

[ ] Android

[ ] Chrome
[ ] Firefox

[ ] Windows

[ ] Firefox
[ ] Chrome
[ ] Edge

[ ] Mac

[ ] Safari
[ ] Chrome
[ ] Firefox

[ ] iOS

[ ] Safari
[ ] Chrome (though IIRC, all browsers on iOS are the same engine)

Behaviors to test

[ ] only keyboard controls

[ ] can tab into the widget
[ ] down and up to select existing options
[ ] enter or tab to select it
[ ] escape closes the dropbox
[ ] screen reader works on each action

[ ] only mouse

[ ] click to select (test box or button should expand)
[ ] scroll / selection works
[ ] toggle with just the button
[ ] x button clears it
[ ] screen reader

[ ] typing

[ ] can focus on the text input with a click / tap
[ ] can type and filter data shows
[ ] type partial and arrow keys down / tap to select
[ ] screen reader works and reads normally

https://github.com/jhpyle/docassemble/pull/581 was merged upstream and released as 1.4.13. However there are a few remaining things to address here:

the known bugs:

[ ] Android + Firefox + Talkback doesn't handle focus well to chose from the filtered list
[ ] Mac + Safari + VoiceOver just doesn't work / read out the options. Need to learn more about talk back, and figure out what is supported and what's cause the specific issue.

[ ] still needs testing on iPhone. Not optimistic with how VoiceOver behaved on Mac though
[ ] The issue with validation messages not being read (copied below) hasn't been addressed. Even though I'd say the example given was a bit non-standard, validation code on comboboxes is still possible, so should be addressed at some point.

If you enter an invalid number and navigate to continue, the validation message pops up, but nothing is read out on with the reader (at all). If you navigate back to the combo box, it won't read out the issue either. If you just didn't enter anything it will read out "this field is required".

@BryceStevenWilley can we get an update on upstream status. I've seen at least one more changelog entry dealing with combobox. Is it still not fully accessible?

None of those changes have dealt with the known issues listed in https://github.com/SuffolkLITLab/docassemble-AssemblyLine/issues/548#issuecomment-1292238147. Mac / VoiceOver support is the biggest one remaining; I'd be willing to mark this as closed if we could get that working. I haven't had to time to dive into VoiceOver / Safari compatibility stuff though.


Different output when using headers application/json

Marathon API list tasks that are being deployed with header application/json:
curl -H 'Accept: application/json' http://localhost:8080/v2/tasks | grep -i task-being-deployed | wc -l
12

while same GET request without JSON header would not include those tasks
curl http://localhost:8080/v2/tasks | grep -i task-being-deployed | wc -l
0

In log the tasks appears as:
[2015-04-01 14:08:38,554] WARN App task-being-deployed.7fc25f41-fc76-40ee-a101-a0d241ac1f8f exists in TaskTracker, but not App store. The app was likely terminated. Will now expunge. (mesosphere.marathon.SchedulerActions:461)
[2015-04-01 14:08:38,554] INFO Killing task task-being-deployed.7fc25f41-fc76-40ee-a101-a0d241ac1f8f.8e566f4a-d36e-11e4-b4d6-cecf105f3510 (mesosphere.marathon.SchedulerActions:466)

Marathon 0.8.1

The default output for this endpoint (without defining content type) was text/plain. We changed it to json output. So it should work the same way.


Rewrite history or start over with a clean repo

Maybe it is an idea to rewrite the repositories history, because ~170mb for a repo is a lot of data for a working copy of ~20mb...
I did a test with git filter-branch and that resulted in a total repo size of ~25mb.
The command I did run:
git filter-branch  --force --index-filter 'git rm --cached --ignore-unmatch \
 media/perfect-timecoded.* \
 media/AirReview-Landmarks-02-ChasingCorporate.mp3 \
 media/echo-hereweare.webm \
 media/echo-hereweare.ogv \
 media/Thumbs.db \
 media/frameaccuracy_logo.jpg \
 media/Parades-PastLives.mp3 \
 media/echo-hereweare.m4v \
 media/grampa-laughing.flv \
 media/jsaddington.jpg \
 media/jsaddington.mp4\
 media/xbox.wmv' --prune-empty --tag-name-filter cat -- --all

Only the problem with this is that it changes commit id's, which can lead to unexpected results, so probably starting with a clean repo is a better solution.

@koenpunt Is this still an issue?

Yes it still is: (188.28 MiB)
$ time git clone https://github.com/johndyer/mediaelement/                                                                                Cloning into 'mediaelement'...
remote: Counting objects: 12779, done.
remote: Compressing objects: 100% (239/239), done.
remote: Total 12779 (delta 107), reused 0 (delta 0), pack-reused 12528
Receiving objects: 100% (12779/12779), 188.28 MiB | 4.28 MiB/s, done.
Resolving deltas: 100% (7222/7222), done.
Checking connectivity... done.
git clone https://github.com/johndyer/mediaelement/  3.21s user 4.33s system 13% cpu 54.878 total

Cloning with a depth of, for example, 100 is much more acceptable: (18.77 MiB)
$ time git clone https://github.com/johndyer/mediaelement/ mediaelement--depth 100
Cloning into 'mediaelement'...
remote: Counting objects: 2627, done.
remote: Compressing objects: 100% (1249/1249), done.
remote: Total 2627 (delta 1517), reused 2463 (delta 1376), pack-reused 0
Receiving objects: 100% (2627/2627), 18.77 MiB | 1.91 MiB/s, done.
Resolving deltas: 100% (1517/1517), done.
Checking connectivity... done.
git clone https://github.com/johndyer/mediaelement/ mediaelement--depth   0.56s user 0.63s system 8% cpu 13.750 total

But I still think that mediafiles should not be part of the repo.

@johndyer What are your thoughts about this?

Yes, I do think a rewrite would be helpful. I'd hate to blow up people's
work, but it would be nice to have a much smaller list of files in there.
I'm totally fine with removing all the files I originally used and
replacing them with smaller files.
It'd be great to have an mp4, webm, and mp3 file in there that were all
over 1 minute (so the controls function properly), but under 5mb total to
keep the repo really small. Any ideas on good samples?
On Tue, Sep 27, 2016 at 11:15 PM, Rafael Miranda<EMAIL_ADDRESS>wrote:

@johndyer https://github.com/johndyer What are your thoughts about this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/johndyer/mediaelement/issues/887#issuecomment-250067570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANE09PjpxNmBw0nNAreUZ4gtijdtcf6ks5quenRgaJpZM4AsfAc
.

--
John Dyer - http://j.hn/

I'd basically not put any media in the /media/ folder; just a README file that indicates that you need to download the media from  https://github.com/johndyer/mediaelement-files to make the demos and test to work

You could then make mediaelement-files a submodule. Although maybe that's not common practice

Not common and problematic in my experience

@johndyer are we doing then the rewrite for 3.0 version? And if so I'd recommend not to put any files at all to keep the repo small

@koenpunt The history has been rewritten; please test and let me know if it works for you

Where should I look? 3.x dev branch?

Yes

Please look at the 3.x-dev branch and let me know I used the method above and seemed faster to me but let's confirm

Can this issue be closed?

The 3.x branch is far more acceptable yes:
$ git clone https://github.com/johndyer/mediaelement -b 3.x-dev --single-branch
Cloning into 'mediaelement'...
remote: Counting objects: 16211, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 16211 (delta 0), reused 18 (delta 0), pack-reused 16189
Receiving objects: 100% (16211/16211), 42.13 MiB | 3.79 MiB/s, done.
Resolving deltas: 100% (10349/10349), done.

But I think this issue should be closed 3.x becomes master.

I think the safest path to take is to make 3.x the default branch, rename master to something like pre-3.x or '1.x-and-2.x`, so that tags referring to the commit can still be backtraced, and then rename 3.x to master.

And of course add a note in the readme about that.

The thing is that when you perform a rewrite you have to do it across all branches in a repo; meaning that right now master, 3.x-dev, etc, plus tags history was rewritten, because all of them had references to the removed files. So I don't know if the last part will be needed. And this is something only people that creates PR need to be aware of

Doesn't clone by default just only clone the default branch?

Or maybe I'm wrong there, as clone implies full copy.

Is your intent to update (force push) all the tags too?

If they get a clean clone no issues; if the users had a prior version they need to do a git rebase first. And yes the tags had to be updated as well since they carried as well references to those files; I tried not to but in the end everytime I pushed back the rewritten history there were references and didn't change the size of the repo. That's why even tags had to be updated

For more reference http://stevelorek.com/how-to-shrink-a-git-repository.html

3.0 version released. Closing issue


Add Vertical Video auto tag

It kills me that the config is in a py file instead of a json file
Anyway, this should be a good start. Next I'll work on trying to add the group composition tags (which may prove to be more trouble than its worth but I'm going to give it a shot anyway)

closing in favor of https://github.com/feederbox826/FansDB-SHALookup/commit/4e60e36e15ea94b8983a58010178c086e5eeda91 with native properties

I was trying to think of the least intrusive way to calculate the resolution... I didn't think about the fact that stash already has that info 🤦


Create quicksort1.cpp

please have a look

Which directory, can you help me out
On Sat, Oct 8, 2022, 02:18 Sunny Raj @.***> wrote:

@.**** requested changes on this pull request.
Please make your contribution in the correct directory.
—
Reply to this email directly, view it on GitHub
https://github.com/SR-Sunny-Raj/Hacktoberfest2022-for-everyone/pull/36#pullrequestreview-1135059905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXBVIWMQYK4NXG23DR2FGDLWCCEBPANCNFSM6AAAAAAQ7VILLY
.
You are receiving this because you authored the thread.Message ID:
<SR-Sunny-Raj/Hacktoberfest2022-for-everyone/pull/36/review/1135059905@
github.com>

Which directory, can you help me out
…
On Sat, Oct 8, 2022, 02:18 Sunny Raj @.> wrote: @.* requested changes on this pull request. Please make your contribution in the correct directory. — Reply to this email directly, view it on GitHub <#36 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXBVIWMQYK4NXG23DR2FGDLWCCEBPANCNFSM6AAAAAAQ7VILLY . You are receiving this because you authored the thread.Message ID: <SR-Sunny-Raj/Hacktoberfest2022-for-everyone/pull/36/review/1135059905@ github.com>

Move to Coders folder and then from there move to DSA Concepts folder and add your file there.


avoids image name error when pulling from non-default registery

when pulling from a non-default registery, you will have local image in full name include docker registery in it. But the whole pipeline works with DEFAULT behaviour when pulling from dockerhub that creates local image with image name only. This change, adds a tag to pulled local image with image_name only and avoids issue in continue.
Signed-off-by<EMAIL_ADDRESS>

Hi @mahdipub I'm struggling a bit to understand the description of this PR. Can you provide an example of what situation this is fixing? I just want to make sure this is clear before approving. We have some cider in first handling local images and I want to make sure this doesn't result in any conflicts :-)

Hi @mahdipub I'm struggling a bit to understand the description of this PR. Can you provide an example of what situation this is fixing? I just want to make sure this is clear before approving. We have some cider in first handling local images and I want to make sure this doesn't result in any conflicts :-)

@sxa Sure. Here is an example conf we set for an image which comes from local artifactory (not dockerhub):
https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/7098566e754a889b797b883e512303564cae1739/pipelines/jobs/configurations/jdk11u_pipeline_config.groovy#L124
### jdk11u_pipeline_config.groovy

     dockerImage: 'sys-rt-docker-local/semeru/s390_rhel7_build_image',
     dockerRegistry: 'https://docker-na.artifactory.swg-devops.com/',

When we pull image, if the registry is dockerhub, then local image name will be equal to dockerImage config entry. But when the registry is not dockerhub then, the image will be dockerRegistry + dockerImage. But the whole pipeline only refer dockerImage which works only when pulling from default registry. e.g here
This change tries to add a shortened tag equal to dockerImage to let other calls referring dockerImage to work without issue.


Docs: Update README.md

Fix invalid link
What type of PR is this?

docs
Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
Which issue(s) this PR fixes:

 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.


Break down checklist editor epic #1

Description of the issue
In order to understand how we can achieve the checklist editor #1 epic task, we need to assess the user story and requirements and break it down into a set of tasks that ultimately satisfy the goal of creating a reporoducible repository that acts as a schema store.
AI

[ ] Divide and determine the tasks, posting them here. Assess time
[ ] Create a ticket for each of the tasks

Task 1: Write documentation about goals, requirements and possible infrastructure of the repository

[ ] Write documentation about the repository that covers:

[ ] Description of the goal of the repository
[ ] Requirements
[ ] Brief diagram of a proposed infrastructure
[ ] Involved processes (e.g. Publication)

[ ] Ask for review

Task 2: Create template repository

[ ] Create template repository over basic infrastructure described above
[ ] Investigate how to set-up the processes (May need more tickets created, depending on how difficult setting each process is/How many need to be set-up)

Task 3: Assess using real examples

[ ] Define what a good example schema it is to clone
[ ] Assess all processes defined in previous task against schema
[ ] Write tests to ensure maintainability

Task 4: Write documentation

[ ] Write extensive documentation

[ ] Include goals, infrastructure, context
[ ] Aim for automatically-created documentation that can be adapted to derived repositories


Better Decloaking Check to Support Modding

Respawn hardcoded decloaking which messed up many things, this will make vanilla cloak to behave properly in any offhand slot and have a better support for modded cloak

missclicked approve instead of request changes i am going to kill myself now

just pretend i didnt approve


add: GakiArchives

Closes #114
@OshekharO since there is no cover and description in the video/detail page, i have commented it out.
but for description, i wanted to add the text from category/season name in the class = "far fa-folder", i'm confused on how to fetch it since it's not inside the block, i don't how to get it. if you please fix them for me. thanks.

 this is empty where is the information in it or any text?

Class li far fa-folder this is empty where is the information in it or any text?

view-source:gakiarchives.com/video/40
line 162:  Detectives (2015)

You want to capture this Detectives (2015)?

You want to capture this Detectives (2015)?

yes

Try this
.far.fa-folder > a and i.far.fa-folder > a
desc: desc.trim(),

Worked?

Try this
.far.fa-folder > a or i.far.fa-folder > a ( try both )
desc: desc.trim(),

no, both doesn't work.
also i just checked cover isn't working with the update.

Check logs for cover and send pic

it doesn't have any info for cover...

actually the regex works but doesn't display the cover in app.


Standardised ICD loading approach for OS X

I'm aware of the MoltenVK product from Brenwill Workshop, but I'm not a user of MoltenVK.
I think it looks like an excellent project that has a strong future on OS X, but I expect they face a struggle to get 3rd parties (game engines, other frameworks) to support their ICD as long as it isn't loaded by the standard loader.
Apple haven't indicated that they would like to support Vulkan, but if there is an ICD available (e.g., MoltenVK) that is considered standard (i.e., the standard loader finds it), it will back Vulkan as a usable graphics API on OS X.
I forked the Loader and Validation Layers repo and made enough changes to generate the project files for OS X and build with Xcode and Clang.
However, rather than me submitting a pull request with OS X changes for WSI and yet another mechanism for loading ICDs that will no doubt differ from the Linux and MoltenVK methods, I wanted to ask about gaining official support for loading ICDs on OS X.
Thank you,
Peter

The Vulkan driver situation for iOS and macOS is being monitored and so far, there are no plans to implement or adapt a loader for these platforms.


Improve Navbar- add buttons and effects in home page ui

Improve Navbar add hover in buttons and background color and shape. Resize pngs add in ui to make it more eyecathing.
improvement in overall ui of home page.
please assign me this issue i want to work on it. @tushargupta1504
GSSoC'24 Extd Contributer

specify color theme in docmentation


Redis Cache Premium: Backups

👋 hey!
An issue's been opened on the Terraform repository to add support for Backup Settings on a Premium Redis Cache instance.
Taking a quick look at the Redis SDK - I can't see it in either v8 or v9 (which appear to be using the same API version 2016-04-01) - would it be possible to add functionality for this in a future version?
Thanks :)

@TimLovellSmith,
Do you have any insights on whether or not the above is exposed via REST? We were looking at the Swagger and suspect that this is covered, but want you to verify.

Alright, I'm going to go ahead and assume that the Swagger mentioned above is accurate, and that is the mechanism for configuring Redis instances is exposed via our SDK here. Now that said, to my knowledge we've never tested this scenario where we have an object of type string in swagger.

To follow up, I'll try to create a Redis instances with some configuration passed through our SDK. If this fails for syntactic reasons, I'll have to reach out to other generators to see what they do. If it doesn't work anywhere, we can probably get away with changing the Swagger without it being a breaking change. (You can't break what never worked!)

@marstr @tombuildsstuff
It is intended to be possible via the 'redisConfiguration' property of the redis cache:
See the note on https://docs.microsoft.com/en-us/rest/api/redis/redis
"Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc."
Hope this helps!
Tim

Hey @TimLovellSmith / @marstr
Thanks for confirming that - at this point we're explicitly defining the keys in the redisConfiguration object - so I'll update this to include the missing values. As such I'll close this issue for the moment - and re-open it if there's any issues :)
Thanks! :)


Minimize deps

This PR disables the default features of the dependency object, which results in good gains in build time (debug: -2.622s; release: -3.676s) and binary size (debug: -4.6MB; release: -69.3kB) (see results below).
It also updates and upgrades the other dependencies.

# this pr
$ hyperfine -p 'cargo clean' 'cargo build' 'cargo build --release'
Benchmark #1: cargo build
  Time (mean ± σ):      6.959 s ±  0.216 s    [User: 38.446 s, System: 2.313 s]
  Range (min … max):    6.476 s …  7.200 s    10 runs

Benchmark #2: cargo build --release
  Time (mean ± σ):     12.412 s ±  0.209 s    [User: 102.318 s, System: 2.519 s]
  Range (min … max):   12.196 s … 12.907 s    10 runs

Summary
  'cargo build' ran
    1.78 ± 0.06 times faster than 'cargo build --release'

$ exa -lB target/debug/flip-link && exa -lB target/release/flip-link
.rwxr-xr-x@ 19,621,368 urhengulas 11 Apr 17:18 target/debug/flip-link
.rwxr-xr-x@ 4,460,304 urhengulas 11 Apr 17:18 target/release/flip-link

# main
$ hyperfine -p 'cargo clean' 'cargo build' 'cargo build --release'
Benchmark #1: cargo build
  Time (mean ± σ):      9.581 s ±  0.112 s    [User: 55.811 s, System: 3.263 s]
  Range (min … max):    9.355 s …  9.765 s    10 runs

Benchmark #2: cargo build --release
  Time (mean ± σ):     16.088 s ±  0.116 s    [User: 150.146 s, System: 3.622 s]
  Range (min … max):   15.909 s … 16.281 s    10 runs

Summary
  'cargo build' ran
    1.68 ± 0.02 times faster than 'cargo build --release'

$ exa -lB target/debug/flip-link && exa -lB target/release/flip-link
.rwxr-xr-x@ 24,227,272 urhengulas 11 Apr 17:18 target/debug/flip-link
.rwxr-xr-x@ 4,529,560 urhengulas 11 Apr 17:18 target/release/flip-link

bors r+


STATUS LINE

Do iceberg.vim provides us a statusline? if so, How can I enable it?

In general, colorscheme plugins and statusline plugins are different. You have to use another plugin like this:

https://github.com/itchyny/lightline.vim
https://github.com/vim-airline/vim-airline

Iceberg has special themes for them. See the document of these plugins for the detail.


Self built image doesn't work

I tried to build the image myself, which itself was sucessful. But the container is failing on startup.
Context
I checked if I'm able to use a self build image with the code of release v6.2.0 (to test changes I made in https://github.com/tomav/docker-mailserver/pull/1284)
Expected Behavior
Mailserver should start and run. There should be no errors/warnings. This is the current behavior when I use the precompiled image tvial/docker-mailserver:release-v6.2.0 in my environment.
Actual Behavior
Mailserver crashes while starting. Log:
2019-10-07 21:44:24,150 CRIT Supervisor running as root (no user in config file)
2019-10-07 21:44:24,151 INFO Included extra file "/etc/supervisor/conf.d/saslauth.conf" during parsing
2019-10-07 21:44:24,151 INFO Included extra file "/etc/supervisor/conf.d/supervisor-app.conf" during parsing
2019-10-07 21:44:24,159 INFO RPC interface 'supervisor' initialized
2019-10-07 21:44:24,159 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2019-10-07 21:44:24,160 INFO supervisord started with pid 1
2019-10-07 21:44:25,163 INFO spawned: 'mailserver' with pid 8
supervisor: couldn't exec /usr/local/bin/start-mailserver.sh: ENOENT
supervisor: child process was not spawned
2019-10-07 21:44:25,170 INFO success: mailserver entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-10-07 21:44:25,170 INFO exited: mailserver (exit status 127; not expected)
Possible Fix

Use precompiled images.
Steps to Reproduce

Have an environment which works with tvial/docker-mailserver:release-v6.2.0
Clone https://github.com/tomav/docker-mailserver.git
Reset current branch (hard) to commit https://github.com/tomav/docker-mailserver/commit/0d1e716f3670062332ffc44770927d9921a309e1 (tagged "v6.2.0")
Build the image
Use the freshly built image instead of tvial/docker-mailserver:release-v6.2.0

Your Environment

Amount of RAM available: 16GB
Mailserver version used: v6.2.0
Docker version used: 19.03.2, build 6a30dfc
Environment settings relevant to the config: I can add more details if the problem is not reproducable
Any relevant stack traces ("Full trace" preferred): for build-log see docker-mailserver-build.log

I'm using docker-compose. I just replaced the following line of docker-compose.yml
    image: tvial/docker-mailserver:release-v6.2.0
with following two lines:
    image: undercover1989/docker-mailserver:testing
    build: ./mail/build/docker-mailserver
The content of ./mail/build/docker-mailserver is the complete content from commit https://github.com/tomav/docker-mailserver/commit/0d1e716f3670062332ffc44770927d9921a309e1

See https://github.com/tomav/docker-mailserver/blob/master/CONTRIBUTING.md
Run git submodule init and git submodule update to get the BATS submodules
I was missing that part, sorry. I will try it again.

Works like a charm


chore: Promote unstable to rc

Promote unstable to rc, created by dt release promote
DO NOT MERGE

Releasing to rc so any users of stencil-base will get the version fixes.


Maintainer's guide, et. all

What does this do / why do we need it?
This adds a maintainer's guide to CONTRIBUTING.md, and templates for issues and PRs.
cc @ibrasho @darkowlzz @carolynvs 😄
What should your reviewer look out for in this PR?
Typos, things that don't make sense, wordiness, etc. in the guide.
Which issue(s) does this PR fix?
Helps with #629, but doesn't quite fix it.

LGTM 👍
As we are discussing how we would be maintaining dep well with multiple maintainers, how about using some tools to help us in doing so.
I came across zappr. It offers a bunch of tools to help maintainers. Among them, I like Approval check, Pull request labels check and Pull request tasks check.
Maybe we can look into it in the future, but I feel such tools, especially approval check, would help us in avoiding manually looking for approval comments and sometimes, even making mistakes.
Thoughts?

If zappr does what it claims, then I'm definitely 👍 . Commit message rules and approval enforcement would both be beneficial.


Missing underscore in docs link reference

Without that underscore, the link is broken, see https://django-import-export.readthedocs.io/en/latest/installation.html

Coverage remained the same at 96.134% when pulling 65386c72745fe857c17151734d22a3b25e8c363e on claudep:missing_uscore into d84d3a079d35103f12de4078f60c17b649c693d2 on django-import-export:master.

Coverage remained the same at 96.134% when pulling 65386c72745fe857c17151734d22a3b25e8c363e on claudep:missing_uscore into d84d3a079d35103f12de4078f60c17b649c693d2 on django-import-export:master.


Change membership type date

@rjmk this took a lot of figuring out although in the end it was simple. Do you think this is a good way to do this?

@rjmk I have had quite a bit of trouble figuring this out. This is not ready to merge but I have assigned you to get your thoughts.

Did you consider doing this on the frontend, in the way that deletion date is currently done?


Mark inform function as unsafe

https://github.com/rustwasm/wasm-bindgen/blob/153a6aa9c7a989c1865df7f93b2ddbca1113a175/src/describe.rs#L52-L54
Hello, in the above test case, the function has a 'function not implemented on non-wasm32 targets'.
let _ = inform(10);

thread 'main' panicked at 'function not implemented on non-wasm32 targets'
This function should be marked as unsafe, if a function's entire body is unsafe, the function is itself unsafe and should be marked appropriately

This isn't what unsafe is intended for in Rust. Panicking isn't considered unsafe.
Most of the crate functions will panic on non-Wasm targets.
See https://doc.rust-lang.org/reference/unsafety.html.


手动触发将会泄露手机号和密码 / Manually triggering workflow will reveal your phone number and password

手动触发Workflow将导致您的手机号和密码被打印在日志中，请注意保护个人信息安全。
Manually triggering Workflow will make your mobile phone number and password being print to the log, please pay attention to protect your personal information.

分支patch1提交，修复手工执行回显问题


Failed to set catppuccin flavor Symbol's function definition is void: catppuccin-reload

My init.el looks like this
(load-theme 'catppuccin t )
(setq catppuccin-flavor 'latte)
(catppuccin-reload)

The following error appears after reloading config: Symbol's function definition is void: catppuccin-reload
If catppuccin-reload is omitted the theme loads but with default flavor.

Which version of emacs are you using?

GNU Emacs 29.1 (build 2, x86_64-w64-mingw32)
Executing the config below doesn't work either
(load-theme 'catppuccin t )
(setq catppuccin-flavor 'latte)
(disable-theme 'catppuccin)
(load-theme 'catppuccin t)

Oh dear, I'll have to look into this. Are you able to enable the theme at all?

Oh dear, I'll have to look into this. Are you able to enable the theme at all?

Yes, theme gets enable, just not possible to switch flavor.

Facing same issue, but am able to switch to latte by calling catppuccin-load-flavor interactively.
running doom on emacs 29.1.

emacs 29.1, facing the same issue. using
(use-package catppuccin-theme
  :ensure t
  :demand
  :config
  (load-theme 'catppuccin t)
  (catppuccin-load-flavor 'macchiato))

gives me the default theme, but throws the following error:
Error (use-package): catppuccin-theme/:config: Symbol’s function definition is void: catppuccin-load-flavor

It looks like none of the catppuccin-* functions can be called interactively as well

I'm relatively new to the emacs ecosystem and I'm not sure if it's relevant, but the downloaded catppuccin-theme-pkg.el file references a commit from Oct 2022:
(define-package "catppuccin-theme" "0.1.0" "Catppuccin Theme"
  '((emacs "25.1"))
  :commit "f36765cbbd4129aabb22250a87e90a1387bd5dc7" :authors
  '(("pspiagicw"))
  :maintainers
  '(("pspiagicw" . "pspiagicw@gmail.com"))
  :maintainer
  '("pspiagicw"<EMAIL_ADDRESS>  :url "https://github.com/catppuccin/emacs")
;; Local Variables:
;; no-byte-compile: t
;; End:

For anyone reading this in the future: my issue was installing the package from melpa-stable rather than melpa, which resulted in the outdated package. after reinstalling from melpa everything worked.

For anyone reading this in the future: my issue was installing the package from melpa-stable rather than melpa, which resulted in the outdated package. after reinstalling from melpa everything worked.

may I please know how did you switch the package from melpa-stable to melpa using elpaca?

For anyone reading this in the future: my issue was installing the package from melpa-stable rather than melpa, which resulted in the outdated package. after reinstalling from melpa everything worked.

may I please know how did you switch the package from melpa-stable to melpa using elpaca?

not sure how to do it with elpaca, I'm using use-package. For that I've just added this to the front of my init.el:
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)

For anyone reading this in the future: my issue was installing the package from melpa-stable rather than melpa, which resulted in the outdated package. after reinstalling from melpa everything worked.

Ah nice, Thank you for explaining what went wrong <3


Downloads of UMAP plot

When I hit the button for the download of the UMAP, I don't get a PNG or other image-file type, but rather downloadumapplot.html as a file.
My system:
macOS Monterey, 12.2 (21D49)
Safari 15.3 (176<IP_ADDRESS>.5)

sorry about that, working on it now.

this has been fixed in the latest release. please reopen if yall still find any trouble!


Gw management

Screenshots:
Overview of gateways with activity chart

Gateway details:

Create / update gateway (with map to pick location when the gateway does not have a gps):

Todo:

[x] UI components
[x] Update / release new LoRa Server version (with gateway api) (see  #https://github.com/brocaar/loraserver/pull/143)
[x] expose gateway api through LoRa App Server (work in progress)
[x] Implement gateway api in UI

Hi!
I installed the last version published using the repos and I found that the webUI  is not reporting any statistics.
What could I check to make them work?
Thanks in advance!

What kind of gateway do you have? Did you check that the gateway is actually sending stats? See https://docs.loraserver.io/lora-gateway-bridge/topics/#gatewaymacstats


Reorganize "low level" tests into separate modules

These tests have been separated into three different modules in order to make things easier to maintain: tests for the underlying file format, tests for array blocks, and tests for higher-level API features.

Coverage increased (+0.007%) to 94.774% when pulling 443acaa988c154153cb027d9a28f6927dec3885c on drdavella:reorganize-tests into cfa6a039d2e8c5dc93f2fd52e7d0faa9c7b16d51 on spacetelescope:master.


Awesome-rust-mentors

Hi @bytesnake @quietlychris
I saw your project on awesome-rust-mentors, and I'd like to be a mentee.
I didn't find much information on this, so I don't know how this works.
A brief bio about myself:
I'm PhD candidate in economics, close to get a Master degree in Mathematics. Had some experience ML, in mainly in DL.
Best

Hey, awesome to hear about your interest in linfa! I think we should discuss the details in zulip and not here, but I'll just write some infos about the mentorship. Because of your background I'll assume that you already know what you want to implement or what you are interested in? If not take a look at the Roadmap to get some inspirations. The role of a mentor is to enable you to achieve your goal and find your way around in the community. You are the first mentee I'll have so it's new for me as well :smile: here a short list how I think it can work smoothly:

find a topic. If you are more interested in the language details, I would propose Least-Angle-Regression, because it's super simply, but useful for feature selection
create a dummy PR with a TODO list, so that we have an avenue for the mentorship. List all items, also some more trivial like: read paper/learn something about ndarray/basic functionality/extended functionality/etc.
read the paper and probably auxililiary resources. For simple questions, just write me a message on zulip. We can also do a short 1-to-1 meeting if you wish.
I will give feedback on code and advise resources for learning
(optional) write a blog post about what you've learned/algorithm and we'll post it on the website

The timing is bad though, I'll be afk for a week until 07. April because of eastern. So you'll have plenty of time to decide on a topic.


Couldn't build proto file into descriptor pool

Description of the bug:
I encounter the error "TypeError: Couldn't build proto file into descriptor pool: duplicate symbol "'google.ai.generativelanguage.v1beta.firstlineno'", when trying to import this module.
Actual vs expected behavior:
The module should import correctly and work as in the Quickstart guide.
Any other information you'd like to share?
I am using PyCharm and the module installed is google-generativeai.

Hi @shirsakm
I tried to reproduce the code in the PyCharm environment, and the basic Quickstart guide is functioning correctly. Would you like to try reinstalling or upgrading the google-generativeai package?
Thanks

I was able to fix the issue by downgrading from Python 3.13 to 3.12.

Same here, happened on py3.13, not happened in py3.12
Traceback (most recent call last):
<module>
    import google.generativeai
  File ".venv\Lib\site-packages\google\generativeai\__init__.py", line 45, in <module>
    from google.generativeai import caching
  File ".venv\Lib\site-packages\google\generativeai\caching.py", line 21, in <module>
    from google.generativeai import protos
  File ".venv\Lib\site-packages\google\generativeai\protos.py", line 74, in <module>
    from google.ai.generativelanguage_v1beta.types import *
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\__init__.py", line 21, in <module>
    from .services.cache_service import CacheServiceAsyncClient, CacheServiceClient
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\services\cache_service\__init__.py", line 16, in <module>
    from .async_client import CacheServiceAsyncClient
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\services\cache_service\async_client.py", line 50, in <module>
    from google.ai.generativelanguage_v1beta.services.cache_service import pagers
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\services\cache_service\pagers.py", line 41, in <module>
    from google.ai.generativelanguage_v1beta.types import cache_service, cached_content
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\types\__init__.py", line 47, in <module>
    from .discuss_service import (
    ...<7 lines>...
    )
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\types\discuss_service.py", line 22, in <module>
    from google.ai.generativelanguage_v1beta.types import citation, safety
  File ".venv\Lib\site-packages\google\ai\generativelanguage_v1beta\types\safety.py", line 224, in <module>
    class SafetySetting(proto.Message):
    ...<48 lines>...
        )
  File ".venv\Lib\site-packages\proto\message.py", line 279, in __new__
    file_info.generate_file_pb(new_class=cls, fallback_salt=full_name)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv\Lib\site-packages\proto\_file_info.py", line 104, in generate_file_pb
    pool.Add(self.descriptor)
    ~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: Couldn't build proto file into descriptor pool: duplicate symbol 'google.ai.generativelanguage.v1beta.__firstlineno__'

Running into the same issue on python 3.13

And I just got 3.13 installed... Oh well, back to 3.12.7 it is.


Service locking

The size of the application I'm writing for my blend micro is starting to bump up against the limits of what it can store.  I was thinking about it, and wondered if writing the config for my BLE service and characteristics to the nRF8001's OTP config would allow me to remove the BLE service setup code from the project and free up some space.  Which actually first requires asking if you had any plans to add that sort of service locking to this library?  Since its based in part of reverse engineering, I wasn't sure if the commands for doing such a thing were even known.

@bettse I'm starting to run into code size limits as well, while working on adding unauthenticated security.(this is a fairly ambitious Arduino library).
I wasn't planning to add OTP, but it should be pretty straight forward, the diff is pretty much
-            0x06,0x06,0xf0,0x00,0x03,0x15,0x39,\
+            0x06,0x06,0xf0,0x00,0x83,0x84,0xb1,\

So in nRF8001.cpp - send CRC:
data.buffer[4] = 0x03;

needs to be changed to:
data.buffer[4] = 0x83;

The other change is not to send run/calculate setup messages, but still calculate the pipe numbers.
We'll need to experiment if splitting the setup message part to a new method and not calling in in OTP mode will actually result in code savings.
Also, this is pretty dangerous for the average Arduino user, if you get it wrong, you can't change the OTP (you can still send memory resident setup data on power up). We'll have to provide some action the user needs to take, for example Nordic's generated services_lock.h requires you to remove a #error.
I'm leaning towards looking into reduce code size another way first, maybe there is stuff in the utilities folder (imported from the Nordic nRF8001 SDK) that can be removed or reworked? Also, reworking other parts of the library, or pre-calculating all setup messages at build time ... thoughts?

Yeah, certainly a dangerous thing that should require non-trivial confirmation by the developer to execute.  If there are code savings that could be made without that, it seems like that would be the safer path.
Its nice to know that, if it comes to it, the changes for using the OTP are already known.


pufferpanel: fix build on i686-linux

Description of changes
This change adds a patch to bump github.com/pjbgf/sha1cd Go module dependency of the pufferpanel package to the version that builds for i686-linux system.
ZHF: #230712
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg test pufferpanel

Hm, it doesn't build on i686-linux for me:
error: builder for '/nix/store/87mc3hzpz63jjdgzqm3r7xniblam80yh-pufferpanel-2.6.6.drv' failed with exit code 1;
       last 25 log lines:
       > go: downloading github.com/golang-sql/sqlexp v0.1.0
       > go: downloading github.com/jackc/chunkreader/v2 v2.0.1
       > go: downloading github.com/jackc/pgpassfile v1.0.0
       > go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
       > go: downloading github.com/mattn/go-colorable v0.1.13
       > go: downloading github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4
       > go: downloading github.com/imdario/mergo v0.3.13
       > go: downloading github.com/sergi/go-diff v1.1.0
       > go: downloading github.com/kevinburke/ssh_config v1.2.0
       > go: downloading github.com/skeema/knownhosts v1.1.0
       > go: downloading github.com/xanzy/ssh-agent v0.3.2
       > go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
       > go: downloading github.com/emirpasic/gods v1.18.1
       > go: downloading github.com/tklauser/numcpus v0.6.0
       > go: downloading github.com/pjbgf/sha1cd v0.2.0
       > go: downloading github.com/go-git/gcfg v1.5.0
       > go: downloading gopkg.in/warnings.v0 v0.1.2
       > go: downloading github.com/go-openapi/swag v0.22.3
       > go: downloading github.com/go-openapi/jsonpointer v0.19.5
       > go: downloading github.com/go-openapi/jsonreference v0.20.0
       > go: downloading github.com/cloudflare/circl v1.1.0
       > go: downloading github.com/mailru/easyjson v0.7.7
       > go: downloading github.com/josharian/intern v1.0.0
       > # github.com/pjbgf/sha1cd/cgo
       > ../go/pkg/mod/github.com/pjbgf/sha1cd@v0.2.0/cgo/sha1_nix.go:19:31: cannot use (_Ctype_ulong)(len(p)) (value of type _Ctype_ulong) as _Ctype_uint value in variable declaration
       For full logs, run 'nix log /nix/store/87mc3hzpz63jjdgzqm3r7xniblam80yh-pufferpanel-2.6.6.drv'.
error: 1 dependencies of derivation '/nix/store/xgxm801spgfag6wz8gd18br6sslyxqyk-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fvq1jkwxn4kr48hljvcailzzl7n1nynx-unit-script-pufferpanel-start.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3fzn5xrngqaph8vg9dypc3vl87dbyqym-nixos-system-machine-23.05pre-git.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h5640dcy7y77h4dmgz7j8zc03vxfbcy2-nixos-vm.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9vbfvjihzx5wlgv11kyg2rj039p4qrjk-nixos-test-driver-pufferpanel.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pkrvxy0dr8kp5xar88fanr37cijvf4cy-vm-test-run-pufferpanel.drv' failed to build

[ckie@build01:~/nixpkgs]$ nix-build . -A nixosTests.pufferpanel --system i686-linux


heron submit: error: unrecognized arguments: ExclamationTopology

I have installed heron in the mac and try to following the tutorial https://twitter.github.io/heron/docs/getting-started/ , but I am getting this error:
$ heron submit local ~/.heron/examples/heron-examples.jar com.twitter.heron.examples.ExclamationTopology ExclamationTopology --deploy-deactivated
usage: heron submit [options] cluster/[role]/[env] topology-file-name topology-class-name [topology-args]
heron submit: error: unrecognized arguments: ExclamationTopology

$ heron version
heron.build.version : '0.14.6'
heron.build.time : Thu Mar 9 23:28:03 PST 2017
heron.build.timestamp :<PHONE_NUMBER>000
heron.build.host : tw-mbp-kramasamy
heron.build.user : kramasamy
heron.build.git.revision : 5da5be68af918438811f903bde208577db6e3517
heron.build.git.status : Clean

Could someone please take a look?

@pingzh If you are following the tutorial, you should have downloaded heron-client-install-0.14.7-darwin.sh. Why heron version is still at 0.14.6?
Anyway, I installed this script on my machine and your command works for me.

Thanks for replying.
hmm, 0.14.7 was just released. I have uninstalled the old one and reinstalled 0.14.7. It still does not work :( and got the same error.
btw, there is no
`heron-tools-install-0.14.7-darwin.sh``` in the download page.

@pingzh
Can you run again with --verbose?
Also, heron-tools-install-0.14.7-darwin.sh is available now.

@objmagic thanks. I have installed heron-tools-install-0.14.7-darwin.sh and here is the output:
~/Desktop
$  heron submit local ~/.heron/examples/heron-examples.jar com.twitter.heron.examples.ExclamationTopology ExclamationTopology --deploy-deactivated --verbose
usage: heron submit [options] cluster/[role]/[env] topology-file-name topology-class-name [topology-args]
heron submit: error: unrecognized arguments: ExclamationTopology
~/Desktop
$

@pingzh what is heron version? Is it 0.14.7 now?

yep
$ heron version
heron.build.version : '0.14.7'
heron.build.time : Thu Apr 27 14:50:04 PDT 2017
heron.build.timestamp :<PHONE_NUMBER>000
heron.build.host : tw-172-24-220-90.office.twttr.net
heron.build.user : mobile
heron.build.git.revision : 052dd4d25d3c64a73d8751d346a4dad7ccdab2b2
heron.build.git.status : Modified

I cannot reproduce so I cannot answer your question.

@objmagic, still, thanks for your help.

cannot reproduce so close for now


React

Update frontend to use React instead of Handlebars

hey i am Ankish Khandelwal i am beginner to open source and want to start my open source journey . i am well aware with reatjs and can make good frontend .  can u please suggest how to get started with ??
and can you plz assign this to me ??


1069868 redesign sidebar topbar

UI Design fixed top bar
Added scroll padding top for scrolling page
added smooth scrool
Re-design side bar
Styling on boarder left on click and hovering
Design page layout

Can you add some screenshots to the PR? Thanks!


bug: LSP doesn't check types in Storage

Bug Report
I'm using latest scarb and cairo:
scarb 0.6.2 (c07fa6155 2023-08-15)
cairo: 2.1.1 (https://crates.io/crates/cairo-lang-compiler/2.1.1)

Also using LSP shipped with scarb(which is also the latest version provided by scarb).
Current behavior:
When there are some unimported/wrongly named types in Storage used, the LSP does not report that, and pretends it's all alright even if we then use those storage vars in different module. This is problem because if we then try to build the contract it prints tens of errors which are hard debug and determine where they stem from. It might be simple on small contract, but when it contains several files and folders, it might prove quite difficult.
Expected behavior:
LSP Should report that the type is missing/unknown.
Example code:
#[starknet::contract]
mod BugContract {

    // type my_felt = felt252;
    // type my_u256 = u256;

    #[storage]
    struct Storage {
        some_calculations_results: LegacyMap<(my_felt, some_completely_random_type), my_u256>
    }
}

Note the commented type aliases(if they are uncommented, then there is no problem).
First of all, with cairo-compile, the error is only one - but it points to LegacyMap:
error: Type not found.
 --> contract.cairo:9:36
        some_calculations_results: LegacyMap<(my_felt, some_completely_random_type), my_u256>
                                   ^*******^

Instead of the unknown types.
With scarb on the other hand it not only prints tens of errors, but some of them might seem kinda cryptic for some newcomer and if the project is large, it is almost impossible to determine what is going:
error: Candidate impl core::starknet::SyscallResultTraitImpl::<?0> has an unused generic parameter.
 --> contract:69:19
                ).unwrap_syscall()
                  ^************^

Other information:
 ->  cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"

Also here is picture of the code, where LSP clearly doesn't report any bug:

The missing diags in the LSP are an issue - we are looking into it.
About the cairo-compile call - do note that it runs without the starknet plugin - so all the attributes are ignored, and the LegacyMap is indeed note known at all.
starknet-compile is the equivalent you were actually looking for there.

Yes, sorry. Tried with starknet-compile and it results in the same errors as scarb build

Errors are now optionally deduped and Map types are real types - getting proper diags.


[Question] Document/examples to enable draft model speculative decoding using c++ executor API

Hi,
I am interested to use a draft model as speculative decoding, and the only example I found is: https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/draft_target_model
We use tensorRT LLM (c++ runtime) with the python executor interface: https://github.com/NVIDIA/TensorRT-LLM/blob/main/cpp/tensorrt_llm/pybind/bindings.cpp, can anyone provide instructions regarding how to support draft model speculative decoding on top of that?
If I understand it correctly,  we have to implement the logic to generate draft tokens for each iteration ourselves and then pass them to the target model executor? Is there a way to have an executor API to do the work for us? Thanks!

That's correct, you can find an example using ExternalDraftTokensConfig in https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/runtime/model_runner_cpp.py#L628
An example using the C++ executor API will be provided next update.

See https://github.com/NVIDIA/TensorRT-LLM/blob/main/examples/cpp/executor/executorExampleFastLogits.cpp


AWS STAG: Registry bucket name misconfigured

When deploying ops stack with new CI/CD pipeline on aws stag, the registry get the wrong bucket name REGISTRY_STORAGE_S3_BUCKET: registry.osparc-staging.io.
The correct value for REGISTRY_STORAGE_S3_BUCKET is registry.staging.osparc.io

I have fixed this in https://github.com/ITISFoundation/osparc-ops-environments/commit/5829416337535ff83c99191f76b493644281c048