TSLint won't pick up additional rules.

I originally reported this issue at Microsoft's additional TSLint rules, but maybe it's better reported here:
TSLint works fine, but it won't pick up the rules supplied by this module. Here's what I've done:

npm install tslint-microsoft-contrib --save-dev
Tried multiple ways of adding the rules directory:

In tslint.json added "rulesDirectory": "node_modules/tslint-microsoft-contrib" as a root property.
In package.json, where I'm running this as a NPM script to the script property, I wrote tslint --rules-dir node_modules/tslint-microsoft-contrib index.js

Added the flags to the tslint.json file that this module provides within the rules property.

The bottom line, I could not get this to work for the life of me using this within an NPM script. Is that what the problem is? Can you just not pick these rules up from with the context of running this within NPM? Any help would be appreciated. Thanks.

@cerebrl What version of TSLint are you using? I'd recommend trying v3.2.1 if you're not on it already.
The --rules-dir or rulesDirectoy property should point to the directory with the built .js rules files. I know this can be non-obvious at first.

I have the same problem and I have created a repo where it manifests. I an using tslint 3.2.1.
Here is my package.json:
https://github.com/janjarfalk/ionic2-angular2-typescript-boilerplate/blob/master/package.json
Here is my tslint.json:
https://github.com/janjarfalk/ionic2-angular2-typescript-boilerplate/blob/master/tslint.json
The "export-name-rule is not picked up. When I run npm run lint

I think this is a bug with how TSLint handles paths. I'm working on fixing it now. In the meantime, things will work correctly if you install TSLint globally and just run tslint -s tslint/formatters -t color --config tslint.json app/{pages,services}/**/*.ts from the command line you'll get the correct results.

I think the reason it isn't working for folks using npm scripts is that the tslint command in an npm script references node_modules/.bin/tslint, so it tries to look for node_modules/.bin/tslint/node_modules/tslint-microsoft-contrib and doesn't find any custom rules.
I filed #910 and #911 to improve this experience.

I got this to work with no issues on @janjarfalk 's repo.
I had to change his script to :
  "scripts": {
    "lint": "tslint -s tslint/formatters -t color --config tslint.json app/**/*.ts -r node_modules/tslint-microsoft-contrib/",
    "validate": "npm ls"
  },

The -r option picked up the extra rules and the ** glob (instead of the {pages,services} glob) picked up the .ts files.

Two people now have tried to put tslint options within the rules.json file... which will not work. Perhaps clarifying this in the readme is a good idea.

Actually @HamletDRC, it theoretically should work. There are some strange bugs right now with how relative paths are handled though. I've hopefully fixed that all in https://github.com/palantir/tslint/pull/912 :)

I'd like to update this thread with the info that everything is now working.
I removed the "rulesDirectory": "node_modules/tslint-microsoft-contrib" property from the tslint.json and just use the -r command to point to node_modules/tslint-microsoft-contrib.
I can confirm that, at least for me, adding the rulesDirectory property back to the tslint.json does reliably produce the original issue reported here.

@cerebrl  @janjarfalk: We just released TSLint v3.2.2 which should fix this bug. If you specify a custom rules directory on the command line, the path is treated as relative to the current working directory (as it was before). However, if you specify a path in a tslint.json file, the path is now relative to the location of the tslint.json file (which makes things much more intuitive in my opinion.)
I went through and tested out your repo with v3.2.2 @janjarfalk and found that running npm run lint now works as expected. Try things out yourself though and let me know if you encounter any bugs or issues!

@JKillian: Thank you!
But I think you introduced another bug.
Array of paths doesn't work as I expect.
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
This results in warnings as expected.
"rulesDirectory": ["tslint/rules"],
This results in warnings as expected.
"rulesDirectory": ["node_modules/tslint-microsoft-contrib", "tslint/rules"],
This results in warnings from tslint-microsoft-contrib ONLY.
"rulesDirectory": ["tslint/rules", "node_modules/tslint-microsoft-contrib"],
This results in warnings from tslint/rules ONLY.

@janjarfalk Interesting, although I'm not convinced this is a bug. As soon as TSLint finds an invalid path, it throws an error and aborts. I'm not sure it seems worth it to me to do anything fancier than that... Do you think different behavior would be better?

I think you misunderstood. Both tslint/rules and node_modules/tslint-microsoft-contrib are valid paths. Right now it only picks up additional rules from the first path in the array.
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
// If this results in warnings...

"rulesDirectory": ["tslint/rules"]
// ...but this doesn't result in warnings.

"rulesDirectory": ["tslint/rules", "node_modules/tslint-microsoft-contrib"]
// I expect this to result in warnings, but it doesn't.

Thanks for the detailed explanation @janjarfalk, I indeed did misunderstand you. This definitely seems like a bug, I'll look into it!

That's a separate issue, I've filed #928 for it.

@janjarfalk This should be fixed now in v3.3.0. As always, let us know if you come across any other issues :smiley:

@JKillian Awesome! Will do! Happy to help!

It may help someone down the road: after reading the source, I learned that custom rules are loaded in the following way:

Take the setting name in tslint.json
remove leading and trailing punctuation
camelize the name
append 'Rule'
append '.js'
Attempt to require that file from each rulesDirectory

So "foo-bar": true in tslint.json will result in a require('yourRulesDirectory/fooBarRule.js')

@alexanderbird that should mostly be covered by the "Important Conventions" section in the README and docs site. open to PRs if you think the docs could be improved.

@alexanderbird Thank you!  I started by looking here https://github.com/mgechev/codelyzer  and didn't see any instructions for naming conventions.  As soon as I changed the name of my rule, it started working!  Probably there is a doc update on both projects that are necessary.

🤖 Beep boop! 👉  TSLint is deprecated 👈  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


segmentation fault in the lsp server with the vscode extension

M1 Mac
vscode version: 1.85.1
extension version: 0.0.18
go version: go1.21.6 darwin/arm64
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:75","msg":"lsp: starting up..."}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:82","msg":"lsp: starting gopls..."}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:95","msg":"creating client"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:100","msg":"creating proxy"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:105","msg":"creating templ server"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:125","msg":"listening"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"proxy/server.go:199","msg":"client -> server: Initialize"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:133","msg":"goplsConn closed"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/main.go:135","msg":"shutdown complete"}
{"level":"info","ts":"2024-01-18T06:33:03+01:00","caller":"lspcmd/stdrwc.go:23","msg":"closing connection from LSP to editor"}
{"level":"error","ts":"2024-01-18T06:33:03+01:00","caller":"pls/main.go:100","msg":"gopls command error","error":"signal: segmentation fault","stacktrace":"github.com/a-h/templ/cmd/templ/lspcmd/pls.newProcessReadWriteCloser.func1\n\t/Users/csabaokrona/go/pkg/mod/github.com/a-h/templ@v0.2.513/cmd/templ/lspcmd/pls/main.go:100"}

The GoLand plugin on the same machine only does syntaxt highlighting, no intellisense, I'm not sure where to check those logs but I can imagine it's the same issue (lsp path set correctly in that case, too)

Hi @ochronus thanks for the thorough report. Do you have gopls installed in your path? What's the result if you run which gopls in a terminal?

Sure, it's in my path:
/Users/csabaokrona/go/bin/gopls
> which templ
/Users/csabaokrona/go/bin//templ

> gopls
fish: Job 1, 'gopls' terminated by signal SIGSEGV (Address boundary error)

Sorry for not trying it directly upfront, it seems gopls is crashing

That's an interesting one, are you okay to close this one and re-raise on gopls. Alternatively they have a slack channel where they may be able to help:
https://gophers.slack.com/archives/CJZH85XCZ

Yes, and thank you for your help!! Much appreciated

FYI this fixed it for me (seems to be mac specific): https://github.com/golang/go/issues/61676#issuecomment-1661279795


Adding attribute for icons to Accordion Group(feature request)

I found adding icons to accordion directive is impossible.
Supporting "icon" attribute would be great with a template like:

 {{heading}}

Then usage would be:
...
      <accordion-group heading="{{menu.title}}" icon="{{menu.icon}}">
...

Where menu.icon would be things like:
"glyphicon glyphicon-pencil"

Hi, I am not able to get this to work if its in ng-repeat..
http://plnkr.co/edit/8cZXd6w8WQiO5aUr1gQb?p=preview

should have played with it a bit before posting. If i kept the class in my array and left the  tag in html its fine. Thanks
http://plnkr.co/edit/J4jm4cEZRyNfpyDlPB75?p=preview


Ensure exactly once delivery of commands to aggregates

This PR tackles an issue when a command can be delivered to an aggregate more than once in a short period of time. This is done by ensuring that since the last snapshot there are no events available in the aggregate event-store which have the root_command_id matching the ID of the command being dispatched.
The root cause of this issue is message brokers giving a guarantee of at-least-once delivery. This means that whenever the message broker has an issue delivering a command it retries doing so until it succeeds possibly sending a single command multiple times.

@alexander-yevsyukov PTAL.

@alexander-yevsyukov, PTAL.

[ ] Aggregate should have a historyBackwards() similar to Storage
[ ] Command should be checked for duplicates in an endpoint
[ ] The exception should extend CommandException stating that command cannot be dispatched twice
[ ] There should be a client-server test with an acknowledgement observer check.

@armiol PTAL.

I've moved the RecentHistory and updated dependencies. I think we need to wrap this PR, unless you see something critical for now.
@armiol, PTAL.

@armiol, I think I've addressed all your comments. PTAL again.


Convert coordinates from dms to dec and vice versa

Coordinate conversion algorithms are done, need to integrate them into the frontend


OGM multiple classes error

In trying to use the ogm on an instance of a class with multiple classes I ran into an error.
The code I ran was this
from twa.data_model.base_ontology import BaseOntology, BaseClass, ObjectProperty, DatatypeProperty
from twa.data_model.iris import TWA_BASE_URL
from typing import ClassVar
from pydantic import Field
from twa.kg_operations import PySparqlClient

CREDO_BASE_URL = "https://theworldavatar.io/kg/CReDo"

