Waypoint: Change the CSS of an Element Using jQuery

Challenge Waypoint: Change the CSS of an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

jQuery changing the CSS of an element.
I entered the code, the text turns red, but I am not able to advance to the next lesson. I still have a red x where the instructions state to change #target1 to red text. Anyone else have any issues with this lesson or does anyone see anything wrong with the code that I have overlooked?

We are aware of this problem. Closing as a duplicate of #4865.
Thanks and happy coding!


brook: 20190401 -> 20190601

Motivation for this change
Update brook to the latest release.
https://github.com/txthinking/brook/releases/tag/v20190601
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Hi @marsam!
It seems that this PR gets stuck, could you review this, if possible?
Thank you!

LGTM. just curious, how did you updated deps.nix?
@GrahamcOfBorg build brook

@marsam Thanks for the review!
I clone brook repo and run go2nix to get the newer deps.nix everytime I update brook.


How to use Contextual binding with parameters

I want to resolve context binding with parameters like this:
$this->app->when(ParticipantAddedToWaitingList::class)
            ->needs(NotificationParamsResolverInterface::class)
            ->give(function ($event_id, $params = []) {
                return new EventNotificationParamsResolver($event_id, $params);
            });

app()->make(NotificationParamsResolverInterface::class, [123, [1,2,3]]);

is this possible? Or how could I achieve this ? I know that contextual binding is only resolveable from constructor which does not allows to put params, am I right ? Is there any workaround for that ?

That was removed in Laravel 5.4, quoting from the upgrade guide:

The container's make method no longer accepts a second array of parameters. This feature typically indicates a code smell. Typically, you can always construct the object in another way that is more intuitive.


Optional source file display?

This is a long shot but I think it would be very interesting for perfetto to support source file display when users click on certain slices. It would be useful to quickly debug the code without switching between tabs.
The source files could be stored in protobuf as a TracePacket, with a unique id and it's file type(Java, C++). For each track_event, there could be optional file_id and file_lineno fields, indicating where the original code generated this slice. As both of them are integers, the extra overhead on speed and size won't be much. The file name and line number is actually pretty accessible in C++ with macros.
In the front end, on the callback that currently shows Slice Details, the right half of the panel is unused, which could be used to display source code. I've attached an image of modified catapult trace viewer(which is the front-end of VizTracer now) as an example.

Personally, I think this is very helpful when I'm looking at the trace report, and it's not a burden in the front end.
Is this a feature worth considering?

Hmm a couple of thoughts:

Adding source file annotations would bloat quite significantly the size of trace events. Even if we had a working feature I am pretty sure we wouldn't want to add extra bytes to trace events neither in chrome nor in android.
Effectively in chromium most trace event names are unique and you can just copy/paste in codesearch, so often the TraceEvent name is really the key or could make such. It's not 100% collision-proof but works really most of the times.
The part that I am more skeptical about is: how would the UI get access to the file? A browser cannot access random files on the filesystem. The user would have to first point it (for each browsing session) to the source folder. That would reduce the benefit of this by a lot.

All in all the idea is not bad but I feel this is so high-cost (given the complexities above) and low-benefit and I don't think will be worth getting to in O(years)

