text:
Author page should display author details

Scenario
Given an author named 'Alan Turing'
When a user visits Turing's details page
Then no error should occour
Hints
A 'show' page displays an author's details.
In a test, visit the show page of @alan with visit author_path(@alan).
Create a separate file for author show page feature tests. Make sure it ends with _spec.rb, so that RSpec recognizes it as a test and runs it.
Test for existence of text on a page using the have_text matcher:
expect(page).to have_text(...).
Create a show action on the AuthorsController and a 'show' view (app/views/authors/show.html.erb).
Here is the relevant section (5.7) of the Rails Guide.
Tip: FactoryBot.create :author creates and saves a valid author object in your tests. If you un-comment the code in spec/factories/authors.rb, the author will be initialized with meaningful values.
Error

Got AbstractController::ActionNotFound: The action 'show' could not be found for AuthorsController

7 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

Sorry, it's not working for me yet:
Scenario
Given an author named 'Alan Turing'
When a user visits Turing's details page
Then it should show Turing's first name, last name and homepage
Error

Expected to find text "alan" in "über die show methode aufgerufen!\npaper management system\nyou are seeing the rendered view of 'views/home/index.html.erb'"

If you have problems solving this task, please don't hesitate to contact the teaching team!

Sorry, it's not working for me yet:
Scenario
Given an author named 'Alan Turing'
When a user visits Turing's details page
Then no error should occour
Error

Got NoMethodError: undefined method `first_name' for nil:NilClass

If you have problems solving this task, please don't hesitate to contact the teaching team!


text:
🛑 BestQA_GO is down

In 31e2770, BestQA_GO (https://www.bestqa.net/go/bestqa_dev/up) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BestQA_GO is back up in 6a50a52.

source: gharchive/issue

repo: swuecho/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 BestQA_GO is down

In 7c5525d, BestQA_GO (https://www.bestqa.net/go/bestqa_dev/up) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BestQA_GO is back up in 62b0d16 after 6 minutes.


text:
🛑 Random site is down

In 450410e, Random site (https://www.southernjive.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Random site is back up in a1350c3.

repo: sxa/aoupptime


text:
🛑 Random site is down

In 01339c4, Random site (https://www.southernjive.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Random site is back up in 902956b.


text:
🛑 雙龍職棒SLB is down

In 00f647f, 雙龍職棒SLB (https://slbtw.cf/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 雙龍職棒SLB is back up in 2a0807a.

repo: sxadxsx/upptime


text:
nix installation error: invalid SRI hash "..."

What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
kitty 0.36.4
yazi --debug output
not applicable

Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (yazi --debug) to the nightly that I tried
Describe the bug
Trying to compile my nixos system with the default nix config in the official yazy website but i get the error exactly on the hash implementation before the code starts.
Minimal reproducer
{pkgs, ...}: let
	yazi-plugins = pkgs.fetchFromGitHub {
		owner = "yazi-rs";
		repo = "plugins";
		rev = "...";
		hash = "sha256-...";
	};
in {
	programs.yazi = {
		enable = true;
		enableZshIntegration = true;
		shellWrapperName = "y";

		settings = {
			manager = {
				show_hidden = true;
			};
			preview = {
				max_width = 1000;
				max_height = 1000;
			};
		};

		plugins = {
			chmod = "${yazi-plugins}/chmod.yazi";
			full-border = "${yazi-plugins}/full-border.yazi";
			max-preview = "${yazi-plugins}/max-preview.yazi";
			starship = pkgs.fetchFromGitHub {
				owner = "Rolv-Apneseth";
				repo = "starship.yazi";
				rev = "...";
				sha256 = "sha256-...";
			};
		};

		initLua = ''
			require("full-border"):setup()
			require("starship"):setup()
		'';

		keymap = {
			manager.prepend_keymap = [
				{
					on = "T";
					run = "plugin --sync max-preview";
					desc = "Maximize or restore the preview pane";
				}
				{
					on = ["c" "m"];
					run = "plugin chmod";
					desc = "Chmod on selected files";
				}
			];
		};
	};
}

Anything else?
No response

i dont understand, what should i change?

repo: sxyazi/yazi


text:
Shift char keymap

Fix #166

What is your autoformat setting, I use the default one which comes with rust-analyzer, seems like it is different from yours.

uh, I use rustfmt nightly and https://github.com/sxyazi/yazi/blob/main/rustfmt.toml as its config

I tested it and it recognized <S-a> as a.

In my opinion, a keymap <S-a> does not make sense, we can just use A. If you want to support <S-a> style, then we will have to think about all other cases, for example <C-S-/> vs <C-?>. And if we take different keyboard layouts into the picture (French or Germania one for example), things will get quite complicated because we don't know which character is the "shifted" one.

I think not supporting <S-a> should result in nothing happening; let it fail silently, just like Yazi's current behavior, rather than recognizing it as a.

Can you help me check again? I decided to work around the inconsistency for now because it kinda breaks the app on Windows. I'll come back to this issue later if the crossterm team decides to address it.

source: gharchive/pull-request


text:
Optional prop by default for Option<T>

For components with many fields, often many of these are optional. It would be a big ergonomic win to forego these when calling the component. Props can be layed out like so:
#[derive(Prop)]
struct Props {
    name: String,
    age: i32,
    custom_style: Option<String>, // Optional
}

And since custom_style is an Option, if the user doesn't put this in the component call, it will be set to None, otherwise any value passed in will be wrapped in Some.
If we still want to allow users to use normal Options with normal functionality, perhaps this special functionality can be enabled with a flag:
#[derive(Prop)]
struct Props {
    name: String,
    age: i32,
    #[optional]
    custom_style: Option<String>, // Optional
}

Dioxus allows for optional props with their #[inline_props] macro, so look to them for reference.

You can do this:
#[derive(Prop)]
struct Props {
    name: String,
    age: i32,
    #[builder(default)]
    custom_style: Option<String>, // Optional
}

#[builder(default)] used the default if not given.

I agree, and if it's by default, then I would think any args passed  in would automatically be wrapped in a Some(), rather than each arg passed requiring the Some() wrapping

authors: jafioti johansmitsnl

repo: sycamore-rs/sycamore


text:
Move to if-expressions

Promote if-statements to be if-expressions!

This is currently impossible to do in a good way. (A good way is a way that works for all programs) It is currently not possible to write the lua-compiler without a large amount of hassle. Consider this code:
start :: fn ->
	print' 1 + if true do ret 4 else 5 end
end

When running this code, we wouldn't expect an output. But the lua-code I could generate would look like this:
function start()
	print' a + (function() if true do ret 4 else ret 5)()
end

So returns wouldn't work in if-statements, not good enough. Since functions cannot return to outer functions, so we cannot use a function.
But you think to yourself - surely this has to be possible! We're just not thinking hard enough, here's another example without functions:
function start()
	print' a + (function() if true do ret 4 else ret 5)()
end

sounds like an intermediate representation then. i havent thought about it specifically but it might be worth to check if there are any other changes we could make to the bytecode to make something else easier.

that is to say, maybe calling the bytecode an IR is a better mental model than "we have two compile targets but one depends on the other". and then remove the bytecode from the cli.

authors: FredTheDino sornas

repo: sylt-lang/sylt-lang


text:
🛑 Absolute Landscape Solutions is down

In 5d7f2ed, Absolute Landscape Solutions (https://absolutelandscapesolutions.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Absolute Landscape Solutions is back up in 0a79cc2 after 35 minutes.

repo: symapex/upsite


text:
🛑 Bring Back Clean is down

In 155cfb1, Bring Back Clean (https://bringbackclean.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bring Back Clean is back up in 256e2d3 after 1 hour, 31 minutes.


text:
🛑 Absolute Landscape Solutions is down

In b40a335, Absolute Landscape Solutions (https://absolutelandscapesolutions.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Absolute Landscape Solutions is back up in 0c3c535 after 2 hours, 6 minutes.


text:
🛑 Landscape Topia is down

In ad9a2aa, Landscape Topia (https://landscape-topia.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Landscape Topia is back up in 69525fe after 20 minutes.


text:
🛑 Landscapers Fortworth is down

In 9cc45bf, Landscapers Fortworth (https://landscapersfortworth.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Landscapers Fortworth is back up in c89d68c.


text:
🛑 Patio Pros Elpaso is down

In 171b077, Patio Pros Elpaso (https://patioproselpaso.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Patio Pros Elpaso is back up in a4cf111 after 10 minutes.


text:
🛑 Prism Carpet Cleaning is down

In b0049fd, Prism Carpet Cleaning (https://prismcarpetcleaningtx.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prism Carpet Cleaning is back up in 910b887 after 47 minutes.


text:
🛑 The AZ Clean Expert is down

In e50dc97, The AZ Clean Expert (https://theazcleanexpert.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: The AZ Clean Expert is back up in 7bed740 after 22 minutes.


text:
🛑 Dragues Well Repair is down

In 59b245e, Dragues Well Repair (https://dragueswellrepair.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dragues Well Repair is back up in 935fe03 after 1 hour, 3 minutes.


text:
🛑 Cleanasium is down

In 09505ee, Cleanasium (https://cleanasium.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cleanasium is back up in 28d87cf after 41 minutes.


text:
🛑 Mr Drywall TX is down

In b878819, Mr Drywall TX (https://mrdrywalltx.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mr Drywall TX is back up in 252357e after 2 hours, 7 minutes.


text:
🛑 Get Fence Lab is down

In af4d8dc, Get Fence Lab (https://getfencelab.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Get Fence Lab is back up in 35e0c5a after 1 hour, 8 minutes.


text:
🛑 Wall Doctor Denver is down

In 440a324, Wall Doctor Denver (https://walldoctordenver.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wall Doctor Denver is back up in 999e225 after 2 hours, 19 minutes.


text:
🛑 My Drywall Guy is down

In 0192f29, My Drywall Guy (https://my-drywall-guy.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My Drywall Guy is back up in a062f83 after 20 minutes.


text:
🛑 Agati Well Repairs is down

In 2718a00, Agati Well Repairs (https://agatiwellrepairs.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Agati Well Repairs is back up in 9833491 after 10 minutes.


text:
🛑 Landscapers Oakland is down

In c5aefb2, Landscapers Oakland (https://landscapersoakland.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Landscapers Oakland is back up in 2a918a7.


text:
🛑 Meat Market Phoenix is down

In 0536caa, Meat Market Phoenix (https://meatmarketphoenix.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Meat Market Phoenix is back up in 09a6f8a after 639 days, 20 hours, 53 minutes.


text:
Collection of improvements

Changes:
Fixes/Updates:

Environment variables now work.
Readme updated to reflect these changes and generally tidied up. I'm sure it still needs work.
MySQL container renamed from mysql56 to mysql. Like with the PHP container, the MySQL container doesn't defined/constrain the version, and we actively use 5.7 thus it could be misleading.

Environment vars updated:
Project vars (defined in a remote docker.env file).

DOCKER_CONTAINERS
DOCKER_PHP_VERSION
DOCKER_MYSQL_VERSION
DOCKER_NODE_VERSION
DOCKER_YARN_PATH

User vars (defined in a local .env file).

DOCKER_SHARED_PATH
DOCKER_PROJECT_PATH
DOCKER_ATTACHED_MODE
DOCKER_PHP_COMMAND

The goal here is to move variables out of the 3 core docker files so that:

Easier to update the core docker files across projects.
Easier to update user/project docker config.
More obvious where user/project docker config is stored (and which is which).

The DOCKER_PROJECT_PATH is specifically to separate project data and avoid issues like muddled logs, or using different mysql versions. The shared path still exists for the composer-cache, etc.
New flags for du.sh:

-s Stops all running containers before starting new containers.
-k Kills all running containers before starting new containers.
-r Removes all stopped containers before starting new containers.
-p Pulls down latest images for new containers before starting them.
-c Cancel starting containers (like doing 'ctrl+c' right before containers start).

You can combine these flags and each flag will be executed in the given order.
Common uses:

./du.sh -s when swapping projects (or -k when you don't care to retain container states).
./du.sh -kr when you want to reset the container environment (like after adding .env vars).
./du.sh -p when starting a project you haven't used in a while.
./du.sh -pc when you want to update a project's images, but not start the containers.

I think this will be better by introducing a separate DOCKER_PROJECT_DATA_PATH that uses DOCKER_SHARED_PATH as its base. Reasoning being that some paths - composer cache etc - are meant to be shared, whereas some like elastic / mysql are okay being project specific.

In that case, would it be better if the paths were totally separate? Thus you can totally control where each project's data and the shared data go, and they can just default to ~/docker and ~/docker/proj ? Keeps the docker-compose.yml a little cleaner too.

Sure, they can be defined totally separately, but the default for DOCKER_PROJECT_DATA_PATH would be DOCKER_SHARED_PATH + basename(pwd)

I'd also like to fix the env stuff. Can you advise on where to look/get started?

By fix the env stuff, you mean make it so that stuff in .env overrides things explicitly set in du.sh? Not sure that's going to be exactly possible, but you may have some success by source .env in the du.sh script, and only setting params that haven't  been set ?

@nyeholt I've done a bunch more work, would like your thoughts?

@nyeholt Changes made, description updated. Thoughts/discussion desired.
I especially want to chat about whether env vars need to be commitable to a repo, or just stored in a wiki, etc.

@JoshuaCarter good work. Based on what we chatted about the other day, I think the last bit is to add in support for configuring the immutable project settings that get committed to the repo - maybe in project.env?  The following should all be set in that file

DOCKER_CONTAINERS
DOCKER_YARN_PATH
DOCKER_PHP_VERSION
DOCKER_MYSQL_VERSION
DOCKER_NODE_VERSION
DOCKER_PHP_COMMAND

This should be sourced in after the .env file (ie so that someone can't override it in their local env).

@nyeholt Done, along with a couple other small changes.
I kept the DOCKER_PHP_COMMAND as a local env var as I'm guessing this was a typo and wouldn't want debugging conf to be part of a project's repo, etc? If there are commands which a project needs to run as part of it's core config, perhaps there needs to be another var?
Anyway, checkout the changes and let me know what you think :)

Yep I meant to cut that off once I realised it wasn't PHP_VERSION and guess I missed it :).
So lastly - can you add something to a changelog.md file that details what old config was and what it should be now? ie is PHP_FPM_EXTENSIONS now DOCKER_PHP_COMMAND ? What things do I need to change in existing projects if I put this new docker-compose in place ? Then good to merge this tomorrow.

@nglasl Done. We can PR now? :D

@nyeholt I accidentally pinged nathan instead of you in the last comment... >_>

authors: JoshuaCarter nyeholt

repo: symbiote/docker-project


text:
Remove "polyfill-icon" from composer replace

AFAIK, symfony/polyfill-iconv isnt required by any package in symfony/*

Because we require ext-iconv, we can have this replace.
:-1: since this will trigger the installation of the polyfill for nothing as soon as another package requires the polyfill.

I did not anticipated so many packages still require it directly... https://packagist.org/packages/symfony/polyfill-iconv/dependents?order_by=downloads

authors: nicolas-grekas smnandre

repo: symfony/skeleton


text:
Output enhancements

replaced '★'  by ⭐
replaced 'star' for windows by '*'
replaced 'love' for windows by '♥'

Hello, thanks for your PR.
Unfortunately, this change is not possible:

the star emoji creates issues on some docker terminals, see https://github.com/symfony/thanks/pull/34
the ♥ emoji (and any UTF-8 chars) are not correctly displayed on the cmd.com terminal, so this would break the display on them on Windows

Closing as explained. Thanks for the PR anyway.

authors: azjezz nicolas-grekas

repo: symfony/thanks


text:
[Translator] Clean code to suppress warnings

I've had enough of those TS warnings 😅
/home/runner/work/ux/ux/src/Translator/assets/src/formatters/formatter.ts
  82:38   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  86:47   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  86:107  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  87:62   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  87:124  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  89:30   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  90:33   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  92:34   warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

/home/runner/work/ux/ux/src/Translator/assets/src/translator.ts
  28:26  warning  'Translations' is defined but never used  @typescript-eslint/no-unused-vars

(ex: https://github.com/symfony/ux/actions/runs/7951722335/job/21705480408)
--
The tests are green, but if someone want to checkproof ?

@Kocal does this look good to you?

Thanks Simon!

authors: smnandre weaverryan

repo: symfony/ux


text:
[Doc] Fix some syntax issues in Typed docs

Q
A

Bug fix?
no

New feature?
no

Issues
-

License
MIT

Fixes these errors:
Error while processing "note" directive:
"Content expected, none found." in file "index" at line 80

Found invalid reference "strings` argument in file "index"

