Update hourly.pp

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Hi ,
Could you add some detail to the description as to why this change is needed.
Steve.

It fixes the issue that puppet will create the hourly folder but refuse to delete it once disabled.
Reproduction:

enable module with "hourly" enabled
disable "hourly"
puppet will refuse to delete /etc/logrotate/hourly (path might be wrong) directory

FYI, this issue is now present in the latest version of the module on rhel9
I was going to submit similar change
$ ls -ld /etc/logrotate.d/hourly/
drwxr-xr-x. 2 root root 6 Nov  5 17:33 /etc/logrotate.d/hourly/

2023-12-07 00:19:50 +0000 /Stage[main]/Logrotate::Hourly/File[/etc/logrotate.d/hourly] (warning): Could not back up file of type directory
2023-12-07 00:19:50 +0000 /Stage[main]/Logrotate::Hourly/File[/etc/logrotate.d/hourly] (notice): Not removing directory; use 'force' to override
2023-12-07 00:19:50 +0000 /Stage[main]/Logrotate::Hourly/File[/etc/logrotate.d/hourly]/ensure (notice): removed (corrective)


[BUG] Write a title for your bug

Describe the bug
UI loads fine in v2.0.3 but fails to display anything on Home screen on 2.1.1 and later.
v2.0.3 displaying games on home screen fine

v2.1.1 (same for any version after) display nothing on the home screen.
Search also does NOT work.

Error log attached here:
Will self-delete in one month from this post date: https://pastebin.com/wxipLjyX
It mentions "ERR_FR_TOO_MANY_REDIRECTS" but perhaps there is a deeper issue?
Below is the brief output in the info.txt file
[2024-09-18 14:43:34.745] [info]  (main)            Migrations failed to run: Error: The migration directory is corrupt, the following files are missing: EnsureRepackUris, FixMissingColumns
    at validateMigrationList (D:\Temp\2m5aMAQK3PqdsX6dBKBi5iBMMD7\resources\app.asar\node_modules\knex\lib\migrations\migrate\Migrator.js:567:11)
    at Migrator.list (D:\Temp\2m5aMAQK3PqdsX6dBKBi5iBMMD7\resources\app.asar\node_modules\knex\lib\migrations\migrate\Migrator.js:285:7)
    at async runMigrations (file:///D:/Temp/2m5aMAQK3PqdsX6dBKBi5iBMMD7/resources/app.asar/out/main/index.js:7077:3)
    at async file:///D:/Temp/2m5aMAQK3PqdsX6dBKBi5iBMMD7/resources/app.asar/out/main/index.js:7089:3
[2024-09-18 14:43:35.517] [info]  (main)            Checking for update
[2024-09-18 14:43:35.520] [info]  (main)             ---- REQUEST -----
[2024-09-18 14:43:35.521] [info]  (main)            get /games/trending { language: 'en-US' } undefined
[2024-09-18 14:43:35.544] [info]  (main)             ---- REQUEST -----
[2024-09-18 14:43:35.545] [info]  (main)            get /games/hot?take=12&skip=0 {} undefined

Steps to Reproduce
Download portable version of 2.0.3 and run it. hydra.db already exists so the settings prevail.
Then download portable version 2.1.1 and run it. Since hydra.db exists it should display games on home screen.
Expected behavior
Games to display on home screen, and searches to work, etc.
Additional information and data
No response
Screenshots
No response
Operating System
Windows 11 24H2
Hydra Version
2.1.1 and later
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.

The pastebin is not loading for me.
Search, Hot games and Games of the week load from our API, the ERR_FR_TOO_MANY_REDIRECTS you mentioned could be related to your issue. But first try doing the above and if the issue persists, upload your logs again

Thanks, the solution was to delete and recreate the hydra.db file on 2.1.5. I don't think I launched an older version after, but at this point it's difficult to say. I'll close ticket now, thanks again


Improve error position detention at WRITE PERM

Summary of changes
This pull request includes following changes or fixes.

Fix of issue #36

Description

Changes backend interface for handling write perm

Previously, it returns number of records in the drive buffer. Currently, it returns first untransferred record position to tape (In other words written but not transferred to tape yet) and it is used as error position

Consider the final index on the partition as error position even if very small number is returned (this is a safeguard to avoid over kill of extents)

Fixes #36
Type of change

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

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have confirmed my fix is effective or that my feature works

Test Log
On Linux
3135 LTFS11031I Volume mounted successfully. NO_BARCODE : Gen = 2 / (a, 5) -> (b, 8008) / 00013B0119.
3135 LTFS14111I Initial setup completed successfully.
3135 LTFS14112I Invoke 'mount' command to check the result of final setup.
3135 LTFS14113I Specified mount point is listed if succeeded.
314f LTFS14029I Ready to receive file system requests.
3151 LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x1fb51f0).
3152 LTFS30205I WRITE (0x0a) returns -20301.
3152 LTFS30263I WRITE returns Cartridge Fault (-20301) /dev/sg119.
3152 LTFS30261I Taking drive dump in buffer.
3152 LTFS30253I Saving drive dump to /tmp/ltfs_00013B0119_2022_0808_143413.dmp.
3152 LTFS30262I Forcing drive dump.
3152 LTFS30253I Saving drive dump to /tmp/ltfs_00013B0119_2022_0808_143413_f.dmp.
3152 LTFS12045E Cannot write block: backend call failed (-20301). Dropping to read-only mode.
3152 LTFS11072E Cannot write blocks: failed to write to the medium (-20301).
3152 LTFS11077E Cannot write: failed to write blocks to the medium (-20301).
3152 LTFS13014W Data partition writer: failed to write data to the tape (-20301).
3152 LTFS13024I Clean up extents and append index at index partition (-20301).
3152 LTFS17292I Current position is (1, 8715), Error position is (1, 8011).
3152 LTFS13025I Truncate extents larger than position (1, 8011), block size = 524288.
3152 LTFS11334I Remove extent : errfile1 (8011, 369098752).
3152 LTFS11343I Try to write an index on the IP on NO_BARCODE because of a permanent write error on the DP..
3152 LTFS17235I Writing index of NO_BARCODE to a (Reason: Write perm, 4 files) 00013B0119.
3152 LTFS17236I Wrote index of NO_BARCODE (Gen = 3, Part = a, Pos = 8, 00013B0119).
3152 LTFS11337I Update index-dirty flag (0) - NO_BARCODE (0x0x1fb51f0).

On Mac
103 LTFS11031I Volume mounted successfully. NO_BARCODE : Gen = 2 / (a, 5) -> (b, 8008) / 00013B0119.
103 LTFS14111I Initial setup completed successfully.
103 LTFS14112I Invoke 'mount' command to check the result of final setup.
103 LTFS14113I Specified mount point is listed if succeeded.
2203 LTFS14029I Ready to receive file system requests.
3203 LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x7ff446705100).
1803 LTFS30808I WRITE (0x0a) returns -20301.
1803 LTFS30865I WRITE returns Cartridge Fault (-20301) 00013B0119.
1803 LTFS30863I Taking drive dump in buffer.
1803 LTFS30855I Saving drive dump to /tmp/ltfs_00013B0119_2022_0808_145738.dmp.
1803 LTFS30864I Forcing drive dump.
1803 LTFS30855I Saving drive dump to /tmp/ltfs_00013B0119_2022_0808_145738_f.dmp.
1803 LTFS12045E Cannot write block: backend call failed (-20301). Dropping to read-only mode.
1803 LTFS11072E Cannot write blocks: failed to write to the medium (-20301).
1803 LTFS11077E Cannot write: failed to write blocks to the medium (-20301).
1803 LTFS13014W Data partition writer: failed to write data to the tape (-20301).
1803 LTFS13024I Clean up extents and append index at index partition (-20301).
3103 LTFS30803I Failed to execute CDB, The opcode = 00 (-536870187).
3103 LTFS30808I TEST_UNIT_READY (0x00) returns -21700.
3103 LTFS12029E Device is not ready (-21700).
1803 LTFS17292I Current position is (1, 9289), Error position is (1, 8020).
1803 LTFS13025I Truncate extents larger than position (1, 8020), block size = 524288.
1803 LTFS11334I Remove extent : errfile1 (8011, 670040064).
1803 LTFS11343I Try to write an index on the IP on NO_BARCODE because of a permanent write error on the DP..
1903 LTFS30803I Failed to execute CDB, The opcode = 00 (-536870187).
1903 LTFS30808I TEST_UNIT_READY (0x00) returns -21700.
1903 LTFS12029E Device is not ready (-21700).
1803 LTFS17235I Writing index of NO_BARCODE to a (Reason: Write perm, 4 files) 00013B0119.
1803 LTFS17236I Wrote index of NO_BARCODE (Gen = 3, Part = a, Pos = 8, 00013B0119).
1803 LTFS11337I Update index-dirty flag (0) - NO_BARCODE (0x0x7ff446705100).

Ready for review

Cherry picked to the master.


MQTT Client support?

Any plans on adding MQTT Client like Paho?https://github.com/eclipse/paho.mqtt.java
Or, should we just use {"item":"exec://mosquitto_pub.exe"}
Thanks

It would be interesting, I'll take a look and see what it takes. Using  the client for now will work though.

Anyone have a screenshot of a typical device firing stuff to MQTT - I understand Mosquitto etc - but I can't find an example of exactly what you need to put in the edit/copy a device page - to use MQTT.

Here is a screen shot on how you would use mosquitto_pub.exe

I will include the mqtt client into the ha-bridge as it looks straight forward. The config will be broker and client id, then messages would be "topic" and "content"

Hi,
@scargill
Here's mine on a Rasp Pi
http://i.imgur.com/ugM6iWn.jpg
@bwssytems
Excellent, thanks. So excited.

Don't forget username and password for MQTT - many of us use that for a bit of extra security...

Thanks for that - I have MQTT working - just got it back on port 80 after displacing Apache by 1 port.. now to try Google Now..