So I double checked the .proto definition, seems like the structure is already in. https://cs.android.com/android/platform/superproject/+/master:external/perfetto/protos/perfetto/trace/track_event/source_location.proto This is exactly the data I mentioned. I don't think this will increase the size of trace events significantly, at least not significantly more than other possible info.
It's true that in most cases, name is a good enough key to search through code. However, you still need to do -> select -> copy -> open your editor -> paste to search -> (skip the wrong ones depends on whether you know/your editor has advanced feature on searching functions) -> find it. Also, it requires that you have the exact local copy of the code executed. For example, when you need to share the trace log to a co-worker, you have to make sure your repos are synced.
The UI won't get access to the file, the file is stored into the trace log as a string. This is a trace-time irrelevant overhead, which should be in kb-mb level, and personally I would tolerate this size of constant overhead on my disk.
The great benefit from this is, when you share the trace log to a colleague, they can see the exact source file you've used, without having to checkout anything, in a single click. Also it would be much easier for anyone to quickly check the source code of a slice.
It took me a week or two to finish the prototype(which I'm using now) on VizTracer + catapult, feel free to check it out at http://www.minkoder.com/viztracer/result.html It probably will take longer in Perfetto as the structures are more complicated and it needs to be polished, but I think this is more a "design decision" than a "complicated task".
The bottom line is, if the user does not like the cost, disabling this feature will be almost exactly the same as it is now, no extra data in trace log or logic on front-end.

source_location.proto is really for things like PostTask in chromium that take a FROM_HERE macro that tells the location in the source code that posted a task (maybe you want something similar though?), is not filled for all events.

The great benefit from this is, when you share the trace log to a colleague, they can see the exact source file you've used, without having to checkout anything, in a single click. Also it would be much easier for anyone to quickly check the source code of a slice.

Yeah but how would the UI know how to lookup the actual source? Unless you pass a full url, like a github-based source URL?

The UI won't get access to the file, the file is stored into the trace log as a string

Oooh wait but then who would take care of storing the full source file into the trace?
I mean from at some point you build an executable and run it. How would you inject the source file into the trace at that point?

source_location.proto is exactly what I'm looking for in trace packets. The user could optionally use this field to store the source file info for the slice I think? It's already in TrackEvent anyway. Of course if it's conflicting with existing logic, a similar field is fine. I do think this name and it's position represents the exact needs for me though.
Yes I meant storing the full source file(or the selected source file that's interesting) into the trace. The trace creator should be responsible for this, in C++ the Perfetto SDK could utilize __FILE__ and __LINE__ macro(again, this is optional). I'm not familiar with Perfetto trace generating part. I'm thinking from VizTracer point of view, and packing the source file into the trace data is already something I do now.
Actually, a github-based source URL is not a bad idea either, but the sync(making sure the source file matches the executable) is more complicated.

I believe TrackEvent these days has SourceLocation quite well supported (including offline symbolization) so closing this.


Camaro homepage

Star this repo : https://github.com/DeepanshuGoel1122/CodeEasy
https://github.com/DeepanshuGoel1122 follow him, let's build connection strong

Done


CI: remove prematurely added p4p control layer from travis matrix

Closes #685

Codecov Report

Merging #695 into master will increase coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
+ Coverage   91.35%   91.45%   +0.09%
==========================================
  Files          63       63
  Lines       10227    10227
==========================================
+ Hits         9343     9353      +10
+ Misses        884      874      -10

Impacted Files
Coverage Δ

ophyd/signal.py
93.62% <0%> (+0.17%)
:arrow_up:

ophyd/log.py
63.15% <0%> (+11.84%)
:arrow_up:

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 8671719...f8348dc. Read the comment docs.

All tests passing + 2 approvals - self merging


API Implementation works

There is still some API Request and Return Data need to implement.

Request

[x] AioCheckOut

5.產生訂單

[ ] QueryTradeInfo

8.查詢訂單

[ ] QueryTrade

9.查詢信用卡單筆明細記錄

[ ] QueryPaymentInfo

10.查詢 ATM/CVS/BARCODE 取號結果

[ ] CreditDetail

11.信用卡請退款功能

[ ] QueryCreditCardPeriodInfo

13.信用卡定期定額訂單查詢

Return Data

[ ] OrderResult(ReturnURL/OrderResultURL)

7.付款結果通知 - 應用場景Ⅰ

[ ] PeriodOrderResult (PeriodReturnURL)

7.付款結果通知 - 應用場景Ⅱ

[ ] PaymentInfo (PaymentInfoURL)

6.ATM、CVS 或 BARCODE 的取號結果通知

[ ] NeedExtraPaidInfo

12.額外回傳的參數

QueryTradeInfo still need to do some test to figure what going

[ ] ReturnData need to rename to OrderResult

QueryPaymentInfo the openapi client cannot recognized the content-type from  ecapay server,since it is html/text insteadof application/json,I need to overwrite the template to fix the problem.
I plan to add a custom field to use as fall back while the content-type is wrong.
like x-fallback-content


Update acknowledgements.md

Thank you for this update! I haven't been aware regarding those licensing changes 😅


Add "protected tables" documentation

Similar to https://github.com/astrodbtoolkit/astrodb-template-db/pull/20

Closed by #39.


Error downloading Dynamodb ECONNREFUSED

During installation step, download is failing, where is it downloading from?
(using serverless-dynamodb-local)
Full stack trace:
sls dynamodb install
[Error: Error getting DynamoDb local latest tar.gz location: 404]
/Users/csilk/dev/project/node_modules/dynamodb-localhost/dynamodb/installer.js:43
                    throw Error("Error in downloading Dynamodb local " + err);
                    ^

Error: Error in downloading Dynamodb local Error: connect ECONNREFUSED <IP_ADDRESS>:80
    at Error (native)
    at ClientRequest.<anonymous> (/Users/csilk/dev/project/node_modules/dynamodb-localhost/dynamodb/installer.js:43:27)
    at emitOne (events.js:90:13)
    at ClientRequest.emit (events.js:182:7)
    at Socket.socketErrorListener (_http_client.js:262:9)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at emitErrorNT (net.js:1246:8)
    at nextTickCallbackWith2Args (node.js:475:9)
    at process._tickDomainCallback (node.js:430:17)
$ sls dynamodb install
[Error: Error getting DynamoDb local latest tar.gz location: 404]
/Users/csilk/dev/project/node_modules/dynamodb-localhost/dynamodb/installer.js:43
                    throw Error("Error in downloading Dynamodb local " + err);
                    ^

Error: Error in downloading Dynamodb local Error: connect ECONNREFUSED <IP_ADDRESS>:80
    at Error (native)
    at ClientRequest.<anonymous> (/Users/csilk/dev/project/node_modules/dynamodb-localhost/dynamodb/installer.js:43:27)
    at emitOne (events.js:90:13)
    at ClientRequest.emit (events.js:182:7)
    at Socket.socketErrorListener (_http_client.js:262:9)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at emitErrorNT (net.js:1246:8)
    at nextTickCallbackWith2Args (node.js:475:9)
    at process._tickDomainCallback (node.js:430:17)

Found the URL in config.json, weird thing is it downloads fine over curl...
curl "http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz" -o "dynamodb_local.tar.gz"

This is weird, I was getting a 404 after visiting the URL this morning. Regardless the code is looking for a 302 status then downloading the new location. That URL is returning 200 without a redirect now. Weird.
Little workaround for those also using the serverless-dynamodb-local plugin, add npm-shrinkwrap.json in your root project directory with the following:
{
  "name": "npm-project-name-here",
  "version": "1.0.0",
  "dependencies": {
    "serverless-dynamodb-local": {
      "version": "^0.2.17",
      "dependencies": {
        "dynamodb-localhost": {
          "from": "https://github.com/peterfotinis/dynamodb-localhost.git"
        }
      }
    }
  }
}

@peterfotinis thank you!

@peterfotinis, thanks mate great workaround
in case anyone else didn't know about npm shrinkwrap when in your project dir run
npm shrinkwrap

then add the:
      "dependencies": {
        "dynamodb-localhost": {
          "from": "https://github.com/peterfotinis/dynamodb-localhost.git"
        }
      }

to serverless-dynamodb-local's part of the npm-shrinkwrap.json file 👍

#6 has been merged so now just need new release + NPM update

@Si1kIfY New dynamodb-localhost (0.0.5) updated to npm and also added the newest version to severless-dynamodb-local (0.2.16)
@peterfotinis Thanks for the PR

Thanks @AshanFernando, closing....

Seems like Amazon changed their URLs again and we have the same issue again?

getting the same issue now. been working fine all day...
https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz yields a  403 when doing an sls dynamodb install


Fix isort and circleci badge

Fixing build not passing due to isort failure.
Fixing circleci badge so it points to the master branch.

Thanks :v:


question: can we use custom templates to serve the docs?

Can we use custom templates to serve the docs? If so, how is that achieved?

I'm not quite sure what you mean by custom templates, can you give an example of what it'd be like? I'm guessing the answer is there is no such thing on godoc.org.
Are you already familiar with all the features that Go allows you to use in formatting the docs? https://godoc.org/github.com/natefinch/godocgo is a good explanation and demonstration of most features.

I mean can we add styling to the html pages that get generated?
Something like this I guess, http://dhconnelly.github.io/docgo/docgo.html.

docgo looks really cool.

I mean can we add styling to the html pages that get generated?

As far as I know, and assuming I understand correctly, I don't think that the list of features that godoc.org supports includes that (unless you modify its source, of course).

@shurcooL yeah I know right? I thought this was possible in the earlier versions of gddo with a -template flag. Bit I could be wrong. I mean I love godocs and all but I want to add a bit of custom design to it while still be up to date with this repo's master.

Any finding on that?

Looks like you can pass a custom path to the assets folder using -assets path.


support mjml 4

when importing source written in mjml 4 with mj-head and other elements there are issues

This library does support mjml 4 since it uses it as direct dependency. It just doesn't support the full specification. Please open up an issue for things that are not supported


no comment on the feasibility of programmatically changing Tenant of an existing subscrpition

Is there a way to programmatically change directory of an existing subscription?

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

ID: da261ee4-3348-b520-a27c-98f9d9ef40cc
Version Independent ID: 13d12189-ee46-8058-dd99-058adc69f1c5
Content: Add an existing Azure subscription to your tenant - Azure Active Directory
Content Source: articles/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@Linaa Thanks for your feedback! We will investigate and update as appropriate.

Hey @Linaa unfortunately I don't think this is possible, I'll look into this, and let you know as soon as possible if this is supported or not. Thanks for your comment!

Hey @Linaa it looks like this is unfortunately not possible. My suggestion is to file this under Azure feedback here : https://feedback.azure.com/forums/169401-azure-active-directory
In addition to that, I will be sure to forward this feedback to the product group accordingly.
Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day today.
Please reopen this git issue if you have anymore concerns. Thanks

Hey @Linaa it looks like this is unfortunately not possible. My suggestion is to file this under Azure feedback here : https://feedback.azure.com/forums/169401-azure-active-directory
In addition to that, I will be sure to forward this feedback to the product group accordingly.
Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day today.
Please reopen this git issue if you have anymore concerns. Thanks

Thanks! It seems the idea is already submitted https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/34314145-please-allow-to-detach-azure-subscriptiona-from-de


Changed TitleTextBlockStyle FontWeight to 'Medium' to match the style…

… used in WinUI 3 Gallery.

It's winui, not gallery.

It's winui, not gallery.

My bad, yes it's "WinUi".


map.Items block indifinetly.

If you declare a concurrentMap item without creating it with New() then calling map.Items blocks forever.
        var work cmap.ConcurrentMap
	for k, _ := range work.Items() {
		fmt.Println(k)
	}
        //Never reached

I think this should be treated as a bug, it should panic just like how other methods panic when the map hasn't been created.

I agree. Feel like submitting a PR for this? :-)

Sent a PR for this.
https://github.com/orcaman/concurrent-map/pull/105

PR Merged. Thanks!


🚨 Chia HARVESTER Your harvester appears to be offline! No events for the past 2403 seconds.

I have this warning massage when chiadog is running. I set up only  file_log_consumer and telegram notifier that report the same warning. What is wrong?
Environment:

OS:  Win10
Python version: 3.9
Chia version: 1.1.5

This is a long-standing issue with Win10. See https://github.com/martomi/chiadog/issues/72
I'm using chiadog on Linux only and Windows is currently only under experimental support.


v0.9.0_26: Curves are not selectable after clicking play

SEVERITY:  Major
MODULE: Mountain chart
Platform:  Windows 7 / Chrome 46.0
RELEASE: Develop
STEPS TO REPRODUCE:

Navigate to the URL : http://static.gapminderdev.org/vizabi/develop/preview/mountainchart.html
Mountain chart will be loaded
Click play
Select any curve
Note that curves are selectable after clicking play

ACTUAL RESULTS:
Curves are not selectable after clicking play
EXPECTED RESULTS:
Curves should be selectable after clicking play
SCREENSHOT:

that's right, they aren't (because they are merged during play)


Callback on rotation

Would be nice if lumberjack on rotation of the log file performed a callback so that additional action could be performed on the logs. This could be shoehorned in with the compression rotation #13 issue as well.
Details

The interface would be RotateLogs(os.File) so exact location of the new file could be determined.
The callback would be performed in a new thread so the logger will not need to be held up by any tasks that are being performed by the callback (for example compression).
A public variable should be available within lumberjack so that a "default" compression utility could be used.

Just some thoughts..

It's an interesting idea.  I'm not really sure what other things people would want to do on rotation, though.  I like that lumberjack has a very simple API right now, and I would like to try to keep it that way... but it's worth further thought.

It could be used to send rotated logfiles to central server

My use case for a callback is to preserve the program version information that I log on program startup. If this information gets rotated away, then it becomes tricky to track code version. Hence upon callback, I would write the version information again to the new log file.

Another use case can be to move the backups to a different directory, other than the directory where the actual log file is located.
Any plans to progress with this? Is it OK to contribute a PR?

I would like to use this to redirect stderr for panics etc. to the new log file. Something similar to what's already in this fork: https://github.com/svatantra/lumberjack

My use case is to setup some Prometheuse metrics on log rotate, this may usefull to count how many files(bytes, approximately) been logged.


Types shared through InferPageProps are poorly serialized

Package version
1.0.0-25
Describe the bug
I have the following code:
export default class Game extends BaseModel {
  @column({ isPrimary: true })
  declare id: number

  @column()
  declare name: string

  @column()
  declare description: string
}

But, when passed to InferPageProps like below:
const games = paginatedGames.serialize()
return inertia.render('admin/games/list', { games })

The resulting type is :
type GamesListProps = {
    games: SerializeObject<{
        meta: any;
        data: ModelObject[];
    }>;
}

Is there any possible way to get something more explicit when inferring the type that would be usable for the frontend?
Reproduction repo
No response

No, actually, the problem is more about Lucid and the serialize method, which arent typesafe, rather than InferPageProps. The return type of paginatedGames.serialize() is exactly the one you get with InferPageProps.
If you want more precise types for your models, you'll need to type them manually or use some kind of DTO

Ok! Thank you for the clarification.

Let me show you a few examples of how to deal with this problem, in case other future readers come across this issue
1st solution: manually type the serialize(). Because serialize() just returns a Record<string, any> so we have no way of automatically inferring the type. We need to help Typescript a little bit.
const user = users.serialize() as {
    id: number
    name: string
}

return inertia.render('user/edit', { user })

2nd solution, use a DTOs / Presenter pattern. Quite similar to Laravel's API resources if you want to know a bit more about that. I would say this is generally the preferred method: in addition to benefiting from typesafety, you add a layer of transformation and indirection that allows you to decouple your model and your view:
export class UserPresenter {
  toJson(user: user) {
    return {
      id: user.id,
      name: user.name
    }
  }
}

@inject()
export default class UsersController {
  constructor(protected presenter: UserPresenter) {}

  index({ inertia }) {
    const users = await User.all()

   return inertia.render('users', {
     users: users.map(user => this.presenter.toJson(user))
   })
  }
}


widget relationwith a single collection file

Hello, would it be possible to allow the widget relation to use a single collection file? Right now, it only works with separate files as different relation categories. That’s fine, but in some cases, it’s hard to arrange the order by going into different files and setting the order, and keeping the number order.
`collections:

label: Tutorials
name: tutorials
media_folder: /tutrialsPreview
public_folder: /tutrialsPreview
create: true
delete: false
icon: school
format: json
extension: json
files:

file: 'src/content/tutorials/tutorials.json'
label: Tutorial List
name: tutorialList
widget: object
fields:

label: Tutorial
name: tutorial
widget: list
fields:

{label: Video, name: src, widget: file}
{label: Category, dropdown_threshold: 10, name: category, widget: relation, collection: categories, multiple: true, value_field: category}

label: Categories
name: categories
create: true
icon: dashboard_customize
format: json
extension: json
files:

file: 'src/content/categories/categories.json'
label: Categories List
name: categoriesList
widget: object
fields:

name: categories
label: Categories
widget: list
fields:

name: category
label: Category
widget: string
name: order
label: Order
widget: number`

the current solution is not ideal to arrange the categories order.

summary helps a little bit :) I keep forgetting it.

