The url of the Twitter api has been changed, so I put the new domain …

The url of the Twitter api has been changed, so I put the new domain name used by Twitter in order to make the script work again.

also add change the following lines:
	if (delete_options["old_tweets"] == false) {
		variable = `?variables=%7B%22userId%22%3A%22${user_id}%22%2C%22count%22%3A${count}%2C${final_cursor}%22includePromotedContent%22%3Atrue%2C%22withCommunity%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D`;
		feature = `&features=%7B%22rweb_lists_timeline_redesign_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22responsive_web_twitter_article_tweet_consumption_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Atrue%2C%22responsive_web_x_article_tweet_consumption_enabled%22%3Afalse%2C%22tweet_awards_web_tipping_enabled%22%3Afalse%2C%22freedom_of_speech_not_reach_fetch_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Atrue%2C%22longform_notetweets_rich_text_read_enabled%22%3Atrue%2C%22longform_notetweets_inline_media_enabled%22%3Atrue%2C%22responsive_web_media_download_video_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D`;
	}
	else {
		variable = `?variables=%7B%22userId%22%3A%22${user_id}%22%2C%22count%22%3A${count}%2C${final_cursor}%22includePromotedContent%22%3Atrue%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D`
		feature = `&features=%7B%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22responsive_web_twitter_article_tweet_consumption_enabled%22%3Atrue%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Atrue%2C%22responsive_web_x_article_tweet_consumption_enabled%22%3Afalse%2C%22tweet_awards_web_tipping_enabled%22%3Afalse%2C%22freedom_of_speech_not_reach_fetch_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Atrue%2C%22longform_notetweets_rich_text_read_enabled%22%3Atrue%2C%22longform_notetweets_inline_media_enabled%22%3Atrue%2C%22responsive_web_media_download_video_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D`
	}

The Api requires this to be set: %2C%22responsive_web_twitter_article_tweet_consumption_enabled%22%3Atrue which I added


Seeking information on low-level TPU interaction and libtpu.so API

I'm looking to build an automatic differentiation library for TPUs without using high-level front-ends like TensorFlow/JAX/PyTorch-XLA, but I'm finding information about lower-level TPU usage is practically non-existent.
Specifically, I'm interested in:

How to interact with TPUs at a lower level than what's typically exposed in TensorFlow
Information about the libtpu.so library and its API
Any resources or documentation on implementing custom TPU operations

Are there any insights or suggestions on how to approach this, particularly regarding TPU support? Any ideas or help would be greatly appreciated.
I understand that some of this information might be proprietary, but any guidance on what is possible or available would be very helpful.

I don't think we have lots of documentation around libtpu and interfaces to TPUs other than what's exposed in the Python libraries. But, these days you actually can use the "high level" libraries like JAX to generate very low level code for TPUs using Pallas. I'd highly recommend reading through the guides I linked (they also contain links to TPU papers). If you have any other questions, let us know.

I'm going to close this because I think the pointer to Pallas docs is the best we can provide.


Fix replaceLastName Bug

This PR fixed a bug in the replaceLastName() function /lib/src/controllers/qrouter_controller.dart that is using the current route params as the params for the next route which is causing an error because the findName() function will be using the wrong params to search for matching route.
fixes #78

LGTM, thanks.

@SchabanBo When will a new version be released?
I currently had to use my own locally modified version.

@devhammed I will try to make it this week

@devhammed The new version is live


Add Next.js

https://github.com/zeit/next.js

GOTO https://github.com/Kikobeats/next-boilerplatinum


fix: only retry 5xx Cloud SQL Admin API errors

This commit fixes the retry behavior of the two SQL Admin API calls.
Any response that results in a 50x error will now be retried up to
5 times with exponential backoff. Using gaxios default exponential backoff.
Previously the Node Connector was only retrying 3 times and for
all error codes.
Updating gaxios version to have newer params available.

How does this affect the range of best case to worst case in terms of time taken?

How does this affect the range of best case to worst case in terms of time taken?

I can look at calculating it, the formula used by default is found here:
https://github.com/googleapis/gaxios/blob/main/src/retry.ts#L178

Did a test and got the following delays:
Retry attempts and delay in ms
Attempt 0:  200
Attempt 1:  310
Attempt 2:  810
Attempt 3:  1620
Attempt 4:  2930

Thanks, Jack. LGTM.


fix: don't create provisional notes/todos while using templates

Fixes #17.

The CI checks didn't trigger for this pull request. Were those disabled intentionally?

Change looks good @nishantwrp, I leave it up to you to merge!

Cool thanks @CalebJohn. Merging


Website hosting details

We need a host for the site. Considering Reclaim Hosting but Kelle needs more details about requirements.
Kelle bought:

simple-bd-archive.org - Primary URL.
simplebdarchive.org - got just because.

Kelle pointed namecheap DNS manager to the Linode nameservers.  @huhwhy will work on setting up the Domain on the Linode following this guide.
https://www.linode.com/docs/guides/dns-manager/#getting-started

[ ] upgrade OS to Ubuntu 20.04
[ ] Install postgres server

Kelle talking to Reclaim Hosting about potentially a "managed" server where they would provide some support, especially at the beginning.

Stuck with Reclaim and pointed simple-bd-archive.org to Reclaim IP.


FeatureCollection 'properties' are not allowed by RFC 7946

Hi, @araichev. This is a great looking project and I can attest that it is getting used! People are uploading GeoJSON created by your kml2geojson to Mapbox (where I work).
RFC 7946, the GeoJSON spec, does not allow FeatureCollections to have a 'properties' member. The motivation: it's easier to develop incremental parsers if FeatureCollections and Features don't share keys. Mapbox uploads are strictly validated against RFC 7946.
Instead of giving FeatureCollections a 'properties' member at https://github.com/araichev/kml2geojson/blob/master/kml2geojson/main.py#L497-L498, I suggest putting 'name' directly under the FeatureCollection.
Thanks for your consideration!

Thanks for the compliment and information, sgillies.
I wrote kml2geojson for some projects at work and am pleasantly surprised to hear that other people around the world are using it too.
Too bad they're all producing invalid GeoJSON!
I'll incorporate your fix in a new release today.


Problem with SSL and Xirvik .torrent to seedbox uploader + similar addons

I'm currently using the latest rtinst version 1.5 which I installed about three weeks ago on Ubuntu 16 with Xirvik .torrent to seedbox uploader 3.1 addon in Firefox. Everything is working perfectly fine while I'm using http://IP-adress/rutorrent/ as server URL, however, when I'm changing the URL to https://IP-adress/rutorrent/ the addon can't connect to the rutorrent client. I've tried another addon too and the same problem occur. So there might be a problem with permission or something regarding SSL, or what do you think? Any specific things I should look into? BTW, I don't have any problems with SSL when I'm accessing my server through https://IP-adress/rutorrent/ in any browser...

The problem seems to affect the latest version of Firefox (57.0b3) and not Chrome, so I'll contact the developer of the addon.

I could not get it working on firefox either. I use 'remote torrent adder' on chrome which I have never had any issues with.


@vue/apollo-composable 4.0.0-alpha.12 fails to build

Describe the bug
Build error after upgrading to @vue/apollo-composable 4.0.0-alpha.12:
Failed to compile with 1 error
error  in<EMAIL_ADDRESS>
Module parse failed: Unexpected token (14:10)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import { ref, isRef, computed, watch,
| // @ts-expect-error
> vue_demi_1.nextTick, } from 'vue-demi';
| import { throttle, debounce } from 'throttle-debounce';
| import { useApolloClient } from './useApolloClient';

<EMAIL_ADDRESS>1:0-39 1:0-39
 @ ./src/main.ts
 @ multi ./src/main.ts

Versions
vue: 3.0.3
@vue/apollo-composable: 4.0.0-alpha.12
@vue/cli-service: 4.5.11
@apollo/client: 3.3.11
Additional info
tsconfig.json
{
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "strict": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "baseUrl": ".",
    ...
}

Apologies, this was the result of a misconfigured regex in a patch script for a previous alpha release.
For anyone experiencing issues, the following patch script should work with alpha.12:
vite
const fs = require("fs")
const path = require("path")

fs.rmdirSync(path.resolve(__dirname, "../node_modules/.vite_opt_cache"), {
  recursive: true,
})

const useQueryPath = path.resolve(
  __dirname,
<EMAIL_ADDRESS>)

fs.writeFileSync(
  useQueryPath,
  fs.readFileSync(useQueryPath, "utf8").replace(/^onServerPrefetch, /mu, "")
)

webpack/vue-cli
const fs = require("fs");
const path = require("path");

const useQueryPath = path.resolve(
  __dirname,
<EMAIL_ADDRESS>);

fs.writeFileSync(
  useQueryPath,
  fs.readFileSync(useQueryPath, "utf8").replace(/^onServerPrefetch, /mu, "")
);


Bump dompdf

This version fixes the PHP 7.1 bug (numeric value encountered). See
https://github.com/dompdf/dompdf/releases/tag/v0.8.0

Note that I didn't test this, as I don't use Cashier. but it doesn't list any breaking changes.


Is this supposed to repack when I reload my page?

Because it isn't detecting any of my changes. I followed your example with the slight modification of
./node_modules/.bin/webpack-dev-server --config ./config/webpack.config.js --host '<IP_ADDRESS>'

because I'm running things through docker compose.

Seems like there's problems with listening for file change events from within a docker container
https://github.com/webpack/webpack-dev-server/issues/143
I ended up just adding
watchOptions: {
  poll: true
}

I'll close this as it's unrelated to the project.


Thanks a lot.

I had a hard time finding this program.
I wanted to edit the menu.
Thank you so much.
:)

It's not even a program, but only a guide with documented selector names. However I'm very happy it could help you fix and optimize those strange default menus :-)
This project is linked on a ceratin reddit thread which often is one of the first search results. Furthermore it's in the CustomCSSforFx project which was always my No1 for customizing the UI.


Design a user-friendly UI for a TODO app, complete with a seamless login and sign-up experience.

Add a folder named after your name inside UI/UX folder. Inside your personal folder, create a subfolder named TODO and upload the images of your UI design. Additionally, create a text file named 'link.txt' containing the Figma link to access the UI design.

i need this

add me

i started working on that

i wanted to push my folder give me access

Create a Pull request after you fork the repo to do the changes

what to do after Pull request

After pull request I will merge the the PR and by this you will contribute to Hacktoberfest

0 / 4 [1 waiting]


DOCS: Fix spelling and grammar in pipelining documentation

Maintaining a line limit on these docs might help improve the diff from git, since they hide my most notable correction of sexist -> exist