Anybody want to give it a whirl? Test version, but does not have user/password yet.
Grab it here: http://bwssystems.com/files/ha-bridge-3.2.2d.jar

@bwssytems
sorry, currently trying the test version. any example how to create device that uses mqtt?
thanks

Some other home automation platforms use MQTT for their bus. Rspbian Jessie already runs a MQTT broker, so I just test by connecting to that and running the mosquitto_sub on the other end.

I mean, what to input in the on and off URLs?

Gotcha, go into the bridge control tab and enter a ClientId and an ipaddress and port for an MQTT broker. Save it. Then you will see the MQTT tab that has the builder for MQTT messages. Put in a topic and message content and generate the device.

Not by default it doesnt
On 18 November 2016 14:35:17 BWS Systems<EMAIL_ADDRESS>wrote:

Some other home automation platforms use MQTT for their bus. Rspbian Jessie
already runs a MQTT broker, so I just test by connecting to that and
running the mosquitto_sub on the other end.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/bwssytems/ha-bridge/issues/117#issuecomment-261545957

Ahh, good to know. The install for mosquitto must start that up then....


Convert Postman collection to Gatling's script

For feature requests, please:

explain your use case, not the implementation you have in mind.

Currently, for me, defining a new API may need a little bit of time to script it, then verify after that. So a quick convert from Postman Collection to Gatling script will help us to get the job done faster.
Would it be possible that JS/TS version of Gatling will get this feature as first step?

There is already the ability to export and import.
The Recorder has an option to import HAR files - link
You have to export HAR files from Postman or directly from the browser, and then import them into the Recorder - link

Hi @Amerousful ,
I did try with a default settings of Postman, the request went through postman's proxy on: https://bifrost-https-v4.gw.postman.com, it's not actual URL of the request. Maybe I missed something on setting, can you share me some thoughts on this ?
.
And adding more details, there are some custom post and pre scripts in postman that need to be kept too, which is why I put JS/TS version get this feature first, as Postman supports JS scripting.
As a flavor project thing, each request, IMO, should be separated as each request file, for easier handling.

We've actually started working on this.

This first iteration of this support is going to land in upcoming 3.13.0. Note that this will be an Enterprise feature.

Announcement https://community.gatling.io/t/new-feature-alert-postman-integration/9459


Empty reply when action is taken

Describe the bug
I've made a quick demo testing out the tool as a part of our product but when I ask the "AI" to take an action on my behalf I get an empty reply back.
To Reproduce
Steps to reproduce the behavior:

Load CoPilot kit in your app
Provide context as demonstrated in the video
Let AI preform action
See empty reply

Expected behavior
Either no reply is send or something like "Sure thing, I've taken the action"
Screenshots

** Browser (please complete the following information):**

All browsers

Additional context
https://discord.com/channels/1122926057641742418/1174880340733612144/1179420897501777920

Thank you for the bug report Ramon


Bump Dependencies #5868546536

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/5868546536

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Something about "libcrypto.so" cause error when "make"

Environment
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

I have a proble when install openssl:
openssl-3.0.0  After "./config" and "make", I got this error
crypto/aes/libcrypto-shlib-aes-x86_64.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:919: libcrypto.so.3] Error 1
make[1]: Leaving directory '/home/zhang/Code/openssl-master'
make: *** [Makefile:165：all] 错误 2

I tried openssl-1.1.1f, still
/usr/bin/ld:libcrypto.map:0: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:756: libcrypto.so] Error 1
make[1]: Leaving directory '/home/zhang/Code/new_feature_test/openssl-1.1.1f'
make: *** [Makefile:174：all] 错误 2

How can I solve this problem?

Could you please build from scratch? It looks like some sort of previous build remnants.

Environment
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

I have a proble when install openssl:
openssl-3.0.0 After "./config" and "make", I got this error
crypto/aes/libcrypto-shlib-aes-x86_64.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:919: libcrypto.so.3] Error 1
make[1]: Leaving directory '/home/zhang/Code/openssl-master'
make: *** [Makefile:165：all] 错误 2

I tried openssl-1.1.1f, still
/usr/bin/ld:libcrypto.map:0: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:756: libcrypto.so] Error 1
make[1]: Leaving directory '/home/zhang/Code/new_feature_test/openssl-1.1.1f'
make: *** [Makefile:174：all] 错误 2

How can I solve this problem?

您好，遇到了和您相同的问题，查了很久都未解决，请问您最后是怎么解决的呀？感谢~

我重装了虚拟机的系统，Ubuntu 20.04.1自带OpenSSL 1.1.1f，之前编译遇到的错误并没有解决

我重装了虚拟机的系统，Ubuntu 20.04.1自带OpenSSL 1.1.1f，之前编译遇到的错误并没有解决

好的，谢谢您的回复🌸


Bower Installation Empty

Description:
I'm trying to use this from a web-page, and when I install from Bower, I don't get much - a few .json files and the types folder.
There's no src folder, and no dist folder, so unless there's another undocumented step (I've noticed there's a package.json, but that won't build because there's no src files), the Bower installer is broken.

Don't think anyone's gonna be interested in maintaining bower version anymore since all bundlers are configured to use node_modules (so npm/yarn/pnpm) or grab the standalone file (v4 / v5) when using it as script tag

That's fair - but probably best to remove it from the documentation. I know it's an old page, but I don't believe the v5 version of the API is out in the wild yet, so it's still the 'active' version of the product.
Thanks for the link though - that's a huge help.
I'm obviously old and broken-down - I'm not a big fan of downloading web content through Node modules, as I've been burned by NPM packages being made for Node.js and not for the web. At the end of the day, I love a Javascript package for the web to just having a single, downloadable .JS file, exactly like the one you sent me.


Add retry lock mechanism for multiple schedulers

This is based on #104. I figured that patch is not going to updated anytime soon given the long period of inactivity 😸.

FWIW, this looks good to me, @selwin

Sorry, I totally missed this PR. I merged a similar one here https://github.com/ui/rq-scheduler/pull/143 (though this one doesn't have a separate --retry option).


Allow custom tolerance values in CLI application

To help address #129
You can now add --tolerance 0.54 to the CLI to specify a custom tolerance value.

This gives error: https://imgur.com/n6Exk3K

Uninstalling and re-installing face_recognition solved my issue, thanks!
sudo pip3 uninstall face_recognition
sudo pip3 install face_recognition
Thanks to your https://github.com/ageitgey/face_recognition/issues/149 post


First pass for making did:pkh explicit in docs

diagram is here for future reference: https://swimlanes.io/d/ZQXgzSfos

Updated Account-bound diagram here:
https://swimlanes.io/d/OibugA5nf
Added a verbose Wallet-bound diagram here for balance/equivalence:
https://swimlanes.io/d/Q5cqL-HLW


[FEAT] Create Index Page for Admin Dashboard

Like I could work on the admin dashboard session particularly-
Header and Footer:
Retain the existing header and footer content from the current page.
Ensure the layout is consistent with the overall design of the application.
Employee and Intern Overview Section:
Create a table to display key information for all employees and interns, including:
Name
Role
Project
Status
The table should initially show a sample list of employees and interns, which you could provide or I can have any randomly
Add New Employee/Intern Functionality:
Below the table, include an "Add" button that opens a form to input details for a new employee or intern.
The form should have fields for:
Name, Role, Project, Status
Once the form is submitted, the new entry should be dynamically added to the table without refreshing the page.

Pull a request so that I can review.

assign this to me.

@N-nishita There is already an PR open for integration of this Feature I guess. Even I am waiting for that PR's response from Admin side, so we can move with the later features

Done with the assignment.

On it, will share the screenshots for the index soon
Also, can you tag these issues with like hacktoberfest tags?

I've added it as "Label".

Can you check this out once, if the basic structure matches your requirements? U can inform for few changes, so I can do it before the PR @yyppsk

That looks just right. However, I gave my team certain a few extra requirements.

I have made the mentioned change you asked me and created the PR.

May I work on it? I saw @Anushka-Pote  have submitted before me but if you assign me i will also submit

May I work on it? I saw @Anushka-Pote have submitted before me but if you assign me I will also submit

I have assigned you. Also, you can work on some issues already opened for the current page.

hi @yyppsk i did the borders of same size and perfectly aligned, signup button visible, solid border added in signup page, please assign it to me.

hi @yyppsk i have requested a PR of making the borders of same size and perfectly aligned, signup button visible, solid border added in signup page, please assign it to me.

I've not received it yet.

now check


useForm can pass a name to be used with Hint/HintGroup components

Issue #45
This will not have any breaking changes.
As the current users can continue to use the package with the same method: useForm({...})
Or give a name for each form in the component to have its own context under the passed name: useForm("bestform", {...})
And they can compose Hint & HintGroup with the form attribute using the same name:

<input name="name" use:validators={[required]} />
<Hint form="bestform1" for="name" on="required">HINT</Hint>

<input name="name" use:validators={[required]} />
<Hint form="bestform2" for="name" on="required">HINT</Hint>

<input name="email" use: validators={[required]} />
<HintGroup form="bestform1" for="email">
  <Hint on="required">HINT</Hint>
</HintGroup>

<input name="email" use:validators={[required]} />
<HintGroup form="bestform2" for="email">
  <Hint on="required">HINT</Hint>
</HintGroup>

Awesome work!
Could you format it with "npm run format", since if i do it, your changes will be lost 😆
Also I just added some testing to the project using playwright. It would be cool if you could write a simple test for it but no worries if you don't i'll do it, just let me know. 👍

Hi, sorry for being late.
Sure, I will run formatter.
Regarding playwright, I have never managed to get it run especially in CD/CI. I mostly use cypress even though I find playwright more promising.
I will see what I can do :)

