text:
redis.exceptions.ResponseError

File "/lib/python3.5/site-packages/redis/client.py", line 2626, in execute
return execute(conn, stack, raise_on_error)
File "/lib/python3.5/site-packages/redis/client.py", line 2540, in _execute_transaction
self.raise_first_error(commands, response)
File "/lib/python3.5/site-packages/redis/client.py", line 2574, in raise_first_error
raise r
redis.exceptions.ResponseError: Command # 1 (SETEX b'celery-task-meta-84b7aefb-0487-45bf-875b-49cd5087e7e6' {"traceback": null, "status": "SUCCESS", "children": [], "task_id": "84b7aefb-0487-45bf-875b-49cd5087e7e6", "result": 11} 86400) of pipeline caused error: value is not an integer or out of range
exc, exc_info.traceback)))
Above exception is raised when I used this module to configure result backend. The SETEX looks a bit strange that timeout value is not at the 2nd position of the args.
If this module is not used, but use Celery 4.0.2 directly with Redis result backend. The SETEX looks like this:
[(('SETEX', b'celery-task-meta-a11b3664-320d-4b48-a25b-154c61ea9bc7', 86400, '{"task_id": "a11
b3664-320d-4b48-a25b-154c61ea9bc7", "traceback": null, "result": 11, "status": "SUCCESS", "children": []}'), {}), (('PUBLISH', b'celery-task-meta-a11b3664-320d-4b48-a25b-154c61ea9bc7', '{"task_id": "a11b3664-320d-4b48-a25b-154c61ea9bc7",
"traceback": null, "result": 11, "status": "SUCCESS", "children": []}'), {})]

this issue is solved by using redis_class=StrictRedis in Sentinel class.

In order to avoid this error I changed the return value of RedisSentinelBackend.client to return get_redis_via_sentinel(redis_class=type(str('StrictRedis'), (EnsuredRedisMixin, StrictRedis), {}), **params). Is this going to cause any problems down the road for me?

According to this document, there are little differences between Redis and StrictRedis, while SETEX is one of it.
Ref: https://pypi.python.org/pypi/redis
// SETEX: Order of ‘time’ and ‘value’ arguments reversed. //
The reason is try to support backward comparability of redis-py. I haven't do any test in older version, but at least working fine on redis-py v2.10.5 and redis v3.2

authors: chanpl kellanburket

repo: dealertrack/celery-redis-sentinel


text:
Null safety exception

Hi, since I updated my app to sound null safety and Flutter 2.2.3, I get this exception when doing listFiles:
type 'Future<List<String>?>' is not a subtype of type 'FutureOr<List<String>>' in type cast
Am I doing something wrong or might it be a bug?
Cheers

Changing the listFiles method to this works:
Future<List<String>?> listFiles() async {
  return await (_channel.invokeListMethod<String>(
    'listFiles', {'eventChannelName': ''}) as Future<List<String>?>);
}

The listFiles api returns a future of non-nullable list. It appears that you've mistakenly modified the source code.

The listFiles api returns a future of non-nullable list. It appears that you've mistakenly modified the source code.

I've not changed anything... the problem ix exactly that you return a non-nullable list while it expects a nullable list. The change I've done aftwerwards was to make it work again. By the way, I have a local copy that works with that modification, so it's up to you whether you want to fix it or not. Cheers

source: gharchive/issue

authors: aleripe deansyd deanyatwork

license: MIT

license_type: permissive

license_source: github-api


text:
ValueError: too many values to unpack (expected 5)

The below code which is provided in the ReadMe gives an error
from covid_india import states
print(states.getdata())
...\covid_india\states.py", line 20, in getdata
update_json(req)
....\covid_india\states.py", line 37, in update_json
_, s, t, c, d = df[0]
ValueError: too many values to unpack (expected 5)

Thanks for reporting the issue. It will be fixed soon.

FIXED.


text:
DBZ-5776 enqueue EOF event for log file only on successful processing or on error for Cassandra 4 implementation

@ggaborg maybe something to verify that it works for you well?
cc @jpechane

@smiklosovic Works fine, thanks!

@smiklosovic Applied, thanks!

source: gharchive/pull-request

authors: ggaborg jpechane smiklosovic

repo: debezium/debezium-connector-cassandra


text:
DBZ-4917 Read-only Incremental snapshots blog post

A blog post about the read-only incremental snapshots implementation for the MySQL connector

Hey @kgalieva, so I've done some minor changes (see https://github.com/debezium/debezium.github.io/commit/44d7b944250ed350cacd82db51c32e520ad1c0ed), mostly cosmetics, like increasing the images a bit and some small wording changes here and there, updated the publication date to today and pushed merged it. It will be live in a few minutes and I'll share it from the Debezium twitter handle. Thank you so much for this awesome write-up (and the actual feature implementation as well!), really great to have this on the blog. Looking forward to any future collaborations with you and the team at Shopify, as you see fit. Thanks!

authors: gunnarmorling kgalieva

license_source: bigquery


text:
DBZ-3082 Provide Flight Recorder support

https://issues.redhat.com/browse/DBZ-3082

Applied, thx, @jpechane!

authors: gunnarmorling jpechane

repo: debezium/docker-images

license: mit


text:
NPE in PatchDiffViewer when comparing jsons containing empty json objects

Steps to reproduce
Run the Sample.java with
Test case 1
expected - {}
actual - {}
Test case 2
expected - { 	"a": {} }
actual - { 	"a": {} }
NPE will be thrown as below
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "diff" is null 	at com.deblock.jsondiff.viewer.PatchDiffViewer.toDiff(PatchDiffViewer.java:153) 	at com.deblock.jsondiff.viewer.PatchDiffViewer.toString(PatchDiffViewer.java:98) 	at java.base/java.lang.String.valueOf(String.java:4215) 	at java.base/java.io.PrintStream.println(PrintStream.java:1047) 	at com.deblock.jsondiff.Sample.main(Sample.java:34)

fixed on 1.0.1 version

repo: deblockt/json-diff


text:
A  EditorComponent wit relation does not fill in the relation when reloading

Describe the bug

I have added a relation widget to a custom editor component https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/index.html#L140.
CMS.registerEditorComponent({
    // Internal id of the component
    id: "exercise",
    // Visible label
    label: "Exercise",
    // Fields the user need to fill out when adding an instance of the component
    fields: [
      {name: 'key', label: 'Key', widget: 'relation', collection: 'exercises', search_fields: ["title", "key"], value_field: "key", display_fields: ["title", "key"]}
    ],
    // Pattern to identify a block as being an instance of this component
    pattern: /^\{% include exercise key=\"(\S+)\" %\}$/,
    // Function to extract data elements from the regexp match
    fromBlock: function(match) {
      return {
        key: match[1]
      };
    },
    // Function to create a text block from an instance of this component
    toBlock: function(obj) {
      return '{% include exercise key="' + obj.key + '" %}';
    },
    // Preview output for this component. Can either be a string or a React component
    // (component gives better render performance)
    toPreview: function(obj) {
      return (
        '
Exercise: ' + obj.key + '
'
      );
    }
  });

I works properly when wanting to fill in the widget. When I switch to Markdown mode the code has been properly set in. Switching back to Rich Text however, the custom editor component is shown but does populate with the chosen relation.

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: 2.10.111
Git provider: GitHub
OS: [e.g. Windows 7]
Browser version chrome 89.0.4389.114

Node.JS version:

CMS configuration

https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml
Additional context

Hey @lsolesen , I'm using a similar setup with a relation widget in a project and it works fine. Try console.log(match) in the fromBlock method. Most likely the problem is related to the regex.

@arpadgabor Thanks for your reply
0: "{% include exercise key="43" %}"
1: "43"

It returns the correct key?

Closing as stale

authors: arpadgabor lsolesen martinjagodic

repo: decaporg/decap-cms


text:
Restructuring of the hierarchy of modules

Hello, this is my first proposal for restructuring

pippo-webserver-parent
pippo-template-parent
pippo-content-type-parent
pippo-controller-parent
pippo-session-parent
pippo-metrics-parent
pippo-test-parent

I do not know what name give to:

pippo-sasscompiler
pippo-less4j

maybe pippo-pre-processors?
Any advice/recommendation is welcome

Coverage remained the same at 12.164% when pulling a8c9cb8ad8709f681353ac6f62d24d680cf42beb on barrantesgerman:master into b6d436eb418af6165184ec1d1c10f159bb9c8ea5 on decebals:master.

The changes are too big for a review. I propose you to make this refactoring incrementally.
For example, for the first step I propose you pippo-session-parent and pippo-metrics-parent.
Also, please talk to us about your intention before you make the modifications so that your work will not be in vain.

My apologies, I think I was overenthusiastic
You are right and I must first speak with you
I will reverse the changes and start gradually with pippo-session-parent :disappointed:

authors: barrantesgerman coveralls decebals

repo: decebals/pippo


text:
DAO Hierarchy level indication

@xraystyle1980 / @nicolaus-sherrill  for the dao hierarchy, I currently visually have no way of knowing (beyond the title) which level of the hierarchy I am currently in. Compare this to the original below with the strong underline. Is this intended functionality? If so, I'd question it especially for Myosin DAO who has three levels

Originally posted by @tomstuart123 in https://github.com/decentdao/fractal-interface/issues/1578#issuecomment-2096395374

Removing my assignment because @xraystyle1980 has started on this.

Hierarchy desktop design below

In Figma
https://www.figma.com/design/7zqmHjIfoxVDDx7wZw6xqI/Design-%26-Feedback?node-id=1068-7808&t=1l26jxxW5QHFobpF-4
@nicolaus-sherrill if you're good with this I'll move to handoff

@xraystyle1980 ship it.

yes, please handoff. This is great @xraystyle1980

Ready to rock. Hierarchy desktop designs are updated in the handoff file.
In the Design System
*Note I added the 3 dots menu button to the designs as they were previously absent. Medium icon-button component used.

Didn't noticed your change there to re-add the settings menu. Now someone else correct me but do we need this functionality to be on the Hierarchy page (my Opinion, no)? If yes, should it match the gear icon on DAO Dashboard?

No setting gear on those children plz
On Fri, May 10, 2024 at 8:36 PM David Colon @.***>
wrote:

Didn't noticed your change there to re-add the settings menu. Now someone
else correct me but do we need this functionality to be on the Hierarchy
page (my Opinion, no)? If yes, should it match the gear icon on DAO
Dashboard?
—
Reply to this email directly, view it on GitHub
https://github.com/decentdao/fractal-interface/issues/1720#issuecomment-2105409783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMS4JFCYQPQSP62PXTEKLZBVRXTAVCNFSM6AAAAABHN3CPLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGQYDSNZYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Didn't noticed your change there to re-add the settings menu. Now someone else correct me but do we need this functionality to be on the Hierarchy page (my Opinion, no)? If yes, should it match the gear icon on DAO Dashboard?

Yep good catch. Updated in Figma
Updated Prototype

No setting gear on those children plz
…

Do you mean on the current DAO only? (as it might not always be the parent DAO)

Didn't noticed your change there to re-add the settings menu. Now someone else correct me but do we need this functionality to be on the Hierarchy page (my Opinion, no)? If yes, should it match the gear icon on DAO Dashboard?

Yep good catch. Updated in Figma
Updated Prototype

Heard on that. Do the Info cards on the DAO dashboard have this over states?

No setting gear on those children plz
…

Do you mean on the current DAO only? (as it might not always be the parent DAO) @adamgall

I just meant that I think we don't need to display a "settings" icon on any DAO in the hierarchy which is not the "currently loaded" DAO.

Closed via https://github.com/decentdao/fractal-interface/pull/1764

repo: decentdao/fractal-interface


text:
Asset bundles fail to be converted in several areas

Some areas are never converted to asset bundles, leading to poor loading performance.
Observed in Tomb Chaser and parcels surrounding Momus Park.

I calculated a new graphical representation of the current asset bundle status.
The color code is as follows:

White: no scenes
Green: scenes with all their Asset Bundles calculated OK
Black to Red: Scenes with missing Asset Bundles (Black few, Red many)

authors: BrianAmadori marcosnc

repo: decentraland/explorer


text:
feat: [SDK Communications Controller] SendBinary

What this PR includes?

Support sendBinary action from SDK to synchronize data between scenes.

Tested with 2 instances of this build:

Both instances load the same scene.
The scene contains a button that creates a cube, and each time a cube is cretaed, it executes the syncEntity function in order to keep synched the transform and material of that cube.
So each time one of the users create a cube, the other one also see that cube created in its instance.
Also, if one of the users changes the color of any cube, the other user also see it changed.

It works! 👍

repo: decentraland/unity-explorer


text:
AFGO implementation

Including both VCs and Presentations in both json-ld and jwt formats.
It supports all the keys mentioned in the README.
Signed-off-by: Mykhailo Sizov mykhailo.sizov@securekey.com
Signed-off-by: Baha Shaaban baha.shaaban@securekey.com
closes #4

closes https://github.com/hyperledger/aries-framework-go/issues/3288

@OR13 can you review

This is awesome!

@Baha-sk when all test cases passing can you post screenshot.

@OR13 baha will post screenshot when all test cases are passing

@OR13 when I run the VC verification commands for afgo as per the README doc, eg:
% IMPLEMENTATION=afgo
INPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.vc.json
OUTPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.vc.verification.json

docker-compose run $IMPLEMENTATION \
credential verify \
--input $INPUT \
--output $OUTPUT

or jwt :
% IMPLEMENTATION=afgo
INPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.vc-jwt.json
OUTPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.vc-jwt.verification.json

docker-compose run $IMPLEMENTATION \
credential verify \
--input $INPUT \
--output $OUTPUT

the output file content is as expected:
{
    "verified": true
}

but when running the verify command (npm run report:evaluate), all vc and presentation results of afgo results fail in index.html, while the jwt ones are all successful (except maybe for one rsa key that also fails in jwt format).
I tried to run the doker-compose command using transmute with afgo credential files like so:
% IMPLEMENTATION=transmute
INPUT=/data/implementations/afgo/credential-0--key-0-ed25519.vc.json
OUTPUT=/data/implementations/afgo/credential-0--key-0-ed25519.vc.verification.json

docker-compose run $IMPLEMENTATION \
credential verify \
--input $INPUT \
--output $OUTPUT

but I get this output error:
Creating jws-test-suite_transmute_run ... done
✨ credential [action]

Verify a verifiable credential

Options:
      --version  Show version number                                   [boolean]
  -h, --help     Show help                                             [boolean]
  -i, --input    Path to input document                               [required]
  -o, --output   Path to output document                              [required]
  -k, --key      Path to key
  -f, --format   Input format                                    [default: "vc"]

RangeError: Maximum call stack size exceeded
    at JSON.stringify (<anonymous>)
    at Error.value (/home/node/node_modules/@transmute/linked-data-proof/dist/linked-data-proof.cjs.development.js:626:23)
    at JSON.stringify (<anonymous>)
    at Error.value (/home/node/node_modules/@transmute/linked-data-proof/dist/linked-data-proof.cjs.development.js:626:23)
    at JSON.stringify (<anonymous>)
    at Error.value (/home/node/node_modules/@transmute/linked-data-proof/dist/linked-data-proof.cjs.development.js:626:23)
    at JSON.stringify (<anonymous>)
    at Error.value (/home/node/node_modules/@transmute/linked-data-proof/dist/linked-data-proof.cjs.development.js:626:23)
    at JSON.stringify (<anonymous>)
    at Error.value (/home/node/node_modules/@transmute/linked-data-proof/dist/linked-data-proof.cjs.development.js:626:23)
ERROR: 1

any idea how to troubleshoot this? not sure how JSON.stringify() spits the error about this instance, but it's probably too large?

@OR13 @Baha-sk I found the issue. Will push fix soon

Currently, all tests are passing except for credential 2 as per @fqutishat's question to @OR13  above. Investigating next step to resolve the issue.

IMO, implementations should not be mutating payload arguments, but obviously the spec isn't clear enough on this.
When in doubt, do not mutate a function parameter... ever.

all checks are passing now

@OR13 can merge all AFGO test is passing

great thank you @OR13, when will https://identity.foundation/JWS-Test-Suite/#implementations be updated with afgo?

it should happen automatically... if things were registered properly.

The reason i'm asking is that I don't see Microsoft in index.json, while it does show in the link above. I thought it would take some manual update somewhere to get afgo in there as well.

it seems to show now.. thanks!

authors: Baha-sk OR13 fqutishat

repo: decentralized-identity/JWS-Test-Suite


text:
The ckpt has a social decoder, but the code does not.

Thanks for your code. I encountered several questions when reproducing this paper.
I hope you can help me solve these questions.

Code did not have a social decoder, but the ckpt you provided has. I'm interested in how you trained this ckpt.
What is the classification loss you choose for six trajectory proposals? CrossEntropy or KL and what is the target ?
What is the loss weight for reg loss and cls loss?
Thanks for your project again and I really hope to get your reply.

这是来自QQ邮箱的假期自动回复邮件。

您好，我已经收到邮件，会尽快给您回复。by小溪

repo: decisionforce/mmTransformer


text:
WorldExtension - Sequential Create

Create WorldExtension and a method to bulk create systems sequentially ensuring each system has completed OnCreate before moving to the next system.
Tag Alongs

WorldUtil.SetupTopLevelGroupsInCurrentPlayerLoop Improve docs

Incorrectly specified that system couldn't already exist
Highlight difference to ScriptBehaviourUpdateOrder.AppendWorldToCurrentPlayerLoop

What is the current behaviour?
Unity's existing solution World.GetOrCreateSystemsAndLogException instantiates all system's before calling ComponentSystemBase.OnCreate on each system.
This means that systems calling world.GetOrCreateSystem in their own OnCreate method may get back a system instance that has not yet had OnCreate called.
This is particularly problematic for TaskDriver instances that need system references to be fully initialized to configure jobs against the system's exposed data.
What is the new behaviour?
Executing world.GetOrCreateSystemsSequentiallyAndLogExceptions will create each system in the list sequentially (if required) calling ComponentSystemBase.OnComplete on the system before progressing to the next system.
What issues does this resolve?

None

What PRs does this depend on?

None

Does this introduce a breaking change?

[ ] Yes
[x] No

requested changes addressed.

repo: decline-cookies/anvil-unity-dots


text:
Bug/Feature request: Liroth book in creative menu

It would be nice to be able to have a version of the Patchouli book in the creative inventory, or perhaps two: one basically they way it is directly after crafting it in survival, and one fully unlocked. It's a little annoying but nothing major. Just weird that an item you can get in survival doesn't show up in the creative inventory

Thank you for the suggestion, I will see to it that it is added in the latest push, and apologies on the delay of the response.

Thank you!

authors: decodinatorX steve-the-player

repo: decodinatorX/Liroth-Revamped-Fabric


text:
[PRESET] Create Compiler Preset "Phantom Hourglass"

I would like to create a compiler preset on decomp.me for The Legend of Zelda: Phantom Hourglass.

Preset Name: Phantom Hourglass
Platform: nds_arm9
Compiler ID: mwcc_30_131
Compiler Flags: -O4,p -enum int -char signed -str noreuse -proc arm946e -gccext,on -fp soft -inline on,noauto -Cpp_exceptions off -RTTI off -interworking -sym on -lang=c++

I suggest for the preset name to be the game's full name (The Legend of Zelda: Phantom Hourglass and not Phantom Hourglass).

I suggest for the preset name to be the game's full name (The Legend of Zelda: Phantom Hourglass and not Phantom Hourglass).

I'm okay with either alternative, I just went with the trend of all previous Zelda presets.

Done - went with "Phantom Hourglass" to match the other presets (although I do think they should all have the full titles!)
https://decomp.me/preset/128

authors: AetiasHax mkst polybiusproxy


text:
What to do when I want to update the Kill Switch budget threshold?

I've installed the plug-in, completed the set-up and tested as recommended in the set-up guide. My budget stop threshold is 1.0.
When I want to update the amount that triggers the Kill Switch, do I just update the budget I created in my cloud consol, or do I have to take other steps as well?

Hey!
You will only need to update your budget amount ($), the extension is agnostic to the amount and is only triggered when the desired percentage threshold is met.
For example:
You set budget = 100, and then the extension's budget threshold to 1.0 (100%). Later that month you hit $100, which will fire off the extension.
Next month, you decide to double your budget. You update it in firebase console or GCP (either or) so that budget = 200. The threshold is still 1.0.
Now if you hit $100 usage, this is only 50% (0.5) of your budget, so nothing happens. If later that month you hit $200 usage, that will be 100% (1.0) of your budget which would then fire off the extension.
Hope that helps! Probably a overly verbose explanation 😃


text:
How to set and access config json dynamically based on request

Hi ,
I want to add new channel on new camera request, for this config json need to be updated with the new rtsp streaming url and stream this. If I given stop request then it has to remove. Is there any solution for this?

I'm calling start and delete APIs

repo: deepch/RTSPtoWeb


text:
Refactor the Repeated Setup of HttpClientWrapper

Proposed changes

Look at this CodeRabbit Feedback
https://github.com/deepgram/deepgram-dotnet-sdk/pull/228#discussion_r1486614001
CodeRabbit:
Consider refactoring the repeated setup of HttpClientWrapper and mocking HTTP calls into a shared method or the Setup method to reduce redundancy and improve maintainability, while ensuring each test remains isolated.

Context

NA
Possible Implementation

NA
Other information

NA

PR Merged. Closing.

repo: deepgram/deepgram-dotnet-sdk


text:
up version to 0.3.1

prepare to publish the new version with latest fixed

Thanks! I started the release process, should be available soon.

repo: deepmedia/Grease


text:
Example training script for KFAC?

It mentions in https://github.com/deepmind/deepmind-research/blob/master/kfac_ferminet_alpha/README.md that there's an example training script using KFAC, whose link is broken. Could someone help fix the link or kindly provide a training script example?

See https://github.com/deepmind/deepmind-research/blob/master/kfac_ferminet_alpha/example.py

authors: connection-on-fiber-bundles jsspencer

repo: deepmind/deepmind-research


text:
Question: information state targetting

I'm trying to rewrite OOS (http://mlanctot.info/files/papers/aamas15-iioos.pdf) and specifically information state targeting.
Part of it is to write a function which takes two ActionObservation sequences and returns if they are compatible (it's possible to get from the current infoset to the target infoset).
In OpenSpiel, neither the InformationState / InformationStateAsNormalizedVector provide "incremental" information: it's a domain-dependent representation of the whole AO sequence.
Observation or ObservationAsNormalizedVector do these "incremental" observations: however how is the observation of "no observation" encoded in phantom games? Empty vector?
Also, do you think it would make sense to store the ActionObservation for each player in State (similarly to how history_ is stored)? It is not possible to do a currentState->parentState lookup, so to retrieve the whole AO for arbitrary state you'd have to make targetted tree traversal from the root to this state.
I'm asking this specifically in the context of OOS, where you will be given a target infoset (or State, in the Bot API), but you might not know what it's ActionObservations are (if you didn't visit this infoset before and cached it). The result is that you cannot target this infoset efficiently.

That seems costly to have turned on by default (since the observations are potentially large vectors)

Did you consider other representation of observations, as the one for neural networks? Maybe something game specific, for example GoofspielObservation which would contain the actual information (win/lose/draw in a round, nature card and possibly cards revealed) from which other representations could be built (such as for neural networks?). These game-specific observations can be much much smaller (probably 1 or 2 orders of magnitude compared to one-hot encoding of doubles :) ).

Support an optional way to turn it on, but have it switched off by default.

I'd be careful about putting more mutability/statefullness into State :) I suggest these kinds of settings should be const-ed, i.e. there can be a RootStateFactory(bool capabilityX, bool capabilityY, ...) which sets them up, and disallows user to turn them off later, so that we don't have some states which do have AOs and some which don't.
I thought about subclassing for type safety, i.e. StateWithCapabilityX, but then all other methods will have to return StateWithCapabilityX, and make rest of the code type incompatible. This would indeed require templating... everything ...
This seems like rather a common design problem, so maybe someone with more C++ experience can help? @Dugy

I can add a bunch of methods that return the collections and/or const refs to them.

I think it would be useful to think about these directly how they relate to information state forests. (thread #1). Who should be the "memory owner" of AOs? State? But then we should be very careful about mutating state into children, because the external AO pointers (for example in the infoset forest) will become corrupt. Maybe this would be an appropriate place for usage of shared_ptr?

absl::optional<std::vector<std::pair<Observation, Action>>>>

Please avoid the use of std::pair<x,y> in code that should be exposed by the API. It makes the rest of algorithm code full of .first / .second statements, obfuscates readability and inhibits programmer's mental type inference (what's this .first?). I noticed at many places in the code usage of x = a.first anyway to bypass this. I suggest using a simple two-fielded struct, where you can see .x / .y and can directly click on it and figure out it's type fast.
In "internal" use (private, maybe protected methods of a class) it's fine, since the "leakage" of these details will be limited.

I would not be surprised if there was a bug in it (in case you plan to use it, be aware)

Thanks, good to know.

I don't like the use of complex template magic-- it makes working with C++ unnecessarily complicated...

I dislike it too and have a friend who helps me with it all the time haha :-) so I understand the sentiment.

This seems like rather a common design problem, so maybe someone with more C++ experience can help?

I am not sure if I fully understand the context. In case I got it right, this seems like a setting that would apply to all instances. One such property alone can be conveniently handled by various ad hoc approaches, but these tend to accumulate and after adding several such properties, it gets messy. A proper solution may be a variable in some struct with other settings like this passed as a shared pointer or something to all instances, it may be a singleton, it may be a preprocessor macro... all depends on the frequency how often you might want to change it.

Did you consider other representation of observations, as the one for neural networks?

There are observation strings as well, btw. But, yes, as I mentioned in another thread, this is what Neil did in the Hanabi Learning environment. I think it's ultimately the way to go, but we haven't needed rich observations for anything (yet) because the team who has been using it for research (so far!) has mostly been interested in end-to-end learning algorithms, and we can easily change the observations if we wanted to.
Probably we'll need to do this eventually because people will obviously want to do more game-specific stuff. Right now, that's not easy in OpenSpiel (by design!) but people will want to define their own observations (and other game-specific stuff) so we ultimately want to support it. In fact we listed it in our Call for Contributions.

I'd be careful about putting more mutability/statefullness into State :)

Sure, I agree generally.  I was suggesting a simple way to support OOS (and another use case I will have soon). We already have a history of integers in there, so it seems natural to complement it with optional (Observation, Action) histories, which seem generally useful, i.e. it will likely be needed again.
The subclassing is not such a bad idea. Or rather, interfaces. Each interface provides a new functionality (pure virtual methods) and only some games can implement them. Since the games are subclassing State already, they would then just need to subclass the interfaces too, and provide those extra methods. Rather than templates this just means down casting, which could make the code a bit awkward and messy, which is why I suggest adding it to State, since it's something that really is generally useful and we have it already.

I think it would be useful to think about these directly how they relate to information state forests.

My suggestion is avoiding the problems you list because it would not be a pointer to some dynamic structure. I want to avoid that, because then all the clone methods would need to be deep clones and it just makes everything more complicated than necessary.

Please avoid the use of std::pair<x,y> in code that should be exposed by the API.

No, I will not. I have had this argument many times, and I remain unconvinced. std::pair is a well-understood type. Every C++ programmer in existence know what .first and .second do. Pairs are perfect for simple tuples, and there is a lot of use cases for two-valued tuples where a struct would be overkill. If every tuple had to use a struct instead, then your code base explodes with custom types and everyone has to lookup what those objects are to understand what is in them (which is terrible for the main core API functions!) Also, your argument with structs implies that people are not naming their variables properly, and we should avoid that. E.g. it is very clear what action_and_prob.first and action_and_prob.second are, and we should simply make sure these standards are upheld.

I dislike it too and have a friend who helps me with it all the time

This is exactly why they are bad, and I bolded in red letters the "Keep It Simple" design philosophy in the docs and paper. If you need someone's help to do something that the language should make easy, then the answer is not to go to someone else and get help. The correct answer is: don't use those language features. Why? Because it would mean you're narrowing the scope of people that can understand the code (even the implementer doesn't fully understand it!) and it becomes harder to use by everyone. What's worse is that this problem gets even worse over time. If you narrow the scope, then you'll attract more C++ template experts (and alienate everyone else), which means the problem just gets slowly worse over time, until it's basically hard to use for everyone (even the experts).
C++ has a bad reputation among researches because it's too complex. But that does not need to be the case. It's only "too complex" when you don't guard against complicated language features. The C++ code in OpenSpiel is forcefully simple, and we want to keep it that way. So your aversion to complex use of C++ templates is more than welcome here.

authors: Dugy lanctot michalsustr


text:
NER ModuleNotFoundError: No module named 'bert_dp'

Hi, When trying to check the pre-trained NER I got the below error..!!
code:

from deeppavlov import configs, build_model
ner_model = build_model(configs.ner.ner_ontonotes_bert)

Error:
[nltk_data] Downloading package punkt to
[nltk_data]     C:\Users\UdhayaNavi\AppData\Roaming\nltk_data...
[nltk_data]   Package punkt is already up-to-date!
[nltk_data] Downloading package stopwords to
[nltk_data]     C:\Users\UdhayaNavi\AppData\Roaming\nltk_data...
[nltk_data]   Unzipping corpora\stopwords.zip.
[nltk_data] Downloading package perluniprops to
[nltk_data]     C:\Users\UdhayaNavi\AppData\Roaming\nltk_data...
[nltk_data]   Unzipping misc\perluniprops.zip.
[nltk_data] Downloading package nonbreaking_prefixes to
[nltk_data]     C:\Users\UdhayaNavi\AppData\Roaming\nltk_data...
[nltk_data]   Unzipping corpora\nonbreaking_prefixes.zip.
Traceback (most recent call last):
File "", line 1, in
File "D:\AI\Anaconda3\envs\UKNEW\lib\site-packages\deeppavlov\core\commands\infer.py", line 62, in build_model
component = from_params(component_config, mode=mode, serialized=component_serialized)
File "D:\AI\Anaconda3\envs\UKNEW\lib\site-packages\deeppavlov\core\common\params.py", line 95, in from_params
obj = get_model(cls_name)
File "D:\AI\Anaconda3\envs\UKNEW\lib\site-packages\deeppavlov\core\common\registry.py", line 72, in get_model
return cls_from_str(REGISTRY[name])
File "D:\AI\Anaconda3\envs\UKNEW\lib\site-packages\deeppavlov\core\common\registry.py", line 40, in cls_from_str
return getattr(importlib.import_module(module_name), cls_name)
File "D:\AI\Anaconda3\envs\UKNEW\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "D:\AI\Anaconda3\envs\UKNEW\lib\site-packages\deeppavlov\models\preprocessors\bert_preprocessor.py", line 19, in
from bert_dp.preprocessing import convert_examples_to_features, InputExample, InputFeatures
ModuleNotFoundError: No module named 'bert_dp'

I have the same problem...

You should have done python -m deeppavlov install ner_ontonotes_bert.json first. Then bert_dp will be in place.

repo: deepmipt/DeepPavlov


text:
component readme updates

updated I/O on several components + made templates for all the components that had no readmes.
gonna add I/O info  and dependencies info in the upcoming pushes

@nstsj merge dev and resolve conflicts.
BTW previously you merged dev incorrectly, because in Files of this PR you can see a lot of files that you did not touch.

authors: dilyararimovna nstsj

repo: deeppavlov/dream


text:
Chatbox(v1.3.14) 连接DeepSeek出现422

刚下载的Chatbox(v1.3.14)，连接DeepSeek 出现422错误。之前看到有人也出现过类似错误，但是这个最新版本好像又出现了
API Error: Status Code 422, Failed to deserialize the JSON body into the target type: messages[0].content: invalid type: sequence, expected a string at line 1 column 40

应该怎么解决？


text:
feat: add nvidia/llama-3.2-nv-rerankqa-1b-v1 to set of known ranking models

Related Issues
n/a
Proposed Changes:
add a new model
How did you test it?
ran existing tests w/ default model changed to this new model
Notes for the reviewer
n/a
Checklist

I have read the contributors guidelines and the code of conduct
I have updated the related issue with new insights and changes
I added unit tests and updated the docstrings
I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test:.

As it seems like NVIDIA is adding some more models (e.g. nvidia/llama-3.2-nv-rerankqa-1b-v2) to v1/retrieval, I think it would be a better idea to add this url path to
https://github.com/deepset-ai/haystack-core-integrations/blob/6b8d02d4dd5de710f4e20981b2da525194a5d462/integrations/nvidia/src/haystack_integrations/components/rankers/nvidia/ranker.py#L115
so that either v1/ranking as well as v1/retrieval can pass the url path check.

authors: d-kleine mattf

repo: deepset-ai/haystack-core-integrations


text:
Update Documentation Website Content

[ ] Technology section maybe deserves to be its own page
[ ] DocumentStore page needs to talk about Preprocessing, recommended splitting
[ ] Need to give top-k recommendations
[ ] Languages other than English deserves own section (Let @PiffPaffM  know when new page is created)
[ ] Write note about ES analyser (tokenizer) which can be language specific
[ ] Section on Preprocessing
[ ] RAG
[ ] Overview / Usage distinction
[x] Too many headings in "Writing Documents"

Notes for @PiffPaffM:
Created new "Languages Other than English" page
database.md renamed document_store.md

repo: deepset-ai/haystack-website


text:
[Discussion] Spleeter Just Doesn't WORK

Hey there, I recently installed Spleeter (the package) and used the --help to guide me on how to use it, well I did enter correct parameters but Spleeter just hangs for a bit then doesn't return any msg like this

I checked the Task manager And It seems that The "cmd" Is Using like 1.3GB of memory and then it just stops, can any of you help please

Hi @HorrorBest,
Have you tried to perform separation within a docker container, for instance using on of the provided docker images?

Hi @HorrorBest, Have you tried to perform separation within a docker container, for instance using on of the provided docker images?

The container wont install for some reason...

Hi @HorrorBest,
Yes this a know issue (check #729). The latest tag is currently not defined as the default tag. We should fix that shortly. In the meantime, you can specify another tag, such as 3.8 (for spleeter image based on python 3.8 image).

Your PC probably does not have enough memory for it. spleeter:5stems requires at least 8 gigabytes to run as it hogs 6 gigs on its own when I separate a 3 minute video.
Just try running with spleeter:2stems first and you will see it will work.

As of now, there is no errors/indications for RAM usage. It would be useful if that is there. Still, it will be much speculation but I think it may somewhat tell you whether it is operable or not on your machine.

Also, the process is terminated by the OS. So in order to prevent this (from user experience standpoint), it is better to implement a prediction system and it goes from there (or just a simple system requirement notice would suffice for the least).
DAIN-APP does some thing similar and it works, but time consuming surely for lower specification machines.

As of now, there is no errors/indications for RAM usage. It would be useful if that is there. Still, it will be

I'll try that and let you know...

Hi @HorrorBest, Yes this a know issue (check #729). The latest tag is currently not defined as the default tag. We should fix that shortly. In the meantime, you can specify another tag, such as 3.8 (for spleeter image based on python 3.8 image).

while downloading I got this error:
7a2f9307e8e8: Downloading [=================>                                 ]  327.3MB/932.6MB
invalid character 'c' looking for beginning of value

authors: HorrorBest khanghugo romi1502

repo: deezer/spleeter


text:
How should the SECRETS.json be formatted?

See the above.

{
    "facebook_token": "A STRING",
    "facebook_id": A NUMBER
}

Added EXAMPLE.json just for you

authors: defaultnamehere golf1052 marthinwurer

repo: defaultnamehere/tinder-detective


text:
chore(ui): playwright tests pass in UI mode but not headless

Describe what should be investigated or refactored
Our playwright tests are passing when run in UI mode but not headless. This is a problem when committing code and requires overriding Husky pre-checks with the --no-verify flag. It will also cause problems when the E2E tests are run in the pipeline.

It seems this happens when there are too many conversations and you run the tests, likely to do with needing to scroll things into view.
If you run supabase db reset, the tests pass.
Potential solutions:

Always clear the db before running
Increase the viewport size of the headless browser (is that even a thing)
Modify tests to scroll if they can't find an item

I tried scrolling, it didn't work initially and I didn't think it was worth the time to mess with it more.
Default viewport in headless mode is a reasonable size, although it can be overriden.
I added a supabase db reset command to the  end of the playwright scripts (npm run test:integration) which will allow the tests to pass. I also made sure the chat tests cleanup their created threads when finished. This should help avoid this issue, although we will have to remember in future tests to do cleanup as well.
I tried doing a global teardown that deleted all messages, but not all tests could pass because they need to not have to scroll things into view and there were too many conversations. Having each test cleanup when it is done seems like the better option right now.
We can try to do the scrolling again when writing future tests and if it works, modify the others.

repo: defenseunicorns/leapfrogai


text:
draft slack post

Description
Draft post for community Slack channel
...
End to End Test:
(See Pepr Excellent Examples)
Related Issue
Fixes #

Relates to #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Other (security config, docs update, etc)

Checklist before merging

[ ] Unit, Journey, E2E Tests, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

approve and published in slack! Nice work Kim!

repo: defenseunicorns/pepr


text:
Make variable defaults nilable

Is your feature request related to a problem? Please describe.
It would be (potentially) nice to have nilable defaults so that package creators can have more control over the variables that get set on deploy time (allowing for them to intentionally fail a deployment when no value was provided (i.e. when a password or secret was needed without defaulting to an insecure empty string))
Describe the solution you'd like
Allow the detection of a non-specified default (as opposed to always defaulting to an empty string)
Describe alternatives you've considered
We could leave things as they are and just always use an empty string (and there are other projects that do this, namely GitHub Actions) but this would also mean that we should intentionally accept and communicate side effects.
We could also introduce pattern matching to get around some cases covered by this (i.e. using a .+ pattern would ensure a string was not empty) but this would require explicit action on the package creator's part and there could be cases where an empty string is a legitimate value.
Additional context
This issue is a break away from #675 loading of variables from files.

😭 that is all 😁

@jeff-mccoy

repo: defenseunicorns/zarf


text:
Only one save button in threat modal

Removes the redundant "Save" button from the threat modal (fields are saved anyways when they loose focus).
Renames the "Save & Add" / "Save & Update" button to just "Save" and puts it into the location of where the previous "Save" button has been
Removes all buttons from the threat modal for non-owner players.

And another general comment: You did not add any tests  ;)  Could you please add some tests that the correct elements vanish for the different players? And maybe also that the buttons trigger the right actions (or do not trigger for the cancel button)?

And another general comment: You did not add any tests ;) Could you please add some tests that the correct elements vanish for the different players? And maybe also that the buttons trigger the right actions (or do not trigger for the cancel button)?

good idea!


text:
docs(maintainers): add more info on PR workflow

We had some confusion in Slack today why some PRs weren't getting merged in just yet. We should probably add this information to the Deis maintainers file. Names have been removed for anonymity's sake. They know who they are :)
2:45 PM #3713 looks ready, but we usually let whomever is assigned to it actually do the merge. So that's @bacongobbler in this case.
2:46 PM The assumption is if you're actually assigned to it, it's either your area of expertise or you've been following it most closely, so you should have the final say after 2 LGTMs.

closed via https://github.com/deis/workflow#development for v2.

repo: deis/deis


text:
feat(Makefile): allow CGO_ENABLED override

Enables fix for https://github.com/deis/workflow-cli/issues/246

Current coverage is 72.22% (diff: 100%)

Merging #252 into master will not change coverage

@@             master       #252   diff @@
==========================================
  Files            57         57
  Lines          3903       3903
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2819       2819
  Misses          776        776
  Partials        308        308

Powered by Codecov. Last update 8745328...78ce8e6

This PR is no longer needed; an alternate solution was developed in https://github.com/deis/jenkins-jobs/pull/246; closing.

authors: codecov-io vdice

repo: deis/workflow-cli


text:
use httputil.ReverseProxy to improve proxy functions

Fixes #11

The file structure of proxy.go is metrics/proxy/proxy/proxy.go. I think we'd need to address that

Could be in another PR. Just wanted to highlight that out.

The file structure of proxy.go is metrics/proxy/proxy/proxy.go. I think we'd need to address that

That was deliberate. It definitely looks odd, except when viewed in a broader context:
Here's a branch from the project tree:
pkg/metrics
├── proxy
│   ├── injector
│   │   ├── config.go
│   │   ├── deployment_patch.go
│   │   ├── injector.go
│   │   └── pod_patch.go
│   └── proxy
│       ├── config.go
│       ├── proxy.go
│       └── single_port_proxy.go
└── proxy_request_count.go

The idea behind the current project layout is that we're broadly separated by areas of concern such as "managing deployments" (both zeroscaler and activated fall under this), managing endpoints (the endpoints controller and endpoints hijacker both fall under this) and, metrics. Under metrics, there are a few constituent concerns, with one being the proxy, which can further be decomposed in the the proxy itself and the proxy injector.
I think the path looks odd when viewed in isolation, but in context, it probably makes more sense.
I'm still open to alternative names for anything/everything if it helps avoid this kind of awkwardness.... but as you said... handled in a different PR.

@krancour Rebased this branch and approved.

repo: deislabs/osiris


text:
Works only first time then It does not work

Here is exemple code:
location = new SimpleLocation(this);

    // if we can't access the location yet
if (!location.hasLocationEnabled()) {
        // ask the user to enable location access
        SimpleLocation.openSettings(this);
    }

location.beginUpdates();

location.setListener(new SimpleLocation.Listener() {
        public void onPositionChanged() {
            Log.d("Location", location.getLatitude()+":"+location.getLongitude()+":"+location.getAltitude());
        }
});

When I open emulator and change Latitude or Longitude first time it fires listener but then it does not.

The emulator is always different than a real device. So make sure to check on a real device as well, if you get a chance.
Apart from that, please try the extended constructor variants that let you specify an update interval manually.
Finally, if location isn’t enabled (and you open the settings), starting the location updates doesn’t make any sense. But if the user returns from the settings, e.g. in onResume, it might make sense to start the updates again.
Hope that helps!

authors: Mirodil ocram

repo: delight-im/Android-SimpleLocation


text:
Add Jesús Olazagoitia

Gran idea Dani ;)

