How to fix this error:

How to fix this error:
An error occurred when I used Bittrex commands
/trex_btc_balance - bittrex account summar
Please help me fix this!

2017-10-17 15:41:55.330 +07:00 [Error] Woops. System.Exception: Request failed: INVALID_MARKET
at BittrexSharp.Bittrex.d__13.MoveNext() in C:\projects\telecoinigy\BittrexSharp\Bittrex.cs:line 83
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at BittrexSharp.Bittrex.d__24.MoveNext() in C:\projects\telecoinigy\BittrexSharp\Bittrex.cs:line 246
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.Services.Exchanges.BittrexService.d__10.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Exchanges\BittrexService.cs:line 168
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.Services.Exchanges.BittrexService.d__5.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Exchanges\BittrexService.cs:line 56
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.EventBus.Handlers.Bittrex.BittrexBalanceCheckHandler.d__4.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\EventBus\Handlers\Bittrex\BittrexBalanceCheckHandler.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Enexure.MicroBus.EventHandlerShim2.<Handle>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Enexure.MicroBus.PipelineRunBuilder.<RunTasks>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Enexure.MicroBus.PipelineRunBuilder.<RunHandlers>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Enexure.MicroBus.PipelineRunBuilder.<>c__DisplayClass7_0.<<BuildNextHandler>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Enexure.MicroBus.MicroBus.<RunPipelineAsync>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.Services.Telegram.TelegramMessageSendingService.<BittrexBalance>d__3.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageSendingService.cs:line 29 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.Services.Telegram.TelegramMessageRecieveService.<CheckMessage>d__12.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageRecieveService.cs:line 121 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.Services.Telegram.TelegramMessageRecieveService.<BotOnMessageReceivedAsync>d__10.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageRecieveService.cs:line 83 2017-10-17 15:41:55.629 +07:00 [Information] Send Message: Could not process your command. Check your logs 2017-10-17 15:43:10.180 +07:00 [Information] 24 Hour pnl difference for bittrex 2017-10-17 15:43:11.953 +07:00 [Error] Woops. System.Exception: Request failed: INVALID_MARKET    at BittrexSharp.Bittrex.<request>d__13.MoveNext() in C:\projects\telecoinigy\BittrexSharp\Bittrex.cs:line 83 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at BittrexSharp.Bittrex.<GetTicker>d__24.MoveNext() in C:\projects\telecoinigy\BittrexSharp\Bittrex.cs:line 246 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.Services.Exchanges.BittrexService.<GetPrice>d__10.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Exchanges\BittrexService.cs:line 168 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.Services.Exchanges.BittrexService.<GetBalance>d__5.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Exchanges\BittrexService.cs:line 56 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at CryptoGramBot.EventBus.Handlers.Bittrex.BittrexBalanceCheckHandler.<Handle>d__4.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\EventBus\Handlers\Bittrex\BittrexBalanceCheckHandler.cs:line 32 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Enexure.MicroBus.EventHandlerShim2.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Enexure.MicroBus.PipelineRunBuilder.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Enexure.MicroBus.PipelineRunBuilder.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Enexure.MicroBus.PipelineRunBuilder.<>c__DisplayClass7_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Enexure.MicroBus.MicroBus.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.Services.Telegram.TelegramMessageSendingService.d__3.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageSendingService.cs:line 29
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.Services.Telegram.TelegramMessageRecieveService.d__12.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageRecieveService.cs:line 121
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CryptoGramBot.Services.Telegram.TelegramMessageRecieveService.d__10.MoveNext() in C:\projects\telecoinigy\CryptoGramBot\Services\Telegram\TelegramMessageRecieveService.cs:line 83
2017-10-17 15:43:12.243 +07:00 [Information] Send Message:
Could not process your command. Check your logs

This seems to be an issue with having a balance in a coin that has been delisted.
I've added a fix for this in the latest version.


Learnings from integration

A couple things I learned while integrating this:

We want states to be logged under their own name, so they show up in the transition graph
We want a rider to be attached to events that allows some (common) states to not be logged at all
That rider should allow allow people to attach custom variables to the events

Coverage decreased (-2.1%) to 97.872% when pulling 8eada901685b672dca23da4378914262a5e85a09 on learnings-from-integration into 1b54e90c2ddb26ccb4f0db94364925d2421cbbe0 on master.

@heneryville I see your commen:
That rider should allow people to attach custom variables to the events
Can you add this feature to the sample project inside sample/starterKit?

Coverage decreased (-2.1%) to 97.872% when pulling e941c48f48cf52401044830eb89e4f55ee88f963 on learnings-from-integration into 1b54e90c2ddb26ccb4f0db94364925d2421cbbe0 on master.

Coverage decreased (-2.1%) to 97.872% when pulling 3697e10e16bc5d4ae75589493953c2b5959e3e86 on learnings-from-integration into 1b54e90c2ddb26ccb4f0db94364925d2421cbbe0 on master.

Coverage remained the same at 100.0% when pulling 2264126b9dee8cdfcc7314ef2b6421e858a58246 on learnings-from-integration into 1b54e90c2ddb26ccb4f0db94364925d2421cbbe0 on master.


Add a go-releaser config.

@dlorenc The #194 took care of the goreleaser config.

Closing as not applicable anymore.


Decide what to do with Analytics of seller dashboard

The analytics section on the seller dashboard is flashing and is empty, we might need to think about what to do with it.

not planning anything at the moment. #272 let's users know. closing this


Use existing star import instead of adding new import

VSCode Version: Code - Insiders 1.18.0-insider (81cca6cc606eeca3443998025bff3893fcfe3ad5, 2017-10-31T06:24:27.011Z)
OS Version: Linux x64 3.13.0-108-generic
Extensions: none

Testing #37177
Steps to Reproduce:

Use a global completion when a star import is already in the file:

import * as b from "./bar";

foo|

Result:

import * as b from "./bar";
import { foo } from "./bar";

foo|

It would make sense to reuse the existing import.

This issue was moved to Microsoft/TypeScript#19628


Make evaluation work with continuous logs analysis

Per #84 and #139 we want to continuously process and ingest logs.
How do we update evaluation to work with this? There's a couple key questions

Where is the Analyzer actually running?
How does the evaluator know when the logs have been processed and can run steps that require them?

The Analyzer needs to access the pebble databases. The pebble databases can't be multi-process. So if evaluation is reusing logs/databases used by the active instance of Foyle then the evaluation binary can't run its own Analyzer.
I think it makese sense to give each experiment its own set of logs and DBs so we don't pollute the logs/DBs of the production instance.
The experiment process could then run its own Analyzer.


How to use the blocklist with transmission-cli

Hi.
Thank you very much for your work here.
Your blockilist is a simple ziped textfile, wich is nice, cause I prefer text files over everything else.
However, when I use it with transmission-qt or gtk, these programs create a binary of it.
~/.config/transmission/blocklists/blocklist.bin
Is there any way I can convert your list to such working binary?
I would like to use the cli program only.

Not sure if it works, but you can try rename the blocklist text file to blocklist.bin.

@Naunter
Hi.
Yeah I can do that, but how do I know that it works?

Add the blacklist inside your settings.json
"blocklist-url": "https://github.com/Naunter/BT_BlockLists/raw/master/bt_blocklists.gz",

set the URL in transmission and do transmission-remote --blocklist-update

@Naunter Hi. Yeah I can do that, but how do I know that it works?

Sorry, I don't use the CLI version, but you can try command journalctl -u transmission or journalctl -e | grep --color -i transmission to find hints


protocols: Add more control over gathering additional information

Adds GatherToggle which allows choosing the behaviour for how the query
handles fetching additional information. The choices are:

DontGather - Don't attempt to fetch information
AttemptGather - Try to fetch the information but ignore errors
Required - Try to fetch information and fail if it errors

A handy macro was also added to utils to dispatch additional queries
based on a GatherToggle value, this could also be a method on GatherToggle but I thought that was less ergonomic.

Other than the enum mentioned, LGTM


MAINT: Factors-out asset db schema

This (now-misnamed) branch moves the asset db schema to its own module for clarity and ease of modification. There should be no functional changes.

@jdricklefs Mind looking at this PR? This is just a simple move, now that we may not be adding full alembic support in Zipline.

Looks fine to me but you may want to wait to merge until you get all that other internal machinery ready.


npm run docs does not work out of the box after cloning this project

After cloning this project to my local machine and running
npm i && npm run docs
I got the following error
node:internal/fs/utils:344
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'docs/antora.yml'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at /home/swtrse/solidity-docgen/node_modules/openzeppelin-docs-utils/oz-docs.js:71:62
    at Array.map (<anonymous>)
    at makePlaybook (/home/swtrse/solidity-docgen/node_modules/openzeppelin-docs-utils/oz-docs.js:71:36)
    at Object.<anonymous> (/home/swtrse/solidity-docgen/node_modules/openzeppelin-docs-utils/oz-docs.js:42:20)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: 'docs/antora.yml'
}

Docs for this project are not set up yet.

thx for the clarification


Articles: Article Details

The details view of each article displays the entire contents of the respective article.
Author, headline, date and article text can be found beneath the article photo - a classic readable article page. The article text can contain clickable links and displays common text editor formatting.

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2595-11155&t=b8swD5IOAFfZ0OSo-1&starting-point-node-id=2425%3A17429