Wow that typo was embarassing to see that it was in there... Thank you for this contribution, documentation fixes is allways appreciated.


Fix commonjs issue, remove unused dependency, emit type declarations

Another option could be to step away from commonjs entirely, but it works for now, and I don't wanna change too much to a repository that I don't own :)

I'm not too sure why the tests didn't work when I initially installed it due to the cjs issue, so I'd love a double check on your system that everything works correctly before the merge is done.

Ah, should probably change the version number as well. I'll try and do that in a bit if it isn't merged by then, as I can't really do it right now.

Actually, just found a few issues. as I never actually tested it myself beyond running the tests. I'll re-open (if I can, or create a new pull-request. Not too familiar with GitHub) once I solve that later.


Bottom

Would it be possible to show in the bottom of everything? I have to scroll up to see the result :-1:
Other than that, great plugin! :+1:

Good idea! I have to look into the timing there. I actually think it might be partially based on where in your plugins list it gets placed! Haha.

Suppose it would be better to use the done hook instead of afterEmit. Several plugins for formatting build stats output are using done, thus all of them would print their output after the one from this plugin.

@DorianGrey Hmm - does that hook pass the compilation instance like afterEmit does? If so it'd be a trivial change.

No, but it provides the stats object - see docs: https://webpack.js.org/api/compiler-hooks/#done
The compilation instance is still available on that object, but it also provides simpler ways to access the asset stats information.
Something like:
stats.toJson({}, true).assets

I'm currently using this hook in a more complex display plugin, and it works fine.

Any update on this?
Would be a very useful feature to place the stat output at the end.
I'm using Webpack 4 and regardless where I place the plugin inside the plugins array it gets printed out right at the top.

Fixed in 3.0.0.

Fixed in 3.0.0.


Yii2-sphinx multiple server handling

Hello,
since yii2-sphinx extends yii2 db handling capabilities, it does already support multiple master and multiple slave servers for load balancing and read-write separation.
However, since Sphinx does not support replication, cannot be configured that way as for example, MySQL replication. So, if I need to run multiple servers for load balancing, I have to set up multiple servers (as logigal masters, without logical slaves), and I would need to write in every master.
My component config would be:
 'sphinx' => [
        'class' => 'yii\sphinx\Connection',
        'masters' => [
            ['dsn' => 'mysql:host=<IP_ADDRESS>;port=4300'],
            ['dsn' => 'mysql:host=<IP_ADDRESS>;port=4300'],
        ],
        'masterConfig' => [
            'username' => '',
            'password' => '',
        ],
    ],

The current implementation chooses only one master on a write operation, causing inconsistency.
A feature request would be the high-level support of multiple servers, meaning a loop would do the write operations on ALL masters.
Thank you.

Migrated to https://github.com/yiisoft/yii2-sphinx/issues/42


Add test group to validate any resource

Ref: https://github.com/hl7au/au-fhir-core-inferno/issues/150

@ir4y Could you review it?


doc: mention that only classic PATs work

Minimal version of https://github.com/Mic92/nixpkgs-review/pull/406

I'm not clear what the build failure is about.


Removal of component and disconnection responsibility ?

When a call is made to RemoveComponent(), do I need to call DisconnectComponent() ?
If I do, should I call it before or after RemoveComponent() ?
Cheers

RemoveComponent() takes care of the DisconnectComponent() call for you. In other words, removing a component removes all connections connected to it as well.

RemoveComponent() takes care of the DisconnectComponent() call for you. In other words, removing a component removes all connections connected to it as well.


Cannot be used with Parcel

Because of the unusual way this thing is packaged into a module, Parcel doesn't recognise the require for re-tree.
It might be sufficient to not attempt to require('re-tree') if window.reTree is available.
This might help with the webpack problem as well.
I filed an issue with Parcel, but it can be fixed here as well: https://github.com/parcel-bundler/parcel/issues/1188

So is that not fixed by this?

In theory that should fix it.  If you release to npm I'll confirm.

Published to NPM just now. Would be great if you could confirm the fix.

Working for me now.  Thanks for the quick turnaround!


SQL error when running with DOCKER_DB_BOOTSTRAP

When running oncall in docker with DOCKER_DB_BOOTSTRAP: 1, startup generates this error:
ERROR 1136 (21S01) at line 58: Column count doesn't match value count at row 1

Which seem related to the changes in https://github.com/linkedin/oncall/commit/1ea7fbb8ea6af013ab9a833d46acfc45070cc4c2#diff-d77d5e503ad1439f585ac494268b351b

Has been fixed


ValueError thrown in trivial Keras model using tf.split

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes, pasted below
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
Anaconda, "tensorflow-gpu"
TensorFlow version (use command below):
2.1.0
Python version:
3.7.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
Keras model using tf.split (or tf.tile, or tf.zeros) hits the following exception, via "assert_shallow_structure" in nest.py, because one of the TensorSpecs is deeper in a sequence than the other (e.g. [[[TensorSpec]]] vs. [TensorSpec]). The actual trigger is tf.keras.models.load_model.
ValueError
Could not find matching function to call loaded from the SavedModel. Got:
Positional arguments (1 total):
* Tensor("inputs:0", shape=(None, 256, 8, 8), dtype=float32)
Keyword arguments: {}
Expected these arguments to match one of the following 1 option(s):
Option 1:
Positional arguments (1 total):
* [TensorSpec(shape=(None, 256, 8, 8), dtype=tf.float32, name='inputs/0')]
Keyword arguments: {}
Describe the expected behavior
Loading the SavedModel in Keras succeeds without an exception.
Standalone code to reproduce the issue
import tensorflow as tf
input = tf.keras.layers.Input(shape=(256, 8, 8), dtype="float32")
output, y = tf.split(input, 2, axis=1)
model = tf.keras.Model(input, output)
model.save("C:\Users\Public\repro", save_format="tf")
tf.keras.models.load_model("C:\Users\Public\repro")
Workaround
Wrapping the tf.split or other tf operation in a Keras Lambda layer works around the bug. Example code:
import tensorflow as tf
input = tf.keras.layers.Input(shape=(256, 8, 8), dtype="float32")
output, y = tf.keras.layers.Lambda(lambda tensor : tf.split(tensor, 2, axis=1))(input)
model = tf.keras.Model(input, output)
model.save("C:\Users\Public\repro", save_format="tf")
tf.keras.models.load_model("C:\Users\Public\repro")
Other info / logs

The problem is that even if operations like tf.*, "output = input * 5", "output = input[:, :128, :, :]" are meant to be wrapped in a Keras layer (e.g. subclassed or Lambda), without doing so (a) the model will happily compile and train for hours, and (b) the exception thrown gives no indication of what the developer has done wrong. Fast-failing and clearer doc examples may both help at a project level.

@chrisbutner
I am not seeing any issue with TF version 2.2.0.Please, find the gist here.Please verify once and close the issue. Thanks!

Thanks. Confirmed fixed on 2.2, can train and predict after loading.


Update backend.ts

Use app.getPath('crashDumps') to not break in electron v12

Thanks for the PR.
We want to continue supporting older versions of Electron so I'l close this in favour of #303


[denydeps] Add nativeBuildInputs to disallowedRequisites or disallowedReferences by default

Project description
Build tools should not become part of the output. We could enforce this by default.
The same applies to depsBuildBuild and depsBuildTarget, which is to say, all depsBuild*, which nativeBuildInputs is also part of.
This rule will prevent accidental oversized closures.
This precise idea did not have an issue yet. I've heard it mentioned at times and I figured https://github.com/NixOS/nixpkgs/issues/15004#issuecomment-332352833 was worth promoting to a full issue.

https://nixos.org/manual/nix/stable/release-notes/rl-2.2.html?highlight=disallowedRequisites#release-22-2019-01-11
with structuredAttrs it will be possible to disallow/allow requisites per output https://nixos.org/manual/nix/stable/release-notes/rl-2.2.html?highlight=disallowedRequisites#release-22-2019-01-11
outputChecks."out" = {
  # The closure of 'out' must not be larger than 256 MiB.
  maxClosureSize = 256 * 1024 * 1024;

  # It must not refer to C compiler or to the 'dev' output.
  disallowedRequisites = [ stdenv.cc "dev" ];
};


Update ROCm-CMake tag

The CMake dependencies GIT_TAG for rocm-cmake needs to be adjusted to be compatible with the ROCM package version 0.11.0 that's used elsewhere.
The current version of rocm-cmake (6.1.2) requires ROCM package version 0.12.0. The rocm-cmake 6.0.2 tag is the latest one that still allows us to use ROCM package version 0.11.0.

FYI, in https://github.com/ROCm/rocPRIM/pull/575#issuecomment-2237032856 I have fixed it, so rocm-cmake from ROCm 6.1.2 works. This is done by invoking CMake during the populate step: https://github.com/ROCm/rocPRIM/commit/4651b07a6af1642f0d0bc9d7166b4298d8eb4ade.

Thanks @Naraenda, that's great. Since your fix uses 6.1.2, it's better than this one. I can close this PR and mention yours in the Jira ticket for this issue.


Release 2.0.24 for the new jetty CVE

Hello.
Not sure if this is a good platform to ask for a release but could you release 2.0.24 so we can avoid the new jetty vulnerability that is fixed at 9.4.43?
For a little more context: Our builds (as I suspect many others) fail when a vulnerability is found which is a blocking issue. We can ignore specific vulnerabilities of course, which we do when there is no other way, but would rather not do that.

@natan-abolafya Thanks for bringing this up!
We've just released Dropwizard 2.0.24 with the latest version of Jetty 9.4.x:
https://github.com/dropwizard/dropwizard/releases/tag/v2.0.24
The artifacts should be available on Maven Central within a few hours.

Thank you @joschi


Status page should hide components that are not "highly visible"

Certain parts of the status page, such as USNC and USSC gallery, are not obvious to customers. We should not display these components because they confuse the experience.

Tracking deployment with https://github.com/NuGet/NuGetGallery/issues/6377


Installation error on Sailfish OS versions <IP_ADDRESS> & <IP_ADDRESS>

Trying to install Storeman on Sailfish OS versions <IP_ADDRESS> & <IP_ADDRESS> gives an error saying there is nothing that provides libsolv.so.0 which is needed.

Hi! Try to install this package.

I am on Sailfish OS <IP_ADDRESS> (Rokua) and
sudo zypper install harbour-storeman