class CReDO_Ontology(BaseOntology):
    base_url: ClassVar[str] = CREDO_BASE_URL
    namespace: ClassVar[str] = 'OntoCore.owl#'

class Asset(BaseClass):
    rdfs_isDefinedBy = CReDO_Ontology

sparql_client = PySparqlClient(
    query_endpoint = "https://dev.credo.theworldavatar.io/power/ontop-power/sparql/",
    update_endpoint = "",
)

asset = Asset.pull_from_kg(
    "https://theworldavatar.io/kg/CReDo/ukpn_base/substation/0A0001",
    sparql_client,
    recursive_depth=-1
)

which throws the following error
ValueError: The instance https://theworldavatar.io/kg/CReDo/ukpn_base/substation/0A0001 is of type {'https://theworldavatar.io/kg/CReDo/OntoCore.owl#Collection', 'https://theworldavatar.io/kg/CReDo/OntoPower.owl#Substation', 'https://theworldavatar.io/kg/CReDo/OntoCore.owl#Resource', 'https://theworldavatar.io/kg/CReDo/OntoCore.owl#Site', 'http://www.w3.org/2000/01/rdf-schema#Resource', 'http://www.opengis.net/ont/geosparql#Feature', 'https://theworldavatar.io/kg/CReDo/OntoPower.owl#PrimarySubstation', 'https://theworldavatar.io/kg/CReDo/OntoCore.owl#Asset'},
                    it doesn't match the rdf:type of class Asset (https://theworldavatar.io/kg/CReDo/OntoCore.owl#Asset),
                    nor any of its subclasses ({}),
                    therefore it cannot be instantiated.

since https://theworldavatar.io/kg/CReDo/OntoCore.owl#Asset is in the list this doesn't read as a valid error. I might be doing something wrong though so please do let me know.

I think the problem might be
target_clz_rdf_type = list(props[RDF.type.toPython()])[0]

Perhaps a messy but robust solution would be
target_clz_rdf_types = list(props[RDF.type.toPython()])
if not target_clz_rdf_types:
    raise ValueError(f"The instance {iri} has no rdf:type, retrieved outgoing links and attributes: {props}.")
cls_subclasses = cls.construct_subclass_dictionary().keys()
intersection = target_clz_rdf_types & cls_subclasses
target_clz_rdf_type = next(iter(intersection)) if intersection else next(iter(target_clz_rdf_types))


Split content_store_controller.go

https://trello.com/c/PbCzGBIB
in response to feedback on: https://github.com/alphagov/publishing-api/pull/22
why?

behaviour for publish intent and content item actions have diverged
publish intent controller need not know about draft content store
allows HandleFunc names to be verbs describing the actions
methods that need not be defined on a controller, are now in a
separate file within the same package: helpers.go

@heathd: i suggest we review and add logging where ever necessary as a separate PR. i've also been thinking about how to log third-party error messages in our JSON logs. it seemed like a little more effort than just adding a log statement.
i understand that correct logging is a given in every PR. however in this case, i've mostly moved existing code to a new place and there's been quite a churn. https://github.com/alphagov/publishing-api/pull/22 as it is, had too many things to be reviewed, so for convenience i've pulled out this sub-PR, idea being we review and merge smaller changes. if you're happy, i'll add a card to Trello for reviewing and adding logging to publishing-api.

We already have standard request logging (implemented as middleware).

This is a really good change - makes it clearer and easier to read. It's always a smell when a code file gets really long. :+1:


Bugfix for x509 device registration

I've discovered a bug with the x509 device registration that prevents the registration of devices if RSA and ES public keys are contained together with X509 certificates in the device folder.
This bugfix corrects this behaviour and allows all devices to be registered without having to manually remove public keys from the device folder when the creation of a key with a self-signed X509 certificate is selected.

Why do the certs need to be in ALL_KEY_FILES? Looking at the logic, if certs are used then it uses ALL_CERT_FILES... and the cert files shouldn't be there if it's in key (non-cert mode)... ?

Sorry, I misunderstood your original question. Yes, I agree the certs don't need to be there. I'll remove them in my next commit.


Nokogiri should refuse to install on MinGW Ruby 2.2

Rails 4.2 requires Nokogiri.
Redmine got feedbacks that Redmine 3.0.x (Rails 4.2.x) does not work on MinGW Ruby 2.2.

http://www.redmine.org/issues/19419
http://www.redmine.org/boards/2/topics/45380
http://www.redmine.org/boards/2/topics/45991?r=45999#message-45999

It is too hard to know why Redmine 3.0 does not work on MinGW Ruby 2.2.
You can refuse to install gem in gemspec.
spec = ::Gem::Specification.new do |spec|
  platforms = [:linux, :mingw]
  case RUBY_PLATFORM
  when /mingw/
    if RUBY_VERSION >= "2.2"
      fail 'This gem does not support MinGW Ruby 2.2'
    end
  else
    platform = :linux
  end
end

I'll handle this.


Remove suite, install tn93, add tn93_readreduce.

The automated installer prematurely shut down the docker container, so the install database on cvmfs had tn93 stuck at the cloning stage. I reset the state manually, so this should install correctly. This also adds tn93_readreduce to the yaml and lock file, since that repository managed to install before the docker container shut down.

@galaxybot deploy this


Brackets in document.meta break highlighting

Prerequisites

[X] I have read contribution guidelines
[X] I am using the latest version of the plugin
[X] I am using either 0.6 stable or the latest compiled neovim version

Neovim Version
NVIM v0.6.1
Neorg setup
require('neorg').setup {
  load = {
    ['core.defaults'] = {}, -- Load all the default modules
  }
}

Actual behavior
When adding brackets () in the value of any variable in @document.meta, the text after the brackets is without highlighting and the following line also loses highlighting. See screenshot:

Expected behavior
Highlighting doesn't break.
Steps to reproduce
Add brackets to the value of any variable defined in @document.meta.
Potentially conflicting plugins
No response
Other information
No response
Help
No
Implementation help
No response

Thanks for raising this issue! I transferred it to the repository where we implement the @document.meta parser. Will take a look soon!

Hey, after an entire rewrite of the parser this issue should now be fixed! :TSUpdate and lemme know whether it works fine :D

Works perfectly!


Correct rounding

This library looks very interesting.
Will it have correct rounding?

Thank you for that.
It will give Float64 values correctly rounded (almost always) -- one purpose of this work is to compute whatever using Float128 and then when the work is done, extract the 'hi' part as a Float64 result.
Somewhere, there is a crlibm module, which will assure you correct rounding for elementary functions of Float64 values.
At present, I am trying to make sure that each function is faster than the corresponding BigFloat function.  That is not straightforward.
I can give correctly rounded results, at the cost of greater computing time.  My concern has been that if some library functions took longer than BigFloat(160 bits), then people would not choose to use it.

To get a sense of which functions likely round correctly,
look at https://github.com/DiademSpecialProjects/FLOAT128.jl/blob/master/doc/precision.md in the sig bits column.  Functions that have at least 105 sig bits should be rounded nicely.   I am not sure about the rounding behavior of functions that show 104 sig bits.  Once the function implementations are stable, I will look into that and add a note about rounding behavior.