@maxpfe pls link new Issue here regarding Article in Aktuelles

@leagerndt pls provide any new screenshots if necessary and check user-flow


cmake: use PROJECT_{SOURCE,BINARY}DIR instead of CMAKE{SOURCE,BINAR…

…Y}_DIR
CMAKE_SOURCE_DIR refer to the full path to the top level of the current
CMake source tree
PROJECT_SOURCE_DIR refer to the source directory of the last call to the
project() command made in the current directory scope or one of its parents
when ninja is use as a subproject, the build fail because of this.

Thanks!


fix simple-xpath-position dependency error

move simple-xpath-position from devDependencies to dependencies

Coverage remained the same at 100.0% when pulling 9fb26667b57238a8da076f5b8546842d292478b4 on weihanglo:master into 9bf3b82a649bd0585b2c9c206c8a0a287f0a98c3 on openannotation:master.

Thanks!

I'll publish it as soon as I can.

@weihanglo:
[xpath-range] npm publish                                                                                master

><EMAIL_ADDRESS>prepublish /home/tilgovi/src/openannotation/xpath-range
> babel -d lib src

src/range.js -> lib/range.js
+<EMAIL_ADDRESS>


improve profiler.sh for work with symlink

Hi! I use your profiler with update-alternatives and now when I try to connect to process I get something like
/my/path/to/symlink/build/jattach: No such file

this fix works for me and work with usual usage as well.

what do you think about to add a function readlink to profiler.sh  with code from here https://stackoverflow.com/a/1116890 ?

A few lines above is abspath function.


Improving configuration documentation

I'm not exactly sure how to configure tsserver for this plugin. As soon as I figure it out I'll propose how to change the documentation to make it obvious (:

:CocConfig opens coc-settings.json, and you can config what you want.

Use tsconfig.json and jsconfig.json for tsserver.

Thanks! but it's not that I can't find it 😅 . I've already found it (:. My point was that it took me more than a couple of seconds to figure out how.
@fannheyward mentions what I was getting at. All those keys under "Configuration Options" can be added as top-level keys.
How about adding under "Configuration Options" at the top that any of the below strings are keys that can be added to coc-settings.json on the top level? It would be nice if it was also obvious what values are possible for each key but let's leave that out for now.

I guess I'll keep this in my unread list and see about opening a PR. It's low effort, and this doesn't seem to get your attention.

Fixed! https://github.com/neoclide/coc-tsserver/commit/4f493d6c35bfef71ec21e8db648bcabda5f9ad21


Update version and CHANGELOG for new release: v0.0.7

Signed-off-by: Alexander Xydes<EMAIL_ADDRESS>

Codecov Report

Merging #45 (47d6ec9) into main (afe9e1b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          363       363
=========================================
  Hits           363       363

Continue to review full report at Codecov.

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


Add support for .ctags, .hgignore, .mailmap, and .stylelintignore

Exactly as advertised. Each file uses a Git-style syntax for comments, adorned with little else.
Examples:

.ctags
.hgignore
.mailmap
.stylelintignore

Thanks for this!


How do I wire the TB6560 drivers to RAMPS 1.4/How to get pronterface to work?

I need a wiring guide for the arm. I have assembled the arm and wired it using this diagram:

and I would like to know if A. it is correct and B. if so how to get pronterface to work. I uploaded the code to the arduino and tried to use Pronterface but nothing happened.
Thanks!

any update?


Updating Contributor's data

Fixes #49
@sachan13harshit can you please confirm that the updated details are correct and links are correct to your profiles.

@HUN-sp  Thank you, I verify the above details are mine.


Upgrade: upgrade lodash to 4.17.15 (CVE-2019-10744) (fixes #2614)

fixes #2614

This is not required. We lock to the server major. Clear your node modules or run npm update lodash.


section-refs: subsequent-author-substitute appears where it shouldn’t

When using a CSL style where subsequent-author-substitute is active (such as chicago-author-date.csl), in some contexts the substitute (“———”) appears though the item in question is not preceded by an earlier item that starts with the same author’s name.
In the example below, e.g., it appears as if “Doe’s Second Book” were written by “Abel”.
MWE:
pandoc -s -F pandoc-citeproc --lua-filter ~/.pandoc/section-refs.lua -t plain << EOT

# Section One

Foo [@abel; @doe2].

## References {-}

# Section Two

Foo [@doe1; @doe2].

## References {-}

---
references:
- id: doe1
  type: book
  author:
  - family: Doe
    given: Jane
  issued:
    - year: 2017
  title: Doe’s first book
- id: doe2
  type: book
  author:
  - family: Doe
    given: Jane
  issued:
    - year: 2018
  title: Doe’s second book
- id: abel
  type: book
  author:
  - family: Abel
    given: Niels
  issued:
    - year: 2018
  title: Abel’s Book
...
EOT

Expected output:
SECTION ONE

Foo (Abel 2018; Doe 2018).

References

Abel, Niels. 2018. _Abel’s Book_.

Doe, Jane. 2018. _Doe’s Second Book_.

SECTION TWO

Foo (Doe 2017, 2018).

References

Doe, Jane. 2017. _Doe’s First Book_.

———. 2018. _Doe’s Second Book_.

Actual output:
SECTION ONE

Foo (Abel 2018; Doe 2018).

References

Abel, Niels. 2018. _Abel’s Book_.

———. 2018. _Doe’s Second Book_.

SECTION TWO

Foo (Doe 2017, 2018).

References

Doe, Jane. 2017. _Doe’s First Book_.

———. 2018. _Doe’s Second Book_.

I do realize this might be difficult to fix given the general approach of this filter – but at the very least it seems to merit a note warning users not to expect correct results when using “subsequent-author-substitute” styles.

CC @jkr


delegate: Now throws when calling null-initialized delegate, removed …

…empty lambda initialization

test please


error about optional value(NSIndexPath) in file:ConversationLayout.swift

File location: Yep -> viewControllers -> conversation -> conversationLayout.swift
Row 30 of ConversationLayout.swift:
if let indexPath = updateItem.indexPathAfterUpdate

error description: Initializer for conditional binding must have Optional type, not 'NSIndexPath'.
Below is the detail, tks.

+1

Latest version should fixed this


QueryException Error with Mysql 8.0.12

Laravel Version: 5.6.33
PHP Version: 8.0.12

Description:
After reading & trying all kinds of different solutions, i can't connect my application to my database via 'php artisan migrate'. No matter what i do, i always get the error:
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = blog and table_name = migrations)
My .env file:
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:pQHW+AbJH5EhLErwLmqVQu13YMXX0N7JuNPQUBkLKkQ=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=blog
DB_USERNAME=root
DB_PASSWORD=''

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_HOST=<IP_ADDRESS>
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

Saw that i need to change inside database.php the mysql configuration, which i did:
        'mysql' => [
            'driver'      => 'mysql',
            'host'        => env( 'DB_HOST', '<IP_ADDRESS>' ),
            'port'        => env( 'DB_PORT', '3306' ),
            'database'    => env( 'DB_DATABASE', 'forge' ),
            'username'    => env( 'DB_USERNAME', 'forge' ),
            'password'    => env( 'DB_PASSWORD', '' ),
            'unix_socket' => env( 'DB_SOCKET', '' ),
            'charset'     => 'utf8mb4',
            'collation'   => 'utf8mb4_unicode_ci',
            'prefix'      => '',
            'strict'      => true,
            'engine'      => null,
            'modes' => [
             'ONLY_FULL_GROUP_BY',
             'STRICT_TRANS_TABLES',
             'NO_ZERO_IN_DATE',
             'NO_ZERO_DATE',
             'ERROR_FOR_DIVISION_BY_ZERO',
             'NO_ENGINE_SUBSTITUTION',
         ],
        ],

Some suggested to use in .env the ip adress <IP_ADDRESS> instead of localhost, still same result.
Sequel Pro was also unable to connect, but then i read that i have to add all privileges to the current user (root), which i did. Since then, i can connect via Sequel Pro to Mysql, however, Laravel always gives back the error shown before.
Here's the full error log when running php artisan migrate:
  Illuminate\Database\QueryException  : SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = blog and table_name = migrations)

  at /Users/UserMac/Desktop/laravel_blog/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
    660|         // If an exception occurs when attempting to run a query, we'll format the error
    661|         // message to include the bindings with SQL, which will make this exception a
    662|         // lot more helpful to the developer instead of just the database's errors.
    663|         catch (Exception $e) {
  > 664|             throw new QueryException(
    665|                 $query, $this->prepareBindings($bindings), $e
    666|             );
    667|         }
    668|

  Exception trace:

  1   PDOException::("SQLSTATE[HY000] [2002] No such file or directory")
      /Users/UserMac/Desktop/laravel_blog/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:68

  2   PDO::__construct("mysql:host=localhost;port=3306;dbname=blog", "root", "", [])
      /Users/UserMac/Desktop/laravel_blog/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:68

Please use the argument -v to see more details.
Steps To Reproduce:
laravel new 'name'
brew services start mysql
mysql -uroot
mysql use blog;
change .env file with database name, username, password
php artisan migrate

@Prometheus88 did you find any solution?

@Siddharth Yes. I simply installed<EMAIL_ADDRESS>with homebrew. I also removed all other mysql versions on my mac. Make sure, if you are using homebrew, that only<EMAIL_ADDRESS>is running. You can see all your services via brew services list. I think disabling other mysql versions will be fine, but i went for a clean setup and deleted all versions before installing a fresh installation  with 5.7

