Sync brightness

Sync brightness of internal monitor to  external monitor instantly.
This feature will bring following benefits

You only need to manage one monitor brightness.
If you enable the ambient light sensor of macbook or imac, the external monitor will change according the light at the same time.

:shipit:

This would be a very nice addition to this project, good job @ufo22940268.
One feature that would be nice to see as part of this would be the ability to define the brightness scale non-linearly. I'd think it's very rare that the brightness of two different monitors scale linearly and min/max is not something that can account for that.
Take my DELL U2715H for instance, here's a table of for its brightness values that match my MacBook internal display quite well (using ocular inspection).

DELL U2715H
MacBook Internal Display

0 - 9
35 - 47

10 - 19
60 - 69

20 - 49
69 - 88.33

50 - 100
85 - 97.75

One feature that would be nice to see as part of this would be the ability to define the brightness scale non-linearly.

Check how Lunar does it by defining some scaling constants:

But please don't be like Lunar. Lunar lets you change the brightness of each display independently, making not very usefull the sync option. A great thing about Monitor Control is that when you change the brightness with your keyboard, it changes it in all your monitor at the same time.

@ricardopolo I'm not too familiar with Lunar except I've seen it mentioned a few times here. Could you please elaborate? Disabling the sync behaviour would just use the current behaviour I'd think?

@JoniVR Lunar changes the brightness of each screen separately. So the whole "sync" thing is not very useful. If you use your keyboard to change the brightness it mess all.

This feature would be so awesome. @ufo22940268 Are you still working on the requested changes?

This feature would be so awesome. @ufo22940268 Are you still working on the requested changes?

I am too busy on working. Don't have time to complete this PR. Sorry

I am too busy on working. Don't have time to complete this PR. Sorry

@JoniVR  sorry I never replied to your questions. I'm not too familiar with AppKit and constraints / UI coding etc. so most of your questions I have no idea how to respond.
Anyway, I've since moved on to my own command line script which reads the ambient lighting from an X-rite sensor and uses DDC to set the RGB / contrast / brightness of the monitor to match it. This way I don't have to manually adjust anything.

As far as I can tell, this is not implemented yet?
I have already written a whole app which does exactly the same as monitor control, but since the M1 launch it got useless. This sync feature is the only feature that is missing for me.
Any interest in a new PR based on the latest MC Master Branch?

@kaeferfreund I think Lunar supports sync mode, so I'd recommend that instead if you want a quick solution. I'm not sure if/when we'll adopt this yet.


docs: add note that there are two Cilium CLIs

The Component Overview describes the (local agent) Cilium CLI. This PR notes that this shouldn't be confused with...the other Cilium CLI
Please ensure your pull request adheres to the following guidelines:

[X] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[X] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[X] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[X] Thanks for contributing!

Doc change only, related workflows passed. We're good to go.


How to train without GT_AUG

Hi shaoshuai,
Thanks for your code. And I'm a bit uncertain about how to train without GT_AUG. Is it enough to set GT_AUG_ENABLE=false ?

also, what is the meaning of cfg.GT_AUG_HARD_RATIO? Thanks!


Run hyperspectral extractor on ongoing Season 7 data

Get this running on incoming data for wider team usage.

Try to implement clipping on the files to plot level before processing to reduce memory requirements.

ncks -d lon,-88.8,-87.7 -d lat,39.8,40.5 out/all.nc champaign.nc

I will focus on trying to get _ind file Henry generated in 2017 extracted and share list of indexes in the header for submission to BETYdb.
I've tried to run 2018 data but encountered bugs and would like Vasit's team to try transferring to AZ to see if it can be run there. Bug I saw:
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
hyperspectral_workflow.sh: ERROR Failed to translate raw data. Debug this:
ncks -O  --hdr_pad=10000 --no_tmp_fl --trr_wxy=955,1600,2587 --trr typ_in=NC_USHORT --trr typ_out=NC_USHORT --trr ntl_in=bil --trr ntl_out=bsq --trr_in=/home/extractor/sites/ua-mac/raw_data/VNIR/2017-04-16/2017-04-16__11-51-16-722/0eebf84b-8a0a-45e6-aa2a-c49c82fab5e9_raw /home/extractor/hyperspectral_dummy.nc /tmp/terraref_tmp_trn.nc.pid495.fl00.tmp

per advice from Charlie, I refactored the Dockerfile to install netCDF + HDF5 + nco with conda:
# install conda
USER extractor
RUN cd ~ \
    &&  wget https://repo.continuum.io/archive/Anaconda2-5.3.1-Linux-x86_64.sh \
    && bash Anaconda2-5.3.1-Linux-x86_64.sh -b

#install conda-forge packages
RUN ~/anaconda2/bin/conda config --add channels conda-forge \
    && ~/anaconda2/bin/conda install hdf5 netcdf4 nco

I then mounted one of the 7.8 GB BIL files into the container on my laptop and tried the command:
~/anaconda2/bin/ncks -O --hdr_pad=10000 --no_tmp_fl --trr_wxy=955,1600,2587 --trr typ_in=NC_USHORT --trr typ_out=NC_USHORT --trr ntl_in=bil --trr ntl_out=bsq --trr_in=0eebf84b-8a0a-45e6-aa2a-c49c82fab5e9_raw ~/hyperspectral_dummy.nc terraref_foo.nc

...no errors, but it was Killed due to out of memory (don't have 32 GB ram on my laptop). So I pushed this version of image to kubernetes and will try a test on the same file on our large memory machine. The docker image is pulling now.

Here's the versions conda installs, btw:
hdf4-4.2.13
hdf5-1.10.4
libnetcdf-4.6.2
netcdf4-1.4.2
nco-4.7.9

latest progress, error on environment logger .nc file:
python /home/extractor/hyperspectral_metadata.py dbg=yes fmt=4 ftn=no /home/extractor/sites/ua-mac/raw_data/VNIR/2017-04-16/2017-04-16__11-51-16-722/0eebf84b-8a0a-45e6-aa2a-c49c82fab5e9_raw /tmp/terraref_tmp_jsn.nc.pid602.fl00.tmp

HDF5-DIAG: Error detected in HDF5 (1.10.4) thread<PHONE_NUMBER>09696:
  #000: H5F.c line 509 in H5Fopen(): unable to open file
    major: File accessibilty
    minor: Unable to open file
  #001: H5Fint.c line 1400 in H5F__open(): unable to open file
    major: File accessibilty
    minor: Unable to open file
  #002: H5Fint.c line 1615 in H5F_open(): unable to lock the file
    major: File accessibilty
    minor: Unable to open file
  #003: H5FD.c line 1640 in H5FD_lock(): driver lock request failed
    major: Virtual File Layer
    minor: Can't update object
  #004: H5FDsec2.c line 941 in H5FD_sec2_lock(): unable to lock file, errno = 37, error message = 'No locks available'
    major: File accessibilty
    minor: Bad file ID accessed
ERROR: nco__open() unable to open file "/home/extractor/sites/ua-mac/Level_1/envlog_netcdf/2017-04-16/envlog_netcdf_L1_ua-mac_2017-04-16.nc"

ERROR NC_EHDFERR Error at HDF5 layer
HINT: NC_EHDFERR errors indicate that the HDF5-backend to netCDF is unable to perform the requested task. NCO can receive this devilishly inscrutable error for a variety of possible reasons including: 1) The run-time dynamic linker attempts to resolve calls from the netCDF library to the HDF library with an HDF5 libhdf5.a that is incompatible with the version used to build NCO and netCDF. 2) An incorrect netCDF4 library implementation of a procedure (e.g., nc_rename_var()) in terms of HDF function calls (e.g., HDF5Lmove()) manifests an error or inconsistent state within the HDF5 layer. This often occurs during renaming operations (https://github.com/Unidata/netcdf-c/issues/597). 3) Bad vibes.
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open()
nco_err_exit(): ERROR Error code is -101. Translation into English with nc_strerror(-101) is "NetCDF: HDF error"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
./hyperspectral_workflow.sh: problem extracting env-log from /home/extractor/sites/ua-mac/Level_1/envlog_netcdf/2017-04-16/envlog_netcdf_L1_ua-mac_2017-04-16.nc

Haven't dug into why this is happening yet.

ok, good news bad news. solved the envlog problem:
export HDF5_USE_FILE_LOCKING=FALSE
This avoids the file lock bug, and I was able to successfully reprocess VNIR - 2017-04-18__10-16-26-509. The size of output files approximately match what was generated by Charlie.
However, when trying to process a dataset from 2018 (VNIR - 2018-08-18__11-47-47-403) I encounter a bug I think with the new camera:
assert len(wavelength) in (955, 272, 273), "ERROR: Failed to get wavlength information. Please check if you modified the *.hdr files"

The assertion that wavelength is one of 955, 272, 273 fails - the actual wavelength count is 939.
I modified this portion of the code in hyperspectral_metadata.py to avoid this bug:
# Check if the wavelength is correctly collected
        assert len(wavelength) in (939, 955, 272, 273), "ERROR: Failed to get wavlength information. Please check if you modified the *.hdr files (length %s)" % len(wavelength)

        camera_opt = 'VNIR' if len(wavelength) in (939, 955) else 'SWIR' # Choose appropriate camera by counting the number of wavelengths.

Note how I added 939 to valid values. Unfortunately this just yields a different downstream error:
nco_err_exit(): ERROR Error code is -57. Translation into English with nc_strerror(-57) is "NetCDF: Start+count exceeds dimension bound"
ERROR: nco_put_vara() failed to nc_put_vara() variable "cst_cnv_trg_nw"
hyperspectral_workflow.sh: problem copying theblob\n

Seems to be occurring here in hyperspectral workflow.sh:
            #copy theblob.nc to att_out
            printf "ncks -A  ${drc_spt}/theblob.nc ${att_out}"
            ncks -A  "${drc_spt}/theblob.nc" "${att_out}"
            [ "$?" -ne 0 ] && echo "$0: problem copying theblob\n" && exit 1

ncks -A  /home/extractor/theblob.nc /tmp/terraref_tmp_att.nc.pid15.fl00.tmp

the ncks command is very basic so not sure how to fix this dimension bound error yet.

Awesome ... the fact that it works on the old camera is fantastic news, since it means we actually have the ability to process data from some of the earlier seasons (how far?)! Also, can you put the output file somewhere (e.g. globus?) so I can take a look?

@max-zilla as we discussed last week, when you start running these, can you set the xps_img_flg so that the raw counts are included in the output files? The flag is set here: https://github.com/terraref/extractors-hyperspectral/blob/master/hyperspectral/hyperspectral_workflow.sh#L143
I'm not sure what the appropriate value is but the logic it uses is on https://github.com/terraref/extractors-hyperspectral/blob/master/hyperspectral/hyperspectral_workflow.sh#L744
I think that this will (as originally intended) make it easier to reprocess with the new calibration algorithms that @Paheding et al are developing

In meantime, we can queue up data from 2016-2017 that is within size constraints while we get S6+ prepared.

running tests on S4 data with "--output_xps_img flag enabled to include raw data

extractor docker image is updated and running the script to queue these for 2017 now. gave Vasit and Patrick update on Monday.

this issue has been open 6 months, going to create a new issue to reflect updating for newer VNIR camera with more details.

https://github.com/terraref/computing-pipeline/issues/576


Big viewer cleanup

This is essentially ready for review, except for the fact that it's based off of an unmerged branch.
I was finding it somewhat depressing working on viewer code, so I just went for it. There's much more to do.

Adds eslint to the viewer and fixes all the errors
Fixes svelte-check
Sorts options in option lists (I guess that could have been a seperate PR, but meh)
Refactors how options-fields work. @hahn-kev might have some objections to that one (a0086dce9cf0f04d4373049bb7eb29da91ee66c5). It's kind of squashed in the middle...oops. The type handling deep down was very confusing for me (as well as somewhat unsafe and peculiar) and every consumer needed to handle all the mapping between options and values. I feel like I've made the components easy to use, though I did add a bit of complexity to the MultiOptionEditor and SingleOptionEditor that you might not be happy with.
Fixed a long standing problem for VS Code users

Some other code debt I'm eager to get to eventually:

Our folder structure doesn't make a ton of sense
I think there's a bunch of dead field-config code
The ProjectView component is massive

Funny I was just thinking about how big the project view was. I would love to pull stuff out of that to make it smaller


New Results Plots

Feature Request

[ ] New capacity versus total installed capacity
[ ] All plot with labels and titles
[ ] Emissions by node
[ ] Wildcards displayed on the titles
[ ] Output tables and charts of all capex, marginal cost, opex for each plant , plant type
[ ] map of renewable capacity potential at each node

Suggested Solution
No response
Additional Info
No response

@ktehranchi Does the branch 93-new-results-plots have your most up to date changes for this issue? I was going to hop on this one as well to help out as well! :)
If 93-new-results-plots does have your most up to date changes, did you want to draft a PR and then I will start adding to that branch? Just want to make sure you don't have commits that havent been pushed yet before I start pushing changes.


