New feature

Like a new feature, example:
vuetable:cell-changed
For inline editing data and update or any process after change data in the cell! :D
This is a component -very tiny, simple- for this work, only for text data, not for select, or check. But works fine!
https://github.com/jinzhe/vue-editable

@NightZpy vue-editable component looks very interesting. Anyway, vuetable was never meant to have inline editing as it would complicate the data update on the server. It would better suits for another table component that does not deal ajax request directly. But let me think about it and see if there is any interesting way to do it. :)

I add in my project, using vue-editable -really very tiny, but works-:
method for vuetable:
        editable: function(e, field , id, token){             this.$editable(e,function(value){                 console.log(value);                      });         },
In vuetable template:
`

    @{{{ getObjectValue(item, field.name, "") }}}

`
But the vue-editable, only works passing to textfield. Very interesting add support for select, checkbox, radio or anothers field types!

@NightZpy I know what you mean. It's a quick and easy way, but I just don't think that it is the appropriate way to go. It should be implemented as plugin for the component. But I never thougt about plugin for vuetable before, so I will have to think about it and see if it is possible. Thanks for the suggestion anyway. :)

@ratiw of course, but will be great feature for your vue-table :D

Turns out vuetable can now use vue-editable to do inline editing. You can try it out by following this instructions.
git clone https://github.com/ratiw/vuetable-example-vueify-bootstrap.git vevb
cd vevb
git checkout develop
npm install
npm run dev

Open your browser and go to http://localhost:8080
Open web browser console to see the output message
Try double-click on any cell

Pro:

This way vuetable can stay light without having to embed the inline editing feature inside.

cell-dblclicked is just another event, you can choose to do anything with it or nothing at all.

Someone else can extend vue-editable to make more features out of it or even make another one that support different field type inline editing.

You can add more option(s) to field definition and make use of it inside the event, like
  events: {
      'vuetable:cell-dblclicked': function(item, field, event) {
          if (field.editor === 'select') {
              // do something here
          }
      }
  }

Con:

You will need to keep track and handle any change you made back to the server side yourself.

What do you guys think? @NightZpy @mdaliyan @mozami

I like, better than implement as attribute inner template :D
Ready to test :D

This is certainly nice to have! Ive tested the demo by @ratiw and it looks good. I think it should be optional, so one can enable editable features if needed as it may not be necessary for every instance.

@mozami What I did was only add another event call cell-dblclicked, no inline/in-place editing feature was added. The example just makes use of vue-editable component by registering it and call it from within cell-dblclicked event.
I think in-place editing feature is not suitable for vuetable but might be good for another component in the future.

I don't see any Cons. What you say, is unavoidable. Nice.