Grazie!!

authors: delineas goiblas

repo: delineas/mapa-oyentes-web-reactiva


text:
API not working in local server

Hi there,
I'm trying to use this wonderful API for a class project and whenever I try to build the project in local it gives no error message.
However, when trying to get data from the API, for example: localhost:3000/api/games
it gives me INTERNAL SERVER ERROR

It's because you need to set the env variables to match the MongoDB database. Do you really need to run this API locally?

It's because you need to set the env variables to match the MongoDB database. Do you really need to run this API locally?

It'll be nice if I could run it locally since I got the 502 error very often and I think it is a problem of the remote server

It'll be nice if I could run it locally since I got the 502 error very often and I think it is a problem of the remote server

Yeah, I know that. It happens because NextJS wasn't exactly planned to work as a backend connected to a database directly. I will soon release a v2 that will remove the need to check the database and instead use local JSON files, so you could run locally too.

Yeah, I know that. It happens because NextJS wasn't exactly planned to work as a backend connected to a database directly. I will soon release a v2 that will remove the need to check the database and instead use local JSON files, so you could run locally too.

Ok I understand, nice work BTW. It would be damn cool if it had images but I guess you'll try to improve the API in the future. Keep coding bro, appreciate the work 😄

Ok I understand, nice work BTW. It would be damn cool if it had images but I guess you'll try to improve the API in the future. Keep coding bro, appreciate the work 😄