Maybe it’s possible with “Referencing a file collection list field example” mentioned in the Relation widget doc?

Oh, I didn't catch that. I will try this way, thank you!

@kyoshino
I have another question, is there some way to preview videos in the sveltia cms? at least to have a first-frame preview? I thought about creating preview_template for this, but I guess the sveltia does not support it yet.

Hmm, video preview should work with the File widget. Will check.

this is my setup:
 - label: Tutorials     name: tutorials     create: true     delete: false     icon: school     format: json     extension: json     files:       - file: 'src/content/tutorials/tutorials.json'         label: Tutorial List         name: tutorialList         widget: object         fields:           - label: Tutorial             name: tutorial             widget: list             fields:               - {label: Video, name: src, widget: file}               - {label: Category, dropdown_threshold: 10, name: category, widget: relation, collection: categories, multiple: true, value_field: category}

expected to see like this:

Nah, video preview is not implemented. I’m working on it.

@CarloBu btw, did the file collection reference method (file option`) work for you? If it doesn’t seem to work as expected, I will take a look.

Hey, kyoshino,
sorry for the late reply, I can not lie, I was struggling to make a file collection list field work.
After some painful time, I realized that specifically in the 'category' field of the tutorialList collection, the 'file: categoryListFile' doesn't actually refer to a file name. Instead, it's referencing the name of the file object within the categoryCollection. It's hella counterintuitive at least for me :)
the setup is now working:
  - name: tutorialList
    label: Tutorial List
    create: true
    delete: false
    icon: school
    format: json
    extension: json
    files:
      - file: 'src/content/tutorials/tutorials.json'
        label: Tutorial List
        name: tutorialListFile
        widget: object
        fields:
          - label: Tutorial Items
            name: tutorialItems
            widget: list
            fields:
              - {label: Video, name: src, widget: file}
              - label: Category
                name: category
                dropdown_threshold: 10
                widget: relation
                collection: categoryCollection
                file: categoryListFile
                value_field: "categories.*.category"
                multiple: true

  - name: categoryCollection
    label: Categories
    create: true
    delete: true
    files:
      - file: 'src/content/categories/categories.json'
        label: Category List
        name: categoryListFile
        widget: object
        fields:
          - label: Categories
            name: categories
            widget: list
            fields:
              - {label: Category, name: category, widget: string}

No worries, I’ll have a look.

Just quickly tested your config.
file: categoryListFile      <---- why the hell does it not refer to the actual filename :)

I think this is how it works 😉 Sveltia CMS could provide a better document for this. I understand that a only clue is the Decap example saying file: "cities", not file: "/path/to/cities.json", which could easily be missed.
value_field: "categories.*.category"   <---- and I had to remove brackets for some reason to make it work

It worked for me with or without single or double quotations. Not sure why it doesn’t work. It shouldn’t affect the functionality because the YAML parser can handle the differences, and it would be the same string internally.
Anyway, good to know it’s working. The video preview issue has been fixed in v0.36.4, and I’ll close the issue.

I think this is how it works 😉 Sveltia CMS could provide a better document for this. I understand that a only clue is the Decap example saying file: "cities", not file: "/path/to/cities.json", which could easily be missed.

I somehow misread this as actual filename, but you right, when read closely it kinda make sense :)

It worked for me with or without single or double quotations. Not sure why it doesn’t work. It shouldn’t affect the functionality because the YAML parser can handle the differences, and it would be the same string internally.

I don't know why it does not work with brakets for me, maybe my project environment issue

Anyway, good to know it’s working. The video preview issue has been fixed in v0.36.4, and I’ll close the issue.

awesome! now it's very easy to manage mp4 data, thank you!

Hey Kyoshino,
I noticed that some mp4 file thumbnails are not showing, like this one:

https://github.com/user-attachments/assets/00030e52-4bef-4e0d-b1f3-a65a7e6b35c5
But it's totally fine for me, the most important thing is that I can preview and watch all mp4 videos 👍 I just wanted to give awareness about this bug

Maybe some videos take a bit longer to show the first frame. I will find a way to generate thumbnails more reliably.

maybe, but only specific video thumbnails are not showing. Later I will check deeper if these video thumbnails show up in other setup and test projects. Anyways this is a low-priority issue.

I’ve just shipped v0.36.5 to solve the video thumbnail issue. You need to open DevTools and clear the asset-thumbnails cache in IndexedDB to regenerate the thumbnails.

Ooowee! It's now working perfectly! Thank you!

I see the issue was with the timing, you added 250ms timer to wait for the first frame to render, smart 👍


in reporting tab: warning somewhere of deadline to submit ballot. maybe here...

good idea

@joeykrug @tinybike reporting deadline is always at the end of the current month correct (regardless of month length, etc., if a market is supposed to be reported on)?

Commit deadline is 30 days. Reveal deadline is 28 days. 2 days to appeal a decision then it starts over again.

And not always at the end of current month

Added as the "progress bar" component


Auto-indexing

Each directory should get their own auto-generated index.html if they don't have one already.

Hugo supports this out-of-the-box.


Add E2E coverage to explicit flow control

FYI, the Cronvoy Test will provide an E2E tests, as soon as Cronvoy gets updated to use that feature. On the other hand, relying on Cronvoy to provide the E2E testing might not be wise on the log run - TBD.


Fix Option Text

See #471

Hi :)
Thanks for submitting this PR, we appreciate any kind of desire to help. Before merging this PR I need you to notice that this README.md is always generated from the source. So could you please make a PR where we update only the JSDoc comment in the source code? That will be reflected in the generated README.md

will do tomorrow


release 0.20.0

Last time we didn't update stackable-operator-derive, this time we don't update stackable-operator? :P

oh, that's new to me. I trusted technology for once and was immediately dissapointed.

Will create a new one.


Update README.md

Fixed a typo
Purpose
Fix a smaller typo
Does this introduce a breaking change?

[ ] Yes
[x ] No

Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x ] Documentation content changes
[ ] Other... Please describe:

How to Test
Just read the README.md

Test the code
Not required

What to Check
Typo for word "seting" => "setting"
Other Information

@frode Thank you.


chore(npm): sync README.md from npm-package-template

badges

Current coverage is 66.66%

Merging #15 into master will not affect coverage as of b160a15

@@            master     #15   diff @@
======================================
  Files            1       1
  Stmts            6       6
  Branches         0       0
  Methods          0       0
======================================
  Hit              4       4
  Partial          0       0
  Missed           2       2

Review entire Coverage Diff as of b160a15

Powered by Codecov. Updated on successful CI builds.


Tune Grab and Soft-Contact; add support back to 5.6

Enhancement: Tune the Grab Classifier to work better with small objects

Enhancement: Add code support going back to 5.6 (except in HierarchyRecorder)

Bug: Fix grab classifier allowing immediate regrabs when the object was forcefully let go

Bug: Fix Soft Box -> Object collisions and spurious/anomalous non-deterministic behavior of soft contact.

[x]  Test picking up small objects.

[x]  Test opening the project in Unity 5.6 (or any of the intermediate versions)
(Note: We don't support opening UM-the-project in 5.6, but we support exported packages from 2017.3 being imported into 5.6, so this is what I'll test --Nick)

[ ]  Test two-handed grab repositioning; make sure it's not happening

[x]  Observe difference in behavior in spheres resting on palm before and after this change

Bug: Fix Soft Box -> Object collisions and spurious/anomalous non-deterministic behavior of soft contact.
How exactly would you recommend going about testing this?  I would definitely be interested in trying a before/after test, I just am not 100% sure what to look for.

Could you validate if the grasp repositioning fix is relevant to the behaviour I'm seeing here?
Multi-grasp is disabled, but when I grasp with a new hand, the old hand's fingertips appear to affect the object still when the object comes into contact with it.
https://drive.google.com/file/d/0B_w9_hQJupIYTGNuSlgwQW92Ukk/view?usp=sharing

I think this looks almost ready, I'd just like validation on the grasp behavior I was seeing. Willing to  trade for a ticket and another future PR-fix IFF it's an unrelated issue.


+[here's Live]* Cage Warriors 179 live Streams on tv Channel 2 Nov 2024

Cage Warriors 179 is set to bring a thrilling night of MMA action to Rome’s PalaPellicone on Saturday, November 2, 2024. With 16 fights scheduled, the event promises an action-packed lineup, featuring rising stars and seasoned fighters eager to make their mark in one of Europe’s most prestigious MMA promotions.
Watch Cage Warriors 179 Live Here
Watch Cage Warriors 179 Live Here
Watch Cage Warriors 179 Live Here
The main event has captured the attention of fans across Europe, as two of Cage Warriors’ top-ranked fighters face off in a high-stakes bout. Both competitors have demonstrated exceptional skill and determination in their careers, with one aiming to defend their reputation and another looking to claim a crucial victory. The main event has been billed as a showdown of contrasting styles: one fighter known for knockout power and the other for grappling finesse, setting up an intriguing clash of strengths and strategies.
Stefano Paternò vs. Jorge Bueno
Simone Patrizi vs. Konstantinos Ntelis
Khadim Dia vs. Leon Aliu
Alessandro Giordano vs. Rafael Hudson
Solomon Simon vs. Walter Cogliandro
Giuseppe Mastrogiacomo vs. Itay Tratner
Giacomo Michelis vs. Olli Santalahti
Daniele Battaglia vs. Luca Mele
Sergio Gavinelli vs. Manuel Del Valle
Michelangelo Lupoli vs. Raz Bring
Damiano Scogna vs. Manuel Caperna
Emanuele Tetti vs. Angelo Terenzio
Andrea Flamminio vs. Niko Ceraglia
Luca Borando vs. Nicolae Mezdrea
Mario Mingaj vs. Robin Roos
Gianluca Rocca vs. Conor McCarthy
Pietro Mochetti vs. Antônio Marcos Souza
The undercard also boasts an exciting mix of fighters representing multiple weight classes, each bringing unique styles to the cage. From swift strikers to formidable submission artists, each matchup on the card promises to deliver thrilling moments, with fighters battling for a chance to climb the Cage Warriors rankings. Notably, several Italian fighters are on the card, giving local fans plenty of home-country heroes to rally behind as they showcase their skills on one of Europe’s most visible MMA stages.
Rome’s PalaPellicone, a historic venue known for hosting elite martial arts events, will be buzzing with energy, as MMA fans gather to witness this spectacle. For Cage Warriors, known for producing top-tier fighters who go on to compete at the highest levels, this event continues the organization’s tradition of showcasing elite talent and delivering unforgettable fights.


Ask pull secret during start

Fixes #18
This PR add check if pullsecret is missing during vm start:

And it add basic validation, it just check that provided value is valid JSON:

Also this PR provided various refactoring.

@deboer-tim I add pullsecret validation(copy from crc codebase), and show more descriptive error:

and show more descriptive error

The ideal is that the pull-secret is automagically retrieved and does not see a copy-paste action. And instead, you will just provide the RH credentials, and see the pull-secret identity in a form as:

Pull-secret belongs to:

<EMAIL_ADDRESS>

@gbraad "Escape" to cancel...  is from podman desktop, I cannot change with current API

I cannot change with current API

Weird text. As an example, vscode does not state this.

vscode shows exactly same text:

OK, since this is a prompt and not a selection.
I am fine with this as the ideal is that this prompt is not shown at all.


Add DDNS_EXPIRATION_DAYS env variable

Hi,
this is just a small change in the dockerfile to allow passing a value for --expiration-days via the DDNS_EXPIRATION_DAYS environment variable, to make it more convenient for users to override.
Best, Thomas

Hi Thomas,
thanks for your contribution! This looks good to me and shouldn't break an existing setup.
Cheers
Philipp

Hi all,
Is there an easy way to disable expiration entirely?  Some of my hosts drop
offline and do not update for awhile.  I can code it up (just haven’t taken
a look at the codebase in awhile).
My first question also gets me thinking, what would be the best way to add
DNS entries via an external source (http request, etc; preferably
persistent or easily checkable/reloadable after a docker-compose), rather
than just the web interface?  I’m able to code this, although I’d like some
direction since I’m not too familiar with this codebase+docker yet.
Thanks a bunch!
On Fri, Oct 2, 2020 at 11:15 Philipp Böhm<EMAIL_ADDRESS>wrote:

Merged #26 https://github.com/pboehm/ddns/pull/26 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pboehm/ddns/pull/26#event-3835116280, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3OQFWXCJX6WDZZWLXKRBDSIYKC3ANCNFSM4SBQOX4Q
.

Hi @sonaro,
regarding the first question: you could easily set the expiration days to 5years or bigger and you have practically disabled expiration by that.
The second question: the same API Endpoints used by the web interface can be used via curl or any other HTTP client. Please refer to frontend/frontend.go or inspect the Network in the browser developer tools while registering a host via the web interface.

Oh great!  I’ll start there.  Thanks for the tips!
On Sat, Oct 3, 2020 at 00:03 Philipp Böhm<EMAIL_ADDRESS>wrote:

Hi @sonaro https://github.com/sonaro,
regarding the first question: you could easily set the expiration days to
5years or bigger and you have practically disabled expiration by that.
The second question: the same API Endpoints used by the web interface can
be used via curl or any other HTTP client. Please refer to
frontend/frontend.go or inspect the Network in the browser developer
tools while registering a host via the web interface.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pboehm/ddns/pull/26#issuecomment-703058494, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3OQFXH4HRR3EEOG4R6LH3SI3EC5ANCNFSM4SBQOX4Q
.

Thanks a lot, awesome tool btw:)


Update ngrock links and screenshots

Hi,
A very small PR to fix new ngrock links.

Agree with dfournier, I found the same issue. ngrok provides link with .io instead of .com
This PR will correctly inform user to test with ngrok.


1727 - Improve Tx queries performance

Description
This fixes #1727
TODO:

[x] add to CacheStatus
[x] Check the cache before making the query unless cache not active
[x] maybe change to use an LRU cache
[ ] Populate the cache right after inserting TX

Checklist

[ ] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] Any changes are noted in the changelog
[ ] Code is formatted with fourmolu on version <IP_ADDRESS> (which can be run with scripts/fourmolize.sh)
[ ] Self-reviewed the diff

Migrations

[ ] The pr causes a breaking change of type a,b or c
[ ] If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
[ ] Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

Any ideas on how the eviction of old data will work?

@kderme I'm making it an LRU so they'll just get pushed out if they haven't gotten used. Will be easier than trying to work out when a TxId in the cache should be deleted.

We should somehow handle rollbacks, since tx table is deleted on rollbacks. I think we can follow a very simple approach, simply delete the whole TxCache when there is a rollback, as part of rollbackCache.

New stats with alternate Strict.Map + Sequence.Strict
epoch 429
TxId: cache size: 350000, cache capacity: 350000, hit rate: 65%, hits: 794125, misses: 424352

PGBadger results:

It feels like this could be better, I'm sure I'm adding any Tx that were called via DB with tryUpdateCacheTx in all locations which are:
added
cardano-db-sync/src/Cardano/DbSync/Era/Universal/Insert/Tx.hs:125:
cardano-db-sync/src/Cardano/DbSync/Era/Byron/Genesis.hs:248:
not added
cardano-db-sync/src/Cardano/DbSync/Era/Byron/Insert.hs:261: -- no access to Tx
cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Genesis.hs:280:
cardano-db-sync/src/Cardano/DbSync/Era/Byron/Insert.hs:283:

Merged through https://github.com/IntersectMBO/cardano-db-sync/pull/1769, thank you!


Social auth https redirect url

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

Describe the bug*
When using InvenTree in the production docker container with Traefik as a https frontend. The Social auth redirect url for Microsoft provider is http instead of https. This creates an error as Microsoft requires https redirects when used in production. The same provider supports non-https in dev setups only.
Steps to Reproduce

Setup production Inventree Docker compose
Add Traefik in front of Nginx as SSL frontend
Add/Configure Microsoft social auth provider
Set base url for server instance setting to have https in url
Attempt to login via Microsoft
Error is raised indicating that http redirects are not allowed

Expected behavior
The redirect url sent to Microsoft should be https.
Allauth supports a configuration setting ACCOUNT_DEFAULT_HTTP_PROTOCOL that allows changing the default protocol used.
I have tested using this setting does work to solve my deployment setup.
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
Version Information:
InvenTree-Version: 0.8.4
Django Version: 3.2.15
Commit Hash: ca1fbf9
Commit Date: 2022-10-20
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Relevant log output
No response

Fixed by #3975
@geniesis thanks for the quick fix;
If you mention Closes #3975 or Fixes #3975 in the PR the related issue gets auto-closed.


Generate Sentiment Score

input: for list of string
output: list of floats

slurm is working hard, waiting for it to finish


Docs on npm integration

Reading around the issues pages, it looks like some level of npm integration has been added via deppack, but I'm not sure what I need to do to get it working. This is the closest tidbit I've managed find:

At the time of this writing, the Brunch team is hard at work to provide first-class integration with npm, which will greatly ease isomorphic JS and will let us use our node_modules-installed code transparently inside our front-end application code, as modules still. Until then, we’ll need to hack around with the Browserify plugin for Brunch plugin.

What are the steps to get this working? I'm running the Brunch v1.8.3.

In the simplest form, you simply npm install your dependencies and then require what you need in your application code. You also need `npm: enabled: true For many dependencies this should work fine, but there are many cases not yet addressed in an elegant way.
You can see some more discussion on it at
https://github.com/brunch/brunch/pull/987
https://github.com/brunch/brunch/issues/986
https://github.com/brunch/brunch/issues/984

Reopening - even though the OP's question was answered, we need more info in the actual docs

So, I thought it'd be nice to swap from bower to npm in a few of my skeletons this morning, and am having no success getting it to concat the npm modules into the compiled application.
I have:
npm: enabled: true in my brunch config
the latest version of brunch downloaded from npm
The goal being just to be able to run a require 'jquery' and require 'mithril' from my node_modules directory in the app.
here is a repo with the skeleton in question.
I'm on windows 7, using the latest version of Node.js (though i've tested it with a few versions).