@siddharthghedia Yes. I simply installed<EMAIL_ADDRESS>with homebrew. I also removed all other mysql versions on my mac. Make sure, if you are using homebrew, that only<EMAIL_ADDRESS>is running. You can see all your services via brew services list. I think disabling other mysql versions will be fine, but i went for a clean setup and deleted all versions before installing a fresh installation  with 5.7

@Prometheus88 I'm still receiving this error: SQLSTATE[HY000] [2006] MySQL server has gone away would you mind helping me with this?

@siddharthghedia, i would love to, but i have honestly not too much knowledge about MySQL. I found this https://stackoverflow.com/questions/35036547/mysql-server-has-gone-away-error-during-installing-migration-laravel on stackoverflow. Maybe this will/can help? Otherwise try to ask on stackoverflow might be the best bet!
Hope you can fix it asap!
Greetings!


ceibo should also be imported in development environment

Since it's possible to run tests in development environment on http://localhost:4200/tests ceibo dependency should also be imported there. https://github.com/san650/ember-cli-page-object/blob/master/index.js#L10

@jelhan thanks! Do you want to create a pull request for this?


Support optional fields for allOf field object

EDIT: See below comment for clarification
Fields by default are optional in OpenAPI 3, unless mentioned in the required section of the object.
Currently, all fields are mandatory optional fields of objects defined as an allOf field is mandatory in the generated code. I had to manually make the fields optional by changing the structs fields to Option<T>.

Can you share where you're seeing this? Please provide an example OpenAPI spec, the generated libninja code, and point out the errors.
I'd need to look up examples, but from what I've seen in real world specs, I believe many specs have always-present data, at the very least in responses, even though the fields aren't technically marked as required, so it's absurdly pedantic to make all those fields optional. Perhaps libninja could have a strict mode that would generate them as option.