Thanks for the feedback! :smile:

Thanks for the feedback! :smile:

authors: Santoxjon deliton

repo: deliton/zelda-api


text:
Add support for multiple columns

The following migration:
knex.schema.table('users', function (table) {
  table.string('first_name');
  table.string('last_name');
})

creates a query such as:
alter table "USERS" add "FIRST_NAME" varchar(255), **add** "LAST_NAME" varchar(255);

Whereas it should be:
alter table "USERS" add "FIRST_NAME" varchar(255), "LAST_NAME" varchar(255);

Just realized we don't need this - it's already there for the mysql dialect.

repo: deliverr/knex-snowflake-dialect


text:
Abstract internal lists selectively to use arrays or linked lists.

For flash, linked lists remain the more performant type for use in nape, however for c++ and perhaps other targets, Arrays win the performance bet.
A way to selectively abstract the lists to use an array where possible for c++ and other targets would be good to get a bit better performance, and perhaps futureproof nape should arrays/vector gain performance in flash.

started in arrays branch with a test implementation of a nape list using array/linked list internally on compile time switch with same (slightly less strict) behaviour. (main point being that removal from an array implemented list does not preserve order (at least not by default), in most cases this is fine, where it isn't (and if it's determined that an array list works better in such a use-case) the implementation will be abstracted to allow an order-preserving removal to exist also in general).
Those cases that come to mind would be things like GeomPoly and Polygon vertex lists where order preservation would be preferred, it could be the case that things like arbiter/constraint lists would benefit from having a preserved ordering; whether that is for stability, or just to keep exact behaviour between a list or array implemented simulation (not sure that is important, especcially since the linked list implementations naturally prefer an unshift operation for addition to the list, whilst arrays naturally prefer a push operation)