gives me
Password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libsolv.so.1 needed by harbour-storeman-0.2.7-1~sfos4.1.armv7hl
 Solution 1: do not install harbour-storeman-0.2.7-1~sfos4.1.armv7hl
 Solution 2: break harbour-storeman-0.2.7-1~sfos4.1.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c

I tried
sudo zypper install https://github.com/mentaljam/harbour-storeman/releases/download/v0.2.2-1/harbour-storeman-0.2.2-1.armv7hl.rpm

but got the same (but for the different version):
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libsolv.so.1 needed by harbour-storeman-0.2.2-1.armv7hl
 Solution 1: do not install harbour-storeman-0.2.2-1.armv7hl
 Solution 2: break harbour-storeman-0.2.2-1.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c

@mschilli87, there is a special package for sfos3.3 https://github.com/mentaljam/harbour-storeman/releases/download/v0.2.7-1/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm

@mentaljam: Thx for the quick response.
sudo zypper install \
  https://github.com/mentaljam/harbour-storeman/releases/download/v0.2.7-1/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm

gives me
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides sailfish-version = 3.3 needed by harbour-storeman-0.2.7-1~sfos3.3.armv7hl
 Solution 1: do not install harbour-storeman-0.2.7-1~sfos3.3.armv7hl
 Solution 2: break harbour-storeman-0.2.7-1~sfos3.3.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c

Is it safe to ignore this 'dependency'?
Also, is there a way to get this via a repository instead of manually downloading RPMs after asking around which one to get?
I did try
ssu addrepo osetr http://sailfish.openrepos.net/osetr/personal/main

assuming zypper would figure out the correct file to use.
But maybe I am just spoiled by the package managers I am used to using. :wink:
Thank you for you work on this and the great support on top of it.

I did try installing the package manually regardless:
sudo zypper install \
  https://github.com/mentaljam/harbour-storeman/releases/download/v0.2.7-1/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides sailfish-version = 3.3 needed by harbour-storeman-0.2.7-1~sfos3.3.armv7hl
 Solution 1: do not install harbour-storeman-0.2.7-1~sfos3.3.armv7hl
 Solution 2: break harbour-storeman-0.2.7-1~sfos3.3.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 2
Resolving dependencies...
Resolving package dependencies...

The following 10 NEW packages are going to be installed:
  harbour-storeman libsailfishcrypto libsailfishcryptopluginapi libsailfishsecrets
  libsailfishsecretspluginapi qt5-plugin-sqldriver-sqlcipher sailfishsecretsdaemon
  sailfishsecretsdaemon-secretsplugin-common sailfishsecretsdaemon-secretsplugins-default
  sqlcipher

10 new packages to install.
Overall download size: 1.6 MiB. Already cached: 0 B. After the operation, additional 5.0 MiB
will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package libsailfishcrypto-0.2.17-1.12.1.jolla.armv7hl
                                                           (1/10), 211.1 KiB (746.2 KiB unpacked)
Retrieving: libsailfishcrypto-0.2.17-1.12.1.jolla.armv7hl.rpm .............................[done]
Retrieving package libsailfishsecrets-0.2.17-1.12.1.jolla.armv7hl
                                                           (2/10), 155.5 KiB (412.7 KiB unpacked)
Retrieving: libsailfishsecrets-0.2.17-1.12.1.jolla.armv7hl.rpm ............................[done]
Retrieving package sqlcipher-3.4.1+git2-1.3.1.jolla.armv7hl
                                                           (3/10), 261.2 KiB (633.9 KiB unpacked)
Retrieving: sqlcipher-3.4.1+git2-1.3.1.jolla.armv7hl.rpm ..................................[done]
Retrieving package libsailfishsecretspluginapi-0.2.17-1.12.1.jolla.armv7hl
                                                           (4/10),  34.8 KiB ( 17.7 KiB unpacked)
Retrieving: libsailfishsecretspluginapi-0.2.17-1.12.1.jolla.armv7hl.rpm ...................[done]
Retrieving package qt5-plugin-sqldriver-sqlcipher-0.2.17-1.12.1.jolla.armv7hl
                                                           (5/10),  46.9 KiB ( 50.3 KiB unpacked)
Retrieving: qt5-plugin-sqldriver-sqlcipher-0.2.17-1.12.1.jolla.armv7hl.rpm ................[done]
Retrieving package libsailfishcryptopluginapi-0.2.17-1.12.1.jolla.armv7hl
                                                           (6/10),  31.8 KiB (  9.5 KiB unpacked)
Retrieving: libsailfishcryptopluginapi-0.2.17-1.12.1.jolla.armv7hl.rpm ....................[done]
Retrieving package sailfishsecretsdaemon-0.2.17-1.12.1.jolla.armv7hl
                                                           (7/10), 355.3 KiB (935.8 KiB unpacked)
Retrieving: sailfishsecretsdaemon-0.2.17-1.12.1.jolla.armv7hl.rpm ............[done (15.4 KiB/s)]
Retrieving package sailfishsecretsdaemon-secretsplugin-common-0.2.17-1.12.1.jolla.armv7hl
                                                           (8/10), 127.7 KiB (304.3 KiB unpacked)
Retrieving: sailfishsecretsdaemon-secretsplugin-common-0.2.17-1.12.1.jolla.armv7hl.rpm ....[done]
Retrieving package sailfishsecretsdaemon-secretsplugins-default-0.2.17-1.12.1.jolla.armv7hl
                                                           (9/10),  73.2 KiB (136.3 KiB unpacked)
Retrieving: sailfishsecretsdaemon-secretsplugins-default-0.2.17-1.12.1.jolla.armv7hl.rpm ..[done]
Retrieving package harbour-storeman-0.2.2-1.armv7hl       (10/10), 372.1 KiB (  1.8 MiB unpacked)
harbour-storeman-0.2.2-1.armv7hl.rpm:
    Package is not signed!