Many thanks.
In fact, I wrote the CRlibm wrapper (https://github.com/dpsanders/CRlibm.jl).
I am asking since we would be very interested in correctly-rounded higher-precision functions for our interval arithmetic library, ValidatedNumerics.jl (https://github.com/dpsanders/ValidatedNumerics.jl).
For this, we would need functions that are guaranteed to give lower bounds with RoundDown and upper bounds with RoundUp. MPFR (BigFloat) achieves this; however, I understand that it is difficult
How are you developing your approximations? I agree that if the functions are not faster than the corresponding BigFloat ones, then people won't use them.

I am using a mixture of approximation methods.  I start with what should
work (converting routines from qd (quad-double) library), and if they work
with the sig bits I want, that's what I use.  When they don't (and that
happens too often), I use either taylor series with tables for incremental
values and argument transformation.  When that is too slow, I am using
Maple to generate near minimax approximations over successive intervals
(e.g. for arctan the intervals are 1/64 (n/64 - 1/4096^2 .. (n+1)/64 +
1/4096^2) and today the rational polynomials are O(x^6)/O(x^6).  Sometimes
I reexpress a function in terms of a similar one, when that gives better
precision.
On Mon, Nov 2, 2015 at 10:09 AM, David P. Sanders<EMAIL_ADDRESS>wrote:

Many thanks.
In fact, I wrote the CRlibm wrapper (
https://github.com/dpsanders/CRlibm.jl).
I am asking since we would be very interested in correctly-rounded
higher-precision functions for our interval arithmetic library,
ValidatedNumerics.jl (https://github.com/dpsanders/ValidatedNumerics.jl).
For this, we would need functions that are guaranteed to give lower bounds
with RoundDown and upper bounds with RoundUp. MPFR (BigFloat) achieves
this; however, I understand that it is difficult
How are you developing your approximations? I agree that if the functions
are not faster than the corresponding BigFloat ones, then people won't
use them.
—
Reply to this email directly or view it on GitHub
https://github.com/DiademSpecialProjects/FLOAT128.jl/issues/1#issuecomment-153046930
.

If it would be of use, when the library is initially settled, I might
cobble a variant that gives values with a 96 bit significand and probably
would evaluate arithmetic and elementary functions rounding correctly --  I
am still unsure about the behaviour of a few values. At the bottom of the
page doc/precision.md
https://github.com/DiademSpecialProjects/FLOAT128.jl/blob/master/doc/precision.md
the
last section is a table with two functions at given values where the high
order Float64 is nextfloat( true ) rather than matching the true high order
part.  For those functions at the given values, I find the same behavior
using different methods of function approximation and argument remapping.
Other nearby values work properly.  Any thoughts?
On Mon, Nov 2, 2015 at 10:28 AM, Jeffrey Sarnoff<EMAIL_ADDRESS>wrote:

I am using a mixture of approximation methods.  I start with what should
work (converting routines from qd (quad-double) library), and if they work
with the sig bits I want, that's what I use.  When they don't (and that
happens too often), I use either taylor series with tables for incremental
values and argument transformation.  When that is too slow, I am using
Maple to generate near minimax approximations over successive intervals
(e.g. for arctan the intervals are 1/64 (n/64 - 1/4096^2 .. (n+1)/64 +
1/4096^2) and today the rational polynomials are O(x^6)/O(x^6).  Sometimes
I reexpress a function in terms of a similar one, when that gives better
precision.
On Mon, Nov 2, 2015 at 10:09 AM, David P. Sanders <
<EMAIL_ADDRESS>wrote:

Many thanks.
In fact, I wrote the CRlibm wrapper (
https://github.com/dpsanders/CRlibm.jl).
I am asking since we would be very interested in correctly-rounded
higher-precision functions for our interval arithmetic library,
ValidatedNumerics.jl (https://github.com/dpsanders/ValidatedNumerics.jl).
For this, we would need functions that are guaranteed to give lower
bounds with RoundDown and upper bounds with RoundUp. MPFR (BigFloat)
achieves this; however, I understand that it is difficult
How are you developing your approximations? I agree that if the functions
are not faster than the corresponding BigFloat ones, then people won't
use them.
—
Reply to this email directly or view it on GitHub
https://github.com/DiademSpecialProjects/FLOAT128.jl/issues/1#issuecomment-153046930
.


Asana integration broken; we are checking origins incorrectly

Expected behaviour

When asana.com is ticked on the Toggl Button settings page, nice Toggl start timer icons should appear on the Asana interface

Actual behaviour

Ticking asana.com doesn't show toggl button(s(?)) on asana.com
Yet, in spite of the fact our scripts/origins.json uses "url": "*://app.asana.com/*", for having asana.com ticked, adding app.asana.com as a custom integration URL actually fixes the Asana integration (seemingly)

Likely culprits:
https://github.com/toggl/toggl-button/commit/e7e4de6f53d416917f159f155ab7019cec0b577f
https://github.com/toggl/toggl-button/commit/f78e239ee6e206a0639bc71d23ca455b088511e1
https://github.com/toggl/toggl-button/commit/4b64db045dfe544c07af615f18294629432db062

Workaround: Add custom URL app.asana.com of type Asana in the permissions section of the Toggl Button settings dialog.


There was an error processing your request: No details were returned

Describe the bug
using chrome canary uploaded folder i have downloaded from bolt.new.
to repeat the issue

if i use the anthripic api settings to test and ask questions it works no problems
the upload folder isnt there so i go back the beginning
load folder , which works great and it loads
ask anthropic ant question  i get There was an error processing your request: No details were returned

Link to the Bolt URL that caused the error
http://localhost:5173/chat/11
Steps to reproduce

if i use the anthripic api settings to test and ask questions it works no problems
the upload folder isnt there so i go back the beginning
load folder , which works great and it loads
ask anthropic ant question  i get There was an error processing your request: No details were returned

Expected behavior
i would expect it would work after the upload to just talk to the api, and also be abale to re4ad the folder it is showing as working
Screen Recording / Screenshot
No response
Platform
mac m2, chrtom canary
Provider Used
anthropic
Model Used
claude 3,5 new
Additional context
No response

I'm facing the similar issue, Did you managed to make it work?

not yet it also seems to need the api keys inputted in the browser as well
and intermittently sees those
On Thu, Dec 12, 2024 at 8:17 PM Flaxoice1 @.***> wrote:

I'm facing the similar issue, Did you managed to make it work?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz-labs/bolt.diy/issues/624#issuecomment-2539933346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2BTV5EEJWUZ6OHJV645YT2FHVNXAVCNFSM6AAAAABTLK6JPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZZHEZTGMZUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am experiencing the same issue. I recently subscribed to ChatGPT Plus. I am sure that my token limit is sufficient and my API key is correct.

I can get the api to work if I use both the file and ui but it simply will
not work as intended.
Not sure how this can be only a few experiencing. It
Sent from Gmail Mobile
On Fri, 13 Dec 2024 at 19:09, Kebab Lover @.***> wrote:

I am experiencing the same issue. I recently subscribed to ChatGPT Plus.
I am sure that my token limit is sufficient and my API key is correct.
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz-labs/bolt.diy/issues/624#issuecomment-2542082478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2BTVYSHRYYUBD7FJYUJUL2FMWIHAVCNFSM6AAAAABTLK6JPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBSGA4DENBXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

same

greetings to everyone. have anybody solve the problem yet?

Hello, Same problem. I used the "Deploying Bolt.diy with Cloudflare pages" documentation. Everything went OK, until I tried to use the app. I get this same error. Frustrating.

Now it works. No more errors. But no preview.

Has there been an update ?
Sent from Gmail Mobile
On Sat, 14 Dec 2024 at 23:49, citizenfaguo @.***> wrote:

Now it works. No more errors. But no preview.
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz-labs/bolt.diy/issues/624#issuecomment-2543378925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2BTV6PMYDLDEGHBUJTDR32FS7Y5AVCNFSM6AAAAABTLK6JPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGM3TQOJSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Has there been an update ? Sent from Gmail Mobile
…
On Sat, 14 Dec 2024 at 23:49, citizenfaguo @.> wrote: Now it works. No more errors. But no preview. — Reply to this email directly, view it on GitHub <#624 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2BTV6PMYDLDEGHBUJTDR32FS7Y5AVCNFSM6AAAAABTLK6JPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGM3TQOJSGU . You are receiving this because you authored the thread.Message ID: @.>

No. I have tried almost all the solutions I found on this issue but still no progress.

Şimdi çalışıyor. Artık hata yok. Ama önizleme yok.

Now it works. No more errors. But no preview.

How did you manage to make it work? Can you share your solution with us?

greetings to everyone. have anybody solve the problem yet?

Have you managed to get it working? What's the latest?

I got the same issue, nobody has found how to fix it yet?

I think it happens when you choose an LLM model and you've got no more credit of tokens for this model.

How u figured this out? Did u had the same issued before? @citizenfaguo

I noticed recently that this happened when I tried other models. Not sure, though.

Im trying to use anthropic, but i just cant, honestly im giving up

Mistral 7b is OK with me.

I have the same problem, did anyone find a solution?


fix: Consolidate package

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 0.10.999-cibuild0020678-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0020696-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0020697-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0020717-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


[WIP] begin building a config flags struct

Work in progress...
Opening this now to gather feedback on whether this is the design we want.
cc @soltysh @deads2k

Not yet sure which other methods we want to tack on to this. Added the ToRESTConfig method for now.

Start wiring that into one of the commands and you'll see how's this working for you.

@soltysh @deads2k thanks, review comments addressed. Will bind flags at command level

@deads2k moving config_flags.go to pkg/kubectl/genericclioptions would cause an import cycle as the ToDiscoveryClientMethod would depend on the pkg/kubectl/cmd/util pakckage in order to instantiate the discovery client, and the pkg/kubectl/cmd/util package would depend on genericclioptions in order to receive a RESTClientGetter

Thanks for the review, will open PR against upstream


Try not to clobber OpenSSL's cert lookup paths.

This seems to use the system CA certs on Ubuntu and FreeBSD now.
Addresses #979

PTAL

Doc update looks good.


ac-export attributing all names to CoL management classification

All scientific names and families are set to database_id = 500 in the ac-export.

This is a serious issue indeed. All taxa are missing a sector_key.
I think this is because at some stage I switched exports to work on releases, while we did create exports on the draft in the beginning.
So the problem is the release, not the export.
It also means all our previous releases are missing all sectors.
I hope that is not too bad and we can remove them in 2021 anyways?

@mdoering, yeah I just noticed that the credits worked on the export. If you are able to easily move the export process back to exporting from draft 3 before copying draft 3 to an immutable release, that would be preferable because indexing takes a really long time, which makes creating a release take even longer because indexing + conversion is probably 2 work days. If we have to do multiple revision cycles that will mean that doing a release could take more than a week. If it's not a quick and easy to change, then I can make do with it until we eliminate conversion.
I guess the other workaround for now would be to do an export, and then do a release right after. They should match, and that will allow me to start conversion sooner.

I can probably let the indexing run after the export so you can access it quicker. Inexing indeed takes a long time.
I would not want to move it back to the draft as that draft contains different keys and data as we just saw in this issue which helped to fix the release code.

indexing runs now after exporting. Stable ids will also only be present in the release, so its important we use the release


32 analyst application view

Implements #32
Requires an application with received status in the database which can then be viewed by going to route /analyst/application/[applicationId]

Happy to merge the PR. The issue should stay in progress until cypress tests and happo snapshots are written though

Mocking auth login for new roles and Cypress testing should have been it's own issue/ticket as you are spending a significant amount of time on it. So either this is finished or it shouldn't have been started yet given it's blocked. In this case I'd argue in this case that happo screenshot testing should be it's own ticket given the issues you've run into.

Making cypress tests into their own ticket leads to the work never being prioritized, as we've seen with the file uploads. This should be part of our Definition of Done. I'm not confident this page is and will remain fully functional, and looks as expected, unless there's a cypress test.


Excessive CPU consumption in WireGuard mode

Problem Description
Mitmproxy uses 100% cpu even under light-to-moderate network activity with packets being dropped. This is a common picture
6568 root 20 0 7357216 3.2g 20072 R 109.6 1.3 6:10.60 mitmweb

Steps to reproduce the behavior:

mitmweb --mode wireguard --web-host 10.x.x.x
Set up mobile client with com.wireguard.android
Enable always-on vpn + block connections without vpn
Reboot phone to record it's activity from the start

System Information
Mitmproxy: 9.0.0
Python:    3.9.2
OpenSSL:   OpenSSL 3.0.5 5 Jul 2022
Platform:  Linux-5.10.0-18-amd64-x86_64-with-glibc2.31

Thanks for the feedback! I was able to reproduce the "Dropping incoming packet" errors with heavy full-hd streaming. That's not quite what you described, but at least we have a repro. I've spent a bit of time looking into this now and came up with some fixes in https://github.com/decathorpe/mitmproxy_wireguard/pull/20, which should mitigate this. We should be able to get a patch release out quickly. :)

In order to check it earlier, I've tried to install it with
pip3 install git+https://github.com/decathorpe/mitmproxy_wireguard.git@refs/pull/20/merge

but it fails inside cargo with
   ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 /tmp/tmpydgfm_tr_in_process.py prepare_metadata_for_build_wheel /tmp/tmph8g1ditn
         cwd: /tmp/pip-req-build-lgpz_8l5
    Complete output (14 lines):
    💥 maturin failed
      Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
      Caused by: `cargo metadata` exited with an error: error: failed to select a version for `console-api`.
        ... required by package `console-subscriber v0.1.8`
        ... which satisfies dependency `console-subscriber = "=0.1.8"` of package `mitmproxy_wireguard v0.1.15 (/tmp/pip-req-build-lgpz_8l5)`
    versions that meet the requirements `=0.4.0` are: 0.4.0

    the package `console-subscriber` depends on `console-api`, with features: `tonic-build` but `console-api` does not have these features.

    failed to select a version for `console-api` which could resolve this conflict
    Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-7ngktbbv', '--interpreter', '/usr/bin/python3']' returned non-zero exit status 1.

toolchain info is
cargo --version
cargo 1.56.0
rustc --version
rustc 1.61.0

is there any simple fix, or should I just wait for a pip binary release, and test just it?

Hm, the command you posted works out of the box for me:
$ cargo --version
cargo 1.64.0 (387270bc7 2022-09-16)
(venv) ~/g/mitmproxy
$ rustc --version
rustc 1.64.0 (a55dd71d5 2022-09-19)

Seems like you are hitting this: https://github.com/tokio-rs/console/issues/348

Maybe :) I've installed 1.64 from the ground up and it compiled all deps successfully. Testing now.

Works like magic :) No drops at all, though I was able to push CPU consumption up to 60%, it wasn't noticeable in the application. Even twitch streams smoothly.

Wonderful. Thank you again for the initial report and for testing the PR! 🍰

Released :partying_face:


Every route gets a 422 response created

When looking at the openAPI spec for a given route generated by flask-openapi3 every route has a 423 response object. Is this intentional behavior? If it is intentional behavior is there a way to remove it?

422 response is the default behavior after parameter validation fails, why would you remove it?
Of course, you can change this default behavior (https://luolingchun.github.io/flask-openapi3/v2.x/Usage/Specification/#validation-error), but you can't remove it.

If one of the routes that you want documented is a server health check that doesn't require a Pydantic model ex.
@api.get('/hello/<name>', tags=[health_check], responses={HTTPStatus.OK: {"content": { "text/text": { "schema": { "type": "string","example": example}}}})
def say_hello():
    return str(('Hello User!', 200))

It wouldn't make sense for there to be a 422 response generated because there is no input validation necessary, and there is no Pydantic model being used for validation.

I created a PR (#123 ) to fix this.


How to migrate 2 or more fields on the same field in Azure DevOps, by appending those data?

Its A question
How to migrate 2 or more fields on the same field in Azure DevOps, by appending those data? Is it possible through this tool? Basically, I want to map custom fields in Azure DevOps or tfs. Since we may have a lot of custom fields which may not be available in azure devops.
Do we have ay way to achieve this?

This feature is part of our Pro offering. The pro version of the tool is still in the making, but we can offer this feature as a part of our migration-as-a-service offering. Let me know if that sounds interesting and I'll give you the contact information :)

This feature is part of our Pro offering. The pro version of the tool is still in the making, but we can offer this feature as a part of our migration-as-a-service offering. Let me know if that sounds interesting and I'll give you the contact information :)

Can I know more about Pro featuring?

Sure, I answered your discussion here :) https://github.com/solidify/jira-azuredevops-migrator/discussions/774


"Combo" Chart with only one column data series is displayed as a line

Bug report
Starting with version 3.25.0 Combo chart consisting of lines and bars are not displayed correctly when there's only one 'column' data series. When a second column series is added they are both displayed correctly as bars.

The series "Website Blog" is displayed as type: "column"
What is happening instead?
The series "Website Blog" is displayed as type: "line"
What error message are you getting?
None

I have the same behavior.

Hi, any update on this?

This blocks me from updating to the latest version. Any update on this bug?


[BUG] Easy Approval causes a transaction to become Unclear

Describe the bug
Easy Transaction approval causes transaction to become unclear, if using a filtered view
To Reproduce
Steps to reproduce the behavior:

Ensure "Easy Transaction Approval" option set.
Go to an Account with ready to approve imports
At the top, where it shows "## new transactions to import, approve, or categorize.", click the "View" button.
Select a transaction that requires no changes and shows as cleared
Press Enter
Clear filter and observe this transaction is now unclear.

Expected behavior
Transaction should remain cleared.
Screenshots
N/A
Desktop (please complete the following information):

OS: Linux 5.6.6
Browser: Brave 1.7.92
Toolkit Version 2.22.1

Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":true},{"key":"AutoDistributeSplits","value":true},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BottomNotificationBar","value":false},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":false},{"key":"BudgetSpendingGoal","value":false},{"key":"BulkManagePayees","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"CategorySoloMode","value":"0"},{"key":"ChangeEnterBehavior","value":false},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":true},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"ConfirmKeyboardCancelationOfTransactionChanges","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomFlagNames","value":false},{"key":"DateOfMoney","value":false},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingDate","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DeselectTransactionsOnSave","value":false},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"DisplayTotalMonthlyGoals","value":false},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":true},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HideTotalAvailable","value":false},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LinkToInflows","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResizeInspector","value":false},{"key":"ResizeSidebar","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":true},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":false},{"key":"StripedBudgetRows","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleSplits","value":true},{"key":"ToggleTransactionFilters","value":"0"},{"key":"ToolkitReports","value":true},{"key":"ViewZeroAsEmpty","value":false},{"key":"l10n","value":"0"}]

Just noticed this bug myself. Pretty sure it's been happening for several weeks at least.

This is happening for me too. macOS 10.15.4, Chrome 81.0.4044.129, Toolkit 2.22.1.
Took me a while to realize this was what was making all my numbers off.

This is still happening for me as well. Is there a fix coming for this one?
Windows: 10
Chrome: Version 83.0.4103.116
Toolkit Version 2.25.0

This has been happening for months...

Hey @kenny3794  the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".

Thanks.  It does appear the specific behavior fixed, but now if I have a transaction highlighted on an accounts page and perform a search, if the search text includes the letter 'a' or I hit the enter key to execute the search, the highlighted transaction gets approved.  I don't recall this behavior previously.  Do you want me to open a new bug report?


Filenames not encoded

For example, one can add a filename containing a " or Unicode characters, resulting in an invalid request.

Another good one, thanks man!

Already commited, by the way, so I'm closing the issue.


Scan the templates recursively with flexible config (subfolders)

It would be nice if we could organize the templates in subfolders, for example:
.
├── templates
│   ├── contextA
│   │   └── endpoints.tmpl
│   │
│   └── contextB
│   │   └── anotherFolder
│   │    │        └── anotherFolderEndpoints.tmpl
│   │    │
│   │   └── serveiceb.tmpl
I am not allowed to do it at this moment because the flexible configuration just scans the root of the path FC_TEMPLATES
The workaround I am using is to copy recursively the templates from the subfolders to the root of the templates folder when creating the docker image.
Thank you, keep up the great work guys!

duplicates https://github.com/krakendio/krakend-flexibleconfig/pull/19


Add registry.ParseType.

ParseType parses a string and returns a *registry.Type. The client
code currently uses this functionality, but it seems like it's better
treated as part of the registry library, rather than as a one-off.

Thanks, @technosophos.

Please rebase and resubmit.

Rebased.

Thanks.


Undefined mixin 'foundation-global-styles'.

I'm getting this error directly after the generator runs. None of the mixins are working. I have the sass-rails gem included in the Gemfile (comes with installation)
My application.scss looks like this:
 *= require font-awesome
 *= require foundation_and_overrides
 *= require_tree .
 *= require_self

Here's the link to the code: https://github.com/AmberWilkie/snack-app/tree/navbar
Thanks so much for any insights!

You have CSS versions of Foundation in your app/assets/stylesheets directory and I think this line which is supposed to @import the SCSS version of Foundation (contained in the gem) is instead importing this one.
So just remove foundation.css and foundation.min.css from the app/assets/stylesheets directory and it should work.

Removing foundation.css and foundation.min.css solved the issue on my end. Thanks

I don't have any foundation css files under my assets, but still I do not have access to sass variables like $white from gem files. I also comment out from foundation_and_overrides.scss file, still not working. I use Rails 5.1.2 and gem version <IP_ADDRESS>


Shared Pointer Question

Hello,
I have question regarding your implementation. I was looking for library which generates examples of batches exactly like here. Mainly, I have problem implementing passing a std.shared_ptr to python class using boost python.
I compiled your library and tried to see how this can be done and when i executed this line:
x=molgrid.FileMappedGninaTyper(data+"/recmap")
#passing shared_ptr
e = molgrid.ExampleProvider(x,data_root=datadir+"/structs")
it throws this error:
TypeError: No registered converter was able to produce a C++ rvalue of type std::shared_ptrlibmolgrid::AtomTyper from this Python object of type FileMappedGninaTyper
I am using ubuntu default boost but this is exactly the problem which I am trying to solve in my code
@dkoes
@Jsunseri

Whoops, looks like I never wrote a test for that functionality and it didn't "just work".  I've pushed a fix.


feat: adding new features and fixing labelling

Addresses #issue

A follow up script will be put out to make these changes to the live site's data, but these changes need to happen in live before that can happen
Description
This adds the new features and changes the labels for a few existing labels, per the spreadsheet:
https://docs.google.com/spreadsheets/d/15KIX_wSuKmrtjYYrgRgb-LN1cdxIIJ9RSffPJ7SQ7j4/edit#gid=2017399755
How Can This Be Tested/Reviewed?
on the partner site
log in and go to edit/create a listing
notice the new features are present on the listing form, and notice that the updated label presents are there
notice that after the save the detail page has the same updates
on the public site
take a look at the listing detail page, and notice that the new/updated features are present
take a look at the listing filter form, and notice that the new/updated features are present
notice that the new features do function in the form
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[x] I have run yarn generate:client and/or created a migration if I made backend changes that require them
[ ] I have exported any new pieces added to ui-components
[x] My commit message(s) is/are polished, and any breaking changes are indicated in the message and are well-described
[x] Commits made across packages purposefully have the same commit message/version change, else are separated into different commits

Reviewer Notes:
Steps to review a PR:

Read and understand the issue
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Also review the acceptance criteria on the Netlify deploy preview (noting that these do not yet include any backend changes made in the PR)
Either explicitly ask a clarifying question, request changes, or approve the PR if there are small remaining changes but the PR is otherwise good to go

On Merge:
If you have one commit and message, squash. If you need each message to be applied, rebase and merge.

Hey @emilyjablonski got this updated per our convo if you have a chance to take another look please

@YazeedLoonat Just want to confirm that Kathy's response was to not google translate and add the new strings in?

Hey @emilyjablonski I asked kathy and she had me run the translations myself, so those should be in place now
lemme know if you catch anything else!


Unclear documentation: performARHitTestWithPoint(x:number, y:number)

Hi, I tried to use performARHitTestWithPoint, but I was constantly getting off results. I used:
performARHitTestWithPoint(evt.nativeEvent.locationX, evt.nativeEvent.locationX)

That is the wrong way of using it as performARHitTestWithPoint doesn't work with @1 scale so in order to get proper results I needed to use the following way:
performARHitTestWithPoint(evt.nativeEvent.locationX * PixelRatio.get(), evt.nativeEvent.locationX * PixelRatio.get())

For saving time for others you might want to include this in the documentation.
Thanks!

Hi @AppPear, thanks for the heads up. Will take a look and update where appropriate.


feat: add dumpfileSize to crash API

Description
Adds dumpfileSize to Crash API
Checklist

[x] Tested manually
[x] Unit tests pass with no errors or warnings
[x] Documentation updated (if applicable)
[x] Reviewed by at least 1 other contributor

:tada: This PR is included in version 9.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Backend: Hot products (Trending)

Create a route for trending products in
GET /api/products/trending

Added basic functionality with redis (not even working), now algorithm required


Update zio-config, zio-config-derivation, ... to 4.0.0

About this PR
📦 Updates

dev.zio:zio-config
dev.zio:zio-config-derivation
dev.zio:zio-config-magnolia
dev.zio:zio-config-typesafe

from 4.0.0-RC16 to 4.0.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

@vigoo hey, if you don't mind i'd integrate this repo with our Scala Steward instance cause i notice those PRs/commits are coming from you and they're not signed which makes merging more complicated, WDYT?

Superseded by #564.


Cannot build iOS project because of node modules collision

Hi,
This project is a great effort to make unit tests work for React Native. However, I've run into the same problems as on my own project. The unit tests do run, but the iOS project doesn't build anymore. It happens because of the react module in node_modules.
When I run the project in Xcode, I receive an error from the React Native packager:
Error building DependencyGraph:
 Error: Naming collision detected: /Users/mikeborozdin/dev/react-native/snowflake/node_modules/react/node_modules/fbjs/lib/VersionRange.js collides with /Users/mikeborozdin/dev/react-native/snowflake/node_modules/react-native/node_modules/fbjs/lib/VersionRange.js
    at HasteMap._updateHasteMap (HasteMap.js:132:13)
    at HasteMap.js:103:28

Hi @mikeborozdin  - I don't know what to tell you - Here's the screen shot I just took from building snowflake.
I'm assuming that you

kill any currently running react packagers
rm -rf node_modules
npm install npm3
npm3 install
open .
XCode -> run

~/projects/MFV/snowflake (master)$ node --version
v4.2.3
~/projects/MFV/snowflake (master)$ npm3 --version
3.6.0

Note that I also build the iOS app on BitRise so that's two environments successfully building iOS.

Hi @bartonhammond,
Thank you for the rapid response!
I thought getting npm3, as you suggested, would solve the problems, however I ran into a different one:
bundle: Created ReactPackager
uncaught error Error: UnableToResolveError: Unable to resolve module ./config from /Users/mikeborozdin/dev/react-native/snowflake/src/lib/BackendFactory.js: Invalid directory /Users/mikeborozdin/dev/react-native/snowflake/src/lib/config
    at ResolutionRequest.js:356:15
    at tryCallOne (/Users/mikeborozdin/dev/react-native/snowflake/node_modules/promise/lib/core.js:37:12)
    at /Users/mikeborozdin/dev/react-native/snowflake/node_modules/promise/lib/core.js:123:15
    at flush (/Users/mikeborozdin/dev/react-native/snowflake/node_modules/asap/raw.js:50:29)
    at doNTCallback0 (node.js:419:9)

From https://github.com/bartonhammond/snowflake#setup

Copy or move src/lib/config.example.js to src/lib/config.js. Note: you must select one of three options for the backend as shown below:
backend: {
parse: false,
hapiLocal: false,
hapiRemote: true
},

Note that if you're using Parse you'll need to fill out those AppId & Rest API key.

No news must be good news


do not allow multiple auth providers

Per discussion from this morning's 2.6 UI/UX meeting, this PR disallows enabling multiple auth providers (for now).
In the process of doing this I noticed that the azuread and github components are each using fetch. Unlike vue lifecycle hooks, when fetch is defined in a component and mixin, the mixin fetch isn't run. Pulling fetch out of these two components didn't take much, but any PR reviewer may want to verify azuread/github in addition to the new restriction on multiple providers (I also checked them myself of course).

I'm closing this for now - we'll revisit doing this properly in a future version


operator vfunction-server-operator (v3.4.1290)

New operator bundle
Name: vfunction-server-operator
Version: v3.4.1290
Certification project: 5f64dc1e0a4d06443d2818ad
Test result URL: https://catalog.redhat.com/api/containers/v1/projects/certification/test-results/id/65dd086ee82e50240e208ef1
Test logs URL: https://catalog.redhat.com/api/containers/v1/projects/certification/artifacts/id/65dd086b1c1d80d64450d622

/pipeline restart operator-hosted-pipeline


Assisted Keys+: RSA Channel

Task Description
If the user selects the option to custody their Assisted Key+ mnemonic, user’s RSA public key is shared w/ the backend along w/ the setup request. Then the BIP-85 child mnemonic is returned over a secure channel(encrypted w/ user's RSA pub key).

Completed


How should i use the model which is preduced by demo for classing test_pictures

i'm sorry for my english,i hope somebody help he and tell me how to use model preduced by demo.
Thanks very much!

another question is how to use the example (MyPipeLine)?????please tell me,if you know anything,thank you very much!!

You can use the "-test" option to test your model.
For the pipeline example, it can be used the same way as you submit a spark job, i.e. spark-submit...
or you can use python as shown in the example below.
https://github.com/yahoo/CaffeOnSpark/wiki/GetStarted_python#run-examples

@lklong For prediction, you should use "-features" for prediction in CLI. Here is the basic steps for lenet example.
(1) Apply CaffeOnSpark "-train" to produce a model and save it to a file.
spark-submit --master ${MASTER_URL}     --files ${CAFFE_ON_SPARK}/data/lenet_memory_solver.prototxt,${CAFFE_ON_SPARK}/data/lenet_memory_train_test.prototxt     --conf spark.cores.max=${TOTAL_CORES}     --conf spark.task.cpus=${CORES_PER_WORKER}     --conf spark.driver.extraLibraryPath="${DYLD_LIBRARY_PATH}"     --conf spark.executorEnv.DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}"     --class com.yahoo.ml.caffe.CaffeOnSpark      ${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar         **-train** -conf lenet_memory_solver.prototxt     -clusterSize ${SPARK_WORKER_INSTANCES}         -devices 1     -connection ethernet         -model **file:${CAFFE_ON_SPARK}/mnist_lenet.model**
(2) Change batch_size of your test input data layer to 1.
layer {   name: "data"   type: "MemoryData"   top: "data"   top: "label"   include {     phase: TEST   }   source_class: "com.yahoo.ml.caffe.LMDB"   memory_data_param {     source: "file:/Users/afeng/dev/ml/CaffeOnSpark/data/mnist_test_lmdb/"     **batch_size: 1**     channels: 1     height: 28     width: 28     share_in_parallel: false   }   transform_param {     scale: 0.00390625   } }
(3) Apply CaffeOnSpark "-features" with the output of your top hidden layer (ex. ip2 in lenet_memory_train_test) using the model file saved in step (1), and save the prediction result into a file.
spark-submit --master ${MASTER_URL}     --files ${CAFFE_ON_SPARK}/data/lenet_memory_solver.prototxt,${CAFFE_ON_SPARK}/data/lenet_memory_train_test.prototxt     --conf spark.cores.max=${TOTAL_CORES}     --conf spark.task.cpus=${CORES_PER_WORKER}     --conf spark.driver.extraLibraryPath="${DYLD_LIBRARY_PATH}"     --conf spark.executorEnv.DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}"     --class com.yahoo.ml.caffe.CaffeOnSpark      ${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar **-features ip2** -conf lenet_memory_solver.prototxt     -clusterSize ${SPARK_WORKER_INSTANCES}         -devices 1     -connection ethernet         **-model file:${CAFFE_ON_SPARK}/mnist_lenet.model**         **-output file:${CAFFE_ON_SPARK}/lenet_features_result**
(4) Process the output file from Step (3) to get your prediction result. In lenet network, ip2 has the probability of 10 digits, and you will need to find the index of the max value among these probabilities. In the following examples, sample 00000000 is predicted to 7 since its ip2[7] is the the largest among other ip2 values.
{"SampleID":"00000000","ip2":[-0.53931516,-1.3817744,4.059077,3.8792288,-6.945209,-2.5439079,-9.267392,**15.677748**,-2.3044426,1.529253]} {"SampleID":"00000001","ip2":[3.4058776,0.815202,**12.375869**,1.3219742,-5.6665177,-4.3718696,2.526735,-3.9186795,-1.4171885,-9.618664]}
You could apply the similar steps in Scala API or Python API. Our Python example is available at https://github.com/yahoo/CaffeOnSpark/blob/master/caffe-grid/src/main/python/examples/DLDemo.ipynb