Added Stat Logging

Optional Stat Logging (Disabled by Default)
Added Some Events (OnMissionStart & OnMissionEnd)
Stat Logs can be used on this Website: https://exp111.github.io/StuffStuff/MHWSmartHunterChart/index.html
Stat Logging starts when the Monster Widget starts showing Monsters
Stat Logging stops when the Monster Widget stops showing Monsters

My ToDo List:
https://github.com/MrDj200/SmartHunter/projects/1

This isn't in line with my vision for SmartHunter, but thanks for the PR!


Evaluating 1034 samples on one Tesla V100 16GB GPU takes more than 30h

Hi, @tscholak . Sorry to bother you. I try to use picard (one tesla v100 16GB) on T5-large model, but it seems unreasonably slow, with a single example validation time of 90s. Here's my screenshot.

and the config I use as follows:
"do_train": false,
    "do_eval": true,
    "fp16": false,
    "per_device_eval_batch_size": 1,
    "seed": 1,
    "report_to": [],
    "predict_with_generate": true,
    "num_beams": 4,
    "num_beam_groups": 1,
    "diversity_penalty": 0.0,
    "max_val_samples": 1034,
    "use_picard": true,
    "launch_picard": true,
    "picard_mode": "parse_without_guards",
    "picard_schedule": "incremental",
    "picard_max_tokens_to_check": 2,
    "eval_accumulation_steps": 1,
    "metric_config": "both",
    "val_max_target_length": 512,
    "val_max_time": 1200

Is there any way to make it faster? (The PICARD paper mentions that the decoding speed is 3.1 seconds per sample.)
Thank you very much.

Hi @zihuig, I am also facing this issue - I am exposing GPUs to Docker via --gpus all and it seems to be using them but takes very long to run evaluation. How did you work around this?

Hi @zihuig, I am also facing this issue - I am exposing GPUs to Docker via --gpus all and it seems to be using them but takes very long to run evaluation. How did you work around this?

Hi @testzer0, I cleaned the docker cache and increased the batch size to 16, which reduced the evaluation time on the Spider dev set to one hour.

Thanks a lot! That worked.

@zihuig I have run into the same issue.  Eval takes very long hours to finish.  I tried to increase eval batch size to 4 on my TITAN RTX (24G), but it reported in CUDA memory error at about 30%.  It seems the max batch size I can set is 2.  I wonder how you cleaned up the docker cache?  How you could set batch size to 16 without running into CUDA memory issue?


Can I disable canonical links on specific pages?

Hi,
I do have a top-level catch-all page meaning pages/_.vue that is used to build all kind of (sub-) pages via data from my API. My static generated site also supports multiple locales (f.e. english, french, german). I use the $nuxtI18nHead({ addSeoAttributes: true }) function in my base layout to inject / update canonical links on all pages. However, for my use-case, I do not want this behavior on my _.vue page because the generated canonical links are wrong.
So for example, these links should reference each other, but have completely different urls. I have the correct API data to handle that but I need to disable / override those links. How can I do that?

EN: .../en/premier-league/leicester
FR: .../fr/ligue-1/psg
DE: .../de/bundesliga/dortmund

Looking forward to hear from you.
Thx. Br, Gabo

I have been tearing my hair out with this because I want to modify the canonical link on AMP pages. Being able to disable it (and then add my own custom one) would work just as well, if I could do that.
If my URL is https://www.mydomain.com/articles/some-article/amp/, then I would like the link to be <link rel="canonical" href="https://www.mydomain.com/articles/some-article/" />. There are a couple of things that I feel should work:

Adding a link with the hid="i18n-can" attribute so that it overwrites the existing link instead of appending to the list.
Modifying the object returned by this.$nuxtI18nHead to replace the link array with the modified version.

Neither is doing it -- the i18n tags are always added last, overwriting is done in the head () method of the component or in nuxt.config.js.

@benwalsh
well, I could do a ugly quickfix by disabling it and push my own canonical links.
basically, I just added another layout that removes the default links like
  head() {
    const seoMetaHeaders = this.$nuxtI18nHead({ addSeoAttributes: true })
    delete seoMetaHeaders.link // remove canonicals because these are handled manually

    return seoMetaHeaders
  }

as this is all I do in the layout, it's working fine so far, but, well, kinda ugly.
in the respective pages, I add my canonicals based on the API data.

That does solve the problem, thank you!

In the head section of nuxt config I filtered out the canonical links.
const i18nHead = this.$nuxtI18nHead({ addSeoAttributes: true });
i18nHead.link = i18nHead.link.filter((e) => e.rel !== "canonical");


subject text not picking up variables.

Scenario
Trying to send email after task completion for on_success and on_failure but the subject_text is not being constructed properly.
Code
- put: send-email
    params:
      to_file: email-message/to_file.txt
      subject_text: Concourse CI $BUILD_PIPELINE_NAME Failure
      body: slack-message/slack.message.txt

Even if I encapsulate the subject_text with double quotes to represent it as a string the variables are still not being evaluated. Any idea why this is the case?

Variable substitution is in Jinja template syntax, so you usually would write
Concourse CI {{ BUILD_PIPELINE_NAME }} Failure

Since I didn't implement the subject_text and body_text configuration values myself I don't know how this interferes with the {{parameters}}-syntax of concourse itself. Maybe @knifhen can shed some light on this. I would have to try that out myself. I hope I could point you into the right direction. Feel free to share your findings ;-)


[FEATURE] Easily change gdpr settings after they have already been set

Is your feature request related to a problem? Please describe.
To be gdpr compliant, it is required that the user can easily change the gdpr settings from within the app at any moment they want. For example, having a button called gdpr in the settings of your game could show the original gdpr prompt when you first launch the game. For iOS and Android
Describe the solution you'd like
Just have a function that can be called from GD that would show the gdpr prompt again.
Describe alternatives you've considered
None that I can think of
Additional context
Reference https://www.sourcepoint.com/blog/optimizing-user-opt-in-on-ios-14-idfa-changes/

I think this is not possible, because from what I've researched, UMP needs to be started before MobileAds.initialize().

In that case be sure to call it before MobileAds.initialize, so that no cookies are used.

And we can't initialize the AdMob more than once

This needs to be done only once, ideally at app launch.

And the area when Reset content state is in Testing
Probably the user will need to restart the game to this works, until he don't do that, the consent will not change.
But i will give a try to see if this can work, thank you for opening the Issue!

Yeah, i tested here and the user will need to restart the game to this works, when i reset the consent after being consented nothing happens until i restart the app.
I'm just afraid if this method is only for testing or it can also be for production, if the user wants to select another consent.
I created a conversation here on Google Mobile Ads SDK developers: https://groups.google.com/g/google-admob-ads-sdk/c/F_QHhhE5Qro if they say can be too for production, i will do that

Great thank you for looking into this! How can you tell that you needed to reset? Like how do you know the gdpr settings have been set to something else? Just curious. Also in previous games or api, that is what I did. I had a gdpr button in the settings, and then when you press it and change your preference, the screen becomes black and it says gdpr settings changed, please restart the app. It's not very user friendly, but it at least gives the user the ability to reset the settings. Maybe in the api comment you could say, "you need to restart the app for changes to take into effect". That way developers knows. The developers could then do what I do, or they could show a dismissible prompt saying "Gdpr settings changed, effect will take place once application is restarted" or something along those lines.

Also looks like I don't have permission to chat in the google conversation you have. Do you mind asking as well, just to make sure if the user needs to restart the application after they do UMPConsentInformation.sharedInstance reset?