Actually, my bad- most fields are marked optional unless they are marked required. I encountered an edge case where I use an allOf and specify an object as one of the object definitions (rather than referencing it).
I have created an example here: https://github.com/prabhpreet/libninja-allof-example/ with the spec https://github.com/prabhpreet/libninja-allof-example/blob/main/petstore.yaml
Consider the PetTag object in the spec below:
https://github.com/prabhpreet/libninja-allof-example/blob/28fbbfeefc25b0b5653d4b36fba7f32e2d0ecd3e/petstore.yaml#L85-L119
The field weight in the object is not required but is not wrapped in an Option enum in the generated code. However, if I reference an entire object (eg. here PetHealth's optional field neutered here), the entire object does wrap the optional fields correctly.
https://github.com/prabhpreet/libninja-allof-example/blob/28fbbfeefc25b0b5653d4b36fba7f32e2d0ecd3e/src/model/pet_tag.rs#L5-L13
https://github.com/prabhpreet/libninja-allof-example/blob/28fbbfeefc25b0b5653d4b36fba7f32e2d0ecd3e/src/model/pet_health.rs#L4-L8

Got it. Just to confirm, is there an error here? To my eye, those structs look like they conform correctly to that OpenAPI spec.

I think this is an error since it is making an optional field in the spec into required in the struct.
Just to recap, specifically the error is when one of the object types in an allOf spec has an optional field (not mentioned in the required section of the object type). This field is not mapped as an Option in the struct, making it a required field.

Thank you for clarifying. Fixed with regression tests, and bumped version to 0.1.10.

Thanks for the prompt fix!


Azure staging site - Terraform deploy without an AWS account

Step of the azure work plan: The terraform currently needs an AWS account for the deployment. The AWS account was originally used for the email sending with SES. We want to create a terraform deployment where only one cloud provider is necessary, since CEs might choose other platforms to send emails.
Done when:
What criteria need to be met for the issue to be finished?

[ ] Can create the infrastructure without providing an AWS account number
[ ] All services are created and functioning accordingly
[ ] Environment can be replicated using the terraform

@jcma-google assigned this to you, since you already have this working, but let me know if there's anything I can do to help.


TSAN detected race in profiler

From this log:
/=====================================================================\
| vm/cc/Profiler_GetSourceReport broke (Pass -> Crash, expected Pass) |
\=====================================================================/

--- Command "run_vm_unittest" (took 35.000785s):
DART_CONFIGURATION=ReleaseTSANX64 out/ReleaseTSANX64/run_vm_tests --dfe=/b/s/w/ir/cache/builder/sdk/out/ReleaseTSANX64/gen/kernel-service.dart.snapshot --ignore-unrecognized-flags Profiler_GetSourceReport

exit code:
-6

stdout:
Running test: Profiler_GetSourceReport
Done: Profiler_GetSourceReport

stderr:
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==15872==WARNING: Can't read from symbolizer at fd 9
==15872==WARNING: Failed to use and restart external symbolizer!
/usr/bin/addr2line: '/memfd:dart-codespace (deleted)': No such file
==================
WARNING: ThreadSanitizer: data race (pid=15872)
  Read of size 8 at 0x7f4547319fd8 by main thread:
    #0 dart::Sample::head_sample() const ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:367 (run_vm_tests+0x3b949a3)
    #1 dart::SampleBuffer::VisitSamples(dart::SampleVisitor*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:637 (run_vm_tests+0x3b949a3)
    #2 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2340 (run_vm_tests+0x3b949a3)
    #3 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b949a3)
    #4 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
    #5 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
    #6 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
    #7 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
    #8 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)

  Previous write of size 8 at 0x7f4547319fd8 by thread T4:
    #0 memset ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:784 (run_vm_tests+0x39e0e59)
    #1 dart::Sample::Clear() ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:211 (run_vm_tests+0x40b7556)
    #2 dart::Sample::Init(long, long, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:191 (run_vm_tests+0x40b7556)
    #3 dart::SetupSample(dart::Thread*, dart::SampleBuffer*, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:985 (run_vm_tests+0x40b7556)
    #4 dart::Profiler::SampleThread(dart::Thread*, dart::InterruptedThreadState const&) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1362 (run_vm_tests+0x40b7556)
    #5 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler(int, siginfo_t*, void*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_interrupter_linux.cc:47 (run_vm_tests+0x41a0c57)
    #6 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1907 (run_vm_tests+0x39ddd2f)
    #7 StackResource ../../out/ReleaseTSANX64/../../runtime/vm/allocation.h:25 (run_vm_tests+0x3fc7c66)
    #8 ThreadStackResource ../../out/ReleaseTSANX64/../../runtime/vm/thread_stack_resource.h:21 (run_vm_tests+0x3fc7c66)
    #9 TransitionSafepointState ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:162 (run_vm_tests+0x3fc7c66)
    #10 TransitionGeneratedToVM ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:181 (run_vm_tests+0x3fc7c66)
    #11 dart::NativeEntry::BootstrapNativeCallWrapper(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) ../../out/ReleaseTSANX64/../../runtime/vm/native_entry.cc:135 (run_vm_tests+0x3fc7c66)
    #12 <null> <null> (memfd:dart-codespace (deleted)+0x22f3)
    #13 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:147 (run_vm_tests+0x3f20ab2)
    #14 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:37 (run_vm_tests+0x3f24b5f)
    #15 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:792 (run_vm_tests+0x3f24b5f)
    #16 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >) ../../out/ReleaseTSANX64/../../runtime/vm/isolate.cc:1379 (run_vm_tests+0x3f7ac5a)
    #17 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:233 (run_vm_tests+0x3fc50a0)
    #18 dart::MessageHandler::TaskCallback() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:443 (run_vm_tests+0x3fc5aa4)
    #19 dart::MessageHandlerTask::Run() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:31 (run_vm_tests+0x3fc6493)
    #20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158 (run_vm_tests+0x41a1e5c)
    #21 dart::ThreadPool::Worker::Main(unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:323 (run_vm_tests+0x41a2845)
    #22 dart::ThreadStart(void*) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:153 (run_vm_tests+0x40ae512)

  Location is global '<null>' at 0x000000000000 (memfd:dart-profiler (deleted)+0x000000121fd8)

  Thread T4 'DartWorker' (tid=15880, running) created by main thread at:
    #0 pthread_create ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:962 (run_vm_tests+0x39d759b)
    #1 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:172 (run_vm_tests+0x40ae39c)
    #2 dart::ThreadPool::Worker::StartThread() ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:296 (run_vm_tests+0x41a1519)
    #3 dart::ThreadPool::RunImpl(std::__2::unique_ptr<dart::ThreadPool::Task, std::__2::default_delete<dart::ThreadPool::Task> >) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:94 (run_vm_tests+0x41a1519)
    #4 bool dart::ThreadPool::Run<dart::MessageHandlerTask, dart::MessageHandler*>(dart::MessageHandler*&&) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.h:46 (run_vm_tests+0x3fc4bbd)
    #5 dart::MessageHandler::Run(dart::ThreadPool*, dart::MessageHandler::MessageStatus (*)(unsigned long), void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:121 (run_vm_tests+0x3fc4bbd)
    #6 Dart_NewNativePort ../../out/ReleaseTSANX64/../../runtime/vm/native_api_impl.cc:90 (run_vm_tests+0x48e9a10)
    #7 KernelCompilationRequest ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:437 (run_vm_tests+0x3faf505)
    #8 dart::KernelIsolate::CompileToKernel(char const*, unsigned char const*, long, int, Dart_SourceFile*, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:1031 (run_vm_tests+0x3faf505)
    #9 dart::TestCase::CompileTestScriptWithDFE(char const*, int, Dart_SourceFile*, unsigned char const**, long*, bool, bool, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:328 (run_vm_tests+0x3be96a1)
    #10 dart::TestCase::LoadTestScriptWithDFE(int, Dart_SourceFile*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), bool, bool, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:482 (run_vm_tests+0x3be9cf9)
    #11 dart::TestCase::LoadTestScript(char const*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), char const*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:430 (run_vm_tests+0x3be9bbb)
    #12 dart::LoadTestScript(char const*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:162 (run_vm_tests+0x3b970b9)
    #13 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2332 (run_vm_tests+0x3b94904)
    #14 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b94904)
    #15 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
    #16 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
    #17 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
    #18 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
    #19 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)

SUMMARY: ThreadSanitizer: data race ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:367 in dart::Sample::head_sample() const
==================
==================
WARNING: ThreadSanitizer: data race (pid=15872)
  Read of size 8 at 0x7f4547319f98 by main thread:
    #0 dart::Sample::port() const ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:197 (run_vm_tests+0x3b949bc)
    #1 dart::SampleBuffer::VisitSamples(dart::SampleVisitor*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:645 (run_vm_tests+0x3b949bc)
    #2 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2340 (run_vm_tests+0x3b949bc)
    #3 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b949bc)
    #4 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
    #5 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
    #6 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
    #7 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
    #8 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)

  Previous write of size 8 at 0x7f4547319f98 by thread T4:
    #0 memset ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:784 (run_vm_tests+0x39e0e59)
    #1 dart::Sample::Clear() ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:204 (run_vm_tests+0x40b7523)
    #2 dart::Sample::Init(long, long, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:191 (run_vm_tests+0x40b7523)
    #3 dart::SetupSample(dart::Thread*, dart::SampleBuffer*, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:985 (run_vm_tests+0x40b7523)
    #4 dart::Profiler::SampleThread(dart::Thread*, dart::InterruptedThreadState const&) ../../out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1362 (run_vm_tests+0x40b7523)
    #5 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler(int, siginfo_t*, void*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_interrupter_linux.cc:47 (run_vm_tests+0x41a0c57)
    #6 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1907 (run_vm_tests+0x39ddd2f)
    #7 StackResource ../../out/ReleaseTSANX64/../../runtime/vm/allocation.h:25 (run_vm_tests+0x3fc7c66)
    #8 ThreadStackResource ../../out/ReleaseTSANX64/../../runtime/vm/thread_stack_resource.h:21 (run_vm_tests+0x3fc7c66)
    #9 TransitionSafepointState ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:162 (run_vm_tests+0x3fc7c66)
    #10 TransitionGeneratedToVM ../../out/ReleaseTSANX64/../../runtime/vm/heap/safepoint.h:181 (run_vm_tests+0x3fc7c66)
    #11 dart::NativeEntry::BootstrapNativeCallWrapper(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) ../../out/ReleaseTSANX64/../../runtime/vm/native_entry.cc:135 (run_vm_tests+0x3fc7c66)
    #12 <null> <null> (memfd:dart-codespace (deleted)+0x22f3)
    #13 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:147 (run_vm_tests+0x3f20ab2)
    #14 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:37 (run_vm_tests+0x3f24b5f)
    #15 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&) ../../out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:792 (run_vm_tests+0x3f24b5f)
    #16 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >) ../../out/ReleaseTSANX64/../../runtime/vm/isolate.cc:1379 (run_vm_tests+0x3f7ac5a)
    #17 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:233 (run_vm_tests+0x3fc50a0)
    #18 dart::MessageHandler::TaskCallback() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:443 (run_vm_tests+0x3fc5aa4)
    #19 dart::MessageHandlerTask::Run() ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:31 (run_vm_tests+0x3fc6493)
    #20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158 (run_vm_tests+0x41a1e5c)
    #21 dart::ThreadPool::Worker::Main(unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:323 (run_vm_tests+0x41a2845)
    #22 dart::ThreadStart(void*) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:153 (run_vm_tests+0x40ae512)

  Location is global '<null>' at 0x000000000000 (memfd:dart-profiler (deleted)+0x000000121f98)

  Thread T4 'DartWorker' (tid=15880, running) created by main thread at:
    #0 pthread_create ../recipe_cleanup/clangshYTOG/llvm_build_dir/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:962 (run_vm_tests+0x39d759b)
    #1 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:172 (run_vm_tests+0x40ae39c)
    #2 dart::ThreadPool::Worker::StartThread() ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:296 (run_vm_tests+0x41a1519)
    #3 dart::ThreadPool::RunImpl(std::__2::unique_ptr<dart::ThreadPool::Task, std::__2::default_delete<dart::ThreadPool::Task> >) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:94 (run_vm_tests+0x41a1519)
    #4 bool dart::ThreadPool::Run<dart::MessageHandlerTask, dart::MessageHandler*>(dart::MessageHandler*&&) ../../out/ReleaseTSANX64/../../runtime/vm/thread_pool.h:46 (run_vm_tests+0x3fc4bbd)
    #5 dart::MessageHandler::Run(dart::ThreadPool*, dart::MessageHandler::MessageStatus (*)(unsigned long), void (*)(unsigned long), unsigned long) ../../out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:121 (run_vm_tests+0x3fc4bbd)
    #6 Dart_NewNativePort ../../out/ReleaseTSANX64/../../runtime/vm/native_api_impl.cc:90 (run_vm_tests+0x48e9a10)
    #7 KernelCompilationRequest ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:437 (run_vm_tests+0x3faf505)
    #8 dart::KernelIsolate::CompileToKernel(char const*, unsigned char const*, long, int, Dart_SourceFile*, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:1031 (run_vm_tests+0x3faf505)
    #9 dart::TestCase::CompileTestScriptWithDFE(char const*, int, Dart_SourceFile*, unsigned char const**, long*, bool, bool, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:328 (run_vm_tests+0x3be96a1)
    #10 dart::TestCase::LoadTestScriptWithDFE(int, Dart_SourceFile*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), bool, bool, bool, char const*, char const*, char const*) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:482 (run_vm_tests+0x3be9cf9)
    #11 dart::TestCase::LoadTestScript(char const*, void (*(*)(_Dart_Handle*, int, bool*))(_Dart_NativeArguments*), char const*, bool, bool) ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:430 (run_vm_tests+0x3be9bbb)
    #12 dart::LoadTestScript(char const*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:162 (run_vm_tests+0x3b970b9)
    #13 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2332 (run_vm_tests+0x3b94904)
    #14 dart::Dart_TestProfiler_GetSourceReport() ../../out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2305 (run_vm_tests+0x3b94904)
    #15 dart::TestCase::Run() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52 (run_vm_tests+0x3a477ec)
    #16 dart::TestCaseBase::RunTest() ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64 (run_vm_tests+0x3a479c1)
    #17 dart::TestCaseBase::RunAll() ../../out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86 (run_vm_tests+0x3be8508)
    #18 dart::Main(int, char const**) ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:394 (run_vm_tests+0x3a484d3)
    #19 main ../../out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:425 (run_vm_tests+0x3a47d3e)

SUMMARY: ThreadSanitizer: data race ../../out/ReleaseTSANX64/../../runtime/vm/profiler.h:197 in dart::Sample::port() const
==================
Source positions for function 'file:///test-lib_::_doWork' {
7f4547c80350-7f4547c80389: Function 'doWork': static.@-12
7f4547c8038a-7f4547c80392: Function 'doWork': static.@-7
7f4547c80393-7f4547c803a5: Function 'doWork': static.@11
7f4547c803a6-7f4547c803bd: Function 'doWork': static.@19
7f4547c803be-7f4547c803c0: Function 'doWork': static.@19
7f4547c803c1-7f4547c803c3: Function 'doWork': static.@-1
7f4547c803c4-7f4547c803ef: Function 'doWork': static.@19
7f4547c803f0-7f4547c803f8: Function 'doWork': static.@17
7f4547c803f9-7f4547c80413: Function 'doWork': static.@0
7f4547c80414-7f4547c80415: Function 'doWork': static.@0
}
Source positions for function 'file:///test-lib_::_main' {
7f4547c80190-7f4547c801d1: Function 'main': static.@-12
7f4547c801d2-7f4547c801da: Function 'main': static.@-7
7f4547c801db-7f4547c801ed: Function 'main': static.@32
7f4547c801ee-7f4547c801f6: Function 'main': static.@47
7f4547c801f7-7f4547c80205: Function 'main': static.@65
7f4547c80206-7f4547c8020b: Function 'main': static.@63
7f4547c8020c-7f4547c80214: Function 'main': static.@-7
7f4547c80215-7f4547c80238: Function 'main': static.@54
7f4547c80239-7f4547c8023b: Function 'main': static.@-1
7f4547c8023c-7f4547c80252: Function 'main': static.@72
7f4547c80253-7f4547c8026f: Function 'main': static.@72
7f4547c80270-7f4547c80276: Function 'main': static.@-5
7f4547c80277-7f4547c80299: Function 'main': static.@98
7f4547c8029a-7f4547c802ad: Function 'main': static.@95
7f4547c802ae-7f4547c802af: Function 'main': static.@95
7f4547c802b0-7f4547c802b3: Function 'main': static.@91
7f4547c802b4-7f4547c802b6: Function 'main': static.@-1
7f4547c802b7-7f4547c802ca: Function 'main': static.@80
7f4547c802cb-7f4547c802cc: Function 'main': static.@80
7f4547c802cd-7f4547c802d0: Function 'main': static.@79
7f4547c802d1-7f4547c802e7: Function 'main': static.@-7
7f4547c802e8-7f4547c802f3: Function 'main': static.@115
7f4547c802f4-7f4547c8030e: Function 'main': static.@24
7f4547c8030f-7f4547c8032f: Function 'main': static.@54
7f4547c80330-7f4547c80334: Function 'main': static.@54
}
ThreadSanitizer: reported 2 warnings

--- Re-run this test:
python tools/test.py -n dartk-tsan-linux-release-x64 vm/cc/Profiler_GetSourceReport

/cc @bkonyi @rmacnak-google

It's now gone back to Crash after a few months of flakiness since the revert of ad706a96d, log:
--- Command "run_vm_unittest" (took 16.000040s):
DART_CONFIGURATION=ReleaseTSANX64 out/ReleaseTSANX64/run_vm_tests --dfe=/b/s/w/ir/out/ReleaseTSANX64/gen/kernel-service.dart.snapshot --enable-experiment=records --sound-null-safety --ignore-unrecognized-flags Profiler_GetSourceReport

exit code:
-6

stdout:
Running test: Profiler_GetSourceReport

stderr:
/b/s/w/ir/buildtools/linux-x64/clang/bin/llvm-symbolizer: error: '/memfd:dart-code (deleted)': No such file or directory
==================
WARNING: ThreadSanitizer: data race (pid=572194)
  Read of size 4 at 0x7f089bedae18 by main thread:
    #0 dart::Sample::head_sample() const out/ReleaseTSANX64/../../runtime/vm/profiler.h:350:59 (run_vm_tests+0x250a127)
    #1 dart::SampleBuffer::VisitSamples(dart::SampleVisitor*) out/ReleaseTSANX64/../../runtime/vm/profiler.h:598:20 (run_vm_tests+0x250a127)
    #2 dart::SampleBlockBuffer::VisitSamples(dart::SampleVisitor*) out/ReleaseTSANX64/../../runtime/vm/profiler.h:761:18 (run_vm_tests+0x250a127)
    #3 dart::Dart_TestHelperProfiler_GetSourceReport(dart::Thread*) out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2241:26 (run_vm_tests+0x250a127)
    #4 dart::Dart_TestProfiler_GetSourceReport() out/ReleaseTSANX64/../../runtime/vm/profiler_test.cc:2206:1 (run_vm_tests+0x250a127)
    #5 dart::TestCase::Run() out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:52:3 (run_vm_tests+0x228192c)
    #6 dart::TestCaseBase::RunTest() out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:64:11 (run_vm_tests+0x2281b01)
    #7 dart::TestCaseBase::RunAll() out/ReleaseTSANX64/../../runtime/vm/unit_test.cc:86:13 (run_vm_tests+0x256ca58)
    #8 dart::Main(int, char const**) out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:405:3 (run_vm_tests+0x2282129)
    #9 main out/ReleaseTSANX64/../../runtime/bin/run_vm_tests.cc:436:29 (run_vm_tests+0x2281cc0)

  Previous write of size 4 at 0x7f089bedae18 by thread T5:
    #0 dart::Sample::set_thread_task(dart::Thread::TaskKind) out/ReleaseTSANX64/../../runtime/vm/profiler.h:325:12 (run_vm_tests+0x2ae5da2)
    #1 dart::SetupSample(dart::Thread*, bool, unsigned long) out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1216:11 (run_vm_tests+0x2ae5da2)
    #2 dart::Profiler::SampleThread(dart::Thread*, dart::InterruptedThreadState const&) out/ReleaseTSANX64/../../runtime/vm/profiler.cc:1371:7 (run_vm_tests+0x2ae5da2)
    #3 dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler(int, siginfo_t*, void*) out/ReleaseTSANX64/../../runtime/vm/thread_interrupter_linux.cc:44:5 (run_vm_tests+0x2bcba1c)
    #4 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ../staging/llvm_build/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:2122:5 (run_vm_tests+0x220117f)
    #5 dart::Mutex::Unlock() out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:367:16 (run_vm_tests+0x2adc199)
    #6 dart::MutexLocker::~MutexLocker() out/ReleaseTSANX64/../../runtime/vm/lockers.h:69:13 (run_vm_tests+0x2ae0f91)
    #7 dart::PortMap::PostMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message>>, bool) out/ReleaseTSANX64/../../runtime/vm/port.cc:221:1 (run_vm_tests+0x2ae0f91)
    #8 dart::DN_HelperSendPort_sendInternal_(dart::Isolate*, dart::Thread*, dart::Zone*, dart::NativeArguments*) out/ReleaseTSANX64/../../runtime/lib/isolate.cc:121:3 (run_vm_tests+0x2846ee4)
    #9 dart::BootstrapNatives::DN_SendPort_sendInternal_(dart::Thread*, dart::Zone*, dart::NativeArguments*) out/ReleaseTSANX64/../../runtime/lib/isolate.cc:107:1 (run_vm_tests+0x2846ee4)
    #10 dart::NativeEntry::BootstrapNativeCallWrapper(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) out/ReleaseTSANX64/../../runtime/vm/native_entry.cc:140:37 (run_vm_tests+0x29c5d50)
    #11 <null> <null> (memfd:dart-code (deleted)+0x2caa)
    #12 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:37:10 (run_vm_tests+0x2910b9d)
    #13 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&) out/ReleaseTSANX64/../../runtime/vm/dart_entry.cc:737:28 (run_vm_tests+0x2910b9d)
    #14 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message>>) out/ReleaseTSANX64/../../runtime/vm/isolate.cc:1292:15 (run_vm_tests+0x296523b)
    #15 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:239:16 (run_vm_tests+0x29a9f83)
    #16 dart::MessageHandler::TaskCallback() out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:458:18 (run_vm_tests+0x29aaa60)
    #17 dart::MessageHandlerTask::Run() out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:31:15 (run_vm_tests+0x29ab3f3)
    #18 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158:15 (run_vm_tests+0x2bcca29)
    #19 dart::ThreadPool::Worker::Main(unsigned long) out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:330:9 (run_vm_tests+0x2bcd2e7)
    #20 dart::ThreadStart(void*) out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:154:5 (run_vm_tests+0x2adbb53)

  Thread T5 'DartWorker' (tid=572249, running) created by thread T2 at:
    #0 pthread_create ../staging/llvm_build/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1048:3 (run_vm_tests+0x21f8e2b)
    #1 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long) out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:173:12 (run_vm_tests+0x2adba03)
    #2 dart::ThreadPool::Worker::StartThread() out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:296:16 (run_vm_tests+0x2bcc100)
    #3 dart::ThreadPool::RunImpl(std::__2::unique_ptr<dart::ThreadPool::Task, std::__2::default_delete<dart::ThreadPool::Task>>) out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:94:17 (run_vm_tests+0x2bcc100)
    #4 bool dart::ThreadPool::Run<dart::MessageHandlerTask, dart::MessageHandler*>(dart::MessageHandler*&&) out/ReleaseTSANX64/../../runtime/vm/thread_pool.h:46:12 (run_vm_tests+0x29a9b71)
    #5 dart::MessageHandler::Run(dart::ThreadPool*, dart::MessageHandler::MessageStatus (*)(unsigned long), void (*)(unsigned long), unsigned long) out/ReleaseTSANX64/../../runtime/vm/message_handler.cc:120:24 (run_vm_tests+0x29a9b71)
    #6 dart::RunKernelTask::Run() out/ReleaseTSANX64/../../runtime/vm/kernel_isolate.cc:111:33 (run_vm_tests+0x2998a6d)
    #7 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:158:15 (run_vm_tests+0x2bcca29)
    #8 dart::ThreadPool::Worker::Main(unsigned long) out/ReleaseTSANX64/../../runtime/vm/thread_pool.cc:330:9 (run_vm_tests+0x2bcd2e7)
    #9 dart::ThreadStart(void*) out/ReleaseTSANX64/../../runtime/vm/os_thread_linux.cc:154:5 (run_vm_tests+0x2adbb53)

SUMMARY: ThreadSanitizer: data race out/ReleaseTSANX64/../../runtime/vm/profiler.h:350:59 in dart::Sample::head_sample() const
==================

--- Re-run this test:
python3 tools/test.py -n vm-tsan-linux-release-x64 vm/cc/Profiler_GetSourceReport


Is the code use the wrong transpose?

I notice that the transpose of the mesh in first iteration is wrong. So is the code have problem handling the T?

Not really. I think the reason is  that we add Gaussian offset, which has not been optimized in first iteration.


Configs don't respect custom game directory [BUG]

Describe the bug
Expected:
Config files to be saved into my custom game directory.
Actual:
Config files were saved to the .minecraft folder
To Reproduce
Launch game with different game directory set in the launcher
My profile is set to %APPDATA%/.wynntils, however, configs are being saved to %APPDATA%/.minecraft

Version Information

OS: Tested on Mac and Windows
Launcher: Official Minecraft Launcher
Minecraft 1.18.2
Fabric Loader version 0.14.9
Mod Version fabric0.47.10-0.4

Seems to be a new launcher bug: https://bugs.mojang.com/browse/MCL-22685


ModernWindow on Mac looks strange

First,
I would like to thanks you for this lib ! I was looking for this kind of style since a long time ago ..
I just tried on Mac OS with PySide2 the following command :
mw = windows.ModernWindow(w)
mw.show()

And I get strange look with with transparent bug .

So I am using right now only styles.dark(app)

Just a side note, it works properly with PySide on Windows. So this issue would be likely constrained to Mac  itself

I am using ModernWindow with styles.dark on mac and see nothing like this. Could you @dridk provide a small example so we can reproduce it?

Just a side note, it works properly with PySide2 on Windows. So this issue would be likely constrained to Mac itself

while, it doesn't work for me when using pyside2 or pyside6, the following errors are reported:
app.setPalette(darkPalette)
TypeError: 'PySide2.QtWidgets.QApplication.setPalette' called with wrong argument types:
PySide2.QtWidgets.QApplication.setPalette(QPalette)
Supported signatures:
PySide2.QtWidgets.QApplication.setPalette(PySide2.QtGui.QPalette, typing.Union[bytes, NoneType] = None)
PySide2.QtWidgets.QApplication.setPalette(PySide2.QtGui.QPalette)


klystrack: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: libengine_gui.a(gui_menu.o):(.bss+0x0): multiple definition of
  `menu_t'; objs.release/action.o:(.bss+0x20): first defined here

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 176863 run on x86_64-linux 1

1 package built:

klystrack


@genty_dataset is now chainable.

Can specifiy multiple @genty_dataset decorators on a method.
Various use cases. Allows for more flexible organization of
test cases. And there's a plan for a "defered" style of
datasets, where the actual params for the test case aren't
created until the test is called, as opposed to when the test
module is imported.

Verified that @potrebic has signed the CLA. Thanks for the pull request!

:+1: but left some comments to address first.

Improved the doctring explaining the usefulness of chaining. And that outer overrides inner.
I also added a unit test showing the outer over inner behavior.

:+1: :+1:
But you said "Improved the doctring explaining [...] that outer overrides inner.", but I don't see that in the changes. I only see you mention that the params should be distinct.
It's probably fine as-is, but before merging I wanted to make sure you didn't intend to make mention of the override behavior and just forgot to commit it.


Add luarocks box part

Add luarocks box part. Requested in issue #202. It needs unfortunately some manual work after the install. (Set path variables). Description is in the parts script.

merged. thank you


Not able to run non-steam game

in description "To play a single non-Steam game by name, use a single string (e.g. "Minecraft")"
I try a lot of ways, but always get an error with Illegal value or nothing has changed. Does it works?

It works fine for me.
What's the error you're getting?

throw Error("Illegal value for "+this.toString(true)+" of type "+this.type.name+": "+val+" ("+msg+")");
^
Error: Illegal value for [object Object] of type message: string (object expected)
at Error (native)

Are you sure you're using node-steam-user?

sorry, I use just node-steam instead of this module. What is this module? Better version of node-steam user handler?

Better version of node-steam user handler?

Yes.


Sorting projects in Project List inside Project Manager

This is a feature proposal.
There is a neat favorite feature in Project List inside the Project Manager (with the Stars to the left of project names) but it would be awesome if we could also sort the Project List by alphabetical name or reverse the order. It could be sorted for Paths too.
Anyway, just an idea for improvement.

A right click in the Project List could be useful to do that. And it could also be used to create, remove or rename a project.

probably something to include in #8135

close as duplicate of #6105 ?

Hello :) I would like to work on this feature

I'm working with AnaDenisa, we would like to know if anyone knows where this issue is on the code, we've been looking for it since two weeks ago and we're having troubles finding it.
Thank you!

Sorry, missed the first message. All the project manager is in a single file:
https://github.com/godotengine/godot/blob/master/editor/project_manager.cpp  (and .h)

Thank you! We added that feature and we will create a pull request soon. We only need to test it a few more times.
We wanted to ask that question for another issue and we switched them by mistake, sorry.

Fixed by #23935.


[PYTHON] Fix assertDataFrameEqual behavior with mixed DataFrame types

What changes were proposed in this pull request?

Avoid AttributeError (see examples below) when mixing Spark DataFrame & Pandas or Pandas-on-Spark DataFrame in assertDataFrameEqual by flowing into _assert_pandas_almost_equal/_assert_pandas_equal instead of assertAlmostEqual/assertEqual.
In PandasOnSparkTestUtils.assert_eq, applied the Pandas-on-Spark flow for both params left and right, instead of only left, and clarified the error to specify that a Pandas or Pandas-on-Spark object is expected, since which is not immediately obvious from the current error: DataFrame, DataFrame, Series, Series, IndexIndex

Why are the changes needed?

assertDataFrameEqual results in AttributeError when providing a Spark DataFrame as the first argument and a Pandas DataFrame or a Pandas-on-Spark DataFrame as the second argument (when not inheriting from unittest).

Does this PR introduce any user-facing change?

Better errors will be raised in the situation described above:

PySparkAssertionError with a message is raised instead of AttributeError.
PySparkAssertionError error when mixing Spark & Pandas-on-Spark DataFrames is consistently raised in PandasOnSparkTestUtils.assert_eq, regardless of which one is left or right.
Clarified error message Expected type DataFrame, DataFrame, Series, Series, IndexIndex,  for ... -> Expected type Pandas or Pandas-on-Spark DataFrame, Series, or Index for ...

Setup:
import pandas as pd
import pyspark.pandas as ps
from pyspark.testing import assertDataFrameEqual

df1 = spark.createDataFrame([(10,), (20,), (30,)], ["Numbers"])
df2 = pd.DataFrame(data=[10, 11, 13], columns=["Numbers"])
df3 = ps.DataFrame(data=[10, 11, 13], columns=["Numbers"])

Before:
>>> assertDataFrameEqual(df1, df2, ignoreColumnType=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 483, in assert_eq
    self.assertAlmostEqual(lobj, robj)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PandasOnSparkTestUtils' object has no attribute 'assertAlmostEqual'. Did you mean: 'assertPandasEqual'?

>>> assertDataFrameEqual(df2, df1, ignoreColumnType=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 472, in assert_eq
    _assert_pandas_almost_equal(lobj, robj, rtol=rtol, atol=atol)
  File "...spark/python/pyspark/testing/pandasutils.py", line 314, in _assert_pandas_almost_equal
    raise PySparkAssertionError(
pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type DataFrame, Series, Index,  for `right` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.
>>>

>>> assertDataFrameEqual(df1, df3, ignoreColumnType=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 483, in assert_eq
    self.assertAlmostEqual(lobj, robj)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PandasOnSparkTestUtils' object has no attribute 'assertAlmostEqual'. Did you mean: 'assertPandasEqual'?

>>> assertDataFrameEqual(df3, df1, ignoreColumnType=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 438, in assert_eq
    raise PySparkAssertionError(
pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type DataFrame, DataFrame, Series, Series, IndexIndex,  for `expected` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.

After
>>> assertDataFrameEqual(df1, df2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 476, in assert_eq
    _assert_pandas_almost_equal(lobj, robj, rtol=rtol, atol=atol)
  File "...spark/python/pyspark/testing/pandasutils.py", line 300, in _assert_pandas_almost_equal
    raise PySparkAssertionError(
**pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type DataFrame, Series, Index,  for `left` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.**

>>> assertDataFrameEqual(df2, df1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 465, in assert_eq
    _assert_pandas_almost_equal(lobj, robj, rtol=rtol, atol=atol)
  File "...spark/python/pyspark/testing/pandasutils.py", line 311, in _assert_pandas_almost_equal
    raise PySparkAssertionError(
pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type DataFrame, Series, Index,  for `right` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.

>>> assertDataFrameEqual(df1, df3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 426, in assert_eq
    raise PySparkAssertionError(
pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type Pandas or Pandas-on-Spark DataFrame, Series, or Index for `left` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.

>>> assertDataFrameEqual(df3, df1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...spark/python/pyspark/testing/utils.py", line 828, in assertDataFrameEqual
    return PandasOnSparkTestUtils().assert_eq(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...spark/python/pyspark/testing/pandasutils.py", line 438, in assert_eq
    raise PySparkAssertionError(
pyspark.errors.exceptions.base.PySparkAssertionError: [INVALID_TYPE_DF_EQUALITY_ARG] Expected type Pandas or Pandas-on-Spark DataFrame, Series, or Index for `right` but got type <class 'pyspark.sql.classic.dataframe.DataFrame'>.

How was this patch tested?

Manually tested new behavior in local SparkSession.
Extended existing test case with Pandas-on-Spark DataFrame to confirm the correct error is raised when the parameters are flipped.
Added test case with Spark DataFrame & Pandas DataFrame.

Was this patch authored or co-authored using generative AI tooling?
No

cc @itholic

@itholic @HyukjinKwon I didn't find an issue about this on Jira but I hope it's fine to propose a solution. It's a minor bug I encountered while setting up automated testing on Databricks at work.

you cab create an account and create a JIRA ticket.


Revert "Future-proof the ARM64 ABI by not reserving the entire top byte

This reverts PR #21000.  This patch does not work with our current assumptions about BridgeObject.

@swift-ci Please smoke test and merge.


Add mts as a typescript extension

The windows tests look off. @dapirian I will investigate today and can take care of merging this


Daylight Saving test fails in some time zones

The test date_diff and date_add should work correctly with DST fails when run in some time zones (such as America/New York).
https://github.com/enso-org/enso/blob/develop/test/Table_Tests/src/Common_Table_Operations/Date_Time_Spec.enso#L430

Apparently, a non-Postgres operation was also failing on the Mac CI.
This line had to be disabled: https://github.com/enso-org/enso/pull/7526/files#diff-93c052c2c93257f81a8f334151b8594439af66c0b914ac3169c2036cc3934ec2R701
As part of this task it may be worth to investigate this - if we can get a repro in Enso rather than Postgres it may be more useful to fix it. Hard to tell if the 2 problems are instance of one issue or 2 separate ones - let's investigate if they are related and if we can fix either or both of them.


enhancement:  restructuring NativeDatepicker

Is your feature request related to a problem? Please describe.

restructuring NativeDatepicker

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Closing as done


GitHub gist renders comment in YAML at start of GFM document as headings in overview

I created a gist containing multiple files, the first of which is a GitHub Flavored Markdown document which begins with YAML Metadata in the manner described at https://github.com/blog/1647-viewing-yaml-metadata-in-your-documents.
Inside of said YAML Metadata block, I have a YAML comment. In the view of the gist itself, this is handled correctly, as shown below -- the comment is not shown in the rendered document.

However, when I go to my gist overview, the comments are incorrectly rendered as document headings as shown in below.

URL of gist: https://gist.github.com/en90/3cae5db566f643437fa2
URL of my gist overview: https://gist.github.com/en90
I am using Firefox 42.0 on armv7l Ubuntu 14.04.3 LTS.
I hope github/linguist is the correct place to report this issue.

Hello, it's been almost a month and I haven't heard anything back on this. Ping.

Hi @en90 - sorry I missed this earlier. This isn't the correct place to report this - please email<EMAIL_ADDRESS>with this bug report.


Export gives "NullPointerException"

Hi!
I've been trying to export data out from database, but im getting NullPointerException all the time.
Data inside imported is one of the samples in Importer_Exporter\samples\Berlin\CityGML\Gasometer_LoD2
Data is imported inside without problem, but when trying to export it gives this exception?
Im not using any filters while exporting either..
Is there way to get more details about error?
I'm using 4.2.0 version of Importer/Exporter

Hi, which database (postgis or oracle), and which version of it are your using?
Could you share a screenshot bild of the console window showing the NullPointerException?

Hi @yaozhihang !
Details what im using:
3DCityDB ->
4.0.1 version
Database ->
PostgreSQL  11.5
SRID:
urn:ogc:def:crs,crs:EPSG:6.12:3068,crs:EPSG:6.12:5783
Tutorial ->
https://github.com/3dcitydb/tutorials/blob/master/3DCityDB_V4.0_Hands-On_Tutorial.pdf
Data what im trying to import:
\Importer_Exporter\samples\Berlin\CityGML\Gasometer_LoD2\Gasometer.zip
Validation ->

Import ->

Database report ->

Boundingbox calculation is never finished (I let it calculate 2h without result) ->

Export error ->

Many thanks for sharing the info. It is a weird issue. Could you do a test with the newest version of the Importer/Exporter (v4.2.3) and 3DCityDB (v4.0.3)?
https://github.com/3dcitydb/importer-exporter/releases/tag/v4.2.3
You may also change the logging level to DEBUG (see the screenshot below). The console window of the Importer/Exporter will hopely print out more details about the NullPointerException when it occurs again.

Thank you @yaozhihang for your intrest on my case!
I installed v4.2.3 from link you send and installed everything from start.

Dropped old database with DROP_DB.bat
Created new database with CREATE_DB.bat
SRID same like last time:
3068
Height system default (Tried also with 5783)
urn:ogc:def:crs,crs:EPSG:6.12:3068,crs:EPSG:6.12:5783
Made "log level" to DEBUG
Imported same data from samples Gasometer_LoD2\Gasometer.zip
Bonding box cannot be calculated still? (Is there anyway to check some log what import/export is processing while its calculating?)
Tried to export data, but have same error..

Tried also with different log levels, but all give same error log?
Will tmr check inside code little too. If I could get inside little bit how importer / exporter is calculating bounding box. Its not so much data anyways. So maybe there something there?

Okay.. So figured it out.. My "environment variables" JAVA_PATH was showing to jdk... I guess I've forgotten to change it back to jre when I was working with other project..

Could you do the followings?:

export the config file of your Importer/Exporter vir the the menubar button "Projeckt -> Save Project As..."
remove your private information (e.g. DB connection password) from the exported config file
share the config file via this github channel, or send me via email zyao[at]virtualcitysystems.de

This config file will help me to quickly find out the issue cause. Thanks.

Hi @yaozhihang!
Thank you again. But it seems to work now like its suppose to. My JAVA_PATH was wrong and after changing it works like a charm :)
Thank you!

Great to hear that you were able to fix the issue, @AkiTuomaala. Are you able to share some more information on what solved the issue? I am also using a JDK, and my JAVA_HOME is pointing to that JDK. Moreover, my PATH variable contains a reference to JAVA_HOME/bin as well.
With these settings, I have not experienced a similar issue like yours so far, and I guess using a JDK should work just fine. So, is there something else in your setting that might have caused the expection?

Hmm.. Well I also updated Postgresql from 11.5 -> 11.7
But I tried after that update to create export, but it gave me same null error..
Made my JAVA_HOME back to jdk and it stopped working. So there is something in there.. Will try to play around with java variables and will tell if something comes up.

Hi, I am having a similar problem when running an export from shell. The same export runs well in the importer/exporter gui. The kmlExport runs well in both shell and gui. Have not tested the importer.
Tested with updated jre and jdk with same result. JAVA_HOME is set and the path aswell.
Any thougths on this? Have you come up with any @AkiTuomaala ?

@mulfvik, can you please share your config file so that we can use it for testing? Please remove any database connection details and passwords beforehand.

@mulfvik, well, I could easily reproduce your issue and it's a bug. Will fix it and let you know soon.

@mulfvik, fixed in master (81692828ee52acfcdb611cb76e6681eafd0117ea). You can build a new Importer/Exporter from the master branch following this short guideline.

Thank you @clausnagel for this quick fix. Back on track.

Closing this issue because adapting the JAVA_PATH variable fixed the initial problem.


RFE: machine readbale dependency graph

Could I please get the dependency graph in a machine-readable form, preferably a single json file?
Clicking in the web app to explore a complex dep tree ultimately leads me to loops and dead ends. I basically get lost. I need the data, so I can visualize my own subgraph of what I need to see.
What needs to be in the data:

components/source packages
binary packages
binary packages mapped to source packages (edges from binary packages to source packages)
requires (edges from binary packages to binary packages)
buildrequires (edges from source packages to binary packages)
binary packages and/or components mapped to workloads
information about unwanted-ness for each binary package and/or component

Thanks.

In many places, you can change html to json in the URL and get some data. That works in workloads and (if I remember correctly) in views as well. Probably doesn't have everything you're asking for, but it does have something.
For plain lists scroll down on this page: https://tiny.distro.builders/view--view-eln.html
Otherwise everything you're asking for sounds reasonable and shouldn't be hard, I'll have a look. In the mean time, would you please help me identify what you found and what's missing?


js/ts2civet

Not trivial, but some kind of js2civet/ts2civet reverse transpiler would help adoption. Something akin to https://js2coffee.github.io.

its still in an early phase, but ts2civet (web demo) exists


1170 | Compare Strings by Frequency of the Smallest Character | C++

Title - Compare Strings by Frequency of the Smallest Character
What will change - C++ solution for the problem will be added
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign me this task 😄


chore(main): release 0.0.0

:robot: I have created a release beep boop
0.0.0 (2024-03-25)
Continuous Integration

集成 GitHub Actions，Husky，Commitlint (d76a779)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/thelastcookies/WEB-BASE/releases/tag/v0.0.0 :sunflower:


Browserify compatibility

It'd be nice if I could
require("bossview")
Thanks

I'm not sure about what browserify does exactly, but you can do this using Require.JS and its sugar syntax. I do this all through my projects:
    var App = require("app");
    var BossView = require("bossview");


[DO NOT MERGE] interlock: correct proxy constraint procedure

As of UCP 3.0.2 changes to ProxyConstraints are not respected on config update.

fixed shell line ending and force-pushed

why perform a service ls --filter=? is this more better than

docker service update ... ucp-interlock-proxy?

If you have more than one service cluster, what is the service name for the non-default clusters? ;-)

Had a chat with @mbentley.
This PR currently cuts when it needs to add.  Core config determines what happens when ucp-interlock-proxy needs to be created.  Like at install or restore from backup time, or in a docker service rm ucp-interlock-proxy moment.  So this section of the docs really needs to describe precedence: sometimes you'll want to docker service update, but you'll also want to make sure you edit the core config.
I'll fix this up and drop the [DO NOT MERGE].

@trapier makes total sense

Deploy preview for modest-edison-79d82e ready!
Built with commit c58c9609cd06cde41088c9538fe8c18da8ba7ea5
https://deploy-preview-7016--modest-edison-79d82e.netlify.com

Deploy preview for modest-edison-79d82e ready!
Built with commit d6f280dc3047430232f95398dafb1ef61e7a43f4
https://deploy-preview-7016--modest-edison-79d82e.netlify.com

Deploy preview for modest-edison-79d82e ready!
Built with commit ca9775e4aa78d2189b29aae6a2df162d444c425f
https://deploy-preview-7016--modest-edison-79d82e.netlify.com


feat: add Reactor support

resolves #627
Hello @martinbonnin,
I've added Reactor support for non Android projects.
I'm working on Android integration based on RxAndroid to get Android aware schedulers.
Thanks

@aoudiamoncef: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Hi @martinbonnin,
LGTM too

CI failed on metalava signatures. For some reason they need to be generated with JDK8. I just pushed an update

Thanks for the contribution!

@martinbonnin
Please, could you add missing Reactor documentation url to Readme.md
Reactor
thanks

PR for adding the doc topic: https://github.com/apollographql/apollo-android/pull/3141


use dynamic_thread_count in validation tests

One particular test used to fail in cases where Sys.CPU_THREADS < Threads.nthreads(). I believe it was an issue with the test, not an issue with the library. This hopefully fixes it. It also adds Sys.CPU_THREADS < Threads.nthreads() configurations to the CI.
This should be enough to make https://github.com/JuliaSIMD/PolyesterWeave.jl/pull/12 work.

The second commit (adding CPU_THREADS=1 to CI) is just out of abundance of caution.


Can eval results logged as table artifacts be compared through runs?

With eval results logged as table artifacts, comparing metrics through more than two runs does not seem intuitive (or possible?).
Example: try to compare Mistral and distilgpt2 on the hellaswag task (you open one json and then click on the other one and choose "compare"), but you cannot do that on multiple runs (see Figure 1)
One can save table results within the run, by adding something like
        wandb.log({task_name: task_table})

to log_evaluation_artifact in jobs/lm_harness/entrypoint.py`. This allows to join information from multiple runs, still it is not clear how to use aggregated info (eg.  mean and std) in the same plot (see Figure 2)
I think artifacts have some additional value (e.g. versioning) wrt run data. Still, they are probably not the best if want to have some quick comparisons within wandb panels and reports. We should agree on how we want to log this information and whether we want to rely on wandb for aggregated plots or if we want to access artifact data programmatically.
(my 2 cents: perhaps as a start we could have both artifacts and run info to simplify wandb plotting, then evaluate if we miss anything after we run a large-enough set of evaluations)

Closing issue as wandb became optional


Custom moon won't load

Everytime I try to go to the menu it just gets stuck on this warning and nothing else happens

Still doesnt work for me

Resolved in future versions of the project.


Failed to fetch advisory database: git operation failed

Describe the bug
cargo works with the combination of below ~/.gitconfig and ~/.cargo/config , but cargo deny check advisories fails with errors.
~/.gitconfig
[url "git@github.com:"]
        insteadOf = https://github.com/

~/.cargo/config
[net]
git-fetch-with-cli = true

Error:
2022-01-19 04:07:41 [ERROR] failed to fetch advisory database: git operation failed: failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

To Reproduce
Steps to reproduce the behavior:

create ~/.gitconfig and ~/.cargo/config with the content above
run setup ssh keys for git cli
run cargo update against any crate, it should work fine
run cargo deny check advisories, it fails with error above

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:

OS: windows 11 / wsl2 Ubuntu 20.04
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Resolved by #420


Support BigQuery Job geo-regionalization

We need to support BigQuery Regionalization by adding location to various Job-related methods and API calls:

jobs.get

[ ] Add location optional argument to Project#job

jobs.cancel

[ ] Send location value to API call made in Job#cancel

jobs.getQueryResults

[ ] Send location value to API call made by Job#data

[ ] Send location value to API call made by Job#wait_until_done!

jobs.insert

[ ] Add location attrs to updater for Project#query, Project#query_job, Dataset#query, and Dataset#query_job

[ ] Add location attrs to updater for Table#copy, and Table#copy_job

[ ] Add location attrs to updater for Table#extract, and Table#extract_job

[ ] Add location attrs to updater for Dataset#load , Dataset#load_job, Table#load, and Table#load_job

[ ] Add location to API call made by Job#rerun! (possible optional argument as well?)

It might be helpful to reference the Python changes at https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5071. The system test was especially useful in finding gaps in the implementation.

@tswast Any idea what is causing this error?
Google::Cloud::Bigquery::bigquery#test_0011_should run a query job with location in a block updater:
Google::Cloud::InvalidArgumentError: invalid: Job could not be run in selected location.
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/lib/google/cloud/bigquery/service.rb:401:in `rescue in execute'
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/lib/google/cloud/bigquery/service.rb:395:in `execute'
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/lib/google/cloud/bigquery/service.rb:280:in `job_query_results'
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/lib/google/cloud/bigquery/query_job.rb:863:in `ensure_schema!'
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/lib/google/cloud/bigquery/query_job.rb:331:in `data'
    /Users/quartzmo/code/google/codez/google-cloud-ruby/google-cloud-bigquery/acceptance/bigquery/bigquery_test.rb:157:in `block (2 levels) in <top (required)>'

  it "should run a query job with location in a block updater" do
    region = "EU"
    job = bigquery.query_job publicdata_query do |j|
      j.location = region
    end
    job.must_be_kind_of Google::Cloud::Bigquery::Job
    job.reload!
    job.location.must_equal region
    job.wait_until_done!
    rows = job.data
    rows.total.must_equal 100
  end

I'm using project helical-zone-771, which is supposed to be whitelisted. Is it something to do with the public dataset?

Line 157 of the test is: rows = job.data

@quartzmo Public datasets live in the US location. Unfortunately, that means they cannot be queried from the EU.

In the Python system tests, I loaded a teeny table to query in a non-US region. https://github.com/GoogleCloudPlatform/google-cloud-python/blob/d44dc25bb05f94c71dba0beef32c5303eaa38641/bigquery/tests/system.py#L610-L706

@tswast Great, thank you! I'll do the same.


Foil cards feature

Add option to buy and sell foil cards with the bot.

when will we get it ?

any ETA ?

any ETA ?

Next update which i will be working on soon, feel free to join our discord server where we post announcements and info about the updates.
Discord
We push updates based on donations and stars activity on the project:
Leave an Star
Donate


【提交提案 No.83】PaddleDTX/dai 网络支持 Fabric

【提交提案 No.83】PaddleDTX/dai 网络支持 Fabric

 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.


Fixes #918 move from stedolan/jq to jqlang/jq

Description
Moves JQ repo to new owner jqlang as the 301 redirect fails.
Motivation and Context

[ ] I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)