repo: deltaluca/nape


text:
Skybox loads earlier that map, and then skybox appears in front of map

Skybox loads earlier that map, and then skybox appears in front of map. Fix by reordering?

https://threejs.org/docs/#api/en/core/Object3D.renderOrder

repo: demensdeum/Digital-Mage-Uprising


text:
Initial Docker image for KeeperSecretsManager integration support

Docker image including Keeper Secrets Manager Python SDK required to support new KeeperSecretsManager Demisto integration in PR#20786.

Docker Image Ready - Production
Docker automatic build at CircleCI has deployed your docker image: demisto/keeper-ksm:1.0.0.33394
It is available now on docker hub at: https://hub.docker.com/r/demisto/keeper-ksm/tags
Get started by pulling the image:
docker pull demisto/keeper-ksm:1.0.0.33394

Docker Metadata

Image Size: 42.78 MB

Image ID: sha256:8a028f64ec35976d982201621d27a72657f1b9f6abe32736359158e2ad17a873

Created: 2022-08-30T06:37:01.202353363Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
PYTHON_VERSION=3.10.4
PYTHON_PIP_VERSION=22.0.4
PYTHON_SETUPTOOLS_VERSION=58.1.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/38e54e5de07c66e875c11a1ebbdb938854625dd8/public/get-pip.py
PYTHON_GET_PIP_SHA256=e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a
DOCKER_IMAGE=demisto/keeper-ksm:1.0.0.33394