thanks for all,i got it.and i write a demo,my may follow these steps
1.i train a caffemodel and validate the model
2.i use the weight model from step 1st to extract the features of the train_data, and then i train a LogisticRegressionWithLBFGSModel with features of train_data ,finally i get a LRModel.
3.i use the LRModel to predict my test_data (ps:i extact features of the test_data ,i have used  weighted model from step 1st to extact features of the test_data),finally i get a result file of prediction.
note: i write my demo use scala.
thanks very much!


White (#ffffff) color on .accordion-section-title:hover

Issue description:
I'm using the latest (awesome) develop branch. Having trouble tracking down (and changing) the white color when hovering over the accordion section titles. When the plugin is activated, in the customizer, .accordion-section-title:hover is WHITE, set in wordpress native customizer.php:
#customize-controls .control-section .accordion-section-title:focus, #customize-controls .control-section .accordion-section-title:hover, #customize-controls .control-section.open .accordion-section-title, #customize-controls .control-section:hover > .accordion-section-title {
    color: #ffffff;
}

I can't seem to override it, either:  color: #999 !important;
Version used:
Just cloned it from the repo.
Using theme_mods or options?
I think I'm using theme_mods.
Code to reproduce the issue (config + field(s))

Can you please share your config?
I'm assuming you're using custom colors...


