fix: Linters should error if nothing was validated

Fixes: #3002

Return an error if nothing was validated

Use log.Fatal if there were any errors, returning exit code 1

Testing to be done as part of https://github.com/argoproj/argo/issues/2738

I tried writing tests, but I discovered that the CLI is not well-suited for testing at the moment since it is dependent on setting up the API clients:
ctx, apiClient := client.NewAPIClient()
serviceClient := apiClient.NewWorkflowServiceClient()
namespace := client.Namespace()

This operation fails on the CI with the error "invalid configuration: no configuration has been provided" since it is not configured to host a kube client.
Do you have any suggestions?
It seems to me that to test correctly we would require a larger refactor which @sarabala1979 seems to be working on at #2738.

e2e tests?

e2e tests?

Of course... 🤦♂. There were even some existing lint tests there already.
Added!

Back-ported to v2.8.1


Document limitations of services without selectors

Based on the discussions on kubernetes/kubernetes#40870, we'd better
clearly document that the endpoint IPs used by a service without
selectors cannot be virtual ones.

/lgtm


Prune non-necessary values from PublicValues prior 2-to-1 aggregation

Also rename some methods in proof module to clarify that they are declaring public_inputs as opposed to arbitrary targets, accordingly to the regular terminology used in circuit_builder methods on the plonky2 side.
closes #525

We may need to expose additional/different data depending on discussions with Hermez, so putting this on hold for now.

@LindaGuiga I think the addition of the consolidated block hashes at the block layer will bring a lot of noise, so perhaps it'd be best to merge this as is and handle the addition in a follow-up PR. If this isn't reviewed by then, I'll just open the second PR against this branch.


Add website icon

Assign me this issue, will add note favicon

Hello! @mnosov622  I want to help in this issue. Please assign me.


chore: update sphinx ingest docs with new connectors

Description
Given the latest refactor of the ingest connector code base, this PR update all python code to reflect the new approach. Part of this PR also refactors the way docs were handled were all code is now in a dedicated file the the appropriate file extension to get handled by the linters and referenced where needed in the actual doc.

replaced by https://github.com/Unstructured-IO/unstructured/pull/2245


Add ITK filters (starting with median filter)

Adds the median filter to Glance. You can play with it at https://paraview-glance-dev.netlify.com/ (Valid so long as this PR is active.)
@thewtex @aylward @HastingsGreer

Using the link:
https://paraview-glance-dev.netlify.com/
I could load the tooth, but I couldn't select or create an output image - so I could not run the filter.

Ah - I see I have to type a name into the "select or create an output image" box.  Then the filter will be enabled.    Perhaps say "Select or type a name to create an output image"


examine the fix on prefixer dependency

https://github.com/mesg-foundation/prefixer/commit/d7dbe41616bd2a2a65f521b4960654f91cb121b5
check if this fix is a proper one & open a PR on the host repo.

I think this one is solved, feel free to reopen if not


Add podspec

Very minimal support for iOS only. I bet OS X should work out of box if we add :osx to pod spec but I didn't test. The source code is left untouched. I removed CocoaMarkdown/Ono.h from CocoaMarkdown.h because it's not used anywhere but in CMAttributedStringRenderer.m where it is included as Ono.h which should work just fine for the time being.
This work is based on @krodak's effort in #19  but takes into account the fact that you would like to keep submodules.
Good to have in future:

Separate private headers from public. Currently pod spec includes the entire folder but I bet there were some private headers that normally should not be exposed.
Normalize import statements for dependencies, so they follow <LIBRARY/LIBRARY.h> pattern or something like that to avoid collisions.

After merge:
You would have to change the git URL in podspec, add tag to repo and put this tag in pod spec.

@pronebird thanks a lot, unfortunately I didn't have time to integrate those changes in my current fork.
Once this is accepted I might merge it into my Markdown Images support and then post it as PR too :-)
:+1: hope this will be integrated.

Any news on this? Although I'm not a CocoaPods kinda guy, @krodak is waiting on this before making a PR for his image support branch (https://github.com/X8/CocoaMarkdown/tree/feature/SupportImageTag) which would be super awesome to see :smile:

@pronebird @krodak @mjstallard Sorry for the delay, busy times! The podspec looks good to me. Merged. Thank you.

@indragiek thank you! :smile: :tada:

:beers: :beers: :beers:

Hi,
I am not able to find CocoaMarkdown on CocoaPods.org. Is it possible to pod trunk push the library to the cloud please?
Thank you!


[SPARK-10398] [DOCS] Migrate Spark download page to use new lua mirroring scripts

Migrate Apache download closer.cgi refs to new closer.lua
This is the bit of the change that affects the project docs; I'm implementing the changes to the Apache site separately.

Merged build triggered.

Merged build started.

Test build #41872 has started for   PR 8557 at commit f0adacd.

LGTM. I have also closed my PR.

LGTM.

Test build #41872 has finished for   PR 8557 at commit f0adacd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41872/
Test FAILed.

The failures must be spurious. One is a doc-only change; the other affects a docker script that isn't involved in the tests here. (Actually I'm not sure that download link would work as it's used there anyway, but a different story). Merging to 1.5 and master

(Actually I'm not sure that download link would work as it's used there anyway, but a different story).

FYI: It's not working for me. I think it has to do with Apache's Lua script, though.
Related discussion on spark-dev.


Slash Commands Webhook

Is this "Botkit Slack Starter Kit" supports for slash commands?
Since the express web server is created using components/express_webserver.js. I tried to add controller.createWebhookEndpoints(webserver); in that file, as well as bot.js.
Unfortunately I received the following message:
info: ** Serving webhook endpoints for Slash commands and outgoing webhooks at: http://<IP_ADDRESS>:undefined/slack/receive
May I ask what is the correct way to make this starter kit to support slash commands?
Thanks.

With the latest version of Botkit, I have managed to run the slash command without create another instance and be able to use the "slash_command" command in a skill file.
The most important part is in the Slack App setting, make sure Add commands to XXXX is enabled in Permission Scopes.
Thanks.


options-api based template for vue3

Clear and concise description of the problem
the default vue3 template is composition-api based, which is not beginner friendly.
at least provide a flag to give a choice for options-api based vues boilerplate please
Suggested solution
default to options-api as it's more newcomers friendly, or provide a new template for it.
Alternative
No response
Additional context

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

[...] composition-api based, which is not beginner friendly

IMO it's more the composition-api it they way to go in future projects and the option api is only there to support also migrating from old projects.
Beside that, IMO it's not in Vite's responsibility to provide that many templates with multiple options. Feel free to provide a GitHub Project template and register this in https://github.com/vitejs/awesome-vite#vue-3


[CARBONDATA-1084]added documentation for V3 Data Format and size based blocklet for V3

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/341/

Can one of the admins verify this patch?

@sgururajshetty please review i have updated the description for carbon.blockletgroup.size.in.mb

Can one of the admins verify this patch?

Please retest this piece

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/72/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1244/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/613/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1623/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2014/

retest this, please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/683/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1913/

@sgururajshetty please review this PR


Task: Testing if Issue assigner is automatic.

Description:

I just pushed a change. https://github.com/possee-org/genai-numpy/pull/46, hoping that this will auto assign issues whose title starts with "Task:"  let's see if it works.
Acceptance Criteria:

[ ] THe issue is created and I'm assigned it..

It failed. Oh well.  I don't have access to any settings for workflows, and I'm pretty sure I have to enable workflows to make this work.

https://github.com/possee-org/genai-numpy/issues/43


Should we archive the repository ?

Hello @elwayman02 (or everyone else reading me here :)) what do you think ?
Should we archive the repo and recommend using more modern and maintained solutions such as Browsersync.
Are you still using tiny-lr ? I know I'm not (same for my other npm packages really). I'm all in game development as of today.
The other solutions would be to fully transfer ownership of both repo and npm package.

I know ember-cli still rely on tiny-lr. 🤔 @elwayman02 I think you are an "ember" guy, so maybe you have some thoughts about it ?
cc/ @rwjblue, kindly ping, maybe you could be interrested ?

I've raised this question with some of the ember-cli folks on Discord to see what their perspective is.


Deploy docs to GitHub Pages failing

Thus, should we build docs for the template or remove the badge? Doesn't really make sense to have the badge unless we plan to build docs, but to me, the readme is plenty.

We could build it for the template explaining the template, but I think it that is overkill. I think it makes sense to have it as is, too. I want the template to be as featured as possible, so I don't have to recreate the same stuff later, including badges.

I agree with the sentiment, however it bugs me to have a "failing" badge in our template repo

Agree, we don't need that badge there, as that README will be replaced with the templated one anyway. However, I think we should find a way to use one README file first.