Probably i wont need to restart the app, just try to call again the user consent, i will try again tomorrow.
We can know the GDPR settings have been set by the signal consent_status_changed(consent_status_message)
It can be four type of status: https://developers.google.com/admob/ump/android/quick-start#present_the_form_if_required
Today the User consent appear when the app starts, which i think it will be better due of this: https://stackoverflow.com/a/63232045, but i can make a option to: Appear the UMP when initialize the AdMob and also a function to try to appear the UMP, but to appear the UMP again we will need to reset the consent.

Also looks like I don't have permission to chat in the google conversation you have. Do you mind asking as well, just to make sure if the user needs to restart the application after they do UMPConsentInformation.sharedInstance reset?

To write on the conversation you need to participate to the group on the main page: https://groups.google.com/g/google-admob-ads-sdk, and yes, i can do that

hey @Xioor , they answered: https://groups.google.com/g/google-admob-ads-sdk/c/F_QHhhE5Qro
Also i created a thread here: https://support.google.com/admob/thread/108484133/the-function-umpconsentinformation-sharedinstance-reset-is-just-for-test-or-can-be-used-on-produc?hl=en

Great thank you for so much! I also contributed to the conversation. Great work :)

So Teejay answered this:
There are 2 ways for you to revoke/reset the consent of your app's users.

You may to request consent again to trigger the revocation of the previous consent. You may create a method for this, then put an option in your app settings section called 'modify consent' that will run the created method.
You will need to set the UMPConsentStatus to UNKNOWN first or by resetting the consent by following this guide.

I will do this until the end of this week, I am currently working on a Plugin Editor that will replace admob_api: https://github.com/Poing-Studios/Godot-AdMob-Editor-Plugin
It is still in the pre-alpha phase, when i finish i will do that.
Thank you so much for helping the Plugin be better!

Hey @Xioor  i'm almost finishing, but i'm not able to test because AdMob send me this:
Your GDPR messages and settings in Funding Choices are being transferred to Ad Manager and AdMob. Messages targeting sites (not apps) with no recent traffic will be unpublished and may be republished in Ad Manager. We're also merging the vendors you've selected in the European Union Consent Messages in Funding Choices with the ad technology providers displayed on your Ad Manager or AdMob EU User Consent page. All self-use purposes are now defined at the account level. New users will see the combined list of vendors in their GDPR messages as soon as we complete the transfer. Review your ad technology vendors and providers before June 1st.
https://support.google.com/fundingchoices/answer/10648187
And they still don't finished this.

@Xioor I have just commited the changes, please try it out.

@gumaciel I am assuming after June 1st it should be good to test? Thanks for the update!

@Xioor Yes, but they don't tell nothing yet, still not working the GDPR :(

@Xioor Hi, it's working for you? They still don't transfer the Funding Choices to AdMob for me

@Xioor I tested here on my Android device and seems to work everything fine
i invite you to test the new version of the Plugin, i just released the version:
Editor Plugin: v1.0.0
iOS Plugin: v2.0.0
Android Plugin: v2.0.0
Editor: https://github.com/Poing-Studios/godot-admob-editor/releases/tag/v1.0.0
Android: https://github.com/Poing-Studios/godot-admob-android/releases/tag/v2.0.0
iOS: https://github.com/Poing-Studios/godot-admob-ios/releases/tag/v2.0.0
Soon i will try to work on this issue of "NSUserTrackingUsageDescription"
I will close this issue, if this doesn't fix to you let us know.


Img-hide (CB)

Hide secret texts/messages inside an image. You can optionally encrypt your texts with a password using AES-256 before encoding into the image.

Cheers 👍


WIP rescheduler mode

This ensures descheduler is run rescheduler mode so that it can make some room for critical pods created by DS controller. Will add unit tests in the same PR.
/cc @aveshagarwal

@ravisantoshgudimetla given that the target is promote "schedule DaemonSetPods by default scheduler" feature to beta in 1.12https://github.com/kubernetes/kubernetes/issues/66526, i wonder what would be the usecase for this? I remember we discussed not going this path last time, unless something changed.
@sjenning

/close
Closing this as we want to wait till kube 1.12 so that we can remove rescheduler.


Incorrect LCSC product number (C713947)

For the 10K resistor which features in several boards the incorrect product number, C713947, is added to the BOM files. It should be C714634. Although that resistor has a different tolerance. I guess the tolerance is not massively important. However the value of the resistor is. Just want to stop people ordering blindly of the BOM.

Some boards in TalosES do use discrete resistors. Which BoM are you referring to, specifically? The BoM is generated automatically by the CAD tool, directly from the schematic.

All the BOM files, the 4 of the different cards and the motherboard. The manufacturer part is MF1/4W-1Ω±1%T52, which refers to a 1Ohm resistor. Maybe something not quite linked correctly?

Thanks. I will investigate this as soon as I get home on Sunday (on the road right now, slow Internet).

Apologies for the delay, Ronald, this fell through the cracks. It's all corrected now, for all five boards; all five BoM files are updated to use LCSC part number C2903232.


add some lua-specific feature details

Here's some notes on the Lua target.  Does this look right?  I couldn't work out how to build the website.

Some minor things I've noticed:

capitalization is a bit inconsistent, sometimes you use haxe/lua, sometimes Haxe/Lua (the latter is correct I think)
the proper spelling for Luarocks seems to be LuaRocks according to their site

Mark thanks for updating, this has fallen off my radar.  I will add some more tips and tricks soon.

Ok it now passes Travis, is this mergable as is?

Thanks!
Love to see those tips and tricks!


bind to raw data without generic type

Port.bind(T* data) is restrictive to use in certain circumstances.
Adding a Halide::Type as an argument and removing the generic typing helps.
Port.bind(Halide::Type, void* data) allows binding to raw addresses.

@richardfixstars Can you reimplemnt generic version of bind as a wrapper function of the new function which you propose?

@richardfixstars Can you reimplemnt generic version of bind as a wrapper function of the new function which you propose?

That makes sense. Done.


Investigate async submission saving

This would be a straightforward code change to do (in workflow) page transitions while asynchronously saving the submission. This differs from the current situation, where the submission is persisted, then the transition occurs, potentially causing a user noticeable delay in page transitions.
This is potentially related to an anomalous transition behavior where sometimes a workflow step will flash quickly before transitioning correctly to the next page.
While the code change is straightforward, we need to be sure that this does not have any negative impact on subsequent routes.
Note: I wouldn't think that subsequent routes would be effected, as the operation only persists changes that already exist in the client Store.

Lines like this are responsible for this behavior. We could take this opportunity to refactor the submission saving code perhaps to a Mixin so this saving code is not repeated as much as it is currently.
https://github.com/OA-PASS/pass-ember/blob/master/app/controllers/submissions/new/basics.js#L63:
this.get('submission').save().then(() => this.transitionToRoute(gotoRoute));

On the surface this is a simple fix. A quick experiment of simply pulling the transition out of the save Promise resulted in much faster page loading, but I am not convinced that it would the subsequent page would load correctly consistently.
Some workflow steps rely on data persisted on the Submission in order to render the UI correctly. We need to wait for the save to complete either before or after the transition


This unmaintained version no longer claims properly.

At the current time, this bot can start but absolutely will not claim correctly due to some discord DOM edits and some logic. I've forked and fixed this and it works decently now on my server. If you want access to the new source code just DM me on discord.
Nerdy_Koala#9470

cant find you, is there another way to contact you?

Yeah sorry I actually forked this and put it up on GitHub again awhile back
https://github.com/ANTFOR7717/AutoWaifuClaimerV3
Note there's two branches, one for using a container to run this on any system and the other if you've got a MacBook and Python 3.8

Ooh, i see. I still would want some help setting it up, if you dont mind

No prob, add my discord tag: NerdyK#9470

Thanks, sent it

Hi, Is it still working? I also would want a little help setting it up if it still works

Yes its working again as of today @TheNanoMan

Great! Can I add you on discord? I think I’ll need some help to set it up

Yeah go ahead

On Feb 6, 2022, at 10:00 PM, TheNanoMan @.***> wrote:

Great! Can I add you on discord? I think I’ll need some help to set it up
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Hello @ANTFOR7717, I have absolutely never coded anything, so I would like to know if you would mind helping me to set up all this ?

Hey! Try implementing your solution. The script goes up to $tu on my server and then fails to parse. Any idea? Tried adding your disc but you had blocked friend requests.

My fault mate, my remote branch is a bit behind on my local branch. Ping me on Discord if you can I can get you the latest version. I'll try to get this GitHub repo up to date tonight.

Hello @ANTFOR7717, I have absolutely never coded anything, so I would like to know if you would mind helping me to set up all this ?

@LeLamasticorne it won't be a problem, getting this started doesn't require any code just copy and pasting a few lines

My fault mate, my remote branch is a bit behind on my local branch. Ping me on Discord if you can I can get you the latest version. I'll try to get this GitHub repo up to date tonight.

Thanks boss! Couldnt add you to discord friend list. Try mine! Ky Abuser#7207

@ANTFOR7717 Oh thanks, can you add me on discord ? Le Lamasticorne#2303

Im currently getting "Could not parse $tu command, quitting (try again)" with the latest commit of @ANTFOR7717 fork, all IDs and tokens are correct and verified, logging-in works, but the bot never actually sends $tu, the bot also only appears online for a brief moment before going offline.
Thank you for your time working on this, i really appreciate it.

Hey @Edszx,
You're going to want to manually put a $tu command in your discord chat before it times out after 30 seconds. It used to send $tu itself but it was very inconsistent and would occasionally fail to send it correctly and crash.
Also in main.py the bot is explicitly told to go offline, which you can disable if you'd like but it's purposeful behavior.
Since you're getting at the way to the $tu parse all your info is definitely correct so one you type in $tu in that chat yourself you'll be good! Also we found it can't parse overly customized tu commands, so if it struggles with yours you'll want to make it vanilla.

@ANTFOR7717 Thank you very much, you're right, as soon as i sent a $tu with my regular account, the bot parsed the info, is there a way to send a $tu with the bot's account instead to make it use its own info? the $tu parsed may not coincide with the bot account's actual timers.

 So bots essentially can't play at all. (But you actually can send them waifus and kakera). So the bot isn't actually playing it's reading all the info in the chat and sending it to a selenium engine that makes decisions on your accounts behalf.

@ANTFOR7717  Ah, i finally managed to see it in action, but there's a big problem, the bot is not activating the roll task on the correct times, for example:
ROLL_DURATION = 60
TIME_TO_ROLL = 50
This means rolls are set on the Mudae bot to reset every 60 minutes, and the bot should try rolling when the next roll reset is in 50 minutes, that means, 10 minutes after the last reset.
The bot doesn't activate on that time neither if:

The current time is lower for example, if after parsing $tu the next roll reset is 45 minutes (less than 50) and there are rolls available, it doesn't automatically try to roll to cover for this period.

If the time naturally goes down to 50 minutes, for example, after parsing $tu, the next roll reset is in 52 minutes, after two minutes when hitting 50, it doesn't start the roll task either.

Just as an example, with a fresh $tu parse that says that the next reset is in 42 minutes, the bot is reporting "Roll timer sleeping for 5520 seconds", which is 92 minutes, that's even higher than the whole roll reset timer from Mudae (60 mins), i don't know where is it even getting that calculation from.
This is all using vanilla $tu with no modifications.

@Edszx Yes! It's exactly as you said. Right now no matter what it will wait to start rolling until the next interval.
I expect the behavior of time_to_roll=50 would be it rolling 10 minutes into to the next interval. I haven't tested it though so I can't say with confidence.
But just about every-time the bot is initialized, the timer will be set longer then the 60 minutes. Since it won't attempt to roll until next interval. However it will claim and react instantly if available.
Future updates will give us a greater control of how it behaves without needing to mess with the source code directly.

@ANTFOR7717 I see i see, thank you very much for your detailed explanation and your acknowledgment of the current behavior, i rest easy knowing that you're already aware of the issues, for now, i'll just manually roll whenever the bot doesn't want to, and let it handle the claims/reactions and kakera snipes.
Something else i want to report: the bot doesn't start the $dk task if $tu reports that $dk is available (it probably only does it on the next iteration, that being after 20 hours)
A quick question: does the bot also claims characters on the lovelist if someone else rolled for them and left them unclaimed? for example, our server has $togglesnipe 5 15, this means that if a character is not on your wishlist (which is pretty small/limited) and someone else rolled for them, you can't instantly react and steal them, you can only claim other people rolled characters after a 15 second safe period, if the bot is set to instantly react a single time, it's not going to catch these kind of claims, because any reaction before the 15 second period are not counted/valid.
As i said, i don't know if that's the current behavior, but i heavily assume so, in that case, i'll assume setting INSTANT_CLAIM_SPEED = 15 would be a workaround for that, with the downside that you would also be letting your own rolls wait for 15 seconds, allowing them to be sniped if the other person was some milliseconds faster than the bot.
A second quick question: What would be the best way to stop/pause the container where the bot is running? (in case the computer needs to be reset/shutdown), to allow it to continue from the saved state when started back up.

@Edszx that is a very valid question and I'm glad you ask because that is not an edge-case I've accounted for yet.
In my server, we have a similar protect but it's only for wishes and last for 20 seconds. If I didn't also wish for the character then I'll certainly lose it unless I manually step in and claim (which I've done before).
For your case: the instant_react_speed=15 is definitely cumbersome because it can set you up to get sniped. But you'll also need it to snipe others.
I hadn't originally intended for it be set so high, and I remember there was a very strange bug that occurred when it was greater then 2. I hope that is isn't also the case for you.
But I think it would be best to implement a piece of logic that can filter between someone else's rolls and your rolls and apply the claim_attempt method based on that.
For now I'll add that into my TODO.
For stop/pausing that is something that won't be an issue if you use a cloud service to run your container. And at some point in the future I will make a web application that can orchestrate the creation of waifu-claim containers for users in the cloud.

@ANTFOR7717 Something weird to report: I changed the server the bot was supposed to work on (removed the containers and images and built from scratch with the new settings/IDs)
The bot is already joined on the server and has permissions to see and interact with the target channel, the claimer reports that it successfully logs in to the account/server/channel, and waits for $tu, i manually send $tu from my account, but now it doesn't parse it, this server is also using vanilla $tu output.

@Edszx I had this issue the other night. It was remaining completely unresponsive at the $tu parse and timing out no matter how many times I sent $tu. I don't have the slightest idea why, but a full reset of my computer got it working again. I also refreshed my bot token.
It could be a discord bot related issue.

Bug report: KAKERA_DURATION = 0 creates a continuous stream of kakera timer reset events that flood the console/logs, had to leave it at 1 to at least mitigate.
@ashchow95

With the new version utilizing Docker, am I still suppose to update the WEB_DRIVER_PATH to a local folder?

Don't change it from the default http://<IP_ADDRESS>:4444/wd/hub, if your $tu is not being parsed the error is somewhere else, it doesn't have anything to do with that variable.

@ashchow95 So you don't want to change the WEB_DRIVER_PATH because it currently links so the Firefox container where the actual logic for the bot claimer is being hosted. as @Edszx mentioned as well.
But this is also an issue that we have both run into which makes me wonder if this is related to new code that was added or if it's an actual Discord bot issue where it's not actually reading messages anymore. I will prioritize looking into this and trying to get it stable again.
Also @Edszx I really appreciate of the verbosity and semantics of your issue comments. I'll take note of it as bugged behavior in the projects README.md.  To answer your comments chronologically:

I had figured with the instant_react_speed=15 it would sleep for 15 seconds then execute the reaction method, which takes roughly 2 seconds to actually add a react. Because of that, this hack wouldn't be very effective and we would have to make a method that can determine the exact time to react much more accurately. Also, as you pointed out the reaction is indiscriminate and will place it on the most recent message in the chat. This is a known issue with no solution currently.

I have though about implementing this feature for awhile now, as I noticed after 4-5 days of prolonged usage, the timers actually start to get inaccurate and it throws commands too early and doesn't realize it's failed. When I get a better understanding of how the current $tu parse works its definitely something I could and should implement.

Currently with how browser.send_text() works, it is not possible to send a slash command, it simply doesn't register and nothing gets sent when a slash command is attempted as input. Possibly a future feature.

Again your feedback has been great and I think we should move these issues onto the currently maintained and forked repository:
https://github.com/ANTFOR7717/AutoWaifuClaimerV3
I'll go ahead and close this one.


How to fine-tune a new dataset?

There is no train function in your code, so how to fine-tune a new dataset?

I have the same question, could you update the train function? Thanks!

I also faced the same issue. There is no train function to fine-tune a new dataset.

We only release inference code in github. You can try the code in Mindspore, which includes the training code: https://gitee.com/mindspore/mindspore/tree/master/model_zoo/research/cv/IPT

We only release inference code in github. You can try the code in Mindspore, which includes the training code: https://gitee.com/mindspore/mindspore/tree/master/model_zoo/research/cv/IPT

The page is "not found"

@HantingChen The link seems to have expired !

@HantingChen The link seems to have expired ! Does the pretrained model translate well into real world dataset?

Please refer to https://gitee.com/mindspore/models/tree/master/research/cv/IPT
The pretrained model traslate well into real world dataset if it is well finetuned.


LDAP : connect to an OpenLDAP (yunohost)

Hi,
I try to activate an LDAP authentication that is configured by the yunohost team.
The schema is as followed (from ldapvi)
11 uid=dolanor,ou=users,dc=yunohost,dc=org
uid: dolanor
objectClass: mailAccount
objectClass: inetOrgPerson
objectClass: posixAccount
uidNumber: 1377
displayName: Dolanor Tharivae
gidNumber: 1377
homeDirectory: /home/dolanor
loginShell: /bin/bash
givenName: Dolanor
cn: Dolanor Tharivae
maildrop: dolanor
sn: Tharivae
mail<EMAIL_ADDRESS>mail<EMAIL_ADDRESS>
What I tried was :
Authorization name : mydomain.org
Domain: mydomain.org
Host: IP
Port: 389
Base DN: ou=users,dc=yunohost,dc=org
Username attribute: uid
First name attribute: givenName
Surname attribute: sn
E-mail attribute: mail
Search Filter: (&(objectClass=mailAccount)(uid=%s))
Ms Ad SA: uid=%s,ou=users,dc=yunohost,dc=org

It doesn't work, and I have no idea where it fails. No log, nothing.
I tried to go test in modules/ldap by replacing some info with my ldap server and the test seem to work. But it doesn't work for the login.
Also, the screenshots from http://gogs.io/docs/features/authentication.html should be updated with the new Authentication screen.

Thanks your feedback!
What behavior of Gogs did you see when it fails?

It just says "username or password is not correct".
I see nothing in the logs. Even though I tried to activate the Debug or Trace version in the /data/gogs/conf/app.ini for all log Modes. Because I want to know if it fails at the bind, the connect or if my filters are not good.
From what I understand, I should try to connect just with my uid, and not with the mail (which is uid@mydomain.org).
By the way, I have plenty of email address on this account which are just alias that redirect to my main one. Do you handle that case too ? (but I think it is not the problem here. It is just an off topic question)

Thanks your info!
Not very familiar with LDAP(but trying hard), so it takes time to debug on the problem.
BTW,

Even though I tried to activate the Debug or Trace version in the /data/gogs/conf/app.ini for all log Modes.

You should edit custom/conf/app.ini for any config changes.

By the way, I have plenty of email address on this account which are just alias that redirect to my main one. Do you handle that case too ?

Not sure what do you mean by the that case, but Gogs can add more e-mails into 1 account.

when launching the app from docker, the options are taken into account
2015/08/01 12:31:12 [T] Custom path: /data/gogs
2015/08/01 12:31:12 [T] Log path: /gopath/src/github.com/gogits/gogs/log
2015/08/01 12:31:12 [I] Gogs: Go Git Service <IP_ADDRESS>5 Beta
2015/08/01 12:31:12 [I] Log Mode: File(Debug)
2015/08/01 12:31:12 [I] Redis Enabled
2015/08/01 12:31:12 [I] Cache Service Enabled
2015/08/01 12:31:12 [I] Session Service Enabled
2015/08/01 12:31:12 [I] Mail Service Enabled
2015/08/01 12:31:12 [I] Register Mail Service Enabled
2015/08/01 12:31:12 [I] Notify Mail Service Enabled
2015/08/01 12:31:12 [I] SQLite3 Enabled
2015/08/01 12:31:12 [I] Run Mode: Development
2015/08/01 12:31:12 [I] Listen: http://<IP_ADDRESS>:3000

I'm well in File(Debug) but still, it doesn't seem to output anything looking like debug. It seems my custom data path is /data/gogs/ so it is not the default ./custom/. Am I right ?