Probably a bug. Try seeing if switching to vanilla js works any better.

Thanks, I see what the problem is, it doesn't parse those .js extension files in the node_modules directory without having javascript-brunch installed as a plugin.
One more bug is that it is trying to define them as:
require.register('C:\dev\brunch-skeleton\mithril-surge\node_modules\jquery\dist\jquery.js', //the rest

Instead of just the npm module name

Hello! using npm modules is still rather confusing with brunch. Could we get this documentation update please?

Let's move to gh-1023.


OS X: 'Undo'/'Redo' menu actions stopped working

VSCode Version: latest alpha
OS Version: =S X 10.11.4

Most of the time 'Undo'/'Redo' menu actions don't work.
The keyboard shortcuts work fine.

Fixed by reverting the change for https://github.com/Microsoft/vscode/issues/797


Fixes issue #360 + Typo fixes

Fixes issue #360 + and fixes some typos.
I also deleted some dependencies my editor was telling were not being used in go.mod. I can revert that back if they are needed

Just wanted to say a big thanks for your contribution!!
Btw I didn't even realize "variable" is a typo :/

Before it was "varibale" and I don't know that word and also didn't see anything similar in the codebase so I assumed it was a typo and the correct word was "variable".


Toast Simulation GUI

Would it be possible to have an independent simulator to aid teams who are using the default tools given to them by FIRST? Maybe a sort of wrapper which takes calls to the WPIlib classes and redirects those function calls to the GUI

The way Toast's Simulation GUI currently works is by redirecting WPILib JNI calls to the GUI. Toast has a wrapper system that doesn't require a Toast module and will work with a normal WPILib jar. This won't work for 2017 binaries just yet, but works fine for 2016 codebases. Drop your .jar file into toast/modules and run Toast to get it up and running.

I created a module with Hotplate and the instructions from the wiki and ran the basic module. The project has a run/toast/modules directory, so I suppose it goes in there. However, I'm not sure how to get the simulator running without compiling and loading the code in the src folder. Also, how does the sim manage calls to joysticks? If the code requires joysticks but they aren't connected to the computer when running the .jar will Toast crash?

To use joysticks, you need to connect the driver station to the simulator. If no joysticks are connected, all axis will read 0 and all buttons will read false.

You can run simulation as normal and Toast will pickup the jar

Ok, so I added the module and used the TestModule-Sim run config in IntelliJ 2016.3 with code compiled with the 2016 FRC plugins in Eclipse Mars (the code was developed with Eclipse but I felt like running Toast in IntelliJ). I dropped the the .jar into the modules folder: run/toast/modules/FRCUserProgram.jar. Initially I had an error with an ADIS16448_IMU class that tried to initialize a SPI port, so I removed all calls to that class. However, I'm now getting errors with the Encoder class provided with the FRC plugins. I've included the output:
 ________    ______                 __
((       )  /_  __/___  ____ ______/ /_
||  o o  |   / / / __ \/ __ `/ ___/ __/
||   3   |  / / / /_/ / /_/ (__  ) /_
\\_______/ /_/  \____/\__,_/____/\__/

[09/01/17-01:43:34] [Toast] [Bootstrap] [INFO] Toast Version: 2.4.14
[09/01/17-01:43:34] [Toast] [Bootstrap] [INFO] Toast Commit Hash: 2022e41
[09/01/17-01:43:35] [Toast] [Core-Initialization] [INFO] Toast Started with Run Arguments: [-sim, --search, -ide, IDEA]
[09/01/17-01:43:35] [Toast] [Pre-Initialization] [INFO] Slicing Loaf...
[09/01/17-01:43:35] [Toast] [Initialization] [INFO] Nuking Toast...
platform: /Windows/amd64/
[09/01/17-01:43:36] [Toast] [Pre-Start] [INFO] Buttering Bread...
[09/01/17-01:43:36] [Toast|Loader] [Pre-Start] [INFO] Module Loaded<EMAIL_ADDRESS>[09/01/17-01:43:36] [Toast|Loader] [Pre-Start] [INFO] Module Loaded<EMAIL_ADDRESS>[09/01/17-01:43:36] [Toast] [Start] [INFO] Fabricating Sandwich...
[09/01/17-01:43:36] [Toast] [Start] [INFO] Verdict: Hot, Hot, HOT!!
[09/01/17-01:43:36] [Toast] [Main] [INFO] Total Initiation Time: 1.302 seconds
[09/01/17-01:43:37] [Toast] [Thread-9] [ERROR] Could not instantiate Wrapped Module reflection on robotInit: java.lang.reflect.InvocationTargetException
[09/01/17-01:43:37] [Toast] [Thread-9] [ERROR] java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at jaci.openrio.toast.lib.module.ModuleWrapper.reflectMethod(ModuleWrapper.java:150)
	at jaci.openrio.toast.lib.module.ModuleWrapper.lambda$start$21(ModuleWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: edu.wpi.first.wpilibj.hal.EncoderJNI.initializeEncoder(BIZBIZZLjava/nio/IntBuffer;)J
	at edu.wpi.first.wpilibj.hal.EncoderJNI.initializeEncoder(Native Method)
	at edu.wpi.first.wpilibj.Encoder.initEncoder(Encoder.java:87)
	at edu.wpi.first.wpilibj.Encoder.<init>(Encoder.java:171)
	at com.team2576.robot.io.SensorInput.<init>(SensorInput.java:82)
	at com.team2576.robot.io.SensorInput.getInstance(SensorInput.java:71)
	at com.team2576.lib.Kapellmeister.<init>(Kapellmeister.java:28)
	at com.team2576.lib.Kapellmeister.getInstance(Kapellmeister.java:34)
	at com.team2576.robot.ChiliRobot.robotInit(ChiliRobot.java:57)
	... 7 more

The error occurs in this call:
public static SensorInput getInstance() {
	if(instance == null) {
		instance = new SensorInput();
	}
	return instance;
}

which calls the following constructor:
private SensorInput() {
	this.inputValues = Collections.synchronizedMap(new LinkedHashMap<String, Double>());

	pdp = new PowerDistributionPanel();
//	adIMU = new ADIS16448_IMU();
	cuiLeft = new Encoder(ChiliConstants.iLeftEncoderA, ChiliConstants.iLeftEncoderB, false, EncodingType.k4X);
	cuiRight = new Encoder(ChiliConstants.iRightEncoderA, ChiliConstants.iRightEncoderB, false, EncodingType.k4X);
	intakeAngle = new Encoder(ChiliConstants.iIntakeEncoderA, ChiliConstants.iIntakeEncoderB, false, EncodingType.k4X);

	camLeft = new USBCamera(ChiliConstants.kCamLeft);
	camCenter = new AxisCamera(ChiliConstants.kCamCenter);
	//camRight = new USBCamera(ChiliConstants.kCamRight);

	camLeft.openCamera();
	//camRight.openCamera();
	camLeft.startCapture();
	//camRight.startCapture();

	abort_vision = false;

	this.initEncoders();
}

The error occurs when initializing cuiLeft.

Your code is using Encoders, however Toast doesn't currently support Encoder simulation. See #35

My bad, I forgot to look through the other issues. Thanks!


Target Postgres additions

Here is some code I have been using in a Postgres target I use for internal development.  Please take a look and let me know if any of these additions would be helpful.

I'm going to keep this code in mind for https://github.com/MeltanoLabs/target-postgres/pull/17 I'll merge it into that branch or merge this later. Generally this looks good I just want to get a good test run going first and https://github.com/MeltanoLabs/target-postgres/pull/17 is adding a good amount of tests. Merging the two together may be the best option! Still looking

@visch sounds like there were a few things that were helpful.  Did you want me to close this PR or would you like me to pair it down to only items you want?

@BuzzCutNorman  Thank you very much for putting this in!

@visch your welcome I am glad it had some usefully items for you


update npm version

from npm version

these error log is output from socket.io, you can refer the README of it


API Mediation Layer newly supports multi-tenant deployments

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[x] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
The Pull request adds the documentation of new functionality focused on deployments of the API Mediation Layer in the service providers environment allowing them to properly handle multi-tenant setup with proper distinguishing between the tenants.
resolve: https://github.com/zowe/api-layer/issues/2651

@janan07 I added the pieces of the texts you were asking for. Does this work enough for you?


Android 下面 页面中存在list或scroller，并且input在页面底部的时候，键盘会覆盖input

<template>

			<list></list>

			<input placeholder="在此输入" style="width: 750;background-color:#FF9933;"></input>

</template>

按照上述写法进行的时候，点击文本输入框，键盘弹出的时候View不上移，导致键盘盖住了input。去掉list之后就正常了。

This PR/issue doesn't receive response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


Ensure that an empty config.json exists

If module is loaded and the config.json is wiped (due to error killing LCM, user actions, etc) then it needs to be recreated.
Taken from block at top of module, which can probably be removed, but I didn't test that, so I left as is.

Hold, found an error when file exists but is corrupted, will update after I fix


Unable to pass DNS challenge with Caddy 2.8+

Wildcard DNS challenge stopped working after update to Caddy 2.8.
The minimum reproducible setup:
Caddy config:
{
  storage consul {
    prefix "caddytls"
  }
  admin :2019

  debug

  email<EMAIL_ADDRESS>}

*.example.com {
  log {
    format json
  }

  tls {
    dns route53
  }
}

Dockerfile:
FROM --platform=linux/amd64 caddy:2-builder-alpine@sha256:cdf3364f8cb02338b857728fdc0a9b8875b343996db347300bf2361db3da9094 AS builder

RUN xcaddy build \
    --with github.com/pteich/caddy-tlsconsul \
    --with github.com/caddy-dns/route53

FROM --platform=linux/amd64 caddy:2-alpine@sha256:a48e22edad925dc216fd27aa4f04ec49ebdad9b64c9e5a3f1826d0595ef2993c

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Logs:
{"level":"info","ts":1717682068.1877885,"logger":"tls.obtain","msg":"lock acquired","identifier":"*.example.com"}
{"level":"info","ts":1717682068.1907144,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"*.example.com"}
{"level":"debug","ts":1717682068.1908574,"logger":"events","msg":"event","name":"cert_obtaining","id":"60de8b42-ab04-4b13-9920-03713277aa4a","origin":"tls","data":{"identifier":"*.example.com"}}
{"level":"debug","ts":1717682068.1911874,"logger":"tls.obtain","msg":"trying issuer 1/1","issuer":"acme-v02.api.letsencrypt.org-directory"}
{"level":"debug","ts":1717682068.191264,"logger":"caddy.storage.consul","msg":"loading data from Consul for<EMAIL_ADDRESS>{"level":"debug","ts":1717682068.1937697,"logger":"caddy.storage.consul","msg":"loading data from Consul for<EMAIL_ADDRESS>{"level":"info","ts":1717682068.1980238,"logger":"tls.issuance.acme","msg":"waiting on internal rate<EMAIL_ADDRESS>{"level":"info","ts":1717682068.198052,"logger":"tls.issuance.acme","msg":"done waiting on internal rate<EMAIL_ADDRESS>{"level":"info","ts":1717682068.1981454,"logger":"tls.issuance.acme","msg":"using ACME<EMAIL_ADDRESS>{"level":"debug","ts":1717682068.400449,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"GET","url":"https://acme-v02.api.letsencrypt.org/directory","headers":{"User-Agent":["Caddy/2.8.4 CertMagic acmez (linux; amd64)"]},"response_headers":{"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["746"],"Content-Type":["application/json"],"Date":["Thu, 06 Jun 2024 13:54:28 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"debug","ts":1717682068.400676,"logger":"tls.issuance.acme.acme_client","msg":"creating order","account":"https://acme-v02.api.letsencrypt.org/acme/acct/1763210887","identifiers":["*.example.com"]}
{"level":"debug","ts":1717682068.4561968,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"HEAD","url":"https://acme-v02.api.letsencrypt.org/acme/new-nonce","headers":{"User-Agent":["Caddy/2.8.4 CertMagic acmez (linux; amd64)"]},"response_headers":{"Cache-Control":["public, max-age=0, no-cache"],"Date":["Thu, 06 Jun 2024 13:54:28 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["su1caOmbBxQwQu9hLgYH8tMvuXSY0yd8jUjEqWyqAihX7TMZGos"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"debug","ts":1717682068.5403905,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/new-order","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.8.4 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["1763210887"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["345"],"Content-Type":["application/json"],"Date":["Thu, 06 Jun 2024 13:54:28 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/order/1763210887/275980118617"],"Replay-Nonce":["su1caOmb2AuTy7-eFJ7SHv1wOCyVgybSNdoJKeGjNcwOLeTGn7k"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":201}
{"level":"debug","ts":1717682068.600306,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/360439255817","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.8.4 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["1763210887"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["391"],"Content-Type":["application/json"],"Date":["Thu, 06 Jun 2024 13:54:28 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["su1caOmbKx5cQpgNcP62Uc4bXmQr1rpUrDLGB9LmzmTeSj7AokU"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"info","ts":1717682068.6005263,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"*.example.com","challenge_type":"dns-01","ca":"https://acme-v02.api.letsencrypt.org/directory"}
{"level":"error","ts":1717682068.6307743,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"*.example.com","challenge_type":"dns-01","error":"no memory of presenting a DNS record for \"_acme-challenge.example.com\" (usually OK if presenting also failed)"}
{"level":"debug","ts":1717682068.6949975,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/360439255817","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.8.4 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["1763210887"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["395"],"Content-Type":["application/json"],"Date":["Thu, 06 Jun 2024 13:54:28 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["su1caOmbzRAm8TrBKvAcq-Lm4Xi-o3g5q22uZzpGo6jRk7hundE"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"error","ts":1717682068.696349,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"*.example.com","issuer":"acme-v02.api.letsencrypt.org-directory","error":"[*.example.com] solving challenges: presenting for challenge: adding temporary record for zone \"example.com.\": not found, ResolveEndpointV2 (order=https://acme-v02.api.letsencrypt.org/acme/order/1763210887/275980118617) (ca=https://acme-v02.api.letsencrypt.org/directory)"}
{"level":"debug","ts":1717682068.6964366,"logger":"events","msg":"event","name":"cert_failed","id":"8bf8efb3-0aa5-4e63-8478-33cf4bb9906a","origin":"tls","data":{"error":{},"identifier":"*.example.com","issuers":["acme-v02.api.letsencrypt.org-directory"],"renewal":false}}
{"level":"error","ts":1717682068.6964548,"logger":"tls.obtain","msg":"will retry","error":"[*.example.com] Obtain: [*.example.com] solving challenges: presenting for challenge: adding temporary record for zone \"example.com.\": not found, ResolveEndpointV2 (order=https://acme-v02.api.letsencrypt.org/acme/order/1763210887/275980118617) (ca=https://acme-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":0.508639999,"max_duration":2592000}

Everything pass fine with Caddy 2.7.6.
Any suggestions are appreciated.

I am wondering if we just need to bump the caddy version since there were so many breaking changes
https://github.com/caddy-dns/route53/blob/8e49e7546771bf6846e1531dcaff4925af5ddcde/go.mod#L6

It looks like it is related to this issue: https://github.com/libdns/route53/issues/235#issue-2212746183
Which is related to this issue: https://github.com/aws/aws-sdk-go-v2/issues/2370#issuecomment-1953308268

Just ran into this as well after upgrading Caddy to v2.8.4.

Could you test this with the latest version and wait_for_propagation enabled?
{
  "module": "acme",
  "challenges": {
    "dns": {
      "provider": {
        "name": "route53",
        "wait_for_propagation": true,
      }
    }
  }
}

FWIW, I'm using a Dockerfile to build https://github.com/lucaslorentz/caddy-docker-proxy with this plugin, and simply rebuilding the container with the latest release of this plugin and Caddy 2.8.4 was enough to solve the DNS challenge problem described in this thread. I did not need to use the wait_for_propagation parameter.

I just added us-east-1 as the region value and the error went away and everything works! Just thought I'd mention that this parameter may be required now.

fwiw, the plugin can take the value from the AWS_REGION environment variable.

@kdevan The exceeded max wait time for ResourceRecordSetsChanged waiter error just means the default wait time, 1 minute, wasn't enough for the records to propagate. You could try and increase the time using max_wait_dur.

@aymanbagabas Hi! Just to clarify, we should be setting wait_for_propagation to true when working with wildcard certificates right? Thanks :)

We still get the "exceeded max wait time for ResourceRecordSetsChanged waiter" we have set wait_for_propagation to "true" and set a "max_wait_dur" to 120. Anyone else still having this issue?

For anyone also having trouble. I finally made this work by removing the "wait_for_propagation true" from the caddyfile and it worked right away.
tls {
dns route53 {
access_key_id "id"
secret_access_key "password"
region "us-east-1"
}

Importantly, setting max_wait_dur to anything other than the default value was not working.

There was a bug with max_wait_dur always using nanoseconds. With v1.5.1, the value for max_wait_dur is always in seconds.

And I did need to specify the region... for some reason.

If region is not specified, it will try to load the region from $AWS_REGION as described in https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-the-aws-region

Amazing this was unexpected!  This new requirement of AWS region totally brought down my whole set of reverse proxies including my cloud when the certs needed to be updated.   As soon as I saw that region error I came here.
One question is what region?   Does it even matter?  Do I use the one I see in the AWS console?  https://us-east-1.console.aws.amazon.com/   AFAIK route53 is not related to a region so why the region anyway.  So I did set mine to us-east-1.  Sure am glad this was just my personal network so being down overnight was not a big issue.  Not sure how one could get info on a "breaking" change like this beforehand, but sure would be nice.
Below is working for me now for wildcards.  My IAM credentials are environment variables.  As others mentioned some times old _acme records don't get cleaned out so I do so via the AWS console.  If I feel like a I need a clean slate (recreate all the certs)  I  delete all the caddy settings/certs and restart.  At least for arch they can be found at /var/lib/caddy
  tls<EMAIL_ADDRESS>{
    dns route53 {
      max_retries 10
      region "us-east-1"
      wait_for_propagation true
    }
    resolvers <IP_ADDRESS> <IP_ADDRESS>
  }