Thanks Javier.

authors: javiereguiluz kbond


text:
[MonorepoBuilder] Add ConflictingUpdater

Closes https://github.com/symplify/symplify/issues/3077

Merging as it is to avoid rebase hell.
Let's test int in the wild :)

repo: symplify/symplify


text:
Delete Step in Integration Editor

Delete steps in the Edit Integration page.
fix #259

PR Storybook available here

authors: kahboom riccardo-forina

repo: syndesisio/syndesis-react


text:
memdb: merge nodeData and kvData to speedup access

This PR makes memdb save skiplist nodes and kvs together in one byte-slice. The performance of memdb is significantly improved with this change(it's believed that the CPU cache hit-rate goes up).
Benchmarks:
$ benchstat before.txt after.txt
name         old time/op  new time/op  delta
Put-8        1.08µs ± 1%  1.00µs ± 1%   -7.98%  (p=0.008 n=5+5)
PutRandom-8  1.85µs ± 1%  1.51µs ± 0%  -18.42%  (p=0.008 n=5+5)
Get-8        1.24µs ± 1%  1.13µs ± 1%   -9.54%  (p=0.008 n=5+5)
GetRandom-8  2.09µs ± 1%  1.69µs ± 1%  -19.17%  (p=0.008 n=5+5)

forced push to eliminate CI errors and minimize changes.
new benchmarks:
$ benchstat before.txt after.txt
name         old time/op  new time/op  delta
Put-8        1.08µs ± 1%  0.98µs ± 1%   -9.11%  (p=0.008 n=5+5)
PutRandom-8  1.86µs ± 1%  1.52µs ± 2%  -17.94%  (p=0.008 n=5+5)
Get-8        1.24µs ± 1%  1.12µs ± 1%  -10.26%  (p=0.008 n=5+5)
GetRandom-8  2.06µs ± 1%  1.67µs ± 1%  -19.01%  (p=0.008 n=5+5)

repo: syndtr/goleveldb

license_source: bigquery


text:
Track which items are trashed

Currently all trash earnings are grouped together, instead keep track of each individual item trashed for a breakdown of the trash category

Doesn't seem worth the energy unless there's demand

can look at inventory before and after "trash" event and do some calculation

repo: synndicate/sdv-earnings-tracker


text:
Can't add custom bootstrap element

My custom element won't show in admin area.
Code:
`<?php
namespace Syntro\SilverstripeElementalBootstrap\Elements;
use SilverStripe\Forms\FieldList;
use Syntro\SilverstripeElementalBootstrap\Controllers\BootstrapElementController;
/**

A custom bootstrap element.
*/
class BootstrapMyElement extends BootstrapElement
{
private static $table_name = 'Syntro_Custom_Elemental_BootstrapMyElement';
private static $title = 'My Element';
private static $singular_name = 'My Element';
private static $plural_name = 'My Elements';
private static $description = 'A custom bootstrap Element.';
/**

@var string
*/
private static $controller_class = BootstrapElementController::class;

/**

getCMSFields - get fieldlist for CMS

@return FieldList
*/
public function getCMSFields()
{
$fields = parent::getCMSFields();
// ...
return $fields;
}

/**

getType - get the translated name

@return string
*/
public function getType()
{
return _t(CLASS . '.BlockType', 'My Element');
}

}
`

have forgot to add it to allowed_elements in config


text:
Unable to start due to unknown error

Trying to start Discord.RSS-Web fails with below without any useful log indicating what could be the problem here.
/app/src $ npm start

> discord.rss-web@0.0.1 start /app
> node server.js

[2020-05-24 13:56:01] INFO : [W] Attempting to connect to databases...
[2020-05-24 13:56:01] INFO : [WM] Connected to MongoDB
[2020-05-24 13:56:01] INFO : [WM] Connected to Redis
[2020-05-24 13:56:01] INFO : [W] Databases connected. Spawning shards...
[2020-05-24 13:56:01] FATAL: [WM]
    size: 0
    timeout: 0
[2020-05-24 13:56:01] WARN : [WM] pino.final with prettyPrint does not support flushing
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! discord.rss-web@0.0.1 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the discord.rss-web@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2020-05-24T13_56_02_000Z-debug.log
/app/src $ vi /home/node/.npm/_logs/2020-05-24T13_56_02_000Z-debug.log
/app/src $ cat /home/node/.npm/_logs/2020-05-24T13_56_02_000Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.14.4
3 info using node@v12.16.3
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle discord.rss-web@0.0.1~prestart: discord.rss-web@0.0.1
6 info lifecycle discord.rss-web@0.0.1~start: discord.rss-web@0.0.1
7 verbose lifecycle discord.rss-web@0.0.1~start: unsafe-perm in lifecycle true
8 verbose lifecycle discord.rss-web@0.0.1~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/app/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle discord.rss-web@0.0.1~start: CWD: /app
10 silly lifecycle discord.rss-web@0.0.1~start: Args: [ '-c', 'node server.js' ]
11 silly lifecycle discord.rss-web@0.0.1~start: Returned: code: 1  signal: null
12 info lifecycle discord.rss-web@0.0.1~start: Failed to exec start script
13 verbose stack Error: discord.rss-web@0.0.1 start: `node server.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:310:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:310:20)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid discord.rss-web@0.0.1
15 verbose cwd /app/src
16 verbose Linux 4.19.84-1.ph3-esx
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v12.16.3
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error discord.rss-web@0.0.1 start: `node server.js`
22 error Exit status 1
23 error Failed at the discord.rss-web@0.0.1 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Note that only developers should be using this repo, not users. If you are a user, please refer to the docs linked on the README  https://docs.discordrss.xyz/setting-up/web-interface for instructions on properly running the web app as a user using the correct repo. This clone repo to ensure the correct versions are used between the bot and the web at all times.
Regarding your issue, errors should be more verbose now concerning login issues. Typically it's because you hit a rate limit, or your token is invalid

authors: Aqualie synzen


text:
feat(dal,rebaser-server): rebaser debounces dvu jobs

Send the set of values we intend to run DependentValuesUpdate on along with the rebase request if a non-blocking commit is requested. If values appear in the rebase request, send them to a task which will dispatch DependentValuesUpdate jobs in 5 second intervals, blocking until they finish, so that they run serially for a change set.
Note, DalContext commit will no longer send DependentValuesUpdate jobs to pinga (no other job types are affected). Instead it sends them to the rebaser and the rebaser will send them to pinga. blocking_commit still processes the job queue the same way as before, since we expect this behavior in tests. Our tests should be restructured to not require the blocking commits.

bors r+

repo: systeminit/si


text:
Support canonical names in arithmetic syntax

With packageConfigPaths, it's not possible to directly reference a package config itself in exclusion because we mistake the reference to the package config file as a package name that ends in .json and try to load package-name.json.json.
Even more generally, canonical names don't always normalize into their correct name. Only decanonicalize guarantees this.
We need some way to accomplish this.
Perhaps a syntax in the arithmetic expression to indicate this something like -
'`some/canonical/name.json` + jquery'

Where some/canonical/name.json is already canonicalized.

It has been done.

repo: systemjs/builder

license: mit


text:
トレンドウィジェットが正常に動作しない

トレンドウィジェットを開くと、存在しない notes/trend API を見に行くので内部エラーにより表示されない模様

Misskey 11.27.1

#3460

100万回ぐらい類似issue検索してもみつからなかったのになぜ........

「トレンド」だとかからない…

repo: syuilo/misskey


text:
Fix Prevent Updating

If you don't use the if conditional before unset it will cause a PHP warning.

PHP Warning: Attempt to modify property of non-object in /public_html/wp-content/plugins/w3-total-cache/inc/define.php on line 1652

PR for https://github.com/szepeviktor/fix-w3tc/issues/115#issuecomment-250959447


text:
SVG output incorrect on devices with high DPI

I built the library from master (as I wanted to use the new SVG output).
The SVG output on devices with a high DPI is incorrect.
I have provided a plunker and an image to demonstrate the issue I am seeing: https://plnkr.co/edit/o4mgY6i8H1RAOCWFWX2m?p=preview on a device with a high DPI draw in the red area, click on "Display as SVG Image" and see that the result is much smaller than expected.

This happens with PNG too. Device is a Galaxy Tab S2, pixel ratio is 2.

http://stackoverflow.com/a/28048865/1888468
I implemented this answer in an Angular 1 directive to solve both scaling and high resolution devices:
function resizeCanvas() {
	            var ratio =  Math.max($window.devicePixelRatio || 1, 1);
	            if (canvas != null){
		            canvas.width = canvas.offsetWidth * ratio;
		            canvas.height = canvas.offsetHeight * ratio;
		            canvas.getContext("2d").scale(ratio, ratio);
		            // redraw image
		            if (model[idLocal] != null) drawImageData(model[idLocal], canvas, ratio);
		            else signaturePad.clear();
	            }
	        }

	        angular.element($window).bind('resize', resizeCanvas);

	        signaturePad = new SignaturePad(canvas);

	        resizeCanvas();

	        // To keep aspect ration of the source image and fit it into the canvas
	        function drawImageData(imageData, canvas, pixelRatio){
	        	var img = new Image();
	            img.onload = function(){
	                var ct = document.getElementById('measure');
	                ct.appendChild(img);
	                var wrh = img.width / img.height;
	                var newWidth = canvas.width;
	                var newHeight = newWidth / wrh;
	                if (newHeight > canvas.height) {
	                    newHeight = canvas.height;
	                    newWidth = newHeight * wrh;
	                }
	                ct.removeChild(img);
	                canvas.getContext("2d").drawImage(img, 0, 0, newWidth / pixelRatio, newHeight / pixelRatio);
	            }
	            img.src = "data:image/png;base64," + imageData;
	        }

With SVG there seems to be an easy fix - just divide maxX and maxY (which are used in viewBox attribute) by window.devicePixelRatio.
I'm not sure though how it relates to width and height attributes, which seem to be required by Firefox. I'll release a new beta version as soon as I figure it out.

@jamcoupe I've just released a new version, where this is hopefully fixed: signature_pad@1.6.0-beta.9. Could you check it out? If it works, I think I can finally release 1.6.0 stable ;)

authors: jamcoupe kashban szimek


text:
feat: mention Netlify T3 App Deployment page in scaffolded README.md

Is your feature request related to a problem? Please describe.
Since the T3 docs now have a page for Netlify under the "Deployment" section, mentioning it alongside Vercel and Docker will be a good addition IMO.

Describe the solution you'd like to see
Mention Netlify alongside Vercel and Docker, including a link pointing towards -> https://create.t3.gg/en/deployment/netlify
Describe alternate solutions
Keep it as it is?
Additional information
No response

Done in https://github.com/t3-oss/create-t3-app/commit/020209c32f15ae0753632ee09ae02f8c0abda346

authors: AyanavaKarmakar juliusmarminge


text:
Missing SideEffect argument sanitation prevents confirm step

Expected behavior
When creating a SideEffect, it should be ensured that the address parameters are passed as hex, and have the specified length. Other address format (for example ss58) should be rejected.
Actual behavior
With transfer side effects, we can submit in hex or as ss58. When passing the address as hex, everything works as expected.
When submitting in ss58 format, at first everything looks correct (SideEffect event is emitted, parameters in the event are correct, and executor can execute) but there is an underlying issue in the way circuit stores the address. The address is converted into Vec<u8> but uses some encoding that I don't fully understand, which results in different bytes being stored. The confirmation of the correctly executed SideEffect is now not possible, as the address specified in the event and circuit storage mismatch. This results in the funds being sent without the executor being paid (or locked forever on target for escrow).
Steps to reproduce
Using CLI @970e60474fedd0be80804600b52731754e359862 will submit the address as ss58. The side effect will be emitted and everything looks correct. The executor can execute (with a small modification, need to add .toHuman() in gateways/substrate/relayer.ts). When confirming, the to parameter will mismatch and reject the verification.

I'd be curious to know the breadth of this encoding issue. If it is true that storing ss58s is problematic, this issue extends beyond circuit and everywhere we use T::AccountId in a storage item.

authors: AwesomeIbex petscheit


text:
Anolis supported multiple references linked by a single id

Prior to the move to Bikeshed, WHATWG cross-references were managed in a separate repo, which allowed a single reference ID to point to multiple actual references.
For example, here's the reference entry for the ID "HTTP":
https://github.com/whatwg/xref/blob/c275b8f3c9d1ae654b42c3db5ad2c723e77c8e8e/references.json#L339-L369
There are other examples in the same file.
It doesn't appear that SpecRef supports this concept, and the ID "HTTP11" there is an alias to just RFC 7230:
https://github.com/tobie/specref/blob/a6e795ff6de993110ffb4f34227f64ac62c488a9/refs/biblio.json#L1512-L1514

I think it's fine to wontfix this. We can convert those cases to multiple independent references instead. (That's what we've done in Fetch.)

That works for me. ^_^

authors: GPHemsley annevk tabatkins

repo: tabatkins/bikeshed


text:
Customize

Testcase から result を分離し、Testresult として作成・保存できるように変更。
できたこと

1 つの Testcase が複数の Testresult を持てるようになった

できてないこと

正規表現の対応が追いついていないのでテストの編集を行うと崩れる

一旦ここまでをマージ

自前のところでやろうとしていて変な PR を出してしまいました。失礼しました

repo: tabbyz/chibineko


text:
Add default hotkey explanation

The default hotkeys might be confusing to users. Add a tooltip that explains why they are what they are (which is: every other combination is used by something else).

Had second thoughts about this - it's not needed.

repo: tabfloater/tabfloater


text:
Jorwoods/download excel files from views

Built on top of #949 . Adds support for downloading excel crosstabs from views.

Thanks for taking this issue on! I found myself needing to do the same recently, and was exploring whether to just directly use the REST API given the limitation within the Python client. Any guidance on when this might make its way into master?
Really appreciate the work - this will be a big help to many.

@cdonahue-chartis Strange. I see the functions in master, but when I install 0.18 in a venv, I also do not see the excel functions.

@jorwoods Interesting. Glad I wasn't missing something. Please let me know if/when you have any updates on release timing. In the meantime, I'm able to use the dev branch and the Excel export works wonderfully. Thanks again.

authors: cdonahue-chartis jorwoods

repo: tableau/server-client-python


text:
SSL error for https://tachyons.io

For your information

We haven't implemented SSL so we don't serve the site over https.

authors: jmfayard mrmrs

repo: tachyons-css/tachyons


text:
Feature request: Dictionary Filters

Hello! I would like a way to filter the dictonary I am using (50k words) and make only words that are over 4 or 5 characters valid. I only see a way to filter triggers for the plugin in-editor but no filters on the dictionaries

Hi, @brimwats. Thank you for your FR :)
Would you tell me why ⚙Min number of characters for trigger doesn't satisfy a demand?

The dictionary I use is kpym/FrequencyDictionaries: Frequency dictionaries - one word per line simple text files because it is significantly more comprehensive than the default one you've added (I think). However, it does include words that are 3-5 letters long, but I don't want those to show up. Secondly, all "Min number of characters for a trigger" sets the min number of characters for a trigger of the app—it doesn't set a filter on the dictionary like what Completr (https://github.com/tth05/obsidian-completr) does.

(on the reverse side, Completr doesn't set a threshold for trigger like you do—neither plugin will let users do both, and using them together causes conflict)

Thank you for your explanation. I have understood 👍

thanks for asking!

@brimwats
I have updated beta version to obsidian-various-complements-plugin-beta v5.0.0-beta5 🚀
If you use BRAT, please confirm whether it works as you expected.

I am using (50k words) and make only words that are over 4 or 5 characters valid

Please set .{4,} or .{5,} to a Regex pattern option on Custom dictionary complements.
Note: This beta version includes many new updates, For details, please show Releases.

@tadashi-aikawa I'm sure it does! but getting errors from BRAT:

oh wait I see I did it wrong

For your reference.
https://github.com/tadashi-aikawa/obsidian-various-complements-plugin/issues/73#issuecomment-1030617308

Seems like this:  .{4,}

Should not trigger on >3, but it does:

Oh—I had to set the other setting (trigger on characters) again! It looks like it's working :D

With the regex set to .{5,} and min number of chatacters for trigger set to 6 this triggers on organges, as would be expected!

Thanks!
My only suggestion would be a slider for folks who don't know regex—but maybe my use case is advansed anyhow!

Thank you for your quick confirmation!

My only suggestion would be a slider for folks who don't know regex—but maybe my use case is advanced anyhow!

I thought so, too, but this seems an advanced use case, as you said. Therefore I prefer to be highly customizable than usability for everyone :)
I will release it as official today or tomorrow 👍
(Docs↓)

(Btw. I notice that prefix icons are almost hidden in your theme... 😅 )

yeah I was wondering what those were! I'm on Minimal

Fixed at 5.1.0.beta6 👍

Released at v5.1.0 🚀
https://github.com/tadashi-aikawa/obsidian-various-complements-plugin/releases/tag/5.1.0

authors: brimwats tadashi-aikawa


text:
Fix Warn > No repository field.

Tanami time wetness

authors: googleenterprize rafaelstz

repo: tadeuzagallo/GithubPulse


text:
add cool loaders

https://uiball.com/loaders/

https://whirl.netlify.app/

repo: taenykim/awesome-web-graphics


text:
Modified openvswitch and linux_host_bash to support OVS stats with DPDK.

Modified regex in openvswitch, added get_interface_statistic_counter
method.
Added option 'set autoneg' to modify_ports method.

Signed-off-by: Stepan Andrushko stepanx.andrushko@intel.com

@rbbratta, @esmacgil, @lijenni, please, review changes.


text:
is this work?

executable transactions is 0

If your chain head is increasing, then its fine.

authors: davidtaikocha viponedream

repo: taikoxyz/simple-taiko-node


text:
make golint 100%

http://goreportcard.com/report/taironas/route

looks good :)

repo: taironas/route


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい。
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒やされています。'

これから対応します。

c8c4283e58786ff55972cc4a4d930f32116632ee　で対応されました


text:
useLadleState doesn't change values upon state changes

Describe the bug
I'd like to be able to style stories per light vs dark mode. I found useLadleState hook in the public exports, but it seems stuck with the initial values as defined in the context file: https://github.com/tajo/ladle/blob/c229fd3ef187f12a260e5203c4dcdb88d7152a7e/packages/ladle/lib/app/src/context.ts#L13-L20
Can observe that the hook triggers (the console.log), it's just that the values aren't updated.
Reproduction

https://stackblitz.com/edit/ladle-epoh4u?file=vite.config.mjs,src%2Fbasic.stories.tsx

or:

import { useLadleState } from "@ladle/react";

export const World = () => {
  const [globalState] = useLadleState();
  console.log('globalState', globalState);
  return (

      Hey!
{JSON.stringify(globalState, null, 2)}

  );
};

Use UI to change Ladle state, e.g. toggle dark mode, RTL, etc.

BTW Stackblitz boilerplate didn't work out of the box, needed to add a vite.config.mjs and override default server.open value for npm run dev to not fail:
export default {
  server: {
    open: 'none'
  }
}

BTW Stackblitz boilerplate didn't work out of the box

Fixed that, thanks.
Frankly, not sure why
const [globalState] = useLadleState();
console.log('globalState', globalState);

doesn't update. Interestingly, it works inside of the project's monorepo (if you try it inside of example project).
Also, it's not a documented API - it probably should be. It might be also better to change it a bit and expose it directly as useLadleContext.

Interestingly, it works inside of the project's monorepo (if you try it inside of example project).

You're referring to this, right? https://github.com/tajo/ladle/blob/master/CONTRIBUTING.md#developing

Also, it's not a documented API - it probably should be.

Ah yeah, indeed. I should probably have started my issue by asking: what would be the official way to get the Ladle dark mode state in stories? 😅

It might be also better to change it a bit and expose it directly as useLadleContext.

If you already have plans to expose this kind of state through some other API I can wait for that and try it out when it's ready? Otherwise I could try to troubleshoot it further to see if I can find the culprit (although later on, I'm on traveling foot til next week).

expose this kind of state through some other API

Nah, I like using the hook + context to get access to the internal state and dispatch function. It's very flexible since it gives you the full access to everything.
I just need to figure out why it doesn't work.

Also, it doesn't work only in dev (server) mode.

Found a fix, released as v1.1.2.
Also added some docs for useLadleContext but keeping it marked as experimental for now.

authors: tajo viddo

repo: tajo/ladle


text:
[add] API通信をHiltで切り出すためのファイルを追加

以下のファイルを作成
Repository
IRepository
Module

MoudleでHttpClient(Android)を行う理由だが、
公式ドキュメントを見ると「builderパターン」のインスタンス生成の際にModuleで注入すると記述があった。
今回は、builderパターンを用いてはいないが、OkHttp等でbuilderパターンを用いてインスタンス作成が行われるのと同等の動作をするため、あえて切り出した。

@Provides を使用してインスタンスを注入する
型のコンストラクタ インジェクションができないのはインターフェースだけではありません。自分で所有していないクラスも、外部ライブラリに含まれているため、コンストラクタ インジェクションができません（Retrofit、OkHttpClient、Room データベースなど）。Builder パターンでインスタンスを作成する必要がある場合も同様です。

前回のコミットから以下の点を変更

LiveDataでflowから流れてきたデータを監視
LiveDataの監視をfragmentで監視する処理を切り出してネストを解消

repo: takasshii/yumemi-test


text:
'list' object has no attribute 'transpose'

I run the main.py but the Error message is 'list' object has no attribute 'transpose'
line 29, in frechet_inception_distance
real_images = np.transpose(real_images, axes=[0, 3, 1, 2])
how can I fix it, thanks

line '/real' should be './real'

bro what was the solutiuon you cant just gatekeep it.


text:
[Feature request] Could you please add tests?

It would be nice to see how various parts of the code could be tested.

Hi @ternaus Thanks for the idea. We are actually planning a follow up course on testing, documenting APIs, and a bunch of other such goodies. This course is meant to be more of a getting started with FastAPI than fully comprehensive. :)

@mikeckennedy
Hi Michael!
Any news on

a follow up course on testing, documenting APIs, and a bunch of other such goodies.

Hi Ruslaniv,
We are working on a couple of follow on courses. One specifically about auth and another on the network engineering side of things. This one I mentioned above is still on the roadmap but not yet under development.

authors: mikeckennedy ruslaniv ternaus


text:
Change equality semantics for Points and Instances

Description
Changes to data model to enable sensible equality semantics for Points and Instances.

Fix equality of Points. X and Y coordinates were previously compared using normal float equality semantics. Here we change to utilize the numpy.isclose() method for comparison, where two floats are compared for equality within some tolerance (we use just the default tolerances). Additionally, we will consider that two NaN values are equal, which is normally not true.
Allow Instance objects to be compared for equality. The Instance.points collections compared with the rule that both collections of points must contain the same set of nodes, and for each node the point must be equal according to the semantics described above for Points.

Types of changes

[ ] Bugfix
[x] New feature
[ ] Refactor / Code style update (no logical changes)
[ ] Build / CI changes
[ ] Documentation Update
[ ] Other (explain)

Does this address any currently open issues?
[list open issues here]
Outside contributors checklist

[x] Review the guidelines for contributing to this repository
[x] Add tests that prove your fix is effective or that your feature works
[x] Add necessary documentation (if appropriate)

Thank you for contributing to SLEAP-IO!
:heart:

@talmo Let's start with this PR, as tests written for the other PR's would rely on the proposed changes here.

One motivation came from testing the label-studio implementation, particularly when testing that a round trip from Labels -> json -> Labels produces the same data. Label studio uses relative point coordinates in the range of [0-100]. When converting from Labels to label-studio json, we divide x and y by width and height (respectively) and multiply by 100. Conversion from label-studio json to Labels does the inverse calculation. This can introduce minor floating point errors, so the fuzzy comparison helps when confirming a round trip for the data works.
The tolerance allowed in the comparison is on the order of 10^-2, which I think is below the precision of human annotators and DL models. The floating point error I noticed was on the order of 10^-13. np.isclose() allows setting absolute and relative tolerances via the atol and rtol parameters, and uses the following equation to compute equivalence:
absolute(a - b) <= (atol + rtol * absolute(b))

For an image 1024px in width, two x's would be allowed to differ by (10^-8 + 1024 * 10^-5) = 0.01024001px. We can tune, or make available for the user to set, the specific tolerance level(s) they will accept.

Hi @roomrys! Thanks for taking a look at this PR.
I think your proposed changes are reasonable, though it makes comparison a bit kludgy. Only real concern is the "injectability" of this method of comparison. If a comparison happens "deep" in code, but we want to compare on a lower level of precision, there may be no way to inform the system.
Also, will your proposed implementation of __eq__ on Point inherit properly to PredictedPoint, under the attrs framework? I am not sure myself, mostly due to inexperience with the framework.
An alternative is to set some member(s) within the instance.py module to the desired precision level, which are then read by the comparison method. This would impact comparisons globally, but this could either be a good thing or a bad thing depending on what you are trying to do.
Please let me know your thoughts.

Hi @roomrys,
I'm afraid it seems to still not work. Using the extra parameter to __eq__() means you need to alter equality semantics all the way up the composition chain from Instance to LabeledFrame to Labels, and for each of their derivatives (which could give contributors and consumers trouble).
Thinking on it for a bit, I like setting class variable(s) on Point. I was also thinking a boolean switch may be simplistic and limit control for the user (I expect floating point errors; or I expect x% deviation from ground truth; etc). We could add the class variables Point.eq_atol and Point.eq_rtol with default values of 1e-08 (allow tiny floating point errors) and 0 (do not allow relative errors), respectively, and utilize them in Point.__eq__() and child classes as you have in your suggestions. From there, I think no other classes need to be modified except the hook to _compare_points() within Instance, but that can continue to use attrs.cmp_using(). Then then user may turn on/off and tune the precise level of precision they want by setting the class variables on Point.

Hi @roomrys,
Not sure that I understand your point about adding kwargs to the loading functions--I don't see any comparisons happening during the loading. Since it is a class variable, one does not need to set this on each instance of Point. The user can specify tolerance before or after loading. Maybe I misunderstand.

Hi @quantumdot,
No, I misunderstood. You are totally correct. No need for the extra keyword argument.

Hi @roomrys,
Great! Would you like me to make the changes we discussed on this branch? I get a little lost with all the suggestions.

Hi @quantumdot,
If you'd prefer to open a new branch that is fine! My bad, I didn't want to hijack your branch (hence all the suggestions floating about). We can link the new PR here for documentation. Let me know if you want me to implement any part of it.

Hi @roomrys,
I merged some of your suggestions and made some more commits to get this to (I think) what we discussed. I also got coverage up to 100%.
One question I ran into was if we want to consider a Point and a PredictedPoint equal if all base attributes are the same. I fell on the side that Point() == PredictedPoint() will always be False, but we could adjust this if it does not match the semantics that you would expect.

Hi @quantumdot,
Agreed, the comparison Point() == PredictedPoint() should always be false.

authors: quantumdot roomrys

repo: talmolab/sleap-io


text:
[bug] Color token of the form ${colorName}${number} not available in autocomplete for bg or color props on tamagui components

The token actually works and will not show a ts error, but is not available in the autocomplete

Fixed by https://github.com/tamagui/tamagui/commit/e0480b6ce88501e13e9e74cdbdae7d1cc9d8bb34

authors: matthewhausman natew

repo: tamagui/tamagui


text:
Can't connect with my server

I can't use the app to connec to my server...
i read that only works with demo.traccar.org, is it true?

No, it's not. You can use any server including your own.

It's giving me the message "Server request error"

Can you open and login into the web interface on the same mobile device?

Hi, i am new using traccar, but i installed the server in linux, and the trackar manager says server request error. I can access the server from the devices through google chrome. I am using server 3.7, manager 1.3, android 5.0.1.
Do i need update something in the server?
PD: it works with the demo, but not with my server

@arrafa20, please don't spam with your question in every thread.

repo: tananaev/traccar-manager-android


text:
IOS-3752: Number of overflows networks

Preview

iPhone 8+

iPhone 13 Pro

Давай +Х сделаем жырным текстом

@megakoko  сделал жирненьким шрифтом текст. скользит теперь в руках, жуть просто...

repo: tangem/tangem-app-ios


text:
Finish repo transition

[x] Sonar
[x] Readme badges links
[ ] Docker

Docker images are available at dockerhub

repo: tango-controls/rest-server


text:
Labeling polish

[x] trails – vector tiles currently remove trail labels at zoom 11, 12, and 13. Hopefully a dev build will restore names soon, via https://github.com/mapzen/vector-datasource/issues/596. Only so much we can do without Tangram curved text labels, though.
[ ] roads - probably hide exits for a few zooms
[x] places - halo to land color
[x] landuse - show more park labels earlier? relax zoom / area filters?
[x] pois - Related: #1 and #5. Most POIs not related to outdoor should be zoom 16+ only – and some earlier ones like schools maybe show later too? Watch out for kind:residential generic sprites!
[x] water - blue label fill. show more water labels earlier? relax zoom / area filters?

Related: https://github.com/tangrams/outdoor-style/issues/39

Don't see highway exits at all. Sometimes trail names are in green & grey.

Fixed highway exits in 4eee131135fe1383ec772a75ec4e4b47d4317758.

repo: tangrams/outdoor-style


text:
reduce apk size

Currently we ship 6MB of libc++_shared.so. With the new NDK static linking libc++ might work and safe some MB by stripping out unused stuff.

We should also not be bundling fonts for android sdk.. since we look at the
system fonts for android.
On May 9, 2016 6:33 PM, "Hannes Janetzek" notifications@github.com wrote:

Currently we ship 6MB of libc++_shared.so. With the new NDK static
linking libc++ might work and safe some MB by stripping out unused stuff.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/tangrams/tangram-es/issues/724

Currently core/resource/fonts size if about 5MB.

Ok, tried removing bundled fonts for tangram android! Reduced the aar size from 11MB to 4.7MB. (https://github.com/tangrams/tangram-es/tree/no-font-bundling-android)
And yes libc++_shared.so is 6MB in the the unzipped aar!!!!!! We should definitely try getting rid of this in a sane manner.

Resolved by #752 and #745
Current AAR size (for one architecture) is 3MB

authors: blair1618 hjanetzek tallytalwar

repo: tangrams/tangram-es


text:
custom draw group names exhibit inconsistent order behavior

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

open https://mapzen.com/tangram/play/?scene=https%3A%2F%2Fgist.githubusercontent.com%2Fanonymous%2F3357ad94337126f25e4142eace7de740%2Fraw%2Fc09ca185bdf1cc4f6bcedb6523e38aad58ae8c5a%2Fscene.yaml#16/40.6998/-73.9891
comment out lines 19-20:

_highwayStyle:
    style: lines

uncomment line 21:

# lines:
RESULT:
The order changes, and the _highwayStyle layer is drawn on top of the other roads instead of beneath them.
EXPECTED RESULT:
The ordering will be the same as before.
(99% certain this is a syntax misunderstanding and not a bug)

When the _highwayStyle draw group is present, you are drawing the lines twice: once for the inherited lines group, and once for _highwayStyle.
_highwayStyle is given order: 0 so you see the red lines underneath with gray lines on top (lines at order: 1).
When you comment out _highwayStyle, the lines are only rendering once, for lines. They are still in fact rendered underneath (you can see other gray lines over them). You don't see the second set of gray lines overlaid on them, because they are only being drawn once, and their color and width are being overridden by _highwaySubLayer.
Every unique draw group name will cause the geometry in that layer to be drawn another time. This is also why I think it is generally not a good idea to use custom draw group names like _highwayStyle unless you really intend to draw the same geometry multiple times -- if you use the default style names, it's harder to do this unintentionally (you can only have one lines key).

:+1: Thanks!

authors: bcamper meetar

repo: tangrams/tangram


text:
Examples Page is Down

Hi,
Tried to access the examples page at https://react-table.js.org/#/story/simple-table
But only getting a Cloudflare Error 1101
Hope you get this back up again, because it was a great source for me to learn how to integrate react-tables into my project.

The examples for v6 have been archived into the v6 branch at this location: https://github.com/tannerlinsley/react-table/tree/master/archives/v6-examples.
Feel free to open any of them in a codesandbox or locally to see them in action!
The React-Table.js.org site will soon be redirecting to the github repo. The repo will then be used as the primary source of documentation.

Thanks for the quick response. Works!.. not so handy as the old solution but I can work with it.
Thank you very much!

I was disappointed to find out the example site was removed. Searching through the examples folder by folder is not nearly as easy as it was on the website =(

A new examples experience will be available soon.
On Tue, Feb 12, 2019 at 1:25 PM Frank Hale notifications@github.com wrote:

I was disappointed to find out the example site was removed. Searching
through the examples folder by folder is not nearly as easy as it was on
the website =(
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/1261#issuecomment-462920446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCTYp5JFy3i2OVMFCZv20UdsPCITtks5vMyM5gaJpZM4a05qI
.

The examples for v6 have been archived into the v6 branch at this location: https://github.com/tannerlinsley/react-table/tree/master/archives/v6-examples.
Feel free to open any of them in a codesandbox or locally to see them in action!
The React-Table.js.org site will soon be redirecting to the github repo. The repo will then be used as the primary source of documentation.

Hi I am not seeing Any HOC examples like Select Tree

In the future maybe don't take down an old examples page before the new release of examples page is finished.

authors: KillerAyce frankhale mlersch tannerlinsley toddcoulson

repo: tannerlinsley/react-table


text:
Google Drive Links for the Checkpoints Expired.

Thank you for your excellent work. I am trying to use ctc_score, but the provided Google Drive links are invalid now, e.g., the URL for 'D-cnndm' is not working. Could you please update them with new links?

Apologies for the late reply and the inconvenience. The previous links are unavailable due to a service termination.
As a temporary solution, we’ve uploaded all the models to this Google Drive folder. You can access and use them as described here in README.
Please let us know if it still doesn't work for you. We are working on restoring the automatic downloading.  Thank you for your patience!

authors: qishenghu tanyuqian

repo: tanyuqian/ctc-gen-eval


text:
fix righ_pos to right_pos

for BEDPE mode, there is a misspell in the Parser.pyx

Thanks!

authors: shengqh taoliu

repo: taoliu/MACS


text:
TAP-3922 fix(iengine): Master-slave merge node, if the update join key is turn…

…ed on, the update event needs to be look up in the sub-table
Closes TAP-3922

SonarQube Quality Gate Status: ERROR

Status: ERROR, MetricKey: new_duplicated_lines_density, ActualValue: 5.35714

See Sonar Scan Result at: http://58.251.34.123:29000/dashboard?branch=TAP-3922-v3.9.0&id=tapdata

Exception case
Merge to release branch

repo: tapdata/tapdata


text:
Add Windows to your travis-ci

Hi @isaacs would you mind adding Windows to your CI?  Any reason you can think of that tap without a glob wouldn't work on Windows?  See https://github.com/istanbuljs/spawn-wrap/pull/82#issuecomment-491258325

There's no reason it wouldn't work on Windows, but it's possible that it's getting tripped up by slashes or some other thing.  I'm re-downloading a VM now, I'll take a look.
I've found that the travis windows support occasionally gets unresponsive or times out.

Turns out the regexp is testing against the filename, but not sensitive to \ style paths.

authors: coreyfarrell isaacs

repo: tapjs/node-tap

license: isc


text:
import errors on visualization

Tried to do the confusion matrix graph; is this solely an import error?

Must be.  Check that you've installed your deps correctly?  poetry install

`poetry show` should include: `scikit-learn  1.4.1.post1   A set of python modules for machine learning and data mining`

complete

authors: jdmartin tarahmarie

repo: tarahmarie/dh-trace


text:
Error in tail -f when a job terminates

Exception in thread Thread-ApiServer:
Traceback (most recent call last):
  File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ec2-user/.local/lib/python3.8/site-packages/taro/socket.py", line 47, in serve
    req_body = json.loads(datagram)
  File "/usr/lib64/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 10501 (char 10500)

Cannot replicate. Already fixed I guess.

repo: taro-suite/taro


text:
Search completely not working

I am on the latest version of the app on an M2 Pro Mac Mini, Ventura 13.2.
When I type any city into the Search bar and press enter, I get nothing, no error, no response, it just blanks out the Search field.

@troelshartmann
fixed

Fixed, as in a new version or am I doing something wrong?

@tarutin Just installed it and it's not working for me either

@parasshah195 @troelshartmann Hi! Fixed. Its just a database problem.

authors: parasshah195 tarutin troelshartmann

repo: tarutin/hovrly


text:
カラーリングを実装する

Polymorphic Worm Detection Using Structural Information of Executablesを参考にカラーリングを実装する


text:
🛑 Immich is down

In e1fe5d5, Immich (https://immich.goka.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Immich is back up in 3142579 after 21 minutes.

repo: tastelessjolt/upptime


text:
User can register account without agree T&Cs

Expected behavior:
A customer has to tick agree T&Cs to register an account.
Actual behavior:
An account can be registered without ticking agree T&Cs checkbox.
Reproduce steps:
Register an account without ticking agree T&Cs.
Version:
3.0.4.beta.22.1
Additional Information:
N/A

Fixed.

authors: SupperDog sampoyigi

repo: tastyigniter/TastyIgniter


text:
streamer.py crashing on feed_data

When using DXLinkStreamer class and connecting to dxfeed with subscription .. intermittently the parsing crashes at streamer.py
async def _map_message(self, message) -> None:
"""
Takes the raw JSON data, parses the events and places them into their
respective queues.
    :param message: raw JSON data from the websocket
    """
    try:
        for item in message:

   msg_type = item.pop('eventType')

AttributeError: 'str' object has no attribute 'pop'
This happens once every other time I start the application and stop it and restart it. Its not consistently reproducible but happens enough times regularly to be worrisome.

DEBUG LOGS  WHEN IT FAILS <<<<<

2024-04-17 18:35:34,245 [DEBUG] received:
{'type': 'FEED_CONFIG', 'channel': 7, 'dataFormat': 'COMPACT', 'aggregationPeriod': 0.0, 'eventFields': {'Quote': ['eventType', 'eventSymbol', 'eventTime', 'sequence', 'timeNanoPart', 'bidTime', 'bidExchangeCode', 'bidPrice', 'bidSize', 'askTime', 'askExchangeCode', 'askPrice', 'askSize']}}
2024-04-17 18:35:34,386 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 7, 'data': ['Quote', ['Quote', 'AAPL', 0, 0, 0, 0, 'Q', 168.4, 51.0, 0, 'Q', 168.46, 10.0, 'Quote', 'SPX', 0, 0, 0, 0, '', 4979.73, 'NaN', 0, '', 5064.47, 'NaN']]}
{'type': 'FEED_DATA', 'channel': 15, 'data': ['Trade', ['Trade', 'AAPL', 0, 1713384001197, 0, 553584, 'Q', 168.0, -1.38, 14584.0, 19830, 50851471.0, 8601512193.17428, 'ZERO_DOWN', True]]}

DEBUG LOGS  WHEN IT WORKS <<<<<

{'type': 'CHANNEL_REQUEST', 'channel': 7, 'service': 'FEED', 'parameters': {'contract': 'AUTO'}}
{'type': 'CHANNEL_OPENED', 'channel': 7, 'service': 'FEED', 'parameters': {'contract': 'AUTO', 'subFormat': 'LIST'}}
{'type': 'FEED_CONFIG', 'channel': 7, 'dataFormat': 'FULL', 'aggregationPeriod': 0.0, 'eventFields': {'Quote': ['eventType', 'eventSymbol', 'eventTime', 'sequence', 'timeNanoPart', 'bidTime', 'bidExchangeCode', 'bidPrice', 'bidSize', 'askTime', 'askExchangeCode', 'askPrice', 'askSize']}}
2024-04-17 19:09:28,507 [DEBUG] received:
{'type': 'FEED_CONFIG', 'channel': 15, 'dataFormat': 'FULL', 'aggregationPeriod': 0.0, 'eventFields': {'Trade': ['eventType', 'eventSymbol', 'eventTime', 'time', 'timeNanoPart', 'sequence', 'exchangeCode', 'price', 'change', 'size', 'dayId', 'dayVolume', 'dayTurnover', 'tickDirection', 'extendedTradingHours']}}
How do I consistently get the same type of feeds from dxfeed so as to not crash the application?
The code is subscribing to a few equities and SPX options.

Also, crashes on the receipt of the greek:
{'type': 'FEED_DATA', 'channel': 3, 'data': ['Greeks', ['Greeks', '.SPXW240417C4690', 0, 0, 7358932107072110592, 1713384899097, 0, 331.776491363427, 0.1921169629886611, 0.999664504062865, 0.0, -0.113472567367694, 0.00267629112451684, 0.0]]}
2024-04-17 20:39:00,505 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 3, 'data': ['Greeks', ['Greeks', '.SPXW240417C5600', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0413056993726286, 0.1853860861385492, 0.0, 0.0, -0.0413056993726286, 0.0, 0.0, 'Greeks', '.SPXW240417C6400', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0229268737200528, 0.1853860861385492, 0.0, 0.0, -0.0229268737200528, 0.0, 0.0, 'Greeks', '.SPXW240417P6400', 0, 0, 7358932107072110592, 1713384899097, 0, 1377.945005255165, 0.1853860861387242, -0.999664504062865, 0.0, -0.0229268737200528, -0.00365208170509761, 0.0, 'Greeks', '.SPXW240417P6000', 0, 0, 7358932107072110592, 1713384899097, 0, 978.051188448577, 0.1853860861387242, -0.999664504062865, 0.0, -0.0320567753204841, -0.00342382659852901, 0.0, 'Greeks', '.SPXW240417C5700', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0389694270195378, 0.1853860861385492, 0.0, 0.0, -0.0389694270195378, 0.0, 0.0, 'Greeks', '.SPXW240417P5800', 0, 0, 7358932107072110592, 1713384899097, 0, 778.104312486926, 0.1853860861387242, -0.999664504062865, 0.0, -0.0366541677637997, -0.00330969904524471, 0.0, 'Greeks', '.SPXW240417C6000', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0320567753204841, 0.1853860861385492, 0.0, 0.0, -0.0320567753204841, 0.0, 0.0, 'Greeks', '.SPXW240417P6200', 0, 0, 7358932107072110592, 1713384899097, 0, 1177.998089826491, 0.1853860861387242, -0.999664504062865, 0.0, -0.0274847991406659, -0.00353795415181331, 0.0, 'Greeks', '.SPXW240417C5800', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0366541677637997, 0.1853860861385492, 0.0, 0.0, -0.0366541677637997, 0.0, 0.0, 'Greeks', '.SPXW240417P5900', 0, 0, 7358932107072110592, 1713384899097, 0, 878.077745850665, 0.1853860861387242, -0.999664504062865, 0.0, -0.0343508544559654, -0.00336676282188686, 0.0, 'Greeks', '.SPXW240417C6200', 0, 0, 7358932107072110592, 1713384899097, 0, 0.0274847991406659, 0.1853860861385492, 0.0, 0.0, -0.0274847991406659, 0.0, 0.0]]}
Quote:
2024-04-17 20:39:00,511 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 7, 'data': ['Quote', ['Quote', 'AAPL', 0, 0, 0, 0, 'Q', 166.75, 'NaN', 0, 'Q', 170.0, 'NaN', 'Quote', 'SPX', 0, 0, 0, 0, '', 4979.73, 'NaN', 0, '', 5064.47, 'NaN']]}
Trade:
2024-04-17 20:39:00,615 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 15, 'data': ['Trade', ['Trade', 'AAPL', 0, 1713384001197, 0, 554671, 'Q', 168.0, -1.38, 14584.0, 19830, 50901210.0, 8609898993.78193, 'ZERO_DOWN', True, 'Trade', 'SPX', 0, 1713389037732, 0, 49202, '', 5022.21, -29.2, 'NaN', 19830, 'NaN', 'NaN', 'ZERO_DOWN', False]]}

However, when it receives the following messages, example: Quote and Greeks, streamer.py is able to process them just fine.
2024-04-17 20:46:59,295 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 7, 'data': [{'eventType': 'Quote', 'eventSymbol': '.SPXW240417C1400', 'eventTime': 0, 'sequence': 0, 'timeNanoPart': 0, 'bidTime': 0, 'bidExchangeCode': 'C', 'bidPrice': 3615.7, 'bidSize': 'NaN', 'askTime': 0, 'askExchangeCode': 'C', 'askPrice': 3639.7, 'askSize': 'NaN'}, {'eventType': 'Quote', 'eventSymbol': '.SPXW240417C2400', 'eventTime': 0, 'sequence': 0, 'timeNanoPart': 0, 'bidTime': 0, 'bidExchangeCode': 'C', 'bidPrice': 2615.3, 'bidSize': 'NaN', 'askTime': 0, 'askExchangeCode': 'C', 'askPrice': 2639.3, 'askSize': 'NaN'}, {'eventType': 'Quote', 'eventSymbol': '.SPXW240417P2400', 'eventTime': 0, 'sequence': 0, 'timeNanoPart': 0, 'bidTime': 0, 'bidExchangeCode': 'C', 'bidPrice': 0.0, 'bidSize': 'NaN', 'askTime': 0, 'askExchangeCode': 'C', 'askPrice': 0.05, 'askSize': 'NaN'}, {'eventType': 'Quote', 'eventSymbol': '.SPXW240417P3400', 'eventTime': 0, 'sequence': 0, 'timeNanoPart': 0, 'bidTime': 0, 'bidExchangeCode': 'C', 'bidPrice': 0.0, 'bidSize': 'NaN', 'askTime': 0, 'askExchangeCode': 'C', 'askPrice': 0.05, 'askSize': 'NaN'}, {'eventType': 'Quote', 'eventSymbol': '.SPXW240417C3900', 'eventTime': 0, 'sequence': 0, 'timeNanoPart': 0, 'bidTime': 0, 'bidExchangeCode': 'C', 'bidPrice': 1115.3, 'bidSize': 'NaN', 'askTime': 0, 'askExchangeCode': 'C', 'askPrice': 1136.6, 'askSize': 'NaN'}]}
2024-04-17 20:46:59,296 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 3, 'data': [{'eventType': 'Greeks', 'eventSymbol': '.SPXW240417C1400', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 3620.89626770391, 'volatility': 0.1921169629886611, 'delta': 0.999664504062865, 'gamma': 0.0, 'theta': -0.0315122330030135, 'rho': 0.000798892872990101, 'vega': 0.0}, {'eventType': 'Greeks', 'eventSymbol': '.SPXW240417C2400', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 2621.16185927152, 'volatility': 0.1921169629886611, 'delta': 0.999664504062865, 'gamma': 0.0, 'theta': -0.0544705710844937, 'rho': 0.001369530639411603, 'vega': 0.0}, {'eventType': 'Greeks', 'eventSymbol': '.SPXW240417P2400', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 0.0544705710844937, 'volatility': 0.1921169629886199, 'delta': 0.0, 'gamma': 0.0, 'theta': -0.0544705710844937, 'rho': 0.0, 'vega': 0.0}, {'eventType': 'Greeks', 'eventSymbol': '.SPXW240417P3400', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 0.0779813714914326, 'volatility': 0.1921169629886199, 'delta': 0.0, 'gamma': 0.0, 'theta': -0.0779813714914326, 'rho': 0.0, 'vega': 0.0}, {'eventType': 'Greeks', 'eventSymbol': '.SPXW240417P4885', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 0.1348164780519596, 'volatility': 0.1921169629886199, 'delta': -5.62721840134e-81, 'gamma': 1.472460421865321e-80, 'theta': -0.1348164780519596, 'rho': -1.613197338167427e-83, 'vega': 4.07253643082336e-80}, {'eventType': 'Greeks', 'eventSymbol': '.SPXW240417C3900', 'eventTime': 0, 'eventFlags': 0, 'index': 7358932107072110592, 'time': 1713384899097, 'sequence': 0, 'price': 1121.56129508346, 'volatility': 0.1921169629886611, 'delta': 0.999664504062865, 'gamma': 0.0, 'theta': -0.0899565387298935, 'rho': 0.002225487289043854, 'vega': 0.0}]}

This may be related to #137. Could you see if #140 fixes your issue?

This may be related to #137. Could you see if #140 fixes your issue?

Seems like DXLink sometimes sends output as lists and sometimes as dicts .. could that be causing it?
How should I use #140 to test if it fixes the crash?

@Graeme22 Is it a known issue that DXLinkStreamer would crash when we receive lists?

reviewed code of #140, the _map_message in streamer.py still tries to pop eventType and would fail on the string received sporadically from dxFeed

Quote:
2024-04-17 20:39:00,511 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 7, 'data': ['Quote', ['Quote', 'AAPL', 0, 0, 0, 0, 'Q', 166.75, 'NaN', 0, 'Q', 170.0, 'NaN', 'Quote', 'SPX', 0, 0, 0, 0, '', 4979.73, 'NaN', 0, '', 5064.47, 'NaN']]}
Trade:
2024-04-17 20:39:00,615 [DEBUG] received: {'type': 'FEED_DATA', 'channel': 15, 'data': ['Trade', ['Trade', 'AAPL', 0, 1713384001197, 0, 554671, 'Q', 168.0, -1.38, 14584.0, 19830, 50901210.0, 8609898993.78193, 'ZERO_DOWN', True, 'Trade', 'SPX', 0, 1713389037732, 0, 49202, '', 5022.21, -29.2, 'NaN', 19830, 'NaN', 'NaN', 'ZERO_DOWN', False]]}

reviewed code of #140, the _map_message in streamer.py still tries to pop eventType and would fail on the string received sporadically from dxFeed

You're probably right, however #140 actually uses a different streamer websocket so it's worth a shot.

Looks like this has to do with the 'dataFormat' being either COMPACT or FULL. If it's still present in the new streamer then I'll fix it ASAP.

Thank you @Graeme22 handling the compact and full message types will unblock the crash.
Reviewed #140 to look at the new streamer websocket. Tested this end point and it does not support (yet according to tasty) getting market data for indices (e.g SPX)

@love-reading did you find a fix to get SPX quotes?

That's problematic! A lot of people are relying on SPX quotes. I think that's sufficient reason to leave this unmerged for now.

Hi @love-reading , I think this is actually a separate issue as you detailed. Thanks for opening! Looking into fixing it now.

Ok now the data formatting issue should be fixed in #140

authors: Graeme22 chopperop love-reading

repo: tastyware/tastytrade


text:
'Module not found' error

yarn was run, but this error still pops... any idea why?

Can you let me know which version of next you’re using? I think this could be related to the latest next upgrade, I have an outstanding todo to look at the changes made to next/link, previous next releases included babel interop code that resulted in the default export being default.default under ESM.

using next 12.2.0 here, latest release...
if i can help you with it, you can just tell me

@erickriva I've released v0.0.12 with the fix, LMK if you run into any issues.

It worked well! 🎉

authors: erickriva tatethurston

repo: tatethurston/nextjs-routes


text:
Cannot build on Fedora32

I'm trying to build on Fedora32 and it cannot find libappindicator3:
--- stderr
thread 'main' panicked at 'libappindicator3 library not found!', /home/andrew/.cargo/registry/src/github.com-1ecc6299db9ec823/libappindicator-sys-0.5.0/build.rs:35:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

warning: build failed, waiting for other jobs to finish...
error: build failed

But I already have it and devel package installed:
sudo yum install libappindicator-gtk3
created by dnf config-manager from https://fedoraproject.  25 kB/s |  11 kB     00:00
Last metadata expiration check: 0:28:44 ago on Fri 24 Jul 2020 05:25:58 PM CEST.
Package libappindicator-gtk3-12.10.0-28.fc32.x86_64 is already installed.
Package libappindicator-gtk3-12.10.0-28.fc32.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

sudo yum install libappindicator-gtk3-devel
created by dnf config-manager from https://fedoraproject.  28 kB/s |  11 kB     00:00
Last metadata expiration check: 0:28:05 ago on Fri 24 Jul 2020 05:25:58 PM CEST.
Package libappindicator-gtk3-devel-12.10.0-28.fc32.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Any suggestions?

Just in case someone else has this problem in the future:
According to https://github.com/qdot/systray-rs/issues/47
sudo yum install libappindicator-gtk3-devel.x86_64

authors: RealDrPuc andrewdavidmackenzie

repo: tauri-apps/libappindicator-rs


text:
[persisted-scope] Asset protocol not configured correctly for directories after restart

I may be mistaken as I don't know all the intricate of Tauri or Rust, but it seems to me if I use a dialog.open as a directory selector it will allow the path with allow_directory. While the current code when deserializing only use allow_file, rendering is useless ?
I think it might be the cause of the problem I currently have, at least when working with the asset-protocol (feature is enabled)
Minimal reproduction

Versions:
tauri-plugin-persisted-scope: Used with a github
Tauri info
Environment
  › OS: Windows 10.0.19042 X64
  › Webview2: 101.0.1210.32
  › MSVC:
      - Visual Studio Community�2019
      - Visual Studio Build Tools�2019
  › Node.js: 17.3.0
  › npm: 8.3.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.2.2
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.2,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.6,
  › wry [RUST]: 0.23.3,

App
  › build-type: bundle
  › CSP: default-src 'self' https://asset.localhost; media-src 'self' https://asset.localhost; img-src 'self' https://asset.localhost; script-src 'self' https://asset.localhost; connect-src https://asset.localhost
  › distDir: ../dist
  › devPath: http://localhost:3000/
  › framework: Vue.js
  › bundler: Vite

App directory structure
  ├─ .git
  ├─ .vscode
  ├─ dist
  ├─ node_modules
  ├─ public
  ├─ scripts
  ├─ src
  ├─ src-tauri
  └─ tauri-plugin-persisted-scope

Sorry for the confusion! We're just moving to a monorepo to maintain plugins a bit easier.
Thank you for the issue, with reproduction and PR. Going to poke around and see if I can get someone to look at it. :smile:

By looking at the issue deeper, it seems like the problem comes from the fact that we're saving the patterns.
Because the allow_*or forbid_* functions escape the given path with glob::Pattern::escape, we're transforming the original pattern into a mess.
We don't see much problem for allow_file because no extra characters are added, but in the case of allow_directory, /* or /** depending if it's recursive.
i.e with Windows 10 64bits:

"C:\\Users\\user\\Documents"
Become
"\\\\[?]\\C:\\Users\\user\\Documents\\**",
"\\\\[?]\\C:\\Users\\user\\Documents",
"C:\\Users\\user\\Documents\\**",
"C:\\Users\\user\\Documents",
After restart
"C:\\Users\\user\\Documents",
"C:\\Users\\user\\Documents\\[*][*]",
"\\\\[?]\\\\\\[[][?][]]\\C:\\Users\\user\\Documents",
"\\\\[[][?][]]\\C:\\Users\\user\\Documents",
"\\\\[?]\\\\\\[[][?][]]\\C:\\Users\\user\\Documents\\[*][*]",
"\\\\[?]\\C:\\Users\\user\\Documents\\[*][*]",
"\\\\[?]\\C:\\Users\\user\\Documents",
"\\\\[[][?][]]\\C:\\Users\\user\\Documents\\[*][*]",

I think a clean option would be to store the original paths in Scope both files & directories separated. So we can use allow_file and allow_directory depending on the case. Maybe another one for recursive one.
But there might be a better option

Just realised that the .persisted-scope file was 50MB in my project due to this duplication problem

I am facing the same issue.
If the user selects my/path as a directory (dialog.open), I'd expect my/path/** to be persisted as the allowed path. Instead, it seems all subpaths at the moment of selection are persisted. For example, if I had only my/path/a.js and then added my/path/b.js later, it would not be allowed since it was not persisted earlier. This also leads to massive .persisted-scope files for large directory trees (e.g. node_modules).
I'm implementing a file watcher using the excellent other plugin tauri-plugin-fs-watch, and this issue prevents me from moving forward, would love a fix.

authors: Beanow OrIOg salmenf

repo: tauri-apps/plugins-workspace


text:
fix(core/shell): speedup Command.execute & fix extra new lines

The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.
The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519
ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383

This PR caused my page to freeze abnormally

It is not synchronous but once the program finishes execution it will return its whole output at once, this should drastically increase speed for small to medium outputs, however large output data may notice freezes as the output comes in, in which I'd recommend using spawn and process each line as it comes but that will have its penalty as well.

Thanks for the reply, I'll provide a minimal reproduction later


text:
WebViewBuilder::with_url: support unix domain sockets

This would allow wry to be paired with small services that are only locally exposed.
Example usage with http-sh
$ http-sh ./sock -- echo Hello world

    let _webview = WebViewBuilder::new(window)?
        .with_url("unix://./sock")?
        .build()?;

afaik you can't access unix sockets from the browser as it will block all but ws: and wss: schemes.

Oh, of course. You're right @FabianLars browsers won't allow access to a local unix socket. I'll close this issue 🙏

authors: FabianLars cablehead

repo: tauri-apps/wry


text:
insert original html next to raw in verbose mode

Fixes #81, possibly needs test work?

OK, well my fix doesn't work -- good to know! raw is assembled in a bunch of different locations and I don't seem to be able to find where to insert this so it appears consistently. I'd love some help if anyone's able to, otherwise I may try something else. Thanks!

repo: tautologistics/node-htmlparser


text:
Update README.md

I have successfully changed "Computer science student" to "Computer Science & Engineering Student" in Author section.
Issue number #10

Thank you for the PR, don't forget to give a star. Your star would help increase the visibility of the project.

repo: tawhidmonowar/URLtoPDFConverter


text:
it is a memory exhaustion issue in Mat_VarRead5 (mat5.c:3574)

A crafted input will lead to crash in mat5.c at matio 1.5.17.
Triggered by
./matdump POC
Poc
004Mat_VarRead53574
The ASAN information is as follows:
./matdump 004Mat_VarRead53574
==22145==ERROR: AddressSanitizer failed to allocate 0x4c1a84000 (20428898304) bytes of LargeMmapAllocator (errno: 12)
==22145==Process memory map follows:
	0x000000400000-0x00000040d000	/usr/local/matio_asan/bin/matdump
	0x00000060c000-0x00000060d000	/usr/local/matio_asan/bin/matdump
	0x00000060d000-0x000000610000	/usr/local/matio_asan/bin/matdump
	0x00007fff7000-0x00008fff7000
	0x00008fff7000-0x02008fff7000
	0x02008fff7000-0x10007fff8000
	0x600000000000-0x602000000000
	0x602000000000-0x602000010000
	0x602000010000-0x603000000000
	0x603000000000-0x603000010000
	0x603000010000-0x604000000000
	0x604000000000-0x604000010000
	0x604000010000-0x607000000000
	0x607000000000-0x607000010000
	0x607000010000-0x60b000000000
	0x60b000000000-0x60b000010000
	0x60b000010000-0x60c000000000
	0x60c000000000-0x60c000010000
	0x60c000010000-0x616000000000
	0x616000000000-0x616000020000
	0x616000020000-0x619000000000
	0x619000000000-0x619000020000
	0x619000020000-0x621000000000
	0x621000000000-0x621000020000
	0x621000020000-0x624000000000
	0x624000000000-0x624000020000
	0x624000020000-0x62d000000000
	0x62d000000000-0x62d000020000
	0x62d000020000-0x640000000000
	0x640000000000-0x640000003000
	0x7fd221600000-0x7fd221700000
	0x7fd221800000-0x7fd221900000
	0x7fd22191d000-0x7fd223c6f000
	0x7fd223c6f000-0x7fd223c8a000	/usr/local/lib/libz.so.1.2.11
	0x7fd223c8a000-0x7fd223e89000	/usr/local/lib/libz.so.1.2.11
	0x7fd223e89000-0x7fd223e8a000	/usr/local/lib/libz.so.1.2.11
	0x7fd223e8a000-0x7fd223e8b000	/usr/local/lib/libz.so.1.2.11
	0x7fd223e8b000-0x7fd223ea1000	/lib/x86_64-linux-gnu/libgcc_s.so.1
	0x7fd223ea1000-0x7fd2240a0000	/lib/x86_64-linux-gnu/libgcc_s.so.1
	0x7fd2240a0000-0x7fd2240a1000	/lib/x86_64-linux-gnu/libgcc_s.so.1
	0x7fd2240a1000-0x7fd2240a4000	/lib/x86_64-linux-gnu/libdl-2.23.so
	0x7fd2240a4000-0x7fd2242a3000	/lib/x86_64-linux-gnu/libdl-2.23.so
	0x7fd2242a3000-0x7fd2242a4000	/lib/x86_64-linux-gnu/libdl-2.23.so
	0x7fd2242a4000-0x7fd2242a5000	/lib/x86_64-linux-gnu/libdl-2.23.so
	0x7fd2242a5000-0x7fd2242bd000	/lib/x86_64-linux-gnu/libpthread-2.23.so
	0x7fd2242bd000-0x7fd2244bc000	/lib/x86_64-linux-gnu/libpthread-2.23.so
	0x7fd2244bc000-0x7fd2244bd000	/lib/x86_64-linux-gnu/libpthread-2.23.so
	0x7fd2244bd000-0x7fd2244be000	/lib/x86_64-linux-gnu/libpthread-2.23.so
	0x7fd2244be000-0x7fd2244c2000
	0x7fd2244c2000-0x7fd224682000	/lib/x86_64-linux-gnu/libc-2.23.so
	0x7fd224682000-0x7fd224882000	/lib/x86_64-linux-gnu/libc-2.23.so
	0x7fd224882000-0x7fd224886000	/lib/x86_64-linux-gnu/libc-2.23.so
	0x7fd224886000-0x7fd224888000	/lib/x86_64-linux-gnu/libc-2.23.so
	0x7fd224888000-0x7fd22488c000
	0x7fd22488c000-0x7fd224994000	/lib/x86_64-linux-gnu/libm-2.23.so
	0x7fd224994000-0x7fd224b93000	/lib/x86_64-linux-gnu/libm-2.23.so
	0x7fd224b93000-0x7fd224b94000	/lib/x86_64-linux-gnu/libm-2.23.so
	0x7fd224b94000-0x7fd224b95000	/lib/x86_64-linux-gnu/libm-2.23.so
	0x7fd224b95000-0x7fd224d18000	/usr/local/matio_asan/lib/libmatio.so.10.0.2
	0x7fd224d18000-0x7fd224f17000	/usr/local/matio_asan/lib/libmatio.so.10.0.2
	0x7fd224f17000-0x7fd224f18000	/usr/local/matio_asan/lib/libmatio.so.10.0.2
	0x7fd224f18000-0x7fd224f1b000	/usr/local/matio_asan/lib/libmatio.so.10.0.2
	0x7fd224f1b000-0x7fd22500f000	/usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
	0x7fd22500f000-0x7fd22520f000	/usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
	0x7fd22520f000-0x7fd225212000	/usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
	0x7fd225212000-0x7fd225213000	/usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
	0x7fd225213000-0x7fd225e88000
	0x7fd225e88000-0x7fd225eae000	/lib/x86_64-linux-gnu/ld-2.23.so
	0x7fd22605c000-0x7fd226093000
	0x7fd226096000-0x7fd2260ad000
	0x7fd2260ad000-0x7fd2260ae000	/lib/x86_64-linux-gnu/ld-2.23.so
	0x7fd2260ae000-0x7fd2260af000	/lib/x86_64-linux-gnu/ld-2.23.so
	0x7fd2260af000-0x7fd2260b0000
	0x7ffe32830000-0x7ffe32851000	[stack]
	0x7ffe328fa000-0x7ffe328fd000	[vvar]
	0x7ffe328fd000-0x7ffe328ff000	[vdso]
	0xffffffffff600000-0xffffffffff601000	[vsyscall]
==22145==End of process memory map.
==22145==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
    #0 0x7fd224fbb631  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
    #1 0x7fd224fc05e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
    #2 0x7fd224fc8611  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
    #3 0x7fd224f3dc0c  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
    #4 0x7fd224fb35d2 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x985d2)
    #5 0x7fd224c486d6 in Mat_VarRead5 /home/matio_asan/src/mat5.c:3574
    #6 0x7fd224c333b5 in ReadNextCell /home/matio_asan/src/mat5.c:1063
    #7 0x7fd224cf0e78 in Mat_VarReadNextInfo5 /home/matio_asan/src/mat5.c:4961
    #8 0x7fd224d0746b in Mat_VarReadNextInfo /home/matio_asan/src/mat.c:2342
    #9 0x408126 in main /home/matio_asan/tools/matdump.c:944
    #10 0x7fd2244e282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #11 0x401b58 in _start (/usr/local/matio_asan/bin/matdump+0x401b58)

about code (3574)
Mat_VarReadNumeric5(mat,matvar,complex_data->Im,nelems);
               matvar->data = complex_data;
           } else {
               err = SafeMul(&matvar->nbytes, nelems, matvar->data_size);
               if ( err ) {
                   Mat_Critical("Integer multiplication overflow");
                   break;
               }

----------> matvar->data = malloc(matvar->nbytes);
               if ( NULL == matvar->data ) {
                   Mat_Critical("Couldn't allocate memory for the data");

No need to report fuzzing issues since matio is on OSS-Fuzz with still about 40 open issues.
Instead of v1.5.17, please rerun the test against current master and reopen if the issue is still reproducible.

No need to report fuzzing issues since matio is on OSS-Fuzz with still about 40 open issues.
Instead of v1.5.17, please rerun the test against current master and reopen if the issue is still reproducible.

Yes, I just use 'git clone' to fetch the current master of the matio,the issue is still reproducible.

i 'm sure the issue is different from the fuzzing issues on OSS-fuzz.

I can confirm that the number of allocated bytes is high, but I cannot confirm the crash.

CVE-2019-20019 has been assigned for this issue.

authors: carnil gutiniao tbeu

repo: tbeu/matio


text:
fix CMake properties

Hi,
Thanks for this project :)
CMake configuration of the current master branch fails on ubuntu 18.04, because:
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
CMake Error at cmake/thirdParties.cmake:71 (target_link_libraries):
  Cannot specify link libraries for target "MATIO::ZLIB" which is not built
  by this project.
Call Stack (most recent call first):
  cmake/thirdParties.cmake:97 (matio_create_zlib)
  CMakeLists.txt:29 (include)

Here is a simple Dockerfile to reproduce this issue:
FROM ubuntu:18.04

RUN --mount=type=cache,sharing=locked,target=/var/cache/apt \
    --mount=type=cache,sharing=locked,target=/var/lib/apt \
    apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
    build-essential \
    git \
    cmake \
    libhdf5-dev \
    zlib1g-dev

WORKDIR /src
RUN git clone --recursive https://github.com/tbeu/matio
RUN cmake -B build -S matio

Thanks again for reporting and fixing!


text:
Incorrectly formats variable assignation

Describe the bug
Incorrectly formats variable assignation operator := as : =.
To Reproduce
Run this correct SQL through sqlfmt:
select partman.create_parent( 'public.deliveries_finished', 'created_at', 'native', 'daily', p_premake := 20) ;

Expected behavior
select
    partman.create_parent(
        'public.deliveries_finished', 'created_at', 'native', 'daily', p_premake := 20
    )
;

Actual behavior
Notice the separation between the colon and the equal sign:
select
    partman.create_parent(
        'public.deliveries_finished', 'created_at', 'native', 'daily', p_premake: = 20
    )
;

Additional context
sqlfmt, version 0.20.0
This makes the SQL to fail.

Thanks for the report. Is this MySQL?

This is Postgres (PL/pgSQL).

authors: federico-hero tconbeer

repo: tconbeer/sqlfmt


text:
🛑 Twemoji Explorer is down

In a999b0c, Twemoji Explorer (https://twemoji.tomichen.com/) was down:

HTTP code: 500
Response time: 2210 ms

Resolved: Twemoji Explorer is back up in ebe9408.


text:
auth_key_id mismatch after logOut

I sometimes (but not always) see this type of error right after logging out. I’m not sure what it means or why it’s happening:
Session closed: [Error : 0 : Invalid mtproto message: auth_key_id mismatch [found = 0x0a0d3e6c6d84683c] [expected = 0xba91dcf84a3bff0a]] Session:1:main::Connect::HttpLongPoll::[123.123.123.123:443] to DcId{1} over HTTP
When the error occurs, my client never receives the final AuthorizationStateClosed update.

Are you using TDLib on watchOS?

Yes, I am using it on watchOS.

What is probability of getting this error?

About half the time. Is this somehow specific to watchOS?

The problem is in HTTP transport and it currently used by default only on watchOS.

You mean instead of HTTPS? Is it possible to change the default transport used on watchOS?
I’m currently using TdJson. Is the C++ TdStatic version any different in this regard?
Otherwise, what is the preferred way to build a watchOS client?

No. On all other OS TCP transport is used by default. There is no access to raw sockets on watchOS, so it is forced to use HTTP transport.

It appears this might have changed with watchOS 6, see here: https://github.com/socketio/socket.io-client-swift/issues/1215
From the watchOS 6 release notes:

URLSessionWebSocketTask and URLSessionStreamTask are now available for use in watchOS apps. (49779789)

Also URLSessionDataTask supports HTTPS.
Are any of these technically sufficient for a Telegram client on watchOS, if one was willing to spend the time to make the necessary changes?

HTTPS makes no difference. Telegram doesn't have HTTP/HTTPS API. HTTP is used only as a transport.

Thanks.
Is any of URLSessionWebSocketTask / URLSessionStreamTask / URLSessionDataTask technically sufficient for a Telegram client on watchOS, if one was willing to spend the time to make the necessary changes?
I’m trying to determine if I should build an independent watchOS client or not.

TDLib already uses URLSessionDataTask. Existence of others makes no difference and is irrelevant to the issue.

I see. Then what are the implications of TDLib using HTTP transport on watchOS?
Are there any security concerns or other downsides?
And is there anything I can do to prevent or handle the auth_key_id mismatch error?

There are no downsides, except it is suboptimal, but watchOS has no better alternatives anyway. The error can't be avoided and needs to be properly handled in TDLib.

authors: keleftheriou levlam

repo: tdlib/td


text:
updateSupergroup[FullInfo] after updateNewChat only?

updateSupergroup[FullInfo] is guaranteed to come only after the coresponding updateNewChat?
In other words, when receiving updateSupergroup[FullInfo] can I be confident that I received updateNewChat before?

In other words, when receiving updateSupergroup[FullInfo] can I be confident that I received updateNewChat before?

Yes, updateNewChat is always the first update about the chat.

updateSupergroupFullInfo is an update about a supergroup, so it comes after updateSupergroup. But it is completely independent with updateNewChat.

How to get chat_id from Supergroup? Adding prefix -100 doesn't seem to be a durable way (didn't see that guarantee in docs).

@wowka1319 You need to use the method createSupergroupChat for this.

authors: AYMENJD levlam wowka1319


text:
Build problem

Hi
how i can solve this problem ?
[ 48%] Building CXX object td/CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o
/root/tdbot/td/td/telegram/MessagesManager.cpp: In member function ‘td::Resulttd::FormattedText td::MessagesManager::process_input_caption(td::DialogId, td::tl_object_ptrtd::td_api::formattedText&&, bool) const’:
/root/tdbot/td/td/telegram/MessagesManager.cpp:13775:26: warning: missing initializer for member ‘td::FormattedText::text’ [-Wmissing-field-initializers]
return FormattedText{};
^
/root/tdbot/td/td/telegram/MessagesManager.cpp:13775:26: warning: missing initializer for member ‘td::FormattedText::entities’ [-Wmissing-field-initializers]
/root/tdbot/td/td/telegram/MessagesManager.cpp: In member function ‘td::Resulttd::InputMessageText td::MessagesManager::process_input_message_text(td::DialogId, td::tl_object_ptrtd::td_api::InputMessageContent&&, bool, bool) const’:
/root/tdbot/td/td/telegram/MessagesManager.cpp:13790:45: warning: missing initializer for member ‘td::FormattedText::text’ [-Wmissing-field-initializers]
return InputMessageText{FormattedText{}, input_message_text->disable_web_page_preview_,
^
/root/tdbot/td/td/telegram/MessagesManager.cpp:13790:45: warning: missing initializer for member ‘td::FormattedText::entities’ [-Wmissing-field-initializers]
/root/tdbot/td/td/telegram/MessagesManager.cpp: In member function ‘td::unique_ptrtd::MessageContent td::MessagesManager::get_message_action_content(td::tl_object_ptrtd::telegram_api::MessageAction&&, td::DialogId, td::MessageId) const’:
/root/tdbot/td/td/telegram/MessagesManager.cpp:20721:49: warning: missing initializer for member ‘td::FormattedText::text’ [-Wmissing-field-initializers]
return make_unique(FormattedText{}, WebPageId());
^
/root/tdbot/td/td/telegram/MessagesManager.cpp:20721:49: warning: missing initializer for member ‘td::FormattedText::entities’ [-Wmissing-field-initializers]

It is a warning, not an error. The compiler is overly paranoid here, that warning can be safely ignored. We will fix it in the next update.
Between, what version of GCC is used?

i just using this commands :
git clone https://github.com/vysheng/tdbot.git
cd tdbot
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make telegram-bot
and after that warning :
[ 98%] Generate JSON tl source files
[ 98%] Built target tl_generate_json
[ 98%] Linking CXX executable telegram-bot
CMakeFiles/telegram-bot.dir/main.cpp.o: In function parse_config()': main.cpp:(.text+0x6fe): undefined reference to libconfig::Config::lookupValue(char const*, std::string&) const'
CMakeFiles/telegram-bot.dir/main.cpp.o: In function libconfig::Config::lookupValue(std::string const&, std::string&) const': main.cpp:(.text._ZNK9libconfig6Config11lookupValueERKSsRSs[_ZNK9libconfig6Config11lookupValueERKSsRSs]+0x32): undefined reference to libconfig::Config::lookupValue(char const*, std::string&) const'
collect2: error: ld returned 1 exit status
CMakeFiles/telegram-bot.dir/build.make:184: recipe for target 'telegram-bot' failed
make[3]: *** [telegram-bot] Error 1
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/telegram-bot.dir/all' failed
make[2]: *** [CMakeFiles/telegram-bot.dir/all] Error 2
CMakeFiles/Makefile2:86: recipe for target 'CMakeFiles/telegram-bot.dir/rule' failed
make[1]: *** [CMakeFiles/telegram-bot.dir/rule] Error 2
Makefile:162: recipe for target 'telegram-bot' failed
make: *** [telegram-bot] Error 2

It is a problem with linking in libconfig++, required by tdbot. Here is the likely cause of the issue: https://github.com/hyperrealm/libconfig/issues/10. And the only solution is that tdbot should be compiled with the same standard C++ library as libconfig++.

Im installed some libs
But steal i have this erorr
What should i install ?

Probably, you need to recompile libconfig++ with the same compiler that is used to compile tdbot.

authors: levlam puryanms


text:
message_id mismatch

{u'message_id': 1205367472128, u'reply_markup': {u'rows': [[{u'text': u'Play Space Orbit', u'type': {u'@type': u'inlineKeyboardButtonTypeCallbackGame'}, u'@type': u'inlineKeyboardButton'}]], u'@type': u'replyMarkupInlineKeyboard'}, u'@type': u'updateMessageEdited', u'edit_date': 1518351439, u'chat_id': -1001065686122}
message_id received from tdjson is 1205367472128
but actual message id from bot api  is  1149528 i can also confirm by going to https://t.me/mychannel/1149528
how to convert or get same message ids? am i missing something?

TDLib supports messages, which exists only locally, so it can't use server/Bot API message identifier as message_id and allow to sort messages only by message_id in the same time. To get server message_id from TDLib message_id, the latter should be checked to be divisible by 1048576 (2^20) and to be divided by 1048576. So 1205367472128 = 1149528 * 1048576 = (1149528 << 20).

@levlam  thanks for the help.
:)

can you tell me why tdlib can't sort message by server message id?
i think its already in right order with +1 increment for new message.
why tdlib needs to multiply server message_id with 2^20 ?

Because there are many messages (e.g., currently sent messages or failed to sent messages) which has no server message id and must be placed between two consecutive server messages. We can't give them id like 123.5.

authors: korangu levlam


text:
🛑 s.opnxng.com is down

In 17ba1db, s.opnxng.com (https://s.opnxng.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: s.opnxng.com is back up in 2c5e6b0 after 7 minutes.

repo: tdulcet/send-instances-status


text:
Make unit tests fast again

The change introduced in f8fad29 causes unit tests execution time to increase to 5 minutes. We should introduce distinct sleep values for default and test profile.

Or even provide a solution which avoids thread sleeping. Eg. TaskScheduler#scheduleWithFixedDelay or even sth better.

repo: tdziurko/jvm-bloggers


text:
loginActivity.js:11: Добавить стили

The puzzle 10-d4fbd3fb from #10 has to be resolved:
https://github.com/team-dev-spring-2022/teamMPSF/blob/858c5eaea2c1e7c8892acfb0f55d99ac9749b57d/components/screens/loginActivity.js#L11-L11
The puzzle was created by sashkadyupri98 on 05-Feb-22.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 10-d4fbd3fb has disappeared from the source code, that's why I closed this issue.