Special Characters is Database Password

Describe the Bug
Special characters in MySQL password cause "artisan migrate" to fail.
Steps to Reproduce

Create database user with complex password including special characters.  Test data password was [password#]
Configure database user in .env file
Follow manual installation steps.
Receive access denied error when running step 8, "artisan migrate"

Expected Behaviour
I would expect the database tables to be created and populated despite the complex password.
Screenshots or Additional Context
This might be most easily resolved with a note on the manual installation instructions.
Browser Details
No response
Exact BookStack Version
24.02

Hi @buckybytes,
This should be defined in the .env file you would have edited:
https://github.com/BookStackApp/BookStack/blob/8e01345f1494f37d462ad35fb6723c8051f9d752/.env.example#L6-L7

Ahh, that was the other hiccup with my install.  I created the .env file from scratch because I couldn't find it.


feat: add Expr|Series.rolling_mean method

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[x] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #1254

Checklist

[x] Code follows style guide (ruff)
[x] Tests added
[x] Documented the changes

If you have comments or can explain your changes, please do so below.
Opening as draft because of the following:

Dask is raising an error
Pandas does not support weights, we could follow the same approach as per arrow, only if weights are provided
For arrow I tried to keep a generic approach that can be re-used for ~any~ most other aggregate functions, but would like a feedback on that

thanks @FBruzzesi ! weights might even get removed from the polars ones, shall we keep it out for now?

thanks @FBruzzesi ! weights might even get removed from the polars ones, shall we keep it out for now?

Sure, even better to start simpler from there :)

