Fix condition hover tip cut off

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Bug Fixes

Fixed an issue where the condition display for active conditions would be cut off on the left side.

Character Sheet Info Roll20 Internal Use only.


Looking for support? Try my fork!

I'm maintaining a fork here mill1000/midea-msmart and available on PyPi as msmart-ng.
The following issues have been solved: #107, #104, #103, #90.

what could I do if I got:
{'ip': 'xxxxxxx', 'port': 6444, 'id':<PHONE_NUMBER>32xxx, 'online': False, 'supported': False, 'type': <DeviceType.AIR_CONDITIONER: 172>, 'name': 'net_ac_095C', 'sn': '000000P0000000Q12459E542xxxx0000', 'key': None, 'token': None}


Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs.

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

LGTM

@rakeshakkera waiting for ARM feedback. Will ping ARM team.

This change should ideally go in a new API-version as per the Microsoft REST API guidelines. But since CRP PUT is not compliant, I guess ARM can approve this sub-optimal modeling. @johngossman FYI and in case you have any input on this.

Signing off from ARM side.

@rakeshakkera waiting for ARM feedback. Will ping ARM team.

@yungezz I have approval from ARM. Could you help merge the pull request?


Setter and getter for Spacing, Padding and GroupPadding

Hey,
I wanted to alter the spacing of my custom widgets in a small application of mine and found out that there are no setter and getter for this. So I simply created my own ones. Is it in your interest to include those into the main project or don't you want any of those as there would be a lot variables that can only be accessed by adding custom setter and getter?
Maybe I also overlooked a function giving me control of the spacing. The code I inserted in etc.go is simply this:

func (w *StyleWindow) Spacing() *Vec2 {
	return (*Vec2)(&w.spacing)
}

func (w *StyleWindow) Padding() *Vec2 {
	return (*Vec2)(&w.padding)
}

func (w *StyleWindow) GroupPadding() *Vec2 {
	return (*Vec2)(&w.group_padding)
}

func SetSpacing(ctx *Context, v Vec2) {
	*ctx.Style().Window().Spacing() = v
}

func SetPadding(ctx *Context, v Vec2) {
	*ctx.Style().Window().Padding() = v
}

func SetGroupPadding(ctx *Context, v Vec2) {
	*ctx.Style().Window().GroupPadding() = v
}

Thanks

Hi, yes etc.go is a good place to add such setters and getters! Actually, this is how the package is being expanded, the Nuklear is organised in such way that we need to have Getters and Setters made by hand.
Please make a simple PR, thanks!


[WIP] Troubleshoot javascript doc build

Investigating #681
@SylvainCorlay Noticing that the build_local.sh is not being found in the rtd build.
This happens in this command of my test RTD build
python /home/docs/checkouts/readthedocs.org/user_builds/test-widgets/conda/doc-js/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html

This all looks good to me. Is there anything you want to add to this PR or is it still WIP?

Still a WIP. I haven't yet resolved the Javascript error message even if I swap out the jupyter theme for the standard Sphinx RTD theme.
The Javascript error seems to be caused by the series of npm install commands during build for RTD and the possibility that the extension is not being enabled.

OK, I will look at it tomorrow.

I think that we likely will need to build the docs using master ipywidgets instead of stable release.

Closing this as stale.


Problem with maven build: missing file for test

From<EMAIL_ADDRESS>on January 30, 2014 10:48:54
Hi,
I'm having problems during the build, with one of the tests failing. Could you please help?
Thanks,
Marta Costa
<b>What steps will reproduce the problem?

mvn -X clean package
2.In output:
Failed tests:   testAllIndividuals(owltools.util.MinimalModelGeneratorTest): Requested resource does not exists: src/test/resources/anonClassAssertions.owl

Tests in error:
testGenerateAnatomyDL(owltools.util.MinimalModelGeneratorTest)

<b>What is the expected output? What do you see instead?
The build isn't completed. This is the only test that fails.

<b>What version of the product are you using? On what operating system?
owltools <a href="/p/owltools/source/detail?r=1947">Revision 1947
mac os 10.8.5

<b>Please provide any additional information below.
Apache Maven 3.0.4

Original issue: http://code.google.com/p/owltools/issues/detail?id=90

From<EMAIL_ADDRESS>on January 30, 2014 17:25:13
Thank you for reporting the problem. We have fixed all the failing test.
Status: Fixed


Different metrics/losses for multiple outputs with shared models

I have a small keras model S which I reuse several times in a bigger model B. I take the different outputs of S and want to apply different losses/metrics to all of them, but Keras doesn't let me because all the outputs are given the same name because they're all outputs of S. How can I get around this?
Example:
from keras.layers import Input, Dense, add
from keras.models import Model

# S model
inputs = Input(shape=(100,))
out = Dense(5, activation='relu')(inputs)
out = Dense(100)(out)
S = Model(inputs=inputs, outputs=out)

# B model
inputs = Input(shape=(100,))
out1 = S(inputs)
out2 = S(out1)
out3 = S(out2)
out4 = add([out1, out2, out3])
out4 = S(out4)
B = Model(inputs=inputs, outputs=[out1, out2, out3, out4])

# I want the following losses/metrics to apply:
  # out1: [loss_1, metric_1]
  # out2: [loss_2, metric_2]
  # out3: [loss_3]
  # out4: [loss_4, metric_4_1, metric_4_2]
B.compile(optimizer='rmsprop',
    loss=[loss_1, loss_2, loss_3, loss_4],
    loss_weights=[1.0, 1.0, 1.0, 1.0],
    metrics=[metric_1, metric_2, None, [metric_4_1, metric_4_2]])
# The above compilation doesn't achieve the desired result

I know the example is probably a completely useless network, but it conveys the problem simply.

Hi, maybe I can help. I've worked a bit with multi-outputs networks before. Can you give the error message, or expected output (and actual output).
Thank you.

Hello @chausies,
I think I've had a similar problem with a VGG submodel.
I solved the issue by adding Lambda layer mapping the identity with different names.
Then you can use the dictionary to map correctly the losses.
With you code, it should be something like that :
`
out2 = S(out1)
out3 = S(out2)
out2_custom = Lambda(lambda x:x, name = "out2_custom")(out2)
out3_custom = Lambda(lambda x:x, name = "out3_custom")(out3)
`
Ciao


Invalid function evaluation

The Booster backend applies a simplification rule that should not be applied because the requires clause is not true. This causes an infinite evaluation loop. Actually, it's likely that the Haskell backend does that, but I'm just calling the Booster backend and seeing the results.
The longer story (reproduction details at the end):
While doing property verification for Elrond's pair contract with the Kasmer tool, the execution reaches a point where it has to evaluate a certain expression (hunting through the equation evaluation logs is time consuming, so I didn't try to identify it). When evaluating this expression, the backend tries to evaluate
#getRange(
    SBChunk(#empty(expression-1)) SBChunk(#bytes(b"\x1c\x00\x00\x00")) SBChunk(#bytes(b"\x01")),
    expression-1,
    4
)