when launching the app from docker, the options are taken into account

Well... that's off my knowledge, maybe the dockerfile writer made that path to be the custom path of custom directory.

By that case, I mean. An LDAP account having multiple emails as aliases can be identified by any of those emails? Or only the first one? Or is it a random number through the list?

I think Gogs hasn't thought about your case yet, could be a bug/feature about this.

Hi there, by mering PR #1476 into develop, this problem is claimed to be fixed, would you mind to test again and give us feedback? Thanks! :beer:

Close as implemented. :tada:

Sorry for the late reply, but I tried again with :
Authorization name : Yunohost LDAP
Domain: mydomain.org
Host: internal IP of my Yunohost LXC
Port: 389
Bind DN : cn=admin,dc=yunohost,dc=org
Bind password : *********
User Search Base : ou=users,dc=yunohost,dc=org
User Filter : (&(objectClass=mailAccount)(uid=%s))
Admin Filter : **empty**
First name attribute : givenName
Surname attribute : sn
E-mail attribute : email

and everything works great ! :+1:

Thanks for your confirmation!


Logging for bronkhorst_elflow instead of pring

@thirono Could you change print to logger here:
https://github.com/SiLab-Bonn/basil/blob/development/basil/HL/bronkhorst_elflow.py
Example: https://github.com/SiLab-Bonn/basil/blob/development/basil/HL/NTCRegister.py
+ format the source

Also I recommend to put a link to the protocol description and/or a few lines about the protocol. See for example how it is done in basil for other hardware here or here.

@AntonioT7 you could solve this issue in your fork, would be good chance to practice ;)

I am closing this as I do not see any print statements in the module anymore (whenever they got fixed).


feat: added amplify-geocoder.css to set styles for maplibre-gl-geocoder to match amplify

Description of changes

Added amplify-geocoder.css which sets maplibre-gl-geocoder styles to match the amplify specific style
Updated build steps for the css file
This does not update marker styles just yet as that requires some changes to maplibre-gl-geocoder to allow for svg elements (which is what our markers use)

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included

Do customers need to import this CSS or it will be automatically imported when importing geocoder?

Do customers need to import this CSS or it will be automatically imported when importing geocoder?

They will need to manually import the css


feat: adding new places

Adding Meta GamiMall and QuizZone

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.294%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
293

Relevant Lines:
451

💛  - Coveralls


Tests: add test to pkg/ingress package

Please describe the Improvement and/or Feature Request

Add tests to pkg/ingress package. Some functions are completed not covered.

Client.GetIngressNetworkingV1beta1()
Client.GetIngressNetworkingV1()
NewIngressClient()
Client.run()

Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [x]
CI System                  [ ]
Demo                       [ ]
Project Release            [ ]

Possible use cases

Ref #1489

This code will be deprecated in a future release, and we already have good coverage for those functions from the tests in pkg/catalog/ingress_test.go.


Ltd 4829 new reg country dropdown

New contract with data-module="autocomplete-select"
LTD-4829

Also Code needs to be update to pick up the value of the new field
https://github.com/uktrade/lite-frontend/blob/dev/exporter/core/organisation/payloads.py#L20
Basically remove above and update tests


Suggested feature - recent history of parsed resources

Suggested feature - recent history of parsed resources
Make the text box a combobox, and each time a new file/URL is opened add it to the combobox's list to record a history of previous files URLs. These could then be saved in the persistent configuration provided by Burp's API. Also, a button to "clear history" to remove the saved files/URLs.
When you send a request to swagger it could also add that as a URL to the history list, perhaps even place it in the text box at the top.

https://github.com/aress31/swurg/commit/b17952f8e68e3b661f6e835f062860083a68df90


Change position of Data in the hierarchy

depends on #136

Instead of #136 we do #252. All relevant tests pass, so we are done now.


Replace string serializer name in spec with symbol [Fix dev]

This PR fixes a spec broken by https://github.com/Netflix/fast_jsonapi/pull/198.
#198 could be a breaking change since relationship serializers could have been specified in String form before this change.

@carsol

Nice! Thank you for this @zinosama.


mypy linter extension missing logo

Testing #20883

Should this use the Python logo to match the other Python extensions?
Also "Linting support for python files using mypy." should be "Python" uppercase


Vmm_resources: check_vm/check_block: locate policy (may be not parent name)

When deploying the unikernel foo.bar, policy in bar is looked for.
When deploying the unikernel a.foo.bar, policy in foo.bar is looked for.
But since unikernel names are ., and "name" may contain any ".",
it is crucial to check the policy of bar when deploying a.foo.bar.

This is a workaround, I'm more eager to develop a real fix for the confusion.


Testing Framework Choices - Frontend

Describe the task
Choose and develop early unit testing and UI automation testing
Acceptance Criteria

[x] Determine Unit Testing Framework
[x] Determine Code Coverage Testing
[ ] Automated UI Testing Framework Decision

Additional context

My personal vote would be jest for unit testing and either cypress or testcafe for e2e testing.

Unit testing for front end  - prefer to use react testing framework @RyanBirtch-aot

Yes, Requires much less configuration, includes code coverage, and is built in to CreateReactApp boilerplate project. We can assess if we end up needing more functionality.
https://testing-library.com/docs/react-testing-library/intro/

We can circle back on Automated UI testing framework later, for now we've answered what we need.  Marking as completed after standup discussion.


BertEncoder with and without flash attention doesn't match

Hi,
There seems to be a rather large difference between the BertEncoder with and without flash attention enabled. I might be making a mistake, please let me know.
Here is some minimal code:
import torch
from transformers import BertConfig
from flash_attn.models.bert import BertEncoder

config = BertConfig.from_pretrained("bert-base-uncased")

config.hidden_act = "gelu_new"
config.use_flash_attn = False
config.fused_bias_fc = True
config.fused_mlp = True
config.fused_dropout_add_ln = True
config.dense_seq_output = True
config.last_layer_subset = False
config.use_xentropy = True

model_weights = BertEncoder(config).state_dict()