Labels:

org.opencontainers.image.authors:Demisto <containers@demisto.com>
org.opencontainers.image.revision:8fa2732b4cc9b5ebb8037384a3476af91a3e5ec6
org.opencontainers.image.version:1.0.0.33394

authors: dc-builder idimov-keeper

repo: demisto/dockerfiles


text:
update types

Pull Request
Short Summary
Update typing and get/set attributes for python and rust logic

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.93%. Comparing base (9b13ffd) to head (b07ca40).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   91.93%   91.93%
=======================================
  Files          12       12
  Lines         533      533
=======================================
  Hits          490      490
  Misses         43       43

authors: codecov-commenter thorrester

repo: demml/scouter


text:
🛑 SearxNG III is down

In fe53382, SearxNG III (https://sx3.eka.monster) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SearxNG III is back up in 6bf6c05 after 28 minutes.

repo: demonsteru/up


text:
🛑 Whoogle Poko is down

In fa3b9e6, Whoogle Poko (https://wg.poko.dob.jp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Whoogle Poko is back up in ec4ae8e after 5 minutes.


text:
Check icon is distorted in safari

Can't seem to replicate this issue. Please confirm the version.

authors: chasturansky jazminorozco

repo: denali-design/denali-css


text:
🛑 DC Doc Portal-Agent is down

In 51a4c38, DC Doc Portal-Agent (https://agents.dencapsecure.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DC Doc Portal-Agent is back up in a28a886.

repo: dencap/Upptime


text:
🛑 DC Doc Portal-Provider is down

In 55f80b2, DC Doc Portal-Provider (https://providers.dencapsecure.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DC Doc Portal-Provider is back up in 417b114 after 2 hours, 41 minutes.


text:
HW 17.10.2016

https://github.com/nikGayko/Onliner/commit/995cf8e6138e864957330c02c79a3b1d4e5a6c2c

Please remove folder .idea from the repository

authors: deniotokiari nikGayko


text:
Type instead of Enum?

Why there are types like export type Direction = 'top' | 'left' | 'bottom' | 'right' | undefined; that cannot be used as enum?
that means we cannot do something like that, can we?
<Fade direction={Direction.Bottom}>

Hi @CKGrafico,
the reason why I export a type and not an enum is because users (especially plain JS developers) can easily use autocompletions without having to import the Direction transpiled member (documentation). I could write it as a const enum, but I don't think this would make the developer experience that better ;)

authors: CKGrafico dennismorello

repo: dennismorello/react-awesome-reveal


text:
can't compile with 2.1.5 ruby in OS X

Hi,
I can't compile debase gem. This is the log:
cat /Users/username/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/debase-0.1.0/gem_make.out
/Users/norbi/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20141201-2519-da10ov.rb extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
checking for vm_core.h... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling breakpoint.c
compiling context.c
compiling debase_internals.c
In file included from /Users/norbi/.rvm/gems/ruby-2.1.5/gems/debase-ruby_core_source-0.7.2/lib/debase/ruby_core_source/ruby-2.1.5-p273/method.h:14,
                 from /Users/norbi/.rvm/gems/ruby-2.1.5/gems/debase-ruby_core_source-0.7.2/lib/debase/ruby_core_source/ruby-2.1.5-p273/vm_core.h:24,
                 from ./hacks.h:1,
                 from debase_internals.c:2:
/Users/norbi/.rvm/gems/ruby-2.1.5/gems/debase-ruby_core_source-0.7.2/lib/debase/ruby_core_source/ruby-2.1.5-p273/internal.h:209: error: expected ';', ',' or ')' before 'x'
make: *** [debase_internals.o] Error 1

make failed, exit code 2

it may be fixed with #18, let me know if it is not

It's works. Thx.

repo: denofevil/debase


text:
[src] link in runtime downloads file

Clicking [src] link in runtime documentation downloads the file.
This problem does not appear for third party docs.

I can't do anything about that. The Content-Type of that file is application/octet-stream rather than text/plain, application/javascript, or application/typescript, and because the browser can't display application/octet-stream it downloads the file.
This can be fixed by proxying the file thru deno.land (eg. deno.land/types@latest/lib.deno.d.ts), as we can then change the Content-Type.

If this opened something in a modal we could support syntax highlighting, and line number would be garaunteed to work... That might be a bit too clever...

Yup @hayd, that is pretty much #52 and #54

https://github.com/denoland/deno/blob/v1.0.0/std/fs/read_file_str.ts#L13 is the link you need.
Though '/v1.0.0' here is a tag name in git. So URL needs to be updated for every release.

authors: bartlomieju hayd jobanputrah lucacasonato


text:
Dependabot generates a PR branch name that is too long for Windows build systems

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
nuget
Package manager version
dotnet nuget
Language version
C# .NET 8.0, NetStandard 2.0
Manifest location and content before the Dependabot update
No response
dependabot.yml content
https://github.com/akkadotnet/akka.net/blob/b7c2871e3a97456d9991abe0b5112691ef4ce441/.github/dependabot.yml
Updated dependency
Dependabot main comment:
Bumps Microsoft.Extensions.Hosting.WindowsServices, Microsoft.Extensions.Hosting, Microsoft.Bcl.AsyncInterfaces, Microsoft.Extensions.DependencyInjection.Abstractions and Microsoft.Extensions.DependencyInjection. These dependencies needed to be updated together.
Updates Microsoft.Extensions.Hosting.WindowsServices from 7.0.1 to 8.0.0
Updates Microsoft.Extensions.Hosting from 7.0.1 to 8.0.0
Updates Microsoft.Bcl.AsyncInterfaces from 7.0.0 to 8.0.0
Updates Microsoft.Extensions.DependencyInjection.Abstractions from 1.1.0 to 8.0.0
Updates Microsoft.Extensions.DependencyInjection from 7.0.0 to 8.0.0
What you expected to see, versus what you actually saw
The generated PR branch name is too long, causing Azure Windows image CI/CD to fail because git fetch lock file name exceeds windows file name length restriction
Native package manager behavior
##[warning]Git fetch failed with exit code 1, back off 2.439 seconds before retry.
git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin  +refs/heads/*:refs/remotes/origin/* +refs/pull/7017/merge:refs/remotes/pull/7017/merge
error: cannot lock ref 'refs/remotes/origin/dependabot/nuget/Microsoft.Extensions.Hosting.WindowsServices-and-Microsoft.Extensions.Hosting-and-Microsoft.Bcl.AsyncInterfaces-and-Microsoft.Extensions.DependencyInjection.Abstractions-and-Microsoft.Extensions.DependencyInjection-8.0.0': Unable to create 'D:/a/1/s/.git/refs/remotes/origin/dependabot/nuget/Microsoft.Extensions.Hosting.WindowsServices-and-Microsoft.Extensions.Hosting-and-Microsoft.Bcl.AsyncInterfaces-and-Microsoft.Extensions.DependencyInjection.Abstractions-and-Microsoft.Extensions.DependencyInjection-8.0.0.lock': Filename too long
From https://github.com/akkadotnet/akka.net
 ! [new branch]          dependabot/nuget/Microsoft.Extensions.Hosting.WindowsServices-and-Microsoft.Extensions.Hosting-and-Microsoft.Bcl.AsyncInterfaces-and-Microsoft.Extensions.DependencyInjection.Abstractions-and-Microsoft.Extensions.DependencyInjection-8.0.0 -> origin/dependabot/nuget/Microsoft.Extensions.Hosting.WindowsServices-and-Microsoft.Extensions.Hosting-and-Microsoft.Bcl.AsyncInterfaces-and-Microsoft.Extensions.DependencyInjection.Abstractions-and-Microsoft.Extensions.DependencyInjection-8.0.0  (unable to update local ref)

Images of the diff or a link to the PR, issue, or logs
https://github.com/akkadotnet/akka.net/pull/7017
Smallest manifest that reproduces the issue
No response

I get the exact same error. Everything worked fine when Dependabot created a single PR for each package, but after supporting to bump multiple packages together (in PR #8179), the path quickly gets too long and build breakes.
Not only does this affect the Dependabot branch, but every fetch from the remote fails on any branch for every developer.

Looks like nuget needs to add the dependency_set metadata when it creates it dependencies so the branch namer can use the group name instead of listing out all of the dependency names https://github.com/dependabot/dependabot-core/blob/main/common/lib/dependabot/pull_request_creator/branch_namer/solo_strategy.rb#L24
Here's an example of how Gradle does it https://github.com/dependabot/dependabot-core/blob/1efd5e05e06f7ddefd7baf5bca3088af7626d0d6/gradle/lib/dependabot/gradle/file_parser.rb#L319-L324

We're experiencing the same issue. All of a sudden we're getting a grouped PR (which we didn't configure) which breaks all CI builds for the repo because of the branch name length. I guess we'll have to ignore package updates for Microsoft.Extensions.* for now, to prevent this from happening randomly (our dependabot pipeline runs scheduled every night).

We just got this error as well. Very annoying. In our case the lock file and path would sum up to 263 characters.
I can see that our enterprise does not have LongPathsÈnabled in Windows 10. So it could be related to that since I only see this error on my local machine.
D:/repos/################/.git/refs/remotes/origin/dependabot/nuget/###.########.########.###/Microsoft.EntityFrameworkCore.Tools-and-Microsoft.EntityFrameworkCore.Design-and-Microsoft.EntityFrameworkCore-and-Microsoft.Extensions.Logging.Abstractions-7.0.15.lock
Also, we have not enabled the beta feature "Grouped security updates":

But we still got this:

Since we only saw this error locally we just decided to nuke that branch from the GitHub branch page.

https://github.com/dependabot/dependabot-core/pull/9410 Should fix this after I cut a release of Dependabot Core and update our service to use it. I'll let you know when that's done so you can verify.

I forked https://github.com/akkadotnet/akka.net to test https://github.com/dependabot/dependabot-core/pull/9410 and verified that the bump https://github.com/akkadotnet/akka.net/pull/7134 no longer has a branch name dependabot/nuget/DotNetty.Handlers-and-Microsoft.Extensions.DependencyInjection.Abstractions-0.7.6 but is dependabot/nuget/multi-ba72856d46.
So going forward, branch names should be much shorter!

authors: Gakk Magnus-Ekstrom Nishnha catsburg gsoedharmo-conga jakecoffman

repo: dependabot/dependabot-core


text:
Respect platform requirements if they are set

Fixes #394
When a user sets the platform requirements we should respect them. Else
proposed new versions might not run on their target platform.
If no platform is set we ignore it all so that the current platform
isn't taken into account.
Todo:

[ ] Add some test (once I figure out how)

Just took them from https://github.com/dependabot/dependabot-core/pull/209

Seems my spec writing skills are very subpar. Any help is appareciated.

Nice! The spec you copied across was a bit old - I've updated the way we stub Packagist since writing it. Will get it fixed up now.

Glad to give back! We use your product at more and more places over at Nextcloud. Thank you for creating it.

It's a great contribution - thanks! Imagine there might be a little teething trouble as some repos have to add some extensions to their platform overrides to get everything working, but with good error messaging that should be fine. Solving #394 is a really big improvement.

authors: greysteil rullzer


text:
How to add a private toolchain (or any other lua script)

I have two cases where I need to make a tweaked toolchain - clang-analyze, and afl. In both cases, these programs work by replacing clang (or gcc) with their own wrapper program, which runs the regular compiler, and then add their own magic on top of that.
When using tundra, is there some official mechanism for defining your own toolchain (similar to clang.lua, or gcc.lua), which is part of your source code tree, and not part of the stock tundra distribution?
The best thing I've come up with so far is this (example here is for afl):

Create a file in my project: build/tundra/tools/afl.lua
Add a new Config that uses the afl toolchain.
Run tundra like so, to compile my project called "Test": TUNDRA_LUA_PATH=`pwd`/build/?.lua tundra2 linux-afl-release Test

It would be useful if one didn't need to setup the TUNDRA_LUA_PATH environment variable. Does it make sense that one could add some kind of lua call, which would add a new directory to the lua search path? You could then call that function at the top of your tundra.lua file, to add in your project-specific lua scripts.
I know this may seem a bit pedantic - I mean what's wrong with just setting TUNDRA_LUA_PATH for this niche case? However, I think it would be a good principle if one could easily add extra augmentations on top of tundra, in the form of lua scripts that are private to the source tree.
afl.lua contents:
module(..., package.seeall)

function apply(env, options)
  tundra.unitgen.load_toolset("gcc", env)

  env:set_many {
    ["CC"] = "/home/ben/dev/afl-2.51b/afl-clang",
    ["CXX"] = "/home/ben/dev/afl-2.51b/afl-clang++",
    ["LD"] = "/home/ben/dev/afl-2.51b/afl-clang",
  }
end

You can add tool paths using the ScriptDir property.  This way they’re loaded just like built in tools and there’s no need for env hacks. Let me know if this doesn’t work for you.

Sorry, ScriptDirs is the appropriate spelling. It adds to the Lua path and anything found there will be importable just like built in tools.

Thanks - that's exactly what I was looking for. Sent a one character PR that fixes the typo in the manual.

authors: bmharper deplinenoise

repo: deplinenoise/tundra


text:
add values for targetMemoryUtilizationPercentage and resources to istio gateway

Checks

[X] I have searched the existing issues.
[X] This request is NOT specific to the CLI. (If so, please open an issue on the CLI repo)

Motivation

In my Istio deployment i am using targetMemoryUtilizationPercentage as an autoscaling metric and i could easily see others doing this as well for high utilization gateways
Having the option to customize limits would be great as well since 1024m (even though the default) is low for a high utilization gateway

Implementation
No response
Are you willing & able to help?

[X] I am able to submit a PR!
[ ] I can help test the feature!

@D1sko Thanks for raising PR https://github.com/deployKF/deployKF/pull/119, until that PR is merged, I just want to highlight you can set these values using the existing "values overrides" feature.
WARNING: using targetMemoryUtilizationPercentage requires using version 1.21.0 of the Istio chart, and I have not tested istio 1.21 with deployKF 0.1.4 yet.
If you are willing to risk it, here are the deployKF values to set these values with "values overrides":
deploykf_dependencies:
  istio:

    charts:
      ## WARNING: these versions need to be aligned with the gateway version
      ## WARNING: updating istio might require you to restart your pods (so they get the new sidecar version)
      istioBase:
        version: 1.21.0
      istioDaemon:
        version: 1.21.0

deploykf_core:
  deploykf_istio_gateway:

    valuesOverrides: |
      gateway:
        resources:
          requests:
            cpu: 100m
            memory: 128Mi
          limits:
            cpu: 2000m
            memory: 1024Mi

        autoscaling:
          targetMemoryUtilizationPercentage: XXXXX

    charts:
      istioGateway:
        ## WARNING: the `targetMemoryUtilizationPercentage` value was only added in the 1.21.0 chart version
        ##          so you will probably have to upgrade the overall istio also
        version: 1.21.0

repo: deployKF/deployKF


text:
🛑 depositar-demo is down

In 4558094, depositar-demo (https://demo.depositar.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: depositar-demo is back up in 3ba6c72 after 12 minutes.

repo: depositar/status


text:
CraftSim not loading: GGUI.lua:2296: GGUI Error: Popup Frame not initialized

I'm getting this error after downloading CraftSim on my MBP. WoW is running natively. CraftSim works fine on my PC.
Message: Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2296: GGUI Error: Popup Frame not initialized
Time: Wed Dec 20 11:32:38 2023
Count: 1
Stack: Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2296: GGUI Error: Popup Frame not initialized
[string "=[C]"]: in function error' [string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:2296: in function ShowPopup'
[string "@Interface/AddOns/CraftSim/Pricing/PriceAPIs.lua"]:28: in function InitPriceSource' [string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:368: in function ?'
[string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:7: in function <Interface/AddOns/CraftSim/Main/CraftSim.lua:7>
Locals: (*temporary) = "GGUI Error: Popup Frame not initialized"

Works after downloading auctionator


text:
Stable Fluidic Draconium quality differences

Love the new feature to specify optional reagents in the Simulation Mode tab, thanks for that!
EDIT: It appears if I apply the Fluidic reagent in the default blizzard frame, then check the "Simulation Mode" box, the values are correct.
Only issue I've found with it so far, is that it looks like its using +15% inspiration skill for all ranks.
In the "Inspiration Skill" line in the simulation box, I see the following values:

(No Fluidic)

65 (50.0*1.30+15)

(R1 Fluidic)

72.5 (50.0*1.45+22.5)

(R2 Fluidic)

72.5 (50.0*1.45+22.5)

(R3 Fluidic)

72.5 (50.0*1.45+22.5)

For me, (Blacksmithing) R3 should be getting to 78 skill, which is probably rounded. I'm not sure on how the exact calculation works. I have the Epic hammer (+15%) as well as 15 points into Poigant Plans, which is giving another +15%. This appears to be reflected correctly with the (50.0*1.30) portion.
I'm sure this is already on your radar, just wanted to point it out in case its not.
Thanks so much for your work on this, its absolutely fantastic!

Hi and thanks :)
I actually just had incorrect data for it in my data files, it was 15% for all ranks!
Fixed with 1.7.7


text:
Key press delay/repeat times too fast for being usable

I am trying to use an headless M8 on my Mac using your M8display web app. However,  I often overshoot where I want to be (or the value I intend to set) while navigating around (or changing note/param values) with computer keyboard. Changing the key press delay/repeat times of my keyboard in MacOS does not change them in M8 (only on my Mac). Is there a way to set key press delay/repeat times in the headless M8 or the M8display web app? I cannot imaging being the only one having this issue. Thanks in advance for your help!

Thanks for your reply. It is possible that the delay is what's tripping me.
Hopefully the same issue (delay) will not happen on the hardware (which I
preordered).
On Fri, Mar 24, 2023 at 8:43 AM James Deery @.***>
wrote:

The repeat rate is defined by the M8. The web display just tells the M8
whether the key is down or not.
It is possible that there is lag between your input and the display being
updated. Do you notice anything like that?
I don't know whether it is possible to configure the repeat rate on the M8
(I don't have my Teensy at the moment to check). You might want to ask on
the Discord. I expect that this would work just the same on the real
hardware too.
—
Reply to this email directly, view it on GitHub
https://github.com/derkyjadex/M8WebDisplay/issues/23#issuecomment-1482740400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABRRZFG4G2A4CNB7TUMITW5WJIZANCNFSM6AAAAAAV7XQTWE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Arrow key hold often causes input overshoot. Since the loop repeat is determined on Teensy side.
Assumptions:
Latency 1: M8 key repeat loop (fixed latency), let's say maybe 100ms
Latency 2: M8's UI -> PC render -> user sensory to release key -> event to M8. Let's say it takes around 400ms to react. Then it is often overshot.
Improvement Proposal
For only arrow keys, when it's arrow key hold, then synthesize key up/down repeat loop in JS code.
@derkyjadex Not sure if this is a viable solution to this problem.

Yesterday I also filed a similar issue on the Dirtywave M8 firmware repo, asking to fix this on the Teensy side of things. Crossing fingers :)

authors: adwuard marcora


text:
Ferature Request: Add support for Batch Requests

As documented here: https://developers.google.com/gmail/api/guides/batch it would be ideal to also add support for batch requests.

This is something I overlooked in the first iteration to gain simplicity (we now have three or four request methods used for all calls). This probably needs a way to represent requests as objects that can be sent one-at-a-time or multiple at once by a call.

I was wondering here - with async operations, is there a big difference between sending batch requests in the first place and sending several requests at once, and join!ing/join_alling them? And given that the batch interface is usually "concatenate raw HTTP requests into a multipart/mixed body", which brings considerable complexity into the picture, this may actually be not that bad as an alternative (caveat: as long as hyper does this the way I hope it does, i.e. using HTTP/2 as it is intended to be used, with concurrent streams etc.)
It shouldn't make a big difference in terms of quota, or transferred data volume, while keeping the logic much more simple. What am I missing?

authors: chrisabruce dermesser

repo: dermesser/async-google-apis


text:
Investigate support for the Frigate NVR Proxy Addon

As requested by @dlWhitaker in https://github.com/dermotduffy/frigate-hass-card/issues/126 .
Proxy: https://github.com/blakeblackshear/frigate-hass-addons/blob/main/frigate_proxy/README.md
Likely needs websocket support added.

@blakeblackshear is the intended usage of the 'Frigate NVR Proxy' exclusively to get the Frigate UI to show up on the sidebar? Should users be able to point the integration at that proxy also, or is the intent that they would just point the integration directly at the backend?

Suspect that might be the case. Thanks, closing this out as WAI.

repo: dermotduffy/frigate-hass-card


text:
Instant live loading does not  seem to work on initial load (JSMPEG)

As reported by @felipecrs in https://github.com/dermotduffy/frigate-hass-card/pull/793#issuecomment-1208885039

@felipecrs Actually, I think this is all working correctly. On initial load, the card has to load metadata about the cameras  from Home Assistant, so the progress indicator (the same one used for JSMPEG!) flashes up briefly whilst this loading happens. We can't do anything until this load is complete. Then the live provider loads (instantly --  when the option is enabled).
Make sense?

Hm... Right. Got it. Thank you!

authors: dermotduffy felipecrs


text:
Alterando a Estrutura do Projeto

Nós como desenvolvedores decidimos remodelar a estrutura do projeto, para melhor atender as nossas necessidades. As mudanças consistem em trocar a tecnologia utilizada, deixando de usar o framework Laravel e o banco MySQL para aplicar o NestJS, React e o PostgresSQL.

Estrutura do projeto modificado, passando a utilizar o NestJS.

authors: Gleicianegaldino Rayaninha


text:
Detekt 1.22.0 is getting noisier and noisier

Expected Behavior
No output in Gradle console log unless there's an actual problem.
1.21.0:
> Task :plugins:detektMain
The BindingContext was created with 36 issues. Run detekt with --debug to see the error messages.

> Task :backend:quickbook:detektTest
The BindingContext was created with 6 issues. Run detekt with --debug to see the error messages.

> Task :backend:database:detektTest
The BindingContext was created with 2 issues. Run detekt with --debug to see the error messages.

> Task :backend:endpoint:detektTest
The BindingContext was created with 40 issues. Run detekt with --debug to see the error messages.

Current Behavior
1.22.0-RC1:
> Task :plugins:detekt
The rule 'AvoidReferentialEquality' requires type resolution but it was run without it.
The rule 'Deprecation' requires type resolution but it was run without it.
The rule 'DontDowncastCollectionTypes' requires type resolution but it was run without it.
The rule 'DoubleMutabilityForCollection' requires type resolution but it was run without it.
The rule 'ElseCaseInsteadOfExhaustiveWhen' requires type resolution but it was run without it.
The rule 'ExitOutsideMain' requires type resolution but it was run without it.
The rule 'HasPlatformType' requires type resolution but it was run without it.
The rule 'MissingWhenCase' requires type resolution but it was run without it.
The rule 'NullCheckOnMutableProperty' requires type resolution but it was run without it.
The rule 'RedundantElseInWhen' requires type resolution but it was run without it.
The rule 'UnnecessaryNotNullOperator' requires type resolution but it was run without it.
The rule 'UnnecessarySafeCall' requires type resolution but it was run without it.
The rule 'UnreachableCode' requires type resolution but it was run without it.
The rule 'UnsafeCallOnNullableType' requires type resolution but it was run without it.
The rule 'UnsafeCast' requires type resolution but it was run without it.
The rule 'IgnoredReturnValue' requires type resolution but it was run without it.
The rule 'ImplicitUnitReturnType' requires type resolution but it was run without it.
The rule 'NullableToStringCall' requires type resolution but it was run without it.
The rule 'UnreachableCatchBlock' requires type resolution but it was run without it.
The rule 'UnusedUnaryOperator' requires type resolution but it was run without it.
The rule 'NestedScopeFunctions' requires type resolution but it was run without it.
The rule 'ReplaceSafeCallChainWithRun' requires type resolution but it was run without it.
The rule 'NamedArguments' requires type resolution but it was run without it.
The rule 'InjectDispatcher' requires type resolution but it was run without it.
The rule 'RedundantSuspendModifier' requires type resolution but it was run without it.
The rule 'SleepInsteadOfDelay' requires type resolution but it was run without it.
The rule 'SuspendFunWithFlowReturnType' requires type resolution but it was run without it.
The rule 'SuspendFunWithCoroutineScopeReceiver' requires type resolution but it was run without it.
The rule 'ReturnFromFinally' requires type resolution but it was run without it.
The rule 'ObjectExtendsThrowable' requires type resolution but it was run without it.
The rule 'NoNameShadowing' requires type resolution but it was run without it.
The rule 'BooleanPropertyNaming' requires type resolution but it was run without it.
The rule 'NonBooleanPropertyPrefixedWithIs' requires type resolution but it was run without it.
The rule 'ArrayPrimitive' requires type resolution but it was run without it.
The rule 'CouldBeSequence' requires type resolution but it was run without it.
The rule 'CanBeNonNullable' requires type resolution but it was run without it.
The rule 'ForbiddenMethodCall' requires type resolution but it was run without it.
The rule 'UnnecessaryInnerClass' requires type resolution but it was run without it.
The rule 'ObjectLiteralToLambda' requires type resolution but it was run without it.
The rule 'UnnecessaryApply' requires type resolution but it was run without it.
The rule 'UnnecessaryFilter' requires type resolution but it was run without it.
The rule 'UnnecessaryLet' requires type resolution but it was run without it.
The rule 'PreferToOverPairSyntax' requires type resolution but it was run without it.
The rule 'NullableBooleanCheck' requires type resolution but it was run without it.
The rule 'VarCouldBeVal' requires type resolution but it was run without it.
The rule 'ForbiddenVoid' requires type resolution but it was run without it.
The rule 'ExplicitCollectionElementAccessMethod' requires type resolution but it was run without it.
The rule 'UselessCallOnNotNull' requires type resolution but it was run without it.
The rule 'RedundantExplicitType' requires type resolution but it was run without it.
The rule 'LibraryCodeMustSpecifyReturnType' requires type resolution but it was run without it.
The rule 'UseEmptyCounterpart' requires type resolution but it was run without it.
The rule 'UseCheckNotNull' requires type resolution but it was run without it.
The rule 'UseRequireNotNull' requires type resolution but it was run without it.
The rule 'RedundantHigherOrderMapUsage' requires type resolution but it was run without it.
The rule 'UseIfEmptyOrIfBlank' requires type resolution but it was run without it.
The rule 'MultilineLambdaItParameter' requires type resolution but it was run without it.
The rule 'UseIsNullOrEmpty' requires type resolution but it was run without it.
The rule 'UseOrEmpty' requires type resolution but it was run without it.
The rule 'UseAnyOrNoneInsteadOfFind' requires type resolution but it was run without it.
The rule 'MaxChainedCallsOnSameLine' requires type resolution but it was run without it.

> Task :plugins:detektMain
The BindingContext was created with 36 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:quickbook:detektTest
The BindingContext was created with 6 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:database:detektTest
The BindingContext was created with 2 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:endpoint:detektTest
The BindingContext was created with 40 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

1.22.0-RC2:
> Task :backend:feed:detektMain
warning: classpath entry points to a non-existent location: ...\backend\feed\src\main\java

> Task :plugins:detektMain
warning: classpath entry points to a non-existent location: ...\gradle\plugins\src\main\java
The BindingContext was created with 36 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:network:detektMain
warning: classpath entry points to a non-existent location: ...\backend\network\src\main\java

> Task :backend:quickbook:detektMain
warning: classpath entry points to a non-existent location: ...\backend\quickbook\src\main\java

> Task :backend:network:detektTest
warning: classpath entry points to a non-existent location: ...\backend\network\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\network\build\classes\java\main

> Task :backend:quickbook:detektTest
warning: classpath entry points to a non-existent location: ...\backend\quickbook\src\test\java
The BindingContext was created with 6 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:feed:detektTest
warning: classpath entry points to a non-existent location: ...\backend\feed\src\test\java

> Task :backend:database:detektTestFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\src\testFixtures\java

> Task :backend:endpoint:detektMain
warning: classpath entry points to a non-existent location: ...\backend\endpoint\src\main\java
The BindingContext was created with 4 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:database:detektTest
warning: classpath entry points to a non-existent location: ...\backend\database\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\database\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\build\tmp\kapt3\classes\testFixtures
The BindingContext was created with 1 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

> Task :backend:endpoint:detektTest
warning: classpath entry points to a non-existent location: ...\backend\endpoint\src\test\java
warning: classpath entry points to a non-existent location: ...\backend\database\build\classes\java\testFixtures
warning: classpath entry points to a non-existent location: ...\backend\database\build\tmp\kapt3\classes\testFixtures
The BindingContext was created with 52 issues. Run detekt CLI with --debug or set `detekt { debug = true }` in Gradle to see the error messages.

Notice that even the number of BindingContext issues are getting higher.
Context
gradlew ... is usually empty, and that's a good thing. The more warnings show up the less likely is that we see new warnings pop up, and long term projects end up with just megabytes of logs which no-one cares about.
The project I was executing on is exactly the same code for each version. The task I was running was also exactly the same for each version: gradlew :plugins:detektEach detektMain detektTest detektTestFixtures --rerun-tasks (detektEach depends on detekt, detektMain and detektTest in that module).

I would like to know what other people think about this. For sure we can completely remove the "The BindingContext was created with 242 issues. [...]" message.
For me this situation is odd because in one hand type resolution is still experimental and have some rought edges. On the other hand half of the rules of detekt use type resolution and I think that all the maintainer doesn't think too much about detekt without type solving. It would be great to make the our compiler plugin production ready to fix all these issues but we need hands for doing that.

so people will just learn to tune these warnings out (and every other warning from any log / check)

☝ To me this is a really good reason to remove that message.

I think those messages are in actionable and will condition users to tune out detekt logs by default

For sure we can completely remove the "The BindingContext was created with 242 issues. [...]" message.

+1 on suppressing this. End users don't need to know what a BindingContext is frankly.

#5448 and #5449 should fix these :)

authors: BraisGabin TWiStErRob ZacSweers cortinico

repo: detekt/detekt


text:
remember_me is only 2 weeks

Hi!
The ee()->auth->remember_me(); accepts only BOOLEAN as parameter. $sess->remember_me(60*60*24*365); should be $sess->remember_me(true);.
Now, I have no idea on how to override the remember_me_ttl on system/expressionengine/libraries/remember.php, but I'm still trying.

Accordingly to EllisLab, we shoud edit the filesystem/expressionengine/config/remember.php.

repo: devdemon/freemember


text:
Add Preact based PWAs to demo list

Add Rainbow Explorer PWA
Add Offline Gallery PWA

Coverage remained the same at 97.695% when pulling 8e032b82aaa23114bf2356abe8ac0a8bf88f32cc on vaneenige:master into 3a528b99c503bd8f63b715b2d386c747cf6bfd52 on developit:master.

authors: coveralls vaneenige

repo: developit/preact


text:
Clarification on the .yml extension

/area documentation
Which area this documentation change is related to?

/area library
Issue details

What mistake did you find / what is missing in the documentation?
The devfile library only supports devfile.yaml and .devfile.yaml.
Though the YAML FAQ states that .yaml extension is preferred, .yml is frequently accepted as a valid alternative.
Is there a reason why .yml isn't valid, or was this simply an oversight?

It should also allow json formatted devfiles

This item involves more than the documentation changes. It will require:

Update the library logic to accept devfile.yml and .devfile.yml
Add test cases for looking for devfile.yml and .devfile.yml
Work with the tools to look for files with .yml extension when discovering the devfile within an application

This has been fixed recently with https://github.com/devfile/api/issues/1265. The devfile library now supports parsing any file it is provided (regardless of its name and extension, as long as it is parsable).
Additionally, in places where a devfile is discovered (e.g., when clients provide a directory as path to the parser), the library will try to pick a devfile based on the following priority order: devfile.yaml > .devfile.yaml > devfile.yml > .devfile.yml
The documentation has also been updated accordingly: https://devfile.io/docs/2.2.1/library#procedure
/close

authors: elsony rli rm3l

repo: devfile/api


text:
Add yaml struct tags to match existing json tags and allow serialization

PR is opened as a draft PR as discussion/agreement hasn't yet taken place on the issue. It was a quick enough change that I figured I'd make it available now rather than waiting.
What does this PR do?
Add matching yaml tags to fields that have a json struct tag, to support serializating/deserializing the devfile api as yaml. Also updates the overrides generator to include yaml tags.
This PR is the result of doing the following

Executingsed -i -E 's|`json:"([^ ]*)"|`json:"\1" yaml:"\1"|g' \
    $(grep -rnw "json:" . --exclude-dir vendor --exclude "zz*" -l)

in this repo
Updating generator/overrides/gen.go to generate yaml tags as well
Regenerating auto-generated files.

What issues does this PR fix or reference?
Fixes https://github.com/devfile/api/issues/202
Is your PR tested? Consider putting some instruction how to test your changes
Tested using the sample code from #202
Docs PR
(No functional changes to the API)

@amisevsk Are you going to rebase and merge this PR? the yaml tags are required for yaml writer, and https://github.com/openshift/odo/pull/4188  is currently blocked by this PR

@yangcao77 see the note at the top of https://github.com/devfile/api/issues/202 -- you can get around the issue by using sigs.k8s.io/yaml instead of gopkg.in/yaml.v2. I'm still not sure if this PR should be added to the repo. Either way it makes sense to use the yaml package that's used in the rest of Kubernetes, as most k8s objects only have json tags.

Closing this PR as I don't think it's worthwhile to add and maintain.


text:
Update openshift-console-dashboard.json

What does this PR do?
Updating The openshift-console-dashboard to include new metrics:

total workspace CPU usage
average workspace CPU usage
total workspace Memory usage
average workspace Memory usage
Number of Running Workspaces
Node CPU Usage as Percentage
Node Memory Utilisation as Percentage
Node CPU Usage as graph
Node Memory Utilisation as graph

What issues does this PR fix or reference?
No issue, Just improvements.
Is it tested? How?

Update grafana-dashboard-dwo Config Map in openshift-config-managed NameSpace in Openshift to new Json.
PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

/test v8-devworkspace-operator-e2e, v8-che-happy-path

repo: devfile/devworkspace-operator


text:
SubDir non-existent destination bug fix

Signed-off-by: Michael Valdron mvaldron@redhat.com
Please specify the area for this PR
registry-support/index/generator
What does does this PR do / why we need it:
Changes in this PR provides the extra process of creating the base directory, if non-existent, for the operation performed by copyFileWithFs on index/generator/libraryutil.go#L223. Without this, certain starter project downloads such as Java Wildfly fail with an error seen in devfile/api#867.
Additional changes include an additional test case which includes the Java Wildfly starter project to perform further testing on starter project downloads using the subDir property.
Which issue(s) this PR fixes:
Fixes #?
partially fix devfile/api#867
PR acceptance criteria:

[ ] Test (WIP)

Documentation (WIP)

[ ] Does the REST API doc need to be updated with your changes?
[ ] Does the registry library doc need to be updated with your changes?

How to test changes / Special notes to the reviewer:
cd index/generator
go test -v ./...

I'm a little confused about what will be in the cached zip:
Will the cached starter project be (folders included):
quickstart/microprofile-config

Or just
microprofile-config

It will be in the end quickstart/microprofile-config, the process for downloading git goes through a multi-step process before archiving. In the last step, it appears that it is archiving the entire quickstart but it is the contents of quickstart/microprofile which have been separated.

repo: devfile/registry-support


text:
Update README.md

What does this PR do?

Any background context you want to provide?

Screenshots and/or Live Demo

But, this review from you has not showing hacktoberfest. Now also, it says that my PR is not reviewed. Can you help me about this.

repo: devfolioco/scrroll-in


text:
apm-server

Failed to connect to backoff(elasticsearch(http://elasticsearch:9200)): Get http://elasticsearch:9200: dial tcp 172.22.0.2:9200: connect: connection refused

What is this issue about? Where are the logs requested in the issue template?

@antoineco default config
apm-server:
  host: localhost:8200

output:
  elasticsearch:
    hosts: http://elasticsearch:9200

Please edit your issue and include all the requested information, a partial screenshot does not help.

authors: antoineco einsqing

repo: deviantony/docker-elk


text:
Embed libvlc and libvlccore into exe

I am trying to have an exe where the libvlc is included as an embedded resource, so I do not have to copy around a bunch of files all the time, only the .exe
Can I follow this approach http://stackoverflow.com/questions/96732/embedding-one-dll-inside-another-as-an-embedded-resource-and-then-calling-it-fro and place the code to load the embedded assembly in xZune.Vlc.Wpf.VlcPlayer.cs?

Ummmm...I'm afraid you can't do that.
Assembly.Load() is used for managed assembly.
But libvlc and libvlccore is unmanaged assembly.

I already thought so :\ do you think that would work? https://github.com/Fody/Costura#unmanaged32assemblies--unmanaged64assemblies

If you use dynamic instead of static importing of external methods you could do it. Not sure if the compiler can do it automatically now but in the past in c++ or delphi you had to do the loading of each exported proc from the dll and assignment to procedure pointers manually if you wanted dynamic loading (eg to not fail loading the app exe if dll was missing)

Btw, now that I think of it, since one can set vlc libs path there is dynamic linking to the dlls instead of static one already (not sure if static is even possible with just c# and no c++ part).
So, you could embed the native dlls in your exe as resources (maybe vs allows you to add .dll to project and mark it as embedded resource else rename them to jpg or something to embed) and write them to a unique subfolder in temp at start, then point to there.
.net has api to give you unique temp folder ( it creates the folder for you to make sure no other code grabbed that foldername)

Hi, is there still a way to do it now ?

@junkern
Not sure if meta.vlc uses a mixed-mode assembly, probably just uses a native one via interop directly
Mixed-mode ones contain managed and non-managed code in single DLL as it seems:
https://stackoverflow.com/questions/7266936/what-is-a-mixed-mode-assembly
Obviously mixed-mode ones could link to other native ones
Costura Fody supports mixed-mode, but native DLLs too:
Native Libraries and PreloadOrderNative libraries can be loaded by Costura automatically. To include a native library include it in your project as an Embedded Resource in a folder called costura32 or costura64 depending on the bittyness of the library.Optionally you can also specify the order that preloaded libraries are loaded. When using temporary assemblies from disk mixed mode assemblies are also preloaded.To specify the order of preloaded assemblies add a PreloadOrder element to the config.

    Foo    Bar

Or as an attribute with items delimited by a pipe |.

authors: Junkern bamf43 birbilis higankanshi

license: WTFPL


text:
Make brunch command configurable by ENV var.

Issue:
assets:precompile installs npm dependencies with NODE_ENV=production but the path breakfast uses to invoke brunch is in local npm modules i.e. ./node_modules/brunch/bin/brunch. In our production environment, we want to run assets:precompile, but don't want to include brunch in our dependencies (only in dev. dependencies. However, being able to pass the brunch path in as an ENV var allows us to globally install brunch via npm install -g brunch in our Dockerfile and use this global binary as the brunch command path.

Going to go ahead and close this as this will not solve the problem I mentioned. This would work for brunch, but there are many other dev. dependencies needed by brunch that this would not work for.

repo: devlocker/breakfast