Formatted 👍🏻
By the way. In my use case I have completely removed HintGroup and only uses Hint component to display either a group of errors or required alone.
Also added a message property to the ValidationError so I can pass my custom message.
  import { getContext } from "svelte";
  import { Form } from "../libs/form";

  export { name as for };
  export let hasErrors = false;

  // on specific type of validation error `Eg: number`
  export let on: string = undefined;
  let name = "";

  /** Hide other messages when `required` is among errors */
  export let requireAlone = true;
  /** Show the hint even when the field is untouched */
  export let showWhenUntouched = false;

  let form: {
    subscribe: (callback: (form: Form) => any) => void;
  } = getContext("svelte-use-form_form");

  $: touched = $form[name]?.touched ?? {};
  $: errors = $form[name]?.errors ?? {};
  $: errorsList = Object.entries(errors)
    .filter((err) => !err["required"])
    .map(([key, value]) => {
      if(on) {
        requireAlone = false;
        return {
          key,
          message: value[on].message
        }
      } else {
        return {
          key,
          message: value.message
        }
      }
    });
  $: errorRequired = errors["required"];
  $: hasErrors = Object.keys(errors).length > 0 && (touched || showWhenUntouched) as Boolean;

{#if hasErrors}

    {#if requireAlone && errorRequired}

        {errorRequired.message}

    {:else}
      {#each errorsList as error}

          {error.message}

      {/each}
    {/if}

{/if}

A validator for example:
export function oneof(items: object[]): (value: string | number) => null | ValidationErrors {
  return (value: string | number | any): null | ValidationErrors => {
    const validate = v8n().includes(value).test(items.map(item => JSON.stringify(item)));
    return validate ? null : { oneof: { message: `Value must be one of ${items.map(item => item[0]).join(', ')}` } };
  };
}

That's definitely an interesting approach.
When I implemented the Hint components I also had the idea of making them more "smart" by allowing them to iterate and display all the errors themself. The problems that I faced with this approach are that we define the messages that get displayed in the javascript part of our application and not the template. I mean this isn't really a big issue but I prefer to keep them in the template. Furthermore what about cases where you want a more complex message with maybe icons, images or styled text. You could of course allow both approaches and just switch between them but yeah...
Regarding the "hasErrors and not wanting to pass the form to "Input components", yeah I definitiely see the problem here, it would be annoying to always pass the form as a reference to the inputs. But what about using contexts to retrieve the form in the input component. This would also allow you to simply access the valid field of the form control.
https://svelte.dev/repl/73f50e7a79ea4e7687859106ef8feb09?version=3.53.1
(Repl showing a possible implementation)

Maybe svelte-use-form could offer utility functions to retrieve the controls themselves from context.
const control = getControl(name);

That's definitely an interesting approach.
When I implemented the Hint components I also had the idea of making them more "smart" by allowing them to iterate and display all the errors themself. The problems that I faced with this approach are that we define the messages that get displayed in the javascript part of our application and not the template. I mean this isn't really a big issue but I prefer to keep them in the template. Furthermore what about cases where you want a more complex message with maybe icons, images or styled text. You could of course allow both approaches and just switch between them but yeah...
Regarding the "hasErrors and not wanting to pass the form to "Input components", yeah I definitiely see the problem here, it would be annoying to always pass the form as a reference to the inputs. But what about using contexts to retrieve the form in the input component. This would also allow you to simply access the valid field of the form control. https://svelte.dev/repl/73f50e7a79ea4e7687859106ef8feb09?version=3.53.1 (Repl showing a possible implementation)

To be honest what I most liked about your package is that it "automagically" bind itself to all my custom input components. I literally didn't have to change anything to my form except that I did what the package's name itself says :D use:form. And I would vote for keep it that way.
I see what your approach in the repel would solve in my case. But since the hint component is retrieving an instance of the form, I could only sneak a variable back to the input component and that's all I need :D
Since your package automagically bind itself to all the input I see that only the ignore feature is what was missing. And now it support it which make it even better. Keep it magical @noahsalvi 😄
I'm sorry I drifted you away from the main thing about this commit, do you think my commit would also solve the multi-form problem?

Hahah awesome, nice to hear that!
"Automagically" i gotta use that somewhere in the docs ✍🥴🤣
And I would say this PR is fine as it is, i'll probably create an issue for the other thing i just wrote above.
I'll merge it later and write a test myself if that's okay with you?

Hahah awesome, nice to hear that!
"Automagically" i gotta use that somewhere in the docs ✍🥴🤣
And I would say this PR is fine as it is, i'll probably create an issue for the other thing i just wrote above. I'll merge it later and write a test myself if that's okay with you?

Please do add it to the docs 😄 it really impressed me when it did.
It's totally fine. You can merge at any time since it would work to solve that issue.
Speaking of testing. I was like "let me give playwright another try" since you mentioned it. And it only took me a day to completely throw cypress away and adapt playwright. I think I might help you cover some tests. I see that you adopted some. do you want me to add some for this commit?

Maybe svelte-use-form could offer utility functions to retrieve the controls themselves from context. const control = getControl(name);

I'm sorry I didn't notice your reply. was it a suggestion for supporting multi-forms?

I gotta be honest I don't really have a lot of experience with e2e testing so I can't really say what is better. I know that angular uses cypress but I never really spend a lot of time using it. Playwright ist just the default testing framework sveltekit ships with, that's why I chose it ^^
What made you switch?
And yeah if you have the time to do it, then please do. Would definitely appreciate it. 🙏

Maybe svelte-use-form could offer utility functions to retrieve the controls themselves from context. const control = getControl(name);

I'm sorry I didn't notice your reply. was it a suggestion for supporting multi-forms?

This wouldn't be relevant for this issue/PR. It's a proposal on how we could retrieve the state of a form control in a nested component like in your example.

I gotta be honest I don't really have a lot of experience with e2e testing so I can't really say what is better. I know that angular uses cypress but I never really spend a lot of time using it. Playwright ist just the default testing framework sveltekit ships with, that's why I chose it ^^ What made you switch?
And yeah if you have the time to do it, then please do. Would definitely appreciate it. 🙏

btw right now i'm using the default playwright library for writing tests but there also exists an experimental extension where you test only components themself. The advantage would be, that you don't have to add the test case as a route in sveltekit but rather as a simple component that is only used by the test.
https://playwright.dev/docs/test-components
I had some issues, when I tried it last time but maybe you'll get it to work?

I gotta be honest I don't really have a lot of experience with e2e testing so I can't really say what is better. I know that angular uses cypress but I never really spend a lot of time using it. Playwright ist just the default testing framework sveltekit ships with, that's why I chose it ^^ What made you switch?
And yeah if you have the time to do it, then please do. Would definitely appreciate it. 🙏

Playwright was promising when it first became popular, but it had some bugs and incompatibilities with the cd/ci I was using at that time. But man, when I had a look this week. It astonished me 👍🏻 Thank you for bringing it up. What I did for cypress to be compatible, I found playwright doing it in its core. And it's extremely fast comparing to cypress. Tests are cut from ~ 15min / run to ~ 10min / run
Anyways I think my approach to multi-forms isn't correctly working. Let me dig a little bit to this :D

Was it necessary to expose the data-testid attribute?

I gotta be honest I don't really have a lot of experience with e2e testing so I can't really say what is better. I know that angular uses cypress but I never really spend a lot of time using it. Playwright ist just the default testing framework sveltekit ships with, that's why I chose it ^^ What made you switch?
And yeah if you have the time to do it, then please do. Would definitely appreciate it. 🙏

btw right now i'm using the default playwright library for writing tests but there also exists an experimental extension where you test only components themself. The advantage would be, that you don't have to add the test case as a route in sveltekit but rather as a simple component that is only used by the test. https://playwright.dev/docs/test-components
I had some issues, when I tried it last time but maybe you'll get it to work?

Awesome! I didn't try this. I think you would run into issues since it is experimental xD. and I can't comprehend the idea that I can actually interact with a form using components only. I should try this; I also use the same approach as yours for testing :) but since I don't use Sveltekit, it is enough for me to run my tests on vite dev server.

Was it necessary to expose the data-testid attribute here?

Hey sorry for the wait! (Currently busy with exams 😅)
Well I see how it makes sense but at the same time, it doesn't feel write to add a property only for testing purposes. I could be wrong about that since I am not an expert on testing but what about the following. We could expose the id and class of the div inside the Hint, allowing users to directly modify the styling (tailwind, etc.) and at the same time we would we could also use it as an id for testing.
Remark: Well an even simpler approach would be to use the text of the hint as the selector in the tests but I actually believe it would be a great opportunity to add class and id to Hints.
What do you think?

Hey @noahsalvi
It's totally ok :D, take your time.
I agree that it could help alot to provide the ability to style the Hint container and the Hint component.
It is against the recommendation to expose the whole $$props, so if you going to provide props for class and id they could be assignable variables export let _class or export let classes since exporting class is not allowed.
Regarding the test attribute we can leave it at the website code for testing and never mention it to the end-user. But keep in mind that if any component has $$props, svelte will automatically expect any prop to be passed. So we better avoid it even if for testing. Go for your suggestion about using id for testing 👍🏻
I have completely changed the library to use the new experimental typescript decorators for validation. still faced few issues with hidden inputs since your library scan for DOM elements so I had to export the form store to manually bind fields/values

Actually as far as i remember you can expose class and id by aliasing the export.
let _class = "";
let _id = "";
export { _class as class, _id as id };
```typescript

Something like that. (I also used it for the attribute `for`)

Regarding the typescript decorators 🤯🤯🤯, I completely forgot they exist.
I'll definitely have to look into the API when i have some spare time. Thanks!

Out of curiosity is there anyway you could maybe share how you're using it? maybe the repo or a simple usage example?
Just so that I have some inspiration for when I come back to this in the future.

Also I just noticed that the Hint component already has support for setting the class attribute.

I'll change this to the way I described above and also add the ability to use id.
That way you could merge the master into your branch and simply change data-testid to use id instead 👍

Also I just noticed that the Hint component already has support for setting the class attribute.
I'll change this to the way I described above and also add the ability to use id. That way you could merge the master into your branch and simply change data-testid to use id instead 👍

The component has $$props it will confuse the user since they can pass any props, I think your suggestion is much better
let _class = "";
let _id = "";
export { _class as class, _id as id };

Actually as far as i remember you can expose class and id by aliasing the export.
let _class = "";
let _id = "";
export { _class as class, _id as id };

Something like that. (I also used it for the attribute for)
Regarding the typescript decorators 🤯🤯🤯, I completely forgot they exist. I'll definitely have to look into the API when i have some spare time. Thanks!
Out of curiosity is there anyway you could maybe share how you're using it? maybe the repo or a simple usage example? Just so that I have some inspiration for when I come back to this in the future.

Sure I will share it when I release the active sprint 😓😓

Sorry for late, I have applied the suggested changes

Awesome stuff! 🎉

I just noticed an issue with the typing. If you look at src/routes/examples/dynamic-form/+page.svelte typescript reports that Argument of type '{ username: { initial: string; }; }' is not assignable to parameter of type 'string'.t.
Any idea how we could patch this? My current suggestion would be to change the order of the parameters of useForm and make it so that you'll have to write useForm({}, "custom-name") if you want to only modify the name.

I've just changed the function definition to my solution above.
If you have a better solution please let me know 😆

I’m sorry man, it’s been a while and I have already forgotten some of what we discussed xD
Yes your solution looks good as optional params should be last passed, because I thought typescript would figure the params by type xD
Also another suggestion is useForm(“form-name”: {}) where the form name is the formProperties key, and can be passed without a key to use default key “svelte-use-form”
is that possible? I didn’t try it as I don’t have my editor around.

Ahh okay, well thanks for trying it out.
So in that case I'll leave this change permanently for the foreseeable future. 👍

Hi @noahsalvi
Sorry for being late, I have promised to share my implementation of your library.
Unfortunately, I have completely changed my approach to building forms for Svelte. Since I have over 24 forms to build, I found it difficult to manually build/edit forms, therefore I have implemented a completely dynamic forms builder. It took me weeks but I found it the ideal solution.
I hope you have a great time; it was awesome to participate a little :D

No worries!
I definitely agree that svelte-use-form can't cover all use cases nevertheless it's nice to hear that you found another approach that is working out for you.
I also wish you a great time and thank you for helping out! 😁


volar auto-formatting - Condition operator interfere with the identification of the HTML tag end

<template>
  <div>
    {{ here < 1 ? is : it }} </div>
</template>

The condition operator will interfere with the identification of the HTML tag end when using Volar’s auto-formatting feature.
Vue Language Features (Volar)
v1.8.24

Cannot be reproduced in the latest version


Add "Soil temperature" property for thermostat

The HELTUN HE-HT01 thermostat provides both an "Air temperature" and "Soil temperature" property in its CommandClass.SENSOR_MULTILEVEL. I'd like to create a ZWaveDiscoverySchema which displays the correct temperature based on the "Source Sensor" configuration parameter (parameter number 11).
Other code in home-assistant/core uses constants from this lib to refer to properties, so I assume it is best practice to list them here before using them there. Let me know if I'm mistaken.

hey so I went ahead and implemented this because these scripts are not architected very well and it would take you a lot longer than it just took me to make the necessary changes. Thank you again though, this was a great idea


Eng 3891

Auto generation pulled in integrations changes as well.

@FabianKramm Does the autogeneration happening automatically on master?
This might be a problem cause of how we have to versions for v0.20 vs. v0.21.


MudStepper Example Compilation Issues

I am having trouble getting the MudStepper example working from this URL: [https://codebeam-mudextensions.pages.dev/mudstepper]
There were numerous compilation errors since it seems namespaces have changed in the most current version.
I am using .NET Core 6 - Blazor Server
MudBlazor: v6.2.3
CodeBeam.MudBlazor.Extensions: v6.5.2
I have installed the NuGet package from VS2022
I have resolved most compilation errors except for 2 of the same error:
CS0117	'RuntimeHelpers' does not contain a definition for 'CreateInferredBindSetter'  .. path to file here ...
I am attaching my razor component for anyone to look at.  This component works in the page on the website, but not in my test project.
Can anyone please point out what I am doing wrong or missing?
UPDATE 1:
I have found the offending line of code:
<MudNumericField @bind-Value="_activeIndex" Label="Change ActiveIndex" @bind-Value:after="(() =>                              _stepper.SetActiveStepByIndex(_activeIndex))" Variant="Variant.Outlined" Margin="Margin.Dense" />
I believe in .NET 6 it does not like the @bind-Value:After="......".
I commented out that line for testing and it compiles but now I receive this runtime error:
InvalidOperationException: Cannot provide a value for property 'ScrollManagerExtended' on type 'MudExtensions.MudListExtended`1[[MudBlazor.Size, MudBlazor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]]'. There is no registered service of type 'MudExtensions.Services.IScrollManagerExtended'.
I have also created a new project using .NET 7 and the original code does compile, however, I do receive the same error as written above.
UPDATE 2:
In my .NET 6 test app, I added builder.Services.AddMudServices(); to the Program.cs file.  It now runs and the page load but it now throws an error in the console and the page does not behave correctly.  I am attaching the file with the error details ( ConsoleError.txt )
Any help would be apprecitated.
Thanks,
Jim
MudStepperExample.txt
ConsoleError.txt

Do you completely setup extension package that reference css and js files like MudBlazor core package? If you have ScrollManagerExtended error, you probably didn't add the script. Readme file show how can we setup the library.
And yes bind-Something:after is net 7 feature, it doesn't work with net 6, nothing related to MudBlazor and MudExtensions. Our libraries both support net 6 and net 7.

Hi @mckaragoz ,
Thank you for getting back to me so quickly.  I did modify the Program.cs as in my second update.  I was just going to update again as I have got this working.  I just found the script and css file references as needed.  I did go to the readme, but like a dummy, I did not scroll down enough.  I now have all necessary code in place.  It is very similar, if not the same as setting up MudBlazor.
Again, thank you for the guidance.  I wish I had just taken my time and looked more thoroughly.  Now I will know how to do this when I set up the real project for production.  Looking forward to checking out all of the extenions.
Thanks again!!!
Jim

We can close this issue now. If you have another issue please open again.


Cuda: Using shared memory to add numbers results in overwriting

I have been trying to add numbers using shared memory so it would be as follows:
Thread 0: Add 1 to shared memory variable sharedMemT[0]
Thread 1: Add 1 to shared memory variable sharedMemT[0]
synchronize threads and store sharedMemT[0] into output[0]
But the result was... 1??
@cuda.jit()
def add(output):
    sharedMemT = cuda.shared.array(shape=(1), dtype=int32)
    sharedMemT[0] = 0
    cuda.syncthreads()

    sharedMemT[0] += 1
    cuda.syncthreads()
    output[0] = sharedMemT[0]

out = np.array([0])
add[1, 2](out)
print(out) # results in [1]

@scheng123 thanks for asking about this on the Numba issue tracker. There is some tutorial material at https://github.com/numba/euroscipy2019-numba/blob/master/4 - Writing CUDA Kernels.ipynb that suggests using:
cuda.atomic.add(sharedMemT, 0, 1)

Instead of:
sharedMemT[0] += 1

In order to perform an atomic add to the value at location [0] of the sharedMemT. My bet here is that you are seeing the result of a race condition. Could you try that and see if it helps?

I know that working with GPUs always result in a race condition but I want to know why it doesn't work.
My though process:
Declare shared memory variable as [0]
syncthreads
Now every thread should increment at the same time when I run sharedMemT[0] += 1
But why doesn't it work?? It is so confusing. Thank you for your time and patience. My first time working with CUDA :)

Thanks for the article @esc, I understand now. I'm going to post the portion that talks about race conditions just on case someone else stumbles upon this "issue" ^:::^

However, there are many cases where different threads need to combine results. Consider something very simple, like: "every thread increments a global counter." Implementing this in your kernel requires each thread to:

Read the current value of a global counter.
Compute counter + 1.
Write that value back to global memory.

However, there is no guarantee that another thread has not changed the global counter between steps 1 and 3. To resolve this problem, CUDA provides "atomic operations" which will read, modify and update a memory location in one, indivisible step. Numba supports several of these functions, described here.

@scheng123 thanks for following up on this, we appreciate it. Glad that your issue has been resolved!


Python API multiple tests fail due to Parser exception on Windows

Example failed run on windows-2022 GitHub-hosted runner -- logs and workflow file:
https://github.com/kuzudb/kuzu/actions/runs/6122723770/job/16619119282
There does not seem to be any evidence of these tests ever passing on a Windows machine.

The failures are likely due to path handling issues on Windows. We need to modify the test suites to normalize the paths for Python on Windows platform.

The failures are likely due to path handling issues on Windows. We need to modify the test suites to normalize the paths for Python on Windows platform.

I'm not sure that it's the fault of the test suite as much as the fault of the query parser (which I'm guessing doesn't fully support windows paths right now). I think it's properly treating the backslashes as literal backslashes and not escapes, e.g. the logs show them both with escapes and without for the following query (from here), which as far as I can tell uses a valid windows path:

'COPY person FROM "D:\\a\\kuzu\\kuzu\\dataset\\tinysnb/vPerson.csv" (HeaDER=true, deLim=\',\');'
"COPY person FROM "D:\a\kuzu\kuzu\dataset\tinysnb/vPerson.csv" (HeaDER=true, deLim=',');"


API documentation on website is broken

A lot of documentation is currently missing. E.g:
http://autobahn.ws/python/reference/autobahn.twisted.html#autobahn-twisted-wamp
Seems to have happened somewhat recently.

Hmm, the deploy must be broken. @oberstet?
In the meantime you should be able go to ./doc directory and type make build. This will create a virtualenv, install some things and build all the docs into ./_build/index.html.

@meejah it was working before this https://github.com/tavendo/AutobahnPython/commit/f081159f15349dc29a0f2d87222de3dedb3bd9e1#diff-f3644bba251750c9ec4a2361d6cc59eb

@meejah can you undo what you did there?

Should be fixed - just redeployed and the page linked above now has content again.
@meejah - What do I need to do to get the documentation build to run on Windows? Had to use a Ubuntu VM just now.

Hadn't seen @oberstet comment. Second that - build

I have undone above commit ..

Hmm, okay. I've never tried on Windows; the above build-changes were what I had to do to get it working on Debian.
@goeddea did you have SCons installed on your Windows machine? (I couldn't get SCons to install in a venv, hence the --system-site-packages)

The failure on Windows was with the virtualenv (which failed to access Python)

I am running Ubuntu 12.04 and it works there .. mmh. Don't know.

@goeddea hmm. Do other virtualenv things work on Windows? or maybe it's just a path-thing (like, windows doesn't like the ./venv/bin/python access?) Sorry, mostly shooting in the dark here ;)

It seems like some documentation, e.g.
http://autobahn.ws/python/reference/autobahn.asyncio.html#autobahn-asyncio-wamp

is still missing.
Could someone with privileges re-open the issue? (I cannot, as I didn't close it myself).

Trying to build the docs on my machine, I get import errors for the modules for which the documentation is missing:
/home/gzost/scm/autobahn/AutobahnPython/doc/reference/autobahn.asyncio.rst:12: WARNING: autodoc: failed to import module u'autobahn.asyncio.wamp'; the following exception was raised:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
    __import__(self.modname)
  File "/home/gzost/scm/autobahn/AutobahnPython/autobahn/asyncio/wamp.py", line 33, in <module>
    from autobahn.asyncio.websocket import WampWebSocketClientFactory
  File "/home/gzost/scm/autobahn/AutobahnPython/autobahn/asyncio/websocket.py", line 40, in <module>
    import trollius as asyncio
  File "/usr/local/lib/python2.7/dist-packages/trollius/__init__.py", line 21, in <module>
    from .coroutines import *
  File "/usr/local/lib/python2.7/dist-packages/trollius/coroutines.py", line 13, in <module>
    from . import events
  File "/usr/local/lib/python2.7/dist-packages/trollius/events.py", line 238, in <module>
    AbstractEventLoop = asyncio.AbstractEventLoop
AttributeError: 'module' object has no attribute 'AbstractEventLoop'
/home/gzost/scm/autobahn/AutobahnPython/doc/reference/autobahn.asyncio.rst:20: WARNING: autodoc: failed to import module u'autobahn.asyncio.websocket'; the following exception was raised:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
    __import__(self.modname)
  File "/home/gzost/scm/autobahn/AutobahnPython/autobahn/asyncio/websocket.py", line 40, in <module>
    import trollius as asyncio
  File "/usr/local/lib/python2.7/dist-packages/trollius/__init__.py", line 21, in <module>
    from .coroutines import *
  File "/usr/local/lib/python2.7/dist-packages/trollius/coroutines.py", line 12, in <module>
    from . import compat
ImportError: cannot import name compat

@meejah @hawkowl - could one of you take a look at this?

fixed: eg http://autobahn.ws/python/reference/autobahn.asyncio.html#autobahn.asyncio.wamp.ApplicationSession


Entrypoint/playbook

Updated the README to reflect the new playbooks - that's pretty much all at this point.

/lgtm


.

.

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Claimed my free tokens on Binance! 🌟 #BinanceFreeTokens #Crypto

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @a5-pickle, @ppong, @META-DREAMER, @longcpp, @lkwr, @yutingzhao1991, @endziu, @Raiden1411, @EvanYan1024, @gabrielom, @xinbenlv, @TonyBobins, @0xMiguel, @daenamkim, @assimovt, @pseudomata, @uze, @Hanggi, @stevending1st, @JinJieTan, @frolovdev, @zfy0701, @wpank, @arnaud-devops, @leovigna, @egesabanci, @Glacier-Luo, @xiongmaofeifei666, @lancediarmuid, @wwei-github, @lourenc, @ThatGuySam, @cito-lito, @garbin, @humayunj, @drinkius, @xusiyuan841028, @hazelnutcloud, @MarioJuniorPro, @Ce1ling, @phanmn, @LukaszWatroba, @lovincyrus, @muffafa, @Dunqing, @louyongjiu, @CurtisHumphrey, @orenyomtov, @Rjected, @chrisciszak


DOH UAT - Enhancement - Ability to Edit My Health Log for Current Day

Will check with DOH business stakeholders, but submitting enhancement idea to allow for an individual to edit the My Health Log entry for current day only.
Business Use Case: I enter at 7am that I have no symptoms, but by 4pm same day, I develop Fever, Cough, and other symptoms. Should I have the ability to edit my entry for the day and based on edited results, be presented with the correct result screen.

NYS agreed that this is not needed for the initial launch.


Fixed all but store.tsx and photo related typescript error

No idea how to fix the rest. Anyone have suggestions?

I've created PR #42 that fixes a few more errors.  Please review that and merge into this branch.


Load textures from mods

I have just downloaded Tremors, and TerraFirma doesn't seem to load the biomes added by it, just leaving a huge empty circle were the biome would have been. In this particular case, it's the glacier minibiome (in case it's relevant). I am still trying to figure out how to include Tremors textures to terrafirma

Now that there's official mod support, we'll see about supporting them in the future.


Homepage Required

Describe the feature
A homepage would give a better UX for users to use it.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Satyam1923 Kindly assign me this issue. I want to work on it to improve the UI & UX for your website

@Satyam1923 Kindly assign me this issue. I want to work on it to improve the UI & UX for your website

I have assigned you the issue. Keep us posted on your progress.

@riyasachdeva04 I am Done with the homepage, Just left with the Router feature so that the components can be connected with each other, could you please suggest that should I also add clickable links in the navbar


Add whitespace to test element htmli

Improves readability.

Just a quick code-style change I made in helping to understand this test. It would probably be better to have this html in a separate file somehow, or, if we transpiled from es6 as a multi-line string using backticks.

Mostly trying to figure out how to do this PR thing here... added another commit to fill in some missing documentation. Not sure if should have been a separate branch. Please let me know if/how I can be doing this better.

Thanks for your work, @zachlysobey! I guess for now moving the template to a separate file is easier, since we have no setup yet for ES2015.


Cluster unreachable after create

I'm trying to set up a POC cluster for a bit of experimentation.  Chose the vanilla method (see config at bottom);
At first, I had the same issue as #6.  Running plan and apply again sorted it, but now the running kubectl cluster-info gives me:
$ kubectl cluster-info
Kubernetes master is running at https://mydomain.com:443

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Unable to connect to the server: EOF

running with dump just returns
Unable to connect to the server: unexpected EOF

ssh'ing to the machine, hyperkube seemed to have restarted a few times.  when it became stable, the logs were full of:
E0209 09:46:08.708370       1 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get https://mydomain.com:443/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: EOF

docker ps -a gives:
CONTAINER ID        IMAGE                                                            COMMAND                   CREATED              STATUS                            PORTS               N
AMES
9eecc428bfb4        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   About a minute ago   Exited (0) About a minute ago                         q
uirky_newton
2b204d005d85        quay.io/coreos/hyperkube                                         "/usr/bin/flock /v..."    2 minutes ago        Exited (255) About a minute ago                       k
8s_kube-apiserver_bootstrap-kube-apiserver-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_7372638d060e8634f939e7d9638e7fb2_7
22ea417a2d6e        quay.io/coreos/hyperkube                                         "./hyperkube contr..."    20 minutes ago       Up 20 minutes                                         k
8s_kube-controller-manager_bootstrap-kube-controller-manager-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_593e5c19268a732b18cf733be361f7ef_0
adbd68ad12c2        quay.io/coreos/hyperkube                                         "./hyperkube sched..."    20 minutes ago       Up 20 minutes                                         k
8s_kube-scheduler_bootstrap-kube-scheduler-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_9ed9a738aa21e46d4aa2be533a40fe37_0
67f6b3a5d35b        gcr.io/google_containers/pause-amd64:3.0                         "/pause"                  21 minutes ago       Up 21 minutes                                         k
8s_POD_bootstrap-kube-controller-manager-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_593e5c19268a732b18cf733be361f7ef_0
a253488550f7        gcr.io/google_containers/pause-amd64:3.0                         "/pause"                  21 minutes ago       Up 21 minutes                                         $
8s_POD_bootstrap-kube-scheduler-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_9ed9a738aa21e46d4aa2be533a40fe37_0
0b6d728cbd27        gcr.io/google_containers/pause-amd64:3.0                         "/pause"                  21 minutes ago       Up 21 minutes                                         k
8s_POD_bootstrap-kube-apiserver-ip-10-102-39-231.eu-west-1.compute.internal_kube-system_7372638d060e8634f939e7d9638e7fb2_0
fe3f47a56eb4        quay.io/coreos/bootkube:v0.8.1                                   "/bootkube start -..."    21 minutes ago       Exited (1) About a minute ago                         g
allant_noyce
17fbff44936f        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   21 minutes ago       Exited (0) 21 minutes ago                             r
omantic_babbage
3c0738a79899        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   23 minutes ago       Exited (0) 22 minutes ago                             s
illy_bhabha
1998998cbb32        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."                     23 minutes ago       Exited (1) 23 minutes ago                             a
doring_wing
ff330a2822ef        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/detect-master.sh"       23 minutes ago       Exited (0) 23 minutes ago                             h
ardcore_spence

Getting the logs of the 2b204 container:
core@ip-10-102-39-231 ~ $ docker logs 2b204d005d85
I0209 09:50:03.083580       5 server.go:114] Version: v1.8.4+coreos.0
I0209 09:50:03.084027       5 cloudprovider.go:59] --external-hostname was not specified. Trying to get it from the cloud provider.
I0209 09:50:03.084119       5 aws.go:847] Building AWS cloudprovider
I0209 09:50:03.084176       5 aws.go:810] Zone not specified in configuration file; querying AWS metadata service
I0209 09:50:03.312930       5 tags.go:76] AWS cloud filtering on ClusterID: myclusterid
I0209 09:50:03.319499       5 aws.go:847] Building AWS cloudprovider
I0209 09:50:03.319593       5 aws.go:810] Zone not specified in configuration file; querying AWS metadata service
I0209 09:50:03.395295       5 tags.go:76] AWS cloud filtering on ClusterID: myclusterid
I0209 09:50:04.006413       5 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
I0209 09:50:04.007071       5 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
W0209 09:50:04.007977       5 admission.go:66] PersistentVolumeLabel admission controller is deprecated. Please remove this controller from your configuration files and scripts.