@ratiw I have a problem. Ready updated the vue-table source, but now problem load data into table, event load-error is launch. Server call works (data is retrieve), but, the error even persist and not load data in table. No error in javascript console :(
index.blade.php
vue-table.blade.php
vuetable.js
crud.js

@NightZpy Did you make any change to the template in the original vue-table.js file? It seems like you separated them in different files and include them back in again using Blade template.
It's hard for me to help or make any suggestion based on what you do. Are you sure your data structure and pagination data returned from the server are in correct format? Please also try to dump the response in vuetable:load-error out to see more detail about it.

Hi @ratiw, thanks for your support!
No, i don't make changes into vue-table.js.
Response from server (show in the network tab in chrome):
 {      "total":10,    "per_page":2,    "current_page":1,    "last_page":5,    "next_page_url":"http:\/\/generator.developer.com\/api\/v1\/providers?page=2",    "prev_page_url":null,    "from":1,    "to":2,    "data":[         {            "id":22,          "code":"23423",          "name":"aaa",          "specialty":"234234",          "district":"",          "address":"",          "phone":"",          "movil1":"",          "movil2":"",          "contact":"",          "email":"",          "created_at":"2016-05-29 12:11:31",          "updated_at":"2016-05-29 12:11:31",          "deleted_at":null       },       {            "id":17,          "code":"189905",          "name":"lenyn",          "specialty":"Programmer",          "district":"",          "address":"",          "phone":"",          "movil1":"",          "movil2":"",          "contact":"",          "email":"",          "created_at":"2016-05-29 08:11:01",          "updated_at":"2016-05-29 08:13:49",          "deleted_at":null       }    ] }
Dump response:

TypeError: r.call is not a function(…)

I cut in parts, because browserify doen't works for me. Any suggestion for not cut template in a different file that js file?

It works before update to new vue-table (with cell-dbclicked) :(

@NightZpy If you don't modify anything, just use vue-table.js in the src directory. It's the main file I always work with as I usually don't use browserify as well.
Please also expand the error message to see more error info.

TypeError: r.call is not a function(…)

Didn't error info into console, is dump data console.log(response).
This is all dump:
TypeError: r.call is not a function
    at http://cdnjs.cloudflare.com/ajax/libs/vue-resource/0.1.16/vue-resource.min.js:7:4256

Yes, i use vue-table.js.
But, require doesn't works for me :(

This problem using babel with browserify: go

@NightZpy This problem has already been discussed and solved. It's not the problem with browserify. It is because you split up vuetable files instead of using the one provided by the library in npm or bower.io. The package installed using npm or bower.io will have package.json that will tell browserify how to handle .vue file.

@NightZpy I suggest you start a small project trying to install vuetable via npm and compile with browserify or webpack first. Make it work before adding more things as it will confuse you.

@NightZpy  If you do not familiar with browserify, you do not need to use it. vuetable can be used just by include its javascript file vue-table.js. No compilation needed. Please see this example.

@ratiw i understand you :D but, for example, when install directly from npm, cloning the repo, appear another problem about git repository in dependences section in package.json.
I ready using directly include vue-table.js but, when update, now fail!
But, ready solve the problem, was a version of babel runtine ¬¬.

@ratiw  dbl-clicked event retrieve item element row with html tags for hightligh in searching!
{"id":22,"code":"34343","name":"aaa","specialty":"234234","district":"","address":"","phone":"","movil1":"","movil2":"","contact":"","email":"","created_at":"2016-05-29 12:11:31","updated_at":"2016-05-31 06:22:04","deleted_at":null}
Maybe clean data before pass to dbl-clicked event?

@NightZpy That was the result of having reactivity. I suggest you remove the highlight functionality from your code as there is no way to remove that at the moment.

@ratiw already remove :D but highlight functionality thats fine.
Thanks.


How is it possible OnWebBrowserNewWindow event handling?

void OnWebBrowserNewWindow(string URL, int Flags, string TargetFrameName, ref object PostData, string Headers, ref bool Processed)
{
Processed = true;
//WBrowser.Navigate(URL);
}
I do not want to ensure the opening of a new window. Is it possible?

webview needs webview derived a new window.
I dont think it is possible without opening a new window.
cheers,
-Kim
2015-10-08 16:57 GMT+09:00 Abdurrahman Gayretli<EMAIL_ADDRESS>
void OnWebBrowserNewWindow(string URL, int Flags, string TargetFrameName,
ref object PostData, string Headers, ref bool Processed)
{
Processed = true;
//WBrowser.Navigate(URL);
}
I do not want to ensure the opening of a new window. Is it possible?
—
Reply to this email directly or view it on GitHub
https://github.com/kimsama/unity3d-webview-csharp/issues/3.

I am trying to do compressible only login button. This example page: http://www.mspb.gov/apps/iphone/images/help6.jpg
Is this true?
webViewObject.EvaluateJS(@"window.removeEventListener('load', function(){window.open};


[Bug]: ATProtoKit.getAuthorFeed() doesn't seem to respect the passed in filter

Summary
The ATProtoKit.getAuthorFeed() method doesn't filter posts when a non default filter (AppBskyLexicon.Feed.GetAuthorFeed.Filter) is passed in. I always get postsWithReplies back
Reproduction Steps
Passed in the .postsWithNoReplies option for postFilter: AppBskyLexicon.Feed.GetAuthorFeed.Filter?
let myFeed = try await agent.atProtoClient.getAuthorFeed(by: handle, postFilter: .postsWithNoReplies)

But still received my replies

Can see that some of the rows (like the pins) are not posts but replies on my profile
notakshat.bsky.social
Expected Results
To only receive my top level posts and reposts
Actual Results
Received my top level posts, reposts, and replies
What operating systems did you experience this bug? (We'll count Docker as an operating system.)
macOS
Operating System Version
iOS 18
ATProtoKit Version
0.21.1
Additional Context
No response

Thanks. I'll investigate. It's probably a simple fix.

Found the issue: I forgot to use .rawValue so it's taking the enum value literally. It'll be resolved in the next update (hopefully early this week).


build(android): do not package android build directory

Does any other open PR do the same thing?
No, no other PRs exist that I saw
What issue is this PR fixing?
It was not logged. But I'm about to put a deprecation notice on the jetifier package and these files turned up as warnings, I thought I'd help you all get rid of them
How did you test this PR?
On android if you use version 0.28.0, the gradle build runs jetifier and in the soon-to-be-release jetifier it emits warnings that this package has non-AndroidX files.
It turns out they are in lib/android/build which I thought was strange, but it appears the npm package step isn't ignoring them, so anyone might package them up when releasing
I maintain react-native-device-info and our android .npmignore file looks exactly like the one I propose here and has for quite some time - works great
https://github.com/react-native-device-info/react-native-device-info/blob/master/android/.npmignore

❤


Unable to upload binaries to PDS without shared storage

Problem
Uploading binaries to SecHub works. However, uploading the same binaries from SecHub to PDS does not work without a shared storage.
Solution
Implement binary upload from SecHub server to PDS, without using a shared storage.

Was done with #1692


Remove hypen from Mykomaps page url

https://digitalcommons.coop/myko-maps/ ->
https://digitalcommons.coop/mykomaps/

Make maps singular on first line of the page
Mykomaps maps the solidarity ->
Mykomaps map the solidarity

Just noticed this and made the edit.  I think this is is now done.

Should we have https://digitalcommons.coop/myko-maps/ redirect to the hypenless one, in case there are places that link to the old one?

I'm not sure how to do this on Ghost, it might be simpler just to check the rest of the site for broken links to it.  I don't expect anyone else will have had a chance to link to that page, as it's new.

okay, let's leave it.


How to implement a multitenant application ? (in aspnetcore)

Hi,
i have a multi tenant application in owin/katana. In the pipeline i have a step after the container scope has been instantiated where i can inject an additional service based on the url (or whatever on the request).
This approach works very well, but i'm not able to replicate it in AspNetCore.
I tried a pipeline step where i replaced the container like this (i'm using autofac) :
        Task RegisterTenantDatabase(HttpContext context, Func<Task> next)
        {
            var tenantId = context.GetTenantId();
            var scope = (ILifetimeScope)context.RequestServices.GetService(typeof(ILifetimeScope));
            using (var requestScope = scope.BeginLifetimeScope())
            {
                RegisterDocumentSessionPerRequest(context, tenantId, requestScope);
                context.RequestServices = new AutofacServiceProvider(requestScope);
            }
            return next.Invoke();
        }

but without luck, if i look at components inside, i guess it misses the whole pipeline because i land in a white page 😄
Ho do you do that in aspnetcore ?
Just my opinion about the new approach to di in aspnetcore and other ms frameworks like ef, i think pendulum has swung too far down on the ioc path.
I've seen many singleton registered all around and so much abuse of Service Locator pattern, those make things very hard to reason about and follow dependencies.
I'm very familiar with SOLID and Dependency Inversion principles for years and i think that using an ioc container so early in a pipeline is a mistake, because it separates two things that should really be together : the request-response pipeline and scoping of instance lifetime. the first is a pure functional approach where you do not need IoC, just a few function to allow ppl to hook stuff. An ioc container should only be introduced by an app framework if it please, like mvc. People should not have control over lifetime choices of some internal components, and should allow to instantiate things the way they like.
Thanks

It's definitely possible to do it and many others have done it successfully. @sebastienros can explain how orchard does it.
Also, this isn't a DI issue and should probably be filed at http://github.com/aspnet/Home.

Thanks @davidfowl i will do that !

opened by mistake :D


Messages from the server are hidden behind: DataSource.Error: Web.Contents failed to get contents from

This problem has been fixed with b1b9faa65c136e3656a526998aa909855d0c5ae7.


Incorrect order of keys in sorted-map evaluation result

Using [org.clojure/clojure "1.9.0"], [proto-repl "0.3.1"] and [nrepl "0.3.1"].
I'm getting weird behaviour from evaluating sorted-maps  in Proto-repl as you can see on image:

Works correctly for numbers, breaks on keywords and strings.

Hit the same issue - you can wrap the sorted-map with seq as a workaround:
(seq (sorted-map "c" "c" "a" "a" "b" "b" "d" "d"))

gives
(["a" "a"] ["b" "b"] ["c" "c"] ["d" "d"])


Create cross-ns-delegate.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description
Customer had a use case that I couldn't find a doc for. I proved this out on my own cluster.

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66916d0a9464c817e5b63fb3--harness-developer.netlify.app


Support for Payment Card Industry Data Security Standard (PCI DSS) standard

Please upvote if you want this feature.  Do not submit a new issue.

Please upvote if you want this feature.  Do not submit a new issue.


Ability to use TinyMCE on Options

Now since v2.0.0, there's a togglable mode for TinyMCE which is used on a couple places in the dashboard.
Currently for options, its plain-text only but I think it would be great to have this enabled on the options page as well.
This is a simple addition I will work on and release.

Closed with v2.1.0


Windows support

Cannot pip install colossalai under Windows.
Any work arounds to get Open-Sora working under Windows?

@JThh Could you please have a check?

Would you please try installing anaconda on your Windows powershell? Try following this guide.
After having it installed, you may create an environment using conda create -n opensora python=3.11, and in the project home folder, run pip install -r requirements.txt.

acturally it shows that  (Anaconda+windows)
raise RuntimeError("Windows is not supported yet. Please try again within the Windows Subsystem for Linux (WSL).")
RuntimeError: Windows is not supported yet. Please try again within the Windows Subsystem for Linux (WSL).

这是来自QQ邮箱的自动回复邮件。
您好，已经收到您的邮件，我会及时查看，谢谢

I've got the same error, is it mean that I have to use a linux vm

这是来自QQ邮箱的自动回复邮件。
您好，已经收到您的邮件，我会及时查看，谢谢

这是来自QQ邮箱的自动回复邮件。
您好，已经收到您的邮件，我会及时查看，谢谢

In 1.2, same problem on Win.

I've got the same error, is it mean that I have to use a linux VM

We do not have a plan to test on Windows. You request a contributor to do that for you, or you have to use it on linux.


ToCSS includePaths ignores paths from parent directory (../node_modules)

Error
When running hugo, it fails with the following error:
hugo -D -s site server
Building sites … ERROR 2019/08/27 16:56:32 error: failed to transform resource: SCSS processing failed: file "stdin", line 3, col 1: File to import not found or unreadable: bulma/bulma.
Total in 13 ms
Error: Error building site: logged 1 error(s)

Project Structure (abridged)
project
├── node_modules
│   └── bulma
│       ├── bulma.sass
│       └── sass
│           └── ...
├── package.json
├── package-lock.json
├── README.md
└── site
    └── themes
        └── custom-theme
            ├── assets
            │   └── scss
            │       ├── main.scss
            │       └── variables.scss
            └── layouts
                └── _default
                    └── baseof.html

project/site/themes/custom-theme/assets/scss/main.scss
@charset "utf-8";
@import "variables.scss";
@import "bulma/bulma";

// custom style ...

head
<head>
    {{ $scssOptions := (dict "targetPath" "css/styles.css" "enableSourceMap" false "includePaths" (slice "../node_modules")) }}
    {{ $scssFile:= default "scss/main.scss" .Params.ScssFile}}
    {{ $scss := resources.Get $scssFile }}
    {{ $style := $scss | resources.ToCSS $scssOptions | minify | fingerprint }}
    <link rel="stylesheet" href="{{ $style.Permalink }}">
    <!-- ... -->
</head>

Hugo Versions

Hugo Static Site Generator v0.55.6-A5D4C82D2/extended linux/amd64 BuildDate: 2019-05-18T08:08:34Z

Hugo Static Site Generator v0.56.3/extended linux/amd64 BuildDate: unknown

OS
cat /etc/lsb-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.4
DISTRIB_CODENAME=Illyria
DISTRIB_DESCRIPTION="Manjaro Linux"

Notes
I tried playing with various variations of paths in the head (such as node_modules, ./node_modules, absolute path, ...) and in main.scss (such as ./bulma/bulma, ../bulma/bulma, ...) and nothing works. The only way around is to not use incluePaths and instead to hard-code node_modules in the scss file, as in: @import './node_modules/bulma/bulma';.
Note that using includePaths as described in this setup works fine with the following hugo version:
Hugo Static Site Generator v0.55.6-A5D4C82D2/extended linux/amd64 BuildDate: 2019-05-18T08:08:34Z

This is possibly a bug introduced by my 0.57 changes. That said, I think you would get a simpler setup/easier to reason about if you use the new module mounts setup.
E.g. (from memory):
[module]

  [[module.mounts]]
    source = "node_modules/bulma"
    target = "assets/scss/bulma"

If you get those paths in line you should not need to add any includePaths.

@bep Thanks I was looking into it and it does indeed look like the introduction of modules might have interfered with this feature. You suggestions to use modules (which is a really cool new feature btw) works!
Specfically (and for anyone stumbling upon this) the corrrect configuration is:
[module]

  [[module.mounts]]
    source = "static"
    target = "static"

  [[module.mounts]]
    source = "../node_modules/bulma"
    target = "assets/scss/bulma"

I had to mount the static folder explicitly (not sure if that's intentional or not, but it may be because I have a target of static/webfonts as well in my project) and the source path for the node modules has to start with ../ since the folder is located in the parent of the site in my setup.
You can check the working setup here.
For me this is a perfectly acceptable solution. I find it much cleaner and explicit than passing the node_modules folder in the head template. That being said, it may be nice to update the SASS/SCSS documentation to let people know of the changes.

  [[module.mounts]]
    source = "../node_modules/bulma"
    target = "assets/scss/bulma"

I assume you have the node_modules folder one level up?
Yes, the static folder was intentional.

That being said, it may be nice to update the SASS/SCSS documentation to let people know of the changes.

I agree. It would be cool if you could lend us a hand, now that you know how it works... But I will fix this particular issue, as this was an unintended side effect. But I do agree that using the file mounts is a cleaner and easier to reason about solution. And it gets even cooler when you mount folders inside other GitHub projects ...

I tried to create a failing test similar to your setup, but I failed (or succeeded ...). Which means that there is something I'm not seeing in your setup ...

Hi sorry for the late reply. I can do a simple set up for testing. I am also happy to lend an hand.
Which approach do you prefer:

Prevent adding paths past the root, display an error message and update the doc?
Fix the logic to restore the old behavior?

Hi @bep. I think I reproduced this case. The quickest way would be to modify Netlify's Victor Hugo's template:

Clone it.
Make Hugo generate the SCSS instead of Webpack.
Include some SCSS import in node_modules.

Hi @bep,
For information, I made minimal cases of this bug at this repo:
https://github.com/cyChop/minimal-cases-hugo
About the branches:

master is a dirty but working case (the path to the node_module is hardcoded).
bug/tocss-includepaths demonstrates the problem with includePaths.
bug/tocss-modules uses a configuration such as @0xjac's, but it fails with a different error.
bug/postcss demonstrates yet another problem when piping toCSS | postCSS, though I'm unsure if it's a bug or a configuration problem.

The most important code parts and error log are all summarized in the README.
Please let me know if I can help further (maybe the last problem is a support question for the discourse?).
And thank you for Hugo. :)

I am also experiencing this issue. My hugo site is stored under the root site/ directory. So I'm trying to use
"includePaths" (slice "../node_modules")
and importing the bootstrap sass partial like: @import "bootstrap/scss/functions";
but keep getting the error:
File to import not found or unreadable: bootstrap/scss/functions.
So now I'm relegated to doing @import '../../../../../node_modules/bootstrap/scss/functions';

An alternative that worked for me is to add dependencies as a git submodule inside /assets.

Reproducible example with v0.111.3
git clone --single-branch -b hugo-github-issue-6274 https://github.com/jmooring/hugo-testing hugo-github-issue-6274
cd hugo-github-issue-6274
npm ci
hugo -s site

Workaround / preferred approach:
[[module.mounts]]
source = 'assets'
target = 'assets'

[[module.mounts]]
source = '../node_modules'
target = 'assets/scss'

I can't even get the module.mounts way to work. It's already cost me enough time, I'm just going to go with the @import 'node_modules/package' way as that's all I can get to work.


Update head with title, charset and viewport metadata

Title is just a suggestion :)
The most important imo would be the viewport metadata - on mobile right now the page zooms in when you focus on the search box. This could be fixed with changing the font-size on the search box of course, but this is a simpler solution which lets you have any font-size there that you want.
Sorry I do realize this is a feat and a fix in one PR. I was trigger happy. Let me know if I should do something about that.
Cheers.

I removed the title and utf lines.


Update Canvas to Foundry VTT V9.236

in V9.236, a new method _displayPerformanceWarnings has been added.


The Velocity is similar to the theory, but the permeability is far from the theory of the single phase.

Hi, Dr. yang，I build a fracture(width=12px)  to valid the poiseuille flow with the condition in your code, the fy = 1e-4 and niu = 1/6 . The result suggest that the Velocity is similar to the theory (I modified the coordinate), but the permeability is far from the theory (12*12/12=12),I wonder how to fix it. Thanks a lot!

After increasing the number of iterations, the permeability increases, but it is also larger than the theoretical value and has a trend of increasing.

It looks like the simulation doesn't reach equilibrium... You probably need
to make the simulation longer, or use a larger viscosity which will help to
reduce the iterations required to reach equilibrium...
On Tue, 23 Jul 2024 at 15:32, xiangWu-WW @.***> wrote:

After increasing the number of iterations, the permeability increases, but
it is also larger than the theoretical value and has a trend of increasing.
6b2bc91adad9e3ab01ae753f26d694c.png (view on web)
https://github.com/user-attachments/assets/8a1462c3-ca84-40a2-8f36-798557259cf0
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/29#issuecomment-2245421046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQALW76NLK5WA7G4WZ3ZNZSOFAVCNFSM6AAAAABLKRMJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGQZDCMBUGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It looks like the simulation doesn't reach equilibrium... You probably need to make the simulation longer, or use a larger viscosity which will help to reduce the iterations required to reach equilibrium...
…
On Tue, 23 Jul 2024 at 15:32, xiangWu-WW @.> wrote: After increasing the number of iterations, the permeability increases, but it is also larger than the theoretical value and has a trend of increasing. 6b2bc91adad9e3ab01ae753f26d694c.png (view on web) https://github.com/user-attachments/assets/8a1462c3-ca84-40a2-8f36-798557259cf0 — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQALW76NLK5WA7G4WZ3ZNZSOFAVCNFSM6AAAAABLKRMJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGQZDCMBUGY . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your timely reply. After increasing the number of iterations and modifying the viscosity, the permeability still does not converge and tends to continue to increase. Is this a problem of boundary conditions? But the most puzzling part is that the velocity seems to be consistent with the theory.

You might need to go into the code to check if there is some bug in
permeability/velocity calculation. This is an open source project, all
kinds of help are welcomed!
On Wed, 24 Jul 2024 at 02:46, xiangWu-WW @.***> wrote:

It looks like the simulation doesn't reach equilibrium... You probably
need to make the simulation longer, or use a larger viscosity which will
help to reduce the iterations required to reach equilibrium...
… <#m_1604760991681197934_>
On Tue, 23 Jul 2024 at 15:32, xiangWu-WW @.> wrote: After increasing
the number of iterations, the permeability increases, but it is also larger
than the theoretical value and has a trend of increasing.
6b2bc91adad9e3ab01ae753f26d694c.png (view on web)
https://github.com/user-attachments/assets/8a1462c3-ca84-40a2-8f36-798557259cf0
https://github.com/user-attachments/assets/8a1462c3-ca84-40a2-8f36-798557259cf0
— Reply to this email directly, view it on GitHub <#29 (comment)
https://github.com/yjhp1016/taichi_LBM3D/issues/29#issuecomment-2245421046>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQALW76NLK5WA7G4WZ3ZNZSOFAVCNFSM6AAAAABLKRMJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGQZDCMBUGY
https://github.com/notifications/unsubscribe-auth/AJEDKQALW76NLK5WA7G4WZ3ZNZSOFAVCNFSM6AAAAABLKRMJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGQZDCMBUGY
. You are receiving this because you are subscribed to this thread.Message
ID: @.>
Thank you for your timely reply. After increasing the number of iterations
and modifying the viscosity, the permeability still does not converge and
tends to continue to increase. Is this a problem of boundary conditions?
But the most puzzling part is that the velocity seems to be consistent with
the theory.
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/issues/29#issuecomment-2246701969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQBXIUD5JM4QFEICQCDZN4BQXAVCNFSM6AAAAABLKRMJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWG4YDCOJWHE
.
You are receiving this because you commented.Message ID:
@.***>


[SPARK-17101][SQL] Provide consistent format identifiers for TextFileFormat and ParquetFileFormat

What changes were proposed in this pull request?
Define the format identifier that is used in Optimized Logical Plan in explain for text file format (following CSV and JSON formats).

Local build.

Test build #63904 has started for PR 14680 at commit 133e5de.

Can you show the before/after comparison in pr description?

Test build #63904 has finished for PR 14680 at commit 133e5de.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63904/
Test FAILed.

Merged build finished. Test FAILed.

Test build #63935 has started for PR 14680 at commit 52f5ba5.

Test build #63935 has finished for PR 14680 at commit 52f5ba5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63935/
Test FAILed.

Merged build finished. Test FAILed.

@rxin @HyukjinKwon Mind reviewing it again and letting me know what you think? I know it's minor but would greatly appreciate having it merged at your earliest convenience. Thanks.

@jaceklaskowski It seems the test [here] (https://github.com/apache/spark/blob/e50efd53f073890d789a8448f850cc219cca7708/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSourceSuite.scala#L715-L724) is related with this change. It seems it will passes the test if we change TextFileFormat to TEXT.
BTW, how about changing them to Parquet and Text maybe? I believe this might be about personal taste though.. I feel like shortName.toUpperCase is not always the string representation of each data source.
I mean.. if my understanding is correct, the proper name might be Parquet rather than PARQUET, at least. It seems ORC, JSON and CSV are correct names because they are abbreviated names but I feel like it is questionable for PARQUET and TEXT.
If the purpose of this change is only to see the information about plans to human via explain(...) regardless of anything, it might be better if it is more close to human readable and correct names as string representation.
This is just my personal opinion. I think we need @rxin 's sign off here.

Test build #64105 has started for PR 14680 at commit e780208.

How about now @HyukjinKwon ? The more I look at it the more I think it should calculated automatically out of the class name when constructor's called. It's of little to no value to a FileFormat developer.

Thanks for bearing with me. That was just my personal opinion. As you already know, I can't decide what should be added into Spark. BTW, we should fix https://github.com/apache/spark/blob/e50efd53f073890d789a8448f850cc219cca7708/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSourceSuite.scala#L715-L724This fix is being failed.

Test build #64105 has finished for PR 14680 at commit e780208.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64105/
Test FAILed.

Thanks @HyukjinKwon You're helping me a lot! I'll work on the unit test.


send, receive, ACK, NAK

Hi! I have additional question.
In file RS485.cpp i found:
//  optional
//    ACK      0x06   ACKnowledge
//    NAK      0x15   Not Acknowledge

Is there any way to use this in this scenario:
sending data from slave -> master receive and send to slave ACK when received -> slave send function return TRUE but when master not receive (no ACK from master or master return NAK) then on slave send function return FALSE.
And that same when master send data to slave then ACK/NAK and send function return TRUE or FALSE.
Thank's.

This is how it typical works, but you are free to define your own protocol
The master is in control.
So the slave could send an ACK or NAK (if it cannot handle the request but is able to answer) to inform the master.
The master has no obligation to inform the slave.
In fact the slave may assume that the data he sent did arrive at the master.
Otherwise the master will request it again.

If you want to inform the slave with a ACK that the data has been received, should the master not know that his ACK has been received by another ACK from slave to master, which needs to be confirmed by another ACK from master to slave .... ad infinitum.

Assuming this problem is solved, I close the issue.


[Doc] Using multiple forced password reset methods

As mentioned in the doc [1], we have three options for forced password reset and it is possible to enable more than one at a time since they are checkboxes.

Password Reset via Recovery Email
Password Reset via OTP
Offline Password Reset

Above 2 and 3 can be used together since both are using the same mechanism for password recovery. But it is not possible to use the first one with any of the other two because it will show an error message "Password reset is required. A password reset link has been sent to your registered email address, please check your inbox." when the user tries to login with provided OTP until the user clicks on the link in recovery email and reset the password.
[1] https://docs.wso2.com/display/IS530/Forced+Password+Reset

A related issue to the same doc https://github.com/wso2/product-is/issues/1637


two issues in the service protocol spec

@turnidge, @johnmccutchan, can you look at the patches here (https://github.com/dart-lang/vm_service_drivers/pull/80)? Happy to answer more question about them.

https://codereview.chromium.org/1396603004/

fixed


access ssl certificate details?

Is it possible to access the certificate details from the response?
Interested in Common name, issued by and validity period.

I don't believe so. Which type were you thinking of having an accessor for it?

some way to access peer_cert?  like this
require 'openssl'
require 'net/http'
require 'uri'

url = ARGV[0] # get the URL from the command line arguments

uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true # use SSL for the request

begin
  http.start
rescue OpenSSL::SSL::SSLError => e
  puts "Error: SSL connection could not be established. #{e.message}"
  exit
end

cert = http.peer_cert
if cert.nil?
  puts "Error: No SSL certificate could be retrieved."
  exit
end

cert = OpenSSL::X509::Certificate.new(cert)

puts "Issuer: #{cert.issuer}"
puts "Common Names: #{cert.subject.to_a.select { |name, _, _| name == 'CN' }.map { |_, value, _| value }.join(', ')}"
puts "Valid From: #{cert.not_before}"
puts "Valid Until: #{cert.not_after}"

example:
$ ruby getcert.rb https://google.com
Issuer: /C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
Common Names: *.google.com
Valid From: 2023-03-20 08:22:16 UTC
Valid Until: 2023-06-12 08:22:15 UTC

I think this should suffice:
response = HTTP.get('https://www.example.com')
pp response.connection.instance_variable_get("@socket").instance_variable_get("@socket").peer_cert

Seems like you could use an accessor like HTTP::Connection#peer_cert


Dynamic page names in DSL for screen tracking

In our analytics implementation, the page name for screen views can only be derived at the time when the screen view is triggered. This PR allows the developer to define the ARAnalyticsPageName value in the ARAnalyticsProperties dictionary that is returned from the block that is executed when a screen view is triggered.
With this PR, the code checks for the screen view page name in 3 places (in order)

ARAnalyticsPageName (set at configuration time in the ARAnalyticsDetails dictionary)
ARAnalyticsPageNameKeyPath (set at configuration time in the ARAnalyticsDetails dictionary)
ARAnalyticsPageName (set at the time the event is triggered, in the dictionary returned from ARAnalyticsProperties value block)

@ashfurrow - got opinions on this?

Hmm, interesting. So from the three screen page name options listed, ARAnalytics already supports 1 and 2. So we should focus on 3.
The goal seems to be to be able to dynamically generate a screen name at runtime, rather than configuration time. That makes sense, but that's what the keypath (option 2) is for, to let developers specify their own keypath that ARAnalytics will use to retrieve a (possibly dynamic) screen name. I'm onboard with providing easier ways to do this, but I'm not sure this solution aligns well with the existing behaviour.
Specifically, we currently pass through the properties dictionary through to the analytics provider, but with this PR, we've put the screen name in there too, and we need to then remove it. I'm not sure that the option of adding a screen name to the dictionary is outweighed by the cognitive load of having to remember that the dictionary gets passed straight through except the screen name. I can see developers opening issues about this :sweat_smile:
So the idea is sound, but I'm not sure about the implementation. Maybe an additional key/value pair with a block to specify the screen title at runtime, instead? It's more explicit and keeps the properties dictionary simple. Thoughts @arifken?

@ashfurrow good point! I I like that much better. so something like ARAnalyticsPageNameBlock that would go under the ARAnaltyicsDetails dictionary, with a value being a block that passes the same arguments as the ARAnalyticsProperties block, but returns an NSString?

If that sounds good I can make the change today and update the PR

Yup, sounds good to me 👍 If you can, adding a changelog entry and updating the Readme would be stellar :telescope:

perfect will do

@ashfurrow I closed this PR and opened a new one for defining both screen and event names dynamically: https://github.com/orta/ARAnalytics/pull/249. When you get a chance, let me know if  you think we're on the right track architecture-wise. thanks!


i18n support in docs

Hi, I want to contribute documentation in other languages but there is no support for i18n (it is just a bunch of markdown files).
How one would do it ?

We will make some adjustment about those md files according to your suggestion. Thanks

i18n support is in #6 now.


perf(useResize): :zap: 减少当 adaptive 为false时宽高改变引发的重复渲染

👀 PR includes
🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[ ] Change the UI
[x] Improve the performance
[ ] Type optimization

📝 Description
options 改变时在 useSpreadSheet 中已经 render 过一次了，useResize 里不需要重复 render

🖼 Screenshot

Before
After

❌
✅

:tada: This PR is included in version @antv/s2-react-v1.11.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


helm init returns 403 due to deprecated kubernetes charts url

When resource checking it returns
Initializing helm...
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden

this should be used instead
helm init --stable-repo-url=https://charts.helm.sh/stable --client-only

Strange. Does Helm 3 auto init with the deprecated endpoint still?

Strange. Does Helm 3 auto init with the deprecated endpoint still?

Oh right, Helm 3 doesn't have init. So I think this needs to be updated to support both versions of Helm or abandon 2 entirely.

Oh right, Helm 3 doesn't have init. So I think this needs to be updated to support both versions of Helm or abandon 2 entirely.

Thanks for the fix - would it be possible to push a new build to Dockerhub as well please?

@msiegenthaler

Doesn't linkyard/concourse-helm-resource:2.17.0 work?

Thanks!


External links for nodes and export them to SVG

It will be very convenient to support external links for nodes (for example, by URL property) and export them in SVG

Hello,
Any updates about this issue? Maybe there is a plugin to embed SVG links to the exported diagram? It would be a killer feature to us – having a diagram that links together model artifacts not only semantically, but actually.

Any updates about this issue?

I'm not working on this personally, but if any one else wants to take a look, they are welcome. BTW - HTML Reports have links.

Maybe there is a plugin to embed SVG links to the exported diagram?

I don't think so.

I have a solution that may address this feature request.
The approach is to extend/modify various classes to enable adding an attribute of "archi-id" for elements added to the SVG DOM managed by Batik and exported in the com.archimatetool.export.svg and ...svg.graphiti packages. Classes in the ...editor.diagram packages also needed some modification to get the concept-id for the "archi-id".
The ...reports.html frame.stg, model.css were modified and new .js files added to demonstrate the capability enabled by SVG for graph tracing and highlighting in the browser. Interaction with embedded SVG is to select a node and show the path to a second node. Pan and zoom is enabled through javascript.
It's definitely a work in progress and would benefit from others' evaluation.
Please see attached videos.
This video shows the export to the HTML report (leveraging the export.svg package - the svg is embedded in the html via the frame.stg string processing):
https://user-images.githubusercontent.com/31220739/151642383-7bf7ffa0-f007-4cde-b66e-924004437222.mp4
This next video shows the html report results, demonstrating selection of an object to show documentation/properties, tracing a "Path from here" - "Path to here" option, listing the graph results in an added tab in the view frame, the pan&zoom of the SVG image, and an inspection of an SVG element and its archi-id attribute:
https://user-images.githubusercontent.com/31220739/151642381-1e96603a-407b-4583-b269-69a2497c637b.mp4


add error handling on invalid SQS message

Hello,
The purpose of this change is to handle invalid message from SQS without stop current process.
When an invalid message is receive, the process must catch exception, log and remove invalid message from SQS queue.
It's my first pull request with node.js, so I'm sure we could do this in a better way...
I will do this in order to create a Docker image with a thumbd service ready to run (https://github.com/airdock-io/docker-thumbd). I have again little things to do on this image, but the tag 'ready for production' is not so far away.
Thanks a lot for you greath job !
Jerome

@geronimo-iia thanks for the contribution, I will try to get this merged on the weekend -- just want to do some end to end testing first.

@geronimo-iia I haven't had a chance to tackle this yet, but I haven't forgotten.
Is anyone else still using thumbd in production who can offer a review (@cohen-hyde, @seratonik, @aggied)?

@bcoe I haven't had time to test it on my fork either - I've already had an issue with the queue getting hung up if there was an error and this would solve it. My only concern would be if there was a local issue on the machine doing the resizing, if the file gets removed from the queue it loses the chance that another worker could pick it up and complete successfully.

Hello,
@seratonik I'm totally agree with you about local issue/retry process.
What I would handle is invalid message that cannot be process because json message was invalid without stopping main process. But, this king of error occurs more often at dev time rather than in production (in most of case, we can hope)...

I've brought these changes into my fork, and added some additional checks. I discovered that if no image descriptions were passed thumbd got stuck in an infinite loop of queue processing, and additionally it filled my entire hard drive with temp files. Can take a look here: https://github.com/Volinspire/thumbd  So far things appear to be working well.

@seratonik awesome, will review as soon as possible.

Closing in favor of https://github.com/bcoe/thumbd/pull/99


support autocomplete for values that include spaces

Many of the biological process and pathology terms contain spaces and do not work in the auto complete.
For example -
bp(GOBP:DNA repair)
no autocomplete suggestions are provided until the 'r' is typed, and the suggestions are for completion of the 'r' only, e.g. bp(GOBP:DNA r().

Also need to support other non-alphanumeric characters like quotation marks.

Fixed


JSON validation does not catch embedded quotes

CrateDB version:
2.2.4
JVM version:
1.8
OS version / environment description:
Mac OS X  Sierra 10.12.6
Problem description:
When importing data, sometimes the JSON validation in CrateDB does not catch embedded quotes in a string field that make the JSON invalid and if that happens the invalid JSON is passed on and CrateDB attempts to insert it into elasticsearch resulting in an exception which does not include the offending line number or any indication that the problem is due to invalid JSON, i.e.
SQLActionException[NotXContentException: Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes]

SQLActionException[NotXContentException: Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes]
Steps to reproduce:
First create a table in crash like this:
CREATE TABLE review (id STRING PRIMARY KEY, aboutid STRING INDEX USING PLAIN, rating INTEGER, revlanguage STRING, revtext STRING INDEX USING FULLTEXT);
Next, attempt to copy the record from the attached file into the table like this:
COPY review FROM 'file:///path/walmart_review_9304.json'

walmart_review_9034.json.zip

Use case:
Feature description:

@michael-card Thanks for the detailed description. This is an expected/known behavior since for performance reasons CrateDB does not do JSON validation before ingesting the data. I understand your concerns that it's hard to narrow down the root cause of the issue however, the main use-case of COPY FROM lies in the backup/restore process of data where data initially is exported from CrateDB via COPY TO and imported back again via COPY FROM. This will always produce valid JSON so the validation process would only harm the performance here.
I hope this answers your question.

Closing this since the behavior is expected because of performance reasons.


Add error message to timeouts.md

I am getting this error on my slow CI machine. My tests work on my dev machine.
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
Protractor.waitForAngular()
    at [object Object].webdriver.WebDriver.schedule (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:345:15)
    at [object Object].Protractor.executeAsyncScript_ (/usr/lib/node_modules/protractor/lib/protractor.js:247:26)
    at [object Object].Protractor.waitForAngular (/usr/lib/node_modules/protractor/lib/protractor.js:270:15)

I've read https://github.com/angular/protractor/blob/master/docs/timeouts.md but it is unclear to me which type of timeout this is: "Waiting for Angular" or "Spec Timeout"?
Would you please add this specific error message to timeouts.md?

It's "Waiting for Angular"


Python3 build

Updates scripts and packages to build with SIRF with python3.

This also means that some packages in the SuperBuild pick the wrong python version and I'm not entirely sure which one.

I think this will be premature to merge for 2.2. We can of course always release another VM afterwards.
Possibly this could be resolved by tackling https://github.com/SyneRBI/SIRF-SuperBuild/issues/48.

As discussed previously, we could potentially switch to 20.04 meaning that it would use python3 by default. Might fix some problems without any effort on our part.
Would require fixing https://github.com/SyneRBI/SIRF-SuperBuild/issues/413.

without any effort on our part

seems somewhat wishful thinking, given Alex's struggles :wink:
In any case, finding correct Python versions will remain a bane. Maybe not on a clean Ubuntu 20.04 VM, but as soon as conda gets involved, it'll be a load of fun to be sure we don't mix conda and system python.


What defines "FailStatus" Under "Compressed Store Manager error parameters"? (0x12b Stop Code)

[Enter feedback here]
So my pc crashed last night with 0x12b and after some investigating and some research, it seems to be that parameters three and four are not zero indicating a Compressed Store Manager (CSM) Error. The first Parameter in the four parameters is "FailStatus - Indicates the type of failure". However, there isn't any reference table or any detail regarding this parameter at all. And also no luck with doing google searches as well.
My Request is to add more detail to what "FailStatus" defines. If there is an article that already defines what "FailStatus" is then there should be a link directing to that section within the article. If not, details regarding "FailStatus" should be added in the article like for example, 0x1 is x and 0x2 is y and so on.
In the case of the first parameter on my crash, its 0xffffffffc00002c4
If some things seem unclear let me know.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: ceedbb73-ac5a-74bd-5747-bff43f2b639b
Version Independent ID: 4118fb85-66db-5598-0512-fa2315bd30c7
Content: Bug Check 0x12B FAULTY_HARDWARE_CORRUPTED_PAGE - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0x12b---faulty-hardware-corrupted-page.md
Product: windows-hardware
Technology: debugger
GitHub Login: @DOMARS
Microsoft Alias: domars

@Blobanium - Thanks for this input on adding additional information on the fail status parameter one for compressed store manager memory errors, to the 0x12b bug check. We use input like this to guide future docs work. In this case, it does not appear that adding additional information on the type of failure would provide imediate help for the resolution of this bug code, but will consider adding additional information in the future, as doc team resources allow. Many of these memory compression failures are transitory, for example by a memory system component, power supply or environmental factor such as input voltage. If you see re-occuring memory compression errors, with a similar failure signature, this typically indicates a faling memory component.  In this case, using the Windows or vendor provided memory scan utilities can help locate a failing memory component, such as DRAM. Thermal, bus and power supply problems are more difficult to diagose. Reviewing the event log, for other errors proceding the bug check or noting the time of day may help provide additional information. For further investigation of your specific failure, you may wish to consult the forums, such as the one provided by OSR - OSR's windbg List. Thanks for providing this input and good luck with resolving the issue with your PC.


Issues/46 relatedto backreferences

This is a version of #51 which lets Predicate return the back references instead of applying them

A variation of this would merge the methods arguments and backReferences into one which returns an Iterable<Argument> with Argument being aware of the back reference.

Superseded by #75 which is the better way of doing this.


Realtime Collaboration on Diagrams, with mxGraph (which powers Draw.io)

Hi Dele!
You wrote: "I would be more interested in y-js as it supports more types (map, array,xml, text and richtext) "
https://github.com/conversejs/community-plugins/issues/1#issuecomment-427296334
I agree that whatever we use should work in a broad number of use cases.
If/when you are up for real time diagrams, here is the awesome solution we picked for Tiki Wiki CMS Groupware:
https://jgraph.github.io/mxgraph/javascript/examples/grapheditor/www/index.html
https://doc.tiki.org/PluginDiagram
"mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering. draw.io is an example that extends the functionality of this library. "
Check the awesome examples:
https://about.draw.io/features/examples/
Marc

If/when you are up for real time diagrams, here is the awesome solution we picked for Tiki Wiki CMS Groupware:

Definitely interested, but time is always the determining factor. There is a simple demo for a collaborative network diagram editor with Y-JS at http://y-js.org/example-vis.js/ that will illuminate how to do this. However, draw.io will be a bigger challenge.
The starting point will be the Converse connector for Y-JS I mentioned here. With that in place, we can create a reusable collaborative draw.io component that can used from a Converse or Tiki plugin.  The output can be an SVG file that can be uploaded to a web server.
It will also help if there is a real-life use case that can provide the expected user experience for this.

ok, let's keep on the radar as a low priority.
We will gain more experience and users, and the use cases will come :-)

First step is to create a standalone version of draw.io and make it accessible from Pàdé. See new draw.io plugin for Openfire

For now, we can use a diagram in a collaborative session like this:

wow. Just. a. big. wow.


yq not able to read json input causing line 633 to fail

Kaihua mentioned seeing this error:
root@stc1:~/ibm-common-service-operator# ./cp3pt0-deployment/migrate_singleton.sh --operator-namespace cs-control --enable-private-catalog
[✔] oc command available
[✔] oc command logged in as kube:admin
Error: unknown shorthand flag: 'r' in -r
Usage:
  yq [flags]
  yq [command]

The oc lines are from the prereq function, then the yq failure with -r is from line 633 in utils.sh as the get_control_namespace function is more or less the next thing executed in the script. It looks like we try to create the config_map_data variable using a jsonpath and then try to read it with yq with yq -r '.controlNamespace'. I think as long as we use yq we should stay consist in outputting files in yaml and not mix and matching with json.

Kaihua also mentioned that the yq error did not kill the script. Do we need to add something like set -o errexit?

Do we need to add something like set -o errexit

I think set -o errexit will abort the script when any function is returning non-zero value.
In waiting_condition, grep will always return 1 when it does not find the target value.
Here is an example. We might introduce set -o errexit in the future when we have time to refactor the script logic.


Huge zip file leads to "ENFILE: file table overflow"

Hello,
Trying to decompress a zip file which contains itself many files (approx. 18k) leads to an ENFILE: file table overflow error if I specify an output path.
From what I understand, files once extracted are written simultaneously to disk, which in my case lead to a simultaneous overlapping numbers of fd open at the same time.
Is there any known workaround ?
Thanks !

Should be fixed by https://github.com/kevva/decompress/issues/45.


Feedback from humans

According to your paper, you used human feedback in Voyager to achieve new tasks like complex 3D structures.
How to reproduce the experiment ? Test both human as a critic and human as a curriculum ?

@xieleo5 @theblazehen are the human feedback (mentioned in paper) in the github repo cause I could not find it ?

Hi, sorry for the late reply. I've been busy these days. For human in-loop experiments, you can follow this way to instantiate voyager:
voyager = Voyager(
    ...
    reset_placed_if_failed=True,
    action_agent_task_max_retries=100,
    action_agent_show_chat_log=False,
    curriculum_agent_mode="manual",
    critic_agent_mode="manual",
    ...
)

You will be asked to give the next task and judge whether the task is finished.


Put request trailers in a separate collection

#4771 Having request headers and trailers in the same collection creates some ambiguity and potential spoofing concerns (e.g. headers changing after validation). In the HTTP/2 scenario there are also concurrency issues where all headers and trailers are processed on the connection thread, not the request thread. This PR adds a new feature and collection for trailers to keep them isolated.
I ended up using a bool Available to track state rather than returning a null connection because it let me use the main collection property to store incomplete trailers without worrying if anyone would access them (e.g. HTTP/2 concurrency issues). It also simplified re-using the collection across requests, it can just be cleared out.
The most interesting detail is that Http/2 trailers aren't processed as part of the request body like HTTP/1.1. The connection loop reads them as soon as they arrive. That means you may not have to read all the way to the end of the request body before they're available, only far enough that the remainder fit in the buffer and the client's window size unblocked the sending of trailers. Consistency with HTTP/1.1 is maintained by ensuring that the trailers are always available if you have read to the end of the request body.

@halter73 updated to always support request trailers.


symbol: Off-by-1 in range

The LSP spec states the end of ranges are exclusive.
Fixes #7

@slimsag any reason this would break any of our indexes on sourcegraph.com?

It won't break our indexes (they don't have any concept of line/col numbers)


[BUG]: Adjusted Placement of Theme Change Button for Improved UI

Related Issue
Fixes:  #1320
Description
This PR addresses the issue of improper placement of the Theme Change Button and the Navbar Toggle Button as outlined in issue #1320 .
The Theme Change Button was too close to the bottom right edge of the screen, potentially making it difficult for users to interact with it, especially on smaller screens or touch devices. To improve this, we have added some margin to the right side of the button to give it some space from the edge.
These changes aim to improve the overall user experience and make the interface more intuitive and easy to use. No additional dependencies were required for these changes.
Type of PR

[x] Bug fix

Screenshots / videos (if applicable)

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@huamanraj
Please review this PR :)
Thank you

Conflicting files
index.html
Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


add support to ios device for flutter start args

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/device_ios.dart#L190
checked, mainPath, clearLogs, route

Specifying the mainPath on iOS is a bit problematic since the precompiler needs to be run from a separate location. I have wired in the rest of the flags.


Advanced Tutorial: Improvement Suggestions

This issue is a placeholder to discuss ideas and suggestions for the advanced tutorial.
Audience
The tutorial should assume the audience has built and supported a large client-facing React application, ideally through at least one major version change of the API.
Goals
Ideally, I would like the tutorial to have some real-world use, so that people could build it, deploy it, and actually get some value from it in their lives.
Concepts That Should Be Covered

Authorization (user permissions)
Interacting with multiple APIs
Protecting your app from breaking API changes
WebSockets integration (for real-time support)
Graceful error handling
404 pages

New tutorial has been decided on per this comment in #101.
Leaving this open as a way to discuss improvements to the advanced portion (like perhaps deploying to Surge or pushing the API server to Heroku).

Closing per explanation in #101


add CommandEnded to log return code of each invoked command

This should be helpful in debugging the return code of each invoked command.
Before this should be merged the test needs to be updated to cover the new event class. I updated the test to cover the new event class.

Codecov Report

Merging #25 into master will decrease coverage by 0.14%.
The diff coverage is 61.9%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   77.19%   77.04%   -0.15%
==========================================
  Files          48       48
  Lines        2447     2466      +19
  Branches      389      389
==========================================
+ Hits         1889     1900      +11
- Misses        547      555       +8
  Partials       11       11

Impacted Files
Coverage Δ

colcon_core/task/__init__.py
91.75% <25%> (-1.87%)
:arrow_down:

colcon_core/event/command.py
88.67% <70.58%> (-11.33%)
:arrow_down:

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 f093f0b...121ecf3. Read the comment docs.

Is there a job using this (showing the new output)?

No, the output only affects the log files. But I have tested the patch locally.

Is the goal that now if a job crash on CI we can get the exact return code from the log files in the workspace?

Yes.

Is there a way to retrieve this information from a job if the workspace has been overwritten due to another job being started on the same node?

No, the output is not printed to the console. This is basically the continuous balance between more verbose and overloaded. Currently colcon only prints "start" / "stop" / "summary" to the console as well as the output of the actual command being run. The log files contain all additional information like "what command was run", etc.


Please add LICENSE.md file and clarify copyright status

Thank you so much for taking the time to put this together.
One thing that would really make it easier for people to build on the foundation you've provided here is to make clear what license the software is provided under. May I suggest using the same license that Angular itself is built from?
For example:
The MIT License

Copyright (c) 2010-2015 Michael Herman http://www.mherman.org/

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

done :+1:


It started

This wasn't supposed to happen until Dec 11, 2018 according to their website: https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api-updates/
Are there any other solutions for this?

@chasevorn How are you loading up the library?

@georanma THANK YOU!!

@georanma your code gets my own instagram feed not the one from the customer that i'm building the feed for :(
var feed = new Instafeed({     get: 'user',     userId: '5888308871',       clientId: '***************************',     accessToken: '************************************',     resolution: 'standard_resolution',     template: '',     limit: '6' });

@tatof you will need to update to using an access token generated from your client's instagram account. It is no longer possible to pull another user's instagram feed via their userId.
https://www.instagram.com/developer/endpoints/users/

This got solved for me only by creating an app and generating a new access token from my client account and not from mine.

I see thanks! :)

@tatof np.
@chasevorn yes, see my previous response.

@chasevorn Thanks for your fix. Since @stevenschobert doesn't seem to be keeping this active at the moment I created a fork here (at least while InstaFeed is inactive). It includes your fix which solved the issue I was having of   Uncaught Error: Error from Instagram: This endpoint has been retired

@rfearing Hey there! Thanks for the contribution!
For what it's worth -- I am still here, I've just been extremely busy with other projects, so that's why many of the PRs haven't been merged or deployed yet. I'm happy to see other people sharing knowledge in the issues though, which is why I've left many issues open.
Given Instagram's decision to sunset their API, I'm not sure yet what the future of this library will be, but I'll participate as much as I can!

@stevenschobert That totally makes sense! I hope my comment didn't come off as rude at ll, as I definitely appreciate the plugin and your work!
Thanks again!


Redis and nginx helper wordpress plugins not installed

I created a new site with the flags type=wp and --cache, and the plugins for redis and nginx are not installed. If I manually install the plugins, redis plugin shows that it is not connected to the redis server. The nginx helper plugin is also not connecting to nginx after I've manually installed it. I have tried clearing the cache (via the nginx plugin), to no success. I tried both settings (fastcgi & redis modes). I have tested this by enabling maintenance mode on the website, and after clearing my browser cache I am still seeing the website. So it seems that redis cache is indeed running, but I am unable to communicate with it via both plugins due to a configuration error.
How do I find the hostname, port and prefix used by redis on easyengine 4?

I now have redis working by following these steps:
ee shell mysite.com.au wp plugin install wp-redis wp plugin activate wp-redis wp redis enable vim wp-content/plugins/wp-redis/object-cache.php (search for <IP_ADDRESS> and replace it with redis)
I still needed to flush the cache, so after this I entered the command wp cache flush and now I can see my site is coming up in maintenance mode.

@b167er thank you for reporting this issue. --cache is not working properly with beta.6 version. It has been reported and properly fixed, in this issue.
With the new fix, it will automatically install and setup the redis as well as nginx-helper plugin with proper configurations. It will be available soon in the next release.
As far as the preference for shell editor goes, there has been an enhancement in the https://github.com/EasyEngine/shell-command/issues/2. So, from the next release, you'll be able to use ee shell <site-name> --user=root and drop into the the shell with root user and be able to install nano or whatever you prefer.


"Connect To" search not working with no letters entered

I've just installed the newest (release) versions of SparkleXrm and Refreshed Connections UI.  After I've put the web resource on a form, and I go to add a connection, I get the two fields - Connect To and Role.    It works fine when I put even a single letter in the box. though.  (Most of the time.  Every so often if I put something in the box and hit search, the first time it comes up with a red circle/X and says "Required".  Subsequent searches work, though.
Interestingly, the Role field works fine with nothing entered - it's only Connect To that doesn't.
I'm on 2016 on-premise, accessing from Win 10 through latest Chrome.  Tried IE as well and got the same result.

Do you have 7.2.9 of SparkleXRM and 1.1 of the Refresh Connection UI?
I've tested this on a CRM2016 Org and it seems to be ok - could you use F12 to see if there are any JavaScript errors thrown?

Nope, no errors.  I'm on 7.2.8 though, as the wording in the download area implies that .9 is a pre-release (hence my "latest release" wording).  Do you think that the update might help?  I generally prefer to not run pre-release in a production environment...

Still hoping to get this sorted, so I tried the .9 pre-release version.  I have the same issue - no results if I search with no letters entered.  Still no javascript errors.  Tried in Chrome, FF, IE and Edge (all on Windows 10).  Also tried before and after the recent CRM service pack, since I needed to install it anyway, and it made no difference.

Have a bit more info:
In ClientUI.js, if I add an alert on the "term" variable at the start of RecordSearchCommand:
alert(term);

On the first time I enter a search term after a reload, the alert is blank.  Subsequent times I search, any search term I put in that box comes back in the alert, and it properly returns results.  If I never put anything in the box as search term, the alert is always blank and it never returns any results.
I also tested this on a brand new entity with no other javascript or web resources, just to ensure I didn't have other code getting in the way.  Same behaviour.  :-(
Gonna call it a day for now, and start poking at it again tomorrow, but thought I'd post this much here for now in case it rang any bells for you in the meantime.  :-)  Thanks!

Good progress - thanks for looking at this.

Okay - I've partially tracked down the issue with it not showing any results with a blank entry.  If I set in the js to remove the isquickfindfields="1" parameter from the "or" filter, the blank entry query works just fine.  This doesn't solve the first search with a search entry problem, though, so it looks like they're separate.
Any ideas why isquickfindfields would cause an issue?  I'm just searching account and contact, and while we've made some modifications we haven't touched the main fields at all.
Thanks!

re: the other issue (the first search not working), I haven't been able to make any more progress.  I tried doing a stack trace on the js in Chrome, but just cannot track down where that value is going missing.  :-(  How does it get assigned from the input field to "term"?

Could you try and reproduce this in a CRM online trial and grant me access? I would really like to get to the bottom of it because I can't reproduce.

Unfortunately, last time I tried to open a CRM Online trial instance I went back and forth w/ MS for about a month and they still couldn't get one opened for me (we have an on-prem license through a charitable donation, so it majorly complicates things).  I can see if anything's changed on that front, but I'm not super hopeful.  :-(  Anything else I might be able to do to output useful debugging info in the meantime?

I'm also encountering both of these problems. The first I've found a resolution for but I'm still having trouble with the second one.

"Connect To" search not working:
I believe this issue is being caused by having columns other than text/lookup in the QuickFind view. See issue #95. Janis-veinbergs committed a fix to this on Apr 13 and once I stopped using the 1.1 managed solution and instead deployed from Visual Studio I no longer received this error.

First search not working:
I can consistently reproduce this issue in IE and Chrome by typing "Test" into record1id and then clicking out of the lookup field. Clicking out of the field triggers the validation rule added in ClientUI.ViewModel.ObservableConnection.validateRecord1Id. This then causes the Required error message to appear and clears out the text entered into the field. If I then type "Test" back into record1id and click out of the lookup field this does not trigger the validation rule, presumably because the error message is already displayed. If I click the magnifying glass button instead of clicking out of the lookup field, the validation rule is triggered before RoleSearchCommand, which is why alert(term) is returning NULL for teleute. I have not been able to determine why the validation rule is being triggered after clicking out of record1id.

D'oh - I missed that other issue thread because it wasn't the original issue I came on here to research/report.  :-)  I just happened to notice it whilst tracking down the first search not working issue.  Thanks!  So one (basically) down, one to go...  Sadly, the second one is the harder one to work around.


UCDM-1358 Change comp version name to use 1st 60 chars of commit msg.

Add commit ID to description field.
Any spaces in comp version name are replaced with underscore.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


fix blow-up in interval hierarchy builder

Before too many levels where calculated for an interval hierarchy and there was no upper limit for the hierarchy size, causing the execution to crash

Ist noch rot


Credcheck-credcheck.max_auth_failure

In the use of the Credcheck suite, the parameter "credcheck.max_auth_failure = '3'" is set in the postgresql.conf file to limit users from entering incorrect passwords more than three times, after which their account will be locked. Due to certain requirements, I would like to ask if there is a way or feature to set this parameter differently for a specific user or role, so that it does not apply to them.
I considered using "credcheck.whitelist" to exclude certain accounts, but this would cause all other parameters to apply as well, and the account would still require the other password complexity settings. I only wish to exclude the "credcheck.max_auth_failure" parameter.
Thank you in advance for your response, and I would appreciate any assistance you can provide!

I have some difficulties to understand the logic to exclude a user for the max authentication failure feature, can you explain the reason of the feature request?

We have both regular accounts and system accounts. For regular accounts, we still require password complexity and the lockout functionality after multiple failed login attempts. However, for system accounts, due to information security regulations, password complexity is also required. The issue is that system accounts are used for system integration, and if the account gets locked, it may affect system services, which could lead to problems. To prevent this, we would like to exclude system accounts from being affected by the credcheck.max_auth_failure parameter.
Thanks !

We have an idea here and are wondering if it is possible to implement a syntax similar to the one in the image below to set parameters for specific accounts?

We have an idea here and are wondering if it is possible to implement a syntax similar to the one below to set parameters for specific accounts?
EX : ALTER ROLE apkenny set credcheck.failed_attempts = -1;

Commit 1729abf adds this feature.
The ALTER ROLE can not be used because the authentication hook doesn't allow to use a database to look at PG catalog.
Use the following to exclude a list of user from being banned:
credcheck.whitelist_auth_failure = 'appuser1,appuser2'


Music intensity breaks music?

I have noticed on both the sub day and bronco day the music will break. I haven't seen any problems on sub night or on bronco night and that is probably due to them using a macro and with no intensity.

Looking more into this it seems it might be the intensity of multiple level-ups in a row but I have not gotten a stable handle on what causes it. All I know is that sometimes after the music fades from the speed-ups the background music is gone.


Here New is missing. We have to select New->ABAP Package

Tutorial URL: https://developers.sap.com/tutorials/abap-environment-persistence.html
Step: 1: Create ABAP Package.
Here after we right click on the ZLOCAL pakage, we have to select New and then we have to select ABAP Package.
Here please include New

Best Regards,
Priyanka

Hi @I537413,
thank you, we'll update this as soon as possible.
Best regards,
Merve

Hi Priyanka, @I537413,
I have  fixed this. You should see the changes soon.
BR Julie.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


[Bug]: @swc/plugin-styled-jsx not working in rsbuild

Version
System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 11.32 GB / 15.62 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  npmPackages:
    @rsbuild/core: ^0.5.4 => 0.5.4
    @rsbuild/plugin-react: ^0.5.4 => 0.5.4

Details
All I did was using npm create rsbuild@latest and then tried to get styled-jsx with resolve to work. (Sass is a bonus here.)
Without any extra configuration, I run into this obvious error:
Uncaught Error: styled-jsx/css: if you are getting this error it means that your `resolve` tagged template literals were not transpiled.

After digging into the documentation, I've added this to the configuration:
  tools: {
    swc: {
      jsc: {
        experimental: {
          plugins: [
            [
              '@swc/plugin-styled-jsx',
              {
                plugins: ['@styled-jsx/plugin-sass'],
              },
            ],
          ],
        },
      },
    },
  },

As documented here and then here.
But that gives me this error:
Html Webpack Plugin:
Error: [html-rspack-plugin]: [html-rspack-plugin]:   × Module parse failed:
  ╰─▶   × JavaScript parsing error: Expression expected
         ╭────
       1 │  = this;
         ·  ─
         ╰────

  help:
        File was processed with these loaders:
         * builtin:swc-loader??ruleSet[1].rules[3].use[0]
        You may need an additional loader to handle the result of these loaders.

I don't know where I'm going wrong here. I've not configured any HTML plugin and I can't find any issues regarding this problem.

I'm totally new to rsbuild/rspack/swc, so please point me in the right direction if this is the wrong place for this issue.
Reproduce link
https://github.com/uncaught/rsbuild-test
Reproduce Steps
git clone git@github.com:uncaught/rsbuild-test.git
cd rsbuild-test
npm install
npm run dev

This might be an issue of SWC version mismatch, see: https://github.com/web-infra-dev/rspack/issues/5921

This might be an issue of SWC version mismatch, see: web-infra-dev/rspack#5921

Thank you a lot! That was it. I locked the version to<EMAIL_ADDRESS>which works!


Fix license headers recently added.

A bad merge resulted in adding old GPL license headers instead of the
new Apache 2 headers.
cc @lee-matthews

Thanks for the review!


fixes #11 so we watch for new Builds which are not created by Jenkins and use that to trigger new Jenkins builds

fixes #11 so we watch for new Builds which are not created by Jenkins and use that to trigger new Jenkins builds

[merge]


Can I just get a list of links?

Three lines per link seems crazy to me.  Can I just get a single line per link list?
Tags should be seen in the edit for a link.  Edit/Archive/Remove can also be done there.
I am just wanting something with a list that can be used instead of bookmarks.
If there is a setting I am missing, please let me know.
Thanks!

Nevermind.  It was working great with my main account.  But, once I switched to test the wife's login, failed loads and all kinds of crazy stuff that she won't deal with nor troubleshoot.


Support different client and server ports

This is related to https://github.com/lydell/elm-watch/issues/39 which solved my problem for SSL hand off being done by an external server (An nginx Ingress in Kubernetes in this case).
I was able to have elm-watch listening on port 443 (but serving HTTP not HTTPS) as this port was not being used by anything else as the nginx was running elsewhere.
However, in another use case I have, I am running everything on my laptop - I use a local haproxy to do the SSL handoff.  This of course must listen on port 443 thus not allowing elm-watch to also listen on this port.
Therefore I would really like to be able to configure the elm-watch client port to be 443 but set the server port to something else.  In haproxy I would then rewrite /elm-watch to the server port.
I know that you are not keen on extra configuration options, so perhaps this could be done via an environment variable either to change the client port or the server port?

Hi again!
I’m missing something – if you’re running everything on your laptop, why can’t you use like any random port for elm-watch then?

Hi - thanks for responding so quickly!
I didn't try using a random port before as I wanted to avoid the self-signed certificate as I already had a valid certificate for the domain which is handled by `haproxy and does the SSL handoff.
However, I have now tried with a random port and this work on Firefox after accepting the self-signed cert from elm-watch.
However, it does not work in Chrome (which is my preferred browser for development) even after accepting the self-signed cert.  I think this is because Chrome only accepts the certificate for the current page, and going to a different URL on the same domain or even just refreshing the page requires re-accepting the self-signed cert every time.
I just keep getting logs like this in the browser console:
elm.js:988 WebSocket connection to 'wss://foo.bar.com:53853/elm-watch?elmWatchVersion=1.1.0&targetName=Foo&elmCompiledTimestamp=1667594645328' failed:

The Chrome version is 107.0.5304.87 on an M1 Mac.

Oh, you don’t use localhost? I only tested Chrome (and other browsers) with localhost. Good to know.
Do you have to files on your computer – like a .key and a .crt – for haproxy? I’ve been waiting for someone with this setup to see if an idea I’ve had makes sense. I have been thinking of adding configuration in elm-watch.json that lets you point out those two files so elm-watch can use the same certificate for its SSL stuff. Does that make sense?
Finally, I’m curious why you are running HTTPS locally. We used to do that at work, because we thought it was good to have the local environment be as similar as possible as the production environment. However, we noticed that the HTTPS part never caught any bugs or anything for us, so we tried switching to HTTP and everything got simpler (save for having to conditionally set the Secure flag of two session cookies).

If a user is using HTTPS for development they will need to have the file server/web server that they use for the non-Elm stuff do SSL hand off anyway, so maybe it's simpler to just let them do this in one place with a proxy like nginx or haproxy.

Yeah, I’m not sure what’s simpler either. elm-watch currently contains a hardcoded certificate, so being able to point out two files is not far from what we have today. And that might be easier to do for end users than proxying? Supporting different ports for backend and frontend also sounds easy (I think), but from my experience with Docker it’s easy to confuse oneself with port mappings (which port is used where).

I have found that browser features increasingly only work with HTTPS and so this is the only option for testing in a development environment.

FYI: As far as I understand, http://localhost is an exception. I know for sure that clipboard and service workers work there, but I haven’t tested push notifications.

Either way, I’m not sure which path I want to take here and don’t feel like thinking more about it right now, so I’m going to let this one sit for a while. Maybe some other HTTPS-locally user pops up and gives more insight.
For now, you can use a hack like this:
<script>
window.WebSocket = class HackWebSocket extends WebSocket {
  constructor(urlParam) {
    const url = new URL(urlParam);
    if (looksLikeElmWatch(url)) {
      url.port = "1234";
    }
    super(url);
  }
}

function looksLikeElmWatch(url) {
  return url.port === "4321";
  // or return url.pathname === "/elm-watch";
}
</script>

Ok, one more question: If I were to add cert configuration to elm-watch.json, would it look something like this for you then?
{
  "sslCertificate": {
    "cert": "./ssl/le-certs/foo.crt",
    "key": "./ssl/le-certs/foo.key"
  },
  "targets": {}
}

In other words, the paths are relative to the elm-watch.json file, and should work for any contributor, not just on your machine. (Config in elm-watch.json should be correct for everyone; things that differ for different contributors go in environment variables (ELM_WATCH_OPEN_EDITOR) or can be changed via the browser UI (compilation mode, UI position, error overlay).)
I checked Node.js, Go, Ruby, Python, nginx, Apache, and they all take two files as input. So far, I’ve only found HAProxy that concatenates them. And even in that case, couldn’t you “just” keep three files on disk?

For now, you can use a hack like this:

<script>
window.WebSocket = class HackWebSocket extends WebSocket {
  constructor(urlParam) {
    const url = new URL(urlParam);
    if (looksLikeElmWatch(url)) {
      url.port = "1234";
    }
    super(url);
  }
}

function looksLikeElmWatch(url) {
  return url.port === "4321";
  // or return url.pathname === "/elm-watch";
}
</script>

This works great - thanks for the tip!

Ok, one more question: If I were to add cert configuration to elm-watch.json, would it look something like this for you then?

{
  "sslCertificate": {
    "cert": "./ssl/le-certs/foo.crt",
    "key": "./ssl/le-certs/foo.key"
  },
  "targets": {}
}

Yes, this would be perfect.

So far, I’ve only found HAProxy that concatenates them. And even in that case, couldn’t you “just” keep three files on disk?

In fact HAProxy doesn't concatenate them - it just expects all the files in the same folder.

Just some extra info for anyone else using a setup with HAProxy: To prevent elm-watch from frequently reloading, you will need to add something like this to your HAProxy config in the backend section for elm-watch
timeout tunnel 1h

The current plan is to solve this via https://github.com/lydell/elm-watch/issues/74


Is there any pricing for using it?

I want to use it for one of my Cordova app and i am not able to figure out that is it free or paid?

In the readme there is the information that the library uses Google Speech Api. In fact Google Speech Api is paid and requires authentification.
Where should I paste the login information of my Google Cloud Platform account?


Support for Transformers library

Hi! Thank you for the great work on Samba! The hybrid model is very interesting.
Since Mamba-1 is now supported in the latest version of transformers, is there any plan for Samba to support the transformers library as well? This could benefit many researchers in the community.
Supporting transformers would allow for easier integration with existing workflows and tools, potentially increasing adoption and enabling more researchers to experiment with Samba.

Thanks for the pointer! We will support the transformers libray when we release the 3.8B model.


Do not populate AEMAIL_INV_DATE

This should be populated by CallWeb itself. It is currently holding the hire effective date. Amelia will provide a column which can hold the hire effective date instead.

This has been addressed.


fix: File name does not contain version

With this change, older versions cannot be installed, maybe we can handle that too.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
jirevwe, @RainerYang, @sheercat, @jaytaylor, @FireG, @dastanaron, @derek-schaefer, @andreferreira157, @scottomyers, @TAR5, @TheTinHat, @inglar, @uasi, @lorenzosaino, @hnakamur, @GHwuxin, @tao-yi, @hongshibao, @byteso, @jacquesdong

@Deastrom  Can we merge this? 😄


Veldrid.SDL: 32-bit SDL2.dll version is copied to output in 64-bit build?

Hello, I'm trying to work with Veldrid in a .NET 4.7 project and I'm encountering a rather irritating issue with building.
I've got the project set up to use Package References, and the platform is set to x64 (not Any CPU!).
However, attempting to build and run this produces a "FileNotFoundException: Could not find or load the native library from any name: [ SDL2.dll ]" error upon trying to initialize a window.
The SDL2.dll is present in the build output directory, but if I manually replace it with a 64-bit DLL downloaded directly from the SDL2 site, it works. My current assumption is that, for some reason, it's copying the 32-bit SDL2.dll to the output directory instead of the correct 64-bit version. The problem is this happens any time I rebuild, so even if I've copied the correct version in any code changes will cause a rebuild to stomp over it with the wrong version.
Any advice for how I should resolve this?

I can repro this. It's a bit of an odd one. The problem seems to be that the "Prefer32Bit" flag and project property stays "True" even when you switch the platform target to x64 (and the checkbox looks empty and grayed out in the UI). This messes with the SDL2 binary selection logic here. The simple workaround is to switch the target back to Any CPU, uncheck "Prefer 32-bit", and then switch back to x64. I'll change the logic in the Veldrid.SDL2 package and file an issue upstream, since that seems like confusing behavior (and it didn't do that before).

Also, I'm curious if you're able to switch to .NET Core or if you still have dependencies that aren't working there?

Aha, gotcha! That sure is weird, but it seems to work now!
And yeah, that seems to work. Have my core engine library project set to .NET Standard and the game application project set to .NET Core and it seems to work just fine, and now in 64-bit too :)


update template

Also drops support for Python 3.8 and adds support for Python 3.12.

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

Project coverage is 97.65%. Comparing base (7215e84) to head (2237bbd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   97.65%   97.65%
=======================================
  Files          19       19
  Lines        1064     1065    +1
  Branches      169      169
=======================================
+ Hits         1039     1040    +1
  Misses         15       15
  Partials       10       10

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


Update documentation for running ambassador as non-root with HTTPS

Describe the bug
I lost a lot of my time to fix this so allow me to be short.
I need to redirect HTTP to HTTPS in the chart stable/ambassador:2.1.0 which docker image is quay.io/datawire/ambassador:0.53.1.
Solution
service:
  annotations:
    getambassador.io/config: |
      ---
      apiVersion: ambassador/v1
      kind: Module
      name: ambassador
      config:
        service_port: 8443
      ---
      apiVersion: ambassador/v1
      kind: Module
      name: tls
      config:
        server:
          redirect_cleartext_from: 8080

I was updating from 0.50.1 to 0.53.1

Good catch, have been struggeling with this the last few hours. Thanks for posting the solution!

@RXminuS @chtison where in the docs were you looking?
https://www.getambassador.io/reference/core/tls#redirecting-from-cleartext-to-tls
is documented here; the only bit is right now it uses 80 instead of 8080 because the Helm chart runs as non-root while the YAML runs as root. (This is changing soon.) If the confusion is with the ports, I think this is just an artifact of the Helm chart being a little ahead of the official YAML.
If not, would love to figure out where the problem is ...

I believe that we have tackled this as of 0.60.2. Please reopen if need be!


Migrate away from GQL in favor of rest in line with deprecation notice

Such a good decision.

Completed in v2, there will still be gql entry points since as of now some shopify features are only available in gql


Update README.md

Place the logo on the right of the README instead of below the main text.

Very pog, I had no clue how to do this lol


Encoding problem on Ubuntu 20.04 ROS Noetic

Hi,
I recently moved my project to Ubuntu 20.04 and ROS Noetic from 18.04 and Melodic.
I installed on the new environment the ros-noetic-mqtt-bridge executing the same exacly code, but I'm experiencing a very weird problem. It looks like the bridge is publishing, on my mosquitto mqtt broker, messages with a wrong encoding despite all other publications coming from the classic mosquitto client are correctly encoded.
I tried with no luck to add the serialize/deserialize params in config:
mqtt:
  serializer:
    json: dumps
  deserializer:
    json: loads
  client:
    protocol: 4      # MQTTv311

There are other parameters allowed on serializer that helps me specifying the published message encoding?

Hi
I am using mqtt_bridge with ROS Noetic on Ubuntu 20.04 as well. But i didn't encounter the issue you mentioned.
This is my config for your reference:

Hope it helps.
Best,
Samuel

@iscsrl
Umm, it's weird. Have you resolved the issue? If not, please reopen and provide extra information.


Cannot retrieve data from the Materials Project

@x94carbone I am trying to evaluate Lightshow but I am stuck at the first step of building a structure using data from the Materials Project. I always get the following error:
MPRestError: REST query returned with error status code 403. Content: b'{"valid_response": false, "error": "API_KEY is not a valid key.", "version": {"db": "2020_09_08", "pymatgen": "2022.0.8", "rest": "2.0"}, "created_at": "2022-11-29T07:57:29.165298"}

I have cross-checked my API key and it seems right. Please, do you have any hint how I could solve this?

@maurov are you using the old or new Materials Project API key? We started building this thing before Materials Project switched to the "new" API, thus for now (until #155 is merged) we're only compatible with the "old" API.
Sorry for the confusion, this should probably be more well-documented...

@x94carbone thank you very much indeed for the prompt reply. Yes, you are right. I was not using the "legacy" version of the API. It works as expected now. Sorry for bothering with such a minor thing.

@maurov no worries, please feel to bother away! It will help us fix all of the bugs we no doubt have 👍


What to use instead of this?

If this API is obsolete, what is the recommended API to use now?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: df6f7570-27ff-1c10-cb99-bcefd30091ba
Version Independent ID: d7efb67f-ca78-e1a4-5eb2-64225eee2d92
Content: Path.InvalidPathChars Field (System.IO)
Content Source: xml/System.IO/Path.xml
Product: .net
GitHub Login: @mairaw
Microsoft Alias: mairaw

The obsolete attribute on the page and also the topic https://docs.microsoft.com/en-us/dotnet/framework/whats-new/obsolete-members indicate what should be used.

Please use Path.GetInvalidPathChars or Path.GetInvalidFileNameChars instead.
We can probably add that information to the remarks as well.

I looked everywhere and didn't see it!  Thanks so much.
On Mon, Jul 2, 2018 at 5:50 PM Maira Wenzel<EMAIL_ADDRESS>wrote:

The obsolete attribute on the page and also the topic
https://docs.microsoft.com/en-us/dotnet/framework/whats-new/obsolete-members
indicate what should be used.
[image: image]
https://user-images.githubusercontent.com/12971179/42192857-58fbb202-7e20-11e8-97a0-31ee5792d18f.png
Please use Path.GetInvalidPathChars or Path.GetInvalidFileNameChars
instead.
We can probably add that information to the remarks as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/docs/issues/6281#issuecomment-401979682, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASRhqRl-EUaRQZXVgbFRgTiC-cpBs_osks5uCr_PgaJpZM4VAIJ9
.