dtype = torch.float16
batch_size = 4
max_seqlen = 512
seqlens = torch.randint(max_seqlen // 2, max_seqlen + 1, (batch_size,), device="cuda")
x = torch.rand(
    batch_size, max_seqlen, config.hidden_size, device="cuda", dtype=dtype
)

def test_bert_dense_seq_output(use_flash_attention):
    torch.manual_seed(0)
    dtype = torch.float16
    config = BertConfig.from_pretrained("bert-base-uncased")
    config.hidden_act = "gelu_new"
    config.use_flash_attn = use_flash_attention
    config.fused_bias_fc = True
    config.fused_mlp = True
    config.fused_dropout_add_ln = True
    config.dense_seq_output = True
    config.last_layer_subset = False
    config.use_xentropy = True

    model = BertEncoder(config)
    model = model.cuda().to(dtype=dtype)
    model.load_state_dict(model_weights)

    out = model(x)
    return out

out_flash = test_bert_dense_seq_output(True)
out_no_flash = test_bert_dense_seq_output(False)

print(torch.norm(out_flash - out_no_flash, dim=-1))
print(torch.isclose(out_flash, out_no_flash, rtol=0.0001, atol=1e-6))

The results for the norm are all large (around 11).

I have also just reproduced this with all the other optimizations turned off as well. Still does not match.

You want to compare
(reference model in fp32 - reference model in fp16) vs (reference model in fp32 - model with flash in fp16).
What are the two difference there?
We usually see the model with flash being more accurate (closer to the reference model in fp32).

If the differences are very large, then it's possible some options are mis-configured. You can take a look at our test for BERT here.

The model has dropout. You need to call model.eval() otherwise the results are always random each time.
Once you set model.eval() you'll see that the outputs are much closer.

@tridao thank you, that took care of the problem. Although I thought setting the seed would have made sure dropout was giving the same result? Either way, we can close this.

@jamaliki, is your problem solved? I mean, have you implemented the flash attention successfully?


dataprep-redis-server        | [2024-09-03 16:35:17,755] [    INFO] - HTTP server setup successful
tgi-service                  | │ ❱ 324 │   │   utils.convert_files(local_pt_files, local_st_files, discard_na │
tgi-service                  | │   325                                                                        │
tgi-service                  | │   326                                                                        │
tgi-service                  | │   327 @app.command()                                                         │
tgi-service                  | │                                                                              │
tgi-service                  | │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
tgi-service                  | │ │      architecture = 'MistralForCausalLM'                                 │ │
tgi-service                  | │ │      auto_convert = True                                                 │ │
tgi-service                  | │ │     base_model_id = None                                                 │ │
tgi-service                  | │ │            class_ = <class                                               │ │
tgi-service                  | │ │                     'transformers.models.mistral.modeling_mistral.Mistr… │ │
tgi-service                  | │ │            config = {                                                    │ │
tgi-service                  | │ │                     │   '_name_or_path': './neural-chat-7b-v3-9',        │ │
tgi-service                  | │ │                     │   'architectures': ['MistralForCausalLM'],         │ │
tgi-service                  | │ │                     │   'bos_token_id': 1,                               │ │
tgi-service                  | │ │                     │   'eos_token_id': 2,                               │ │
tgi-service                  | │ │                     │   'hidden_act': 'silu',                            │ │
llm-tgi-server               |   warnings.warn(
llm-tgi-server               | [2024-09-03 16:35:15,842] [    INFO] - CORS is enabled.
llm-tgi-server               | [2024-09-03 16:35:15,842] [    INFO] - Setting up HTTP server
llm-tgi-server               | [2024-09-03 16:35:15,843] [    INFO] - Uvicorn server setup on port 9000
llm-tgi-server               | INFO:     Waiting for application startup.
llm-tgi-server               | INFO:     Application startup complete.
llm-tgi-server               | INFO:     Uvicorn running on http://<IP_ADDRESS>:9000 (Press CTRL+C to quit)
llm-tgi-server               | [2024-09-03 16:35:15,852] [    INFO] - HTTP server setup successful
dataprep-redis-server        | [2024-09-03 16:35:17,755] [    INFO] - HTTP server setup successful
dataprep-redis-server        | [2024-09-03 16:35:17,755] [    INFO] - HTTP server setup successful
tgi-service                  | │ │                     │   'hidden_size': 4096,                             │ │
tgi-service                  | │ │                     │   'initializer_range': 0.02,                       │ │
tgi-service                  | │ │                     │   'intermediate_size': 14336,                      │ │
tgi-service                  | │ │                     │   'max_position_embeddings': 32768,                │ │
tgi-service                  | │ │                     │   'model_type': 'mistral',                         │ │
tgi-service                  | │ │                     │   ... +11                                          │ │
tgi-service                  | │ │                     }                                                    │ │
tgi-service                  | │ │   config_filename = '/data/models--Intel--neural-chat-7b-v3-3/snapshots… │ │
tgi-service                  | │ │     discard_names = ['lm_head.weight']                                   │ │
tgi-service                  | │ │         extension = '.safetensors'                                       │ │
tgi-service                  | │ │                 f = <_io.TextIOWrapper                                   │ │
tgi-service                  | │ │                     name='/data/models--Intel--neural-chat-7b-v3-3/snap… │ │
tgi-service                  | │ │                     mode='r' encoding='UTF-8'>                           │ │
tgi-service                  | │ │    is_local_model = False                                                │ │
tgi-service                  | │ │              json = <module 'json' from                                  │ │
tgi-service                  | │ │                     '/opt/conda/lib/python3.10/json/__init__.py'>        │ │
tgi-service                  | │ │       json_output = True                                                 │ │
tgi-service                  | │ │    local_pt_files = [                                                    │ │
tgi-service                  | │ │                     │                                                    │ │
tgi-service                  | │ │                     PosixPath('/data/models--Intel--neural-chat-7b-v3-3… │ │
tgi-service                  | │ │                     │                                                    │ │
error from daemon in stream: Error grabbing logs: unexpected EOF

This error is only occurring with Ubuntu 24.04 on AWS. I tested with both 0.8 and 0.9 Docker images. It worked fine on Amazon Linux 2023 AMI.

Hi @arun-gupta , since we don't have an AWS environment, currently it's hard to find out the root cause of this issue.
If you're willing to share your aws environment, we can help debug the problem!

@letonghan sure, let me set up a time with you offline.

I tried this again on AWS Ubuntu 24.04 and it is working fine. It also worked with Ubuntu 24.04 on GCP with latest images. The GCP instructions are available at https://gist.github.com/arun-gupta/564c5334c62cf4ada3cbd3124a2defb7.
The bug can be closed.

Ok, will close this issue.


It's possible to (mistakenly) reference multiple versions of the HAL

We could work around this by adding links = ... to Cargo.toml, similar to what embassy-time did to prevent footguns caused by multiple crate versions.

Sounds like a reasonable enough solution to me!


ci: experiment with the test lintings in ci

Type of change

[x] Bug fix

Summary
This PR checks if the CI lintings catch unexpected formatting or similar strangness with biome 🔍  Planning to share findings in comments below 🙏
Requirements

[x] I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
[x] I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
[x] I've read and agree to the Code of Conduct

https://github.com/slack-samples/bolt-ts-starter-template/actions/runs/11675826478/job/32511044471?pr=131#step:5:17
><EMAIL_ADDRESS>test
> npm run build && npm run lint

...

><EMAIL_ADDRESS>lint
> npx @biomejs/biome check --write *.ts listeners

Checked 15 files in 8ms. Fixed 1 file.

The fixed file here unfort. isn't added to the PR though'twould be neat 👀  Will follow up with proposed changes!

A potential related option is to consider running the --write run script in a pre-commit hook. I even opened an issue for this in the node-slack-sdk: https://github.com/slackapi/node-slack-sdk/issues/2034

@seratch @filmaj Thank y'all both for the reviews!
https://github.com/slackapi/node-slack-sdk/issues/2034 is quite interesting - I haven't seen this before, but it'd be neat to have these checks before a git push. I find myself testing with CI sometimes 😅
Going to merge this now and follow up with the same change elsewhere 🚢


chore: rewrite database upgrade tests without gojira

Summary
This change removes the dependency of the database upgrade tests on gojira, as that uses its own build system which has a lot of external dependencies causing the database upgrade tests to become flaky.  This new version uses its own, simple, docker-compose file based on kong release images.  There are still a couple of external dependencies during the image building when the kong luarock is installed, but there are fewer of them and the error output should be clearer.
Eventually, the upgrade tests should be run from within the "Build & Test" workflow and use the Docker image that was built instead of the latest published Docker image.
Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
KAG-1019

Please cherry pick to EE.

ping @hanshuebner


[v9.2.0] Update podspec and CHANGELOG for 9.2.0

Context

Following the merge of metrics-main (#77), this PR preps the podspec and CHANGELOG for the 9.2.0 release

I'll wait for LGTM and green CI before merging. Then, I'll stage the podspec on SpecsStaging.


fix: RequireFields generic making all other fields optional

Description
The generated RequireFields type generic has the unintended side-effect of making all other properties optional. I haven't seen this cause any issues in generated types, but it can cause issues if it is used outside of the generated types. I ran into this issue by wrapping a resolver result type with RequireFields, something like RequireFields<ResolvedThing>. Wrapping the type with RequireFields did make the noted fields required, but it had the unexpected side effect of making fields that were already required optional. This is happening because the RequireFields generic explicitly makes all fields that are not passed in the union optional. The fix is to use the build-in Omit generic instead.
Since I don't know of a bug this causes with the generated code, I decided to skip creating an issue. Let me know if that's a problem and I'll see what I can come up with.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

@GreenGremlin thank you for your contribution!
Please update your @graphql-codegen/* package to get the updated code! 📦

Awesome! Thanks for the quick merge / publish!


Editor/Document.filename should be a Path, not a String

This will massively simplify the swap filename construction, as String isn't the way to represent a path in Rust (see https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride), Path is.

My thanks to @behos for the suggestion!

want to help on this also


Logitech g203 not working properly

Hello RGB Master Team,
I'm having this issue with a Logitech device
Device: Logitech G203
Logitech G HUB version: 2020.8.5950
RGBMaster:  Latest release 2.1

Music Sync effect seems to work but its kind of buggy, maybe not related to this device.
Dominant color sync effect turn off the lights on the device and just don't do anything else.
Cursor color effect works but only change to the colors mentioned in the next point.
Color picker effect only turn lights to red, blue and green, the other colors just down take effect on the device.

Thank you (:

Hey! I discovered this bug and reproduced it on my own G502.
This happened due to messing up the calculation of each color percentage and possible values were only 0% or 100%...
I believe this would also affect on music sync, dominant color and cursor effects as well.
I'll put the hotfixed version tomorrow and publish it

@RGBfan101 See our new release.

Thank you so much!

Sure, let us know how it works for you!


Fix select2 value quote issue

Fixes: https://github.com/surveyjs/custom-widgets/issues/262
Alternative approaches using for example template strings did not seem possible with current build setup.

@peteruithoven Thank you for the contribution

Thanks for the quick review!  :slightly_smiling_face:


Enhacements.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Tests pass?
✔

[x] Add I18nProvider.
[x] Add ValidatorFactoryProvider.

Overall 👍


foo(bar) is grammatically ambiguous

foo(bar) in Igor Pro code can be interpreted as both a function call and a wave element using scaled index.
Function foo0(Variable v)
    return v*10
End

Function test()
    Make/O foo1 = p
    SetScale/P x 0, 0.5, foo1
    print foo0(1), foo1(1) // -> 10, 2
End

Recently I found the parser diagnosed a line such as myNewWave = sourceWave(x)(y) in an IPF file as an error because the parser regarded sourceWave(x) as a function call and failed to parse the remaining (y).
I think the best solution for this problem is that the parser manages a list of defined wave references or functions and parses the grammar contextually. However, to implement this behavior it will need entire modification on the current parser code.
As of 23cdf42 (2024-08-04), the parser regards foo(bar) as a wave element if it precedes extra (...) or [...] and otherwise tokenizes it as a function call. This workaround avoids code such as sourceWave(a)(b) being diagnosed as an error, while the syntax tree can be semantically inaccurate.
I would appreciate it if anyone gives me any advices or opinions.

but haven't known that you provide it.

In fact its not me but the company I am working for. 😅

I will appreciate it if you (or someone) could tell me any problems.

Yes, I will do it. If you ever encounter some problems, feel free to ask them. 😉


Mime crate badges show CSV's version

https://rust-lang-nursery.github.io/rust-cookbook/web/mime.html

Mime should be v0.3.16, or whatever minor-version is used, but appears to be showing (and referencing) the version for CSV. I suspect this is might be an issue upstream in https://github.com/rust-lang/mdBook, but I don't have the capability to properly debug it.

It's just a typo in src/links.md. There are actually some others too:

ansi_term points to base64
mime points to csv
rand_distr points to rand


5316 payments

It's really :poop: fix but should work
What was happening?
From url we checked usd amount, multiplied with ksm value (which is 0 when component is created)
the result of multiply was Infinity and that failed to sign the transaction.

:bug: making props in disabled input optional
:label: properly typed
:poop: resolve usd value to KSM

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] Closes #5316
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

BETA:

PR:

By @roiLeo via watcher in 2fc4741
By @Jarsen136 via then in 994effc

seems not sure if it worked for someone, but it's stuck for me

https://github.com/kodadot/nft-gallery/issues/5319


Use pytest asserts in behave tests

Coverage decreased (-0.04%) to 90.649% when pulling e28d5834f4a9e0475c5f968999db1a8092076467 on feature/pytest into 7f1859c02af7cc36a7ed1ffafe48d650b7d578fb on master.


Question about the regulation of unknown classification in training stage.

Thanks for your great work. I try to integrate prob-OWOD to 3D domains, but I am confronted with one problem. After training the cls reg branch produces the known categories between [-3,0], and the unknown is >0， after sigmoid and topk selection all objects are classified as unknown. May you give some insight on how to regulate the model from avoiding classifying knowns as unknowns?

Hi @synsin0,
I need a few more details about your specific problem to be sure, but I have a suspicion that either one or both of the following is occurring;

The relative weight between unknowns and knowns in your dataset is different than in COCO. This would be caused if your dataset has, on average, fewer objects per frame. You can fix this by further down-weighting the 'empty_whieght' in the 'SetCriterion' , which downlights the 'background/unknown object' logit. As you are making 100 predictions per image, and let's say on average you have 5 objects per image, that means that the relative weight should be  ~0.05 as you have effectively 95 'background/unknown object'  per image. A training-free approach to see if this is the case is simply down-weighting the C+1 logit by some constant, and seeing if this improves.

Your prob-objectness head predictions are poor, and you are predicting 100 objects per image. You could potentially fix this by changing the 'obj_temp' parameter (you do NOT need to retrain to evaluate with different temperatures!). If this does not improve the objectness prediction, then the only remaining cause would be the relative weighting of the objectness, cls, and bbox losses. I actually found that the models were not that sensitive to this parameter, but perhaps the transition to 3D is different (this needs retraining).

In your case, I would first troubleshoot to find the root of the issue. Is the objectness predicting that all proposals are objects? if so, #2 is your best bet. If the model is predicting both known and unknown objects, but the unknown object confidence is simply always higher than the known class, then #1 is your best bet.
Best,
Orr

Thanks for your timely response. Your two suggestions are very likely explanations for my poor performance. For each sample I have the query number 900, the matched gt instances are around 30-50. I am curious whether I may set the 'empty_weight' as adaptive:  num_matched / num_boxes for each frame, which may fit better. I will have a try. The second, I think the objectness determines whether it is an object or background, but not decides it is unknown or known. Is the objectness only multiplies on unknown category or all categories? I am a littile confused.

Hi @synsin0,
The objectness multiplies all categories (although you can change it to multiply only unknown object logit, this may be better in your case).
The objectness determines whether a proposal is an object or background. However, let's say the objectness always predicts 1 (e.g., if the temperature is too low). Then, none of the queries will be filtered out as background.
At the same time, let's say that the relative weighting is such that the unknown objects' predictions are more confident than the known objects. If both of these are the case, then all of the detections will be unknown objects!
If instead, the objectness is set up correctly, but the weighting is still off - then (for some images with 30 objects) 70 of the 100 detections would be suppressed as background. The remaining 30 proposals would first be classified as unknowns, but then the same proposal would be characterized with some known object - so you would have both unknown and known detections for the known objects.
Hope this helps,
Orr

Thanks again for your response! Now I have a general idea about the module design in your paper. I have tested the output of my 'prob' and 'out_logits', it doesn't work as well as in your project settings. Then I will retrain my model to see some possible changes. This issue will be set as closed.


support instead of sport

i think sport is correct here, it means something like "to wear" or "to display"
http://www.oxforddictionaries.com/definition/english/sport (see Verb nr 1)

Yes, sorry, that's the intended use of the verb “sport”. @Kafiil, do you believe it is used incorrectly?

No I'm convinced sport is the right word, many thanks for the clarification


SchemaTypes.Boolean

I have been trying to debug this for a week.  Using sveltekit and mongoose 6.6.5 and for some schemas, I am getting this runtime error in the browser
TypeError: Cannot read properties of undefined (reading 'Boolean')
From this line in:
var MongooseZodBoolean = class extends M.SchemaTypes.Boolean {
  constructor() {
    super(...arguments);
    this.cast = noCastFn;
  }
};

I thought perhaps a mismatch dependency, but using the same version libs as mongoose-zod.  I can't figure out what is making it through this error only on some schemas.

I think this has something to do with the polyfills.  I am using sveltekit and vite.

Hey, sorry for the late answer.
This might be a sign of duplicate dependency (probably there's a default property on M), but it's a bit difficult to be sure without knowing the exact dependencies and the way you're using the library. Please kindly provide a minimal reproduction and I might be able to help you more substantively. Closing this for now.


Any ETA on stable version supporting PHP 8?

Hi, the latest stable version is not compatible with PHP 8 according to composer.json, can we expect it released any time soon?
Thanks.

Well, beta 11 already supports it.

I know, but beta is not stable.

I can release stable now, but what to do a few more minor things.

No rush, I don't needed anytime soon, I just wanted to know when roughly could I expect it.

@antonmedv any news on this? A stable release means that other packages that depend on deployer could also start migrating to PHP8.

I hope soon) Still have to finish some parts.


Passing type into a recipe or cva instead of infer from them

Description
The only guide in the document tells us that there is a way to infer types from cva or defineRecipe and not pass types into them. I think there is a need to accept types from the outer scope and as a single source of truth for types of variants.
We already have the props (variants) type, Is there a way to use them as a validation type in recipes?
Problem Statement/Justification
The problem is we can not use our pre-defined types as a source of truth for our PandaCSS cva or recipes and it may end up with type inconsistencies.
Proposed Solution or API
cva or defineRecipe should accept type:
const Button = cva<ButtonTypes>({})
// OR
const Button = defineRecipe<ButtonTypes>({})

Alternatives
No response
Additional Information
No response

not sure I understand the purpose, can you show your use-case through a complete example ?


Deploy LSO and OCS

Added Manifests to deploy LSO and OCS Operators
Added also a LocalVolume and StorageCluster
Added deploy.sh to link into the pipeline for every spoke
Added variables in shared-utils/common.sh

lgtm ;)

:tada: This PR is included in version 0.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Correction for raw affiliation Montpellier SupAgro, UMR LISAH, 2 Place Pierre Viala, 34060 Montpellier, France

Correction needed for raw affiliation Montpellier SupAgro, UMR LISAH, 2 Place Pierre Viala, 34060 Montpellier, France
raw_affiliation_name: Montpellier SupAgro, UMR LISAH, 2 Place Pierre Viala, 34060 Montpellier, France
new_rors: 03rnk6m14;05deqk823
previous_rors: 03rnk6m14
works_examples: W1972119789
contact: 29180222f40313f2ac6e256344ea21f3:2725ddf8997308dbbaee0c73696948d3a469 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Package | Components architecture (VanillaJS/HTML)

Jeff-Chew created the following on May 23:
Overview
This is the creation of the package architecture for the Components (VanillaJS/HTML flavor). This will include all IBM.com related components.
Additional Information

Should look into the current carbon-components to see what architecture can be lifted from there

Acceptance criteria

[ ] Components should reference the styles package for CSS styling
[ ] Storybook HTML as an output, as it will serve as the living documentation for this package
[ ] Appropriate lint/unit testing functionality
[ ] Pre-commit/pre-push hooks
[ ] Publish scripts to generate modular output
[ ] README on setup and usage

Original issue: https://github.ibm.com/webstandards/digital-design/issues/860

On Jun 25, Jeff-Chew commented:
@vladislav-saling @Kenny-Lam @james-dow I added in a story to look into Storybook for vanilla JS (https://github.ibm.com/webstandards/digital-design/issues/1120), which I think I'd prefer if it weren't for the Drupal team's ask for twig/json files. But we would also need a way to test the twig/json files themselves, which currently only see that support in pattern lab.

On Jun 25, james-dow commented:
@Jeff-Chew what type of testing are you expecting? Does it go beyond unit testing, or are you looking for interaction/behavior basic QA testing?

On Jun 25, Jeff-Chew commented:
@james-dow The latter. Testing meaning to make sure that the templates render properly. From what I can tell, storybook won't work with twig templates, but pure HTML as part of the stories. It only seems like pattern lab with the twig php engine would be able to render twig templates as part of the output, but I don't want to get tied down to using pattern lab because I honestly prefer Storybook. I'm torn because this is a must have request coming from the Drupal team.
cc: @Kenny-Lam @vladislav-saling @hahnrob @linda-carotenuto @Wonil-Suh1

On Jun 25, james-dow commented:
Correct me if I'm wrong, but we're talking about two separate issues, right?

There is the QA testing process, and then...
Drupal's oddly specific requirements.

In relation to Drupal, I haven't been a part of those discussions so I'm not totally looped into the requirements. But I am curious why Drupal wouldn't just use the given component/pattern's documentation page on the website? I'm a little confused why they would be special enough to warrant their own documentation site like Storybook.
Looping in @chsanche too.

On Jun 25, Jeff-Chew commented:
@james-dow they are somewhat related. Note, I talked about this in depth in yesterday's engineering huddle in the second agenda item, but will give the td;dr for non-engineers here (as well as @vladislav-saling who wasn't able to attend the huddle yesterday):

Drupal today has the team manually copying and pasting HTML templates into their drupal themes
Data mapping to templates is currently a manual process
Drupal team is looking to use a combination of twig templates with corresponding JSON data file to add automation to their data mapping within Drupal
They wish to reference the twig templates directly from our components/patterns packages, and will automate data mapping based on the template JSON structure

They don't want pattern lab, per se, but the underlying twig/json templates which they can reference directly in our packages. So theoretically, we wouldn't have to do this in pattern lab but whatever automated template documentation we wish to use (storybook, fractal, pattern lab, etc). However, we wouldn't have a way for us to visually test if we are creating twig templates, unless we have something like pattern lab's twig php engine. Which is the problem I described above.
I'd love to find a way to use something more modern like Storybook. It gives us niceties like knobs, storyshots, etc. But I'm struggling with the Drupal request.
cc: @hahnrob @Wonil-Suh1 @Kenny-Lam @linda-carotenuto

On Jun 26, Jeff-Chew commented:
FYI, moving this out of the sprint for now. Want to have some conversations with Drupal team, as well as package approach internally before we move forward.
cc: @Kenny-Lam @james-dow @vladislav-saling @hahnrob

On Jun 26, james-dow commented:
Right, I remember talking about it shortly in the huddle, but it didn't feel like we went super in depth. I did raise a similar concern in that meeting though.
This part here I understand and get. I'm not trying to say I don't see value in something like a Storybook for testing and live documentation purposes. I do wonder if we could make the website live documentation, but that's probably a little larger effort.

However, we wouldn't have a way for us to visually test if we are creating twig templates unless we have something like pattern lab's twig php engine.

What I don't understand is the following. I don't understand how storybook or even pattern lab solves these problems/requirements that they have.

Drupal today has the team manually copying and pasting HTML templates into their Drupal themes
Data mapping to templates is currently a manual process
Drupal team is looking to use a combination of twig templates with corresponding JSON data file to add automation to their data mapping within Drupal
They wish to reference the twig templates directly from our components/patterns packages, and will automate data mapping based on the template JSON structure

Couldn't we just push a twig template library to Packagist using Composer with a twig template and its corresponding JSON data file? (I'm really curious learning more about this data file requirement, and how it works). Then Drupal could just use the documentation on the joined gatsby website we build. I'm struggling with why they (Drupal team) would need patterns lab or storybook. Maybe I don't fully understand storybook, and pattern lab's full capabilities, but I thought they just kind of automated creating that live documentation you were talking about, and creates a nice environment to manually test the components.
I feel like there is a disconnect with me personally here. I'm not sure if I'm missing some piece of the requirement that ties the two together, or if I'm missing some sort of limitation whether with our site, Storybook/Patternlab, or PHP in general.

On Jun 26, Jeff-Chew commented:
I set up a meeting with our tech team and theirs in a couple of weeks. Hopefully we can hash this out. But the bottom line is that from an implementation standpoint, they don't need pattern lab.
What they asked for and need is a place to directly reference twig templates, where they would want us to provide those and they reference directly from our packages (and not from pattern lab, storybook, fractal, or any other automated templating tool).
Before the meeting with their team, I already added a topic in our morning huddle to talk more about this.

On Jun 26, vladislav-saling commented:
If I remember correctly, some of the talks about Drupal friendly implementation happened before stronger alignment on the website solution (joined gatsby thing). Is it possible to review Drupal requirements in light of that? Considering possible engineering overhead I'd lean towards a bit more minimalistic solution (twig template lib?). Maybe we could start outlining an MVP that would satify Drupal needs.
IIRC @Kenny-Lam was the closes to Drupal team earlier this year so he might have some extra insight.

On Jul 17, Jeff-Chew commented:
@hahnrob after discussion with the tech team, we're pushing out vanilla support for now, so I removed the milestone and release.

On Jul 09, Jeff-Chew commented:
@hahnrob I dropped the priority of this story and moving it out for the v1.1 release for now. We will be focusing more on #1192 .

On Oct 03, Jeff-Chew commented:
@hahnrob @linda-carotenuto I'm thinking of pushing this out to a future sprint since this isn't needed until v1.2.

On Oct 03, linda-carotenuto commented:
ok, agree


Fakes are incompatible with ABIs that have a 'gas' parameter

When using ETH-SDK, for example, the exported ABIs come with a gas parameter into the ABI, for example:
   {
      "stateMutability":"view",
      "type":"function",
      "name":"balanceOf",
      "inputs":[
         {
            "name":"arg0",
            "type":"address"
         }
      ],
      "outputs":[
         {
            "name":"",
            "type":"uint256"
         }
      ],
      "gas":3533
   }

When creating a Fake out of the exported ABIs, the typings of the fake warns the error
import ExportedABI from '../../eth-sdk/abis/mainnet/exported.json';

async()=>{
await smock.fake(ExportedABI);

Typing Error: Types of property 'gas' are incompatible.
Expected behaviour would be to ignore the property.

I believe this should be easily solvable with some Typescript adjustments maybe using Pick or Omit in order to grab only the necessary parameters.

id go for Pick, since you never really know what the devs are going to import to the ABIs


added scroll to top of the bar with progrss line

Pull Request
Use Case
Though it may seem minor, the absence of this feature can impact the overall usability and performance of the website.
@VaibhavArora314
Description
Feature Description
Hey, I have noticed a small issue that I believe could enhance the user experience. Currently, there is no Page Scroll Progress Bar at the Top of Your Startup Webpage , which makes navigation a bit cumbersome, especially when users need to return to the top of a lengthy page. Though it may seem minor, the absence of this feature can impact the overall usability and performance of the website.
Related Issues
Fixes #434
Changes Made
✨ Add a Page Scroll Progress Bar at the Top of Your Startup Webpage
Checklist

[x] I have tested the changes locally
[x] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

@VaibhavArora314

@TheNikhilRaj make the progress bar visible and resolve the merge conflicts

Can you please how i can setup your repo locally because it difficult to me i had tried many time but it's not go live on server "frontend" is there any solution? @Ultimateutkarsh11

@TheNikhilRaj make the progress bar visible and resolve the merge conflicts

Can you please how i can setup your repo locally because it difficult to me i had tried many time but it's not go live on server "frontend" is there any solution? @Ultimateutkarsh11

Read this: https://github.com/VaibhavArora314/StyleShare?tab=readme-ov-file#setting-up-on-your-machine
Also don't make all the changes in index.html, create a component for it.

Closing this pr since you raised other for the same


BUG: Align to_csv signatures with DataFrame and Series

Default path=None in Series.to_csv() for consistency with DataFrame.to_csv().
Closes #14054.

Current coverage is 85.27% (diff: 100%)

Merging #14063 into master will not change coverage

@@             master     #14063   diff @@
==========================================
  Files           139        139
  Lines         50446      50446
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          43018      43018
  Misses         7428       7428
  Partials          0          0

Powered by Codecov. Last update df2d9ab...389ae8c

thanks!


add options and disable timeout so that the browser does not timeout prematurely an the test is executed

add options
disable timeout so that the browser does not timeout prematurely and the test is executed
this will be consumed by: https://gecgithub01.walmart.com/WTG/w2g-web/pull/1320
and will allow to run multiple workers without the browser being stuck because of the timeout

Unfortunately, this change breaks a number of assumptions in nightwatch-extra's command injection code.
Since asyncExecute will return immediately regardless of whether seen is set or not, in many cases elements might be reported invisible, since with timeout=0 (the result of this PR's change) we cannot guarantee that the element scan logic is triggered.


Update to base/Buffer version 0.8.7

I updated the StableBuffer based on the current version 0.8.7 published on MOPS.
There is currently no tag for 0.8.7 in dfinity/motoko-base so it could also be 0.8.6 :thinking:. Anyway, the version in HEAD matches the one published with MOPS, and the one now in reference/Buffer.mo.
Test cases have been slightly changed to reflect the new capacity expansion factor of 1.5x.
Code has been formatted by the official Motoko VS-Code plugin/formatter which unfortunately causes a noisy diff.
I could attempt to create a distinct commit for the formatting if it poses an issue. However, if it's not a concern for you, I won't invest time in it.

There is currently no tag for 0.8.7 in dfinity/motoko-base so it could also be 0.8.6 .

According to mops_one, the base library was taken from https://github.com/dfinity/motoko/releases.
So it is actually 0.8.7.

I'll close this one and create separate pull requests as recommended above.
The first one is #11 which updates the functions that already existed in the previous version.
Also, the StableBuffer type will be identical to the previous version of StableBuffer to maintain backward compatibility.


How I can do inference on the model only with a question?

Hi, I want to know if is possible to use the model to get directly the SQL statment, after giving it a question in natural language. only use "Database  + Question"  like the picture
Thank you for help.

Did you figure out how to achieve that?


Support different market groups.

We many have a lot of WETH based markets, and many LRC/BNB based markets. It's better to use tabs to list each group on its own subpage.

done


Too Painful

needed to add $null = Get-AIProviderList  so OpenAI loads and is default otherwise it is not in the list
$WarningPreference - warnings are nice too much noise when working/testing at the CLI - needs to be a flag for PSAI perhaps
When I added xAI got the expected error. Needed to restart session in vscode to get back to a good state.
$swp = $WarningPreference
$WarningPreference = 'SilentlyContinue'

$null = Get-AIProviderList
Import-AIProvider -Provider 'Anthropic' -ApiKey (ConvertTo-SecureString $env:AnthropicAPIKey -AsPlainText) -Force
Import-AIProvider -Provider Groq -ApiKey (ConvertTo-SecureString $env:GROQ_API_KEY -AsPlainText) -Force
# Import-AIProvider -Provider XAI -ApiKey (ConvertTo-SecureString $XAI_API_KEY -AsPlainText)
Import-AIProvider -Provider Gemini -ApiKey (ConvertTo-SecureString $env:GeminiKey -AsPlainText) -Force

$Providers = ((Get-AIProviderList). providers).keys

foreach ($Provider in $Providers) {
    [PSCustomObject][ordered]@{
        Provider = $Provider
        Response = New-Agent -Provider $Provider | Get-AgentResponse 'what is the capital of france'
    }
}

$swp = $WarningPreference

-Provider and -ApiKey should be settable in this form
# simple toggle to turn off warnings

Import-AIProvider 'Anthropic' $env:AnthropicAPIKey
Import-AIProvider Groq $env:GROQ_API_KEY
# Import-AIProvider XAI $XAI_API_KEY
Import-AIProvider Gemini $env:GeminiKey

$Providers = ((Get-AIProviderList). providers).keys

foreach ($Provider in $Providers) {
    [PSCustomObject][ordered]@{
        Provider = $Provider
        Response = New-Agent -Provider $Provider | Get-AgentResponse 'what is the capital of france'
    }
}

@dfinke 2 issues here:
1: Warnings are annoying - they can be converted to verbose information. Which warnings do you want to get rid of?
2: Restarting the session resets the ProviderList. Loading providers with with Import-AIProvider disables Import-ProvidersFromEnv. I would be happy to update the logic on this whit what we agree on in this: https://github.com/dfinke/PSAI/issues/54#issuecomment-2535428083

I like the warnings. just need a simple way to disable.
Not sure what the logic should be :-) this is all an experiment and may change
I prefer the last example I just posted as a way to go. Out of the box, least amount of typing, if re-run it is should not fail or be a in bad state.
I may not be understanding the flow. This has been updated a bit.
When we do Import-Module on our psm1 ones, it errors it does not cause side-effects in the system module registry.
I think this process should do the same


PX4 plane doesn't move

Problem Description
I have tried reproducing the problems reported in https://github.com/PX4/PX4-Autopilot/issues/20836,
Things that don't work

The vehicle propellor does not make the vehicle move forward
There is no access to the px4 shell when running through the launch file

Steps to reproduce

Run the following launch command

ros2 launch px4_sim plane.launch.py

Upload a mission to the vehicle
Arm and start the mission
The vehicle spins the front rotor, but does not take off

Questions
I think I am a bit confused on how this repository/project is structured.

What is this repository supposed to be used for? Is this supposed to be a developer environment for autopilot development. e.g. If one is developing in PX4, is the vehicle_gateway supposed to be the developer environment?
I wanted to verify whether the control channels were wired correctly. However, I was not able to find out where actually the plane models are located when launching the file. Where is the model when launching the simulation using px4_sim? and how can I modify it?
Where is the airframe configuration for the plane model and where is the output configured?

Fixed wing working as a parallel effort in https://github.com/PX4/PX4-Autopilot/pull/20939


fix: some typo and renamed use infinite scroll call on async section …

…of select docpage
📝 Description

Fix some typo in Select component documentation page
Change "use-infinity-scroll" by the correct import "use-infinite-scroll"

Done. I intentionally don't let the lockfileVersion bumped to 6.1 (instead of 6.0) in the pnpm-lock.yaml file.