Thanks for the feedback Marco

if we're not sure, i think it's ok to leave it out for now

My concern is that for plotly we convert dataframe that support interchange protocol to pyarrow and not to pandas. I am afraid that not supporting it would break some user workflows. If that's how we aim to proceed, I would suggest to convert interchange protocol to pandas as it was done before the narwhals PR

maybe one day we can get to the point where just having something be part of the Narwhals API is enough to put light pressure on dataframe authors to support a function 😄

That would be nice 😁

are we sure it would break a workflow? as far as I can tell, in plotly, you convert to pandas for non-pandas input in trendline
so, if someone was using plotly before and interchanging to pandas, then it means they already have pandas installed, so this shouldn't break their workflow if i understand correctly

are we sure it would break a workflow? as far as I can tell, in plotly, you convert to pandas for non-pandas input in trendline

Yes correct, this is the current behavior, yet the use case for supporting rolling, expanding, and ewm is to eventually completely remove such conversion in trendline plotly module and use the narwhals functionalities instead.
Therefore, if a user provides a dataframe with interchange protocol that we don't support natively, then it gets converted to arrow, and if rolling is not supported, then it would end up breaking.
Does this make sense?

and use the narwhals functionalities instead

would it work to use the narwhals functionalities if available, and otherwise just convert to pandas?


:bug: Fix lint issues: godot linter

Please check if the PR fulfills these requirements

[ n/a] Tests for the changes have been added (for bug fixes / features)
[x] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Code quality improvement

What is the current behavior? (You can also link to an open issue here)
This PR fixes issues from the godot linter (top level declaration comments should end in a period).

What is the new behavior (if this is a feature change)?
n/a

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

Thanks!


livenessProbe, pgrep failing for localpv-provisioner in ARM64

Description
LivenessProbe, command pgrep ".*localpv" is failing for localpv-provisioner in ARM64 kubernetes cluster.
openebs-operator.yaml
deployment:openebs-localpv-provisioner
livenessProbe:
          exec:
            command:
            - pgrep
            - ".*localpv"

Expected Behavior
pgrep should return success, i.e. 1. And livelinessProbe should pass
Current Behavior
pgrep is failing and so does livelinessProbe for arm64
Possible Solution
Upon little research, it looks like pgrep command behave differently on ARM and AMD.
So, one way could be changing the livenessprobe to
livenessProbe:
          exec:
            command:
            - pgrep
            - ".*provisioner"

Steps to Reproduce
Bring up arm64 k8s cluster. Recompile openebs components binary to run to arm64, make docker image and replace it in operator yaml.
kubectl apply -f openebs-operator.yaml
Check events or logs of localpv-provisioner
Your Environment
Kubenetes cluster has been provisioned using k3s

kubectl get nodes:

kubectl get nodes
NAME             STATUS   ROLES    AGE   VERSION
arm-openebs-io   Ready    <none>   80d   v1.14.1-k3s.4

kubectl get pods --all-namespaces:

NAMESPACE     NAME                                                             READY   STATUS             RESTARTS   AGE
default       mysql-fdd9987df-jkc6g                                            0/1     CrashLoopBackOff   2795       67d
default       pvc-198d7f85-b846-11e9-9312-300ed5ff0dbe-ctrl-8445dcdb55-wjwvb   2/2     Running            0          9d
default       pvc-198d7f85-b846-11e9-9312-300ed5ff0dbe-rep-7c6888db55-2lzd8    0/1     Pending            0          9d
default       pvc-198d7f85-b846-11e9-9312-300ed5ff0dbe-rep-7c6888db55-575tf    1/1     Running            0          9d
default       pvc-198d7f85-b846-11e9-9312-300ed5ff0dbe-rep-7c6888db55-jv2bm    0/1     Pending            0          9d
default       pvc-31669289-b84a-11e9-9312-300ed5ff0dbe-ctrl-bbfdfb79f-x7t6q    2/2     Running            0          9d
default       pvc-31669289-b84a-11e9-9312-300ed5ff0dbe-rep-6dc56f47df-fqjxj    1/1     Running            0          9d
default       pvc-cb7ae00b-b849-11e9-9312-300ed5ff0dbe-ctrl-6f48b698f8-sz426   2/2     Running            0          9d
default       pvc-cb7ae00b-b849-11e9-9312-300ed5ff0dbe-rep-6fd9b69bf7-nftzq    1/1     Running            0          9d
default       pvc-cb7ae00b-b849-11e9-9312-300ed5ff0dbe-rep-6fd9b69bf7-nl6lg    0/1     Pending            0          9d
default       pvc-cb7ae00b-b849-11e9-9312-300ed5ff0dbe-rep-6fd9b69bf7-x5cc6    0/1     Pending            0          9d
kube-system   coredns-695688789-gptfn                                          1/1     Running            0          80d
kube-system   helm-install-traefik-kqvkr                                       0/1     Completed          0          80d
kube-system   svclb-traefik-crntf                                              2/2     Running            0          80d
kube-system   traefik-55bd9646fc-swm9f                                         1/1     Running            0          80d
openebs       maya-apiserver-5c489756cc-vvnxk                                  1/1     Running            0          9d
openebs       openebs-admission-server-9559d8f47-pwphg                         1/1     Running            0          68d
openebs       openebs-localpv-provisioner-5b644cf7dc-hz59k                     1/1     Running            0          8d
openebs       openebs-ndm-87fgz                                                1/1     Running            6          68d
openebs       openebs-ndm-operator-5fff78b994-rr7qf                            1/1     Running            1          68d
openebs       openebs-provisioner-75b79ccfbc-k7sss                             1/1     Running            0          9d
openebs       openebs-snapshot-operator-5f87bd54bf-n5q4b                       0/2     CrashLoopBackOff   38458      68d

OS (from /etc/os-release):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"

Kernel (from uname -a):

Linux arm-openebs-io 4.15.0-36-generic #39~16.04.1-Ubuntu SMP Tue Sep 25 09:00:05 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

/assign harshvkarn

Hi, @harshvkarn @kmova . I use the image openebs/provisioner-localpv-arm64-ci:1.4.0 and https://github.com/openebs/charts/blob/master/docs/openebs-operator-arm-dev.yaml to test. And it will cause the localpv-provisioner pod restart and lead to crash.


RuntimeError: context could not be created

I running into the following issue when running: 'phy kwik-gui my_file.kwik'
RuntimeError: context could not be created
It looks like the error when trying to load the GUI. This is the output from the console when running the debug option right before the error is thrown.
22:45:30 [D] gui:411              Load the GUI state from /home/jthermiz/.phy/KwikGUI/state.json.
22:45:50 [E] cli:37               An error has occurred (RuntimeError): context could not be created
22:45:50 [D] cli:40               Traceback (most recent call last):

Seems like a problem with the GPU driver, or maybe you're running this remotely (which doesn't work)?