fix: fix reference to money object (#537)

Please check if the PR https://github.com/zalando/restful-api-guidelines/pull/538 introduces changes which are relevant to the Zally project.

No changes are required.


Queries with DateTime comparison ignore timezone offset

Example gist: https://gist.github.com/mholland/7f9037ba39ad69d49f7840d2db6d05ff
If UTC DateTime values are stored in a document, when querying based upon the DateTime property with a UTC DateTime, the query ignores the offset. Sample query from Postgres logs:
select d.data, d.id, d.mt_version from public.mt_doc_testclass as d where CAST(d.data ->> 'DateTimeField' as timestamp without time zone) >= $1
parameters: $1 = '2016-06-17 16:06:31.580404+01'

In this example 2016-06-17 16:06:31.580404 is used in a >= comparison instead of 2016-06-17 15:06:31.580404. Changing the parameter to dateTimeParameter.AddHours(-1) yields the correct results (at least when in BST)

@mholland I'm looking at it now, thanks for the repro steps

I'm working on this one this morning. So far what I know is:

Querying against the DateTime field fails, both searching within the JSON and as a duplicated field
Querying against a DateTimeOffset field succeeds both within the JSON and the duplicated field if you search via another DateTimeOffset value. I'm not sure that querying by a DateTime against the DateTimeOffset works w/ the implicit cast.


README.md fixes and url update

Hi, I noticed that your project site URL appears to be out of date on your README and I also discovered what I assume to be a misspelling further down in the contribution section.
Thanks and great repo!

Hello! quailjs.org is the old site. I've just not gotten around to setting up quailjs.io.

Oops, my bad. :( I have updated my PR to simply reflect the tiny spelling error.


Add toolkit project, make dotnet tool

The toolkit is added to the project.
Beside that following things are done as well:

Class namespaces are adjusted, using statements fixed and unnecessary usings are removed
Classes corresponding to features we do not want currently (dllscrapper and documentation) are removed
Code is slightly modified in order for the tool to be runnable

Tool assumed that classes start with prefix consisting of capital letters (e.g. UTIL_, DB_, etc.)

Project is dotnet tool, i.e. it can be invoked with dotnet conductorsharp command

Currently, the tool works only with version 2 of the conductor. We have to think through how to adapt tool for the Sp1ne project.

There are also some conflicts to resolve


Convert README from rst to md

rst lacks different features on both Github and PyPI, making it difficult to build an rst README that will be rendered well on both. The release pipeline was failing due to this.

coverage: 94.237%. remained the same when pulling a084f0847560d261c50b1b2c0eb08544d4c380b4 on feature/readme-md into 5fcda360a9a2e9993a866c8a3d2e36db7e7ee64e on main.


Right click menu - dont make print the first option on mac

Type: Feature Request
When I right click code in VSCode, the Print option is the first one shown.
No one prints code that much to need it to be the first option!
Please either remove or move it lower down the menu.
Goto Definition should be first.
VS Code version: Code 1.90.2 (Universal) (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:37:41.291Z)
OS version: Darwin arm64 23.5.0
Modes:

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.


chore(deps): bump revm

Motivation
Some progress I've done on fixing breaking changes in https://github.com/foundry-rs/foundry/pull/6416, however not even close to being done

Solution

do we still want this dani? unsure if the desc means that it's a followup for #6416, although this should probably get in after the migration work?


Added registry events for hide and show

This fixes the keybinds staying when you click x on the application.
It doesn't matter if register and focus are both called as they will silently fail if something is already registered.

Thanks @sekwah41 . I really appreciate your effort. 👍


Update devtools-ci-index.yaml

Can one of the admins verify this patch?

please add a description to indicate what the aim for the PR is

@kishansagathiya has joined the auth team.


Symbol's function definition is void: go-guru-hl-identifier-mode

Config

;; Define function to call when go-mode loads
(defun my-go-mode-hook ()
  (add-hook 'before-save-hook 'gofmt-before-save) ; gofmt before every save
  (setq gofmt-command "goimports")                ; gofmt uses invokes goimports
  (if (not (string-match "go" compile-command))   ; set compile command default
      (set (make-local-variable 'compile-command)
           "go build -v && go test -v && go vet"))

  ;; guru settings
  (go-guru-hl-identifier-mode)                    ; highlight identifiers

  ;; Key bindings specific to go-mode
  (local-set-key (kbd "M-.") 'godef-jump)         ; Go to definition
  (local-set-key (kbd "M-*") 'pop-tag-mark)       ; Return from whence you came
  (local-set-key (kbd "M-p") 'compile)            ; Invoke compiler
  (local-set-key (kbd "M-P") 'recompile)          ; Redo most recent compile cmd
  (local-set-key (kbd "M-]") 'next-error)         ; Go to next error (or msg)
  (local-set-key (kbd "M-[") 'previous-error))     ; Go to previous error or msg

;; Ensure the go specific autocomplete is active in go-mode.
(with-eval-after-load 'go-mode
   (require 'go-autocomplete))

;; Connect go-mode-hook with the function we just defined
(add-hook 'go-mode-hook 'my-go-mode-hook)

Where are you loading go-guru?

Timed out.


Add default packages

Add pestudio and other packages recently added to VM-Packages. 😄
Regarding pestudio, see https://github.com/mandiant/VM-Packages/pull/471, thanks to marc ochsenmeier for providing the new URL that prevents the package to fail so that we can re-add the package. 💘
@mr-tz am I missing any other package that should be in the default flare-vm installation? 🤔

Looks good, let's set a regular reminder to revisit the default config list!


yo im making my own combogenerator gonna be paid

i just cant find out how tf you got only the combos i been trying for 2 days pls dm me some help<EMAIL_ADDRESS>

Que


Experimental: support idmapped mounts kernel patches

This is an experimental PR not intended to be merged
Containerd provides WithRemappedSnapshot that performs a recursive chown operation over all the container image files to fix the owner of the files when using user namespaces. This operation is slow but besides using containerd-fuse-overlayfs that's the only option available so far.
Recently Christian Brauner sent a series of patches to the Linux kernel for supporting id mapped mounts, providing a (in the kernel) solution for mapping the IDs in the container filesystems.
This PR shows how that support could be integrated in containerd to speed up the container creation. I performed some quick tests using the two approaches and these are the results (numbers are seconds):

ID mapped mount
WithRemappedSnapshot

BusyBox
00.121
05.338

Ubuntu
00.195
15.425

Fedora
00.102
39.252

This PR also includes support for user namespaces in Kubernetes (same as https://github.com/containerd/cri/pull/1527) as part of the ongoing work on https://github.com/kubernetes/enhancements/pull/2101.
cc @alban @rata

cc @brauner

Cant wait!

While 5.12 is still RC, idmapped will be included.
https://www.phoronix.com/scan.php?page=article&item=linux-512-features&num=1

@mauriciovasquezbernal Could you rebase this toward v1.6? :pray: Thanks

@mauriciovasquezbernal I am sorry to ask, but is there any update on this feature? Thanks!

Dear @mauriciovasquezbernal , is anybody working on this feature now, or maybe some updates regarding it. If any help is necessary with rebasing or re-implementation of idmapped mounts related functionality in Go?
Thank you in advance!

Closing, there is a new PR https://github.com/containerd/containerd/pull/5888


Spanish translation

Mostly complete Spanish translation, just missing stuff from HomeRVAdapter.kt

Thank-you for your hard work! I'll have a look after sometime and will try to export strings resources for adapter aswell hopefully tomorrow.

Thank you
I'll translate those whenever there ready.

Hi there! I've exported string resources for all of the missing fields you had mentioned. You can add translations for them now.

Thank-you for your contribution! Merging.


RSS feeds for private blogs

At the moment, private blogs serve an RSS feed at /rss/. This only works if you already logged in
such that your browser provides a cookie, and is basically useless for anything RSS might be used for 😁 .
Meanwhile, we've seen a few times that even though a site is private, the RSS feed would still be useful to have in some capacity. People with access to the site may wish to subscribe, and the feed is useful for setting up email news letters using things like MailChimp's RSS-to-email feature.
Problem: we want to provide an RSS feed, but keep it private. That means that we can't include the passphrase in the url, or use HTTP basic auth, etc.
Solution: to work around this, we will instead expose the RSS feed on a private, unguessable URL e.g. blogdomain.com/<unguessable string>/rss/.
Some requirements:

The string used should be:

an unguessable set of characters
stored in the settings table along with other private blogging info

The old blogdomain.com/rss/URL should cease to exist on private blogs (e.g. require auth and THEN 404).
The new private rss route should not require the passphrase.
The private blogging UI in the admin needs to be updated to display the URL:

Some small things to think about:

Does it makes sense to also use the same pattern for our tag rss feeds? e.g. blogdomain.com/tag/tag-name/<unguessable string>/rss/ or blogdomain.com/<unguessable string>/tag/tag-name/rss/.
Do we need a way to force regenerate the string? (I think no to start, can be manually changed in the DB if needed, if we get requests, add this feature later).
Bonus: can we disable the generation of sitemaps for private blogs?

Extra background info
Previously, when you enabled private blogging, the sitemap & rss feed were set to 404. We recently realised this can expose some information about your blog (because themes can pull data into the 404 template) and changed it so that these redirect to the passphrase screen, as every other part of the site does (Raised in #8990, fixed in #8999).
The original intention of the private blogging feature was that RSS and sitemaps should be fully disabled for private blogs, as they create unnecessary overhead. Sitemaps in particular, never need to be generated, as the site is not going to be indexed.

If you're happy to have the <unguessable string> as a product of  something like
crypto.randomBytes(20, function(err, buf) {
  var unguessable = buf.toString('hex');
  . . .
});

then I'm sure I could achieve this.

@jomahoney Thanks for your interest.
There are many ways to generate an unguessable string. I think if private blogging is enabled, the requirements for the string are:

contains uppercase/lowercase letters
contains numbers
is minimum 12 characters

We have a utility which generates a random string (in core/server/utils/index e.g. utils.uid(12)), which you could use.
See also http://password-checker.online-domain-tools.com/.
If you have any questions, let us know. Don't hesitate to ask :)

Ah cool - sounds even more achievable then. I was just lifting the above from something else I wrote.
Happy to take this on then.

I just noticed something on Bitbucket and thought I'd mention the concept here.
What about having. /rss?token=$randomstring
The idea being that the token is generated per user so that a user's token can be invalidated and as a result not have access to the feed anymore.

@nuclearpengy We don't have a concept of users for the content part of the site - so there cannot be a user-specific token at this time.
@jomahoney let us know if there are any problems getting this implemented 😊

@jomahoney Hey. Do you have any update? The Ghost team would like to take this feature over if it's not finished till next Monday. Just wanted to let you know 🙃

@kirrg001 No update unfortunately. Got crazy busy with work so haven't had the time. Could certainly spend time at the weekend implementing but feel free to take over

@ErisDS Do you want me to raise an issue for

Bonus: can we disable the generation of sitemaps for private blogs?

I have this on a separate todo as part of a general revisit of sitemaps, so will add it to that issue when I raise it.


Favoriting a component resets interface to your owned components

When you favorite/star a component, the table view actually refreshes to show you only those components you "own" regardless of what you did or did not star or what filter section you were in. Your updated starred count in left nav updates. However, neither the filtered list (all , starred, or owned) highlight in the left nav changes, nor does the header of the page itself.
Expected Behavior

Favoriting a component should simply mark the star as favorite (filled in yellow) or no longer a favorite (outlined), and should update the favorite count in the left navigation under Personal / Favorite. However, which ever view or table list you were on should remain.
Current Behavior

Using the Backstage sample out of the box on a fresh SqlLite database and all example components, you see this view:

If you click the star to favorite playback-order, everything seems to work. The yellow star is visible, the left nav updates to show 1:

However, if you then click all,

And on this screen, now click the yellow star to unfavorite playback-order, you see:

You've been reset to show you the three components you own instead of the all list you were just on, which is not ideal.  Now, the good thing is your left navigation count for how many are starred has been properly updated, HOWEVER, you've been reset back to your "owned" components list (showing three), even though the header for the section still says "All" which is not correct.
Possible Solution

Steps to Reproduce

See above.
Context

There are various permutations of this, but all resulting in a reset of the table list to show you only your owned components.  For example:

favorite one component
In left nav, select Starred.
Unfavorite it in this view.
You'll be reset again to show your three owned components, you'll have no favorites in left nav, but your header on the main page will still say "Starred".

Your Environment

NodeJS Version (v12): v12.16.2
Operating System and Version (e.g. Ubuntu 14.04): Windows 10 1909 WSL 2
Browser Information: Microsoft Edge (Chrome)

Going to guess, starring an entity causes a reload of the entire table, and I believe it's this code which defaults it to show only owned entities:
https://github.com/backstage/backstage/blob/e9bcb7b446425276b6545616cff726be12afd0dd/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx#L184-L188
So is there some way that after favoriting, the entire table is not refreshed?

Going to guess, starring an entity causes a reload of the entire table, and I believe it's this code which defaults it to show only owned entities:
https://github.com/backstage/backstage/blob/e9bcb7b446425276b6545616cff726be12afd0dd/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx#L184-L188
So is there some way that after favoriting, the entire table is not refreshed?

hello! 🦄 would I be able to take on this bug/issue? Just want to make sure no one else is working on it before I give it a go
I delved into this a bit, and the weird thing happens when you click one of the SideBar item cards.

You initially start on owned
You click the "All" menu card Item => sets the currentFilter to "all' correctly
If you click the "All' menu card Item again => the focus state stay on that card, and all of the items on the right are rendered correctly but on console log it consoles "owned"

Still debugging, but making sure no one is else has started on this

@nhidtran Assigned it to you - don't worry, take your time and submit a PR!

😄 🕺 Related PR didn't close this ticket automatically, but for sure it fixed it locally for me so hooray! Thanks @nhidtran


Azure Servicebus queue: sudden load causes idle consumers before queue is emptied

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes
Environment

Dotnet version: 5.0.0
Operating system: local windows, test/prod environments on azure vm clusters running on docker
IDE (Rider, VS Code, Visual Studio):  Rider

Steps to Reproduce

The application has few resources like 250mcore cpu and 250mb ram
The application is both consumer and producer
Around 15k items posted to producer side at once , which enqueues messages correctly.
After consuming them one by one around 30 mins ( around 5k messages are consumed)
The masstransit consumers stops receiving new messages.
Healthchecks are working fine.

Expected Behavior
Either healthchecks should fail or the application should consume the remaining messages.
Actual Behavior
This scenario is the only one we faced since last 2 years of using masstransit. We never tried to instantly push 15k messages at once.
It might be related with TPL or Azure.ServiceBus library. I've searched a lot about this issue on both libraries, no clues found.

Here is the screenshot telling that around 1.30am, the consumer stopped getting new messages.

This is the configuration that we are using at the moment.

It's likely you're being throttled by Azure due to the high volume, which causes their servers to suspend your namespace for a cool down period.

It's likely you're being throttled by Azure due to the high volume, which causes their servers to suspend your namespace for a cool down period. Reviewing the MassTransit logs generated during that high volume would show you if there were any errors returned by Azure, although the SDK typically throttles silently due to the transient recovery handling logic in the SDK.

Hey @phatboyg , I reduced all log levels to debug, nothing is happening after this suspension happened. Is there a resource to prove that they apply such mechanism? Since we are using a premium tier of service bus, I never thought of such a case?

To check throttling, I went to monitoring page and got this graph:

It explains that the messages are not throttled, queue is far away from empty and they are not being consumed :(

You'll need to post the logs, with detail around the time the messages stopped being consumed. Also is this using 7.3.0?


Add unit test for nextjs login

What problem would you like to solve or improve?
After developing a new feature, it is necessary to have unit tests for structural functionalities, such as login, shopping cart, etc.
Primarily, it is necessary to implement tests on the login since it is the most critical functionality of the store that needs to be fully functional. This way, we can ensure that it is working correctly while we continue to implement new features.
Describe your proposed solution or enhancement.
Implement testing librarys and unit test.
Considerations

Use Next Auth Library
Implement a custom signInfunction
Use Prisma to ORM whit Database

Describe any alternative solutions you've considered (optional).
No response
Additional context or information (optional).
Next Docs - Testing
Cypress - NextJS
Jest - NextJS
Code of Conduct

[X] I agree to follow this project's Code of Conduct.

@serudda I would like to take this task! In a great opportunity to learn some stuff and contribute


flutter web unable to build

Launching lib\main.dart on Edge in debug mode...
/C:/Users/sksso/AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.18.0/lib/src/sqlite3/database_tracker.dart:1:8: Error: Dart library 'dart:ffi' is not available on this platform.
import 'dart:ffi';
^
Context: The unavailable library 'dart:ffi' is imported through these packages:
web_entrypoint.dart => package:sksmarket/main.dart => package:sksmarket/screens/common/splash.dart => package:sksmarket/plugins/native.dart => package:sksmarket/utils/appconstants.dart => package:sksmarket/utils/util.dart => package:sksmarket/screens/core/storelist.dart => package:sksmarket/screens/core/newstore.dart => package:sksmarket/services/entityservice.dart => package:sksmarket/services/commonservice.dart => package:sksmarket/services/localtranservice.dart => package:sksmarket/utils/appmethods.dart => package:sksmarket/screens/common/apptypes.dart => package:sksmarket/screens/common/locallogin.dart => package:sksmarket/screens/managepin.dart => package:sksmarket/utils/commonwidget.dart => package:sksmarket/screens/core/myaccount.dart => package:sksmarket/utils/navigation_router.dart => package:sksmarket/screens/accounts/cashbankadjustment.dart => package:sksmarket/services/transservice.dart => package:sksmarket/services/fileservice.dart => package:sksmarket/services/settingservice.dart => package:drift/native.dart => package:sqlite3/sqlite3.dart => package:sqlite3/src/ffi/api.dart => dart:ffi

As the name implies, package:drift/native.dart only works on native platforms.
Using drift in webapps is possible with some extra setup (you need to manually download a sqlite3 wasm library and a Dart worker, Flutter unfortunately doesn't let us bundle these within sqlite3_flutter_libs yet). This page in the documentation describes how to set everything up.


images: OCI image config is a childless data type

Signed-off-by: Stephen J Day<EMAIL_ADDRESS>Closes #1192

Codecov Report

Merging #1198 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1198   +/-   ##
=======================================
  Coverage   28.09%   28.09%
=======================================
  Files          28       28
  Lines        2833     2833
=======================================
  Hits          796      796
  Misses       1888     1888
  Partials      149      149

Continue to review full report at Codecov.

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

LGTM


⚠ Samsung has degraded performance

In 655f11f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 5464 ms

Resolved: Samsung performance has improved in e465626.


file formats / accuracy / relevant readings / enhancements

Hi @collinhundley
I acknowledge your efforts in bringing the maths / machine learning to these libraries. The code looks well commented - and also quite neat in it's implementation. I'm studying ML in spare time so been reviewing linear algebra / calculus / to get head around the maths before taking on bringing  tensorflow swift port in due course.
It's quite an achievement. I been looking through code and shopping around for best implementation for machine learning in swift. you maybe interested to know of this sibling MNIST trainer in swift too.
I liked the way donald implemented a wrapper around linear algebra for accelerate platform.
https://github.com/donald-pinckney/SwiftNum/tree/master/Sources/Linear
I came across this interesting codebase -
https://github.com/hollance/BNNS-vs-MPSCNN
Important to note - Apple's showcase AI example here
https://developer.apple.com/library/content/samplecode/MPSCNNHelloWorld/Introduction/Intro.html
Digging through the code - Apple have this format h5 format to save their models.
When I was comparing SwiftLearn with NeuralNet - it was obvious that there was differences in how each library is importing data / - so hard to compare accuracy of trainers. Got me thinking -there's got to be a way to swap out the data between frameworks. Did you consider going down Apple's  route ? it may not be best answer as they're targeting gpu or cpu.

http://stackoverflow.com/questions/40522224/mpscnn-weight-ordering
https://github.com/kazoo-kmt/MPSCNNfeeder
I also came across this other code that has similar implementation
https://github.com/kazoo-kmt/test_MPSCNNfeeder

Naturally - getting ai models on par with tensorflow would take a lot of resources / but it would be neat to see better / comparable results. It seems there's some large gap in accuracy of the training when compared against test_MPSCNNfeeder.

related - https://github.com/hollance/Forge/issues/2

this python script seems to spit out weights
https://github.com/hollance/RNN-Drummer-Swift/blob/master/Scripts/lstm.py#L584

fyi - https://github.com/xmartlabs/Bender/


Link to LERR is broken?

Current Document links to https://www.microsoft.com/about/corporate-responsibility/lerr/ which appears to be a 404.
Link should be to https://www.microsoft.com/en-us/corporate-responsibility/law-enforcement-requests-report

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e34f35bb-7d9c-0c7f-a1a1-6fd9fbe93dfa
Version Independent ID: d123210a-ed20-4b97-3706-33d7887b4c27
Content: Microsoft Teams Privacy - Microsoft Teams
Content Source: Teams/teams-privacy.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

@makonig Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @makonig, thank you for your feedback and help us to improve docs.microsoft.com.
The link was fixed/updated 28 days ago and it's working now:
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/5192
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/5191
Sorry for the delay.

@makonig Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add support to add and subtract other periods of time

This PR adds the ability to add (and subtract) other periods to a date, instead of just adding days.
Since moment.js has support for that, I think it makes sense to be able to the same with this business-day logic,  increasing a given date by an amount of minutes, hours, days, etc...
However, there are some edge cases:

If we call businessAdd(0), the current date is not checked if wether it's a business day or not.
If we add periods larger than days (weeks, months, years), the check is only done in each iteration, instead of splitting it into a smaller period (e.g days), which may lead to some undesirable results.

@kalmecak WDYT?

@kalmecak ping.

Sorry for the delay, my Github mails were being redirected to spam.


Is there any other available server besides the two reverse proxy servers listed in the readme?

Describe the feature
Is there any other available server besides the two reverse proxy servers listed in the readme?

Not at the moment.
What are you seeing that isn't working for you?

Hi, till yesterday all my scripts were working fine. But from today im experiencing timeout issue: TimeoutError: ChatGPT timed out waiting for response
My timeout is set to 6 minutes which was enough till yesterday.  Im trying to use both proxy but both returning a timeout..

Currently, these two often encounter the following errors.

{"cause":{"name":"ConnectTimeoutError","code":"UND_ERR_CONNECT_TIMEOUT","message":"Connect Timeout Error"}}
{"statusCode":504,"statusText":"Gateway Time-out"}

Maybe ask on our discord server?

Till yesterday the first one was working fine. From today it returns TimeouError. The second returns TypeError: fetch failed..

Maybe ask on our discord server?

Already did. In the node-help section...waiting for the answer..

Cloudflare might be blocked in China or other countries. Try using a proxy or VPN

Im in Europe. Cloudflare is not blocked here..

Server is definitely running and under pretty low load. Maybe it's an issue with OpenAI

Its working now. Thanks all for you help.


spike: Complete support for Event Service

Investigate what is pending:

registries?
persistent subscription
reconnect to scmb
support for "session" mode
...

New cards added to the backlog. spike completed.


Permalinks config

This PR adds config for paths generated by Gridsome. These are the default values:
module.exports = {
  permalinks: {
    trailingSlash: true,
    slugify: {
      use: '@sindresorhus/slugify',
      options: {}
    }
  }
}

Whether this option should be called permalinks or not is open for discussion :)
Trailing slash
The default value for trailingSlash: true will add a slash to all node paths in the GraphQL schema. Static paths passed to g-link will not get a slash automatically unless you set trailingSlash: 'always'. Set trailingSlash: false to keep the current behavior.
All paths are without trailing slash internally regardless of the option value.
Slugify
Use a custom slugifyer or just change the default options. If you do not want any paths to be slugifyed, set the option to slugify: false. The slugify option can also be a function:
permalinks: {
  slugify(value) {
    return value
  }
}

Is there an ETA on this PR, or anything third parties can do to help move it toward release? I finally took the time to convert my site to 0.6.x this month, and unfortunately it completely broke the site because I discovered at the last minute that 0.6.x does not respect trailing slashes in route definitions (0.5.x did).
If the PR is still a ways out, are there any recommended short-term hacks for 0.6.8 that I can implement locally that will cause the site to build and use trailing slashes? I need to start publishing again in a week, and I'm worried the site will still be broken.

@onecrayon This PR will be included in the 0.7 release. Not sure when we'll publish it but its almost ready now. In the meanwhile, you can include a trailing slash in g-link manually:
<g-link to="`${node.path}/`">Read more</g-link>

Not an optimal solution, but it will work.


Updating step 2 to be more intuitive: "Avoiding use of the word github"

Use of word Github is very confusing. When starting, most of devs wont have an existing github repo. And normally not everyone will be using Github. Since devs will be following this step by step: we need to stress on telling them to create a new or use existing local project folder which may or may not be a github repo.

Motivation
Installation is foremost step to begin with this framework and this PR makes its more intuitive.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
No code changed. Only textual change for now
Related PRs
This PR updates the doc

Also fixes #893


Publication on crates.io

Hi there,
Thanks for all you work on this crate! Any chance you could publish it on crates.io ? I'd like to use it in my hifitime library for astrodynamics. It currently uses a fraction represented as a u128 over u16, but a quad-double would be significantly more precise, and significantly faster according to benchmarks I ran moments ago.
Thanks.

Ditto above request: qd is excellent and fills a significant hole in the Rust ecosystem.  And thank you so much for writing it!

The TwoFloat crate does the job quite well too.
On Sun, Jan 2, 2022, 01:10 DJ @.***> wrote:

Ditto above request: qd is excellent and fills a significant hole in the
Rust ecosystem. And thank you so much for writing it!
—
Reply to this email directly, view it on GitHub
https://github.com/Barandis/qd/issues/2#issuecomment-1003639562, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEZV2AGND6N4YQ4GVH3HQLUT6JWLANCNFSM46WIYLLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Was also wondering why this never made it to crates.io
Sadly a quick google search turns out the author has passed away in 2013. RIP.
https://www.legacy.com/us/obituaries/legacyremembers/thomas-otterson-obituary?id=52744608
Since then, the qd name on crates.io has been taken somewhat recently by another user @sarah-ek for their own currently unfinished implementation, however they are fairly active so expect it will be done at some point. The author also maintains the fairly impressive faer linear algebra suite so i assume the new qd crate will fit in nicely with the faer ecosystem.
https://crates.io/crates/qd/0.4.0
https://github.com/sarah-ek/qd/
As for this qd, i feel it may still be worth publishing to crates.io regardless under another name? I'm not an expert on software licenses but assume this being under MIT license would allow someone else to publish it on crates i imagine there is a good chance Thomas would have liked to see his code continue to be used.


Add get! function

Add the get! function and adds a test of both get and get!.
Matt, I think you said something about a conversion being needed, but I reasoned that the Dictionaries library will handle this internally? Or did you mean a conversion of the edge or vertex types?

Ideally we would rely on whatever conversion is done by Dictionaries.jl.

Yes, great. That's what I thought too.

Looks good, thanks!


Documentation clean-up

I feel that README.md is currently a little too complex for someone who is using gremgo for the first time, particularly the structure and the code examples. If anybody feels like it, I think the project would benefit greatly from a rewrite of the documentation.

I'm setting something up with Gremgo, when I've learned a bit more I can make some adjustments and issue a PR.


Delete / disable bash-it ?

What's the best way to cleanly disable bash-it ?

BUMP

OK, here it is again. If you have a backup of your .bash_profile, simply remove the one created by Bash-it and rename your backup file (remove the .bak suffix).
If you don't have a backup, edit your ~/.bash_profile file and remove the following line, which loads Bash-it (https://github.com/Bash-it/bash-it/blob/master/template/bash_profile.template.bash#L30):
source $BASH_IT/bash_it.sh

Either delete the line or comment it out by prefixing it with #. Then close your terminal and open a new one. Once that is done, Bash-it will no longer be loaded. Optionally, you can now delete the ~/.bash_it folder.
Does that make sense?


Alexa Skill

https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/alexa-skill-nodejs-quick-start
Is it Node.js 4.3 ?
What is the "handler" name ?

@smaship this question seems unrelated to this library. Please clarify how it is related.

Yes. You are right.
I just want to ask help so that I can create Alexa Skill for Yeelight Blue.
Thanks.
Gary Ip
On Mon, Aug 15, 2016 at 3:14 AM, Sandeep Mistry<EMAIL_ADDRESS>wrote:

@smaship https://github.com/smaship this question seems unrelated to
this library. Please clarify how it is related.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sandeepmistry/node-yeelight-blue/issues/6#issuecomment-239690781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASt3k8SzE2zpZVyeztRLOTx7uoA3Jnzlks5qf2kPgaJpZM4JX98w
.

--
Note: Attached .p7s file is my digital signature. Feel free to open it.

I can try to help out with specific questions or issues.

Thank you very much.


Access route path and params in nuxtServerInit

Hello,
How can I access the current route path and params from nuxtServerInit function in my store index.js ?
I need it because I have to authenticate my app by his id wich is in the url

This question is available on Nuxt.js community (#c6955)

Accept a second argument. The first argument is the store context, with which you can commit mutation. The second argument is the page context. From the second context, e.g. pContext.route you can find the full path and parameters, etc.
nuxtServerInit(sContext, pContext)


Address picker not filling until....

When I type in a street address, the form does a great job of suggesting my address. However when I click on the address, it does not auto fill city, state, zip.  When I type in city, it automatically fills in the rest and removes those items from the street line (this is what you hoped would have happened as soon as you first selected the address from the list).

This appears to have fixed itself.


Fix: decrement pool size when connection is released

This fixes an issue where the use of PoolConnection::release would later cause Pool::close to enter an infinite loop.
Update: I merged the suggested fix from #897

@abonander I've applied the changes, thanks.

Great, thanks!


std::panic::RefUnwindSafeis not satisfied inthread_local::Table<std::sync::mpsc::SyncSender>`

Hi,
I'm just adding RefUnwindSafe bounds to me crate and I use thread_local there. Is thread_local RefUnwindSafe? I'm very unclear on the details of this...

Fixed in 0.3.3.

ThreadLocal and CachedThreadLocal now both implement UnwindSafe.

Thanks!


fix: differentiate between query and path params in getSchemas

While debugging, I noticed there was no difference being made between query params and path params.
So for my test with the petStore.yml I was getting true on schemas.pathParams even though there were no path params. It returned true because it found parameters in the query.
I'll write a test still but I just want to make sure if you also think this is indeed a bug :)

@all-contributors please add @ xPhentom for getSchemas fix

https://github.com/all-contributors please add @xPhentom for getSchemas fix

@all-contributors  please add @xPhentom for getSchemas fix

@all-contributors  please add @xPhentom for code

@all-contributors  please add @stijnvanhulle  for code


ArcMap addin not creating KMZ features when using Save As.

In ArcMap, when using Save As for Lines, Circle, Ellipse, and Rings, a KMZ file of 1KB is produced, but nothing displays when added to GE.  ArcMap Data frame is in Web Mercator.

@dhagens do you think you can take a look at this. Is this a true bug?

I cannot reproduce the issue.  Will work with @pshowalter to see how he got this to fail.

I'm not sure what's going on on @pshowalter machine but this functionality works everywhere else.  I tested Line, Circle, Ellipse, and Range Rings and all worked fine on my machine using both a PCS and GCS basemap.  @jmccausland  also tested on his machine with no issues.  @mcalamito also tested on his machine and had no issues.  I will close this bug.


Add pip check to CI jobs

Summary
The new pip depsolver is coming this summer. [1] Until it's ready
this starts running pip check as part of our CI test jobs to make
sure we're not somehow installing conflicting package versions. We
shouldn't be, but if we are better to know and start
preparing/fixing it now.
Details and comments
[1] https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html

Ugh, I messed up a rebase and accidently deleted the commit with the content here. Let me fix this


Documentation should be more verbose

I've generated some documentation using Typedoc (specifically for the db). After I generated the docs, I immediately noticed that there was nearly 0 description for the individual methods of the DB. I don't think this contradicts the spec, but the methods already have less information than the spec does. Can we please add more verbose documentation to each of DB methods such that it's informative and insightful for our users.

@michaeladda can we discuss defining some standards regarding documentation such as spelling, and proper English to the code review process. This specific type of documentation is hard for product to write in nature, so it would help a lot if it could polished by dev out of the box. We are happy to review if needed! LMK


Tuple size limitation is too small

Quick Summary: ???
Elm 0.19.1 limits the tuple size to 3, which is too small.
I understand that the limitation is to help to increase the readability of the code. But there are cases that tuples cannot be replaced with records, namely if I want to deduplicate a list of records, I have to convert it to a list of tuples, then dedup it with a round trip to and from Set. Right now I have to use something like (a, b, (c, d)) to by pass the tuple size limitation.

If you don't want to use nested tuples, you could also use a list of list, as lists are also comparable.
The root of your issue is also more that records are not comparable than a too small maximum size of tuples.
As an aside, you can remove duplicates from a list with a single traversal (building a test Set all along), see List.Extra.uniqueBy.

I thought list is homogeneous.
The root cause of this particular issue is that records are not comparable, but I think the upper limit is too small, regardless of this particular problem.

Yes, a list of list only works if all values have the same type. This won't happen often for a records fields indeed.

Yes, a list would work only if all values have the same type. This won't happen often for records fields indeed.
Another way to avoid the awkward syntax of nested tuples and to avoid having to think how to nest them is to use a pipeline approach, for example:
import List.Extra

type alias Record =
    { a : Int
    , b : String
    , c : Float
    }

unique : List Record -> List Record
unique =
    List.Extra.uniqueBy
        (\rec ->
            rec.a
                |> Tuple.pair rec.b
                |> Tuple.pair rec.c
        )

A benefit is that the syntax scales well whatever the number of fields. This might have a slight performance impact though, to check with some benchmarks.


UIAlertview not visible

Hello,
First of all, this is not an issue, but rather a feature that I would like to have.
Second, thanks so much for this great recorder, works so nice.
I have noticed that the UIAlertView is not shown in the final recording.
This is my code :

(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UIAlertView *messageAlert = [[UIAlertView alloc]
initWithTitle:@"Row Selected" message:[tableData objectAtIndex:indexPath.row] delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
// Display the Hello World Message
[messageAlert show];
// Checked the selected row
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
cell.accessoryType = UITableViewCellAccessoryCheckmark;
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}

I can see the selection of the cell, but not the alert.
Also another thing. Is it possible to display an overlay over the keyboard that will be visible only on the recording.
I want to accomplish something like a security thing for when a user inputs his credentials, the keyboard and maybe the textfields should be covered, but only in the video.
I've seen that lookback.io does something similar but I don't really know how.
Thank you !

Perhaps UIAlertView doesn't appear in the apps list of UIWindows?. If this is the case, I'm not sure if there's a way of dealing with it.
As for displaying an overlay over the keyboard, you'll have to make an alteration to the delegate method writeBackgroundFrameInContext: (or create a new delegate method writeOverlayFrameInContext.
A quick hack would be to change the following lines in the .m file:
        if (self.delegate) {
            [self.delegate writeBackgroundFrameInContext:&bitmapContext];
        }
        // draw each window into the context (other windows include UIKeyboard, UIAlert)
        // FIX: UIKeyboard is currently only rendered correctly in portrait orientation
        dispatch_sync(dispatch_get_main_queue(), ^{
            UIGraphicsPushContext(bitmapContext); {
                for (UIWindow *window in [[UIApplication sharedApplication] windows]) {
                    [window drawViewHierarchyInRect:CGRectMake(0, 0, _viewSize.width, _viewSize.height) afterScreenUpdates:NO];
                }
            } UIGraphicsPopContext();
        });

to:
        // draw each window into the context (other windows include UIKeyboard, UIAlert)
        // FIX: UIKeyboard is currently only rendered correctly in portrait orientation
        dispatch_sync(dispatch_get_main_queue(), ^{
            UIGraphicsPushContext(bitmapContext); {
                for (UIWindow *window in [[UIApplication sharedApplication] windows]) {
                    [window drawViewHierarchyInRect:CGRectMake(0, 0, _viewSize.width, _viewSize.height) afterScreenUpdates:NO];
                }
            } UIGraphicsPopContext();
        });
        if (self.delegate) {
            [self.delegate writeBackgroundFrameInContext:&bitmapContext];
        }

The delegate drawing will now occur on top of the app window (for my use case I needed to draw live video and overlay the app controls over the video, that's why the delegate draws beneath the app window by default).
Then in your view controller, implement the delegate method [ASScreenRecorder sharedInstance].delegate = self;:
- (void)writeBackgroundFrameInContext:(CGContextRef*)contextRef {
  // create overlay CGRect
  CGRect overlayRect = …
  // set overlay color
  CGContextSetFillColor(contextRef, …
  // fill rect with overlay color in `contextRef`
  CGContextFillRect(contextRef, overlayRect)
}

Thank you so much for the quick answer !
The solution with overlay  works perfectly !
The one for UIAlertView didn't had time to test, will come back with an reply to that also in a couple of days.


Can't find a way to add a create when not found

I am using the auto complete to list all results of a query. Now I would like to add the functionality to allow me to include a create object link if it is not found. I will try to create a fork and implement but until then I am using this as a placeholder and also a forum for advise on this subject. Maybe there is a way and I just missed it.

Sorry, it's not supported.

I forked and got it working fine I just didn't put in a merge request because the styling is still funny

*code styling

@jrgleason  Can you please provide your solution here? Actually, i am also needed same.


Creating the list of tasks/categories for Credit All

We have started to create the list of categories and task for Credit All.
This has been started using exisiting list such as CRediT, INRIA (2019), BIDS and all contributors bot.

We are using this google sheet to collect our ideas: Credit all sheet


Anomaly in RPN Loss function

The rpn classification loss function doesn't seem to match the original implementation (Faster-rcnn paper) nor the tensorflow's object detection api paper (speed and accuracy trade off ... paper)
@yhenon  could you please explain your implementation of RPN_classification loss function?
From the original paper it should look something like
binary_crossentropy(y_pred[:, :, :, :], y_true[:, :, :, self.num_anchors:]) / self.N_cls # normalization
But you have implemented it as:
return lambda_rpn_class * K.sum(y_true[:, :, :, :num_anchors] * K.binary_crossentropy(y_pred[:, :, :, :], y_true[:, :, :, num_anchors:])) / K.sum(epsilon + y_true[:, :, :, :num_anchors])
more over inside the binary_cross entropy it is given as y_true[:,:,:,num_anchors:], shouldn't it be y_true[:,:,:,:num_anchors] ?
I don't seem to understand this. Could you please give some hints?

@Abhijit-2592, Do you have any clues on your above question?

@thealchemist89  Nope


Bump livenessprobe git tag to v2.13.0 and go version to 1.22

Issue #, if available:
Description of changes:
Bump livenessprobe git tag to v2.13.0 and go version to 1.22.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Create Predict Winner of Circular Game

There are n friends that are playing a game. The friends are sitting in a circle and are numbered from 1 to n in clockwise order. More formally, moving clockwise from the ith friend brings you to the (i+1)th friend for 1 <= i < n, and moving clockwise from the nth friend brings you to the 1st friend.
The rules of the game are as follows:
Start at the 1st friend.
Count the next k friends in the clockwise direction including the friend you started at. The counting wraps around the circle and may count some friends more than once. The last friend you counted leaves the circle and loses the game. If there is still more than one friend in the circle, go back to step 2 starting from the friend immediately clockwise of the friend who just lost and repeat. Else, the last friend in the circle wins the game. Given the number of friends, n, and an integer k, return the winner of the game.

I love the way you explained everything  about your code.

I love the way you explained everything  about your code.

Thanks a lot!


How to integrate vegas.js (and other jquery plug ins)

Mark,
Great template!  I was wondering if you could help me with some client-side jquery add ins for my landing page.  I am using vegas.js for animated backgrounds.  Could you help me get this working on my landing page with this template?
So far I have added the node package for vegas and in main.browser.ts I have added an import for the vegas package.  I also need to add the vegas.css reference and some javascript on load:
$("body").vegas({
    delay: 9000,
    timer: false,
    transitionDuration: 2000,
    slides: [
        { src: "images/0.jpg" },
        { src: "images/1.jpg" },
        { src: "images/2.jpg" },
        { src: "images/3.jpg" },
        { src: "images/4.jpg" }
    ],
    transition: "swirlRight",
    animation: "kenburns"
});

I also have a few more plug ins to add but assume the approach used to integrate vegas would be the same for any jquery plug in.
Thanks!!

Hey @johnwpowell
I'll have to add and fix some logic to make this easier to do, typically you'd have to add jQuery and add it to your vendors list and also let Webpack know of the $ within your code.
Once that's in there, your plugin is imported into main.browser, and the code is wrapped around isPlatformBrowser and the $ is declared with that Component, you're usually all set, but it's never an easy process when including jQuery within server-rendered apps :(

Thanks mark.  Don't suppose there are any examples?

https://webpack.js.org/plugins/provide-plugin/
use in the webpack:
client: ....
plagins: [
new webpack.ProvidePlugin({
jQuery: 'jquery'
})
]
server: ...
plagins: [
new webpack.ProvidePlugin({
jQuery: 'some.fake.module.for.call.jquery.on.node.side'
})
]
and make sure u have a wrapper for ur code, some like this:
if (isPlatformBrowser(this.platform_id)) {
.... ur code ...;
}

Closing this one out, let me know if Vas's comment didn't do the trick!


creation user

Hi
there is way to create user with password, from docker-compose or Dockerfile?

of course, run the pid 1 as root, then you can do whatever you want


The package command does not replace process.env.*

Describe the bug
When you run npm run package in a SvelteKit project, process.env references (like process.env.NODE_ENV) are not statically replaced; the files that are output still contain the process.env references.
I don't know if there are cases when this is desirable, but in my case it is not. My library has a few checks for process.env.NODE_ENV === "test" which are only internal. I have a hard time imagining a case when a package user would want anything other than "production" from a third-party library.
In particular, this seems like it causes an issue with Svelte projects built with https://github.com/sveltejs/template where the packaging also does not handle process.env.
Reproduction
It's not a minimal example, but I ran into this with my component library: https://github.com/rgossiaux/svelte-headlessui
You can repro this by checking out & installing the repo, then running npm run package.
A user then reported that the resulting package is broken with https://github.com/sveltejs/template using this example repo: https://github.com/jerriclynsjohn/svelte-headlessui-test-repo
Logs
No response
System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 7.89 GB / 64.00 GB
    Shell: 3.3.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.8.0 - /var/folders/rn/2kdgb0jj25q2v656j3qc_ywr0000gn/T/fnm_multishells/23841_1640400023703/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 7.21.0 - /var/folders/rn/2kdgb0jj25q2v656j3qc_ywr0000gn/T/fnm_multishells/23841_1640400023703/bin/npm
  Browsers:
    Chrome: 97.0.4692.99
    Safari: 15.2

### Severity

serious, but I can work around it

### Additional Information

_No response_

There are probably arguments both in favor and against this behavior, although I lean towards replacing them. Not sure how for example node libraries do this.

I don't think we want to let support in the old template drive decisions here. I think I'm against performing this replacement automatically (replaced with what? you don't know what env value consumers will want to be using), but maybe there could be some config for additional processing done during the packaging. Maybe Svelte preprocessors already would cover this? There have been some other issues opened about adjusting what happens during packaging.

Possibly related to #2572  - It would help fix this issue because (assuming bundling would use vite or rollup) you could use Vite's define option or @rollup/plugin-replace to do the replacement, but as of right now using either of them won't work.

I don't think we want to let support in the old template drive decisions here. I think I'm against performing this replacement automatically (replaced with what? you don't know what env value consumers will want to be using), but maybe there could be some config for additional processing done during the packaging. Maybe Svelte preprocessors already would cover this? There have been some other issues opened about adjusting what happens during packaging.

I mention the old template just as a concrete example of how this can cause problems, but it feels "wrong" to me anyway regardless of that specific example, and least in the case when you're writing a component library.
It makes sense to me if you don't want to turn this on globally (I could imagine someone writing a package that didn't want this), but I think it would make sense too for there to be a config option. As for "with what?", using the env values that are present during packaging seems like an obvious and sane default (and would presumably allow package authors to customize the output appropriately).

@rgossiaux did you ever find a workaround?

Sure, I'm working around this by just manually replacing process.env.NODE_ENV in the package script in package.json:
https://github.com/rgossiaux/svelte-headlessui/blob/f431f891271291c8db7c75fe00c7c19b2542a21d/package.json#L22
Pretty janky but it gets the job done for my use case.

You can use esm-env rather than process.env.* and it will work in the browser and Node without needing any replacement. Perhaps we should have a warning when process.env is present notifying people about that


Widget template allowing null to the Key

The template widget created by slidy generate (below example) face error because the new version null safe did not allow null"key?"
"slidy generate widget manager/product/widgets/product_detail"

just remove the question mark from the model

It's cause a error in sound nullsafety codes.
So, we had worked up to nullsafety dart versions.


Error compiling basic homie sample

I'm using the following:
Arduino IDE 1.6.6
ESP8266 board 2.1.0
ArduinoJson 5.0.7
Bounce2 0.2.0
PubSubClient 2.4.0
Homie 1.3.0
My board is a NodeMCU V0.9
I can flash other programs to the board fine using the above.
I have tried the following
#include <Homie.h>
void setup() {
  Homie.setup();
}

void loop() {
  Homie.loop();
}

I also tried adding the following includes at the top as I didn't know if they were required
#include <ArduinoJson.h>
#include <PubSubClient.h>
#include <Bounce2.h>

I get the following error when I try and compile the app
C:\Users\live\Documents\Arduino\libraries\homie-esp8266\src\Homie\MqttClient.cpp: In member function 'void HomieInternals::MqttClientClass::initMqtt(bool)':

C:\Users\live\Documents\Arduino\libraries\homie-esp8266\src\Homie\MqttClient.cpp:27:148: error: no matching function for call to 'PubSubClient::setCallback(std::_Bind_helper<false, void (HomieInternals::MqttClientClass::*)(char*, unsigned char*, unsigned int), HomieInternals::MqttClientClass* const, const std::_Placeholder<1>&, const std::_Placeholder<2>&, const std::_Placeholder<3>&>::type)'

   this->_pubSubClient.setCallback(std::bind(&MqttClientClass::_callback, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));

                                                                                ^

C:\Users\live\Documents\Arduino\libraries\homie-esp8266\src\Homie\MqttClient.cpp:27:148: note: candidate is:

In file included from C:\Users\live\Documents\Arduino\libraries\homie-esp8266\src\Homie\MqttClient.hpp:4:0,

                 from C:\Users\live\Documents\Arduino\libraries\homie-esp8266\src\Homie\MqttClient.cpp:1:

C:\Users\live\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:108:18: note: PubSubClient& PubSubClient::setCallback(void (*)(char*, uint8_t*, unsigned int))

    PubSubClient& setCallback(MQTT_CALLBACK_SIGNATURE);

                  ^

C:\Users\live\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:108:18: note:   no known conversion for argument 1 from 'std::_Bind_helper<false, void (HomieInternals::MqttClientClass::*)(char*, unsigned char*, unsigned int), HomieInternals::MqttClientClass* const, const std::_Placeholder<1>&, const std::_Placeholder<2>&, const std::_Placeholder<3>&>::type {aka std::_Bind<std::_Mem_fn<void (HomieInternals::MqttClientClass::*)(char*, unsigned char*, unsigned int)>(HomieInternals::MqttClientClass*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>)>}' to 'void (*)(char*, uint8_t*, unsigned int) {aka void (*)(char*, unsigned char*, unsigned int)}'

exit status 1
Error compiling.

Sorry it's probably something really obvious, I just can't figure it out!

Indeed: https://github.com/marvinroger/homie-esp8266/blob/master/docs/2.-Getting-started.md#1a-for-the-arduino-ide
You need PubSubClient >= 2.5.0 :)

Doh, that was it (2.4.0 is the latest you will get from the arduino manage library stuff)

@rossdargan Arduino IDE 1.6.8 has what you need: PubSubClient 2.6.0


User should see only support on dashboard top bar

for eToro should stay the same.

Remove icons from the top bar -
Rewards
Goodmarket
Invite

Move the Support icon to the left side.

Verified as Done for Phase0 (User have Invite and Support buttons on the topbar)
Devices:
iPhone 6S // iOS 12.4
Mi 8 Lite // Android 10


plane-outline icon is not ouline

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Put 0 as transparent in correlation map with both negative and positive values + divergent colormap

Dear PySurfer,
I would like to save a correlation map with both negative and positive values. I would like also that 0 to be considered as transparent value, but I didn't manage to do it  by using either thresh or either transparent argument of the add_data method.
Please find below the code I used and attached in .zip file the raw data and correlation map of the left hemisphere saved with 0 coded as white colour instead of transparent:
 """
Get paths and load overlay arrays.
 """
overlay_file_lh = "lh.palm.fdr0.Corr_dpv_pcc_thr.mgh"
overlay_array_lh = nib.load(overlay_file_lh)
overlay_array_lh = overlay_array_lh.get_fdata()
overlay_array_lh = np.squeeze(overlay_array_lh)

"""
Bring up the visualization.
"""
brain = Brain("fsaverage", "lh", "white", background="black")
brain.add_data(overlay_array_lh, 0, 0.641, center=0, colormap="RdBu", hemi="lh", alpha=1)
brain.save_montage("lh.montage.correlation.Corr.vertex.cerebellum.start0_dur4.fdr0.tiff", order=['lateral', 'medial'], orientation='h', border_size=15, colorbar=[0], row=-1, col=-1)

Could you help me to solve this problem?
Best,
Matthieu
lh.montage.correlation.Corr.vertex.cerebellum.start0_dur4.fdr0.tiff.zip

Like this?
from surfer import Brain
import numpy as np
overlay_array_lh = np.random.RandomState(0).randn(10242)
vertices = np.arange(10242)
brain = Brain("fsaverage", "lh", "white", background="black")
brain.add_data(
    overlay_array_lh, min=0.5, mid=1.25, max=2, center=0, colormap="RdBu",
    hemi="lh", transparent=True, vertices=vertices, smoothing_steps=3)

This worked for the example you shown above. But when using my particular data with your syntax trying to put transparent only 0 values nothing appeared:
brain.add_data(overlay_array_lh, min=0.001, mid=0.01, max=0.641, center=0, colormap="seismic", hemi="lh", transparent=True)
brain.save_montage(os.path.join(outdir,"lh." + filename + ".tiff"), order=['lateral', 'medial'], orientation='h', border_size=15, colorbar=[0], row=-1, col=-1)

Could you donwload my specific data upload in my previous post and test with my command lines above?
Thanks

The snippet:
from surfer import Brain
import numpy as np
import nibabel as nib
overlay_file_lh = "lh.palm.fdr0.Corr_dpv_pcc_thr.mgh"
overlay_array_lh = nib.load(overlay_file_lh)
overlay_array_lh = overlay_array_lh.get_fdata()
overlay_array_lh = np.squeeze(overlay_array_lh)
vertices = np.arange(10242)
brain = Brain("fsaverage", "lh", "white", background="black")
brain.add_data(overlay_array_lh, min=0.001, mid=0.01, max=0.641, center=0, colormap="seismic", hemi="lh", transparent=True)
brain.save_montage("lh.png", order=['lateral', 'medial'], orientation='h', border_size=15, colorbar=[0], row=-1, col=-1)

produces:

I got the same image with a .tiff extension, too, but GitHub does not allow uploading those, hence the .png above.
Are you on latest master of PySurfer? Maybe there is some graphics card problem.

Indeed it's surprising...
How to know whether I'm using the latest master of PySurfer? My actual one is 0.9.0 that I have installed via conda install pysurfer (conda-forge deposit).

How could I clean an old installation with dependencies and start a new one without perturbing my conda environment? Is pip installation is better and manages installation of dependencies of pysurfer?

Is is better to install the development version?

How to know whether I have some graphics card problem?

Thanks


Ensure Loki is uninstalled when logging.enable=false

In order to control the logging stack deployment per installation, we use the logging.enable flag.
We need to make sure the Loki app is controlled by this flag.
When logging.enable=true, Loki should be deployed
When logging.enable=false, Loki should be uninstalled
This flag is defined in the giantswarm/config repository see https://github.com/giantswarm/config/pull/1840/files

Tested on gaia and it works well : with logging disabled on the config repo, all loki and promtail pods are gone.


Add missing min doc count param to terms agg

Summary
Adds a missing param on the terms aggregation where min doc count wasn't being correctly set. Adds tests to verify that param is set as expected now.

Closes #949


emit a warning when connecting with the client tools to a DBSERVER

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/3431/

@Simran-B : are you happy to suggest the same changes for arangorestore and I will click on "commit suggestion"?

@Simran-B : adjusted the messages myself.


fix: 404 links in Overview page for Guides (all links)

Fixes #14
Types of changes

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

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@rperelma don't have the karma to do so on this repo

@shazron now you do


Non-free libraries in dependencies

https://github.com/osmdroid/osmdroid/blob/master/pom.xml#L69 has a bunch of dependencies that are part of the Google experience and non-free.
Are they really required to build mapsforge, or can they be safely removed? The guys over at F-Droid (https://f-droid.org) would like to include mapsforge in their repository, but cannot do so as long as there are non-free dependencies.

The google dependencies are for the example google maps application and are NOT dependencies of the core library. does that clear things up?

ping @mvglasow. is this cleared up?
maybe we make a maven profile that only includes the google specific things in an explicit profile.

Thanks for the reply. Having a separate profile which has no non-free dependencies would definitely be the best way to resolve this.

mvn clean install  > does everything as normal
mvn clean install -Pcore > does only FOSS based libraries, aar's, and apk (google maps based apk and 3rd party jar are excluded)
does this meet the goals for getting publication on fdroid?

reopen if the solution isn't enough


When in Tablet Mode, the Calculator's interface slides down to show titlebar instead of overlaying the titlebar on top.

Describe the bug
When in Tablet Mode, the Calculator's interface slides down to show titlebar instead of overlaying the titlebar on top.
Steps To Reproduce
Start Calculator in Tablet Mode, try to access the Title bar at the top of the screen, when the title bar appears, the entire interface slides down.
Steps to reproduce the behavior:

Star Calculator while in Tablet Mode'
Access the Title Bar which is hidden at the top the screen.
See the entire interface slide down.

Expected behavior
The interface should display the Title Bar over the interface.
Screenshots

Device and Application Information

OS Build: 10.0.19592.0

Architecture: X64

Application Version: 10.2001.41.0

Region: en-US

Dev Version Installed: False

OS Build: 10.0.19592.0

Architecture: X64

Application Version: 10.2001.41.0

Region: en-US

Dev Version Installed: False
Additional context

Requested Assignment

I'm just reporting this problem.  I don't want to fix it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


HTML escaping in code review comments

Gitea version (or commit ref): 1.8.2
Git version:
Operating system: docker
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes https://try.gitea.io/basti/gitea/pulls/1/files#issuecomment-11854
[ ] No
[ ] Not relevant

Log gist:

Description
XSS in code review comments.  tag not escaped: https://try.gitea.io/basti/gitea/pulls/1/files#issuecomment-11854

Hmm.. it wasn't escaped here either, since markdown allows html?

Markdown allows a limited subset of HTML (no <script> etc), see the spec.

@ptman I can't seem to get there to be a sanitisation problem. The resultant HTML is completely sanitised on render the only thing I would say is that downstream users of the comments could end up mis-sanitising.

ok, my bad. Maybe every place that can take markdown input should have a link to syntax to remind?


One-hot Goals

Hi authors, recently I was trying to make the one-hot training/inference running, since I found the option of "future/onehot" in the config file. However, errors keep showing up, and it seems that the trajectory_loader.py doesn't handle the processing of one-hot goals. Could you shed some light on how to get the onehot training/inference working? Many Thanks!

Hi, thanks for your interest in our work. I remember testing one-hot once during the beginning of the project in 22. However, I cannot remember what I did different back then. The one-hot stuff is adopted from this codebase https://github.com/jeffacce/play-to-policy My best tipp would be to check our their codebase as I dont have a good idea on that implementation anymore. Otherwise if you can share the error message I can have a look and try to help.


Running docker compose up logs no errors but my instance is not reachable on localhost.

Here is the whole output of the command:
$ docker compose up
 ⠿ Container lwt_db     Removed                                                                                0.4s
 ⠿ Network lwt_default  Removed                                                                                0.2s
~/lwt main 1.9s ❱ docker compose up
[+] Running 3/3
 ⠿ Network lwt_default  Created                                                                                0.0s
 ⠿ Container lwt_db     Created                                                                                0.0s
 ⠿ Container lwt        Created                                                                                0.0s
Attaching to lwt, lwt_db
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.8+maria~ubu2004 starte
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.8+maria~ubu2004 starte
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
lwt_db  | 2023-06-12  5:03:18 0 [Note] Starting MariaDB 10.7.8-MariaDB-1:10.7.8+maria~ubu2004 source revision bc656c4fa54c1
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
lwt     | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Number of transaction pools: 1
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
lwt_db  | 2023-06-12  5:03:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
lwt     | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
lwt     | [Mon Jun 12 05:03:18.578023 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/8.1.19 configured -- resuming normal operations
lwt     | [Mon Jun 12 05:03:18.578048 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Using Linux native AIO
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Completed initialization of buffer pool
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: 128 rollback segments are active.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Creating shared tablespace for temporary tables
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: 10.7.8 started; log sequence number 42300; transaction id 14
lwt_db  | 2023-06-12  5:03:18 0 [Note] Plugin 'FEEDBACK' is disabled.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Buffer pool(s) load completed at 230612  5:03:18
lwt_db  | 2023-06-12  5:03:18 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
lwt_db  | 2023-06-12  5:03:18 0 [Note] Server socket created on IP: '<IP_ADDRESS>'.
lwt_db  | 2023-06-12  5:03:18 0 [Note] Server socket created on IP: '::'.
lwt_db  | 2023-06-12  5:03:18 0 [Note] mariadbd: ready for connections.
lwt_db  | Version: '10.7.8-MariaDB-1:10.7.8+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution

I use the sample .env file without changing anything. Thanks for your work on the docker instance and bugfixes of LWT!

Hi!
I don't see anything wrong from the logs, so I can only provide generic advice until I get more information 😀
What OS are you using?
Lastly, the first time the database creation can take some time, and you may have to wait up to three minutes for it to finish.
I hope that helps!
------- Original Message -------
On Monday, June 12th, 2023 at 2:04 PM, mainrs @.***> wrote:

Here is the whole output of the command:
$
docker compose up
⠿ Container lwt_db     Removed                                                                                0.4s
⠿ Network lwt_default  Removed                                                                                0.2s
~/lwt main 1.9s ❱ docker compose up
[+] Running 3/3
⠿ Network lwt_default  Created                                                                                0.0s
⠿ Container lwt_db     Created                                                                                0.0s
⠿ Container lwt        Created                                                                                0.0s
Attaching to lwt, lwt_db
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.8+maria~ubu2004 starte
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.8+maria~ubu2004 starte
lwt_db  | 2023-06-12 05:03:18+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
lwt_db  | 2023-06-12  5:03:18 0 [Note] Starting MariaDB 10.7.8-MariaDB-1:10.7.8+maria~ubu2004 source revision bc656c4fa54c1
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
lwt     | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Number of transaction pools: 1
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
lwt_db  | 2023-06-12  5:03:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
lwt     | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
lwt     | [Mon Jun 12 05:03:18.578023 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/8.1.19 configured -- resuming normal operations
lwt     | [Mon Jun 12 05:03:18.578048 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Using Linux native AIO
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Completed initialization of buffer pool
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: 128 rollback segments are active.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Creating shared tablespace for temporary tables
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: 10.7.8 started; log sequence number 42300; transaction id 14
lwt_db  | 2023-06-12  5:03:18 0 [Note] Plugin 'FEEDBACK' is disabled.
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
lwt_db  | 2023-06-12  5:03:18 0 [Note] InnoDB: Buffer pool(s) load completed at 230612  5:03:18
lwt_db  | 2023-06-12  5:03:18 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
lwt_db  | 2023-06-12  5:03:18 0 [Note] Server socket created on IP: '<IP_ADDRESS>'.
lwt_db  | 2023-06-12  5:03:18 0 [Note] Server socket created on IP: '::'.
lwt_db  | 2023-06-12  5:03:18 0 [Note] mariadbd: ready for connections.
lwt_db  | Version: '10.7.8-MariaDB-1:10.7.8+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
I use the sample .env file without changing anything. Thanks for your work on the docker instance and bugfixes of LWT!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


fix(direction): snake moving in opposite direction bug

**Describe the issue that the Pull Request resolves**
When the snake moved in the opposite direction, the game finished then and there and the user is displayed the message. This hampers user experience.

**Describe the changes the Pull Request makes**
The changes have been done to the code snippet which corresponded to the 'change direction' functionality. Now, the calculation of the new direction of the snake is not done if the user tries to go in the opposite direction of snake's movement.
Closes #32

**Mention the person responsible for reviewing the proposed changes**
@SubhamKarmakar24

Describe the issue that the Pull Request resolves When the snake moved in the opposite direction, the game finished then and there and the user is displayed the message. This hampers user experience.
Describe the changes the Pull Request makes The changes have been done to the code snippet which corresponded to the 'change direction' functionality. Now, the calculation of the new direction of the snake is not done if the user tries to go in the opposite direction of snake's movement.
Closes #32
Mention the person responsible for reviewing the proposed changes @SubhamKarmakar24

Great work 😍