Understanding SNPWeight Column and Conversion to Effect Size Estimation

As I mentioned in a previous thread (https://github.com/fastlmm/FaST-LMM/issues/25), we a currently running case/control association analyses with FastLMM's single_snp function. We want to check our understanding of the "SNPWeight" output column. In the method section of this paper (https://www.biorxiv.org/content/10.1101/639955v2.full.pdf) specifically in the section in the attached image, the authors use an equation to convert the SNPweight estimate into an effect size estimate for a quantitative trait. We did not come across anything in the FastLMM manual that indicates a conversion is necessary. Does the "SNPWeight" output column need to be converted into an effect size estimate in order to obtain a beta that's comparable to standard linear regression? If it is in the manual, apologies in advance for missing it! Thank you so much!

Scott,
We have a new version of single_snp that we'd love for you to try. It replaces the non-standard SnpFractVarExpl with EffectWeight.
To install:
pip uninstall fastlmm
pip install @.***
Meaning of output columns:

SNPWeight is the beta for the "standardized test SNP" (where "standardized" means made to have mean 0, stdev 1)
EffectWeight is SNPWeight ^2 * "raw" test SNP variance / phenotype variance,  where
*   "raw" means the original test SNP values of "0,1,2" (the count of allele 1 or 2 [it doesn't matter])
*   The phenotype's original values are used (so, they are not, for example, changed by regressing out the covariates)

Does this make sense?
Is it what you need?

Carl

From: Carl K
Sent: Monday, March 14, 2022 3:23 PM
To: fastlmm/FaST-LMM @.>; fastlmm/FaST-LMM @.>
Cc: Subscribed @.***>
Subject: RE: [fastlmm/FaST-LMM] Understanding SNPWeight Column and Conversion to Effect Size Estimation (Issue #27)
Scott,
Thanks for your question. We're working on an answer.

Carl

From: c scott gallagher<EMAIL_ADDRESS>Sent: Thursday, March 10, 2022 4:59 PM
To: fastlmm/FaST-LMM<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [fastlmm/FaST-LMM] Understanding SNPWeight Column and Conversion to Effect Size Estimation (Issue #27)
Importance: High
As I mentioned in a previous thread (#25https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffastlmm%2FFaST-LMM%2Fissues%2F25&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=87DUizCLEsfZWzs9r7OHDkFRC%2FMiicObdkIBzLPM8%2F8%3D&reserved=0), we a currently running case/control association analyses with FastLMM's single_snp function. We want to check our understanding of the "SNPWeight" output column. In the method section of this paper (https://www.biorxiv.org/content/10.1101/639955v2.full.pdfhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.biorxiv.org%2Fcontent%2F10.1101%2F639955v2.full.pdf&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=w6QvO45c2jpIhdo%2B2RdCH31FBC2QEhwDZLSwD5PyqkQ%3D&reserved=0) specifically in the section in the attached image, the authors use an equation to convert the SNPweight estimate into an effect size estimate for a quantitative trait. We did not come across anything in the FastLMM manual that indicates a conversion is necessary. Does the "SNPWeight" output column need to be converted into an effect size estimate in order to obtain a beta that's comparable to standard linear regression? If it is in the manual, apologies in advance for missing it! Thank you so much!
[Screen Shot 2022-03-10 at 4 50 55 PM]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60437500%2F157781132-cfabeb07-abb1-4987-8d0d-dfda58780733.png&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=7MQ58F2Lf9lAljads8dQrTRPecge2HeO8ZzaBG%2FncJU%3D&reserved=0

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffastlmm%2FFaST-LMM%2Fissues%2F27&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=XgTS5VRQVWt1l%2FVmowDea%2FR9jt1wxdIiwdXk8e2FgGU%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABR65PZRXKIF6DF4QR2AEX3U7KLGVANCNFSM5QOHIJNA&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=GIpo7YAigTZ2UcoCFQIBZjB633nllXsHyTWIsURFWKU%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=y%2BAgo6F9c06UNGlkzQsaUpg%2B6%2FI4sjgBOZc3MD3Mgz8%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||a887a1735c2f4a2fd01c08da02fa61e8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637825571713534895|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=p6jQSl5n%2BmeaCarQjlHX4Epjyj85sZoRIG%2BC8fEqZn8%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Whoops. In the output it is "EffectSize" (not EffectWeight)
From: Carl K @.>
Sent: Wednesday, March 16, 2022 2:17 PM
To: fastlmm/FaST-LMM @.>; fastlmm/FaST-LMM @.>
Cc: Subscribed @.>; @.***
Subject: [fastlmm-dev] Re: [fastlmm/FaST-LMM] Understanding SNPWeight Column and Conversion to Effect Size Estimation (Issue #27)
Importance: High
Scott,
We have a new version of single_snp that we'd love for you to try. It replaces the non-standard SnpFractVarExpl with EffectWeight.
To install:
pip uninstall fastlmm
pip install @.***
Meaning of output columns:

SNPWeight is the beta for the "standardized test SNP" (where "standardized" means made to have mean 0, stdev 1)
EffectSize is SNPWeight ^2 * "raw" test SNP variance / phenotype variance,  where
*   "raw" means the original test SNP values of "0,1,2" (the count of allele 1 or 2 [it doesn't matter])
*   The phenotype's original values are used (so, they are not, for example, changed by regressing out the covariates)

Does this make sense?
Is it what you need?

Carl

From: Carl K
Sent: Monday, March 14, 2022 3:23 PM
To: fastlmm/FaST-LMM<EMAIL_ADDRESS>fastlmm/FaST-LMM<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: RE: [fastlmm/FaST-LMM] Understanding SNPWeight Column and Conversion to Effect Size Estimation (Issue #27)
Scott,
Thanks for your question. We're working on an answer.

Carl

From: c scott gallagher<EMAIL_ADDRESS>Sent: Thursday, March 10, 2022 4:59 PM
To: fastlmm/FaST-LMM<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [fastlmm/FaST-LMM] Understanding SNPWeight Column and Conversion to Effect Size Estimation (Issue #27)
Importance: High
As I mentioned in a previous thread (#25https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffastlmm%2FFaST-LMM%2Fissues%2F25&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=oQmLTLfKByHo4dg2TDzn3XuA%2FpTpyFCBviVwHM%2BbaB0%3D&reserved=0), we a currently running case/control association analyses with FastLMM's single_snp function. We want to check our understanding of the "SNPWeight" output column. In the method section of this paper (https://www.biorxiv.org/content/10.1101/639955v2.full.pdfhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.biorxiv.org%2Fcontent%2F10.1101%2F639955v2.full.pdf&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=0OFgnkfUUBHLMJKYui7vQFZuj7fRN%2Fon6drs4KfAY8c%3D&reserved=0) specifically in the section in the attached image, the authors use an equation to convert the SNPweight estimate into an effect size estimate for a quantitative trait. We did not come across anything in the FastLMM manual that indicates a conversion is necessary. Does the "SNPWeight" output column need to be converted into an effect size estimate in order to obtain a beta that's comparable to standard linear regression? If it is in the manual, apologies in advance for missing it! Thank you so much!
[Screen Shot 2022-03-10 at 4 50 55 PM]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60437500%2F157781132-cfabeb07-abb1-4987-8d0d-dfda58780733.png&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=NKQCNR%2F3FjAYCatTcrcUMtawiS5eU6ceq1bCvUXe4j0%3D&reserved=0

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffastlmm%2FFaST-LMM%2Fissues%2F27&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=iFtD7D3rPTjufdWhIGVRBIrXSao6qRwvr%2FU3RzR2qbA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABR65PZRXKIF6DF4QR2AEX3U7KLGVANCNFSM5QOHIJNA&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=xU4sEkvsCvPQpebXhMET5McIvYCOR4EGMygbv3Ij6Ts%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347742440|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=o2SaGLe8sOSpa6rNQmk0jpYLUGlio5S8I3z7A%2B6T0gg%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||dc4d1ea96baa4371058f08da0792566e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637830622347898661|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=dBx1x%2BMvIF1vHz4IRRE4683mMuh8lx94ACIiVZXhOTY%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Scott,
If you can, let me if your proposed change looks like what you need. Thanks.

Carl


PathMenu Button to float over the back view

Hello,
Very nice work by the way.
Can I have the PathMenu button float while the background is scrolling (as in TableView Scrolling)?
Cheers,
the crazy

@thecrazyfellow
Thank you so much.
Yes, you can have the PathMenu button float while scrolling.
You need to use AutoLayout.

I need to put it on top of table view. I can make it float but the table cells won't be selectable.
Do you have an example or how about I send you the 2 scenarios and you tell me the bit I need to add?

@thecrazyfellow
I don't have an example. So, if possible, please show me this code or screenshot.
I wanna help you as possible.

will send it by e-mail now

@thecrazyfellow
Ok. I'll check this later.

if this is solved can you share the solution please? i have the same problem that everything around or behind the button can't be clicked or interacted with.

This is still not solved. I'll try to solve that again. Sorry

thank you, in the mean time is there a work around? can i add it as a subview or use a container etc...

@ghohh
Could you explain the problem you want to solve in details?

i have a mapview and on top the button, i want to be able to tap the button to present different options and also be able to interact with the mapview to zoom or unzoom and move around which i can't right now, if this is a stupid question please bear with me because i'm a beginner with this stuff.

I had the same problem but with table view on the back and I couldn't select cells. The problem is that the view where the float button is added to, takes the whole screen.
What I have done is, I have added a border to the view (to see the bounds of the view) then limited the view bounds to only the button and the other buttons that appear when you click. This allowed me to select the table cells as long as I'm away from the bounds of the view for the menu path which I have limited it only to menu path expanded instead of the whole screen.
I'm waiting on Pixyzehn to have a more elegant solution where the bounds of the view can dynamically change from just the menu path button when collapsed to the menu button as well as the other buttons when expanded.
Cheers,
_adam
+61 40222 9001

On Sep 24, 2015, at 5:48 AM, ghohh<EMAIL_ADDRESS>wrote:
i have a mapview and on top the button, i want to be able to tap the button to present different options and also be able to interact with the mapview to zoom or unzoom and move around which i can't right now, if this is a stupid question please bear with me because i'm a beginner with this stuff.
—
Reply to this email directly or view it on GitHub.

@AdamAliAU @ghohh
I now develop new version that fix the above problem. It plan to use Swift2.0. Please wait a moment.

thank you very much, can't wait to try it.

Thank you
Cheers,
_adam
+61 40222 9001

On Sep 24, 2015, at 10:33 AM, ghohh<EMAIL_ADDRESS>wrote:
thank you very much, can't wait to try it.
—
Reply to this email directly or view it on GitHub.

@AdamAliAU @ghohh
I have released version 1.1.0. Check it out by Xcode7. Let me know any problem.

thank you, trying it now and will report back if any problem.

Thank you. Will try it this weekend and will let you know.
Cheers,
_adam
+61 40222 9001

On Sep 27, 2015, at 4:29 PM, Nagasawa Hiroki<EMAIL_ADDRESS>wrote:
@AdamAliAU @ghohh
I have released version 1.1.0. Check it out by Xcode7. Let me know any problem.
—
Reply to this email directly or view it on GitHub.


Logging bug in GUI in debug mode

In the GUI, in debug mode, keras tries to write its progress bar, but fails. In non-debug mode, this is not an issue, most likely due to the redirect to os.devnull. Perhaps in the GUI, we should always do this?
Stack trace:
'NoneType' object has no attribute 'write'
Traceback (most recent call last):
  File "ms2rescore\gui\function2ctk.py", line 301, in run
    self.fn(*self.fn_args, **self.fn_kwargs)
  File "ms2rescore\gui\app.py", line 809, in function
    rescore(configuration=config)
  File "ms2rescore\core.py", line 79, in rescore
    fgen.add_features(psm_list)
  File "ms2rescore\feature_generators\deeplc.py", line 155, in add_features
    self.deeplc_predictor.calibrate_preds(psm_list_calibration)
  File "deeplc\deeplc.py", line 1185, in calibrate_preds
    calibrate_output = self.calibrate_preds_func_pygam(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "deeplc\deeplc.py", line 819, in calibrate_preds_func_pygam
    predicted_tr = self.make_preds(psm_list, calibrate=False, mod_name=mod_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "deeplc\deeplc.py", line 741, in make_preds
    ret_preds = self.make_preds_core(
                ^^^^^^^^^^^^^^^^^^^^^
  File "deeplc\deeplc.py", line 612, in make_preds_core
    ret_preds = mod.predict(
                ^^^^^^^^^^^^
  File "keras\src\utils\traceback_utils.py", line 122, in error_handler
  File "keras\src\utils\traceback_utils.py", line 119, in error_handler
  File "keras\src\backend\tensorflow\trainer.py", line 514, in predict
  File "keras\src\callbacks\callback_list.py", line 126, in on_predict_batch_end
  File "keras\src\callbacks\progbar_logger.py", line 66, in on_predict_batch_end
  File "keras\src\callbacks\progbar_logger.py", line 95, in _update_progbar
  File "keras\src\utils\progbar.py", line 182, in update
  File "keras\src\utils\io_utils.py", line 98, in print_msg
AttributeError: 'NoneType' object has no attribute 'write'

Hi,
I am encountering this issue, do you have a temporary solution that I could try out?
Thanks a lot.


shell: shell_log_backend: take buffer size from config

Use LOG_MESSAGE_QUEUE_SIZE config instead of hardcoded value. LOG_MESSAGE_QUEUE_SIZE default value has been changed to 512, so it is now matching to the hardcoded value.
Signed-off-by: Wojciech Slenska<EMAIL_ADDRESS>

Sure, but maybe better here will be in bytes, something like

My bad, it's actually in bytes.

Hi!
I recently found out that this speciffic commit breaks my app(which is in Alpha stage). The problem is that the debug backtrace is broken after the crash and I am not sure right now if I was doing something wrong, which was masked before this commit, or this commit has a breaking change or bug.
***** USAGE FAULT *****
  Illegal load of EXC_RETURN into PC
r0/a1:  0xaa1671df  r1/a2:  0xf0284834  r2/a3:  0xe78cf8fb
r3/a4:  0x681b4b32 r12/ip:  0x0f07f013 r14/lr:  0xf04fd102
 xpsr:  0x93234a00
Faulting instruction address (r15/pc): 0xe7a035ff
>>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
Current thread: 0x20001c18 (£  )
Halting system

The app starts and runs for a few seconds before this crash. The crash seems to break the stack and I cannot easily debug without backtrace. If I revert the commit, the app works more than an hour(not tested extensively or for more than an hour).
Sorry for providing so little info, I'm just pointing that out and I don't have the time to open an issue with serious debug info.

Hi!
I recently found out that this speciffic commit breaks my app(which is in Alpha stage). The problem is that the debug backtrace is broken after the crash and I am not sure right now if I was doing something wrong, which was masked before this commit, or this commit has a breaking change or bug.
***** USAGE FAULT *****
  Illegal load of EXC_RETURN into PC
r0/a1:  0xaa1671df  r1/a2:  0xf0284834  r2/a3:  0xe78cf8fb
r3/a4:  0x681b4b32 r12/ip:  0x0f07f013 r14/lr:  0xf04fd102
 xpsr:  0x93234a00
Faulting instruction address (r15/pc): 0xe7a035ff
>>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
Current thread: 0x20001c18 (£  �)
Halting system

The app starts and runs for a few seconds before this crash. The crash seems to break the stack and I cannot easily debug without backtrace. If I revert the commit, the app works more than an hour(not tested extensively or for more than an hour).
I only use the dummy shell backend(I only need to execute commands recieved via speciffic bluetooth service)
Sorry for providing so little info, I'm just pointing that out and I don't have the time to open an issue with serious debug info.


Versions 2.0.1 and 2.0.2 are not documented

What are versions 2.0.1 and 2.0.2? They are not listed in Releases or tags, but they exist in npm.
There seems to be a massive amount of changes since version 2.0.0: https://diff.intrinsic.com/react-native-haptic-feedback/2.0.0/2.0.2

What is in version 2.0.3? It is not released with tag in source code.


[map] fix dot size

Fixed a bug where map points size kept changing. This was because we were trying to get the min region diagonal without actually calling Math.min
Reverted the dot size logic to use minDotSize * 2 when there is no dot size scale & increased minimum dot size from 1.1 to 1.25
Additional bug fixed: infinite loading when there are no map points. This is because of a check for non empty map points data even though there just may not be map points for the chosen place type

Thanks Jennifer!
Some comments that might be beyond the scope of this fix:

If the url param mp=1 is set, but no ppt= value is set, the page hangs (the spinner doesn't go away)
Should we scale the points when zooming in? right now the points get bigger as you zoom

(might be achievable by adding something like this in the zoom handler)
// change DEFAULT_MIN_DOT_SIZE to originally configured point size
map
  .selectAll("circle")
  .attr("r", (DEFAULT_MIN_DOT_SIZE * 2) / d3.event.transform.k);

When ppt/mp are set, changing the location in the UI doesn't update the point layer
Visiting
http://localhost:8080/tools/map#%26sv%3DCount_Person%26pc%3D0%26denom%3DCount_Person%26pd%3DgeoId%2F42%26ept%3DCounty%26ppt%3DEpaReportingFacility%26mp%3D1
shows:

But changing the location to United States shows:

Refreshing this page shows the entire point layer:

Thanks Jennifer!
Some comments that might be beyond the scope of this fix:

If the url param mp=1 is set, but no ppt= value is set, the page hangs (the spinner doesn't go away)
Should we scale the points when zooming in? right now the points get bigger as you zoom

(might be achievable by adding something like this in the zoom handler)
// change DEFAULT_MIN_DOT_SIZE to originally configured point size
map
  .selectAll("circle")
  .attr("r", (DEFAULT_MIN_DOT_SIZE * 2) / d3.event.transform.k);

When ppt/mp are set, changing the location in the UI doesn't update the point layer
Visiting
http://localhost:8080/tools/map#%26sv%3DCount_Person%26pc%3D0%26denom%3DCount_Person%26pd%3DgeoId%2F42%26ept%3DCounty%26ppt%3DEpaReportingFacility%26mp%3D1
shows:

But changing the location to United States shows:
Refreshing this page shows the entire point layer:

Thanks for the review! I agree that these are beyond the scope of this PR, so I've opened up github issues for them instead: https://github.com/datacommonsorg/website/issues/2768, https://github.com/datacommonsorg/website/issues/2767, https://github.com/datacommonsorg/website/issues/2766


not really an issue - just {questions about using the script}

I keep getting errors that say 'unknown required option type table' when trying to add in the -num_iter option. ( or any other options that include more than one value)
It would be nice if there were example usage for each variable with this type of usage or syntax (below). Here's my example that does not work for me. How do you call the last three numbers?
qlua cnnmrf.lua -content_name photo -style_name painting -backend cudnn -mode speed -num_iter {100, 100, 100}

This is indeed a bug. I will send PR soon.

If the PR gets accepted, you can call it like this:
qlua cnnmrf.lua -content_name photo -style_name painting -backend cudnn -mode speed -num_iter 100,100,100


Typescript : Unable to use complex types in state

Hi,
I'm struggling to make the state type-aware of my TS interfaces
types.d.ts
export interface Rule {
  name: string;
  category: string;
}

rule-store.ts
export const useRuleStore = createStore(
  'rules',
  () => ({
    rules: [] as Rule[],
  }),
  {},
);

I get a TS error :
Type 'Rule[]' is not assignable to type 'StateTreeValue'.
  Type 'Rule[]' is not assignable to type 'StateTreeArray'.
    The types returned by 'pop()' are incompatible between these types.
      Type 'Rule | undefined' is not assignable to type 'string | number | boolean | symbol | void | Function | StateTree | StateTreeArray | JSONSerializable | null | undefined'.
        Type 'Rule' is not assignable to type 'string | number | boolean | symbol | void | Function | StateTree | StateTreeArray | JSONSerializable | null | undefined'.
          Type 'Rule' is not assignable to type 'StateTree'.
            Index signature is missing in type 'Rule'.ts(2322)
types.d.ts(6, 18): The expected type comes from property 'rules' which is declared here on type 'StateTree'

If i replace rule-store.ts by the following:
export const useRuleStore = createStore(
  'rules',
  () => ({
    rules: [] as any[],
  }),
  {},
);

It works, but then i lose the main purpose of using TS as state.rules will not be typed ...
What am I doing wrong ?
Thanks for the help !
Best regards

I think I simply tried to overcomplicate things with the StateTree type, I aliased it to Record<string | number | symbol, any> and it seems to work well


How do I remove () and symbol l from number. For example<PHONE_NUMBER> is routing to VM due to ()

https://github.com/freeCodeCamp/freeCodeCamp/blob/389e83796d31b6175d4da97b2562ce42c25176f2/curriculum/utils.js#L33

https://github.com/freeCodeCamp/freeCodeCamp/blob/389e83796d31b6175d4da97b2562ce42c25176f2/curriculum/utils.js#L33

I think I messed it up even more. Can you assist me? Just want to remove any off number formats. Certain contacts can't reach me


Use an external .dot file ?

Hi,
I'm using this package for Typst, thank you for it :)
I was wondering if it would be possible to use an external file as input to the graph?
Thank you!

Yes,
It is currently possible:
#raw-render(read("someFile.dot"),...)

But as it is convenient I will add a dot-render function to render a file directly.

Oh nice ! Thanks :)

Worked perfectly !


Query constructed seems correct, but seems to have an issue of case sensitivity of the fields.

PostgreSQL automatically converts unquoted table and column names to lowercase, which might cause the query to fail if the table name includes uppercase letters.
ask can you list all the shipment number of user 3?
> Tokens used:', 3408, price: 0.006816
query: SELECT shipmentNo FROM ShipmentsBLs WHERE createdById = 3;
SELECT shipmentNo FROM ShipmentsBLs WHERE createdById = 3;
error: relation "shipmentsbls" does not exist
    at Parser.parseErrorMessage (C:\Users\Felix\Documents\01-Web Projects\03-Convert English Request to Query\ria\node_modules\pg-protocol\dist\parser.js:287:98)
    at Parser.handlePacket (C:\Users\Felix\Documents\01-Web Projects\03-Convert English Request to Query\ria\node_modules\pg-protocol\dist\parser.js:126:29)
    at Parser.parse (C:\Users\Felix\Documents\01-Web Projects\03-Convert English Request to Query\ria\node_modules\pg-protocol\dist\parser.js:39:38)
    at Socket.<anonymous> (C:\Users\Felix\Documents\01-Web Projects\03-Convert English Request to Query\ria\node_modules\pg-protocol\dist\index.js:11:42)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 111,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '24',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1384',
  routine: 'parserOpenTable'
}

I can't reproduce this in Postgres:
create table bookList(bookName text);
insert into bookList values ('first');
 insert into bookList values ('second');
 select bookName from bookList;
 bookname
----------
 first
 second
(2 rows)

Are you running a really old version or an unusual config?


SimpleCrypto is Vulnerable to Chosen-Ciphertext Attacks

https://github.com/danang-id/simple-crypto-js/blob/b4263e62a86700fb923ea20d63162303ab8cb8ba/src/SimpleCrypto.ts#L29-L53
SimpleCrypto implements AES-CBC with PKCS#7 padding, which is vulnerable to chosen-ciphertext attacks, specifically a padding oracle attack.
These vulnerabilities in CBC mode have been public for 17 years (since Serge Vaudenay published a paper about it in 2002).
Recommendation: Migrate to one of the following...

XChaCha20-Poly1305
AES-GCM-SIV
AES-GCM

@paragonie-scott Thanks for the recommendation. Should have been considered before. I'll try to implements a better algorithm.

If you don't have any of the algorithms available to you, you might have to follow in the footsteps of @defuse and implement AES-CTR + HMAC-SHA2 (Encrypt then MAC) as detailed here.
It's less simple internally, but it'll remain simple for your users.

👋 Hey! We've recently opened a bug bounty against this issue, so if you want to get rewarded 💰 for fixing this vulnerability 🕷, head over to https://huntr.dev!

Hey, guys. I'm facing the following problem: if I add any characters to the end of an encrypted string, the decrypt function will still decrypt correctly. This is a huge problem for me because I'm using the simpleCrypto to generate a unique code and I cannot have two different encrypted strings resulting in the same decrypted object.

See https://github.com/danang-id/simple-crypto-js/pull/17 for a suggested fix.

Sorry for very late reply. Already merged #17.

NPM release should be available in a moment.


templ dependency

I ran from your instructions on the README, just to have a play..
templ and pnpx are used but NOT installed.
you can instal these things in a .dep folder and path them and so not pollute a users laptop.
PATH := $PWD/.dep:$PATH

deno or bun can replace pnpx I think ?
templ can be set to a "task dep", which checks via "which templ" and then will not try to install it again. its very fast to do this check. We assume everyone has which  :)
https://github.com/hairyhenderson/go-which can be part of "task dep" then so that all users get a which setup.

I love the recommendations, but I actually have been trying to get the starter off as many installed deps as possible.
I think it absolutely could make sense to have a .deps and install whatever into it, but I would rather devs have that be an opt-in feature rather than opting-out of dependencies

How are you going to remove deps from the starter ? curious on if you have a strategy.

For the go related deps I've switched over to using go run [pkg]
Example for templ usage
https://github.com/zangster300/gonads-starter/blob/main/Taskfile.yml#L41)
Your feedback has led me to finding this as a possible bundled solution to using pnpm instead of a need to install it
I have personally not used bun yet, but will check it out
Currently NodeJS/pnpm are used in this project for

Tailwind style gen
Using esbuild to bundle D* for usage in env's without an internet connection / creating debug builds
Bundling the lit-html web components

I would like to remove Node as a needed to be installed dep as much as possible!


Energy, not the same,

Hello, I got different energy in my case than the paper, what could be the reason? Could it be the reason that may be our a,b, etc, values are different? What you think? Any help would be appreciated.

Yes

Okay got you.


Drive clock pin as an output insted of a weak input

While I was testing some Integrated circuits, I found out that some of them did not work when the "C" signal type was used to drive clock pin. The reason was that the HIGH level generated using INPUT_PULLUP mode was to weak and the IO did not detected it as a HIGH level. This pull request resoved it.
Was there any specific reason to drive the high level using internal pull up in the input mode?

@petrsimi Did you find adverse issues with this change in your testing?

No, I am using it since then without any problem.


Breaking changes list and migration guidance are needed

It is commonly claimed that MVC 6 is "almost the same as MVC 5". I read and heard this in many videos on AspNet5\Mvc6. But the more I dive into it the more different it seems. Similar but different.
Converting an Mvc5\WebApi2 app onto AspNet5\Mvc6 is a pain.
There're some guidances on the Internet how cool creating Mvc6 apps is. But I found nothing about how to migrate existing code onto Mvc6 (and AspNet5 in general).
The things are even worse due to terrible branding - "ASP.NET 5 MVC 6" (considering we have "MVC 5" already). Just google for "Migrating onto ASP.NET 5 MVC 6".
So it's highly desirable to provide some list of breaking changes.
It should consist of two parts at least: Api compatibility and UseCases compatibility.
Let me clarify.
Api compatibility is a list of changes in types, methods and so on.
UseCases compatibility is a list of common use-cases in developing apps which are changed. For example:

register a startup hook

before: via assembly-level attribute WebActivator.PreApplicationStartMethod
now: Startup class

configuring Mvc\WebApi components

before: all components were in HttpConfiguration (Filters, Formatters, MessageHandlers, Services)
now: setup MvcOptions object in callback  passed to IServiceCollection.Configure<MvcOptions>()

configuring Json formatter

before: via HttpConfiguration.Formatters.JsonFormatter.SerializerSettings
now: find JsonInputFormatter in MvcOptions.InputFormatters or JsonOutputFormatter in MvcOptions.OutputFormatters (there're two formatters now - input and output)

passing objects with HttRequestMessage

before: it was common to put arbitrary objects into HttRequestMessage.Properties (usually with extension-methods like request.SetUserRights() where SetUserRights just put an object into request.Properties[HttpPropertyKey.UserRights] ).
now: WHAT?

IoC\DI

before: register IDependencyResolver implementations (there were two ones: in System.Web.Http and in  System.Web.Mvc) in HttpConfiguration.Services
now: there're two options: remove usage of your 3rd-party DI completely (as AspNet5 now provides a DI-container by default) or provider a custom implementation of IServiceProvider to IApplicationBuilder.ApplicationServices in Startup.Configure)

BrowserCapabilities - understand what browser is being used

before: using HttpBrowserCapabilitiesBase instance from Request.Browser
now: WHAT?

Api controller working with raw Http-types

before: create an ApiController's method with a arg of HttpRequstMessage and return type of HttpResponseMessage. To create response: Request.CreateResponse. Easy.
now: WHAT?

Api controller returns a fine-tuned http-response (for cache controlling)

before: create a HttpRequestMessage and assign Headers (typed!):

var response = Request.CreateResponse(HttpStatusCode.OK);
response.Content = new StringContent(content);
response.Content.Headers.ContentType = new MediaTypeHeaderValue("text/cache-manifest");
response.Headers.CacheControl = new CacheControlHeaderValue {NoCache = true, Public = true};
response.Headers.ETag = new EntityTagHeaderValue("\"" + etag + "\"");

now: WHAT?

Api controller returns a non-OK response with payload

before: return Request.CreateResponse(statusCode, someObj)
now: WHAT? I can create new HttpStatusCodeResult((int)statusCode) but how to pass the payload?

ValueProvider (applicable?)
content negotiation (applicable?)

and so on..
I personally encountered with the following "surprises" - disappearing of types/methods/properties

Mvc: disappeared type WebViewPage
Mvc: disappeared type HttpRequestBase
Mvc: disappeared type HttpCookieCollection
WebApi: disappeared type DelegatingHandler
WebApi: typed access to HttpRequestMessage.Headers (like request.Headers.AcceptLanguage)
disappeared property HttpRequest.Properties
disappeared method HttpRequest.CreateResponse
Razor: disappeared @RenderPage
AspNet: disappeared type HttpBrowserCapabilitiesBase (it's type of Request.Browser property)
AspNet: why does HttpStatusCodeResult not use HttpStatusCode enum?
What happened with System.Net.Http ? Can I use types from it (like FormDataCollection) in AspNet5 apps?
WebApi: disappeared types ValueProvider\RouteDataValueProviderFactory
WebApi: Request.CreateResponse(statusCode, someObj)

@evil-shrike indeed there are quite a few differences between MVC 5 and 6, especially concerning Web API.
We have some brand new documentation that is in progress and hosted here: http://aspnet.readthedocs.org/en/latest/
In particular, these articles:

Migrating From ASP.NET MVC 5 to MVC 6
Migrating Configuration From ASP.NET MVC 5 to MVC 6
Migrating From ASP.NET Web API 2 to MVC 6

Please have a look through those documents and if you feel there is still content missing, please file a bug on https://github.com/aspnet/Docs/issues (though some bugs are already opened, so please take a quick look at those too and add any applicable comments).

Thanks! Sorry I didn't find that resource.
I think it'd make sense to put the link in https://github.com/aspnet/Home#documentation-and-further-learning

Done, thanks!

these links are dead

@sulhome sorry about that! Not too long ago we moved the documentation to a new site, but with the same content (though much of it has been updated).
The main migration page moved to Migration, which has sub topics for:

Migrating From ASP.NET MVC 5 to MVC 6
Migrating Configuration From ASP.NET MVC 5 to MVC 6
Migrating From ASP.NET Web API 2 to MVC 6
Migrating Authentication and Identity From ASP.NET MVC 5 to MVC 6

@Eilon thank you

@evil-shrike please check this question on stackoverflow https://stackoverflow.com/questions/33178983/how-to-create-a-response-message-and-add-content-string-to-it-in-asp-net-5-mvc


[HACKTOBERFEST 2024] - Higher Order Functions Quiz

[!IMPORTANT]
This issue is part of our 2024 Hacktoberfest initiative. If you are interested in working on this issue, refer to our top-level tasks to see if this issue is claimed, or to claim it if it is not.

This issue is to create the Higher Order Functions quiz.
The file you should be working on is found in /curriculum/challenges/english/25-front-end-development/quiz-higher-order-functions.
All quiz questions need to relate to one of these topics:

callback functions
higher order functions
map()
filter()
reduce()
sort()
every()
some()
method chaining

[!CAUTION]
Questions which do not fall under these topics will be rejected.

You are welcome to include code blocks in your questions, but please keep them short (four lines or less).
Please do NOT open a pull request until you have completed all questions. Your quiz should have exactly 20 questions.

Thank you for your interest in contributing. This issue will be opened for contribution when Hacktoberfest starts on October 1st.

[!CAUTION]
Pull requests which are created before October 1st will not be eligible for Hacktoberfest. We appreciate enthusiasm, but encourage you to hold off on contributing to this issue until the event has begun.

If you wish to be notified when this issue is opened for contribution, subscribe to notifications:

This issue is now open
If you would like to work on this issue, please leave a comment so we can assign it to you.
Be sure to read our contributing guidelines.

I would like to work on this issue. Can you please assign this to me?

Hi. I would like to work on this.

Hey @siddharthbaleja7,
you are already assigned to different issue - https://github.com/freeCodeCamp/freeCodeCamp/issues/56183.

Hey @mendoncamaria,
you are already assigned to different issue - https://github.com/freeCodeCamp/freeCodeCamp/issues/56200.

Hi @naomi-lgbt  @gikf  can you please assign me this issue??

Hi, I'd like to take this up if available

Hi @AnarchistHoneybun, you've got #56212

Hey Naomi, i would love to take this one please 🚀

This issue has been assigned a contributor. To prevent extraneous notifications, the issue is now locked. If you have any questions, please reach out to me in our Discord community.

It has been seven days. The issue is now being unassigned.

Hi, I'd like to take this up if possible?

Hi, I'd like to take this up if possible?

@AnarchistHoneybun you've got #56212
@bharateshwq this one's all yours!


JupyterHub official Grafana metrics dashboard

JupyterHub expose a lot of metrics, such as how many currently running users it has. With a tool like Prometheus, these metrics can be collected over time into a timeseries. With a tool like Grafana, these collected metrics can be presented in a Dashboard.
But these dashboards needs to be defined and configured. Grafana has a format for this, and when its done they can be exported to .json files that others can import.
As an example, here are two graphs from a dashboard that I got by asking @yuvipanda who linked a 2i2c deployment for University of Toronto. I exported it from the grafana instance using their web ui as a .json file, and imported it into my grafana instance.

My vision is that there is a JupyterHub official dashboards, and perhaps a Z2JH official dashboard to use.

This is a cool idea - I suppose if something like this would have existed it could have helped you out getting started w/ a grafana board for the hackademy, yeah?
I guess my main question is how general we could make this so that it doesn't bit-rot and that it remains useful to people without a lot of upkeep. Does that seem attainable?

We can publish dashboards here: https://grafana.com/grafana/dashboards.
@choldgraf The way to do it probably is to have a git repo somewhere that folks can make PRs to, and then we can publish to grafana.com (or just keep the repo). This way, as you make improvements locally you can publish them - and then pull them in so you are level with upstream...

I am interested in this. Any pre-existing dashboard that would make sense to publish already?

@yuvipanda wrote:

The way to do it probably is to have a git repo somewhere that folks can make PRs to, and then we can publish to grafana.com (or just keep the repo).

Hmmm, what about:

A repo with CI to automate publishing to Grafanas dashboards to keep it updated there.
Exploration and docs to make use of the dashboards in a way that reduce manual work to setup to the lowest needed level.

@AndreaGiardini the dashboard in github.com/neurohackademy/nh2020-jupyterhub is the latest version ive used with z2jh

Pathways to doing this 'right':

https://www.weave.works/blog/grafana-dashboards-as-code/
https://github.com/weaveworks/grafanalib
https://github.com/grafana/grafonnet-lib

After getting tired of copy-pasting, I built this today: https://github.com/yuvipanda/jupyterhub-grafana. It's pretty complete! It needs documentation and some code cleanup - particularly around splitting the JSONNet files. But it works great, and I like it :)

@consideRatio you should be able to check it out at http://grafana.utoronto.2i2c.cloud/d/i8G_l9bMk/jupyterhub-dashboard?orgId=1.

@yuvipanda excellent work on this! :heart_eyes: I'm looking forward to trying it out properly but haven't yet

@yuvipanda excellent work on this! :heart_eyes: I'm looking forward to trying it out properly but haven't yet

Am I wrong or at the moment all the dashboards presented above are not really compatible with the basic jupyterhub installation?
I was also looking at some of the screenshots provided by @yuvipanda repo, and almost all the metrics don't seem to be present on my hub /metrics page .  Or am I missing something entirely?

Hello everyone,
Is there any update on this?
Thank you,
Best Regards,
a.

https://grafana.jmte.2i2c.cloud/ is up and running, but individual users need to be granted access.
@adam0s9 note that I write nothing further as your account is anonymous and newly created, making me suspect you to be a bot etc.


Encoding for missing values for number, string, and categorical columns

Steps to reproduce:

Add a categorical column
Stratify it
Add a numerical column with null values

Expected result:

The dataset should be correctly visualized

Actual result:

The visualization shows entries twice; the aggregator column and row number column are not shown

Coming from #316 the encoding for number, string, and categorical columns is still missing and causing the issues @NMO13 described.

see https://github.com/phovea/phovea_vis/pull/61

re sorting bug: https://github.com/Caleydo/taggle/pull/379

In my tests this issue is solved with PR phovea/phovea_vis#61 and #379.
-> Close


Trying to serve html to browser on tacopie server

I am trying to serve up some html content to a browser over a tacopie server.  This was my message handler - where I tried both sync and async writes and trying to close the connection when done. Neither works, maybe because I dont understand how the write/disconnect works. Any ideas? thank you!
	void on_new_message(const std::shared_ptr<tacopie::tcp_client>& client, const tacopie::tcp_client::read_result& res) {
		if (res.success) {
			std::string resp = "this is the response";
			std::string fullResp = "HTTP/ 1.1 200 OK\r\nContent-Type: type/html\r\nConnection: Closed\r\n Content-Length: "
				+ std::to_string(resp.length()) + std::string("\r\n\r\n") + resp;

			std::vector<char> buf(fullResp.begin(), fullResp.end());
			client->get_socket().send(buf, fullResp.length());
			//client->async_write({ buf, nullptr });
			client->disconnect();
		}
		else {
			info("WebClient disconnected");
			client->disconnect();
		}
	}

Hi,
Sorry for the time to reply, I finally could have a look.
I tried your code and it first worked well over curl and netcat, but apparently not with a browser (I tried chrome and safari).
So my guess was that there is an issue with the content of your request.
I double checked with the expected HTTP format, and there is indeed an issue in your response.

HTTP/ 1.1 There is an extra space after the /
\r\n Content-Length: : There is an extra space Before the Content

When I changed your output into:
HTTP/1.1 200 OK\r\nContent-Type: type/html\r\nConnection: Closed\r\nContent-Length:
it worked perfectly fine :)
I close this issue, but feel free to re-open it if necessary :)
Best

BTW, my final code is the following one:
void
on_new_message(const std::shared_ptr<tacopie::tcp_client>& client, const tacopie::tcp_client::read_result& res) {
  if (res.success) {
    std::cout << "write" << std::endl;
    std::string resp     = "this is the response";
    std::string fullResp = "HTTP/1.1 200 OK\r\nContent-Type: type/html\r\nConnection: Closed\r\nContent-Length: "
                           + std::to_string(resp.length()) + std::string("\r\n\r\n") + resp;

    std::vector<char> buf(fullResp.begin(), fullResp.end());
    client->async_write({buf, [=](tacopie::tcp_client::write_result&) {
                           std::cout << "write cb" << std::endl;
                           client->disconnect();
                         }});
  }
  else {
    std::cout << "disconnect" << std::endl;
    client->disconnect();
  }
}


x/website: Getting Started tutorial doesn't work with Go 1.16

The Getting Started tutorial relies on go run modifying the go.mod automatically, which is now deprecated.
hello.go:5:8: no required module provides package rsc.io/quote; try 'go mod tidy' to add it

The tutorial should instruct the user to run go get immediately before editing the code or go mod tidy after editing the code.
/cc @stevetraut

/cc @dmitshur

/cc @dmitshur

Issue #43430 is related. CC @jayconrod.
Based on the discussion there, I suspect we prefer suggesting go get over go mod tidy for the specific task of adding new dependencies. (go mod tidy is fine to use for other module management, like removing unused dependencies.)

Issue #43430 is related. CC @jayconrod.
Based on the discussion there, I suspect we prefer suggesting go get over go mod tidy for the specific task of adding new dependencies. (go mod tidy is fine to use for other module management, like removing unused dependencies.)

I think at tip we recommend go get instead of go mod tidy. In any case, the text will need to be updated.
I'll take a look soon after 1.16 release blockers are resolved.

I think at tip we recommend go get instead of go mod tidy. In any case, the text will need to be updated.
I'll take a look soon after 1.16 release blockers are resolved.

 My suggestion would be to introduce a go mod init earlier, because I think modules is something every developer will encounter in the first hour, while the command-line-arguments package is not something they need to know about at all, and can only confuse them. Alternatively, the CL can be rolled back.

 My suggestion would be to introduce a go mod init earlier, because I think modules is something every developer will encounter in the first hour, while the command-line-arguments package is not something they need to know about at all, and can only confuse them. Alternatively, the CL can be rolled back.

In https://github.com/golang/go/issues/43672#issuecomment-759741625 Jay
said we should be recommending "go get" now, but the doc was updated to use
"go mod tidy". Should we switch?

go mod tidy is easier to use, but go get is more precise. Since this doc is targeted at new users, go mod tidy is probably a better choice. Either is fine though.

I've heard the two commands suggested interchangeably at times.
This is clearly a new user hunk of documentation. If go mod tidy is best for context, then we should keep it here. However, being the easiest doesn't necessarily make it the best practice (though the easiest should be the best practice for new users, IMO). We also should be about introducing the best practice commands for a given workflow.


[Enhancement] remove unnecessary reserved words

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

These unnecessary reserved words may casue problem when client migrated their serives to SR. Like
select nodes from tbl

This sql cannot be parsed successfully in SR because nodes is a reserved word in SR.
Remove reserved words are:
// These words can only be after reserved words LEFT/RIGHT.
// Using them as identifer is unambiguous.
ANTI SEMI

// These following words can only be used in sepecific clause.
// Using them as identifer is unambiguous.
AUTHENTICATION
AUTO_INCREMENT
CANCEL
DISTRIBUTED
ENCLOSE ESCAPE EXPORT
INCREMENTAL
MINUS
NODES
OPTIMIZER
PRIVILEGES
QUALIFY
SKIP_HEADER  SWAP
TRACE
TRIM_SAPCE

More reserved words info in SR: Key words comparing between SR and MySQL
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_admit_test


1.15.2-1.3.2 crashes dedicated server Forge 1.15.2 build 31.1.12

Notes:
LoadingFailedException -- I suspect this to be an incompatiblity issue with Forge above a certain version
crash report:
http://paste.ubuntu.com/p/34zsjp9zXP/
fml server latest:
http://paste.ubuntu.com/p/4dJXjKn6yX/

31.1.13 resolved the issue, so marking it closed.


Can't use SegmentUriPush job

When running jobs like :
pinot-admin.sh LaunchDataIngestionJob -jobSpecFile job.yaml
with job.yaml a simple SegmentUriPush job type
Controller server raise a HttpErorStatusException ... Could not find paramName tableName in path or query ...
I think there is maybe an issue with FileUploadDownloadClient.getSegmentUriRequest.
It seems that in HttpClient RequestBuilder, when used with POST or PUT methods and no entity (which is the case here) choose to put the parameters (tableName) in a form entity (RequestBuilder source)
Currently, the controller doesn't seems to accept this kind of way to pass the tableName as the method param is annotated with @QueryParam (PinotSegmentUploadDownloadRestletResource.uploadSegmentAsJsonV2)
It doesn't seem possible to influence RequestBuilder behavior about this. So my temporary working hack is to add .setEntity(new StringEntity("", ContentType.DEFAULT_TEXT)) in the getSegmentUriRequest RequestBuilder initialisation
Not sure if the best fix is to change the client request or the controller server rest Api definition...

cc @snleee


Spectre-beta-5: Menu > 'Tools' > 'Chain Data' does not display the anon token balances

Menu > 'Tools' > 'Chain Data' is meant to display the same as the 'anoninfo' call in the console:

However, the beta-5 does not display this. Below is the way it is meant to display from 1.3.8:

@spectrecoin looking into it


fix scrollToBottom

Hello, scrollWithoutAnimationTo has been deprecated in react-native 0.20.0

Hello! @FaridSafi
Yes, you're definitely right. I forgot to update react-native to 0.20.0!)


Add ability to shallow clone to importer.py

Right now importer.py expects a tar.gz file which it unpacks. I'd like to improve and extend this by instead making a system call with eg git clone --depth 1 .... I'll need to add the git repository URI to each language's corpus indices, as well as add some new logic to importer.py that correctly handles new files, etc.
This will make for less maintenance in maintaining the corpora at https://github.com/cltk/. Also, it is essentially required in handling very large corpora like CBETA and its repositories do not have room for even a compressed version.

As of v<IP_ADDRESS> the backend has been rewritten to only import via a Git shallow clone. It does a shallow update now, too, with git pull.
https://github.com/kylepjohnson/cltk/blob/master/cltk/corpus/utils/importer.py


[Coverity CID :190971]Null pointer dereferences in /subsys/net/ip/net_pkt.c

Static code scan issues seen in File: /subsys/net/ip/net_pkt.c
Category: Null pointer dereferences
Function: net_pkt_cursor_operate
Component: Networking
CID: 190971
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Not an issue


Look into go guru to figure out test names per PR

https://docs.google.com/document/d/1_Y9xCEMj5S-7rv2ooHpZNH15JgRT5iM742gJkw5LtmQ/edit?usp=drivesdk

This might be interesting to combine https://github.com/cncf/k8s-conformance/pull/622 into an exploration.

Closing due to staleness. You can visit current roadmap here: https://github.com/cncf/apisnoop/blob/master/org/roadmap.org


MatchError in MyXQL.Client.com_stmt_close/2

I'm seeing cases in production where there's a MatchError in MyXQL.Client.com_stmt_close/2. The stacktrace looks like this:
MatchError: no match of right hand side value: {:error, :closed}
  File "lib/myxql/client.ex", line 137, in MyXQL.Client.com_stmt_close/2
  File "lib/myxql/connection.ex", line 451, in MyXQL.Connection.close/2
  File "lib/myxql/connection.ex", line 109, in MyXQL.Connection.handle_execute/4
  File "lib/db_connection/holder.ex", line 316, in DBConnection.Holder.holder_apply/4
  File "lib/db_connection.ex", line 1255, in DBConnection.run_execute/5
  File "lib/db_connection.ex", line 1342, in DBConnection.run/6
  File "lib/db_connection.ex", line 539, in DBConnection.parsed_prepare_execute/5
  File "lib/db_connection.ex", line 532, in DBConnection.prepare_execute/4

It's pretty clear where it is, but I have no idea how this should be handled properly which is why I'm opening the issue instead of just fixing it myself. I'd love if there was some way to handle this that didn't result in an exception being thrown, but I'm not really sure if there is.

Thank you for the report. {:error, :closed} means the socket got closed so the connection is now in an invalid state and we need to return {:disconnect, exception, state} from the dbconnection callback that triggered it. I should have a fix by Monday but if you want to give it a go, by all means!

Clearly I didn't get to this myself, so thank you very much @wojtekmach for being so quick in fixing this over the weekend!


Sphinx Timeline extension

https://predictablynoisy.com/about/#a-rough-timeline

Good data to use as an example
https://ardupilot.org/dev/docs/common-history-of-ardupilot.html#history-of-ardupilot

https://github.com/search?q=user%3Acholdgraf+a+rough+timeline&type=code
https://raw.githubusercontent.com/choldgraf/choldgraf.github.io/64d0097408b7d9d3a86088947310dcc10c400b17/about.md

https://jareddillard.com/
https://github.com/jdillard/personal-site


Why I created a Proxy Hosts, it is not easy to use?

I would like to ask, I created Proxy Hosts using docker, but I cannot access it from the external network. Is it the problem of my creation?
I am using a HUAWEI router, and the dmz host I opened, the port mapped to my dmz host is openwrt, every time I create Proxy Hosts, I jump to openwrt locally, and the public network cannot access,what should i do, can anyone help me
NetworkSettings
Bridge
EndpointID<PHONE_NUMBER>d085e7d8fbe5918078825e11f492316dc7a151883a220d94334c3b
Gateway <IP_ADDRESS>
GlobalIPv6Address
GlobalIPv6PrefixLen 0
HairpinMode false
IPAddress <IP_ADDRESS>
IPPrefixLen 16
IPv6Gateway
LinkLocalIPv6Address
LinkLocalIPv6PrefixLen 0
MacAddress 02:42:ac:11:00:02
Networks
bridge { Aliases: null, DriverOpts: null, EndpointID:<PHONE_NUMBER>d085e7d8fbe5918078825e11f492316dc7a151883a220d94334c3b, Gateway: <IP_ADDRESS>, GlobalIPv6Address: , GlobalIPv6PrefixLen: 0, IPAMConfig: [object Object], IPAddress: <IP_ADDRESS>, IPPrefixLen: 16, IPv6Gateway: , Links: null, MacAddress: 02:42:ac:11:00:02, NetworkID: 090e66276834418a27602f26c20d23c39dd0e2e43d346519326ae8a1d3f29b34 }
Ports
443/tcp
80/tcp
81/tcp

This issue seems not related to nginx proxy manager, rather it is the problem of your own settings. With so little information Im afraid I can't help you much. But you can try the following troubleshooting first.

Make sure your dmz is working correctly. Do not use nginx proxy manager to proxy ur service first, rather use ur dmz to point it directly to one of ur service ip and see if u can access it from outside. If you cannot access the service, its the problem of your router settings. (Here i assume the OpenWrt as your router, not the HUAWEI one.)

Check if you can access your service locally by ip first. if you can access your service by private ip (192.168.x.x) then the service is working properly.

Make sure ur isp is not using nat. This is a hard one, some ISP does not provide a "real IP" to the user, rather they have a nat service on their side. With this you are never going to be able to access ur service outside. Please consult your ISP first.

With that said, I highly recommend you to read more guide on networking before posting a issue.

This issue seems not related to nginx proxy manager, rather it is the problem of your own settings. With so little information Im afraid I can't help you much. But you can try the following troubleshooting first.

Make sure your dmz is working correctly. Do not use nginx proxy manager to proxy ur service first, rather use ur dmz to point it directly to one of ur service ip and see if u can access it from outside. If you cannot access the service, its the problem of your router settings. (Here i assume the OpenWrt as your router, not the HUAWEI one.)
Check if you can access your service locally by ip first. if you can access your service by private ip (192.168.x.x) then the service is working properly.
Make sure ur isp is not using nat. This is a hard one, some ISP does not provide a "real IP" to the user, rather they have a nat service on their side. With this you are never going to be able to access ur service outside. Please consult your ISP first.

With that said, I highly recommend you to read more guide on networking before posting a issue.

Thank you for your answer. I will try to open the DMZ on my main router. The openwrt router is my bypass router and is usually used for my forwarding service. When I use the domain name to access, the jump is openwrt, but my main router only allows I start a DMZ host. . . .


Enable authenticating sudo commands via Touch ID

This workflow edits the /etc/pam.d/sudo file so that one can authenticate sudo commands with Touch ID. It is based on this guide: https://www.imore.com/how-use-sudo-your-mac-touch-id
Discord username (optional) please include so we can attribute you with our Contributor role (like so elvis#4747)
Description of changes (updated or new workflows)

@boredjo Thanks so much for submitting this. We don't think this is a great candidate to be a workflow because it's a one-time command. It's very rarely re-run.
We appreciate you opening this. If you're in our Discord, we'd be happy to add our contributor role, just let us know your username.


Convert Sensors to EventEmitters?

I see that the sensors are emitting back to the DOM. Can you please explain why you made this decision? Do you want users to be able to hook into the DOM and listen the events you dispatch?
Wouldn't it be better if Sensors were EventEmitters?

I think the idea here is for more dynamic-ism, and allow for less experienced programmers to easily be able to hook these events.  Not terribly sure, however.

@deiucanta that's a valid question! Draggable sensors were designed to abstract the DOM api, and were therefor modelled like DOM events. That way touch, mouse, keyboard and even force touch can be abstracted into a set of events that draggable understands.
Users of Draggable shouldn't directly listen to these sensor DOM events themselves, but instead use the .on() .off() api on draggable. Draggable itself is responsible for listening for these DOM events and emitting its own events.

Wouldn't it be better if Sensors were EventEmitters?

Do you mean triggering sensor events via Draggable.trigger ?

@tsov Currently the system is like this

sensors listen to native DOM events and trigger custom DOM events
Draggable listens to custom DOM events and trigger non-DOM events (.on(), .off())

Or to put it in a linear way
Native DOM Events => Custom DOM Events => Draggable Events (on/off)

I don't see the benefit of having DOM events in the middle phase. Why not have non-DOM events with .on() and .off() for sensors as well?
Native DOM Events => Sensor Events (on/off) => Draggable Events (on/off)

May be an obvious reason and I miss it.


Authentication using GitHub in android

Proposed title of article
Authentication using GitHub in android
Introduction
Signing in with GitHub is a secure authentication system that reduces the burden of login for your users. This is because it enables users to sign in with their already existing GitHub account.
This is achieved by using Firebase's Authentication with GitHub as we will be discussing in this tutorial.
Key takeaways:
By the end of the article the reader will be able to:

Understand what is Firebase.
Understand What is Authentication.
Understand Authentication with Facebook.

References:
https://firebase.google.com/docs/auth/android/github-auth

Good afternoon and thank you for submitting your topic suggestion. @Emmah-Lashly
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Hi @Emmah-Lashly
This is an interesting article but I think it wouldn't really provide enough content for readers.
For starters, a firebase auth article has already been written by @BrianaNzivu. She has covered Google auth which is still similar to Github auth. They both use OAuth2 so it would be a repetition of a technology.
First, check the articles on section before submitting another suggestion. It will save you time.


Added Compatibility Scripts & Docs

Hey, I just made a Pull Request!
This adds scripts and related documentation to list out compatibility of plugins with the New Backend System and the New Frontend System. This also adds a root index to the /docs folder that lists out all the workspaces and their plugins with links to their respective README.
As part of this it also fixes the odo workspace's API Reports but pinning the version and generating the proper files with the needed changes.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi @schultzp2020, I had to make some changes to the odo workspace, do you mind giving this a look when you have time, please?

@awanlin lgtm


[Snyk] Upgrade dotenv from 16.4.1 to 16.4.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade dotenv from 16.4.1 to 16.4.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 21 days ago, on 2024-02-13.

Release notes

Package name: dotenv

16.4.4 - 2024-02-1316.4.4

16.4.3 - 2024-02-1216.4.3

16.4.2 - 2024-02-1016.4.2

16.4.1 - 2024-01-2416.4.1

    from dotenv GitHub release notes

Commit messages

Package name: dotenv

d03e397 16.4.4
3275a0a changelog 🪵
f40a8c3 Merge pull request #812 from motdotla/patch-12
1dc22d3 replace 14 chaining operator
9f1999c add 12 showing issue
06fd9bb update README
91bb2d8 Merge pull request #809 from motdotla/additional-tests
5057a81 add test showing .env.vault decryption stil works with multi-files to options.path
6581b54 16.4.3
1cf05e3 Merge pull request #808 from motdotla/changelog
f44c0be no 22 support yet
a992c3e remove eol node 12 and add node 22
232a29f package-lock update
e8e2c99 changelog 🪵
fe5ac4d Merge pull request #805 from thanosd/bug/fix-merge-multiple-files
5ae3ed2 Updating to always use `override` flag
f6e87eb Merge pull request #807 from motdotla/codecov
5fd07f7 add badge
3024206 codecov
07948f7 16.4.2
948fe80 update changelog
f2729c1 update funding link
ca16eb5 Merge pull request #806 from motdotla/dotenvx
3384bef update dotenv.org to dotenvx.com

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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

Project coverage is 81.66%. Comparing base (7242dae) to head (e468651).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   81.66%   81.66%
=======================================
  Files           4        4
  Lines          60       60
  Branches       11       11
=======================================
  Hits           49       49
  Misses         11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Interoperability with dataclasses

The dataclasses ecosystem is growing rapidly. Currently, it's not easy for attrs classes to benefit from the developments in thedataclasses ecosystem. It would be nice to fix this somehow.
There are at least two use cases. One is where I write a class with attrs that holds a
class defined with dataclasses. I want to be able to use all the attrs functionality.
For example, the normally recursive function attr.asdict() doesn't
recurse into dataclasses.
@dataclasses.dataclass
class A:
    x: int

@attr.dataclass
class B:
    a: A

In [5]: B(A(1))
Out[5]: B(a=A(x=1))

In [6]: attr.asdict(B(A(1)))
Out[6]: {'a': A(x=1)}

The other situation is where I want to use libraries developed for use with dataclasses
on my attrs classes. There are libraries which provide very useful functionality for
dataclasses, but not for attrs classes. For example, marshmallow_dataclass has some good ideas about serialization, and I might like to use it on my attrs classes.
Users of libraries that use attrs and dataclasses would benefit from easy interoperability
between the two systems. I've been wondering how to make this work.
Supporting both systems explicitly in every library
One solution would be to edit each of these functions to support both systems, by adding if statements
def asdict(cls):
    if attr.has(cls):
        ...
    if dataclasses.is_dataclass(cls):
        ...

This might need to be done in each library that intends to support both systems.
Supporting both systems implicitly in every library through an interface
It might be possible to support both systems through a common interface. For example, if
attrs classes got __dataclasses_params__ and __dataclasses_fields__ in addition to
__attrs_attrs__, using the dataclasses API as the common interface. This might
restrict usage in some ways because dataclasses has less functionality than attrs, but it could work relatively seamlessly. Alternatively, a shared compatibility interface could be defined in a third library, which could support dataclasses, attrs, and any other libraries that come to provide similar declarative-class-definition functionality.
Converting between attrs and dataclasses
Perhaps it would be useful to have a function for converting between dataclasses and
attrs so classes defined under one library can use the ecosystem written to support the
other. There would be nuances involved with making classes round-trippable since each
library supports different functionality.
I'm interested in everybody's thoughts on how to handle this situation. :-)

Well this is obviously a multi-tiered problem. I'm personally happy about having some kind of interop with DCs, since they are quite similar and everyone would win.

I think asdict would be best served by converting it into something singledispatch-based on Python 3+. That would give people a lot more flexibility for free. We could just use the old version on Python 2 and write a brand new one for 3+.

Would everything "just work" if we had a fallback thing for fields?  singledispatch for extensibility seems like a good way to go, but I wouldn't want to have to explicitly register every dataclass in the world.

@glyph you mean like a special case  for dataclasses.is_dataclass? Sure why not.


composer require error

Expected Behavior
I'm expecting the package to be installed.
Actual Behavior
Installation failed.
Environment

PHP Version: 7.1.11
Laravel Version: 5.5.34
LaravelCaffeine Version: none

Stack Trace
$ composer require genealabs/laravel-caffeine
Using version ^0.6.7 for genealabs/laravel-caffeine
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for genealabs/laravel-caffeine ^0.6.7 -> satisfiable by genealabs/laravel-caffeine[0.6.7].
- Conclusion: remove laravel/framework v5.5.34
- Conclusion: don't install laravel/framework v5.5.34
- genealabs/laravel-caffeine 0.6.7 requires illuminate/routing 5.6.* -> satisfiable by laravel/framework[5.6.x-dev], illuminate/routing[5.6.x-dev, v5.6.0, v5.6.1, v5.6.2, v5.6.3].
- Can only install one of: laravel/framework[5.6.x-dev, v5.5.34].
- don't install illuminate/routing 5.6.x-dev|don't install laravel/framework v5.5.34
- don't install illuminate/routing v5.6.0|don't install laravel/framework v5.5.34
- don't install illuminate/routing v5.6.1|don't install laravel/framework v5.5.34
- don't install illuminate/routing v5.6.2|don't install laravel/framework v5.5.34
- don't install illuminate/routing v5.6.3|don't install laravel/framework v5.5.34
- Installation request for laravel/framework (locked at v5.5.34, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.34].
Thanks for your help!

@XavRsl Thanks for reporting this! I just released a fix, should work now in release 0.6.8. Please let me know if you still have problems. :)

Yep, problem solved.
Thanks!

@XavRsl Awesome :)

@mikebronner Hey, I am facing this error again>
Problem 1
- Installation request for genealabs/laravel-caffeine ^8.0 -> satisfiable by genealabs/laravel-caffeine[8.0.0].
- Conclusion: remove laravel/framework v7.29.2
- Conclusion: don't install laravel/framework v7.29.2
- genealabs/laravel-caffeine 8.0.0 requires illuminate/routing ^8.0 -> satisfiable by illuminate/routing[8.x-dev, v8.0.0, v8.0.1, v8.0.2, v8.0.3, v8.0.4, v8.1.0, v8.10.0, v8.11.0, v8.11.1, v8.11.2, v8.12.0, v8.12.1, v8.12.2, v8.12.3,
v8.13.0, v8.14.0, v8.15.0, v8.16.0, v8.16.1, v8.17.0, v8.17.2, v8.18.0, v8.18.1, v8.19.0, v8.2.0, v8.20.0, v8.20.1, v8.21.0, v8.22.0, v8.22.1, v8.23.1, v8.24.0, v8.25.0, v8.26.0, v8.26.1, v8.27.0, v8.28.0, v8.28.1, v8.29.0, v8.3.0, v8.30.0, v8.30.1, v8.31.0, v8.32.0, v8.32.1, v8.33.0, v8.33.1, v8.34.0, v8.35.0, v8.35.1, v8.36.0, v8.36.1, v8.36.2, v8.37.0, v8.4.0, v8.5.0, v8.6.0, v8.7.0, v8.7.1, v8.8.0, v8.9.0].
- don't install illuminate/routing 8.x-dev|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.0.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.0.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.0.2|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.0.3|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.0.4|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.1.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.10.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.11.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.11.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.11.2|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.12.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.12.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.12.2|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.12.3|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.13.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.14.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.15.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.16.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.16.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.17.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.17.2|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.18.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.18.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.19.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.2.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.20.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.20.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.21.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.22.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.22.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.23.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.24.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.25.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.26.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.26.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.27.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.28.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.28.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.29.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.3.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.30.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.30.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.31.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.32.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.32.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.33.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.33.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.34.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.35.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.35.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.36.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.36.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.36.2|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.37.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.4.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.5.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.6.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.7.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.7.1|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.8.0|don't install laravel/framework v7.29.2
- don't install illuminate/routing v8.9.0|don't install laravel/framework v7.29.2
- Installation request for laravel/framework (locked at v7.29.2, required as ^7.0) -> satisfiable by laravel/framework[v7.29.2]


I have a question

Is your code complete? Can a federated learning architecture be implemented?

No, the main purpose of the code is to showcase how models can be trained in a federated way. In real life to implement this you shall need to configure each devices to support federated learning as they will be real devices instead virtual devices.


Test failures when mixing Acceptance and Unit tests: Check for presence of secure data before accessing it

When unit tests and acceptance tests are "mixed", i.e. both are executed in the same page, a call to Ember.$.ajax fails if an acceptance tests was running before. This is a regression in 0.8.0.
The authorizer in use is Devise.
http://emberjs.jsbin.com/qinuka/edit?js,output
or as screenshot:

The code tries to call get on undefined, which is fetched from the session object. However, this session object has already been destroyed when the container from the last application instance was destroyed. Due to a glitch in Ember (I'm still investigating) instances of ObjectProxy lose their functionality when destroyed, and thus giving session.get('secure') an undefined, while session.get('content.secure') still works.
(introduced in https://github.com/simplabs/ember-simple-auth/commit/db4d635cfe40d2b2920f33939613c96778097aeb#diff-f4489d454b1136f52fda48e97daec5ddR70 in combination with https://github.com/danwang/ember-simple-auth/commit/668d5aaaf1ec070dba3240aa5190c572d33544ea)
Even though the bug above is easily solvable, one problem remains: Authorizers remain attached to Ember.$.ajax long after the application that created them has been destroyed. I'm not sure what kind of functionalities Ember provides to hook into the lifecycle though.
There are two obvious fixes to this bug (getting content.secure or asking for presence with an if), this PR just contains the one looking less ugly to me.

Will release this as 0.8.1.
Be aware thought that authorizers (or at least the automatic registration of the $.ajaxPrefilter) will probably go away in 1.0.

Thanks for merging :)

@marcoow any plans on a release date for 0.8.1?


Couldn't connect to any seeds

My node can't sync any blocks, and it logs Couldn't connect to any seeds.
Seed from docs: E27F6B7A350B4CC2B48A6CBE94B0A02B0DCB0BF3@<IP_ADDRESS>:26656
core version: 20.12.7

Since the Cobalt upgrade you should be using 21.1.1 (https://docs.oasis.dev/general/oasis-network/network-parameters)


[Coder] Expanding a method should scroll the start of the method into view

In version v0.8.218, while inspecting a class method, if another is already open, the newly open is displayed upwards and its content is not visible.

The behavior should be that, if the method located below is open, shift the view so that the newly open method is displayed properly, and the methods below, move downward.

methods expand downwards now
https://user-images.githubusercontent.com/249595/186641037-887da2c9-af43-481a-b613-c4862aa6f92e.mp4


readme.md issues in Storage Blobs

[ ] Introduction: What is server version for?
[ ] Introduction: missing "Samples" link. Also, do we need to have REST API reference here?
[ ] Prerequisites: Is authentication required?
[ ] Prerequisites: Need to have list-formatted prerequisites (see KeyVault.Keys)
[ ] Examples: it would be useful to have a list of all examples at the beginning of the section

This has been fixed.  https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Blobs/README.md


Removal of newline at end of template

When ending a template with newlines, exactly one is silently removed, and it is not clear why or how to prevent this.
from liquid import Liquid
Liquid("hello {{x}}!\n\n", from_file=False).render(x="Sander")
# =>  'hello Sander!\n'

Apologies, it seems this was liquidpy.
But maybe we should switch given the activity levels. :)


duplication glitch

using the carry on mod on bonsai tree , you can place infinite bonsai with the loot inside, you can't place the bonsai and the only way of stopping this glitch is with the death

Thanks for the report. Will be fixed in the next release.

I came to github with the same report. I was able to remove the carry on jar from my mods folder (and restart the game of course) to stop the glitch.


Registry does not completely remove a module when a DevOps tag is removed.

Bug description 🐞
When removing a version of the module by removing the Tag in DevOps you cannot reuse the same tag. When you use the same tag, it will use the wrong/older code of that version. It would be worth to remove the local cached module rather then change the record in the database.
Steps to reproduce
Create a module and us the registry in Terrakube by adding the VCS and use a tag as version.
Use this module and look at something you can change that will easily been seen.
Change the module so it would clearly show a difference. Ensure it is pushed to your module.
Remove the version and wait for it to be removed from Terrakube UI.
When it is removed, create the same tag but point to the changed module.
Wait for it to become available and run code again.
Expected behavior
I would expect the module to use the same version number and download a fresh copy of the branch.
Example repository
No response
Anything else?
The reason we do this is when we are working on a newer version of a module. We create a branch we use to develop and create a tag called -preview1. We want to test our changes agains a couple of Dev environments and don't want to constantly change the module version, so we remove the tag and add the same tag linked to the new commit of that branch.

For now there is no way to do a "module tag files refresh" once a module is loaded in the storage backend, you could delete the module files  directly from the storage backend or create different tags like "preview1", "preview2", etc.
Adding automatic refresh of the modules files will require some work becuase it will need a webhook from your vcs provider to send a request once a tag is added or remove from the repository and if I remember correctly right now there is no webhook support once you add a new module to the registry


Rename Transform2D and Basis elements to columns and rows respectively

This PR implements both parts of this proposal: https://github.com/godotengine/godot-proposals/issues/4446
This breaks compatibility with third-party modules, but this is otherwise not exposed.

Thanks!


Fix common-files linking inside containers

What does this implement/fix? Explain your changes.
This MR fix common-files linking inside Docker containers. Very good spot @israelboudoux thank you for collaboration.

Hey my friend @pawelgrzybek, sorry, I had to do some tweaks in this PR, and I did a workaround since things weren't going well when we do the last npm link. I inspected the docker containers and I realised that something very weird happens when we do the npm link before or after the npm ci.
I'll use the nightfall-client app as an example...
Inside the docker container...
when doing the npm link BEFORE npm ci
/app/node_modules - 1780 folders
/app/node_modules/@polygon-nightfall/common-files/node_modules - 1 folder

when doing the npm link AFTER npm ci
/app/node_modules - 1632 folders
/app/node_modules/@polygon-nightfall/common-files/node_modules - +1.8k folders

For me, these differences make no sense since it is the same package, the common-files. Another point is that the npm link changes the node_modules app's folder, which for me, on top of my ignorance isn't correct.
Then my workaround was to copy the folders (except the node_modules) to /app/node_modules/@polygon-nightfall/common-files/.

Client liveness test is failing because currently testnet is down. I did not realize that this dependency existed. In any case, I’m fine accepting this Pr if only this test fails


Implement seeding scripts to create data for testing/development

Implement a seeding script that should create projects and organizations.
We can use Mongo Seeding project for this: https://github.com/pkosiec/mongo-seeding

Duplicate of #163

@mushketyk - on further consideration I don't think this is a duplicate of #163. #163 is about importing data sourced by the data collection team into the production database mongo both one-time and as part of incremental load. It could be used for development as well but separating this makes sense I think due to the different purpose.
This would be for seeding databases for all collections (not just userd/posts) with dummy data for development & testing.
I did start my work on the other ticket with mongo-seeding and was able to get it to work fine - until I needed to asynchronously pull data from airtable. I've decided to switch to mongodb native driver (eventually mongoose) for that but for this mongo-seeding should work.

@joshmorel - Should I assign the ticket to you?

@indirabhowmick I assigned myself. This isn't required for MVP but developer productivity. it is different from #408 as it would be "dummy" data for dev/test of more than just posts - users, comments etc. I will work on it after #408 is done because post imports from Airtable might be enough for now for devs working on MVP.

@joshmorel - Thanks so much for the detailed explanation


[BUG] coverage-badge-py does not work on python3.12

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
When using this action in a python3.12 runner, it fails with:
Collecting coverage-badge
  Downloading coverage_badge-1.1.0-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting coverage (from coverage-badge)
  Downloading coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.2 kB)
Downloading coverage_badge-1.1.0-py2.py3-none-any.whl (6.4 kB)
Downloading coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (238 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.2/238.2 kB 9.7 MB/s eta 0:00:00
Installing collected packages: coverage, coverage-badge
Successfully installed coverage-7.4.4 coverage-badge-1.1.0
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.2/x64/bin/coverage-badge", line 5, in <module>
    from coverage_badge.__main__ import main
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/coverage_badge/__main__.py", line 7, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

To Reproduce

In a python 3.12 environment
pip install -U coverage-badge

What OS are you seeing the problem on?
all
Expected behavior?
Project should use importlib and install correctly
Relevant log output
2024-03-25T15:13:08.0397921Z ##[group]Run tj-actions/coverage-badge-py@v2
2024-03-25T15:13:08.0398415Z with:
2024-03-25T15:13:08.0398785Z   output: coverage.svg
2024-03-25T15:13:08.0399160Z   overwrite: true
2024-03-25T15:13:08.0399492Z   working-directory: .
2024-03-25T15:13:08.0399852Z env:
2024-03-25T15:13:08.0400261Z   pythonLocation: /opt/hostedtoolcache/Python/3.12.2/x64
2024-03-25T15:13:08.0400842Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib
2024-03-25T15:13:08.0401354Z ##[endgroup]
2024-03-25T15:13:08.0602942Z ##[group]Run pip install -U coverage-badge
2024-03-25T15:13:08.0603501Z pip install -U coverage-badge
2024-03-25T15:13:08.0604221Z EXTRA_ARGS=""
2024-03-25T15:13:08.0604592Z
2024-03-25T15:13:08.0605001Z if [[ 'true' == 'true'  ]]; then
2024-03-25T15:13:08.0605457Z   EXTRA_ARGS+="-f"
2024-03-25T15:13:08.0605825Z fi
2024-03-25T15:13:08.0606176Z
2024-03-25T15:13:08.0606669Z coverage-badge $EXTRA_ARGS -o "coverage.svg"
2024-03-25T15:13:08.0633549Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-03-25T15:13:08.0634148Z env:
2024-03-25T15:13:08.0634567Z   pythonLocation: /opt/hostedtoolcache/Python/3.12.2/x64
2024-03-25T15:13:08.0635167Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib
2024-03-25T15:13:08.0635722Z ##[endgroup]
2024-03-25T15:13:08.5534334Z Collecting coverage-badge
2024-03-25T15:13:08.5890490Z   Downloading coverage_badge-1.1.0-py2.py3-none-any.whl.metadata (3.2 kB)
2024-03-25T15:13:08.9152232Z Collecting coverage (from coverage-badge)
2024-03-25T15:13:08.9181250Z   Downloading coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.2 kB)
2024-03-25T15:13:08.9266842Z Downloading coverage_badge-1.1.0-py2.py3-none-any.whl (6.4 kB)
2024-03-25T15:13:08.9313740Z Downloading coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (238 kB)
2024-03-25T15:13:08.9580916Z    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.2/238.2 kB 9.7 MB/s eta 0:00:00
2024-03-25T15:13:09.1627841Z Installing collected packages: coverage, coverage-badge
2024-03-25T15:13:09.3023913Z Successfully installed coverage-7.4.4 coverage-badge-1.1.0
2024-03-25T15:13:09.4669826Z Traceback (most recent call last):
2024-03-25T15:13:09.4677994Z   File "/opt/hostedtoolcache/Python/3.12.2/x64/bin/coverage-badge", line 5, in <module>
2024-03-25T15:13:09.4678915Z     from coverage_badge.__main__ import main
2024-03-25T15:13:09.4680329Z   File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/coverage_badge/__main__.py", line 7, in <module>
2024-03-25T15:13:09.4681344Z     import pkg_resources
2024-03-25T15:13:09.4681913Z ModuleNotFoundError: No module named 'pkg_resources'
2024-03-25T15:13:09.4715261Z ##[error]Process completed with exit code 1.

Has all relevant logs been included?

[X] I've included all relevant logs

Anything else?
No response
Code of Conduct

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

I think it's more related to this issue than the action itself.
If anyone is still bumping into this problem, adding a pip install setuptools in a step before the coverage badge did it for me.


Feature/overwrite models

This allows overwriting the models for Voyager.
I will leave this open for some time so we can discuss whether or not this is a good way to do it.

@mark can you give some use cases for override the voyager models?

Of cause!
Someone created a issue once where they wanted to use soft delete for data, this can now easily be implemented by extending the models and set the SoftDelete trait on the model.
However I'm not sure wether or not to include this feature as it is. So still open for a discussion on wether or not this should be merged.

Awesome!
This feature awesome for someone already used Zizaco/entrust,Custom Trait or anything else
And this feature also can make voyager more flexible

I'm not sure I agree with this.  What's stopping developers from just subclassing the model in the normal OOP fashion, adding what they need, then just changing the class/package path in the Voyager Database tool?  This would be my preference on how to do it.  I'd prefer to give developers the idea that they can use this without writing any code (too CMS-like, which we're trying to avoid).

Thanks for the discussion.
I have decided to close this.


[Question] find_all_linear_names function for LoRA does not behave as expected

Question
https://github.com/haotian-liu/LLaVA/blob/4e2277a060da264c4f21b364c867cc622c945874/llava/train/train.py#L169-L182
Since the code splits the module names and adds only the last portion, the output for LLaVA-v1.6-34b is ['down_proj', 'gate_proj', 'v_proj', 'up_proj', 'o_proj', 'q_proj', 'k_proj']. These attention layers are present in the CLIPTower, thus applying LoRA adapters to the vision_tower.
This is applicable when loading pre-trained weights for instruction tuning and does not seem like expected behaviour.
@haotian-liu please clarify.

I was wondering about the same thing. Any update on this one?


Impossibility to use CreateDTICohort with a schemeFile

I tried using CreateDTICohort with a scheme file as described in the documentation  :
"-w, --dwi-parameters [B0Image,directionFile,bvalue]
[B0Image,schemeFile]
[..]
Alternatively, one can specify a scheme file where each direction is specified
followed by a b-value for that direction, i.e.     ...
. "
However I can't get it to work and always get the error (I attempted a bunch of formats for the scheme file) :
"ERROR:  Number of directions does not match the data file."
By getting a closer look at the source code, it seems that if we don't use the first option ([B0Image,directionFile,bvalue]), the variable numberOfDirections is set at 0 and is not modified afterwards, inevitably failing the test leading to the above error.
Is this an option left unimplemented?
Thank you

It is implemented although not incrementing the numberOfDirections is a bug in the original code.  After publishing this tech report, I don't think it's gotten much use so thanks for taking a look.  This recent commit should fix the issue.

Great, thank you.
I forgot to mention in my original post, this :
 if( dwiOption->GetFunction( 0 )->GetNumberOfParameters() < 2 ) (line 507 & line 519)
Isn't  the <2 inadequate since there are 2 parameters [B0Image, schemeFile] ?
I am not sure about the GetNumberOfParameters() function but earlier, GetNumberOfParameters() > 2 is used to detect if this input  [B0Image,directionFile,bvalue] was used in the call.

Yeah, that's right.  It should be fixed now.


Add missing MapStylePicker component

It would be nice if corrections are made through the tutorial ( http://vis.academy/#/building-a-geospatial-app/2-map-data-overlays-scatterplot
) , because it's a little bit a pain to seek where is the error and finally to get to compare the diff with the "Complete Code" or final code on GitHub. Thanks !


harfbuzz-sys build fails with cannot find input file: `test/Makefile.in'

I just tried to clone the repo and run cargo build, and I got this build error when compiling the harfbuzz-sys crate dependency:
--- stderr
config.status: error: cannot find input file: `test/Makefile.in'
make: *** [all] Error 1
thread 'main' panicked at 'assertion failed: Command::new("make").env("MAKEFLAGS",
                         env::var("CARGO_MAKEFLAGS").unwrap_or_default()).args(&["-R",
                                                                                "-f",
                                                                                "makefile.cargo"]).status().unwrap().success()', /usr/local/google/home/clupo/.cargo/registry/src/github.com-1ecc6299db9ec823/harfbuzz-sys-0.3.1/build.rs:31:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

This happens when I compile skribo on Debian Linux. However, when I do it on my Mac it builds without the error above.
These may be related:
https://github.com/servo/rust-harfbuzz/issues/137
https://github.com/servo/rust-harfbuzz/pull/136
Note that if I build rust-harfbuzz directly from source (as opposed to fetching it as a dependency of skribo), it builds without that error, also on Linux.

Yeah, this is biting me too. It's possible to work around it by specifying these dependencies in the Cargo.toml:
[dependencies]
# TODO: will make back-end optional
harfbuzz = "=0.3.0"
harfbuzz-sys = "=0.3.0"

I think it needs to be fixed on the harfbuzz side, I don't believe there's anything I'm doing wrong.

Yes, that will be fixed by https://github.com/servo/rust-harfbuzz/pull/142.

This just caused an issue for me publishing my own dependent crate to crates.io. I don't see an issue when building binaries, but this shows up in cargo package

FYI, harfbuzz-sys 0.3.2 is out.


[WIP] cmd/govim: add test for quickfix

Currently blocked on https://github.com/golang/go/issues/31494

Now blocked on https://github.com/vim/vim/issues/4271

Blocked on some sort of flakiness around cgetfile perhaps? Seems to work some times, but more often than not it fails.

A variation on this test was merged as part of #261


What is the link to join office hours?

I would like to begin attending the office hours; however, I can't find the link to attend the eCHO office hours. I read that there is a meeting this Friday, but there is no link in the calendar invite.
Thank you,
Sherwood Zern

You can find all of them on Youtube https://www.youtube.com/@eBPFCilium/streams

What time do these events happen? I see multiple times.

It switches between US and EU times every week

This week is 15 CET https://www.youtube.com/watch?v=CyAToN2XFTc