I controlling a machine remotely though remote desktop, but the command is being run locally on the machine.
Any additional insight in how it may be a GPU driver issue? I have 'mesa-utils' installed and ran 'glxgears' and 'glxinfo', which both run fine. For reference, I also posted about the google groups:
https://groups.google.com/forum/#!searchin/klustaviewas/RuntimeError$3A$20context$20could$20not$20be$20created$20|sort:relevance/klustaviewas/F_2p4XDx1Fc/cqcU_Z8zBwAJ

Maybe a conflict with the remote desktop software? Do you have a way to test directly on the machine? Using OpenGL via remote desktop causes problems sometimes.

I can give it a try. thanks for the help!

Hi, i am having similar issue with using the gui remotely. Has there been a fix for this or is it still not compatible with remoting in. Thank you.

Just wanted to add a few things I have learned. The issue is caused by opening up a program that uses Nvidia graphics card from a remote computer that doesnt have it  (I think). I found a work around by writing a batch file that has a timeout of a few seconds during which I disconnect my remote desktop, let phy start while remote desktop is disconnected and reconnecting after. This is only an issue when you try to open phy remotely, once it's running it works well via remote desktop. Other remote control software can work around this issue, but some of them cost money. TigerVPN is a free software that should not have that issue but I havent tested it.


Feature/slim automata and rebase

Slimming down the /automata directory as it was starting to bloat.
Further, this commit is removing /automata/core in order to reduce import statement length across the codebase.
The most important impact of this PR is the fact that test symbols will no longer be part of the default index & symbol rank workflow, as only symbols in /automata are built. We should think about whether or not this is desired behavior.

Can you mention the script to re-generate scripts?


increasing client_max_size to match Jira uploads

This looks correct. @Humbedooh ?
https://docs.aiohttp.org/en/stable/web_reference.html#aiohttp.web.Application

Recommendation: a config value, instead of a magic constant.


add: Uday Sharma

Description

Related Issues

Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

Profile Added

profileJSON.json


Fix #231, Rename Getting Started in Contributing.md

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License agreement to<EMAIL_ADDRESS>and copied<EMAIL_ADDRESS>
Describe the contribution
Fixes #231

Renamed Getting Started to Quick Links to Submodules
Linked the Report Bugs and Feature Requests sections in Quick Links to Submodules
Linked Quick Links to Submodules in the Report Bugs section
Linked Quick Links to Submodules in the Feature Requests sections

Testing performed
Tested links locally.
Expected behavior changes
Users should know all the submodules where bugs or feature requests may be reported.
Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal

CCB:2021-04-14 - APPROVED


stairs

would it be possible to have the stairs follow a spline to make them curved. Or maybe be able to place individual steps that can hang in the air

I've been thinking of having more advanced objects, but that will depend on doing a lot of dev work first.  So I don't think I can do this any time soon.

ok it doesnt hurt to ask. thanks


offer the play_media service on each device

Describe the solution you'd like
I am trying to use my echo devices with the Music Assistant homeassistant plugin.
The link mentions that it detects media_play devices that offer the play_media service. I am not sure of the details of the implementation.

Alexa does not allow playing of non-cloud media.  You would need to install a skill.

Does that mean it will not stream a media file from a link? Someone was able to use your skill to play an mp3 file from the web, but it was through the tts function. https://github.com/music-assistant/hass-music-assistant/discussions/431#discussioncomment-2978377
My hass instance has a valid certificate and is accessible through a public domain name if that makes a difference.

Yes you can hack tts for certain links but HA does not have a media player that only streams links. If someone can figure out a way to do it with a PR, I'll consider it.


missing SubscribeEvent event

It looks like DaprClient doesn't have a SubscribeEvent event.
Please provide a sample code in here that demonstrates how to handle SubscribeEvent, including usage of ACK and NACK.
By the way, it would be nice to use RabbitMQ as a queue backend instead of Redis to ensure the distinction of the services used.

@vinayada1 This issue shouldn't be labeled as documentation. The client doesn't have SubscribeEvent in here; it is a missing implementation, and I don't think it is intentional.

@cilerler - Are you looking for this?
https://github.com/dapr/dotnet-sdk/blob/47b59b4a97f73a386d74fa900effd06527735224/samples/AspNetCore/ControllerSample/Controllers/SampleController.cs#L67
or
https://github.com/dapr/dotnet-sdk/blob/47b59b4a97f73a386d74fa900effd06527735224/samples/AspNetCore/RoutingSample/Startup.cs#L86

Thanks, @vinayada1. It is partially correct.  However, ACK and NACK practices do not exist in those scenarios.
Let me give you a real-life scenario;
Let's say you publish a message from a client for pubsub scenario.
Subscriber node received it, and right at that point system crashed. The data you retrieved from pubsub will be gone forever.
On RabbitMQ, you have to send ACKNOWLEDGE to delete the message from the server.  Otherwise, it will get back to the queue upon timeout. Without confirmations, there will be a data loss. More info can be found here
Please let me know if you need further details.

hi @cilerler, Dapr supports ACK NACK: https://v1-rc1.docs.dapr.io/reference/api/pubsub_api/#expected-http-response
In general, if your app receives the event and your app crashes before returning a response to Dapr, the event will not be ACKed and will get redelivered.

@yaron2 Thanks, that is definitely what I was looking for.

In general, if your app receives the event and your app crashes before returning a response to Dapr, the event will not be ACKed and will get redelivered.

The scenario you mentioned is one part of the story.  The second scenario that I was looking for is, instead of a crash, a failed response on purpose by the app to force re-queue, which falls to RETRY from the link you sent.  Thanks again.


CloudWatchLogsLogGroup - stuck waiting

Creating the same issue in this fork as was closed in the old repo https://github.com/rebuy-de/aws-nuke/issues/500
The problem still exists, tested with ghcr.io/ekristen/aws-nuke:v3.23.0
nuke.log
When I re-run aws-nuke then deletion is successfull (only the CloudWatchLogsLogGroup is deleted)
Do you want to continue? Enter account alias to continue.
> XXX

eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727419532008", LastEvent: "2024-09-27T06:45:43Z", logGroupName: "/aws/eks/runner-main-pri/cluster"] - triggered remove

Removal requested: 1 waiting, 0 failed, 113 skipped, 0 finished

eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727419532008", LastEvent: "2024-09-27T06:45:43Z", logGroupName: "/aws/eks/runner-main-pri/cluster"] - waiting

Removal requested: 1 waiting, 0 failed, 113 skipped, 0 finished

eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727419532008", LastEvent: "2024-09-27T06:45:43Z", logGroupName: "/aws/eks/runner-main-pri/cluster"] - removed

Removal requested: 0 waiting, 0 failed, 113 skipped, 1 finished

Nuke complete: 0 failed, 113 skipped, 1 finished.

Just so I understand, it does delete it but it tends to delete it and it comes back simply due to the order in which deletions happen and how long it takes for things like clusters to get removed?

I don't think it comes back. It seems like it never trigers the remove or when it was trigering the remove - it is still bein used and the remove fails.
In the attatched log you can also see that it will stay waiting forever for the resource to be deleted.
eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727413603921", LastEvent: "2024-09-27T06:38:09Z", logGroupName: "/aws/eks/runner-main-pri/cluster", tag:Name: "/aws/eks/runner-main-pri/cluster", tag:Prefix: "runner-main", tag:Terraform: "true", tag:Workspace: "pri"] - waiting

Removal requested: 1 waiting, 0 failed, 113 skipped, 305 finished

This message is repeated until aws-nuke gives up.
When I start the program again it will find the same CloudWatchLogsLogGroup resource and delte it successfully immediately.
EKS cluster removal usually takes around 5-15minutes - so quite some time. EKS uses the CloudWatchLogsLogGroup resource so the LogGroup can not be delted before EKS itself is removed. It seems to me that the nuke program does not  even try to remove the LogGroup...seems to just wait for it to be removed. If there would be a way to triger the remove of the LogGroup only after the EKS is deleted I am sure it would fix the issue.

Do you ever see a trigger remove?

Yes:
eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727413603921", LastEvent: "2024-09-27T06:38:09Z", logGroupName: "/aws/eks/runner-main-pri/cluster", tag:Name: "/aws/eks/runner-main-pri/cluster", tag:Prefix: "runner-main", tag:Terraform: "true", tag:Workspace: "pri"] - triggered remove

Also I found that EKS removal was triggered after the CloudWatchLogsLogGroup trigger (here you can see the LogGroup was already in waiting status)
eu-north-1 - CloudWatchLogsLogGroup - /aws/eks/runner-main-pri/cluster - [CreatedTime: "1727413603921", LastEvent: "2024-09-27T06:38:09Z", logGroupName: "/aws/eks/runner-main-pri/cluster", tag:Name: "/aws/eks/runner-main-pri/cluster", tag:Prefix: "runner-main", tag:Terraform: "true", tag:Workspace: "pri"] - waiting
eu-north-1 - EKSCluster - runner-main-biz - [CreatedAt: "2024-09-27T05:07:02Z", tag:Prefix: "runner-main", tag:Terraform: "true", tag:Workspace: "biz"] - triggered remove
eu-north-1 - EKSCluster - runner-main-pri - [CreatedAt: "2024-09-27T05:07:01Z", tag:Prefix: "runner-main", tag:Terraform: "true", tag:Workspace: "pri"] - triggered remove

What is happening is it is getting deleted, but gets recreated by the cluster before the tool detects it is gone, so it's waiting for a removal that's already technically happened.
Not sure at the moment the best way to handle. Need to give this some thought.

I actually think this can be solved very simply by a patch to libnuke. I'll put a PR together and make the binaries available.
Ultimately what is happening is that the CloudWatch LogGroup is being deleted, but coming back, however due to how the resource matching works currently, the String() result is matched over Properties() which in this case means the same log group name is found and results in a waiting forever.
There's two fixes here, a) we need some sort of upper threshold on "waiting" resources and b) we need to prioritize property matching over stringer. The CloudWatch Log Group properties would mismatch due to LastEvent and CreatedAt time, this invalidating and trying to remove again.
However, the ultimate fix is going to be some sort of DAG for deletions.