W0209 09:50:04.098126       5 genericapiserver.go:311] Skipping API rbac.authorization.k8s.io/v1alpha1 because it has no resources.
[restful] 2018/02/09 09:50:04 log.go:33: [restful/swagger] listing is available at https://{public-ip}/swaggerapi
[restful] 2018/02/09 09:50:04 log.go:33: [restful/swagger] https://{public-ip}/swaggerui/ is mapped to folder /swagger-ui/
[restful] 2018/02/09 09:50:04 log.go:33: [restful/swagger] listing is available at https://{public-ip}/swaggerapi
[restful] 2018/02/09 09:50:04 log.go:33: [restful/swagger] https://{public-ip}/swaggerui/ is mapped to folder /swagger-ui/
I0209 09:50:04.839076       5 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
I0209 09:50:07.354052       5 serve.go:85] Serving securely on <IP_ADDRESS>:443
I0209 09:50:07.354245       5 apiservice_controller.go:112] Starting APIServiceRegistrationController
I0209 09:50:07.354268       5 cache.go:32] Waiting for caches to sync for APIServiceRegistrationController controller
I0209 09:50:07.354290       5 controller.go:84] Starting OpenAPI AggregationController
I0209 09:50:07.354414       5 crd_finalizer.go:242] Starting CRDFinalizer
I0209 09:50:07.354436       5 available_controller.go:192] Starting AvailableConditionController
I0209 09:50:07.354446       5 cache.go:32] Waiting for caches to sync for AvailableConditionController controller
I0209 09:50:07.354479       5 crdregistration_controller.go:112] Starting crd-autoregister controller
I0209 09:50:07.354489       5 controller_utils.go:1041] Waiting for caches to sync for crd-autoregister controller
I0209 09:50:07.354502       5 customresource_discovery_controller.go:152] Starting DiscoveryController
I0209 09:50:07.354518       5 naming_controller.go:277] Starting NamingConditionController
I0209 09:50:33.470964       5 trace.go:76] Trace[1055602432]: "Create /api/v1/namespaces/kube-system/pods" (started: 2018-02-09 09:50:23.470487469 +0000 UTC) (total time: 10.00043381s):
Trace[1055602432]: [10.00043381s] [10.000316949s] END
I0209 09:50:38.355775       5 trace.go:76] Trace[2073516846]: "Create /api/v1/namespaces" (started: 2018-02-09 09:50:08.355292443 +0000 UTC) (total time: 30.000458182s):
Trace[2073516846]: [30.000458182s] [30.000379983s] END
E0209 09:50:38.356286       5 client_ca_hook.go:78] Timeout: request did not complete within allowed duration
I0209 09:50:45.212831       5 trace.go:76] Trace[916872897]: "Create /api/v1/nodes" (started: 2018-02-09 09:50:15.212253831 +0000 UTC) (total time: 30.000553967s):
Trace[916872897]: [30.000553967s] [30.000416454s] END
I0209 09:50:50.964274       5 trace.go:76] Trace[1282210152]: "Create /api/v1/nodes" (started: 2018-02-09 09:50:20.963753931 +0000 UTC) (total time: 30.000496712s):
Trace[1282210152]: [30.000496712s] [30.000346264s] END
I0209 09:50:51.218273       5 trace.go:76] Trace[2066235820]: "Create /api/v1/nodes" (started: 2018-02-09 09:50:21.217643067 +0000 UTC) (total time: 30.00059804s):
Trace[2066235820]: [30.00059804s] [30.000444768s] END
I0209 09:50:51.406412       5 trace.go:76] Trace[2013168133]: "Create /api/v1/nodes" (started: 2018-02-09 09:50:21.405856313 +0000 UTC) (total time: 30.000531953s):
Trace[2013168133]: [30.000531953s] [30.000399377s] END
E0209 09:51:07.370854       5 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/client-go/informers/factory.go:73: Failed to list *v1.Endpoints: the server was unable to return a response in the time allotted, but may still be processing the request (get endpoints)
E0209 09:51:07.371962       5 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/client/informers/internalversion/factory.go:61: Failed to list *apiextensions.CustomResourceDefinition: the server was unable to return a response in the time allotted, but may still be processing the request (get customresourcedefinitions.apiextensions.k8s.io)
E0209 09:51:07.372021       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *rbac.ClusterRoleBinding: the server was unable to return a response in the time allotted, but may still be processing the request (get clusterrolebindings.rbac.authorization.k8s.io)
E0209 09:51:07.372134       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *api.ResourceQuota: the server was unable to return a response in the time allotted, but may still be processing the request (get resourcequotas)
E0209 09:51:07.373788       5 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/client-go/informers/factory.go:73: Failed to list *v1.Service: the server was unable to return a response in the time allotted, but may still be processing the request (get services)
E0209 09:51:07.373796       5 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/client/informers/internalversion/factory.go:61: Failed to list *apiregistration.APIService: the server was unable to return a response in the time allotted, but may still be processing the request (get apiservices.apiregistration.k8s.io)
E0209 09:51:07.391639       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *storage.StorageClass: the server was unable to return a response in the time allotted, but may still be processing the request (get storageclasses.storage.k8s.io)
E0209 09:51:07.391741       5 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/client-go/informers/factory.go:73: Failed to list *v1.Namespace: the server was unable to return a response in the time allotted, but may still be processing the request (get namespaces)
E0209 09:51:07.391794       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *api.Secret: the server was unable to return a response in the time allotted, but may still be processing the request (get secrets)
E0209 09:51:07.391835       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *rbac.Role: the server was unable to return a response in the time allotted, but may still be processing the request (get roles.rbac.authorization.k8s.io)
E0209 09:51:07.392139       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *api.ServiceAccount: the server was unable to return a response in the time allotted, but may still be processing the request (get serviceaccounts)
E0209 09:51:07.392196       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *rbac.ClusterRole: the server was unable to return a response in the time allotted, but may still be processing the request (get clusterroles.rbac.authorization.k8s.io)
E0209 09:51:07.392865       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *api.LimitRange: the server was unable to return a response in the time allotted, but may still be processing the request (get limitranges)
E0209 09:51:07.393203       5 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:73: Failed to list *rbac.RoleBinding: the server was unable to return a response in the time allotted, but may still be processing the request (get rolebindings.rbac.authorization.k8s.io)
E0209 09:51:08.355816       5 storage_rbac.go:172] unable to initialize clusterroles: the server was unable to return a response in the time allotted, but may still be processing the request (get clusterroles.rbac.authorization.k8s.io)
I0209 09:51:08.357182       5 trace.go:76] Trace[1216105872]: "Create /api/v1/namespaces" (started: 2018-02-09 09:50:38.356848784 +0000 UTC) (total time: 30.000315483s):
Trace[1216105872]: [30.000315483s] [30.000273123s] END
E0209 09:51:08.357487       5 client_ca_hook.go:78] Timeout: request did not complete within allowed duration
F0209 09:51:08.357509       5 hooks.go:133] PostStartHook "ca-registration" failed: unable to initialize client CA configmap: timed out waiting for the condition
core@ip-10-102-39-231 ~ $