harbour-storeman-0.2.2-1.armv7hl (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i
Checking for file conflicts: ..............................................................[done]
( 1/10) Installing: libsailfishcrypto-0.2.17-1.12.1.jolla.armv7hl .........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/libsailfishcrypto-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 2/10) Installing: libsailfishsecrets-0.2.17-1.12.1.jolla.armv7hl ........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/libsailfishsecrets-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 3/10) Installing: sqlcipher-3.4.1+git2-1.3.1.jolla.armv7hl ..............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/core/armv7hl/sqlcipher-3.4.1+git2-1.3.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 4/10) Installing: libsailfishsecretspluginapi-0.2.17-1.12.1.jolla.armv7hl ...............[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/libsailfishsecretspluginapi-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 5/10) Installing: qt5-plugin-sqldriver-sqlcipher-0.2.17-1.12.1.jolla.armv7hl ............[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/qt5-plugin-sqldriver-sqlcipher-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 6/10) Installing: libsailfishcryptopluginapi-0.2.17-1.12.1.jolla.armv7hl ................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/libsailfishcryptopluginapi-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 7/10) Installing: sailfishsecretsdaemon-0.2.17-1.12.1.jolla.armv7hl .....................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/sailfishsecretsdaemon-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 8/10) Installing: sailfishsecretsdaemon-secretsplugin-common-0.2.17-1.12.1.jolla.armv7hl [done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/sailfishsecretsdaemon-secretsplugin-common-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

( 9/10) Installing: sailfishsecretsdaemon-secretsplugins-default-0.2.17-1.12.1.jolla.armv7h[done]
Additional rpm output:
warning: /var/cache/zypp/packages/jolla/oss/armv7hl/sailfishsecretsdaemon-secretsplugins-default-0.2.17-1.12.1.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY

(10/10) Installing: harbour-storeman-0.2.2-1.armv7hl ......................................[done]

This gave me a Storeman icon in my app list but tapping does not open the app.
I tried getting some more information by launching it from the terminal:
harbour-storeman

harbour-storeman: error while loading shared libraries: libsolv.so.1: cannot open shared object file: No such file or directory

So I guess there still is any issue with libsolv after all...

Problem: nothing provides sailfish-version = 3.3

Do you use a community port? I don't know much about ports, maybe sailfish-version is unavailable for them? For now I use this package to explicitly restrict the installation of certain builds of storeman on certain SFOS versions.

I did try installing the package manually regardless...
Retrieving package harbour-storeman-0.2.2-1.armv7hl       (10/10), 372.1 KiB (  1.8 MiB unpacked)

Zypper installed a wrong version for SFOS 4 which has libsolv.so.1 while SFOS 3 has libsolv.so.0. I may suggest you to try to install an appropriate sailfish-version package or to install harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm manually with pkcon install-local harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm.

Problem: nothing provides sailfish-version = 3.3

Do you use a community port?

Yes indeed. Sorry for not bringing this up earlier.

I don't know much about ports, maybe sailfish-version is unavailable for them? For now I use this package to explicitly restrict the installation of certain builds of storeman on certain SFOS versions.

It seems zypper disagrees:
zypper se sailfish-version

Loading repository data...
Reading installed packages...

S | Name                     | Summary                             | Type
--+--------------------------+-------------------------------------+--------
i | sailfish-version         | Sailfish OS <IP_ADDRESS> (release)      | package
  | sailfish-version-doc     | Sailfish OS <IP_ADDRESS> (release)      | package
i | sailfish-version-variant | Sailfish OS release variant package | package

I did try installing the package manually regardless...
Retrieving package harbour-storeman-0.2.2-1.armv7hl       (10/10), 372.1 KiB (  1.8 MiB unpacked)

Zypper installed a wrong version for SFOS 4 which has libsolv.so.1 while SFOS 3 has libsolv.so.0.

Sorry if I am doing something fundamentally wrong. I haven't used RPM-based distros in well over a decade and even back then never really used any of them as a primary system.

I may suggest you to try to install an appropriate sailfish-version package or to install harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm manually with pkcon install-local harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm.

Since apparantly I do have sailfish-version (and I'd assume <IP_ADDRESS> to satisfy a 3.3 dependence), I opted for the 2nd approach:
curl -L \
  -o /tmp/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm \
  https://github.com/mentaljam/harbour-storeman/releases/download/v0.2.7-1/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm
sudo pkcon install-local /tmp/harbour-storeman-0.2.7-1.sfos3.3.armv7hl.rpm

Unfortunately, that brings us back to sqaure one (or rather two? :wink:):
Installing files
Testing changes
Finished
Fatal error: nothing provides sailfish-version = 3.3 needed by harbour-storeman-0.2.7-1~sfos3.3.armv7hl

Just in case this helps to further narrow down the issue:
sudo zypper in sailfish-version

Loading repository data...
Reading installed packages...
'sailfish-version' is already installed.
No update candidate for 'sailfish-version-3.3.0-1.16.16.jolla.noarch'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.

Thanks again for your ongoing support and sorry for needing to be taken by the hand like this.

Thanks again for your ongoing support and sorry for needing to be taken by the hand like this.

Don't worry! I have provided a special package for SFOS 3.3 that doesn't work. It is logical to work on fixing it :)
I'll take a closer look at the dependencies being generated for my RPMs, maybe I would find something.

@mentaljam: If there's anything I could do in the meantime to help you help me, please let me know.

I have the same problem with the volla phone which has only a community port to 3.4 :-(

Sorry for a long reply. @mschilli87, @dennisroczek can you, please, try to install this RPM harbour-storeman-0.2.7-1~sfos3.3.armv7hl.zip?

@mentaljam:
Perfect! That one installed just fine (via  pkcon) and I successfully added a repo and installed an app from it using Storeman. :tada:
Thank you for your (IMHO fast!) fix and the great service you provide to the community by maintaining this software for free. :heart:

Doesn't work.
I get the error that libsolv.so.0 is missing.
using whereis
libsolv.so.1 is found in /usr/lib
trying to install harbor 2.7.1 for sfos4 is not possible as it says that sailfish version >=4.1 is needed. :-(
Deadlocked.

@dennisroczek: Note that I am on 3.3 and you seem to be o 3.4. The link @mentaljam provided explicitly mentions 3.3, so maybe that is why it works for me but not for you?

@dennisroczek: Note that I am on 3.3 and you seem to be o 3.4. The link @mentaljam provided explicitly mentions 3.3, so maybe that is why it works for me but not for you?

very likely. And the ticket is about sfos 3.4 😛

Hi! Try to install this package.

ouch. Didn't see that package! 🤦 That package does work for me! Thanks.

Hi! Try to install this package.

ouch. Didn't see that package! 🤦 That package does work for me! Thanks.

But this is an old version. The current one is 0.2.7.
Yeah, but having any storeman is better than having no storeman. ;-)

Seems that I've got completely confused with SFOS versions. The libsolv was updated in 3.4, but I thought that it was in SFOS 4.0.
So I need to downgrade the minimum required SFOS version for harbour-storeman-0.2.7-1.sfos4.1.rpm to SFOS 3.4.
👍

@mschilli87, @dennisroczek please try to install these packages:

For SFOS 3.3 - harbour-storeman-0.2.7-1~sdk<IP_ADDRESS>.armv7hl.zip
For SFOS 3.4 - harbour-storeman-0.2.7-1~sdk<IP_ADDRESS>.armv7hl.zip

@mentaljam:
I am getting a
The selected package 'harbour-storeman-0.2.7-1~sdk<IP_ADDRESS>.armv7hl' from repository 'Plain RPM files cache' has lower version than the installed one. Use 'zypper install --oldpackage harbour-storeman-0.2.7-1~sdk<IP_ADDRESS>.armv7hl' to force installation of the package.
There is an update candidate 'harbour-storeman-0.2.7-1~sfos4.1.armv7hl' for 'harbour-storeman-0.2.7-1~sfos3.3.armv7hl', but it does not match the specified version, architecture, or repository.

warning.
Should I still install/downgrade from the working version I have?

@mschilli87, it happens because sdk<IP_ADDRESS> is lexicographically less than sfos3.3. I decided to change the naming schema because now it doesn't show the target OS version but the SDK which was used for building the package.
Anyway, just ignore the warning. We need to check if this rpm will be installed on your device.

@mentaljam: Seem to be working fine AFAICT.

I consider this problem to be solved and am closing it. If not, please reopen


Get wrong lyrics from phone MIRPS

0. System information
Waylyrics version: 0.1.0_r172.ga0d7849-1 from archlinuxcn
DE: Plasma 5.27.6
WM: Kwim 5.27.6
1. Problem description
Using KDE Connect pass MIRPS info to PC, but won't change for the next one. (Only the first lyrics can be shown properly, the latter is to repeat the first one's lyrics)
2. Logs at running
!  ~  waylyrics                                                                                5.7m  2023年07月12日 星期三 15时52分33秒
(waylyrics:9881): Gtk-WARNING **: 15:52:34.979: Unknown key gtk-modules in /home/kevin/.config/gtk-4.0/settings.ini

(waylyrics:9881): Gtk-WARNING **: 15:52:35.007: Theme directory 32/emblems of theme Eleven-Dark has no size field

(waylyrics:9881): Gtk-WARNING **: 15:52:35.008: Theme directory 32@2x/emblems of theme Eleven-Dark has no size field

(waylyrics:9881): Gtk-WARNING **: 15:52:35.009: Theme directory 48/emblems of theme Eleven-Dark has no size field

(waylyrics:9881): Gtk-WARNING **: 15:52:35.009: Theme directory 48@2x/emblems of theme Eleven-Dark has no size field

2023-07-12T07:52:37.003539Z  INFO waylyrics::sync::player: connected to player: 网易云音乐 - Pixel 4A
2023-07-12T07:52:39.009599Z  INFO waylyrics::sync::cache: cache missed: 没有那个文件或目录 (os error 2)
2023-07-12T07:52:39.277601Z  INFO waylyrics::sync::player: matched songid:<PHONE_NUMBER>
2023-07-12T07:52:39.414261Z  INFO waylyrics::sync::cache: cached to "/home/kevin/.cache/waylyrics/45/2b/cf/452bcf6cd326c331e641db61f2733025.json"
2023-07-12T08:10:27.355816Z  INFO waylyrics::sync::player: disconnected from player: 网易云音乐 - Pixel 4A

run the latest commit with RUST_LOG=trace and you will get TrackID
seems a common issue that, many mpris clients do not properly provide unique TrackID's.

continuously repeat this
2023-07-12T09:30:36.125240Z TRACE waylyrics::sync::player: got track_id: /org/mpris/MediaPlayer2

@Seele-Vollerei32 我记的意思是 no song is playing

Emm……
So it is KDE Connect's bug, right?

@Seele-Vollerei32 indeed

I'll report to KDE later, the issue is going to be closed.


Issue with Premake

C:\Dev\C++\GShell> vendor\bin\premake\premake5.exe vs2019
Error: [string "src/base/_foundation.lua"]:127: attempt to concatenate a table value (local 'fname')
// GShell is my own engine based on Hazel used for Private use

I used vs 2019 and premake 5 alpha 15

I used vs 2019 and premake 5 alpha 15


Change Detection runs all time even if map is not present

The issue is than if you have <agm-map> in component with *ngIf on it, the change detection runs every second after it is shown.
Steps to reproduce and a minimal demo of the problem
I created repo for reproduction.
What steps should we try in your demo to see the problem?

Clone the repo.
Put your API_KEY to app.module.ts.
Run with ng serve
Open the console window.
Click on Show/Hide button - Map hides and change detection runs only couple of times and then stops
Click on Show/Hide button again - Map is shown and in console the change detection logs keep running / there is also so much change detection running if you hover over

angular2 & angular-google-maps version
"@agm/core": "1.0.0-beta.0"

I think you can try OnPush, visit the plnkr in this issue i created a while ago:
https://github.com/SebastianM/angular-google-maps/issues/900

Thank you @efstathiosntonas I will try that. But I think that this is still a bug, because it should not trigger so much ChangeDetection even if the map component is hidden.

Any update on this issue?

I think we are experiencing this issue as well.  I suspect some subscriptions are not being unsubscribe()'d somewhere in the map.  In our application, if you:

visit a page that renders a map
leave the page so it gets destroyed
visit again
click on the map

We get a runaway number of calls do ngDoCheck() in the app component, and noticeable performance hit:

This occurs even when I take off (mapClick) from the sebm-google-map element.
I tried to recreate this in a plunkr.  I haven't been able to get a runaway number of digest loops after hiding -> showing -> clicking the map yet.  But I did notice that the 2nd time the map renders it triggers a digest check every time you move your mouse, in firefox only...  Seems like related behavior, maybe.

I think i've found the problem.
Basically in GoogleMapsAPIWrapper::subscribeToMapEvent creates map listeners but never destroys them when AgmMap component is destroyed.
Keeping Google Maps events appended seems to trigger Angular change detection like crazy

@SebastianM
I believe I tracked down where this issue is coming from. In the constructor for FitBoundsService, there's an observable pipeline definition which basically samples the includeInBounds$ observable based on a variable timer, and then maps that onto a generation of the bounds.
The first problem is the internal timer is triggering angular change tracking every time it fires (by default, 5 times per second) regardless of whether the observable it's sampling has a new value.
The second is that the FitBoundsService is not disposed on map-hide, but a new instance is created the next time the map is shown. This leak leads to very bad performance if change checking is remotely expensive.
I'm fairly new the RxJS and the Angular change-tracking system, so I'm not at all sure what the appropriate fix is here. Hopefully finding the problem will make this easy for someone more skilled than me.


Parse Javaslang

This would be a good test

In the meantime it has been renamed to vavr

Not an immediate plan


remove (Landkreis) from Landkreise with Bad

https://observablehq.com/d/2371179e77c209a5
(somehow we do this on observable)


Voice commands

Hello
first of all, thank you for this great tool, we discovered it last week only but we've already did a test run last night and we plan to use it for Tuesday ZRL.
One thing, that would be very cool - if it could listen to voice commands - if we'd use mentions in /timer athletes, it could know who's talking and when it would hear SKIP, it would skip given athlete without having to press the button.
I dont know if this is something you consider implementing, I myself am not very skilled with typescript but I briefly checked and there are some discord bots that can recognize audio using google services
Once again, thank you for working on this

Hi Jakub 👋
I am happy to hear you like this discord bot!
I like the idea and it could be a great addition that would make the bot more like a real DS as it would listen to what people say.
I currently don't plan to make more heavy investments into this bot for the foreseeable future. The bot is also currently running on a free fly.io hosts with very limited resources. I don't think processing many audio streams in parallel would work on these machines and the Google services also won't be for free.
For the record, could you point me to the bots that do speech recognition?

For the record, could you point me to the bots that do speech recognition?

I just quickly searched and found this:
https://github.com/SteTR/Emost-Bot/blob/master/src/VoiceRecognitionService.js

The bot is also currently running on a free fly.io hosts with very limited resources.

We were testing the bot on Sunday evening and it worked perfectly. Last night, during ZRL, there were a few hickups - the bot would sometimes skip our names, eg he'd go change in 10, 5, 2, 1 but he'd miss get ready <name> and go <name>. Do you think it could have been caused by server overload? I quicky checked the code and there seems to be no caching involved, it always asks google's test2speech, doesnt it?  It could be worth to cache pretty much every command as they're going to be repeated over and over

I see that you added caching 11 hours ago :D That might have been after my race (1934 CET)

For the record, could you point me to the bots that do speech recognition?

I just quickly searched and found this:
https://github.com/SteTR/Emost-Bot/blob/master/src/VoiceRecognitionService.js

Pricing: https://cloud.google.com/speech-to-text/pricing/
I don't have control about the usage and would need to stream the audio of the whole race. That would probably make the bot a non-free bot.

We were testing the bot on Sunday evening and it worked perfectly. Last night, during ZRL, there were a few hickups - the bot would sometimes skip our names, eg he'd go change in 10, 5, 2, 1 but he'd miss get ready  and go . Do you think it could have been caused by server overload? I quicky checked the code and there seems to be no caching involved, it always asks google's test2speech, doesnt it? It could be worth to cache pretty much every command as they're going to be repeated over and over.

The bot currently has a memory leak and crashed multiple times in the last week. It immediately restarts, but there might have been a few missing commands during restart.

Nov 24, 23:37 UTC
Nov 25, 09:02 UTC
Nov 28, 19:59 UTC
Nov 29, 12:16 UTC

All commands should be cached, so, in theory, only the first time a command is streamed could be broken. After that all audio is loaded from the disk.
Did the commands get dropped completely or cut early?
Did the error consistently occur for one name or randomly for various names? Maybe Googled doesn't know how to pronounce that specific name.
I do not store logs, so I am not sure how many people are using the bot in parallel. But too many users could be an issue. The servers are very weak (1 shared cpu, 228mb ram). Maybe you can try the second bot which is running on a different server: https://github.com/andipaetzold/tttt-discord#parallel-timers. I'd be interested to hear whether that improves the performance.
When is the next race? If I have time, I can take a look at the logs while you are racing.

I see that you added caching 11 hours ago :D That might have been after my race (1934 CET)

The audio files were cached for quite a while already. I only migrated from the https module to the "new" fetch API. Fetch API is only available since the bot runs on node 20

I don't have control about the usage and would need to stream the audio of the whole race. That would probably make the bot a non-free bot.

Yea, I guess this could only make sense if everyone self-hosted the bot which most zwifters are probably unable to do and asking them for some money would be too much work (from a hobby project to actually provide support etc).. I still might try to implement this in my fork and self-host it for testing the recognition sounds cool, wonder what the results will be like - given how bad the people usually sound during TTT.

The bot currently has a memory leak and crashed multiple times in the last week. It immediately restarts, but there might have been a few missing commands during the restart.

None of the restarts happened during our ZRL TTT. It was from 1837 UTC to 1908UTC approximately. And the issues were happening from 1837 to like 1840. During this time, the bot didnt say a single name, was just announcing change 10, 5, 2, 1 and completely skipping cues <name> get ready and change to <name>. It was not related to any specific name, all names were skipped. And after a few turns it normalized by itself and it started to speak all of our names. Not really sure what could have been the cause.
Either way, we're riding tonight again WTRL TTT so we will give it another go. And since I am now more familiar how the bot works and how the reaction button works, I might be able to DS & ride better.
I will let you know afterward whether we had any difficulties.

Good luck 🤞 I'll keep an eye on the logs

it was perfect tonight, not a single problem, one of our best TTTs so far (siting at 20th overall now), so smooth transitions, thank you ❤


Normative: Flush Job Queue between module imports

Closes #47, #43, #48, #50

Thinking about this a bit more, I prefer this option to #49, since it's more consistent with https://www.w3.org/2001/tag/doc/promises-guide and achieves the ordering invariants that we need.

Does this approach mean that in the following case:
a.js
import './b.js';

b.js
await 0;

execution will run completely synchronously?

@guybedford

execution will run completely synchronously?

Well, depends what you mean by "synchronously", but basically yes. Here's another example of an observable semantic difference between this PR and #49 (I imagine this kind of thing might be what you're getting at):
a.mjs
import "./b.mjs";
import "./c.mjs";
console.log("a");