This might fix the issue -- https://github.com/ekristen/aws-nuke/pull/332
Builds should be available here -- https://github.com/ekristen/aws-nuke/actions/runs/11097585762
If you can run and test that would be appreciated. It's the best fix that can be done at the moment, the real fix will be dependency graph, but that's a ways off.

This might fix the issue -- #332
Builds should be available here -- https://github.com/ekristen/aws-nuke/actions/runs/11097585762
If you can run and test that would be appreciated. It's the best fix that can be done at the moment, the real fix will be dependency graph, but that's a ways off.

I will give it a try on Wednesday evening - I have an account lined up for that time that needs to be nuked.

It seems to have worked! Any idea when this could be released?

It seems it did not help.  With the build you referenced in #332 it now just said the log group was removed but it was actually not removed.
I had to run the nuke twice still.

@martivo I think we should merge https://github.com/ekristen/aws-nuke/pull/332 -- as it fixes the infinite waiting problem, and then close this and track it against with DAG feature issue I have open as I believe that's the only way to truly solve this problem, otherwise, it's pretty much, have to run it twice sort of a scenario.
Thoughts?

I guess its ok to merge, but then you will most surely get another isse that the nuke is not actually deleting all the resources. From my perspective this behaviour is ok - at least I can now decently run it twice without haivng to wait a long time.

I have run into this issue on aws-nuke v3.32.0

Fix is coming this weekend. It'll prevent it from being stuck but it won't catch it if it comes back unless you run a second time for the immediate fix.

The log group should hopefully not have a lot in it after it comes back as the resources generating the logs get deleted, so it shouldn't cost much and waiting for the next run would be acceptable.
Probably costs more to have the nuke job stuck waiting indefinitely until the job times out than the cost of the logs coming back.


Assert in ble_ll_scan_start

Seeing an assert trigger under load in ble_ll_scan_start, line 1010:
BLE_LL_ASSERT(scansm->scan_rsp_pending == 0);

We are initiating the scan proc periodically, with duration of 1500ms, then restarting it once it completes.
Any help appreciated. cc: @lance-proxy.

Running commit 19d7ebf.

Hmm we've been seeing this assert on UPF and hoped that it was fixed but apparently I've missed clearing that also on duration timer fire,  could you try this?
https://github.com/apache/mynewt-nimble/pull/657

@sjanc, thanks for your patch. Im working with @simonratner on this. We have updated some of our test devices and have yet to see this assertion yet. I will post here straight away if I observe this assertion.

any update on this? should we keep this stil open for now?

Hi @sjanc sorry about the late reply. We have not been hitting this assertion in ble_ll_scan_start since adding your patch. I see #657 is merged so I think we can close this issue.


Get data always hits the network

First of all, I'm still using Java and I'm really noob with RxJava.
I'm trying to retrieve data from a localhosted API, but when I call get() it always hits the network, even when I've previously called the method.
I've been trying many examples, but the problem persists and I don't know what I'm doing wrong. If you could give me an example of the simplest way to make it work, I would appreciate it very much. Here is my current code:
Gson gson = new GsonBuilder()
                .setFieldNamingPolicy(FieldNamingPolicy.IDENTITY)
                .create();

ApiUtem apiUtem = new Retrofit.Builder()
                .baseUrl(ApiUtem.BASE_URL)
                .addConverterFactory(GsonConverterFactory.create(gson))
                .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
                .build()
                .create(ApiUtem.class);

Store<Student, BarCode> store = StoreBuilder.<Student>barcode()
                .fetcher(barCode -> apiUtem.getStudent(barCode.getKey(), mToken)
                        .subscribeOn(Schedulers.io())
                        .observeOn(AndroidSchedulers.mainThread()))
                .memoryPolicy(
                        MemoryPolicy
                                .builder()
                                .setExpireAfterWrite(10)
                                .setExpireAfterTimeUnit(TimeUnit.MINUTES)
                                .build()
                )
                .open();

BarCode barcode = new BarCode(Student.class.getSimpleName(), "19649846");
store.getWithResult(barcode)
                    .subscribe(studentResult -> {
                        if (studentResult.isFromCache()) {
                            Log.d(TAG, "Cache");
                        } else {
                            Log.d(TAG, "Network");
                        }
                    });

Hi sad to hear you are having issue. We have a test that covers the above use case https://github.com/NYTimes/Store/blob/46e0b7fd5aeaaffe66d76ab1c88bb9e4c6872bd3/store/src/test/java/com/nytimes/android/external/store3/StoreTest.java#L73
One reason that the memory cache would be skipped is if the equality check fails. Is it possible that you are not implementing equals/hashCode in your data class?

I had not implemented equals/hashCode as you said, now that I did it, it still doesn't work. I've even changed the API endpoint to receive a simple String, but the problem persist. Any other ideas?

Create a sample project and I'd be happy to take a look

https://github.com/mapacheverdugo/store-test

so sorry for not replying for this long, your link is not active I can take a look if you update


[Bug report] Duplicate webpack chunkname with different pages

Description
The resolvePageChunkInfo use sanitizeFileName on basename, but in this case, the following pages chunk name will be the same:

/a/name.html
/b/name.html

@meteorlxy Could you please explain what you are doing at https://github.com/vuepress/core/commit/4f89d3915818a96e8afee61fbb1245120a231686

Ah, that commit was to make the webpack chunk name more consistent with vite. Should add hash after them.


MLCube for MNIST

This PR adds two MLCube spec configs which can be used to run MNIST Jax and MNIST PyTorch in a Docker container.
Benefits of this MLCube PR:

The Dockerfile! It runs our benchmark in an isolated environment.
MLCube manages docker volume mounts for inputs/outputs for us (the complexity saving is probably marginal here).
MLCube uses the same container and with different configurations to support multiple tasks/workloads (again we could do it ourselves, however, we already have this configurability working nicely here).
MLCube is a standardized format making it easier to stay consistent (while losing some flexibility).
MLCube provides a similar interface when executing on different environments:
        - Docker Runner
        - Singularity Runner
        - SSH Runner
        - Kubernetes Runner
        - GCP Runner

How this PR is implemented:

A new folder called MLCube containing
    - 1 MLCube task definition tasks/train.yaml called "train" which declares the input/outputs to run a benchmark workload.
    - 2 MLCube run configs run/mnist_jax.yaml and run/mnist_pytorch.yaml which include MLCube specific arguments needed to run MNIST Jax and MNIST PyTorch workloads.
    - 2 absl flagfiles workspace/mnist_jax.cfg and workspace/mnist_pytorch.cfg which include submission_runner.py specific arguments needed to run MNIST Jax and MNIST PyTorch workloads.
    - 1 MLCube runner config platforms/docker.yaml which which is mainly boilerplate.
    - A Dockerfile that can run our benchmark code.

Other important changes:

Optionally make absl log to a file and to terminal.
Save the MNIST dataset to the user specified location.

Roadmap to finish this PR:

[ ] Get this MLCube issue merged.
[ ] Add an MLCube config for ImageNet.

The README.md included in this pull request is copied in full below:
MLCube
MLCube™ is a project that reduces friction for machine learning by ensuring that models are easily portable and reproducible.
More information about MLCube™ can be found here:

https://github.com/mlcommons/mlcube
https://github.com/mlcommons/mlcube_examples

Installation
pip install mlcube mlcube-docker

Usage on local machine with Docker runner
Build our MLCube container:
$ cd algorithmic-efficiency
$ mlcube_docker configure --mlcube=. --platform=mlcube/platforms/docker.yaml

Run our tasks:
$ cd algorithmic-efficiency/mlcube

# Run MNIST Jax
$ mlcube_docker run --mlcube=. --platform=platforms/docker.yaml --task=run/mnist_jax.yaml

# Run MNIST PyTorch
$ mlcube_docker run --mlcube=. --platform=platforms/docker.yaml --task=run/mnist_pytorch.yaml

In the ./workspace/ directory you will find output log files.

Now that we are getting closer to using a Docker setup, I'll take whatever we need from this PR and put it into a new PR that adds the new setup on top of HEAD.

Sounds good! 👍I hope it goes smoothly! Sorry I’ve been MIA. I’ve been
working on my master’s thesis. I’ll be starting a PhD soon 🚀.
All the best!
On Thu, Sep 29, 2022 at 8:59 PM Zachary Nado @.***>
wrote:

Now that we are getting closer to using a Docker setup, I'll take whatever
we need from this PR and put it into a new PR that adds the new setup on
top of HEAD.
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/algorithmic-efficiency/pull/26#issuecomment-1262984547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANIGWAKERJ6QPYCQ3IYUJ3WAY3PFANCNFSM5BU5IWYQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[New game]: Add Arkanoid Game

🎮 Game Request
Game logic and basic description
The player controls a paddle-like craft known as the Vaus, and the objective is to clear a formation of colorful blocks by deflecting a ball towards them without letting the ball leave the bottom edge of the playfield.
Point down the features
Game points

The player controls the Vaus, which is a paddle-like craft that can be moved left or right.
The ball is initially released at the top of the screen and bounces around the playfield.
The player can deflect the ball by moving the Vaus.
When the ball hits a block, the block breaks and the player scores points.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @tayyab-ilyas!
We are already having a similar game request in #2272 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @tayyab-ilyas !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @tayyab-ilyas ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @tayyab-ilyas! We are already having a similar game request in #2272 👀 Make sure you come up with a cool unique idea 😀 Waiting for your new game idea 💗.

Hey @kunjgit I checked out, it's not same at all!

/assign

@gurjeetsinghvirdee can you re open this please?


Both servers are virtual machines dedicated for Jenkins.
Currently I have started Docker container on server A for master, based on the official Jenkins docker image. But what docker image should I use for Jenkins slave?

Please send questions to the mailing lists. This is only for issues

Hi author, I also need to setup Jenkins slave as you now. Have you something document share to me? Thanks.

@solaMai

Please send questions to the mailing lists. This is only for issues

https://jenkins.io/mailing-lists/ in case.