my config looks like this:
module "kubernetes" {
  source = "coreos/kubernetes/aws"

  tectonic_aws_assets_s3_bucket_name = "${var.s3_asset_bucket}"
  tectonic_aws_etcd_ec2_type = "t2.small"
  tectonic_aws_etcd_root_volume_iops = "100"
  tectonic_aws_etcd_root_volume_size = "30"
  tectonic_aws_etcd_root_volume_type = "gp2"
  tectonic_aws_external_private_zone = "${data.aws_route53_zone.private_zone.zone_id}"
  tectonic_aws_master_ec2_type = "t2.medium"
  tectonic_aws_master_root_volume_iops = "100"
  tectonic_aws_master_root_volume_size = "30"
  tectonic_aws_master_root_volume_type = "gp2"
  tectonic_aws_private_endpoints = true
  tectonic_aws_profile = "${var.aws_profile}"
  tectonic_aws_public_endpoints = true
  tectonic_aws_region = "${var.primary_region}"
  tectonic_aws_ssh_key = "${var.keypair_name}"
  tectonic_aws_vpc_cidr_block = "${data.external.cidr.result.value}"
  tectonic_aws_worker_ec2_type = "t2.medium"
  tectonic_aws_worker_root_volume_iops = "100"
  tectonic_aws_worker_root_volume_size = "30"
  tectonic_aws_worker_root_volume_type = "gp2"
  tectonic_base_domain = "${var.domain}"
  tectonic_cluster_name = "${var.cluster_name}"
  tectonic_container_linux_channel = "stable"
  tectonic_container_linux_version = "latest"
  tectonic_etcd_count = "0"
  tectonic_etcd_tls_enabled = true
  tectonic_license_path = ""
  tectonic_master_count = "1"
  tectonic_networking = "calico"
  tectonic_pull_secret_path = ""
  tectonic_tls_validity_period = "26280"
  tectonic_vanilla_k8s = true
  tectonic_worker_count = "3"
  tectonic_admin_email = "${var.admin_email}"
  tectonic_admin_password = "${data.external.admin_password.result.value}"
}