b.mjs
console.log("b1");
await 0;
console.log("b2");

c.mjs
console.log("c");

file.html
<script type=module src="a.mjs"></script>

In this PR, the order would be b1, b2, c, a, whereas in #49, the order would be b1, c, b2, a.

I'm wondering if it might not be possible to:

I don't understand how this would work. Ultimately, there are two different Promises and capabilities: the one that's used within the cycle, and the one that's exposed at the end. If overwriting the same slot is seen as messy, we could use two different ones. (I like how the spec is based on Promises, not capabilities, where possible since it feels like giving "least authority", but I don't think that's an extremely important concern here.)

To clarify, async 0 will still involve a microtask queue operation, and still happen asynchronously. The semantics of the top level of a module are, in the end, just the same as an async function. It's just that we flush the microtask queue between executing modules.

I'm still against this approach, and have deep concerns about its implications for JS optimizations in future. This introduces a whole new class of bugs when using tools like Rollup, and I think #47 would be a far more sensible and intuitive approach.


add caching to CI tests

Attempting to fix https://github.com/commaai/openpilot/issues/1902

We have a limited cache from github, so we need to make sure the cache we use for the mac build and this aren’t greater than the limit. Otherwise we effectively won’t have a cache since they’ll just overwrite each other.

Well I don't expect videos to take up more than let's say 500MB. Is there a way to see what is in a cache to kind of monitor it? Or at least see what it's size is?

macos cache is 3484 MB according to the cache download step. Sounds like we have space for both.


Special README paths can be infinitely nested

Description
Gitea supports loading READMEs from ./README.md but also ./README, ./README.txt, ./README.zh.md, etc, and also also ./docs/README.md, ./.github/README.md, ./.gitea/README.md.
But currently it also supports infinitely nested copies of these special subdirs, like this regex: ./({docs,.github,.gitea}/)+README.*
Eg. https://try.gitea.io/kousu/test-readme-recurse/
Gitea Version
1.20.0+dev-265-gc5cfc0855
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
2.24.1
Operating System
Ubuntu 22.04
How are you running Gitea?
I built mine at home.
Database
SQLite

This was introduced when I was responding to code review during https://github.com/go-gitea/gitea/pull/22177.
There is a test I added in #23185 for this, but I left commented out because I knew this was broken.


tf.image.draw_bounding_boxes: Aborted (core dumped)

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.15
Custom code
Yes
OS platform and distribution
Ubuntu 20.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Under specific input, tf.image.draw_bounding_boxes encounters "Aborted (core dumped)".
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

batch_size = 1
image_height = 100
image_width = 100
num_channels = 3
num_boxes = 2

images = np.random.rand(batch_size, image_height, image_width, num_channels)
boxes = np.random.rand(batch_size, num_boxes, 4)
colors = np.array([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]])  # Define colors for the bounding boxes

input_images = tf.convert_to_tensor(images, dtype=tf.float32)
input_boxes = tf.convert_to_tensor(boxes, dtype=tf.float32)
input_colors = tf.convert_to_tensor(colors, dtype=tf.float32)

reshaped_images = tf.reshape(input_images, [image_height, image_width, num_channels])

output_images = tf.image.draw_bounding_boxes(reshaped_images, input_boxes, colors)

Relevant log output
2024-03-14 05:38:04.463737: F tensorflow/core/framework/tensor_shape.cc:357] Check failed: d < dims() (3 vs. 3)
Aborted (core dumped)

Hi @nonenone12135 ,
Sorry for the delay, The error message indicates that the rank of the images should be 4. The tf.image.draw_bounding_boxes function expects the input images to have a rank of 4, which means that the shape of the input images should be [batch_size, height, width, channels].
In the original code, the reshaped_images variable is created by reshaping the input_images tensor to have a shape of [image_height, image_width, num_channels]. This is incorrect because it removes the batch dimension from the tensor.
To fix this, we need to reshape the input_images tensor to have a shape of [batch_size, image_height, image_width, num_channels]. This can be done by adding the batch_size dimension to the beginning of the shape tuple when reshaping the tensor.

# ... (other code remains the same)

reshaped_images = tf.reshape(input_images, [batch_size, image_height, image_width, num_channels])

output_images = tf.image.draw_bounding_boxes(reshaped_images, input_boxes, colors)

I am providing gist here for your reference.
Thank you!

Thank you for your response! Doesn't it need functionality like OP_REQUIRES which will raise exceptions instead of aborting?

Hi @vraebfdsb ,

As i expected, It will abort. While i will deep dive and confirm with team and let you know more details.

Thank you!


Additional step for getting binding offers

After multiple offers have been received, the tpp wants to get binding offers for just a few of them. This additional step seems to be important because the FIs usually have to block the money for the given binding offers.

As discussed in Mortgage workshop of 21. Sept. 22: Please consider "binding valid until" functionality (input Nobert).
It should be possible to communicate "win" / "loose" that FIs can release their reserverd amount as soon as possible.

@rolfwagner, @pascalstockner There is one contradiction in the specification.
Please take a look on GET /mortgages/orders/{orderId}/status specifications. Order status could be rejected, but it shouldn't be possible if the offer is binding, and a customer got conditions with rates and "validTo" date.
So in the order status response, I would propose to limit enum to ["accepted", "pending"] and remove "rejected" option


Switch to winapi 0.3

This has been stalled since forever now, and this actually is starting to hinder development of Servo, we are now in the process of forking both mio and iovec because of this. This certainly isn't good for the Rust ecosystem that mio is still stuck in the past.
Can we fix this huge problem before 2020?
https://github.com/servo/servo/pull/23449