To do that, it tries to apply this rule ( https://github.com/runtimeverification/mx-backend/blob/pair-lemmas/kmxwasm/k-src/mx-lemmas.md?plain=1#L122-L125 ):
  rule #getRange(SBChunk(A:SBItem) B:SparseBytes, Start, Width)
      => #splitGetRange(SBChunk(A) B, Start, size(SBChunk(A)) -Int Start, Start +Int Width -Int size(SBChunk(A)))
    requires Start <Int size(SBChunk(A)) andBool size(SBChunk(A)) <Int Start +Int Width

It should not be able to apply this rule because SBChunk(#empty(expression-1)) evaluates to expression-1, and it is false that expression-1 <Int expression-1.
However, expression-1 is actually expression-2 +Int 9974, so when evaluating this, the backend tries to apply various simplification rules, including this one (https://github.com/runtimeverification/wasm-semantics/blob/master/kwasm-lemmas.md?plain=1#L289):
    rule VAL1 +Int VAL2                     <Int MAX => true requires VAL1 <Int MAX andBool VAL2 <Int MAX andBool #distinctBits(VAL1, VAL2) [simplification]

The backend quickly evaluates expression-2 <Int expression-2 +Int 9974 and 9974 <Int expression-2 +Int 9974 to true. However, this rule should not apply because the #distinctBits(VAL1, VAL2) function evaluates to true only in a very specific case (see this: #distinctBits(VAL1, VAL2) ). Indeed, the logs show that the backend attempts to evaluate #distinctBits(expression-2 +Int 9974, expression-2 +Int 9974) and fails, because the simplification rule does not apply.
Regardless, the backend happily applies the rule above and evaluates expression-1 <Int expression-1 to true. Then it applies the #getRange rule above and produces #splitGetRange(bytes-stuff, expression-1, 0, 4) whose evaluation loops because the third arg should never be 0.
Versions:
$ kompile --version
K version:    v6.1.82-0-g8c99ee7740
Build date:   Jo feb 22 23:25:11 EET 2024

$ kore-rpc-booster --version
hs-backend-booster version:
  revision:     6067fee77da53ac357ce5d17ad34e4639070804a
  branch:       HEAD
  last commit:  Tue Jan 16 09:27:16 2024 -0700

Bug report:
weird-function-eval.tar.gz

It is indeed very cumbersome to walk through the simplification logs of the legacy backend.
The case is not simple, if I send simplification requests to either backend, they will go through in reasonable time and yield comparable results. Also, the semantics is extremely complex (takes around 5 minutes to compile the llvm backend library!)
After going through dead-end simplifications for 2 hours, I wonder if it is possible to reduce the test case in some way so we can focus better on the particular simplification that should not be there.

Here's what I noticed while minimizing the example (which is not done yet):
The lemma that should not be applied looks something like:
lemma LHS => RHS requires C1 and C2 and C3
The Haskell backend evaluates C1 and C2 to true. C3 can't be evaluated, so it sends it to the SMT solver. However, when it sends it, it actually sends (not C3) and path-condition, which is unsat. Then it decides that it should apply the rule.
This may make some sense, (or it may not, I don't know yet). However, the part that makes less sense is that the path-condition itself is unsat. To be more precise, the path-condition here is configuration-side-condition and stuff1 < stuff2 and stuff2 <= stuff1, where the stuff1 < stuff2 and stuff2 <= stuff1 part was added when evaluating simplification rules.

it actually sends (not C3) and path-condition, which is unsat. Then it decides that it should apply the rule.
This may make some sense, (or it may not, I don't know yet).

I think it makes sense to conclude path-condition implies C3 from that solver request:
unsat means
forall <free-variables> . not ( not C3 and path-condition),
i.e.,
not path-condition or (not (not C3)),
i.e.
path-condition implies C3

However, the part that makes less sense is that the path-condition itself is unsat. To be more precise, the path-condition here is configuration-side-condition and stuff1 < stuff2 and stuff2 <= stuff1, where the stuff1 < stuff2 and stuff2 <= stuff1 part was added when evaluating simplification rules.

That is indeed very bad, it means we got C3 as an ex-falso conclusion.
In booster, we check satisfiability of all side conditions together after rewrite steps and return #Bottom if we reach sicj an ensures false . The legacy backend might not check that condition? I would have to check.
In any case, thanks for minimising the example, this will be very helpful for fixing the issue!

@jberthold
It took a while, but I did manage to make a much smaller bug report. The number of rules in the semantics is around 80. It takes me ~10 minutes to remove some rules + test that the bug still exists, and I'm at the point where I have to remove rules one at a time. Also, the loop starts much earlier, so there are fewer logs to process (it's around line 80000 with --log-entries DebugSolverSend,DebugSolverRecv,DebugAttemptEquation,DebugApplyEquation, which produces a very verbose log). To find this point, search for the first occurrence of splitGetRange. FWIW, its third argument is evaluated to 0, which causes the loop. As I mentioned before, the rule that produces this splitGetRange should have not been applied, but it is being applied because a stuff <Int stuff condition is being evaluated to true, and the third argument of splitGetRange is actually stuff -Int stuff.
infinite-loop.tar.gz

Thanks for reducing the example, this is quite helpful!

As I mentioned before, the rule that produces this splitGetRange should have not been applied, but it is being applied because a stuff <Int stuff condition is being evaluated to true, and the third argument of splitGetRange is actually stuff -Int stuff

I inspected that rule and where it is applied. Indeed the rule should probably not have been applied, since I don't see how dinstinctBits(...) would have been determined (there is only one equation and it involves #getRange which we don't have in the terms that we need in the #splitGetRange rule.
The 3rd argument in the #splitGetRange expression that I see is SparseBytes:size(SparseBytesItem(SBItem:empty( stuff ))) -Int stuff  where stuff = (-1) *Int divIntTotal(log2IntTotal(ARG_0 +Int (-1000)) +Int 8, 8) +Int 9974, This is not quite the same as stuff - stuff (although I can imagine that SBItem:empty(N:Int)  probably has length N).
Nonetheless, the question is why the rule from kwasm-lemmas.md: 289 was applied without evaluating distinctBits.
Will try to drill a bit deeper...


Some spans are outside the text

Hi again! I've noticed that some spans are outside the text in the discharge summary. For instance, there is a discharge summary with 13 367 characters, but the evidence spans are between 24 740 and 24 787. Have you concatenated the addendums to the discharge summaries or something?

I truncate the text. Therefore, there were some evidence outside of the note


Add support of font-display property

@font-face {
  font-display: swap|auto|fallback;
}

That property still in draft, but already supported by Chrome.
Details.

Thank you @ArmorDarks, will include a test for Opera in the next release.

Fixed on https://github.com/betit/known-css-properties/commit/ba6517d7ec9b7f1e640d1beef328c36526e1d672#diff-488eead074948aa18d9072d416c1f495R362


[Bug]: fail to sync using InfiniCLOUD

What happened?
I am using InfiniCLOUD, which has 20G free space and has an option to turn on Apps Connection as webdav, to sync my notes but the sync process failed at the step of sync. When using the same setting in Remotely Save. It successes.  Not sure how to debug it. Please help have a check.
What OS are you using?
Windows
What remote cloud services are you using?
webdav
Version of the plugin
0.4.31
Version of Obsidian
1.4.16
Using password or not

[ ] Yes.

Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

Hello, sorry about that. Can you please open the console and post a screenshot of the logs you get?
To open the console in Obsidian (note it's an I and not an L):
On Mac: Command + Option + I
On Windows: Ctrl + Alt + I

It seems like it works today! I reset the meta and local cache. Will update if it is gotten failed next time. Thanks:)

A new problem is that remotely save or sync is so memory eagy.
I used to have this problem when using onedrive to sync the notes. Even I turned off the plugin, if the vault is lcoated in an dir of Onedrive, it ate a lot of memory, up to 1~2G. I move the vault to local disk and keep the plugin off, it solved the problem.
I thought webdav may be better, but it seems like I was wrong, today it  cost 700m and I guess it would go up in next hours. Have you met the same problem? Thanks!

I haven't but will take a look and see if there is anything we can do to reduce memory consumption- renaming issue.


The build instructions for Arch Linux demand installing the non existing packages libX11-devel and libxkbfile-devel

In the build instructions for Linux in the section for Arch it says one should execute sudo pacman -S --needed gconf base-devel git nodejs npm libgnome-keyring python2 libX11-devel libxkbfile-devel, but the packages libX11-devel  and libxkbfile-devel don't exist in the Arch repos.
This can be tested by searching for them on the Arch Website or via pacman pacman -Ss libX11-devel.
The the dependencies where added in the context of #12985.
However I could build Atom even without installing these packages. Maybe I already had installed the equivalents of these packages maybe they aren't even necessary on Arch.

I think this should be changed to libx11 and libxkbfile.
Both packages are required by the Xorg packages which most users have installed anyway.

Anyway, the build instructions are not necessary anymore since there is the official atom package in the Community repo.

They are very necessary, especially since the Community version uses mismatched components that often cause hard-to-diagnose bugs.  That distribution makes Atom feel much less polished and bug-free than it actually is.
@MoritzKn I'll change the docs in a bit, especially since:

I'm a bit fuzzy on some of the more obscure package managers,
but Linux users on those platforms can help us improve the
docs if I screwed up the names on those platforms.


migrate to AndroidX

Migrated source code to use AndroidX, and Example to use React Native 0.60.5. Also removed unnecessary files like flow and buck configurations, Gradle wrapper in android, etc... Removed Geolocation module from Example on iOS.
I can compile for Android and iOS versions of the example app, but metro fails to resolve react-native-reanimation from '../src/Animated' via babel configuration.
HELP: Help make metro work for example app.

@kmagiera please review and merge

Duplicate PRs:  https://github.com/kmagiera/react-native-reanimated/pull/383, https://github.com/kmagiera/react-native-reanimated/pull/340, https://github.com/kmagiera/react-native-reanimated/pull/334.
Related issues: https://github.com/kmagiera/react-native-reanimated/issues/374, https://github.com/kmagiera/react-native-reanimated/issues/337, https://github.com/kmagiera/react-native-reanimated/issues/290, https://github.com/kmagiera/react-native-reanimated/issues/288

It wasn't working either

@kmagiera reverted metro.config.js to original version.

cool, thank you

We will fix metro config in follow up PR

Please close duplicate PRs and issues 👍

@kmagiera
it seems #399 should also be closed.


Fixes windows/a7 installation reboots

What does this PR do?
install could cause machine reboots. Rather than using
Microsoft-supplied merge module to install c-runtime, just place our
own copy in our local directory
Motivation
Impact on customer sites
Additional Notes
Need to retest A7 installs on all supported platforms.

Replaced with https://github.com/DataDog/datadog-agent/pull/4939.
Couldn't get clean merge


loads model once?

I'm wondering if this loads the model once and keeps it in memory, or if each call to predictAsync has the overhead of reloading the data?

a bit like this method in a python wrapper:
https://github.com/salestock/fastText.py#load-pre-trained-model-1

Sadly, it reloads the model every time you call the functions. But it's an easy fix and I'll try to make a update ASAP.

@dcsan Actually, I think it's better to rewrite the project to work like fastText.py.

oh ok. so that means you aren't planning to add this feature?

@dcsan I'll try to work on it ASAP. But it will take some time as I'm working on some other projects.

it looks like the python wrapper has its problems in that it's locked to a specific version of fastText, which isn't compatible with files built with newer versions
https://github.com/salestock/fastText.py/issues/115
have you used the python/gensim wrappers at all?

@dcsan I haven't used it. But I don't think this library will have the same problem. Because instead of code binding, this repo simply downloads the latest fastText code, compiles and uses the command line. So as long as the CLI interface doesn't change, this repo is fine.
But the python wrapper has pretty well-organized APIs and documentation so that's what I want to follow.

the gensim wrappers look to provide a lot more depth and API access
https://radimrehurek.com/gensim/models/wrappers/fasttext.html
but they also probably have the same problem with versioning. that's a bigger project though, so may update more quickly.


Same location on multiple vhosts

Hi.
I would like to have one site on several domains with every domain with it's own certificate. With current version, I have to duplicate all locations for every vhost.
It would then (probably) look something similar to:
'/':
  vhost:
    - vhost1
    - vhost2
  www_root: /var/www/my_host

Best regards.

Hi.
Would something like this be apropriate?
https://github.com/MasterMind2k/puppet-nginx/commit/0c56a869dc1e92c7c678854d7b1e0825dfdfcf3a
Best regards.


Add Support for Emojis

👨🍳 🍆 🍽 👍
UGC may feature emojis

so a possible way is generate text with a emoji translator?


Multiple developer sync profiles for different devices and operating systems

Is there a way to get multiple developer profiles for different devices and operating systems?
For example I run VS Code in different scenarios. My PC which runs windows / Linux and my IOT devices (Raspberry pi, Nvidia Jetson.)
I was just curious if you could make it so I don't have to change the extensions, settings and maintain sync so that if I have to reinstall, everything will sync per device instead of one profile for them all or syncing the different machines without recognition or prompting to use a different profile for the different device / OS like it currently is. That way ,my PC has its own profiles per os and the IOT devices have their own profiles per os, per device? I see that different profiles are synced but no recognition or a prompt to ask you what profile to use, it  just uses the last profile.  Hopefully this is a good thing to improve on. it definitely would be easier for some of us that set things up like that. Thanks for reading

/duplicate


Add Nong Song:

Song Name
Parallel Universe Shifter [For osu! mania 4K World Cup 2023 GF Tiebreaker]
Artist Name
Camellia
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=BZy_c83SQck
Direct File Link
No response
Song ID
820171
Start Offset [ms]
No response
Extra
No response

reject
invalid song id + i thought camellia is already in gd


Question: Correct interpretation of summary_plot graph

Hi!
While through the various resources online to understand the shap plots, I ended up slightly confused. Find below my interpretation of the overall plot given in examples -

Shap value 0 for a feature corresponds to the average prediction using all the other possible combinations of features except for the feature of interest. For e.g, shap value 0 for LSTAT corresponds to the average prediction of models having different combinations of features (excluding LSTAT)
Shap value of 4 with respect to 0 means that there is a relative increase in prediction being 1. How do we explain shap values 4, 2, etc. with respect to 0 in layman's terms?
Slight confusion in interpreting the overall graph vs the single point graph (
) -
In a single data point example, the base value/expected value is the average prediction in the entire dataset -> but in the overall plot (referenced at the top) we are saying it is the average prediction without that feature. So things don't add up?

Thank you for your help! @slundberg :)

I`m not sure that I understood your question completely, But my understanding about SHAP (if it be correct :) ) is:

If for one instance (x), the SHAP_value for a feature (LSTAT) is 0, it means that based on SHAP, this feature has no significant effect in the output of the model for this instance`s output, in respect of all the coalition of the features in the model
the SHAP_value = 4 for a feature(f1) does not have specific meaning alone. but in compare of another feature (f2) with SHAP_value = 2 for the same instance, It says that the feature f1 has more effect than feature f2 on the final output of the model
my understanding in general:

the grey values above the axis are the range of predictions.
the bold black value is the prediction for this instance by our ML model.
the red bars illustrate the features with positive SHAP values (push to increase the prediction to class_1). Each red bar represents a feature (LSTAT) and its value (4.98) in the dataset, and the bar`s magnitude represents its SHAP value (feature importance).
the blue bars illustrate the features with negative SHAP values (push to decrease the prediction to class_0). Each blue bar represents a feature (RM) and its value (6.575)in the dataset, and the bar`s magnitude represents its SHAP value (feature importance).
@slundberg , Please let us know if my understanding is right. Thank you


remove a given number from integer array

Remove a given number from an integer array and print new array without that number.
example: An array without the number 9
input:
arr[7]={1,39,9,4,9,16,76}
output=
array[]={ 1,39,4,16,76}

I am Aastha Thorat from SY Comp.
I would like to work on this issue.

Abha Barge FY Comp. Please assign this issue to me.

I am Shreya Agrawal i would like to work on this issue

Abha Barge, start working on this issue
you deadline is 24 march 11.59 pm

@ aastha , rucha this issue is only for FYs
On Wed, Mar 22, 2023 at 4:50 PM Shreya Agrawal @.***>
wrote:

I am Shreya Agrawal i would like to work on this issue
—
Reply to this email directly, view it on GitHub
https://github.com/Mozilla-Campus-Club-Cummins/Spring-of-Code/issues/69#issuecomment-1479382295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6LX3WKAS2QZKXY4G4ON5D3W5LOABANCNFSM6AAAAAAV7NSHNM
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Remove Send constraint on component types.

Problem
Currently, components must implement Sync and Send. However component instances are never sent to another thread, they are only synced with other threads.
Feature
Remove Send constraint on component types.

Seems like it is not possible to remove Send bound for component types:
error[E0277]: `C` cannot be sent between threads safely
   --> crates/modor/src/storages/components.rs:179:36
    |
179 | impl<C> ComponentArchetypeLock for RwLock<ComponentArchetypes<C>>
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `C` cannot be sent between threads safely
    |
    = note: required for `Unique<C>` to implement `Send`
    = note: required because it appears within the type `RawVec<C>`
    = note: required because it appears within the type `Vec<C>`
    = note: required because it appears within the type `TiVec<ArchetypeEntityPos, C>`
    = note: required for `Unique<TiVec<ArchetypeEntityPos, C>>` to implement `Send`
    = note: required because it appears within the type `RawVec<TiVec<ArchetypeEntityPos, C>>`
    = note: required because it appears within the type `Vec<TiVec<ArchetypeEntityPos, C>>`
    = note: required because it appears within the type `TiVec<ArchetypeIdx, TiVec<ArchetypeEntityPos, C>>`
    = note: required for `RwLock<TiVec<ArchetypeIdx, TiVec<ArchetypeEntityPos, C>>>` to implement `Sync`
note: required for `RwLock<TiVec<ArchetypeIdx, TiVec<ArchetypeEntityPos, C>>>` to implement `platform::VariableSync`
   --> crates/modor/src/platform/not_wasm.rs:17:11
    |
17  | pub trait VariableSync: Sync {}
    |           ^^^^^^^^^^^^
note: required by a bound in `ComponentArchetypeLock`
   --> crates/modor/src/storages/components.rs:165:37
    |
165 | trait ComponentArchetypeLock: Any + VariableSync {
    |                                     ^^^^^^^^^^^^ required by this bound in `ComponentArchetypeLock`
help: consider further restricting this bound
    |
181 |     C: Any + VariableSync + std::marker::Send,
    |                           +++++++++++++++++++


Add release_create_waku stage

This stage is needed to release create-waku-app under @waku namespace.

Since I am trying to add auto publishing capabilities to js-waku-examples and js-noise I'd like to understand if the credentials are set on a level of repository or organisation? - @fryorcraken

@weboko I don't think you can have release credentials org wide in npm. you have to create a special token from your profile.
remind me your npm handle and I can add you to the team orga.

@weboko I don't think you can have release credentials org wide in npm. you have to create a special token from your profile.
remind me your npm handle and I can add you to the team orga.

My profile is here https://www.npmjs.com/~weboko


Theano function

I implemented Theano function wrapper. This implementation only support parts of theano functions.
fix #1102

@unnonouno I added comments. Could you check that?

Did you try to use this function?

Did you try to use this function?

Sorry, not yet. I will try it later.

I removed optimize_gpu flag. I'll make this feature in another pr.

I had Chainer v<IP_ADDRESS> and  theano v0.9.0rc3 and observed the errors of the following type while executing tests:
FAIL: test_forward_gpu (test_theano_function.TestTheanoFunctionTwoOutputs_param_2)  parameter: {'inputs': [{'shape': (3, 2), 'type': 'float32'}, {'shape': (), 'type': 'float32'}], 'outputs': [{'shape': (3, 2), 'type': 'float32'}, {'shape': (3, 2), 'type': 'float32'}]}
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<pathto>/chainer/tests/chainer_tests/links_tests/theano_tests/test_theano_function.py", line 59, in test_forward_gpu
    self.check_forward(inputs)
  File "<pathto>/chainer/tests/chainer_tests/links_tests/theano_tests/test_theano_function.py", line 41, in check_forward
    func = self.make_func()
  File "<pathto>/chainer/tests/chainer_tests/links_tests/theano_tests/test_theano_function.py", line 133, in make_func
    return links.TheanoFunction([x, y], [z, w])
  File "<pathto>/chainer/lib/python2.7/site-packages/chainer/links/theano/theano_function.py", line 90, in __init__
    disconnected_inputs='ignore')
  File "<pathto>/theano/lib/python2.7/site-packages/theano/gradient.py", line 470, in grad
    assert isinstance(known_grads, OrderedDict) or len(known_grads) <= 1, m
AssertionError: known_grads must be an OrderedDict.

Could you please suggest the version of theano that is required for the these tests to pass.

Oh, thank you for reporting problem. We are using the latest stable 0.8.2.
BTW, we want to support latest version of theano. So, i'll fix this problem.

I made a patch #2403


How do I configure the temperature, max_tokens, and top_p parameters using the PowerShell command Invoke-OAIChat?

Hi everyone,
I'm currently using the Invoke-OAIChat command in PowerShell to interact with the Azure OpenAI API. I would like to know how to configure the temperature, max_tokens, and top_p parameters to control the randomness, length, and nucleus sampling of the responses, respectively. Could someone provide an example of how to set these parameters within the command?
Thanks in advance for your help!

@EelcoLabordus Thanks for tryong PSAI. Does Invoke-OAIChatCompletion work for you? I has those parameters.


Specify name of zip file uploaded to s3 while running "sam package"

Describe your idea/feature/enhancement
Every time I run command "sam package", it create a zip file with optional name then upload this zip file to s3. So, this command will create many zip file in s3 when I run "sam package" multiple time.
Proposal
It's good to specify a name of zip file which is uploaded to s3 when run "sam package"

:+1  any update on this?  My S3 bucket is filled with old zip files I think the whole name won't do because cloudformation needs to know when the zip file has been updated. A better option would be to add a prefix.

The --s3-prefix option exists today, and you can use this to prefix any of the auto-generated names using any scheme you like (S3 folder style or prefixes). For example:
sam package --output-template packaged.yml --s3-bucket my-source-bucket --s3-prefix "my-project/"

This works but still, it would be better to have a name of the zip file rather than just random string.
Also, would be it worth having a command to just create the zip file?


Minute Step

How can we increase minute step.
Currently it is 5 min state for time picker, how to change that ?

No sorry, this is not currently a setting that can be changed. You can disable minute selection with the disableMinute: true option. Would welcome a PR for this functionality.

Okay thanks

Here's my version with minuteStep settings. You can use any integer divisor of 60.
https://github.com/domialex/Semantic-UI-Calendar

Great work from @domialex , would love to see this go in the master to use in my project @mdehoog  ;)


x/vuln: support recursive replace directives

Note that cmd/go itself does not allow replace directives to be recursive. (Only the directives from the main module are in effect.) Not sure if that changes what you want to do in x/vuln. 🤔

I think this refers to replace directives who's target is replaced by another replace directive in the same go.mod

I don't think those are recursive either. (In theory you could do a path-swap that way, but in practice it shouldn't be possible because the module declarations in the go.mod file won't match.)

Hmm, it lets you declare it, but then does not use it
a go.mod with
replace golang.org/x/text v0.9.0 => golang.org/x/text v0.5.0
replace golang.org/x/text v0.5.0 => golang.org/x/text v0.3.0
require golang.org/x/text v0.9.0

is valid, but will use golang.org/x/text v0.5.0 not golang.org/x/text v0.3.0 according to go list
maybe that should be an error?
Either way, it seems like there is nothing to do for govulncheck


Updating a player's score in high-score-board has an undefined behavior.

The exercise of updating a player's score has an undefined behavior that is a teachable opportunity. The undefined behavior is what should happen when an attempt is made to update the score of a player who has not been added. There are two possibilities:

No change should occur (in which case the exercise should test for that and the student should guard against attempting to change a non-exesitant key in the dictionary)
The new player should be added (in which case the student should use the dictionary's key base subscript with a default value (sorry I couldn't find a better reference)

I can submit a PR for either behavior, but don't know which to prefer teaching.
https://github.com/exercism/swift/blob/f5e15a309465f55441de1f719a409aa1cf97badb/exercises/concept/high-score-board/.docs/instructions.md?plain=1#L56

A third option is to add this undefined behavior as a topic for mentoring.   So the PR might be an addition to the mentor notes rather than the tests.


Long-running task leads to error in GitHub workflow action

We are using DVCLive in combination with DVC+CML to monitor training runs on our GitHub CI runner. This works fine, however, when the training lasts longer than 24 hours, then at the end of that training we ran in to the following error on GitHub:

Unable to extend GITHUB_TOKEN expiration time due to: GITHUB_TOKEN has expired.

We assumed this is a typical problem with the GITHUB_TOKEN, since that cannot be used for longer than 24 hours in any GitHub workflow action. However, even when we use a GitHub Personal Access Token (PAT), we still run into the same problem. At the end of the training the runner produces the following stack trace:
 Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/dulwich/file.py", line 147, in __init__
    fd = os.open(
FileExistsError: [Errno 17] File exists: '/__w/micromacro/micromacro/.git/index.lock'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/__w/micromacro/micromacro/src/dvc/yolo-trainer.py", line 77, in <module>
    with Live(report="md") as DVC:
  File "/opt/conda/lib/python3.10/site-packages/dvclive/live.py", line 463, in __exit__
    self.end()
  File "/opt/conda/lib/python3.10/site-packages/dvclive/live.py", line 419, in end
    self._ensure_paths_are_tracked_in_dvc_exp()
  File "/opt/conda/lib/python3.10/site-packages/dvclive/live.py", line 477, in _ensure_paths_are_tracked_in_dvc_exp
    self._dvc_repo.scm.add(paths_to_track)
  File "/opt/conda/lib/python3.10/site-packages/scmrepo/git/__init__.py", line 286, in _backend_func
    result = func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/scmrepo/git/backend/dulwich/__init__.py", line 280, in add
    self.repo.stage(files)
  File "/opt/conda/lib/python3.10/site-packages/dulwich/repo.py", line 1358, in stage
    index.write()
  File "/opt/conda/lib/python3.10/site-packages/dulwich/index.py", line 318, in write
    f = GitFile(self._filename, "wb")
  File "/opt/conda/lib/python3.10/site-packages/dulwich/file.py", line 91, in GitFile
    return _GitFile(filename, mode, bufsize, mask)
  File "/opt/conda/lib/python3.10/site-packages/dulwich/file.py", line 153, in __init__
    raise FileLocked(filename, self._lockfilename) from exc
dulwich.file.FileLocked: ('/__w/micromacro/micromacro/.git/index', '/__w/micromacro/micromacro/.git/index.lock')

We thought we could solve this problem with the use of a PAT, but as said, the problem still persists. So this seems to be either a bug with DVCLive, or we are doing something wrong within our GitHub workflow. For your reference, here are the relevant parts of that workflow:
jobs:
  train-and-report:
    if: "contains(github.event.head_commit.message, '[TRAIN]')"
    timeout-minutes: 10080  # 1 week
    runs-on: [self-hosted, gpu, cml]
    # ...

    steps:
      # ...

      - uses: iterative/setup-cml@v1
        env:
          CML_TOKEN: ${{ secrets.CML_REPO_TOKEN }}  # We store our PAT in CML_REPO_TOKEN

      - name: Train model
        env:
          REPO_TOKEN: ${{ secrets.CML_REPO_TOKEN }}
          GITHUB_TOKEN: ${{ secrets.CML_REPO_TOKEN }}
          STUDIO_TOKEN: ${{ secrets.DVC_STUDIO_TOKEN_MFB }}
          STUDIO_REPO_URL: git@github.com:${{ github.repository }}.git
        run: |
          # ...
          # Run DVC experiment
          dvc exp run --force  # <-- At the end of this it seems the error shown above happens
          dvc push --remote aime
          cml pr --squash --skip-ci .
          # ...

What do you think - bug in DVCLive or an issue with our use of a PAT on GitHub?

What do you think - bug in DVCLive or an issue with our use of a PAT on GitHub?

I am going to try to reproduce.
In the meantime, I might send a patch in DVCLive to catch the exception so it doesn't cause a failure of the whole execution

@daavoo Did you have any luck reproducing this? At the moment this is a show stopper for us, as we cannot train a model for more than 24 hours, which is necessary for some projects. How do you recommend to run experiments on GitHub for more than 24 hours, with respect to this GITHUB_TOKEN issue?

Sorry @haimat , I haven't yet.
On the GITHUB_TOKEN, I think there is no workaround but to use a PAT.
I have pushed a new DVCLive release that would hopefully catch the error you were facing.
Could you try using pip install dvclive == 2.8.1 and a PAT token?

Clearly I cannot be the first of your users who train for longer than 24 hours, right?!

No real idea 😅
It might be that because some of the CML functionalities already require a PAT, people already set up that and didn't encounter the "token timeout" related to the default token Github provides 🤷
I do remember some timeout issues reported, but they were about the runners, which is why in the docs there are explicit mentions and examples on how to extend the default "runner timeout" with timeout-minutes:
https://cml.dev/doc/self-hosted-runners#allocating-cloud-compute-resources-with-cml

The traceback looks more like a race condition than the issue with token. DVC is trying to write locally and git's index is locked because of something else is trying to modify the index at the same time. The issue also happens time to time in our dvc tests.
Is that all the traceback?

@skshetry Yes, that's the whole traceback. It might be related to the callbacks we use with our YOLOv8 training, don't know for sure though. I could think of the following related steps in our workflow:

dvc_live.next_step() called at the end of every training epoch
dvc_live.make_dvcyaml() called at the end of every training epoch (to avoid this issue)
dvc_live.log_image(f, img) called once at the end of the whole training
at the end of the with dvclive.Live() block, which encapsulates the whole training

At which point would DVC try to write to the local git index?

Sorry i meant dvclive not dvc. The error is raised at Live.end() which means that it is exiting the block successfully or exiting because of an exception. And I don’t see any traceback from that.

OK, your last update fixed this issue 👍


Docker instance won't scrape

What did you do?
Run prometheus as docker instance.
What did you expect to see?
Scrapes running.
What did you see instead? Under which circumstances?
No scrapes are run, both prometheus and mine target are listed as unknown.
Note that service of mine (airpoll) is very simple.
Environment
Ubuntu/docker 17.05.0-ce

System information:
Linux 4.4.0-83-generic x86_64

Prometheus version:
1.7.1

Prometheus configuration file:

insert configuration here

Alertmanager configuration file:

scrape_configs:
  # Scrape Prometheus itself every 5 seconds.
  - job_name: 'prometheus'
    scrape_interval: 5s
    static_configs:
      - targets: ['localhost:9090']

  # Scrape the Node Exporter every 5 seconds.
  - job_name: 'airpoll'
    scrape_interval: 5s
    static_configs:
      - targets: ['airpoll:1234']

Logs:

airprometheus_1  | time="2017-07-12T08:46:08Z" level=warning msg="Flag -storage.local.memory-chunks is deprecated. Its value 2500 is used to override -storage.local.target-heap-size to 7680000." source="config.go:317"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Starting prometheus (version=1.7.1, branch=master, revision=3afb3fffa3a29c3de865e1172fb740442e9d0133)" source="main.go:88"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Build context (go=go1.8.3, user=root@0aa1b7fc430d, date=20170612-11:44:05)" source="main.go:89"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Host details (Linux 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 953a61dde346 (none))" source="main.go:90"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" source="main.go:252"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Loading series map and head chunks..." source="storage.go:428"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="0 series loaded." source="storage.go:439"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Starting target manager..." source="targetmanager.go:63"
airprometheus_1  | time="2017-07-12T08:46:08Z" level=info msg="Listening on :9090" source="web.go:259"
airprometheus_1  | time="2017-07-12T08:46:09Z" level=warning msg="Storage has entered rushed mode." chunksToPersist=0 memoryChunks=0 source="storage.go:1867" urgencyScore=1
airprometheus_1  | time="2017-07-12T08:46:09Z" level=error msg="Storage needs throttling. Scrapes and rule evaluations will be skipped." chunksToPersist=0 memoryChunks=0 source="storage.go:1007" urgencyScore=1

Usage questions should be asked on https://groups.google.com/forum/#!aboutgroup/prometheus-users

From your logs it is clear that you don't have enough memory. But what is surprising is that you ran out of memory for just 2 targets.
Give your prometheus enough memory and it should work. This has been closed as it is not a bug in Prometheus itself.

@Gouthamve Yes, it is odd even more so because before the update (to 1.7.1) it just worked. Ctop is showing that prometheus is using 17M/983M available. By give it more memory what did you think: at docker level?

Looks like I've found the issue.
First I was using (deprecated)
-storage.local.memory-chunks=2500
It was working with the older prometheus but not with the current one. So I removed and tried this one:
-storage.local.target-heap-size=20485760
It worked sometimes, almost randomly.
At the end I just removed the last one and now it works.

time="2017-07-21T05:14:09Z" level=info msg="Storage does not need throttling anymore." chunksToPersist=11127 memoryChunks=247856 source="storage.go:990" urgencyScore=0.583
time="2017-07-21T05:14:17Z" level=warning msg="Storage has entered rushed mode." chunksToPersist=11122 memoryChunks=242511 source="storage.go:1842" urgencyScore=1
time="2017-07-21T05:14:17Z" level=error msg="Storage needs throttling. Scrapes and rule evaluations will be skipped." chunksToPersist=11090 memoryChunks=242511 source="storage.go:982" urgencyScore=1
time="2017-07-21T05:14:44Z" level=info msg="Storage has left rushed mode." chunksToPersist=9858 memoryChunks=242297 source="storage.go:1832" urgencyScore=0.644
prometheus version is 1.6.1  run in docker container
why io is continuously  reduce ?

Hi @MihaMarkic ,

Hi @MihaMarkic ,
I almost met the same issue and fixing method with you, I was using v1.8.2.
I used to use storage.local.memory-chunks but now still using -storage.local.target-heap-size.
It's always crasing these days and tells me OOM.
Can I ask:

At the end I just removed the last one and now it works.
Which one did you remove and what is the configuration you are using?

Thanks,

@suanziliu Probably I just removed -storage.local.target-heap-size.


Improve Prismic preview experience

Type
🐛 Bug
Reports from the content team are that it's taking up to an hour for changes they're making to be visible at the preview URLs.
Confirmed with @gestchild that the /preview routes are missing Cloudfront (as desired). @jamesgorrie any ideas on why information from the API might be stale (or any other ideas on this)?

Closed in #1587?


feat: goose hide/show hotkey + tray icon

If you command Q, goose just hides but stays in tray
command shift G to bring up goose!

The launcher works for me - nice! Two things I notice though:

I sometimes get inconsistent states with what's in the menu bar and what's window is open. I think we should remove the menu bar icon completely if the user quits via that path and right now I see it still remains + shows a blank window if I click "Show Sindow" again after quitting

The icon looks big for me compared to others (and not switching to white stroke when computer is in dark mode, though that's a smaller thing)

Attaching screen showing both. I can look tomorrow if there aren't obvious answers!

@alexhancock not sure I follow by "menu bar icon"?

next things to do/try @alexhancock:

Menu bar icon fix
Menu bar quit fix (I think?)
hotkey I think should be control+option+command+G
hotkey should open new spotlight style window asking for tasks - pressing enter results in a new window

 - not entirely happy - but interesting.
I do wonder if we do away with tabs and try something else (@baxen's thoughts):

When we start a goose task, it's a "job to do"
That task is more like list of running "things"

almost like we want an interstitial screen which would show the goose windows (vs tabs) and then can click in to them? (will look for something like it to be clearer)

@alexhancock can we close this in favour of wing-to-wing?

Superceded by the work in progress in https://github.com/block/goose/tree/alexhancock/wing-to-wing


luci-app-adblock: duckduckgo does not appear in Limit SafeSearch selection box

go to: Service → Adblock → General Settings (Enable SafeSearch) → Limit SafeSearch

Adding duckduckgo via uci seems to be working.
# uci show adblock.global.adb_safesearchlist
adblock.global.adb_safesearchlist='google' 'bing' 'duckduckgo'
# grep duckduckgo /tmp/adb_list.overall
local-data: "duckduckgo.com A <IP_ADDRESS>"

Updates using the UI remove duckduckgo from the config.


Bug: Connection with database

I was not able to connect with database , regardless whatever I tried by finding on forums, then out of blue I changed #defaultGroup value in Database.php to some other and it worked.
SO I changed this:
	public $defaultGroup = 'default';
	public $default = [

To
	public $defaultGroup = 'defaultOther';
	public $defaultOther = [

ant it was working fine.

Can you provide more details? Such as CI4 version, configuration details, DB, the error message you're getting and other useful information. With just the information you've provided it does not appear to be a bug.

Can you provide more details? Such as CI4 version, configuration details, DB, the error message you're getting and other useful information. With just the information you've provided it does not appear to be a bug.

This is fresh installed with composer. I have tried on a Mac and Ubuntu server.
Error:
CodeIgniter\Database\Exceptions\DatabaseException Unable to connect to the database. Main connection [MySQLi]: Access denied for user '****'@'localhost' Using Password (YES)
The solution I tried:

replaced localhost with <IP_ADDRESS>
replace root password in mysql
delete root and created again
created another user
restarted services

Below details from Mac:
php -v
PHP 7.4.19 (cli) (built: May 13 2021 06:28:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

composer.json:
{
	"name": "codeigniter4/appstarter",
	"type": "project",
	"description": "CodeIgniter4 starter app",
	"homepage": "https://codeigniter.com",
	"license": "MIT",
	"require": {
		"php": "^7.3||^8.0",
		"codeigniter4/framework": "^4",
		"benedmunds/codeigniter-ion-auth": "4.x-dev",
	},
	"require-dev": {
		"fakerphp/faker": "^1.9",
		"mikey179/vfsstream": "^1.6",
		"phpunit/phpunit": "^9.1",
	},
	"suggest": {
		"ext-fileinfo": "Improves mime type detection for files"
	},
	"autoload": {
		"psr-4": {
			"App\\": "app",
			"Config\\": "app/Config",
			"Simps\\MQTT\\": "vendor/simps/mqtt/src/"
		},
		"exclude-from-classmap": [
			"**/Database/Migrations/**"
		]
	},
	"autoload-dev": {
		"psr-4": {
			"Tests\\Support\\": "tests/_support"
		}
	},
	"scripts": {
		"test": "phpunit"
	},
	"support": {
		"forum": "http://forum.codeigniter.com/",
		"source": "https://github.com/codeigniter4/CodeIgniter4",
		"slack": "https://codeigniterchat.slack.com"
	},
	"minimum-stability": "dev",
	"repositories": {
		"ionAuth": {
			"type": "vcs",
			"url": "git@github.com:benedmunds/CodeIgniter-Ion-Auth.git"
		}
	}
}

nginx -V
nginx version: nginx/1.19.9
built by clang 12.0.0 (clang-1<IP_ADDRESS>)
built with OpenSSL 1.1.1k  25 Mar 2021
TLS SNI support enabled
configure arguments: --prefix=/usr/local/Cellar/nginx/1.19.9 --sbin-path=/usr/local/Cellar/nginx/1.19.9/bin/nginx --with-cc-opt='-I/usr/local/opt/pcre/include<EMAIL_ADDRESS>--with-ld-opt='-L/usr/local/opt/pcre/lib<EMAIL_ADDRESS>--conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-compat --with-debug --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-ipv6 --with-mail --with-mail_ssl_module --with-pcre --with-pcre-jit --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module

mysql -V
mysql  Ver 15.1 Distrib 10.5.9-MariaDB, for osx10.16 (x86_64) using readline 5.1

Two options. Either your MySQL is using the non-default port or you're also using .env file and forgot to change some settings there. There is no possibility that simply changing the group name with the same credentials inside the config array will work in one case and in another not.


Attachment renders differently when embedded inside Govspeak

The Attachment component renders slightly differently when it's embedded inside Govspeak.
The most visible difference is that the "Request an accessible format." option is not styled as a hyperlink. However when jumping directly between the two, it also looks like there are slight differences in the line heights or spacing of text.
Screenshots

Standalone attachment
Embedded in Govspeak content

Visual diff

Examples on GOV.UK
This page contains standalone attachments (i.e. they're not embedded inside Govspeak content):
https://www.gov.uk/government/statistics/klebsiella-species-bacteraemia-monthly-data-by-location-of-onset
This page contains attachments embedded inside the Govspeak content:
https://www.gov.uk/government/news/report-072023-embankment-washout-under-a-passenger-train-at-haddiscoe

Closing this issue as it was fixed on this PR - https://github.com/alphagov/govuk_publishing_components/pull/3668
Thanks @andysellick for fixing 👍


Problems when fine-tune BEiT3 on VQA

Thank you for your excellent work!
I cannot reproduce your result when I'm fine-tuning  BEiT3 following your guidance get_started_for_vqav2.md. I'd appreciate it if you can give me some suggestions.
Describe
I'm using 8 40G-A100 for fine-tuning, and not using docker but using conda environment. The other setups are the same as the guidance.
I've tried to train BEiT-3 base and BEiT-3 large with the script you provided, but there is still a big gap between my implementation performance and yours, as shown in the table:

Dataset
Model
Official Result
My result

VQAv2 val.
beit3_base
86.1%
74.40%

VQAv2 test-dev
beit3_base
77.65%
73.1%

VQAv2 test-dev
beit3_large
81.85%
68.8%

The train loss and accuracy looks fine (as follows), and I also upload the log, conda list and tensorboard file here: beit3 finetune log.

I'd appreciate it if you can help me. Thank you very much!

May I ask how did you download beit-v3 pre-trained weights?
I got PublicAccessNotPermitted error when trying to download beit-v3 pre-trained weights from https://conversationhub.blob.core.windows.net/beit-share-public/beit3/vqa/beit3_base_patch16_480_vqa.pth

PublicAccessNotPermitted
Public access is not permitted on this storage account. RequestId:c41c88a3-901e-0059-75cf-997f8e000000 Time:2023-06-08T06:06:09.4120160Z

May I ask how did you download beit-v3 pre-trained weights? I got PublicAccessNotPermitted error when trying to download beit-v3 pre-trained weights from https://conversationhub.blob.core.windows.net/beit-share-public/beit3/vqa/beit3_base_patch16_480_vqa.pth
<Error> PublicAccessNotPermitted <Message>Public access is not permitted on this storage account. RequestId:c41c88a3-901e-0059-75cf-997f8e000000 Time:2023-06-08T06:06:09.4120160Z</Message> </Error>

May I ask how did you download beit-v3 pre-trained weights? I got PublicAccessNotPermitted error when trying to download beit-v3 pre-trained weights from https://conversationhub.blob.core.windows.net/beit-share-public/beit3/vqa/beit3_base_patch16_480_vqa.pth
<Error> PublicAccessNotPermitted <Message>Public access is not permitted on this storage account. RequestId:c41c88a3-901e-0059-75cf-997f8e000000 Time:2023-06-08T06:06:09.4120160Z</Message> </Error>

I download the pretrained weight according to their table here: https://github.com/microsoft/unilm/tree/master/beit3#fine-tuning-on-vqav2-visual-question-answering.
For example, beit3_base_patch16_224.


Fix island ordering bug

Rendering an island that was instantiated inside an island, but was rendered outside of said island in another component, triggered an edge case which would lead to duplicated HTML. We were missing a check for when an island ends up being nested in another one to keep the current vnode stack in sync.
Fixes the duplicate HTML issue mentioned in #1491 .
Before:

After:

Added a commit that fixes a very related issue where the ordering got wrong in Preact 10.16.0. It has to do with it calling insertBefore instead of appendChild like in Preact 10.15.1. That uncovered a bug in our insertBefore shim.

Merging myself, since both users of the two related issues confirmed that the changes resolve it. The changes are harmless too and have tests in place as well.


Xniffer

Xniffer - A swift network profiler built on top of URLSession. :large_orange_diamond:

Fixed in #2105


Improve crash dialog

Add error information and make sure the user knows that the
problem is not normal and should be reported to the issue tracker.
This branch is based on the syntaxerror branch submitted in PR #33.

whoops, didn't mean for it to go into master. Oh well, not a problem.


Do not show extra CHILDREN in navigator without jsx element render props.

Problem:

We only show render props with jsx elements in them
We show CHILDREN label before normal children when there ar render props before them
We accidentally show the children label even when it has other render props, but not with jsx elements in them (so they are not shown)

Fix:
Only set renderPropFound to true when we can really insert something into the navigator targets

Can you add a sample project to this please, because I'm struggling to understand this one


support expressions with no side-effects

useful for macros and fixes a minor annoyance

@Chris-Hawblitzel this seems fine to me but i'm not sure. The implementation for check_unit_or_never has this comment:
            // REVIEW: we could lift this restriction by putting exp into a dummy VIR node:
            // (we can't just drop it; the erasure depends on information from VIR)

I don't really know what this means -- ast_to_sst doesn't propagate any information to erasure, does it? -- but it's an old comment, so I think it might just be out-of-date.

I think check_unit_or_never can be removed.  I don't think the comment I wrote in it makes sense, since erasure uses VIR-AST, not VIR-SST.


gstreamer1.0-plugins-base: respect opengl DISTRO_FEATURES when vc4gra…

…phics is in MACHINE_FEATURES
No virtual/egl provider is available in the default setup with
vc4graphics enabled and neither opengl nor vulkan in DISTRO_FEATURES:
$ bitbake -e virtual/egl | tee env.egl
ERROR: Nothing PROVIDES 'virtual/egl'
vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp
vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics
$ bitbake -e userland 2>&1 | tee env.userland
ERROR: Nothing RPROVIDES 'libegl-mesa' (but /jenkins/mjansa/build-ros/ros2-dashing-warrior/meta-raspberrypi/recipes-graphics/userland/userland_git.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libegl-mesa' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libegl-mesa']
ERROR: Required build target 'userland' has no buildable providers.
Missing or unbuildable dependency chain was: ['userland', 'libegl-mesa']
$ bitbake -e mesa 2>&1 | tee env.mesa
ERROR: Nothing PROVIDES 'mesa'
mesa was skipped: one of 'vulkan opengl' needs to be in DISTRO_FEATURES
$ bitbake -e vc-graphics-hardfp 2>&1 | tee env.vc-graphics-hardfp
ERROR: Nothing PROVIDES 'vc-graphics-hardfp'
vc-graphics-hardfp was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp
There is unbuildable dependency on virtual/egl from gstreamer1.0-plugins-base because:

gstreamer1.0-plugins-base depends on virtual/egl because of "egl" PACKAGECONFIG

"egl" PACKAGECONFIG is enabled by
meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
PACKAGECONFIG_GL_rpi = "egl gles2"
without respecting the "opengl" in DISTRO_FEATURES like the recipe in oe-core does
openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.4.bb:
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"

virtual/egl is provided either by:

userland (only without vc4graphics in MACHINE_FEATURES):
meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
mesa (selected with vc4graphics in MACHINE_FEATURES)
meta-raspberrypi/conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
vc-graphics(-hardfp)
meta-raspberrypirecipes-graphics/vc-graphics/vc-graphics.inc:PROVIDES = "virtual/libgles2 virtual/egl"

vc-graphics(-hardfp) recipe are skipped in default setup, because with vc4graphics being
in MACHINE_FEATURES by default since:
https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f
the PREFERRED_PROVIDER_virtual/libgles2 is set to mesa in:
conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
resulting in skipping the other virtual/libgles2 providers:
vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp
vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics

mesa is skipped when neither opengl nor vulkan are in DISTRO_FEATURES

userland doesn't provide virtual/egl because we have the default vc4graphics
meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
and it cannot be built anyway, because with the default vc4graphics it depends on libegl-mesa:
meta-raspberrypi/recipes-graphics/userland/userland_git.bb:RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
and libegl-mesa is provided only by mesa recipe from oe-core which in turn
requires either "opengl" or "vulkan" to be in DISTRO_FEATURES

This causes a lot of unresolved dependencies in default setup with vc4graphics but without opengl.

with Yocto 2.6 Thud and older it worked, because vc4graphics wasn't enabled by default before:
https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f

To build gstreamer1.0-plugins-base with egl PACKAGECONFIG enabled you have 2 options:
A) Just add "opengl" to DISTRO_FEATURES and use the default vc4graphics with mesa providing virtual/egl
B) Use DISABLE_VC4GRAPHICS added in
https://github.com/agherzan/meta-raspberrypi/commit/96c8459c9363cc6bf463aedf4d24f92a1ee7d6ba
to explicitly disable vc4graphics and use userland to provide virtual/egl
Signed-off-by: Martin Jansa<EMAIL_ADDRESS>
- What I did
- How I did it

@kraj You have introduced this PACKAGECONFIG_GL override long time ago in 12aa27df80f32785fb4b498c51a35cc1be1814a9 please check if it still works fine for you.
But I think it should, it only removes it in strange corner case of vc4graphics being enabled and opengl missing in DISTRO_FEATURES which wasn't working before anyway as explained in the long commit message.

Added @kraj for a short review - it looks alright to me.

Cheers @kraj


Event listeners for plugin lifecycle methods

Feature Proposal
Event listeners for plugin lifecycle methods. Rather than needing to create a "standardized" plugin object which lives within the chart ecosystem, you could easily just attach some listeners to an instance of a plugin in certain situations, and remove them imperatively. This would make it much easier to have UI separate from the chart which reflects data of the chart (ex. a custom React legend, which shows all the datasets and allows toggling).
Today it seems like chart.platform.addEventListener supports things like clicks and mouse moves, but not plugin lifecycle methods like "afterUpdate"
Possible Implementation
Simply exposing a function chart.addEventListener('afterUpdate', fn) allowing users to add listeners.
This could be hacked today by adding a custom plugin which attaches an "events" object to Chart instances, allowing callers to hook into any of the plugins methods.

@alex-statsig in my opinion that's good catch!!! it would simplify the life whom needs to do a simple customization to. Anyway I have some doubts about the proposal and the name of the methods because the plugin hooks as synch invocation and not event. Maybe chart.addListener('afterUpdate', fn) sounds better to me.
Let me take time because I would like to submit a PR for this.

That's fair, my usecase was centered around reacting to the data or hovered elements changing (for a custom React legend). But I can see how for usecases that want to hook into the drawing lifecycle, this wouldn't work. I think if hooking into drawing, the existing plugins works fairly well, so maybe we don't need to worry about that case

well, I understand. The problem is that new features like this should address many use cases and do not have constraints which reduce the usage from the users. In this case, we could add the listeners (FYI I have already done it in my private branch and it works) but it's limited on its usage and I think the community will not accept it (and could make sense it).
I was also thinking to use the canvas instance as event target but the plugin hooks must be synchronously invoked because the callback can return a value needed in the chart logic/behavior.
Therefore, not easy... Let me still think about it.


docs(tuning_system): 📖 rename old ratioFromNote examples

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1071

Relevant Lines:
1071

💛  - Coveralls


Added Keras linting + linting CI + refactored accordingly

Changes:

Linting is performed for each push, PR, and on workflow dispatch
Same linting/format checks as in Keras is performed
Ubuntu 18.04 deprecated in Actions - used 20.04 instead for PyPI CI
PyPI CI was ran for each push, but now is only performed for workflow dispatches
Note the added shell/ scripts and setup.cfg which are the exact same Keras uses.

@andreped could you please resolve the conflict? Then we're good to go...

@andreped could you please resolve the conflict? Then we're good to go...

No worries. Just fixed the merge conflict.

@andreped Thanks for your contribution =)


fix: updated information about the e-lab from the home page

The alignment here is strange. Please have a look again


Add types

Add support for decimal type #43 and timestamp type #37
decimal type has optional parameters precision and range (spark default are 10 and 0).
example:
"decimal_field": {
  "type": "decimal",
  "precision": 38,
  "range": 18
}

when using a timestamp field you may provide a format on loading the data, e.g.
sparkSession.read.schema(schema).options(Map("timestampFormat" -> "yyyy-MM-dd HH:mm:ss")).json("path/to/data")

Support of timestamp and decimal datatypes would be very interesting. Is there a plan to merge this PR?


enhance getting user farms and user nodes

we are getting user farms in  UserFarms component;
https://github.com/threefoldtech/tfgrid-sdk-ts/blob/20430ac045834def9400139218d57aa33817aaa4/packages/playground/src/components/dashboard/portal/user_farms.vue#L207-L213
Also, we are doing the same in UserNodes before getting user nodes:
https://github.com/threefoldtech/tfgrid-sdk-ts/blob/20430ac045834def9400139218d57aa33817aaa4/packages/playground/src/components/dashboard/portal/user_nodes.vue#L216-L227
we are using both component in the same view, so i suggest binding user farm ids to user nodes component to reduce the time and number of requests

#1504
#1507

Verified, Devnet 5c12959.
The code has improved, and the listing on farms and nodes is still working fine.

And same for no nodes or farms.


[Feature Request]: Implement end-to-end encryption for secure communication.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Implement end-to-end encryption for messages in the chat application to enhance security and user privacy. This feature will ensure that only the intended recipients can read the messages, making the communication more secure against unauthorized access.
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

If u have any problem please open a question/answer tab in the discussion section of this repo plz it would be helpful


create a swag store

We keep getting requests for more Heat Seek swag like t-shirts and hoodies. Let's integrate with Shopify, Printfection, WooCommerce, whoever. The main challenge is finding someone who will handle sourcing, shipping, and billing so we can just provide the designs up-front and leave it running. We're not a t-shirt company, let's not get bogged down in retail.

I've got a bunch of solutions to this. Let's talk.
On Apr 7, 2016 10:57 AM, "William Jeffries"<EMAIL_ADDRESS>wrote:

We keep getting requests for more Heat Seek swag like t-shirts and
hoodies. Let's integrate with Shopify, Printfection, WooCommerce, whoever.
The main challenge is finding someone who will handle sourcing, shipping,
and billing so we can just provide the designs up-front and leave it
running. We're not a t-shirt company, let's not get bogged down in retail.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/heatseeknyc/heatseeknyc/issues/139


Active Directory Authentication Issue

@gamafranco @cairo140
Thought I would create a separate issue to resolve my problem.
I modified my connection to match what i thought should be right. When i run the following command in rails console it returns true.
Devise::LdapAdapter.valid_credentials?('myusername', 'mypassword')
However, when i attempt to put these details in the login page of my application it does not log in. When I look at the rails server log it doesn't seem to be doing anything against LDAP. See the POST action below.
Started POST "/users/sign_in" for <IP_ADDRESS> at 2011-10-20 08:46:25 +1000
  Processing by Devise::SessionsController#create as HTML
  Parameters: {"utf8"=>"Γ£ô", "authenticity_token"=>"u86KVD938HZreSoF2UJHW5A+M/U
kRh/1fKHEaQI28o8=", "user"=>{"username"=>"stittc", "password"=>"[FILTERED]", "re
member_me"=>"0"}, "commit"=>"Sign in"}
  ←[1m←[35mUser Load (1.2ms)←[0m  EXEC sp_executesql N'SELECT TOP (1) [users].*
FROM [users] WHERE [users].[username] = N''stittc'''
Completed   in 124ms
  Processing by Devise::SessionsController#new as HTML
  Parameters: {"utf8"=>"Γ£ô", "authenticity_token"=>"u86KVD938HZreSoF2UJHW5A+M/U
kRh/1fKHEaQI28o8=", "user"=>{"username"=>"stittc", "password"=>"[FILTERED]", "re
member_me"=>"0"}, "commit"=>"Sign in"}
Rendered devise/shared/_links.erb (0.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (16.7ms)
Completed 200 OK in 29ms (Views: 17.8ms | ActiveRecord: 3.6ms)

Should it be showing a line or 2 where it checks against LDAP?
Thanks in advance.

FYI, delimit multiline code blocks with \```.

The gem doesn't do much more than call authenticate_with_ldap (source), so it's possible it just may not be getting to that point.
Can you hotfix Devise::Models::LdapAuthenticatable in your fork? If you're not running a fork, you can most likely redefine User.authenticate_with_ldap. Something like this:
class User
  class << self
    def authenticate_with_ldap(attributes={})
      auth_key = self.authentication_keys.first
      return nil unless attributes[auth_key].present?

      # resource = find_for_ldap_authentication(conditions)
      resource = where(auth_key => attributes[auth_key]).first

      if (resource.blank? and ::Devise.ldap_create_user)
        resource = new
        resource[auth_key] = attributes[auth_key]
        resource.password = attributes[:password]
      end

      Rails.logger.info "ATTRIBUTES: #{attributes.inspect}"
      if resource.try(:valid_ldap_authentication?, attributes[:password])
        if resource.new_record?
          resource.ldap_before_save if resource.respond_to?(:ldap_before_save)
          resource.save
        end
        return resource
      else
        return nil
      end
    end
  end
end

That'll allow you to see what's being passed into valid_ldap_authentication? (which basically directly calls valid_credentials?, which you've confirmed is working)

Okay, got it working. I didn't have it creating the user in my database. I wasn't aware that this was a required step and thought it might have created a "guest" user to authenticate. I also didn't do this as I wasn't 100% sure of how the gem worked, thanks to your help I now understand that it checks LDAP every time they attempt to authenticate and the password in the database doesn't need to be "up to date".
It's now authenticating correctly. I think that perhaps the config.ldap_create_user = false line should be uncommented by default as it seems to be required for the gem to work.
Thanks for your help.

I'm personally also not sure why it was off by default. I wasn't maintaining at that point.
If you're interested, I'd love if you could add some warnings to the readme and other relevant areas in the code docs in a fork and make a merge request.


TraceableRouteLoader: fix type error

Error when bin/console c:c:
In TraceableRouteLoader.php line 69:

  Attempted to call an undefined method named "getDeclaringClass" of class "ReflectionClass".

gaelreyrol

@gaelreyrol Hello! Please, review.

Hi @Kaspiman,
Thanks for reporting this, I will review this as soon as I have time to do so, in the mean time can you please solve CI errors?

@gaelreyrol Sure!

@gaelreyrol Hello, how to fix Fossa Scan check? https://github.com/FriendsOfOpenTelemetry/opentelemetry-bundle/actions/runs/11796593160/job/32860468020?pr=91
Error: Input required and not supplied: api-key

@gaelreyrol Hello, how to fix Fossa Scan check? https://github.com/FriendsOfOpenTelemetry/opentelemetry-bundle/actions/runs/11796593160/job/32860468020?pr=91
Error: Input required and not supplied: api-key

Hi @Kaspiman, don't bother with the "Fossa Scan Check & Test", it's because the workflow is ran from a fork, I need to disable it in those case.

So, my code is ready to merge! Also i created https://github.com/FriendsOfOpenTelemetry/opentelemetry-bundle/pull/92

Hi @Kaspiman, could you explain how did you encountered this error? I am trying to setup a reproducer so I can cover it with a test case.

Hi @Kaspiman, could you explain how did you encountered this error? I am trying to setup a reproducer so I can cover it with a test case.

I've managed to reproduce the error you reported, I updated your PR to simplify the fix and keep the structure I used.
Thanks again for your work!


Rocket.Chat.Electron could not yarn start

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating System

[X] macOS
[ ] Windows
[ ] Linux

Operating System Version
macOS 14.2.1
It happens on the web browser too?
No, it just happens on the Desktop app
Rocket.Chat Desktop App Version
3.9.14
Rocket.Chat Server Version
3.9.14
Describe the bug
I can run "yarn start" successfully on Rocket.Chat.Electron 3.9.11, but when I upgrade to Rocket.Chat.Electron 3.9.14 and execute "yarn start," it throws an error.
[!] SyntaxError: Unexpected token 'with'
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:117:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:218:14)
at link (node:internal/modules/esm/module_job:67:21)
How to Reproduce
yarn.
yarn start.
Describe your Expected behavior
No response
Anything else
No response
Are you willing to submit a code contribution?

[ ] Yes, I am willing to submit a Pull Request!

Hii @yaoyi601131548  can you please specify which Node version you are using. Can you share the full error log please

Updated: Fixed by switching to latest node.js LTS (20.11.1).

This issue is fixed i guess and should be closed too.


[FEATURE] Share profile icon need hover effect

Description
Share profile icon don't give the feel of a clickable item. It needs some kind of hover effect like increasing its size.
Screenshots
No response
Additional information
No response

Hey I'd like to work on it

Sure @PritamSarbajna!

I have already made if, check te pull request
https://github.com/EddieHubCommunity/LinkFree/pull/1597

Oh sorry @Amyx000 @PritamSarbajna! There is already a PR 👍

Is this issue closed? If not I would like to work on it.

@Vedant-Manjrekar I have already worked on the issue, the PR is in process.

@Amyx000 Ok, No Problem


Usage of 'torstol potion (unf)' to make super combat potions

🚀 Feature Proposal
It would be nice if we can use torstol potion (unf) to make super combat potions just like in the actual game :)

Already reported


Share 'ontology 101' slides for community reuse

We have a lot of slides that have been circulated around our community for years, it would be lovely to have a consolidated resource for community members to access and reuse our slides for future presentations.
There is some content available at: https://obofoundry.org/resources
Nomi (@nlharris) suggested we create a page in OBOOK specifically for links to presentations, and then also add links to specific presentations from specific obook pages
Here are some slide decks that I recently presented and anyone is welcome to use any of this content:

Why Ontologies: https://docs.google.com/presentation/d/1X1Z_-qFZ1vhLLWeDxTKdShCXYbUlwYp5srf-7hgNFUs/edit#slide=id.g16257802512_0_45
Using ontologies to standardize rare disease data collection: https://docs.google.com/presentation/d/1IpSW_X5hHSwLU_p4n-74QQSFD2vgk43ZvaOyxgmGNd4/edit#slide=id.p
Ontologies 101: Standardize your data using ontologies: https://docs.google.com/presentation/d/1t-ikIkfjbn6kRkmbmFqZNugf_CeemA1c/edit#slide=id.p1
Introduction to Ontologies: https://docs.google.com/presentation/d/1wDel1-fcxy4DDDzHm1KVjDJYSF7LDA3x/edit#slide=id.p1

Here is a slide deck from @jamesaoverton from the recent ICBO tutorial:
https://docs.google.com/presentation/d/1LmKAK7cglIcOZ2dqBm_xp0SiZH3JB6UgViCOs7qWSJQ/edit#slide=id.g1579c3f8457_0_213
questions

Do we agree that this would be a good page to aggregate our slide decks? https://oboacademy.github.io/obook/reference/outreach/
Should we post them as google slides or in a more permanent/stable format? We could upload pptx files to this repo? (Google slides are easiest to reuse, but they linked to specific owner's accounts)

Just a couple of notes/thoughts:

My slides linked above borrowed heavily from @dosumis https://docs.google.com/presentation/d/11WeCHCeGYSPEO7hUYFTdPivptxX4ajj5pVHDm24j4JA/edit, which was the basis for this OBOOK page https://oboacademy.github.io/obook/explanation/intro-to-ontologies/.
While it's good to consolidate, I do always find myself adjusting slide decks for the specific audience.

See also: https://docs.google.com/spreadsheets/d/1KPhLQx_sWjeo5Vn7gvwElVWqbiYCGSRDnBEngNUGb5g/edit#gid=0


does it support packet injection?

So can it capture handshakes.
Or deauth devices.
If so ... then can it also perform evil twin ?  I think by normal every router is capable of doing it

If not.... can an external wireless adapter be connected to it ?
Also how can i control it from a phone  ?


Dark-mode bug

When toggling between internships/jobs page to others the dark-mode changes to white mode

can i work on this issue @DeveloperAshish8

Go ahead @bhoopesh369 .

I have submitted a PR @DeveloperAshish8

PR #164


internal/rules package and other permissioning cleanup

See #90
Other things that are not needed anymore:

[ ] The package should be in singular form
[x] rules.Operation and rules.OperationGroup should be removed, we're using operation as a string everywhere
[x] rules.Scope should be removed
[x] *.perms.gen.go files
[ ] Majority of related *JSON structs and funcs
[ ] system/service/validation.go could be moved under internal.

More? Thoughts?

no need to rename pkg to singular (it's a special case like "types", "metrics", ...)
the JSON is only relevant for Resource, should be done with #78, keep Access *JSON
no need to move validation, it's private and system is the only entrypoint (vote: keep it there)

The rest is implemented.


Blocks Support: Create prefect_block resource - Update()

https://www.notion.so/prefect/Design-Block-support-in-the-Terraform-Provider-ae2ea25a18864de9b51b8aa06af9486b?pvs=4
resource "prefect_block" "datadog_api_key" {
	name = "datadog-api-key"
	type = "secret"
	data = jsonencode({
		value = var.datadog_api_key
	})
}

Located in internal/provider/resources/block.go
We'll need to add a Update() and Delete() method on the pointer receiver for the BlockResource struct
Afterwards We should be able to:

update the data value in an existing block, eg. like in a key rotation scenario
delete an existing prefect_block

We moved things around, so the branch name from https://github.com/PrefectHQ/terraform-provider-prefect/commit/0b1fb3d71d6596f7ed4841c55a08b38bae7e47e0 should no longer closet his one. Reopened.

Will wait for https://github.com/PrefectHQ/terraform-provider-prefect/issues/174 before tackling this one.


Expose server handler which can be used for writing tests

We would like to propose exposing the server handler via a getter so that we can use the handler in test suites. See below for an example use case:
package apitests

import (
	"io"
	"log"
	"net/http/httptest"

	"github.com/go-openapi/loads"
	"github.com/xiwenc/someService/restapi"
	"github.com/xiwenc/someService/restapi/operations"
)

var testserver *httptest.Server

func setup() {
	swaggerSpec, err := loads.Analyzed(restapi.SwaggerJSON, "")
	if err != nil {
		log.Fatalln(err)
	}

	api := operations.ExampleServiceAPI(swaggerSpec)
	server := restapi.NewServer(api)
	server.ConfigureAPI()
	testserver = httptest.NewServer(server.GetHandler()) // The proposed change would enable easier usage of the handler in tests
}

func teardown() {
	testserver.Close()
}

func TestSample(t *testing.T) {
	setup()
	// do some requests to testserver.URL
	// assert.Equal(t, 201, response.StatusCode, "Great success")
	teardown()
}

lgtm thanks!


Cannot filter out DOM elements using the uBlock-origin pipette tool

Bug
The "pipette" tool in uBlock origin is unable to select specific DOM elements on the Odysee web page. Normally this would isolate the element and hide it from the page; however on Odysee the tool selects the entire page instead of the specific element clicked.
To Reproduce
Steps to reproduce the behavior:

Click the pipette tool in uBLock origin (see screenshot)
Click any element on the web page; ex. the search bar
Click the blue "Create" button in the window that appears at the bottom right corner
The selected is not hidden; the web page remains the same.

Expected behavior
The selected element is hidden from the page.
Screenshots

System Configuration

Browser: Firefox 103.0
uBlock origin: 1.43.0
Operating system: Ubuntu 20.04

Additional context
Strangely enough the "Zap" feature (lightning bolt icon left of the pipette) works properly.
The pipette is an extremely useful tool for decluttering web pages from distracting content, or hiding features one doesn't use. I use it extensively on Youtube.

Thanks for filing this issue. Looks like it may be a bug with firefox + the extension potentially, mine seems to be working here in Chrome + same version. On Windows too, didn't try Linux at this time. Can you give it a shot with other browsers?

I tried with the Chromium snap, the issue shows up there as well.
I was also able to reproduce with Firefox on my Mac (OSX 10.15).


Wrong version number?

Description
The latest paket version number reporting seems odd

Is this intentional?

This is probably introduced in the change I made in #4080, the AssemblyInfo generation probably isn't getting done correctly for the packed paket tool. Can you clarify a bit on what the paket-pack executable you're running is? it is some kind of shell script around invoking Paket?

Yeah, if you look at nuget.info for Paket 6.1.0, the shipped, merged paket.exe has an informational version of 1.0.0, but the netcoreapp2.x paket.dll has the correct version

Thanks! I was about to clarify that paket-pack is just a shell script wrapper with my needed constant parameters to speed up typing ;)

Slightly better its now Paket version 6.1.2+35b64ff2d36b1bc7d17bca871fcb7323ad6194d8


Warning presented when starting Metro dev server

Problem
Currently when starting a development server with npm start a warning is produced:
❯ npm start

><EMAIL_ADDRESS>start
> npx react-native start

warn =================================================================================================
warn From React Native 0.73, your project's Metro config should extend '@react-native/metro-config'
warn or it will fail to build. Please copy the template at:
warn https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js
warn This warning will be removed in future (https://github.com/facebook/metro/issues/1018).
warn =================================================================================================
info Welcome to React Native v0.75
info Starting dev server on port 8081...

                        ▒▒▓▓▓▓▒▒
                     ▒▓▓▓▒▒░░▒▒▓▓▓▒
                  ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
                 ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
                 ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
                 ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
                 ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
                  ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                     ▒▓▓▓▒░░░░▒▓▓▓▒
                        ▒▒▓▓▓▓▒▒

                Welcome to Metro v0.80.3
              Fast - Scalable - Integrated

It’s because current config uses getDefaultConfig function expo/metro-config which doesn’t assign __REACT_NATIVE_METRO_CONFIG_LOADED property on global object which is then checked inside @react-native/community-cli-plugin package, if not presented the warning is produced.
Solution
Suggested solution from Metro team is to use a getDefaultConfg function from @react-native/metro-config package to extend the config which provides default values for Metro config.
Diff to solve this issue inside metro.config.js file:
@@ -1,10 +1,13 @@
-const {getDefaultConfig} = require('expo/metro-config');
+const {getDefaultConfig: getExpoDefaultConfig} = require('expo/metro-config');
+const {getDefaultConfig: getReactNativeDefaultConfig} = require('@react-native/metro-config');
+
 const {mergeConfig} = require('@react-native/metro-config');
 const defaultAssetExts = require('metro-config/src/defaults/defaults').assetExts;
 const defaultSourceExts = require('metro-config/src/defaults/defaults').sourceExts;
 require('dotenv').config();

-const defaultConfig = getDefaultConfig(__dirname);
+const defaultConfig = getReactNativeDefaultConfig(__dirname);
+const expoConfig = getExpoDefaultConfig(__dirname);

 const isE2ETesting = process.env.E2E_TESTING === 'true';
 const e2eSourceExts = ['e2e.js', 'e2e.ts', 'e2e.tsx'];
@@ -23,4 +26,4 @@ const config = {
     },
 };

-module.exports = mergeConfig(defaultConfig, config);
+module.exports = mergeConfig(defaultConfig, expoConfig, config);

Provided solution also keeps values and properties from default config from expo/metro-config package. By merging them in relevant order we keep the same behavior with proper config creation.

This is mainly to improve developer experience so I think it's worth it to make this change if everything else will remain working the same

FYI I checked how Metro Config changes after applying proposed diff and there's only one object added related to TerminalReporter and rest properties and values stays the same, so IMO it shouldn't affect anyone.

@mountiny This looks like a no QA PR, should I just approve it and you'll take it forward? or do you want me to work on the checklist for this one.

@mananjadhav Agreed no need for Qa thanks!

PR merged, and no payment or regression testing is required, so we are going to close this. The main purpose of the change is improvement to developer experience


Prevents other http servers from running after use

Thanks for porting this to CircuitPython and sharing your work.   It actually works!   The only problem is that after using the code to configure Wifi, the HTTP server I use as a control GUI stops working on my MatrixPortal S3 :-(.
My working theory is the the HTTP server that was used to configure the SSID and password is still running in the background, but I haven't figure out how to disable it after the configuration process.

Thanks for porting this to CircuitPython and sharing your work. It actually works! The only problem is that after using the code to configure Wifi, the HTTP server I use as a control GUI stops working on my MatrixPortal S3 :-(.
My working theory is the the HTTP server that was used to configure the SSID and password is still running in the background, but I haven't figure out how to disable it after the configuration process.

Try to change the port of your other http servers.
This trick works for me.