Any idea what might have gone wrong?  Any help appreciated.
NB: logs sanitised.

Adding some additional information:
Thinking that it may have been the size of the etcd nodes, and thinking I'd need a bit more room ont eh workers, I changed the config so that the etcd nodes wher t2.medium, and the workers were t2.2xlarge.
I then reapplied.   didn't seem to work, so I terminated the master node.  Now the master is completely fubar'ed.
It's stuck running 2 containers over and over:
ore@ip-10-102-6-98 ~ $ docker ps -a
CONTAINER ID        IMAGE                                                            COMMAND                   CREATED              STATUS                          PORTS               NA$
ES
84e0ab2a0e52        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   6 seconds ago        Exited (0) 5 seconds ago                            pra
ctical_davinci
f04141809f33        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/detect-master.sh"       7 seconds ago        Exited (0) 5 seconds ago                            xen
odochial_euler
8624c670a694        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   18 seconds ago       Exited (0) 17 seconds ago                           nau
ghty_swartz
ae231ea3c901        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/detect-master.sh"       20 seconds ago       Exited (0) 18 seconds ago                           vig
ilant_minsky
e51e885ab635        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   31 seconds ago       Exited (0) 29 seconds ago                           sle
epy_brattain
b0322b040e24        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/detect-master.sh"       32 seconds ago       Exited (0) 30 seconds ago                           elo
quent_pasteur
700b08b69b90        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   43 seconds ago       Exited (0) 42 seconds ago                           hun
gry_franklin
0fb019b4eed1        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/detect-master.sh"       44 seconds ago       Exited (0) 42 seconds ago                           bli
ssful_lalande
d584d41f958c        quay.io/coreos/awscli:025a357f05242fdad6a81e8a6b520098aa65a600   "/bin/bash -c '\n  ..."   55 seconds ago       Exited (0) 54 seconds ago                           ama
zing_engelbart