How Has This Been Tested?
make test
make e2e
➜  arkade git:(jq-redirect-fix) ./hack/test-tool.sh jq
+ ./arkade get jq --arch arm64 --os darwin --quiet
+ file /Users/matt/.arkade/bin/jq
/Users/matt/.arkade/bin/jq: Mach-O 64-bit executable x86_64
+ rm /Users/matt/.arkade/bin/jq
+ echo

+ ./arkade get jq --arch x86_64 --os darwin --quiet
+ file /Users/matt/.arkade/bin/jq
/Users/matt/.arkade/bin/jq: Mach-O 64-bit executable x86_64
+ rm /Users/matt/.arkade/bin/jq
+ echo

+ ./arkade get jq --arch x86_64 --os linux --quiet
+ file /Users/matt/.arkade/bin/jq
/Users/matt/.arkade/bin/jq: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=c159e8a134ee222019dfbac0a1af4bc94b302eb0, with debug_info, not stripped
+ rm /Users/matt/.arkade/bin/jq
+ echo

+ ./arkade get jq --arch aarch64 --os linux --quiet
+ file /Users/matt/.arkade/bin/jq
/Users/matt/.arkade/bin/jq: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=eac34d86f35a499d8b42cb9c2532c0180239a1e1, with debug_info, not stripped
+ rm /Users/matt/.arkade/bin/jq
+ echo

+ ./arkade get jq --arch x86_64 --os mingw --quiet
+ file /Users/matt/.arkade/bin/jq.exe
/Users/matt/.arkade/bin/jq.exe: PE32+ executable (console) x86-64, for MS Windows
+ rm /Users/matt/.arkade/bin/jq.exe
+ echo

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Documentation

[x] I have updated the list of tools in README.md if (required) with ./arkade get --format markdown
[x] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s

[ ] I have tested this on arm, or have added code to prevent deployment

hmm let me peek at that

Why didn't the unit tests need to change?
Are there none? (if so, can we add the required ones?)
We then just need this running
https://github.com/alexellis/arkade/blob/master/hack/test-tool.sh

updated the description with that output

This output looks like it may be incorrect:
+ ./arkade get jq --arch arm64 --os darwin --quiet
+ file /Users/matt/.arkade/bin/jq
/Users/matt/.arkade/bin/jq: Mach-O 64-bit executable x86_64
+ rm /Users/matt/.arkade/bin/jq
+ echo

Or is there no arm64 binary for Darwin for jq?

Maybe the jq app just lacks those architectures, or maybe the template is wrong?