I don't have Windows so I can't really help here, but there is #956.
Would you like to see that in a 0.6.x release, or in 0.7 (of which the release date isn't clear and will be a bit in the future)?

We needed that in 2018, so I don't really care in which version it happens, we just need it happening.

When will a new release be tagged, to have winapi 0.3.7 and iovec 0.1.2? we're also waiting for this..

The winapi crate will be bumped with mio 0.7. This version will be released in coordination with the rest of the Tokio stack after async / await arrives on the stable Rust channel.
As part of this, winapi will no longer be included in the public API of any crate, so this issue will not happen again.
Until then, if including both winapi 0.2 and 0.3 in an application is not acceptable, patching the dependencies yourself is recommended (see here).

Any ETA? It's been 2 years.

Well it's already on master, but I don't think we have an ETA for 0.7.

@nox there is no ETA. It will be done when it is done. I would appreciate it if you dropped the subject now.


[IAM]: Tests are flaky

In particular if run concurrently: https://source.cloud.google.com/results/invocations/fb9a32a6-b22a-4fe7-b1fd-fe7c137c462b/log

Another one here: https://source.cloud.google.com/results/invocations/c8b62f40-423e-487d-a70b-46cded4c3f3b/log

And another one here: https://fusion2.corp.google.com/invocations/4adb6d71-fe0e-4cab-80f5-952b6526b951/log

And more here: https://fusion2.corp.google.com/invocations/7c0070b7-a921-4ba6-ada9-bd10f4fa6654/log, for service accounts. The IDs for the resources seem to be generated based on sequential numbers and that of course causes a lot of overlap.

Again, service account tests are flaky, or, service account creation takes a while to propagate, not sure which.
https://source.cloud.google.com/results/invocations/23208802-bd8f-4d8c-b4e3-feed40c83849/log
[xUnit.net 00:00:01.89]     GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [FAIL]
  Failed GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [1 s]
  Error Message:
   Google.GoogleApiException : The service iam has thrown an exception. HttpStatusCode is NotFound. Unknown service account
  Stack Trace:
     at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at ServiceAccounts.RenameServiceAccount(String email, String newDisplayName) in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccounts\ServiceAccountsRename.cs:line 36
   at GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts() in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccountTests\ServiceAccountTests.cs:line 20

This is definetely because of tests overstepping each other, see here and here which executed roughly at the same time as part of #2281 checks:
Failed GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [933 ms]
  Error Message:
   Google.GoogleApiException : The service iam has thrown an exception. HttpStatusCode is NotFound. Unknown service account
  Stack Trace:
     at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at ServiceAccounts.RenameServiceAccount(String email, String newDisplayName) in /tmpfs/src/github/dotnet-docs-samples/iam/api/ServiceAccounts/ServiceAccountsRename.cs:line 36
   at GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts() in /tmpfs/src/github/dotnet-docs-samples/iam/api/ServiceAccountTests/ServiceAccountTests.cs:line 20

Failed GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [484 ms]
  Error Message:
   Google.GoogleApiException : The service iam has thrown an exception. HttpStatusCode is Conflict. Service account dotnet-test-8 already exists within project projects/dotnet-docs-samples-tests.
  Stack Trace:
     at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at ServiceAccounts.CreateServiceAccount(String projectId, String name, String displayName) in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccounts\ServiceAccountsCreate.cs:line 42
   at GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts() in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccountTests\ServiceAccountTests.cs:line 18

Another flake #2438
[xUnit.net 00:00:04.24]     GoogleCloudSamples.AccessTest.TestAccess [FAIL]
  Failed GoogleCloudSamples.AccessTest.TestAccess [2 s]
  Error Message:
   Google.GoogleApiException : The service cloudresourcemanager has thrown an exception. HttpStatusCode is Conflict. There were concurrent policy changes. Please retry the whole read-modify-write with exponential backoff. The request's ETag '\007\006\016\221\005\363y\335' did not match the current policy's ETag '\007\006\016\221\006\"\031\347'.
  Stack Trace:
     at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at AccessManager.SetPolicy(String projectId, Policy policy) in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\Access\SetPolicy.cs:line 33
   at GoogleCloudSamples.AccessTest.TestAccess() in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\AccessTest\AccessTest.cs:line 121

Again in #2596
[xUnit.net 00:00:01.81]     GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [FAIL]
  Failed GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts [1 s]
  Error Message:
   Google.GoogleApiException : The service iam has thrown an exception. HttpStatusCode is Conflict. Service account dotnet-test-594 already exists within project projects/dotnet-docs-samples-tests.
  Stack Trace:
     at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at ServiceAccounts.CreateServiceAccount(String projectId, String name, String displayName) in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccounts\ServiceAccountsCreate.cs:line 42
   at GoogleCloudSamples.ServiceAccountTests.TestServiceAccounts() in C:\tmpfs\src\github\dotnet-docs-samples\iam\api\ServiceAccountTests\ServiceAccountTests.cs:line 18


ExpressRoute AZCLI Function Appears Incorrectly Named

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
ExpressRoute does not have a space in the name, however the AZCLI puts a dash between the two words "Express" and "Route".  The proper name is "ExpressRoute" as listed in the service documentation here:  https://azure.microsoft.com/en-us/services/expressroute/.  Per the AZCLI documentation for ExpressRoute here: https://docs.microsoft.com/en-us/azure/expressroute/howto-circuit-cli#get-the-list-of-supported-providers-locations-and-bandwidths - a dash is required.
To Reproduce

Attempt to use a command such as az network expressroute and realize that there needs to be a dash there for some reason.

Expected behavior

az network expressroute should be available for azcli - this improves discoverability and aligns with the technical name and branding of ExpressRoute.  Since it's currently express-route - that should be maintained for backwards compatiblity.

Environment summary
All environments.
Additional context

network

It's a style of Azure CLI. CamelCase would turn into a dash to connect two lowercase-letter leading words


Latest for chapter 1.1 authN

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

cd project-root-directory

people will copy paste this and get confused

Refers to: README.md:85 in 00476d5. [](commit_id = 00476d5c0f56aba95944596b9fa90ae665c7c026, deletion_comment = False)

Navigate to https://<IP_ADDRESS>:5000 in your browser

this needs a fix, the cert issue throws an invalid cert error

Refers to: README.md:196 in 00476d5. [](commit_id = 00476d5c0f56aba95944596b9fa90ae665c7c026, deletion_comment = False)

{% set exclude_claims = ['iat', 'exp', 'nbf', 'uti', 'aio'] %}

Consider flipping this logic to use included_claims instead, the amount of claims that can be made out by AAD will continuously  force you to update

Refers to: templates/auth/token.html:3 in 00476d5. [](commit_id = 00476d5c0f56aba95944596b9fa90ae665c7c026, deletion_comment = False)

Navigate to https://<IP_ADDRESS>:5000 in your browser

this needs a fix, the cert issue throws an invalid cert error
Refers to: README.md:196 in 00476d5. [](commit_id = 00476d5, deletion_comment = False)

It is forbidden to have a valid CA-issued cert for loopback as per Baseline Requirements Documents (SSL/TLS Server Certificates)

The only resolution is for the user to generate and add a self-issued cert to the system's trusted certs, which, in my opinion, is out of scope of the tutorial. I'm open to suggestions on this though.


GPIO25 Pin is Used Twice for Different Functions

I noticed that the Wakeup Pin and the Pulse Counter are both using GPIO25.  I do not believe we can utilize the same pin for two different functions.  What is the best method to correct this simultaneous use of the same pin?
INFO ESPHome 2024.2.2
INFO Reading configuration /config/esphome/weather-station-v32.yaml...
Failed config
**deep_sleep: [source /config/esphome/weather-station-v32.yaml:41]
Pin 25 is used in multiple places.**
run_duration: 40s
sleep_duration: 4min
wakeup_pin:
number: 25
inverted: True
mode:
input: True
output: False
open_drain: False
pullup: False
pulldown: False
ignore_strapping_warning: False
drive_strength: 20.0
**sensor.pulse_counter: [source /config/esphome/weather-station-v32.yaml:104]
Pin 25 is used in multiple places.**
platform: pulse_counter
pin:
number: 25
mode:
input: True
output: False
open_drain: False
pullup: False
pulldown: False
inverted: False
ignore_strapping_warning: False
drive_strength: 20.0
Thx

Looks like an update added some pin reuse validation that was breaking this in newer versions of ESPHome. I added config that explicitly allows reuse between the pulse counter and deep sleep wakeup.
This forum post does challenge the approach of deep sleep combined with pulse counting, so it's possible this config isn't all that helpful anyway.
Ultimately, I found it easier to get power to the site than to keep working on minimizing power usage with solar/battery, so I'm not using this in my own setup. Happy to get any updates if people find something that works well.


Typo on function call.

Checklist

[X] I've verified that I'm running react-big-schedule latest version.

Describe the bug
Found while converting code to typescript.

should be:
.utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
utcOffset is not a function on a Date object.
Reproduction Link/Code
none
Steps to reproduce
none
Operating System
Any
Browser
none
React version
none
react-big-schedule version
4.4.0
Additional Information
Also the Types files in the latest version doesn't even match the code. bruhh

@pmm26 this has been fixed in version 4.4.1


gcc12: disable libsanitizer for mips64

Resubmitting @trofi's 6cec03027a07162b1fe1d5bfd61c98e98eb5c316 from https://github.com/NixOS/nixpkgs/pull/237815 which was the right solution to this problem.
Cc: @trofi @alyssais
Things done

Built on platform(s)

[x] mips64el-linux (cross from x86_64-linux)
[x] mips64-linux (cross from x86_64-linux)

[x] Fits CONTRIBUTING.md.

Fixed merge conflict.


Android: Reading Saved Tags

Very basic support for reading of saved tags.  Includes a good deal of framework code and refactoring that will also support reading saved stories by feed. (reading saveds by feed is coming shortly after the modal UI rework is complete, but I wanted to get this refactor out to minimise merge work)

This is excellent. We'll still need to work on saving tags and then the saved-by-site view that's on web and now ios.

Yeah, that is what I meant by "reading saveds by feed" (awkward English of the day award!).  I have it mostly working, I am just re-arranging the location of the rows per our discussion in #898.


VkDrawIndexedIndirectCommand issue

Does moltenVK have a limitation on total size of indirect draws command buffers?
Vulkan has maxDrawIndirectCount limitation for each device, but it seems that moltenVK has another limitation. I've got following error:
failed assertion (indirectBufferOffset + sizeof(MTLDrawIndexedPrimitivesIndirectArguments))(260) must be <= [indirectBuffer length]  (256)`
But in fact, I did not create any indirect buffer with size of 256 bytes, so I added following limitation on my code:
if (total_size_of_indirect_buffers_in_bytes < 256)
{
       //call indirect draw
}

and it worked like charm. could you please help me on this issue?

@PooyaEimandar
Looks like you are running off the end of your parameters buffer.
Per the Vulkan spec:
(stride × (drawCount - 1) + offset + sizeof(VkDrawIndirectCommand)) must be less than or equal to the size of buffer

What are your offset, drawCount, and stride values...and how big is the buffer you are using?
What do you mean you did not create a 256 byte buffer?

What are your offset, drawCount, and stride values...and how big is the buffer you are using?
well, I meant there was no indirect draw buffers with length of 256, but regarding to moltenVK debug error there was an indirect buffer with length of 256.
failed assertion(indirectBufferOffset + sizeof(MTLDrawIndexedPrimitivesIndirectArguments))(260) must be <= [indirectBuffer length] (256)
here is the scenario:
I have model class which is responsible to show mesh with their instances with indirect darw calls. So I have many models which each model has many instances.
I can show each model(with instances) separately, but when I want to show all 50 models, I've got following error on MoltenVK.
It seems that this issue is related to the total size of indirect draw buffers, assume that length of first indirect draw buffers is 52, then I can draw 4 indirect draw calls ( because 4 * 52 < 256), but when I want to call 5 indirect draw calls (5 * 52 > 256), it will throw an exception.

@PooyaEimandar
When you draw indirect, you pass in a VkBuffer containing the draw parameters, with one set of parameters for each iteration of drawCount, each separated by stride  bytes.
Somewhere in your code, you are sizing and populating that VkBuffer, based on the size of your drawCount. It seems that you might have a disconnect between sizing and populating that buffer, and the value of drawCount or stride that you specify in the draw command.
Where is the number 52 coming from? The size of the VkDrawIndirectCommand structure is 16 bytes. Is there a reason why you would set the stride to 52?

Where is the number 52 coming from? The size of the VkDrawIndirectCommand structure is 16 bytes. Is there a reason why you would set the stride to 52?

Well, 52 was an example just for describing the situation and kind of error.
Actually the code worked fine on Windows(with both AMD and Nvidia GPU) and Linux (with Intel Iris Pro 1536 MB).
The exception just thrown on my macbook pro 2015 with Intel Iris Pro 1536 MB (same GPU which tested on Linux and worked fine). Thus I think the issue might be related to MoltenVK.
Well I'm going check the code again.
Thank you very much @billhollings

@PooyaEimandar
I'm not clear on what your parameters are. What is the size of the buffer, and what are the drawCount and stride values you are using?
Do you have a small sample that demonstrates the issue...that we could have a look at?
Sascha Willems has an example of indirect draw that runs fine on MoltenVK.

Also...can you verify that the other drivers are actually rendering everything in your buffer?
I'm wondering if they are simply silently failing once the buffer bound is reached.
You can disable Metal validation in the Options tab of the Xcode Scheme...and see if that results in the same behaviour.

@billhollings
Hi
Me again
I disabled Metal Validation and meshes not showed correctly.
It would be really appreciated, if you could take a time and go through check my example.
Here is my code:
Engine
And the sample is:
https://github.com/WolfSource/Wolf.Engine/tree/master/samples/03_advances/07_lod/builds/xcode
Make sure run ./install.sh from root folder before opening: Wolf.Engine/samples/wolf.engine.samples.vulkan.osx.xcworkspace
Best
Pooya


Can't paste contents of clipboard into text fields

Hi - I have built an app but cannot paste text into any text fields. Please advise.

The issue was OS related.


Areas of interest to be removed from build profile

In the build profile form, this field must not be present please remove Areas of Interesets

ok


read/unread information for events shall be handled by server

REST API?

Addresses issues in the discontinued, old prototype.


After updating HA to 2022.12.0 apexcharts stopped working with statistics as source of the data

Checklist

[X] I updated the card to the latest version available
[X] I cleared the cache of my browser
[X] I verified that I'm really running the lastest version in my browser console
[X] I checked if there is another issue opened with the same problem

Description:
After updating to latest home assistant core (from 2022.11.0 to 2022.12.0:

Charts for long term statistics stopped working.
Infinite loading spinner is displayed.

Versions of the card:

2.0.1
master

To Reproduce use this yaml (you need modify entity id)
type: custom:apexcharts-card
header:
  show: true
  title: Fuel usage for latest 30 days
  show_states: true
series:
  - entity: sensor.dzienne_zuzycie_pelletu
    statistics:
      type: state
      period: day
    name: Fuel usage
graph_span: 30d
span:
  end: day

Screenshots

Expected behavior

Chart is properly displayed when the data is sourced from long term statistics.

Desktop:

OS: Windows 10
Browser: Chrome 108.0.5359.98

Additional context

Unknown command errors in console (see below).

Don't you hate it when you spend ages typing up a bug, only to find somebody else doing the same and they submit first! My graphs are doing the same after upgrade to 2022.12, and both use long term statistics.
Further info to add, there are errors in the console for my two graphs:

Arrgh, I need to rewrite my input as I've changed description on wrong github tab.

Probably related to:
https://developers.home-assistant.io/blog/2022/11/16/statistics_refactoring/

Me too, after update to HA Core 2022.12.0.

This is fixed in the latest beta release. Please confirm

Thanks, RomRider. I checked but didn't find that. Closing.

Just leaving this here as I couldn't find it in search. Console error:
{code: "unknown_command", message: "Unknown command."}


TCE-repo Package Repository named as "TKG-Core" and still uses v0.9.1 version

Bug Report
When I create a unmanaged-cluster with TCE v0.10, and I query the Package Repositories available in the cluster. I get the below output.
tanzu package repository list -A
| Retrieving repositories...
  NAME                 REPOSITORY                                           TAG                     STATUS               DETAILS  NAMESPACE
  tkg-core-repository  projects.registry.vmware.com/tce/main                0.9.1                   Reconcile succeeded           tanzu-package-repo-global
  tkg-core-repository  projects.registry.vmware.com/tkg/packages/core/repo  v1.21.2_vmware.1-tkg.1  Reconcile succeeded           tkg-system

Expected Behavior

I expected the name of the TCE Package Repository to be tce-repo and not tkg-core-repository.
I expected the v0.10 or v0.9.2 repository to be used.

Steps to Reproduce the Bug

Install the Tanzu CLI v0.10
Create a TCE unmanaged cluster
Run tanzu package repository list -A

Environment Details

Build version (tanzu version): v0.10.1
Deployment (Managed/Standalone cluster): Unmanaged cluster
Infrastructure Provider (Docker/AWS/Azure/vSphere): Docker
Operating System (client): Mac

Good catch!
unmanaged-cluster has an older reference to the v0.9.1 core repo which gets installed by default. You can still install the newest repo by:
# delete older reference to core repo
$ tanzu package repository delete tkg-core-repository --namespace tanzu-package-repo-global
...
Deleted package repository 'tkg-core-repository' from namespace 'tanzu-package-repo-global'

# install newer version
$ tanzu package repository add newer-tce-repo \
  --url projects.registry.vmware.com/tce/main:0.10.0 \
  --namespace tanzu-package-repo-global

# List out available packages
$ tanzu package available list
/ Retrieving available packages...
  NAME                                           DISPLAY-NAME        SHORT-DESCRIPTION                                                                                LATEST-VERSION
  cert-manager.community.tanzu.vmware.com        cert-manager        Certificate management                                                                                1.6.1
  contour.community.tanzu.vmware.com             contour             An ingress controller                                                                                1.19.1
  external-dns.community.tanzu.vmware.com        external-dns        This package provides DNS synchronization functionality.                                                                      0.10.0
  fluent-bit.community.tanzu.vmware.com          fluent-bit          Fluent Bit is a fast Log Processor and Forwarder                                                                              1.7.5
  gatekeeper.community.tanzu.vmware.com          gatekeeper          policy management                                                                                3.7.0
  grafana.community.tanzu.vmware.com             grafana             Visualization and analytics software                                                                                7.5.7
  harbor.community.tanzu.vmware.com              harbor              OCI Registry                                                                                2.3.3
  knative-serving.community.tanzu.vmware.com     knative-serving     Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers  1.0.0
  local-path-storage.community.tanzu.vmware.com  local-path-storage  This package provides local path node storage and primarily supports RWO AccessMode.                                          0.0.20
  multus-cni.community.tanzu.vmware.com          multus-cni          This package provides the ability for enabling attaching multiple network interfaces to pods in Kubernetes                    3.7.1
  prometheus.community.tanzu.vmware.com          prometheus          A time series database for your metrics                                                                                2.27.0
  velero.community.tanzu.vmware.com              velero              Disaster recovery capabilities                                                                                1.6.3
  whereabouts.community.tanzu.vmware.com         whereabouts         A CNI IPAM plugin that assigns IP addresses cluster-wide                                                                      0.5.0

$ tanzu package repository list -A
\ Retrieving repositories...
  NAME                 REPOSITORY                                           TAG                     STATUS               DETAILS  NAMESPACE
  newer-tce-repo       projects.registry.vmware.com/tce/main                0.10.0                  Reconcile succeeded           tanzu-package-repo-global
  tkg-core-repository  projects.registry.vmware.com/tkg/packages/core/repo  v1.21.2_vmware.1-tkg.1  Reconcile succeeded           tkg-system

If you're really curious about available tags, you can list them like:
$ crane ls projects.registry.vmware.com/tce/main
0.10.0
0.10.1
...

I believe the v0.10.1 repo has the newest kpack stuff - @seemiller may be able to confirm as well

Yeah, that got missed in the creating the release. Unmanaged clusters is using 0.9.1 by default. You can upgrade the repo to 0.10.1 with the following command:
tanzu package repository update tkg-core-repository --url projects.registry.vmware.com/tce/main:0.10.1 -n tanzu-package-repo-global

We should get some docs in with the update command above, but also fix this for our next released version.

Different namespaces, so the names don't collide.

The default package-repo that gets installed _for unmanaged-cluster is the v0.9.1 repo since we didn't get a chance to update that in the bom files unmanaged users.
So, as Nick noted, users can run tanzu package repository update after installing a unmanaged cluster to get the latest packages.

Different namespaces, so the names don't collide.

I guess it works, although it's confusing. Couldn't the TCE repository be named something more significative? e.g. tce-userpackages-repository? The facts both have tkg and core in the names is way too confusing.

The facts both have tkg and core in the names is way too confusing.

Can you open a separate issue for this? We'll loose track of this line if we don't and this issue is about the v0.9.1 / v0.10.1 discrepancy in unmanaged cluster.

@jpmcb this is in this issue as item 1 for Expected behaviour.
Expected Behavior
- I expected the name of the TCE Package Repository to be tce-repo and not tkg-core-repository.
- I expected the v0.10 or v0.9.2 repository to be used.


FR: Create checkout session with trial from the Prices API

Feature request
firestore-stripe-subscriptions
Is your feature request related to a problem? Please describe.
trial_from_plan has been deprecated and doesn't work anymore with Checkout. There is no way to create a checkout session with a trial.
Describe the solution you'd like
Allow to set subscription_data.trial_end or subscription_data.trial_period_days in the checkout_session document. Maybe set the whole subscription_data object

My bad. It looks like I missed a few things during my tests. trial_from_plan works fine with the legacy settings.

While this is a closed and documented issue, are there plans to remove the legacy support from trials?

Is there a way to add a trial to the subscription checkout session? Bumping this, as I'm not sure I see a way to do this in createCheckoutSession.

Closing in favour of #274.


She's Dead Jim

No data coming through at all from the rplidar
You can force this by holding the rplidar still for more than the timeout (default = 2000)
You can change the timeout in rplidar_nodelet.cpp at grabScanData(nodes, count, <timeout>)
Seems to be in ms, but 10000 corresponds roughly to about 7 seconds
grabScanData should return counts of about 280 or so in normal operation
Comes back with a count of zero when it times out, but this is just an unset variable

Question: Is the serial cable actually blocking any reading or is there data coming through but something else going wrong?

Timeout
Increasing the timeout does not change the situation. If it gets blocked on a single call, then it a longer timeout is actually worse since it will block for much longer. Better to uninitialise the driver and get on with it.


Rendering image in cell with PIL.Image leads to irrecoverable "Reconnecting to the kernel..."

Applies To

[x] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I created a virtualenv and pip install latest ipykernel, jupyter, and Pillow (the minimum necessary to test displaying a jpeg using PIL.Image. The VSCode "select interpreter" and "select kernel", I made sure I picked the one from this virtualenv.
But as soon as I ran it, it provoked "Reconnecting to the kernel...". I have attached the jupyter log, it seems to suffer some exceptions. From the same venv, I am able to run this without problem on good old plain jupyter notebook from browser. This leads me to think this is some sort of integration issue between the py kernel and vscode/jupyter.
Here's the reproducing sample code in the cell:
`
import sys
print(sys.executable)         # sanity check python location
import PIL.Image
print(PIL.version, PIL.file)   # sanity check PIL package location
from pathlib import Path
img_name = Path.home()/'tmp'/'testing.jpg'
PIL.Image.open(img_name)
`
I used a couple of print to sanity check python and kernel location. They seemed to be ok.
Additional platform info:

Apple M2 Max (96gb)
MacOS Ventura 13.2.1 (22D68)

Note: I have tried to simplify all reproducing artifacts. But I saw the same happened to conda with python 3.10.* and most packages installed from conda-forge. In certain version, the image will get rendered in vscode/jupyter but will provoke the Reconnecting..., at other times, the image won't even render.
VS Code Version
Visual Studio Code (1.76.1, undefined, desktop)
Jupyter Extension Version
Jupyter Extension Version: 2023.2.1200692131.
Jupyter logs
the log is too long for GitHub submission (will add more later)

debug 11:17:52.734: VSCodeNotebookController::handleExecution, Class name = Kv (started execution)
debug 11:17:52.735: Execute Cell 1 /Users/kechan/Downloads/test_PIL.ipynb
debug 11:17:52.735: start the kernel, options.disableUI=false for /Users/kechan/Downloads/test_PIL.ipynb
debug 11:17:52.736: Start Jupyter Session in kernel.ts with disableUI = false
debug 11:17:52.737: Start cell 1 execution @<PHONE_NUMBER>737
[E 11:17:52.833 NotebookApp] Uncaught exception, closing connection.
    Traceback (most recent call last):
      File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 702, in _handle_events
        self._handle_write()
      File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 976, in _handle_write
        self._write_buffer.advance(num_bytes)
      File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 182, in advance
        assert 0 < size <= self._size
    AssertionError
Exception in callback None()
handle: <Handle cancelled>
Traceback (most recent call last):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/platform/asyncio.py", line 206, in _handle_events
    handler_func(fileobj, events)
  File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 702, in _handle_events
    self._handle_write()
  File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 976, in _handle_write
    self._write_buffer.advance(num_bytes)
  File "/Users/kechan/Library/Python/3.9/lib/python/site-packages/tornado/iostream.py", line 182, in advance
    assert 0 < size <= self._size
AssertionError
[I 11:17:52.833 NotebookApp] Starting buffering for 26123d52-fbd5-4caa-b7ff-22654ac45a11:555cd649-ba88-48a7-8fee-56c62d6dd8f6
[I 11:17:52.839 NotebookApp] Restoring connection for 26123d52-fbd5-4caa-b7ff-22654ac45a11:555cd649-ba88-48a7-8fee-56c62d6dd8f6
[I 11:17:53.342 NotebookApp] Replaying 1 buffered messages

Coding Language and Runtime Version
python 3.9.6
Language Extension Version (if applicable)
python extension v2023.4.1 (from Microsoft)
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Locally

Thanks for filing this issue and sorry you are running into this.
Please could you try running the following in a terminal
 /usr/bin/python3 -m pip install 'jupyter_client<8' 'pyzmq<25' --force-reinstall

Once done, reload VS Code and test again.

and now I am wondering why it is referencing

This is another interrpeter that the Jupyter extension is using to startup the Jupyter server.
You can change this Python environment by using the command Jupyter: Select Interpreter to Start Jupyter Server

@DonJayamanne Thanks for your prompt response.
Should i do the “/usr/bin/python3 … “ command within the venv (i.e. activating and doing it under new shell).
Else, if this is an operation that can affect my machine globally, please kindly point out, and I will try to plan for an undo in case i need to revert.

please run without activating the terminal, and yes it will impact the global python enviornment
please remember to use the --user flag,
 /usr/bin/python3 -m pip install 'jupyter_client<8' 'pyzmq<25' --user --force-reinstall

@DonJayamanne Ok, I came back to doing this (after some distraction with GPT4...)
I freeze > requirements just in case I need to go back, and I performed the exact command as you said.
And my test case worked (both PIL and plt.imshow)! So I guess why it didn't work before was I had been doing the downgrading experiment within venv or conda env.
The version after downgrade are:
jupyter_client           7.4.9
pyzmq                    24.0.1
I think I will start going back to conda env to continue setting up TF and PyTorch, and hope for no new issue. If downgrading is a workaround, is there a real bug to be fix to allow VSCode to use newer jupyter_client and pyzmq. Should I just close this bug for now?

@kechan

is there a real bug to be fix to allow VSCode to use newer jupyter_client and

Yes, in fact most of this should just go away with the latest pre-release.
As of today, the latest pre-release version ships with a fix
All you need to do is, install the pre-release as per the below instructions, reload vscode and the open a notebook and provide the output from the Jupyter output panel. Just as you have provided in the begining of this issue.
I am certain that will fix this issue.
Today the logs contain the following text towards the start,  Exception while attempting zmq : No native build was found for platform=darwin arch=arm64
With the new pre-release, you should not see that message anymore.
If after this, you still run into issues please do replicate the issue and provide the logs,
so we can try to get a fix in for the next release (which will be in 2-3 weeks time).
Instructions for installing the pre-release

Please install latest VS Code Insiders
Open the extensions page, search for Jupyter and click the button Switch to Pre-Release Version
Similarly please install the latest Pre-Release version of the Python extension

@kechan I am going to close this as you have confirmed that you have downgraded the packages
& I am confident these issues will  go away with the latest pre-release version
If you still run into issues, please feel free to re-open this issue,. or ping me and i will open it, if all else fails, please feel free to create a new issue and i will look into this.

@DonJayamanne Thanks so much for your help. I will try this in the next few days and report back, and if there's any issues (i.e. upgrading my global packages that were downgraded for this workaround).


Training SVHN (Object detection) with Tensorboard enabled raises TypeError

Running train_svhn_tinierssd.sh with --enable-tensorboard flag raises TypeError. Running the script as it is doesn't run into this issue. Here is a screenshot of the terminal

I installed the requirements with cuda-enabled

Hello Mariel,
Thank you very much for reporting the issue. We do not support PR curve generation for object detection models but the code to prevent calling the training script with this option was missing. PR #217 will solve the issue.

Fixed in #217


Added Function: normaliseName() to add and find functions

normaliseName() converts the format of names to have a capitalised first alphabet for every word of the name.
@HappyTreat

This PR/issue should be against a repo in the org of your module e.g.,  nus-cs2103-AY1819S2 or nusCS2113-AY1819S2, not against the repo in se-edu org :-)
Closing...


Can you create a nuget package

Well, the title says all. Is it possible for you to create a nuget package?

+1

+1

+1 :)

-1 I don't see the point for a single class. You can copy/paste it yourself.

@Kryptos-FR
Was gonna +1 this until I realized this is only a single class.
However, nuget is also for managing external code and updates.

I don't see the point for a single class

Be there only one class or thousands, any package manager like Nuget offers the same advantages, updates being one of them.

This issue should be closed as the nuget package exists now.

Reopening as I intend to create an official package to replace the one kindly created by fmuecke so that they don't have the burden of maintenance.

It would be great, because I realized that the packaged version differs from the source code in repo, though both of them are labelled as version 1.0.0. For instance TableStyle and TableHeaderStyle properties are not defined and gives an error if used with the nuget package, but they do exists on the Markdown.cs and they work correctly in the demo project.


SailsJS-Mongo force sort with sailsjs 1.0

Sails version:v1.0.0-34
Node version:v6.10.0
NPM version:4.6.1
Operating system:Mac OS 10.12.4

Hi all, I migrate from sails 0.12 to sails 1.0.
Thanks for amazing work for this release.
I'm using MongoDB version v3.2.10.
My model here:
     attributes: {

        name: { type: 'string' },
        user: { model: 'user', required: true },
        analysed: { type: 'boolean', defaultsTo: false },
        m19rows: { collection: 'M19Row', via: 'rhs' },
        m1Arows: { collection: 'M1ARow', via: 'rhs' },
        types: { type: 'json', columnType: 'array' },
        errors: { type: 'json', columnType: 'array', defaultsTo: [] },

    },

M19Row and M1ARow are multiple line (you can have 10000 references between RHS and one type of row). With SailsJS 0.12, I can fetch all lines without error. But with Sails 1.0, I have the following issue:
MongoError: Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.

It's seem the new adapter sails-mongo force sort by id... How I can disable it?
Thanks for your help.

ok, fixed!

ok, fixed!


Random Battle: Add minimum SpD threshold for Assault Vest

Cutoff is set to 56 Special Defense. Mostly affects Cloysters, Delibirds,
and Sandslash if they have Rapid Spin.

It would've been nice if you commented on the pull request about why it wasn't enough before closing it with the fixing commit...

I looked at SpD of all Pokemon and none should have AV below 65.

It was faster and less work (for you).

I made the cutoff 55 because Donphan (base SpD 60, has Rapid Spin so it bypasses the other stat check) reports Assault Vest 20% of the time in the 1760 usage statistics.
And I didn't mean commenting and asking me to change it, just commenting that it isn't enough and then closing it with your commit, instead of just closing it without a word.