there's no output from detect-master, but it is returning true
log from the other is
core@ip-10-102-6-98 ~ $ docker logs e51e885ab635
download: s3://mys3bucket/assets.zip to tmp/mys3bucket+assets.zip

So it's downloading the assets, just whatever script is running, isn't getting that message.

UPDATE:
The last problem was due to the assets.zip file being corrupted.  Not sure how that happened.
I've since recreated the cluster, and the same initial problem persists.
hyperkube (running flock) exits with
F0209 12:09:50.976234       5 hooks.go:133] PostStartHook "ca-registration" failed: unable to initialize client CA configmap: timed out waiting for the condition

the other hyperkube continues to error with repeatedly with:
E0209 12:13:42.552673       1 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get https://mydomain.com:443/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: EOF

Apologies for the running commentary.

Also having this exact issue. Is there any additional information on this?


cups/dest.c: Don't call cupsEnumDests with no dest name to find default printer.

Fixes #719

Going to be fixed via #721


Add gitattributes w/ export-ignore

This will allow for a production ready version of scrollReveal when archived/exported for release(s) and still allowing a development version within the repository.
This would be very useful because releases are intended for production use and when users are using a packaged release (e.g. as a dependency), they most likely are not interested in downloading the source code as a whole into production, thus saving server disk space and meeting security protocol. Think of it as a .gitignore for releases.

e.g. /test folders, or other build code etc., will not be included in the release archives (zip & tar.gz)

See: git-scm.com - Exporting-Your-Repository

Thanks for this @CelticParser !

Confirmed, the v3.0.0 release looks like this...
dist/scrollreveal.js
dist/scrollreveal.min.js
LICENSE
README.md

Thanks again @CelticParser


[Master] Resolve union types with return wait

Purpose

Resolve for union types when there is a multiple wait and return using return wait.

Fixes #37797
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@ushirask, please check the test failure.


Fix engine use-after-free in apps/openssl

In setup_engine() we load an engine with ENGINE_by_id() and then we deliberately drop our reference to it while (naughtily) keeping the pointer to it. Then (since #1639) we try to call ENGINE_init() with that no-longer-valid pointer.
==81236== Invalid read of size 4
==81236==    at 0x514B12: engine_unlocked_init (eng_init.c:20)
==81236==    by 0x514D24: ENGINE_init (eng_init.c:88)
==81236==    by 0x405E1D: load_key (apps.c:695)
==81236==    by 0x42EDA4: rsautl_main (rsautl.c:177)
==81236==    by 0x421427: do_cmd (openssl.c:471)
==81236==    by 0x420BD8: main (openssl.c:177)
==81236==  Address 0x5653ab0 is 160 bytes inside a block of size 192 free'd
==81236==    at 0x4C2CD5A: free (vg_replace_malloc.c:530)
==81236==    by 0x53EB15: CRYPTO_free (mem.c:179)
==81236==    by 0x51514B: engine_free_util (eng_lib.c:93)
==81236==    by 0x51516F: ENGINE_free (eng_lib.c:99)
==81236==    by 0x40716D: setup_engine (apps.c:1277)
==81236==    by 0x42EC2E: rsautl_main (rsautl.c:104)
==81236==    by 0x421427: do_cmd (openssl.c:471)
==81236==    by 0x420BD8: main (openssl.c:177)
==81236==  Block was alloc'd at
==81236==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
==81236==    by 0x53E8C2: CRYPTO_malloc (mem.c:92)
==81236==    by 0x53E8F5: CRYPTO_zalloc (mem.c:100)
==81236==    by 0x514EE4: ENGINE_new (eng_lib.c:31)
==81236==    by 0x515F49: ENGINE_by_id (eng_list.c:306)
==81236==    by 0x406F6C: try_load_engine (apps.c:1236)
==81236==    by 0x407050: setup_engine (apps.c:1258)
==81236==    by 0x42EC2E: rsautl_main (rsautl.c:104)
==81236==    by 0x421427: do_cmd (openssl.c:471)
==81236==    by 0x420BD8: main (openssl.c:177)

I chose to hold a functional refcount instead of a structural refcount and thus revert commit a1b791225f29 because otherwise, we have compatibility issues with existing engines. This may be an engine_pkcs11 bug but if you call ENGINE_finish() from load_key() while still holding the EVP_PKEY it gave you, you end up with a different use-after-free:
==98405== Invalid read of size 8
==98405==    at 0x5A546A1: check_key_fork (p11_front.c:150)
==98405==    by 0x5A550BD: PKCS11_private_encrypt (p11_front.c:432)
==98405==    by 0x56E592: RSA_private_encrypt (rsa_crpt.c:37)
==98405==    by 0x42F12D: rsautl_main (rsautl.c:240)
==98405==    by 0x4214A3: do_cmd (openssl.c:471)
==98405==    by 0x420C54: main (openssl.c:177)
==98405==  Address 0x57611f8 is 40 bytes inside a block of size 48 free'd
==98405==    at 0x4C2CD5A: free (vg_replace_malloc.c:530)
==98405==    by 0x53EC95: CRYPTO_free (mem.c:179)
==98405==    by 0x5A7F77D: CRYPTO_free (mem.c:166)
==98405==    by 0x5A51911: pkcs11_destroy_keys (p11_key.c:551)
==98405==    by 0x5A5340D: pkcs11_destroy_token (p11_slot.c:519)
==98405==    by 0x5A54100: pkcs11_release_slot (p11_slot.c:451)
==98405==    by 0x5A544E6: pkcs11_release_all_slots (p11_slot.c:431)
==98405==    by 0x5A4E78D: pkcs11_finish (eng_back.c:269)
==98405==    by 0x514D66: engine_unlocked_finish (eng_init.c:60)
==98405==    by 0x514F02: ENGINE_finish (eng_init.c:101)
==98405==    by 0x405E4C: load_key (apps.c:697)

No.  I'm sorry, that's not a good approach, all it does is to add more confusion to an already confused situation.  Hold on a moment, I have an alternative solution, making a PR now.

OK

#1643

Since #1643 just went in, I suppose this can be closed, no?

Yes.


Rancher agent not found when instantiate host with offline vSphere

Rancher Version: 1.1.4
Docker Version: 1.12.3
OS and where are the hosts located? (cloud, bare metal, etc):
bare metal and private vSphere datacenter (all have no access to the internet)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
two nodes with no HA and internal DB. Rancher server has been launched with CATTLE_BOOTSTRAP_REQUIRED_IMAGE and CATTLE_AGENT_INSTANCE_IMAGE set to images from our private registry
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle only
Steps to Reproduce:
Go to the Infrastructure > Hosts panel and add host
Select the vSphere machine driver
Set all fields and add our own private registry in the insecure registry field
Results:
The host is created but when rancher try to run the rancher agent, it gets this following error
Error: image rancher/agent:v1.0.2 not found
and the clean up everything
Expected:
The private registry need authentication for pulling and it seems that rancher does not login to the private registry before pulling, even we add the registry in Infrastructure > Registries
Am I missing something ? Or is it possible for rancher to run a docker login command with the good credential before pulling the agent image ?
Thank you for your help.

I noticed that the go-machine-service is not using registry credential.
See go-machine-service/handlers/bootstrap.go l. 246.

Closing due to inactivity.


fix: enforcing content-type header while registering the instance id

Description
In cloud services logs we are experiencing tons of 415 application/octet-stream exceptions  related to the api/v1/installation. i.e when we register a new instance from the cloud services. as a consequence instance ids can't be registered.
This might be happening due to automatic setting of content-type to octet-stream, can't say for sure.
Here we are enforcing a "application/json" content-type.

We are also experiencing unauthorised access exception logs thrown when we try to get remote plugins for the instance
on endpoint api/v1/plugins?instanceId={{instanceId}}
According to our hypothesis this one is thrown because the instance couldn't be registered in first place. hence the repo has no history of this particular instance id

TL;DR enforced a application/json content type on api call for registering instance.

Slack Thread
Fixes #20949
Type of change

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

How Has This Been Tested?
This has been tested:

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

ok-to-test sha=34d3899

As this change is related to instance registration, it doesn't come under QA purview.


Suggestion: Remove Tools page

At a guess very few users actually use anything on the Tools page.
If some people do infact use the Server time or Resin counter there could be an enablable option under the Settings page to have a floating box that takes up some of the blank space on the website.
These box(es) would remain in the bottom corner while you change pages/tabs and scroll.
If you don't want them, can just disable them under the Settings page (would be off by default)

(I would compress these more for actual implementation. Just a quick n dirty edit)

This only works on a fully maximized screen. How should it be handled on smaller screens/mobile?

I would imagine the floating boxes would be significantly smaller so they could be usable on more display/resolution sizes.
On highly zoomed displays or mobile enabling them would just overlap a portion of the main UI.
The fact they would be optional and default off should be enough of a fix for those people who don't like that.
Also since other inventory management sites like seelie.me already offer server time and resin trackers I don't really envisage this currently being used much on GO.
Maybe this could be one of the first Polls on a newly created GO twitter account? Does anyone use the resin tracker within GO?

Added linking of tools to home page in 8.10.0


[dvsim] Add licqueue switch for Xcelium

What the title says.
Fixes #1820.

Signed-off-by: Srikrishna Iyer<EMAIL_ADDRESS>

nit: typo in the commit header


Override the default request logic

Having a default request logic (how the req info is dealt for each type of route) is useful but forcing it is bad. There should be a way to override it for certain use cases.
Suggested UX:
const myRequest = (req) => { return Object.assign({}, req.query, req.params) }

const controllerList = [
  {
    name: 'lists',
    idParameter: 'listId',
    getAll: require('../usecases/getLists'),
    getById: { usecase: require('../usecases/getLists'), request: myRequest }, // my request
    ...
  }
]

I think we need only specify the request, because in my request I will build my own logic to call my usecase:
const controllerList = [
  {
    name: 'lists',
    idParameter: 'listId',
    getAll: require('../usecases/getLists'),
    getById:  (req, res, next) => {
        // [...] controller logic
        const result = usecase.run()
        res.json(result)
       }
    ...
  }
]


Dedropy mistakenly looking for DNA alphabet in ProteinCharacterMatrix.get

When using:
dendropy.ProteinCharacterMatrix.get(path="file.nex", schema="nexus")
Dendrophy returns an error about DNA alphabet:
Error parsing data source 'file.nex' on line 7 at column 14: Unrecognized character state symbol for state alphabet 'DNA' (DnaStateAlphabet) : 'L'
I haven't been able to find a way around this.

As might be inferred from the error, it is finding the letter "L" in the sequence data and is not happy about it because L is not a DNA alphabet. Without the data file, that's all that can be said right now.

Closing this for now, but if more information can be provided happy to re-open. :+1:


FLP Connector - 400 Session Timed Out

Steps to reproduce:

Integrate Samples App or any sticky demo app into FLP and open sticky sample

Do something in sticky sample app, e.g. increase counter (1) and navigate back with the FLP back navigation (2)

Open app again via tile

Note, the error does  not occur when navigation back with the samples app back navigation and then back with FLP navigation to the FLP start page

thanks for testing and the documentation.
when you press the "manual" back, the session is manually closed:
https://github.com/abap2UI5/abap2UI5-samples/blob/main/src/z2ui5_cl_demo_app_137.clas.abap#L76
this is not triggered when you press back on the launchpad, i guess this is the root cause.
can you check if you run into the same problem with the "manual" back by commenting out the line?

can you check if you run into the same problem with the "manual" back by commenting out the line?

Yes, If I comment out this line, the same error occurs for "manual" back

this is not triggered when you press back on the launchpad, i guess this is the root cause.

Hm, I thought that what's the HEAD request is for? Which is triggered while FLP back navigation

yes i copied 1:1 the new logic to the connector so you find the lines here now L718-L738:
https://github.com/abap2UI5-connectors/fiori-launchpad-connector-onpremise/blob/main/src/02/zabap2ui5.wapa.component.js#L718-L738
you can check with a breakpoint if the code gets triggered. maybe we need some more magic there?

Yes, HEAD request is sent and handler is triggered.

does the frontend wait for the backend?

No, it does not.

replace the exit function with this (added an await that the frontend waits for the backend, but just guessing):
exit: async function() { // Marking the function as async
    if (sap.z2ui5.contextId) {
        try {
            await fetch(sap.z2ui5.pathname, {  // Adding await to fetch
                method: 'HEAD',
                keepalive: true,
                headers: {
                    'sap-terminate': 'session',
                    'sap-contextid': sap.z2ui5.contextId,
                    'sap-contextid-accept': 'header'
                }
            });
            console.log('Session terminated successfully');
        } catch (error) {
            console.error('Failed to terminate session:', error);
        }
    }
    if (UIComponent.prototype.exit) {
        UIComponent.prototype.exit.apply(this, arguments);
    }
},

maybe we are lucky, otherwise i can set up the launchpad in a few days and check this again.

No luck. Session was terminated successfully

but still the same 400 Session Timeout error.

ah too bad, maybe we should call in the HEAD implementation the same as we do when calling  set_session_stateful( client = client stateful = abap_false ). theoretically it should be the same. but before i start changing something without having a deeper understanding we can better wait, maybe @mzinnoecker has a hint for us.

@oblomov-dev would you like to merge #1455 and @christianguenter2 to test again afterwards?
From my opinion that should work

thank you, merged. and copied to the launchpad connector (hopefully without typo) with https://github.com/abap2UI5-connectors/fiori-launchpad-connector-onpremise/commit/7f9960471c6598088d2da257ea0d2e804ea90e00
@christianguenter2 you can just pull from main again and test it.

It works 🚀 Thank you guys for your great support. Very much appreciated ❤

nice! thanks to both of you for testing and fixing!
i guess with the new frontend structure it would now also be possible to get rid of the global sap variable and make everything more local. will refactor it one day but for the moment its nice to see that it works as it is now...
just curious:
does someone of you know if statefulness also works through sap cloud connector?
setup for example:
on_premise sap -> cloud_connector -> ui5 app on btp
otherwise i will give it a try and find it out :)

nice!

does someone of you know if statefulness also works through sap cloud connector?

yes, as long as the sap-contextid header is passed through (which is, seen that already in a fiori app on s/4 2023), no problem :)

cool! 😎


everywhere PPD generation fails on Brother VC-500W

The Brother VC-500W is an AirPrint printer that works correctly in macOS but not on cups.
It has a quirk where, upon doing get-printer-attributes with requested-attributes all,media-col-database, will only return media-col-database. Two separate operations are required in order to get all attributes: one with requested-attributes all, then another with requested-attributes media-col-database.

@agoode please verify you are using the most current firmware for the printer. Even for AirPrint, not handling requested-attributes properly will cause a failed certification. Changing the current behaviour will cause other printers to fail…

Thanks for following up!
It is the latest firmware: 2021-03-21-02.
It turns out this is a somewhat unusual device! It seems to be running a full CUPS 1.6.1 instance, including the whole browse interface and API documentation. It can see the other printers on my network.
I've attached the 2 attr files from ipptool:

vc-500w-all-attr.txt
vc-500w-media-col-database-attr.txt

I do see it listed at https://support.apple.com/en-us/HT201311 under the AirPrint printers list. Is there a way to report this to Apple?
Alternatively, is there a way to implement some kind of fallback that doesn't break compatibility?

@agoode You can send a message to<EMAIL_ADDRESS>I'm not sure what to do beyond that, unfortunately, since I no longer work at Apple.
Implementing another kind of workaround would involve changes in many places, including places outside of CUPS. Really this needs to be fixed by Brother... :/

I concur with Mike, this really needs to be fixed in the firmware.

Thank you for all the investigation, I've sent a note to the airprint email address as suggested.

@agoode  Thanks for the heads up.
We received your feedback from Apple and believe we have a fix for it that will be in the next release from Brother.
I have attached the ipptool printer attribute tests and plist output for the 3 cases noted.
IPP_printer_attribute_VC500W.zip
.

Thank you to everyone for helping to get this issue resolved!

@agoode Thanks for the heads up. We received your feedback from Apple and believe we have a fix for it that will be in the next release from Brother. I have attached the ipptool printer attribute tests and plist output for the 3 cases noted.
IPP_printer_attribute_VC500W.zip .

I have ipptool working great with the latest firmware on VC-500W. Do you happen to know the ATTR needed to enable auto-cut on prints?  If not, any particular emails I can reach out to that would know? Thanks!

@AdamOnLinux If it implements IPP correctly it should use the "finishings" attribute with a value of '11' (trim), but I don't see that in the ipptool output...


Fix proto tool issue when there are dependent proto files

Purpose
Fix proto tool issue when there are dependent proto files
Fixes #17681
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[x] Integration Tests
[ ] Ballerina By Example Tests

[x] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #17682 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #17682   +/-   ##
=======================================
  Coverage   14.82%   14.82%
=======================================
  Files          46       46
  Lines        1214     1214
  Branches      193      193
=======================================
  Hits          180      180
  Misses       1020     1020
  Partials       14       14

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 799db2e...fe1c036. Read the comment docs.


[Typescript plugin] Add prefix to types but not to enums?

Hi, I'm aware that the typesPrefix option adds the prefix to both types and enums (as commented on https://github.com/dotansimha/graphql-code-generator/issues/1338#issuecomment-475126440), but is there some combination of options that will prefix types but not enums? If not, do you plan on adding this feature sometime in the future?
Thanks.

Hi @giovanioliani , sure, we can add it, but not as default, probably as a configuration (something like enumPrefix: false)

I'm working on this now. I think we'll change the config to be string or an object with a prefix per each GraphQL object.

Implemented in: https://github.com/dotansimha/graphql-code-generator/pull/2267

Available in 1.5.0 🎉


Work with Option

With this change will be trivial to add support to null and undefined.
The option could be replaced with some package, but I couldn't find one nice that just provide the maybe implementation.

Coverage remained the same at 100.0% when pulling 04f36edfc0c4fd2b4eb8903a1266c907964f84f0 on paulojean:master into 27720710d87d5292f2dd0b7d70e72edb1860bd0e on z-pattern-matching:master.

Coverage remained the same at 100.0% when pulling 250af273afde6125610f8b0c2a30f8d6390b7cb7 on paulojean:master into 27720710d87d5292f2dd0b7d70e72edb1860bd0e on z-pattern-matching:master.

thanks! this will help to implement undefined and null matchers indeed


3 bugissue site data unable to be cached

Apologies. The default target for PR's keep changing. Please ignore this