Initial README

Another suggestion is can we use rake on line 106 instead of explicit command to run rspec tests? Less for user to remember. Also I think it would be a good idea to state the version of ruby we have done our development in just in case whoever may be using it might have an older version of ruby and therefore upgrade (might be some syntax that is available in more recent ruby versions, e.g. 2.3, that isn't available in ruby 1.9.3 and also other gems I've seen are phasing out support for older ruby versions).
Also as we are very TDD driven, is it also worth mentioning that anyone contributing features should have corresponding tests so that we keep our code coverage optimal?


Help: trouble updating session user after LiveView

I have a LiveView updating the user struct:
def handle_event("save", data, socket) do
    user_id = data["user_id"]
    user = Users.get_user!(user_id)
    case Users.update_user(user, data["user"]) do
      {:ok, %User{} = user} ->
        flash = "Your State and County updated successfully."
        redirect = "/v1/counties/orgs"
        # NOTE: redirect here to a :reload action
        {:stop,
        socket
        |> redirect(to: "/v1/reload_user?flash=#{flash}&redirect=#{redirect}")}
     {:error, %Ecto.Changeset{} = changeset} ->
        {:noreply, assign(socket, changeset: changeset)}
    end
  end

Then, I have a :reload action that handles the redirect:
 def reload(conn, %{"flash" => flash_msg, "redirect" => redirect_path} = params) do
    user = Pow.Plug.current_user(conn)
    reloaded_user = Users.get_user!(user.id)

   # This should update the session user....?
    {_ok, _map, conn} = Pow.Plug.update_user(conn, %{"state" => reloaded_user.state, "county" => reloaded_user.county})

  # But I coulcn't get it to work so added this, too, but no help...
    config = Pow.Plug.fetch_config(conn)
    conn = Pow.Plug.assign_current_user(conn, reloaded_user, config)

    conn
    |> put_flash(:info, flash_msg)
    |> redirect(to: redirect_path)
  end

It's not working, as when redirect_path handler's conn has the old (not updated) user:
  def suggest_org(conn, _params) do
    user = Pow.Plug.current_user(conn)   #  :-(   old data
    orgs =  Orgs.list_county_orgs(user.county, :primary)
    render(conn, "org_suggest.html", user: user, orgs: orgs)
  end

There's a guide for it here: https://hexdocs.pm/pow/1.0.15/sync_user.html#content
In short, you can set up your reload action like this:
  def reload(conn, %{"flash" => flash_msg, "redirect" => redirect_path} = params) do
    user = Pow.Plug.current_user(conn)
    reloaded_user = Users.get_user!(user.id)

    conn
    |> sync_user(reloaded_user)
    |> put_flash(:info, flash_msg)
    |> redirect(to: redirect_path)
  end

  defp sync_user(conn, user) do
    config = Pow.Plug.fetch_config(conn)
    plug   = Pow.Plug.get_plug(config)

    plug.do_create(conn, user, config)
  end

I'm pretty sure Pow.Plug.update_user/2 returns an {:error, changeset, conn} tuple rather than {:ok, user, conn} which is why nothing happens.

Thanks, Dan. Sorry to trouble you on something I should have known about.
(BTW, I'll get back to the mnesia stuff soon.)

No problem, happy to help!


Improve readability

Address sentence fragments and comma splices in introductory paragraphs

@jboback
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Add notification to Telegram on builds

It would be nice to have some sort of notification when build is triggered. I have chosen Telegram for this.
Actions should notify me on Telegram whether  the build was successful or if it failed.

Conclusion:
On every push to master or pull request to master, build is run and notification is sent to Telegram with text if build failed or succeeded. Sticker is also sent based on status of build.


DSM Airdrop updates

1.Change "Get Started" button to the corresponding button "Connect Account" / "Get a Grant" / "Create Profile"
2.Change text from "the next transactions ...." to the corresponding sentence.
[[Get a Grant]]
"Get a grant to create a Desmos Profile for free"
[[Create Profile]]
"The first thing is that you need to create a Desmos profile"
[[Connect Account]]
"Please make sure you have connected the correct eligible account"

3.The dot can be smaller.

4.Update this screen.
-Add connected accounts
-When the user connect account which is non-eligible address to receive DSM Airdrop , it also can be connected.
We should let users know why they can not receive DSM.
-Add more account info to guide users to claim more accounts.

5.After the user clicks the connect more button, it should show the select chain screen. please delete the screen as below.

@calvinkei
Please assign our teammate to update it, thanks.


Filter & OrderBy sample code doesn't compile

Trying to implement the README.md sample code doesn't compile
let filteredSections = DataContext().sections.filter { $0.isInMenu == true }.orderBy { $0.displayOrder }

Value of type '[SectionEntity]' has no member 'orderBy'

XCode 7.3

Hello. If the code in your app is the same from here, I think you may have to put the .filter and the .orderBy each one in its own line or rewrite to use parentheses at least in filter. Swift trailing closure syntax things... ;-)

Hello, i put each on its own line and used parentheses, problem still persist
let filteredSections = DataContext().sections
.filter({ $0.isInMenu == true })
.orderBy({ $0.displayOrder })
And my DataContextExtension.swift
extension DataContext {
    var sections:      Table<SectionEntity>     { return Table<SectionEntity>(dataContext: self) }
}

Solved, i generated my entities with XCode generator instead of ACDGen


Comment style to PEP 8, fixed markdown typos and updated deprecated skimage and numpy calls

Hi, I am just going through the tutorials to familiarize myself with Napari. Added a few extra comment lines, fixed the styling and minor typos. Also viewer.layers['nuclei'].colormap displays all colormap properties, so added a .name at the end so it only displays the LUT name. Fixed also a few deprecated scikit-image and numpy calls as pointed by @GenevieveBuckley in the opened issues and her gist https://gist.github.com/GenevieveBuckley/b9558356554bf8a1382fa76d5917bf87

Thanks for the nice introductory resource to Napari @sofroniewn , I have updated it so it is fully functional as of today. Feel free to merge the pull request. Also many thanks to @GenevieveBuckley for the gist that was fixing some deprecation issues in magicgui, numpy and skimage (consider those contributions hers).


Drop attach() and next() methods from ResultSetAdapter

These methods are redundant since similar behavior can be implemented using standard stream operations.
The subqueries member field should also be dropped, since it will no longer be needed once attach() is removed.

This is done.

Restored next() since using stream() for this is too verbose.


New PR to test SignCLA at 2017-12-05 10:07:29.161092448 -0800 PST m=+43.019969024

Body of PR

indiv-pass-staging: test succeeded


WIP: only send OpRoundtripTime when perf data is available

AB#7583
Description
This PR investigates and fixes a bug in which some OpRoundtripTime ops are sent without any performance data (durationInboundToProcessing,  durationOutbound and durationNetwork).
This results in gaps in the Op Latency view which causes gaps in the graph.
The gaps in the graph have been fixed by ensuring that only ops containing the required fields are used to plot the data points, refer here https://github.com/microsoft/FluidFramework/blob/99e3a73310b21eae91c7afe9f4d93c81a9edf135/packages/tools/devtools/devtools-view/src/components/OpLatencyView.tsx#L157-L159
Reviewer Guidance
Is the current fix to ensure that these ops are sent with all the required performance data appropriate?

Did we get to the bottom of why can this happen? I think that will inform if the fix is correct or not :). If this is something that might occur naturally because of X and Y well-understood reasons, it might be ok, but we really need to understand what those reasons are.


clean-dashboard is uncollapsing the releases too

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Include in this issue:

[X] Screenshots/video/gif demonstrating the bug, if it’s visual
[ ] Console errors, if any

Description
clean-dashboard should uncollapse only the starred updated. Releases updates in the newsfeed should be kept collapsed.
Example URL
github.com
Browser(s) used
Chrome

Also this happens when clean-dashboard is disabled, so there must be some style leaks

My bad, this was caused by my own custom CSS :sweat:


New package: ProgressMeterLogging v0.1.0

Registering package: ProgressMeterLogging
Repository: https://github.com/tkf/ProgressMeterLogging.jl
Created by: @tkf
Version: v0.1.0
Commit: e458784a79e1728378894a5ebf5224f42dc4a7d6
Reviewed by: @tkf
Reference: https://github.com/tkf/ProgressMeterLogging.jl/issues/1

Your new package pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: LoggingExtras, ProgressMeter

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

Your new package pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request after the mandatory waiting period has elapsed.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


EZFormValueTransformer.m:63:33: Implicit conversion from nullable pointer 'id _Nullable' to non-nullable pointer type 'id _Nonnull'

Demo projects compile failed at : EZFormValueTransformer.m:63:33:
Does anyone have the same issue?

(instancetype)valueTransformerWithKeyPath:(NSString *)keyPath
{
return [self valueTransformerWithBlock:^id(id input) {
  if (input == nil) {
      return nil;
  }

  if ([input isKindOfClass:[NSString class]]) {
      return input;
  }

  // did we end up with an array? multi-select data
  if ([input isKindOfClass:[NSArray class]]) {

      // if it is an array of strings we can't map on that
      if ([((NSArray *)input).firstObject isKindOfClass:[NSString class]]) {
          return input;
      }

      NSMutableArray *keys = [NSMutableArray array];
      for (id i in (NSArray *)input) {
          [keys addObject:[i valueForKeyPath:keyPath]]; //  <-------------------- Failed to  compile
      }
      return [keys copy];
  }

  id value = [input valueForKeyPath:keyPath];
  return value;

}];
}

There are issues with compiling EZForm with Xcode 7. You'll find the develop branch has the a number of new commits that fix these issues.
I will be updating the cocoapods in the coming days as I confirm the fixes are good enough.

I had the same error (XCode 7). I went with the latest from the 'develop' branch and now it works. Thank you !


Create a pull request template

The pull request template has a checklist for reviewers. It will help both
contributors and reviewers remember to check for test coverage, API
documentation, and conformance to the style guide. Although we can and should
automate some of these checks, there is no substitute for human inspection.

Can one of the admins verify this patch?

@traiansf Could you whitelist @ttuegel for running Jenkins tests?

Jenkins: add to whitelist

I'm not fully sure if this is ready for review or not, but I'll assume that it is. Usually we either add a "DO NOT REVIEW" suffix to the pull request description, to mark it as incomplete, or we add someone as a reviewer.

Usually we either add a "DO NOT REVIEW" suffix to the pull request description, to mark it as incomplete, or we add someone as a reviewer.

Yes, I intended this to be ready for review. Sorry, I wasn't sure who to add as reviewer.

@virgil-serbanuta Actually, I can't request a review because I am not a member.


Add cmake support for building usign cygwin

No one is asking for this at this time and there are more compelling ways to run Linux inside windows, e.g. WSL.


SAW -> SAWTOOTH everywhere

Some parts of the code use SAWTOOTH while others use SAW and this actually causes a bug when sawtooth waves are used. This change makes the code use SAWTOOTH everywhere.

Yup, thanks!


Update to build_tarballs()

Now that I've merged https://github.com/JuliaPackaging/BinaryBuilder.jl/pull/175, this is the new hotness with regards to build_tarball.jl files.

Thanks!


Add an error_types option to the Raven Client

With this error_types option it's now possible to set directly which kinds of errors should
be reported.
... and furthermore i changed the privates variabled to protected.

Thanks!


Dev Server Hot-Reload Failure Post Local Path Name Changes

Version
4.5.4
Reproduction link
https://github.com/1CoolUsername/Dev-Server-Hot-Reload-Fault
Environment info
  System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Binaries:
    Node: 12.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.3.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 85.0.4183.102
    Edge: Spartan (44.18362.449.0)
  npmPackages:
    @ant-design-vue/babel-helper-vue-transform-on:  1.0.1
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.5.4
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.5.4
    @vue/cli-plugin-babel: ^4.5.0 => 4.5.4
    @vue/cli-plugin-router: ^4.5.0 => 4.5.4
    @vue/cli-plugin-vuex: ^4.5.0 => 4.5.4
    @vue/cli-service: ^4.5.0 => 4.5.4
    @vue/cli-shared-utils:  4.5.4
    @vue/component-compiler-utils:  3.2.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/web-component-wrapper:  1.2.0
    vue: ^2.6.11 => 2.6.12
    vue-cli-plugin-vuetify: ^2.0.7 => 2.0.7
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.3
    vue-router: ^3.2.0 => 3.4.3
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.11 => 2.6.12
    vue-template-es2015-compiler:  1.9.1
    vuetify: ^2.2.11 => 2.3.10
    vuetify-loader: ^1.3.0 => 1.6.0
    vuex: ^3.4.0 => 3.5.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Change the file path of project from c://battle to c://combat or any variation thereafter and the hot-reload stopped working for the dev server. Attempted to change it and create fresh projects but CLI still reverts to working directories which don't even exist anymore when trying to use the same name. ex. c://Combat instead of c://combat
What is expected?
CLI/Node_Modules takes into account path name changes
What is actually happening?
CLI reverts to using what has been cached or some other logic unknown to devs.

While attempting to keep the folder names in line with GitHub repositories upon changing the local path name. CLI prompted the following warning after compile and file save changes.
WARN: Couldn't parse bundle asset "C:\Users\ENL2017\Documents\GitHub\combat\dist\app.479bb249c5392e49a328.hot-update.js".

Ill take a simple solution as well. Such as what file to alter for the dev server to take into account the local path name change. Tried multiple work around such as deleting the project from the CLI, localPath, etc. Currently have the project siloed but was able to replicate it with a fresh project using the same name from before.

The CLI was updated to 4.5 in hopes this was fixed with the release. However, it remains broken in both cli v3 and cli v4.

Still an ongoing issue but can be solved by cloning a similar working project and just moving the src folder as to limit any other source code contamination. May be closed if no reproduction is possible...


Generate variables from one skill(Native/Semantic) output for pipeline execution.

While running the skills in a pipeline the generated output of one skill is put into the variable INPUT in the ContextVariables(calling the context variable's update method) and then before running the next skill prompt template engine will create blocks and replace the input variable with the last skill execution output.
But in example let's say
skillOne -> Generates some context and set the output in variable1
skillTwo -> Generates some context and set the output to variable2

skillThree -> The prompt looks like " Write a paragraph on topic {{variable1}} to create XXX and use {{variable2}} as the different inputs"

So instead of calling the skills separately and setting the variables in context
outputOne = kernel.RunAsync(skillOne, input);
outputTwo=  kernel.RunAsync(skillTwo, input);

contextVariables.Set("variable1", outputOne );

contextVariables.Set("variable2", outputTwo);
kernel.RunAsync(skillThree, contextVariables);

What I want want to do is
kernel.RunAsync(input, skillOne, skillTwo, skillThree)
The config of skills should handle the information of output variables. Just like we can mention input variables for a skill we should be able to add output variables and the engine should handle the generation of output variables and setting them into the context.
This might be not feasible to do as we might face problems like generating multiple output variables from selecting the completed text but wanted to hear more thoughts on this.

There's definitely work we want to do to improve the visibility of outputs from functions.
In the short term, I'd try using the Plan object.
`        var prompt = "Write a {{$input}} on topic {{$variable1}} and use {{$variable2}} as the voice of the poem.";
    // Import Skills
    var summarize = kernel.CreateSemanticFunction(prompt);
    var testSkill = kernel.ImportSkill(new TestSkill(), "TestSkill");

    // Create PLan
    Plan plan = new("Create a text using skills");
    plan.AddSteps(testSkill["SkillOne"], testSkill["SkillTwo"], summarize);

    plan.Steps[0].Outputs.Add("variable1");
    plan.Steps[1].Outputs.Add("variable2");

    // Execute Plan
    var result = await plan.InvokeAsync("poem");
    Console.WriteLine(result.Result);`

Closing old issues, please re-open if you have more to add to the issue.


proposal: cmd/go: allow go run to pass custom environment variables

This is a proposal to extend the syntax of the command line of go run to allow to pass environment variables to the program that is executed after its compilation.
The current syntax:
go run [build flags] [-exec xprog] package [arguments...]

The proposed syntax:
go run [build flags] [-exec xprog] [name=value ...] package [arguments...]

That extended syntax will be incompatible with = being used in the package (package name, .go file) specification. However the language reference already mentions that a compiler implementation may exclude = from import paths.
Why?

It is useful to be able to pass to the compiled program some environment variables with values different from the values passed to go run which might be needed for building the program (example: #37846)
go run is often used in //go:generate commands. It is often needed to pass environment variables to the program, but there is no built-in portable way for calling a command with environment variables (env(1) is available on Unixes, but not on Windows. Workaround: github.com/dolmen-go/env)

I would argue against complicating go run, which should only be used for quick little tests and not for production jobs. Also, there should be little need for generators to be portable, as the design is for them to run on the author's machine, not the user's. In any case I don't see why prefixing the command with VAR=VALUE wouldn't cover almost every possible use of this idea, and for portability to Windows one can always wrap the command with sh -c.

CC @bcmills @matloob

Also, there should be little need for generators to be portable, as the design is for them to run on the author's machine, not the user's.

In a development team some developers might work on Windows while others on Unixes. This is even more true on open source projects where you can't enforce a unified development environment.

In any case I don't see why prefixing the command with VAR=VALUE wouldn't cover almost every possible use of this idea, and for portability to Windows one can always wrap the command with sh -c.

VAR=value go run foo.go doesn't work on Windows.
Windows doesn't have sh in PATH.

If the motivation for this is primarily about go:generate comments and the go generate command, would you consider a solution that is more tightly scoped to that mechanism?
For example, I imagine that the code that finds go:generate comments and extracts the commands to run could, in principle, recognise a syntax for specifying environment variables to set and set them itself before running the specified command. That would still add some complexity, but it would be felt only by the subsystem that would seem to benefit from it the most.

With that said, if the environment variable values are going to be hardcoded into a comment in your source code anyway, I would expect that you could equivalently run a small wrapper program included in your own repository which sets those variables and then runs the main tool you intended to run.
It would be less convenient of course, but it seems justified for more esoteric needs to have less convenient solutions. I suppose we will see in this discussion whether or not this is an esoteric need or a common situation!
(I personally have not encountered this problem despite making quite extensive use of go:generate, but of course I am only one data point.)

(But at that point why not have the command accept flags instead?)

I wrote github.com/dolmen-go/env, a portable implementation of env(1) that you can run via go run for that purpose, and I have already point to it in the proposal.

@bcmills wrote:

(But at that point why not have the command accept flags instead?)

Here is one to fix src/time/zoneinfo.go:
//go:generate env ZONEINFO=$GOROOT/lib/time/zoneinfo.zip go run genzabbrs.go -output zoneinfo_abbrs_windows.go

It seems that #37846 is the perfect use case for this proposal.

IMHO the problem goes much deeper and the proposal is just a workaround for a different problem:
go generate needs to be aware of crosscompile situations and cant trust the GOARCH/GOOS variables, but instead detect on its own (unless explicity told by other variables)
See my comments in the other ticket.

@dolmen

Replacing the environment variable with a command line flag in genzabbrs.go is not that trivial.

Isn't it? Seems like it would just need something like os.Setenv("ZONEINFO", *zoneinfo) in between the calls to flag.Parse and readWindowsZones. 🤔


⚠ Samsung has degraded performance

In 99a1265, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3238 ms

Resolved: Samsung performance has improved in 1df169b.


Multi-GPU evaluation without horovod is sequential

Meaning that second GPU will start computation only when the first one is finished. This is an artifact of the new multi-GPU implementation. It's probably not too difficult to fix (just need to pass tensors from all copies of the model to sess.run), but will make the code much more complicated, since Horovod and non-Horovod processing will need to be different. We don't prioritize solving this issue since on Horovod everything works correctly and that's a recommended way to do multi-GPU anyway, because only Horovod has nccl support.

Fixed in dev0.4 branch (except the case when dataset does not define size)


trying to stream source through socket

//Server
server.js
socket.on('stream-video', function (stream) {
var recordStream = recorder(stream, {
mimeType: 'video/webm; codecs=vp8',
interval: 100
});
var sourceStream = sourcer();
recordStream.pipe(sourceStream);
socket.broadcast.emit("stream-video", sourceStream);
});
//Streamer
streamer.js
signaling_socket.emit("stream-video", stream);
// Viewers
viewer.js
signaling_socket.on('stream-video', function(stream){
var url = window.URL.createObjectURL(stream.mediaSource);
document.querySelector('video').src = url;
});
Can I do something like this?
i have error in server side
node_modules/media-recorder-stream/index.js:36
rs.recorder = new window.MediaRecorder(media, opts)
^

Just to be clear, you're trying to stream from a browser to a Node server via socket.io?

Yes, i want make stream from server. 1 streamer -> server -> many viewers

Ok I understand. So Node has no MediaRecorder API, which is why you're getting that error. You need to do the recording on the streamer's browser. You also need to send the data that the stream emits, not the stream object itself:
server.js
socket.on('stream-video', function (data) {
  socket.broadcast.emit("stream-video", data);
})

streamer.js
var recordStream = recorder(stream, {
  mimeType: 'video/webm; codecs=vp8',
  interval: 100
})
recordStream.on('data', function (data) {
  signaling_socket.emit("stream-video", data);
})

viewer.js
var sourceStream = MediaSourceStream({
  mimeType: 'video/webm; codecs="vp8"'
 })
var url = window.URL.createObjectURL(sourceStream.mediaSource)
document.querySelector('video').src = url
signaling_socket.on('stream-video', function(data){
  sourceStream.write(data)
})

This should work if I haven't missed anything.
Please note you'll encounter #1 if any clients connect after the stream has already started. Streams can't be played from partway through yet.

Please note you'll encounter #1 if any clients connect after the stream has already started. Streams can't be played from partway through yet.
Ok.

Uncaught TypeError: Cannot set property 'src' of null
maybe inside stream-video in viewer?

Did you create a video element? The source I posted isn't nearly complete.

oh,sorry, i created then work fine but have errors
TypeError: Invalid non-string/buffer chunk

socket.io might be transforming your data when it sends it. Could you log data just before sourceStream.write(data)?

Change:
sourceStream.write(data)
to
sourceStream.write(data.data)

same error :)
Uncaught TypeError: Invalid non-string/buffer chunk   -- media-source-stream.js:4482
at validChunk (media-source-stream.js:1779)
at MediaSourceStream.Writable.write (

i wanna try at latest version of socket

Same error

I see that you have been doing streaming for a long time) I want to do relaying(restream) through the server, what options can I still use?

socket.io is converting the Buffer into an Array. You'll have to convert it back with safe-buffer.
var Buffer = require('safe-buffer').Buffer
sourceStream.write(new Buffer(data.data)) // might be just new Buffer(data), try both

There's really not many options for pure-Node.js streaming right now. There's quite a few decent media servers if you want to take the time to set them up.

Maybe just serialize data?

If you're going to do your own serialization, I would recommend not using socket.io. It's not designed for binary data anyhow. simple-websocket would be better since it deals with Buffers to start with.

with buffer data.

Uncaught DOMException: Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer has been removed from the parent media source.

with buffer data.data.

bundle.js:990 Uncaught TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.

Maybe I should try via simple-websocket ? )))

You cannot add a blob to the stream. It has to be a buffer.

I'll try to write an example for this on the weekend. It's a common usecase.


Filter

Hello
If I may suggest something, it is an option to change the position of the filter at the crafting menu, it currently blocks the last line in the crafting list.
Thanks for the great mods.

Good call, I think it was 'CraftingFilter' by cjayride causing that issue.

I had this issue too when craft filter feature was first released but it was reported and I've fixed that.
If you use another craft filter mod you better disable this feature in MLUI to prevent possible issues.


install

hii
is there an install document !?

Hi! I couldn't find one... but I figured what to do to install and build samples for android (Delphi tokyo):
Install latest java 1.7 AND 1.8, android  SDK of Oreo (27)
edit compilejar_tokyo.bat lines 19-23
and fix line 46 from
%JDK_PATH%\javac -source 1.7 -target 1.7 -bootclasspath %JDK_PATH1_7%\jre\lib\rt.jar -Xlint:unchecked -Xlint:deprecation -cp^
to
%JDK_PATH%\javac -source 1.7 -target 1.7 -bootclasspath %JDK_PATH1_7%\..\jre\lib\rt.jar -Xlint:unchecked -Xlint:deprecation -cp^
note ".."
from CMD run compile_tokyo... (I didnt build demos)
than, with your Delphi, open source\Alcinoe_tokyo.dproj, build and install the components and add library paths!
It's it

Hi,  I just found alcinoe components a few days ago.  I would like to use it. I am having this issue:
"[DCC Fatal Error] FMX.ListView.pas(5822): F2051 Unit Fmx.Bind.Editors was compiled with a different version of FMX.ListView.TCustomListView "
My alcinoe installation:

Downgrade to Tokyo, I am using Rio, but it is fine use Tokyo to use Alcinoe.
O changed my sdk android to Android 9 (28)
I backup all berlin's fmx units  and replaced the originals with the alcinoe patched units.  ( I tryed to just add the alcinoe patched path to the library path but I was getting a lot of different version compiled unit )

With this 3 steps above, I can build all alcinoe demos.  But I open my actual project and I got this error.
What I did wrong ?
Thanks @Zeus64  for this great work!

@cunhajr Delete all the DCUs in your project's folder and then select build all.
The error you are describing usually results from having some search paths which point to a folder which has DCUs for your own code which was built with a different version of Delphi and have not got rebuilt from the .PAS files.

@checkdigits thanks I will check the DCUs
I was thinking that my issue is related the way I installed alcinoe, I didn't recompiled it using the compile_tokyo.bat, due the MSBUILD6002 error with max_path,  I have two delphis ( Tokyio and Rio ) on my computer and maybe this is causing the problem with msbuild.
I will double check the dcu as you sugested @checkdigits  but I have a doubt about the patched fmx folder. Should I copy the files to fmx delphi folder ?
Thanks a lot.

I was able to install it in tokyo even though I also have rio installed on my pc

Ah I think you might have to resolve the issue with MAXPATH first - I didn’t notice that you’d not recompiled using MSBuild; you’ll need to do that for it to work ☹

I tried everything to fix this:
Microsoft (R) Build Engine Version 3.5.30729.8931
[Microsoft .NET Framework, Version 2.0.50727.8940]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 12/05/2019 11:39:33.
Project "c:\alcinoe-master\source\Alcinoe_tokyo.dproj" on node 0 (default targets).
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets : warning MSB6002: The command-line for the
"DCC" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the c
ommand-line by breaking down the call to "DCC" into multiple calls with fewer parameters per call.
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets(399,5): error MSB6003: The specified task ex
ecutable "dcc" could not be run. O nome do arquivo ou a extensão é muito grande
Done Building Project "c:\alcinoe-master\source\Alcinoe_tokyo.dproj" (default targets) -- FAILED.
Build FAILED.
"c:\alcinoe-master\source\Alcinoe_tokyo.dproj" (default target) (1) ->
(_PasCoreCompile target) ->
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets : warning MSB6002: The command-line for th
e "DCC" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the
command-line by breaking down the call to "DCC" into multiple calls with fewer parameters per call.
"c:\alcinoe-master\source\Alcinoe_tokyo.dproj" (default target) (1) ->
(_PasCoreCompile target) ->
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets(399,5): error MSB6003: The specified task
executable "dcc" could not be run. O nome do arquivo ou a extensão é muito grande
1 Warning(s)
1 Error(s)

Ok I see what you mean. I’m currently not at my office so I can’t give you a specific answer. It should be fixable though, it’s just the pathnames (I think) when expanded are too long.

Hi, everything is now documented in the ReadMe.md at https://github.com/MagicFoundation/Alcinoe


End Portal not working in 1.21.1

Information

Server version:

This server is running Paper version 1.21.1-12-master@1798e94 (2024-08-12T07:48:10Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
Previous version: git-Paper-19 (MC: 1.20.1)

Full output of /mv version -p:
[22:49:06 INFO]: [Multiverse-Core] Multiverse-Core Version: 4.3.1-b861
[22:49:06 INFO]: [Multiverse-Core] Bukkit Version: 1.21.1-12-1798e94 (MC: 1.21.1)
[22:49:06 INFO]: [Multiverse-Core] Loaded Worlds: [{"MVWorld@1392134466":{"Gen":"null","Type":"NORMAL","Env":"NETHER","Name":"terraworld_nether"}}, {"MVWorld@673405878":{"Gen":"null","Type":"FLAT","Env":"NETHER","Name":"lobby_nether"}}, {"MVWorld@722491339":{"Gen":"BentoBox","Type":"FLAT","Env":"NETHER","Name":"bskyblock_world_nether"}}, {"MVWorld@305381125":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"vanillaworld"}}, {"MVWorld@1975426691":{"Gen":"BentoBox","Type":"FLAT","Env":"THE_END","Name":"bskyblock_world_the_end"}}, {"MVWorld@1963878703":{"Gen":"null","Type":"FLAT","Env":"NETHER","Name":"oneblock_world_nether"}}, {"MVWorld@1924234955":{"Gen":"null","Type":"FLAT","Env":"NORMAL","Name":"creative"}}, {"MVWorld@1940165024":{"Gen":"null","Type":"FLAT","Env":"NORMAL","Name":"lobby"}}, {"MVWorld@1195533011":{"Gen":"null","Type":"FLAT","Env":"THE_END","Name":"oneblock_world_the_end"}}, {"MVWorld@1850067967":{"Gen":"BentoBox","Type":"FLAT","Env":"NORMAL","Name":"oneblock_world"}}, {"MVWorld@1863195186":{"Gen":"null","Type":"NORMAL","Env":"THE_END","Name":"terraworld_the_end"}}, {"MVWorld@750516343":{"Gen":"TerraformGenerator","Type":"NORMAL","Env":"NORMAL","Name":"terraworld"}}, {"MVWorld@1823156834":{"Gen":"null","Type":"NORMAL","Env":"NETHER","Name":"vanillaworld_nether"}}, {"MVWorld@1775194605":{"Gen":"BentoBox","Type":"FLAT","Env":"NORMAL","Name":"bskyblock_world"}}, {"MVWorld@1037038333":{"Gen":"null","Type":"NORMAL","Env":"THE_END","Name":"vanillaworld_the_end"}}]
[22:49:06 INFO]: [Multiverse-Core] Multiverse Plugins Loaded: 3
[22:49:06 INFO]: [Multiverse-Core] Economy being used: EssentialsX Economy
[22:49:06 INFO]: [Multiverse-Core] Permissions Plugin: Bukkit Permissions (SuperPerms)
[22:49:06 INFO]: [Multiverse-Core] Dumping Config Values: (version 2.9)
[22:49:06 INFO]: [Multiverse-Core]   enforceaccess: false
[22:49:06 INFO]: [Multiverse-Core]   prefixchat: false
[22:49:06 INFO]: [Multiverse-Core]   prefixchatformat: [%world%]%chat%
[22:49:06 INFO]: [Multiverse-Core]   useasyncchat: true
[22:49:06 INFO]: [Multiverse-Core]   teleportintercept: true
[22:49:06 INFO]: [Multiverse-Core]   firstspawnoverride: true
[22:49:06 INFO]: [Multiverse-Core]   displaypermerrors: true
[22:49:06 INFO]: [Multiverse-Core]   enablebuscript: true
[22:49:06 INFO]: [Multiverse-Core]   globaldebug: 0
[22:49:06 INFO]: [Multiverse-Core]   silentstart: false
[22:49:06 INFO]: [Multiverse-Core]   messagecooldown: 5000
[22:49:06 INFO]: [Multiverse-Core]   version: 2.9
[22:49:06 INFO]: [Multiverse-Core]   firstspawnworld: lobby
[22:49:06 INFO]: [Multiverse-Core]   teleportcooldown: 1000
[22:49:06 INFO]: [Multiverse-Core]   defaultportalsearch: false
[22:49:06 INFO]: [Multiverse-Core]   portalsearchradius: 128
[22:49:06 INFO]: [Multiverse-Core]   autopurge: true
[22:49:06 INFO]: [Multiverse-Core] Special Code: FRN002
[22:49:06 INFO]: [Multiverse-Portals] Multiverse-Portals Version: 4.2.3
[22:49:06 INFO]: [Multiverse-Portals] Loaded Portals: 11
[22:49:06 INFO]: [Multiverse-Portals] Dumping Portal Values: (version 2.7)
[22:49:06 INFO]: [Multiverse-Portals]   wand: 271
[22:49:06 INFO]: [Multiverse-Portals]   useonmove: true
[22:49:06 INFO]: [Multiverse-Portals]   portalsdefaulttonether: false
[22:49:06 INFO]: [Multiverse-Portals]   enforceportalaccess: true
[22:49:06 INFO]: [Multiverse-Portals]   portalcooldown: 1000
[22:49:06 INFO]: [Multiverse-Portals]   clearonremove: false
[22:49:06 INFO]: [Multiverse-Portals]   framematerials: []
[22:49:06 INFO]: [Multiverse-Portals] Special Code: FRN001
[22:49:06 INFO]: [Multiverse-Inventories] Multiverse-Inventories Version: 4.2.6
[22:49:06 INFO]: [Multiverse-Inventories] === Settings ===
[22:49:06 INFO]: [Multiverse-Inventories] First Run: false
[22:49:06 INFO]: [Multiverse-Inventories] Using Bypass: false
[22:49:06 INFO]: [Multiverse-Inventories] Default Ungrouped Worlds: false
[22:49:06 INFO]: [Multiverse-Inventories] Save and Load on Log In and Out: false
[22:49:06 INFO]: [Multiverse-Inventories] Using GameMode Profiles: false
[22:49:06 INFO]: [Multiverse-Inventories] === Shares ===
[22:49:06 INFO]: [Multiverse-Inventories] Optionals for Ungrouped Worlds: true
[22:49:06 INFO]: [Multiverse-Inventories] Enabled Optionals:
[22:49:06 INFO]: [Multiverse-Inventories] === Groups ===
[22:49:06 INFO]: [Multiverse-Inventories] vanillaworld: {Worlds: [vanillaworld, vanillaworld_nether, vanillaworld_the_end], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
[22:49:06 INFO]: [Multiverse-Inventories] terraworld: {Worlds: [terraworld_nether, terraworld_the_end, terraworld], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
[22:49:06 INFO]: [Multiverse-Inventories] oneblock: {Worlds: [oneblock_world_the_end, oneblock_world, oneblock_world_nether], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
[22:49:06 INFO]: [Multiverse-Inventories] skyblock: {Worlds: [bskyblock_world_nether, bskyblock_world_the_end, bskyblock_world], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
[22:49:06 INFO]: [Multiverse-Inventories] parkour: {Worlds: [parkour_world, parkour_world_nether, parkour_world_the_end], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
[22:49:06 INFO]: [Multiverse-NetherPortals] Multiverse-NetherPortals Version: 4.2.3
[22:49:06 INFO]: [Multiverse-NetherPortals] Nether Prefix:
[22:49:06 INFO]: [Multiverse-NetherPortals] Nether Suffix: _nether
[22:49:06 INFO]: [Multiverse-NetherPortals] End Prefix:
[22:49:06 INFO]: [Multiverse-NetherPortals] End Suffix: _the_end
[22:49:06 INFO]: [Multiverse-NetherPortals] Nether Links: {vanillaworld=vanillaworld_nether, terraworld=terraworld_nether, bskyblock_world=bskyblock_world_nether}
[22:49:06 INFO]: [Multiverse-NetherPortals] End Links: {vanillaworld=vanillaworld_the_end, terraworld=terraworld_the_end, bskyblock_world=bskyblock_world_the_end}
[22:49:06 INFO]: [Multiverse-NetherPortals] Bounceback: true
[22:49:06 INFO]: [Multiverse-NetherPortals] Teleport Entities: true
[22:49:06 INFO]: [Multiverse-NetherPortals] Send Disabled Portal Message: true
[22:49:06 INFO]: [Multiverse-NetherPortals] Send No Destination Message: true
[22:49:06 INFO]: [Multiverse-NetherPortals] Server Allow Nether: true
[22:49:06 INFO]: [Multiverse-NetherPortals] Server Allow End: false
[22:49:06 INFO]: [Multiverse-NetherPortals] Special Code: FRN001

Help request
Problem
End portal not working.
If the world doesnt exist, it says I need to add it. After adding and linking it, its not working
Also Nether Portals got issues (but oddly work after  relinking) - seems like others got these issues too
What I have tried
Well everything thats possible
From removing the world and creating a new end world, to relinking, updating and rechecking every config and so on

[22:49:06 INFO]: [Multiverse-NetherPortals] End Links: {vanillaworld=vanillaworld_the_end}
end is linked but not working
I can mvtp there, but the portal never works

Could you define the postal “not working”
does it send any messages?
Does it do anything?

Ye what to define?
Since I updated my server, its not working.
I read other comments and saw for many neither End nor Nether works - for me End doesnt work and Nether is kinda buggy
I get no errors, its just not working
When I remove the end word and try to use the portal - it says no end world exists
When I readd the end world (old one, recreated, ..) - nothing happens
I rechecked all configs, its all correctly linked
The log even says its linked
But its simply not working - I would provide more infos if I could, but I cant

I just activated "/mv debug 3"
This is what I get after entering the portal in my server logs:
[23:18:22 INFO]: [Multiverse-Core-Debug] Multiverse Debug ENABLED [23:18:23 INFO]: [Multiverse-Portals-Debug] Found The TouchedPortal event. [23:18:23 INFO]: [Multiverse-Core-Debug] EnforceAccess is OFF. Player was allowed in vanillaworld_the_end [23:18:23 INFO]: [Multiverse-NetherPortals-Debug] Finding new teleport location for player SaltyySenpai to world vanillaworld_the_end [23:18:23 INFO]: [Multiverse-NetherPortals-Debug] Player 'SaltyySenpai' was allowed to go to 'vanillaworld_the_end' because enforceaccess is off.

Set allow-end to true in bukkit.yml

ok my bad, i did it in paper.yml and spigot.yml and not bukkit.yml
my bad - nether still seems buggy, but it works now ty


Separate Soul Core and Studio Repositories

Is your feature request related to a problem? Please describe.
Right now Core and Studio reside in this repo, making the CI process a bit hard and messy.
Describe the solution you'd like
It's time to separate them into two isolated reports.
Describe alternatives you've considered
No other alternative can fix this issue.
Additional context
We should create a new repo for studio and keep core here.

Note: once this is done, core can sit at the root of the repo, and it should be really easy to provide a deployment of each PR in Heroku, for review/test.

@IanMayo Thanks for the reminder, to prevent conflicts with the work that @AbegaM is doing right now, we can finish that PR and then stop doing any new stuff and just separate core and studio for good.
What do you think about this?

Yeah I'm confident that it's going to be a quick process


Wrong use of  in guidelines for ?

In my understanding, <subst> is for encoding scribal substitutions, not editorial substitutions. That's how I read the guideline chapter Substitutions, Restorations, and Handshifts, which seems to match how the TEI equivalent is designed to be used.
However, <subst> is used for grouping editorial additions in an example of chapter Omissions, Unclear Readings, Damage, and Supplied Readings. Being no edittrans expert, I feel this is probably improper use and the example should be changed - but how?  <choice> wouldn't be a drop-in replacement for <subst> here, it neither allows <gap> nor <supplied> as content.
As a side note:  All notes under the beam in that example are oddly encoded as quarter notes.

Indeed! That should be an orig/reg:
<choice>
    <orig>
        <gap extent="two eighth notes" reason="missing notes"/>
    </orig>
    <reg>
      <note pname="e" oct="3" dur="4"/>
      <note pname="f" oct="3" dur="4"/>
    </reg>
  </choice>

But then this isn't an illustration of the <supplied> element any more, so it needs to be replaced with something different.

Huh. I'm surprised that's the only example. Something with music ficta, or adding an accidental forgotten in a manuscript would be much more relevant.

I wouldn't say that the <subst> example is wrong, but that perhaps the "Substitutions, Restorations, and Handshifts" part of the Guidelines is incomplete.  Without the use of <subst> to gather editorial interventions, what should be used instead?  I don't think the TEI method; that is, <gap/> immediately followed by <supplied>, is helpful as it doesn't signal the alternative paths available.  To rectify this problem, it was decided to use <subst>.  I suppose the other option would be <choice>, but if we follow TEI's lead, this leads to a dead-end as well.  So, the issue really is, since TEI doesn't provide a way to group editorial interventions, how faithful must we be to it?

@pe-ro what's wrong with my choice/orig/reg rewrite of the example above? That's how it would be done in TEI and it does what was intended in the original example with <subst>.

Nothing wrong with your rewrite.  Please fix the Guidelines example.
But I'm looking for a way to group editorial interventions without resorting to app/rdg.

Maybe this is for a different ticket, but what do you mean by grouping editorial interventions? If it's akin to the example above, then choice/orig/reg is the obvious solution, no need for app/rdg.

How does one group <gap> and <supplied>?

Or, how can <supplied> be grouped with <damage>?

I would group them with choice/orig/reg.
<gap> is an editorial description of missing content (so not an intervention, per se), while <supplied> makes sense on its own, but in this case it's replaced by <reg> - also an editorial intervention that rather than supplying, it regularizes.
I would also do the same with <damage>: <orig> allows me to describe that something problematic was there; <reg> allows me to describe what I'm going to do about it.
If I wanted to use <supplied> in the <gap> example, I wouldn't use <gap> because supplied already implies that something is lacking. If what's lacking needs to be specified, then I need to distinguish between what was there and what was added (with choice/orig/reg). This is how TEI does it and it seems sound to me.

I see the logic, but that requires an extra layer in the hierarchy and it throws a significant wrench in the works re: the content models of choicePart and substPart.  But, if this is the way to go, let's break them now rather than later.

I think that's worth it; so that we get to keep the definition of choice and subst well distinguished between editor and scribe. But we probably need to hear from @kepper as well.

Well, you certainly don't need to hear from me – but thanks for asking ;-) I'm not sure I really get the point of this discussion, but I totally agree that we need to be as clear as possible with a separation between "editor markup" and "scribal markup". It seems equally clear that this is the distinction between choice and x, but I'm not perfectly decided if x = subst. I guess everything a scribe does can be subsumed under the term substitution, but not everything can be subsumed under the tag subst. With the Beethoven, we moved away from wrapping a del/add combination with subst, as this subst effectively prevents us from using restore for the deleted part (it doesn't seem to be clear if the restore takes away the added material or not).
Also, I'm not sure what the nesting issues on the editor side will result in. My first take is that it's not a huge issue, but needs proper clarification in the guidelines. The only choice pairs I've used to far are orig+reg, sic+corr and abbr+expan, with direct music content. Nesting everything else into these pairs seems reasonable, but again, I'm not completely settled yet ;-)


Testing-  Action pages - Work With Us

Action pages Guide
Add your name to the owner in content sprint page to a group of pages. To see action pages only filter the qa task column.
Work with us/Bounties

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[ ]  Desktop chrome
[ ]  Desktop brave

Work with us/onboarding

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[ ]  Desktop chrome
[ ]  Desktop brave

Work with us

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[x]  Desktop chrome
[x]  Desktop brave

Work with us/Translations

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[ ]  Desktop chrome
[ ]  Desktop brave

Work with us/Meetups

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[x]  Desktop chrome
[x]  Desktop brave

Work with us/Hackathons

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[ ]  Desktop chrome
[ ]  Desktop brave

Work with us/Governance and risk meetings

[x]  phone browser 1 (safari)
[x]  phone browser 2 (chrome)
[x]  Desktop chrome
[x]  Desktop brave

Work with us/Governance and risk meetings/Take notes

[ ]  phone browser 1 (safari)
[ ]  phone browser 2 (chrome)
[ ]  Desktop chrome
[ ]  Desktop brave

Testing

Work with us/Translations doesn't exist, completed QA on  Resources/Engineering for Communities/Translations

I am not familiar with Brave, so I completed the Desktop QA of pages using Firefox and Chrome.


Extra keyword arguments passed to fields based on Enum are not propagated to the schema.

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.7.2
            pydantic compiled: True
                 install path: /usr/local/lib/python3.7/site-packages/pydantic
               python version: 3.7.9 (default, Oct 13 2020, 20:59:51)  [GCC 8.3.0]
                     platform: Linux-4.15.0-122-generic-x86_64-with-debian-10.6
     optional deps. installed: ['typing-extensions', 'email-validator']

Detail
The bug is a regression, demonstrated with the following script.
from enum import Enum
from typing import List
from pydantic import BaseModel, Field

class FooEnum(str, Enum):
    foo = "foo"
    bar = "bar"
    baz = "baz"

class FoosModel(BaseModel):
    foos: List[FooEnum] = Field(examples=[["foo", "bar"]])

if __name__ == "__main__":
    print(FoosModel.schema())

This is the difference between outputs between pydantic==1.6.1 and pydantic==1.7.2 (the problem was introduced in pydantic==1.7.0).
{
    "title": "FoosModel",
    "type": "object",
    "properties": {
        "foos": {
+           "title": "Foos",
+           "examples": [["foo", "bar"]],
            "type": "array",
            "items": {"$ref": "#/definitions/FooEnum"},
        }
    },
    "required": ["foos"],
    "definitions": {
        "FooEnum": {
            "title": "FooEnum",
            "description": "An enumeration.",
            "enum": ["foo", "bar", "baz"],
            "type": "string",
        }
    },
}

The problem arises because the function which adds the extra fields to the field schema now drops out early for Enum fields: https://github.com/samuelcolvin/pydantic/blob/31bc2435d7968fdf8d1f0c5c67f0f851c1bef54e/pydantic/schema.py#L262-L264 and therefore never runs the later code which attaches the extra fields:
https://github.com/samuelcolvin/pydantic/blob/31bc2435d7968fdf8d1f0c5c67f0f851c1bef54e/pydantic/schema.py#L278-L279
I'm preparing a merge request which will fix this.

I still seem to be having this issue on v1.7.4. Extra (as opposed to built in) key word args are not passed into schema unless I also include a built in keyword arg, like title, description, or even gt


x-flux-comfyui install failed: With the current security level configuration, only custom nodes from the "default channel" can be installed.

Hi all !
How to solve this issue?

Try this
https://comfyui-guides.runcomfy.com/ultimate-comfyui-how-tos-a-runcomfy-guide/how-to-fix-this-action-is-not-allowed-with-this-security-level-configuration

Try this https://comfyui-guides.runcomfy.com/ultimate-comfyui-how-tos-a-runcomfy-guide/how-to-fix-this-action-is-not-allowed-with-this-security-level-configuration

Thanks very much! It's solved!
modify custom_nodes\ComfyUI-Manager\config.ini and change security_level to:
security_level = weak


xcode 11.0  use pod build err " Showing All Messages Undefined symbol: _swift_FORCE_LOAD$_swiftCompatibilityDynamicReplacements" and " Showing All Messages Undefined symbol: _swift_FORCE_LOAD$_swiftCompatibility50"

building err
Showing All Messages Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements
Showing All Messages
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility50

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"

build success

Could you provide more details about your setup? Xcode version, CocoaPods version, how are you integrating SwiftMonkey and SwiftMonkeyPaws. Ideally, could you provide a sample project? Also Does the sample provided with the framework work for you?

I have the same error with Xcode 11.2.1, cocoapods (1.8.4)

Create an Empty Swift file using Xcode, and every issue will be solved by Xcode automatically.

Oh , well done @acalism, it works! , but I'm kind of curious.. could you explain why is like this ?

@acalism
Is there any way to fix it with out creating empty Swift file?

@acalism
Is there any way to fix it with out creating empty Swift file?

Then remove the empty file as you wish.

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

Thanks for the answer, but I'd like to know how dose it work?

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

build success

you saved my day, Thank you man!

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

It works for me thanks, but why?

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

Thanks for the answer, but I'd like to know how dose it work?

It works for me too ! Thanks buddy but yeah, why ?

Check this https://blog.cpming.top/p/react-native-0-62-undefined-symbol

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

It is great solution.

I have encounter that issue, but  above solution is perfect for me. thanks.

Void.swift

in which folder we have to create the file ??

Void.swift

in which folder we have to create the file ??

i also have same doubt.. did u find answer?

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

This function perfectly, but why works?

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

build success

This is the correct solution eventually in my case, but there is one more detail I found out which I think worth to mention.
If you made a framework which uses swift library (swiftCompatibility*.a) and then other project uses this framework will encounter similar link error even if they put those paths into "Library Search Paths". One the failure is by compiling the framework and project with different Xcode version (for saying, Xcode 11 to compile framework and Xcode 12 to compile project which uses previous framework).
I don't know why but somehow it can not automatically search the .a file, maybe because they are different version?

Void.swift

in which folder we have to create the file ??

i also have same doubt.. did u find answer?

You need to create in the main project folder, in the same folder as the AppDelegate file.
It solved the issue for me, so hopefully it does for you as well.

Void.swift

in which folder we have to create the file ??

i also have same doubt.. did u find answer?

You need to create in the main project folder, in the same folder as the AppDelegate file.
It solved the issue for me, so hopefully it does for you as well.

One of the failure is by compiling the framework and project with different Xcode version (for saying, Xcode 11 to compile framework and Xcode 12 to compile project which uses previous framework).
I don't know why but somehow it can not automatically search the .a file, maybe because they are different version?

@ownself, did you ever find a solution to this problem? Thanks!

One of the failure is by compiling the framework and project with different Xcode version (for saying, Xcode 11 to compile framework and Xcode 12 to compile project which uses previous framework).
I don't know why but somehow it can not automatically search the .a file, maybe because they are different version?

@ownself, did you ever find a solution to this problem? Thanks!

So far for us, we found one way to deal it, which you need to manually copy the *.a file into your framework project and explicitly link with it. That will make sure no matter which version of XCode they use for their project, when they link with your framework it will always link with your local copied *.a library file.

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

 Thanks a lot.

Figured this out. There is a new library in Xcode 12 that needs to be added to the Link Binary with Libraries phase call libSwiftWebKit.tbd. Error went away after adding this.

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

This way I was able to fix this issue, refer the below images =>

what the hell is this sorcery

😂😂 hours wasted only to find out this is the fix. Wow 🤷🏻

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

Amazing!

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

build success

From Xcode13 you should add new param: "$(SDKROOT)/usr/lib/swift"

Xcode 13.1:
In my case, dyld`__abort_with_payload: appeared.

creating an empty swift file solved the issue for me. any explanations? 😳😳😂

Alternate for those who already have bridging header: cocapods to latest version and do pod install.

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

build success

From Xcode13 you should add new param: "$(SDKROOT)/usr/lib/swift"

Xcode 13.1:
In my case, dyld`__abort_with_payload: appeared.

I have the same problem, did you solve it?

project->build settings->search path->Library Search Paths add Code
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

build success

From Xcode13 you should add new param: "$(SDKROOT)/usr/lib/swift"

Xcode 13.1:
In my case, dyld`__abort_with_payload: appeared.

@hstdt  I have the same problem, did you solve it?

Alternate for those who already have bridging header: update cocapods to latest version and do pod install.

Yep, just running this solved my issue:

sudo gem uninstall cocoapods (uninstalls the current version)
sudo gem install cocoapods (installs the latest version)
pod repo update (updates the local repository with latest from the remote)

If you still have the Xcode project built, you will need to reinstall the dependencies in the current project:

pod install

Create an Empty Swift file using Xcode, such as named Void.swift, and every issue will be solved by Xcode automatically.

What?? I mean how does it work??

If you want to know what Xcode has done, submit the code before creating the file, and check the changes after creating the file.


Table-row focus outline is hidden by selected border

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.
1.0.0-rc
Bug summary
Selected state, technically overwrites focus-outline. Meaning that focus-outline can not be seen.

Specifics
No response
Steps to reproduce
view the story
Expected result / actual result
No response

Fixed


Wiki Page instead of README ?

can we have a wiki page for API & all related stuff? instead of a very long readme

okay then, can't wait for a better and well documented docs, fell free to close this issue

I'm closing this as a duplicate of #123.

Forgot to actually close this.


Use an empty action for the add block token

Fix #7384

@MichaelMaar Thanks for taking the time to test 👍

As I wrote in issue #7384 this occur on all blocks where no dialog box is needed when inserting the block. I have tested this on the "horizontal rule" (because it is the only block in the core without a dialog box). But I have tried a few 3th party add-ons where blocks with no dialog box produces the same error. On the question about why this is happening I have no idea what code change did this.

Today I'm going to inspect what changed

@mlocati I don't know if this can help, but the error comes from $this->validateAction() in the submit() method, which goes here, and at this point we don't have a validationToken property so the code uses the class name and can't validate the token.

Here's the actual cause of #7384 (and IMHO a cleaner approach than this #7385): #7404

@mlocati Great ! Thanks, indeed it's much cleaner 😄


version checking can give unexpected results

version_compare(12.04, '<') can lead to unexpected comparison result, version_compare('12.04', '<') should be used instead.

I'll look into this when I get some time, and but if a good PR comes in for that I'll be able to merge faster than I duplicate the problem and fix.

Created #134

This is done.


Change rcon-cli executable

Context

Replace  itzg/rcon-cli with gorcon/rcon-cli
Fix Weird. This response is for another request. error message.

Choices

This rcon client works with multiple games, not just minecraft.

Test instructions

I created a separate container on my local machine.
I ran all of the main rcon commands.

Notes
gorcon/rcon-cli treats spaces as multiple commands.
So, docker exec palworld-server rcon-cli shutdown 1 no longer works.
The solution is to enclose single commands with quotes.
docker exec palworld-server rcon-cli "shutdown 1"
This does not affect the interactive rcon-cli.
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I've added documentation about this change to the README.
[x] I've not introduced breaking changes.

@odakaui Thank you for your work, will review tomorrow!


Resource larger than 1MB can not be extracted by dependent project

I have Project A and Project B where B references A.
Project A has a web font resource built into it (using the resources bridge.json option).
Project A builds correctly and the resource appears in the dll. Project B will not build, there is an exception thrown while Bridge tries to extract the resource out of the dll -

System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

I ran the Bridge resource-extracting code in isolation and reproduced the issue:

The approach of looping and reading chunks of data used to be common (eg. https://stackoverflow.com/a/1080445) but the stream's Read method's summary comment mentions:

Exceptions:
T:System.ArgumentException:
The sum of offset and count is larger than the buffer length.

.. and this seems to be the condition that we're falling into (file is approx 1.5MB, the second read loop will specify an offset of 1024 * 1024 and a count of 1024 * 1024 and the sum of these two values is larger than the size of the buffer).
.NET 4 made this sort of operation simpler when the CopyTo method was added to the Stream type. That could make this code simpler and more reliable.

Thank you, there's not much to discuss about this issue, you already said it all. :)

The pull request has been merged and the fix is making it to next Bridge version.


[4.x.x] Need to sync Migration docs

Description:
Need to sync migration guides of master branch with the content from 4.1.0 branch.
Affected Product Version:
4.x.x doc space

This is not relevant anymore because the migration docs have been moved to a separate repo


Backup Notes

Add backup feature:
Enable user to program time to backup notes. The backup may be done in two different ways:

Programmed by user: Every x minutes the script will make a note backup.
Predefined hour to backup: If user wish to perform a backup everyday on 2 P.M, that will be the time of backup.

Settings:
>> "Backup" feature must backup the entire "Notas" folder
>> "Backup" folder must be in the root of project. For that, create the "Backup" folder in the file "MyNotes.py"

Feature has been launched with the right settings, but backup ways are not implemented yet:

[ ] Programmed by user: Every x minutes the script will make a note backup.
[ ] Predefined hour to backup: If user wish to perform a backup everyday on 2 P.M, that will be the time of backup.

Settings: (Done)
>> "Backup" feature must backup the entire "Notas" folder
>> "Backup" folder must be in the root of project. For that, create the "Backup" folder in the file "MyNotes.py"


qownnotes: 22.6.1 -> 22.7.1

Description of changes
Update QOwnNotes from 22.6.1 to 22.7.1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 181219 run on x86_64-linux 1

1 package built:

qownnotes

Consider removing them as maintainer


test on different ios devices

So far we've only tested on iPhone X

tested on iPhone SE, 6, and X. works well enough IMO.


Suggestion: add option to use single-line format for CSS styles with only one property

Description
It'd be great if there was an option to keep single-property CSS styles on a single line, to reduce line breaks that aren't really necessary for the readability of the code. In fact, this probably makes the code more readable.
It would probably be useful for other languages too.
Input From Beautification
This is what the code looks like when Beautified:
#promoslides ul {
  width: 960px;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

#promoslides .r2c {
  animation-name: r2c;
}
@keyframes r2c {
  0% {
    transform: translateX(100%)
  }

  100% {
    transform: translateX(0%)
  }
}

Desired Output
The beautified code could look something like this:
#promoslides ul {
  width: 960px;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

#promoslides ul {animation-name: moveme;}

@keyframes moveme {
  0% {transform: translateX(100%)}
  100% {transform: translateX(0%)}
}

Debug
Not a bug.
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

I've been looking for this specific option, have no clue how to activate it. Basically I would like to format the beautifier to support single line css

would love this option

I to would like this option


Feature Request: Launch column by name

Launch Column by name.
Launching by name allows the operator to  resequence or reorder parts of the storyboard without necessarily having to reprogram the button.

Stumbled on this, added it to the latest build

Many thanks.


Is alpaca-lora commercial eligible?

I know Stanford alpaca is non-commercial, but what about tloen/alpaca-lora?

It would be super to have an answer to this question.

This code base is Apache licensed. The license file is in the root of the project repo. That means if you use a commercially viable base model(RedPajamas?) and a commercially acceptable data set, there's nothing stopping you from using this to create a commercially usable LoRA.


Export Error

https://github.com/Bob74/bob74_ipl/blob/6c9fe602a58594522c725cc0a6ea92ff1559d160/dlc_bikers/clubhouse1.lua#L4
The export in Wiki doesn't match the Export in Client code.
GetBikerClubhouse1Object
GetBikerBikerClubhouse1Object

You're right, there is a mistake!
I fixed it in bob74_ipl/dlc_bikers/clubhouse1.lua.
Of course the right name of the export is GetBikerClubhouse1Object.
Thanks!


remove boilerplate in LDPCDecodersExt and PyQDecodersExt

This PR aims to remove the boilerplace/common logic that is present in both LDPCDecodersExt and PyQDecodersExt.
This is the task that was highlighted in the TODOs of these extensions. I have ran the tests on Julia 1.11.1, not Julia 1.11.2 as I have not updated Julia version yet.
└ @ Base.Precompilation precompilation.jl:511
Precompiling QuantumCliffordLDPCDecodersExt...
  1 dependency successfully precompiled in 5 seconds. 61 already precompiled. 15 skipped due to circular dependency.
Test Summary: |   Pass  Broken   Total      Time
Package       | 565656      30  565686  18m40.2s
     Testing QuantumClifford tests passed

[x] The code is properly formatted and commented.
[x] Substantial new functionality is documented within the docs.
[x] All new functionality is tested.
[x] All of the automated tests on github pass.
[x] We recently started enforcing formatting checks. If formatting issues are reported in the new code you have written, please correct them.

Thank you. I will close this in light of your helpful feedback. Please add the appropriate label!


[Bug] JobManager frequent GC causes Yarn container memory overflow

Search before asking

[X] I had searched in the issues and found no similar issues.

Java Version
1.8.0_212
Scala Version
2.12.x
StreamPark Version
2.0.0
Flink Version
1.15.4
deploy mode
yarn-application
What happened
When I submit a Flink On Yarn (Yarn application mode) task using StreamPark, the JobManager's parameters look like this:
jobmanager.memory.heap.size	469762048b
jobmanager.memory.jvm-metaspace.size	268435456b
jobmanager.memory.jvm-overhead.max	201326592b
jobmanager.memory.jvm-overhead.min	201326592b
jobmanager.memory.off-heap.size	134217728b
jobmanager.memory.process.size	1024mb
After the task runs for a period of time (about 3 to 20 days), the Container running the JobManager will always be killed by ResourceManager. Then I start the GC log of the JobManager. The process that discovered JobManager performs a next-generation GC about every 2 minutes or so, as follows:
2023-08-30T13:56:57.694+0800: [GC (Allocation Failure)] [PSYoungGen: 149956K->1673K(150528K)] 315127K->166876K(456704K), 0.0138514 secs] [Times: user=0.54 sys=0.05, real=0.02 secs]
2023-08-30T13:59:17.558+0800: [GC (Allocation Failure)] [PSYoungGen: 150141K->1636K(150528K)] 315344K->166871K(456704K), 0.0285263 secs] [Times: user= 1.20sys =0.11, real=0.03 secs]
...
2023-08-30T14:47:54.412+0800: [GC (Allocation Failure)] [PSYoungGen: 148425K->1700K(150016K)] 314796K->168135K(456192K), 0.0258613 secs] [Times: user= 0.96sys =0.06, real=0.03 secs]
2023-08-30T14:50:12.434+0800: [GC (Allocation Failure)] [PSYoungGen: 149138K->1156K(150016K)] 315573K->167607K(456192K), 0.0233593 secs] [Times: user=0.77 sys=0.07, real=0.03 secs]
In order to understand the cause of JobManager's frequent GC, I dump the objects in JobManager's java heap into local files, and then use VisualVM to open them for analysis, and find that Char[] occupies the largest memory space, as shown in the following figure:

What are the reasons for this? If we use FLINK_HOME/bin/flink run t yarn-per-job to submit the task from the command line, we will not generate so many Char[]. The GC time of JobManager (this program's parameters are exactly the same as the above parameters) is about once every 40 minutes. This situation seems to be relatively normal
As for the reason why containers are frequently killed, we will set jobmanager.memory.enable-jvm-direct-memory-limit = true to avoid memory overlimit. Do we know whether this parameter is useful for memory overlimit killing?
Error Exception
Failing this attempt.Diagnostics: [2023-08-22 08:49:10.443]Container [pid=77475,container/D=container_e08_1683881703260_1165_01 0000011 running 9510912B beyond the
PHYSICAL' memory limit. Current usage: 1.0 GB of 1 GB physical memory used; 3.2 GB of 2.1 GB virtual memory used. Killing container

Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

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

Thank you for the detailed feedback. StreamPark is merely a platform for managing and submitting flinkjob.  You can look into your flinkjob itself to investigate further reasons.


[#3252] Add proxy HTTP header and monitoring

#3252

Codecov Report

Merging #3253 into master will decrease coverage by 0.07%.
The diff coverage is 27.27%.

@@            Coverage Diff             @@
##           master    #3253      +/-   ##
==========================================
- Coverage   39.44%   39.36%   -0.08%
==========================================
  Files        2077     2085       +8
  Lines       68097    68612     +515
  Branches     9464     9526      +62
==========================================
+ Hits        26858    27007     +149
- Misses      38635    38983     +348
- Partials     2604     2622      +18

Impacted Files
Coverage Δ

...p/pinpoint/plugin/vertx/VertxHttpServerConfig.java
91.66% <ø> (ø)
:arrow_up:

...navercorp/pinpoint/plugin/tomcat/TomcatConfig.java
58.49% <0%> (-1.13%)
:arrow_down:

...e/interceptor/AbstractServerHandleInterceptor.java
0% <0%> (ø)
:arrow_up:

.../pinpoint/profiler/util/AnnotationValueMapper.java
0% <0%> (ø)
:arrow_up:

...p/pinpoint/web/vo/callstacks/AnnotationRecord.java
0% <0%> (ø)

...y/interceptor/AbstractServerHandleInterceptor.java
0% <0%> (ø)
:arrow_up:

...esin/interceptor/ServletInvocationInterceptor.java
0% <0%> (ø)
:arrow_up:

...avercorp/pinpoint/profiler/context/Annotation.java
13.63% <0%> (-2.16%)
:arrow_down:

...npoint/web/service/TransactionInfoServiceImpl.java
0% <0%> (ø)
:arrow_up:

...corp/pinpoint/web/vo/callstacks/DefaultRecord.java
0% <0%> (ø)

... and 34 more

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 b8f049f...1473b8c. Read the comment docs.


Add @last, and @first to each blocks

This commit adds the ability to reference @first and @last inside of an each block.
{{#each list}}

{{/each}}

Thanks!

Thanks for your work. I appreciate it.


Install from HACS not working "Unknown error occurred"

Hi,
I have installed the "worldtidesinfocustom" integrations from HACS.
The proceed to the Config, Integrations, click "Add Integration", find "World Tide Info Custom".
It then opens a dialog box. When I select either option (standard / expert), I receive in red " Unknown error occurred" and cannot proceed to setup.

My setup is running:
core-2021.9.7
supervisor-2021.09.0
and latest HACS version: 1.15.2
When I look at the log viewer it is reporting the following:
File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 102, in config_expert_schema
if async_get_used_api_key(self.hass) == None:
File "/config/custom_components/worldtidesinfocustom/init.py", line 78, in async_get_used_api_key
for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items():
KeyError: 'worldtidesinfocustom'
File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 73, in config_standard_schema
if async_get_used_api_key(self.hass) == None:
File "/config/custom_components/worldtidesinfocustom/init.py", line 78, in async_get_used_api_key
for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items():
KeyError: 'worldtidesinfocustom'
File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 73, in config_standard_schema
if async_get_used_api_key(self.hass) == None:
File "/config/custom_components/worldtidesinfocustom/init.py", line 78, in async_get_used_api_key
for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items():
KeyError: 'worldtidesinfocustom'
File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 73, in config_standard_schema
if async_get_used_api_key(self.hass) == None:
File "/config/custom_components/worldtidesinfocustom/init.py", line 78, in async_get_used_api_key
for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items():
KeyError: 'worldtidesinfocustom'
My interpretation of this is that is is talking about a Key error/ api key, however because of the error that stops me proceeding with the integration setup, i cannot add my API key to solve it.
Appreciate any assistance here.
Thank you

Hello,
Please, can you tell me if you have enter a name for this location or you use the default one ?
(In which mode you have declared your location : expert definition or standard ?)
I wonder why you have

KeyError: 'worldtidesinfocustom'

Hi mate,
I have not got to any area where I can name a location.
Am I right in understanding, all I need to do is install the the HACS integration and then setup the integration in UI (i.e. no config.yaml entries) ??
https://user-images.githubusercontent.com/59675464/134648317-1f2903f4-b03e-4dd2-8a89-6a683270fb4b.mp4
Does that help explain at all??
Thank you

Thanks for the video, nothing is expected in configuration.yaml.
I will see this week end.
As a work around, you can write in configuration.yaml (depricated method)

Please can tell me if you select first "expert definition" , if it's ok?

Thanks @jugla.
Tried selecting expert first and was same unsuccessful result.
https://user-images.githubusercontent.com/59675464/134674000-8530ec85-2f00-4592-aa60-a17ee30c3dcd.mp4
Log Viewer:
if async_get_used_api_key(self.hass) == None:
File "/config/custom_components/worldtidesinfocustom/init.py", line 78, in async_get_used_api_key
for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items():
KeyError: 'worldtidesinfocustom'
I'm OK to sit tight if your going to look at this over the weekend to validate a fix if that helps rather than implement the manual method. Let me know if I can help anymore.
Thanks.

Hello,
I will look this week end for a patch.

Hello
I've changed the initialization in config flow.
Please can you try the v5.3.1.
Thanks in advance
Philippe

Hi @jugla ,
Thanks mate.
Have updated to v5.3.1 and reattempted with both Standard and Expert and receive the same error.
Here is what it seems to be dumping when I select a type of config (either standard or expert):
Traceback (most recent call last):   File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request     resp = await self._request_handler(request)   File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 89, in forwarded_middleware     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware     return await handler(request)   File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle     result = await result   File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 155, in post     return await super().post(request, flow_id)   File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 63, in wrapper     result = await method(view, request, *args, **kwargs)   File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 109, in post     result = await self._flow_mgr.async_configure(flow_id, data)   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 202, in async_configure     result = await self._async_handle_step(flow, cur_step["step_id"], user_input)   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 260, in _async_handle_step     result: FlowResult = await getattr(flow, method)(user_input)   File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 224, in async_step_user     return await self.async_step_config_def_expert()   File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 205, in async_step_config_def_expert     new_schema = self.config_expert_schema()   File "/config/custom_components/worldtidesinfocustom/config_flow.py", line 102, in config_expert_schema     if async_get_used_api_key(self.hass) == None:   File "/config/custom_components/worldtidesinfocustom/__init__.py", line 78, in async_get_used_api_key     for entry_id, coordinator in hass.data[DOMAIN][DATA_COORDINATOR].items(): KeyError: 'worldtidesinfocustom'
Have replicated a number of times and it is the same logging being entered.
Thanks.

I've created v5.3.2, tell me

Hi @jugla
You have fixed it. Thank you for your integration and responsiveness.
https://user-images.githubusercontent.com/59675464/134787529-0ee27c4f-9353-44ec-bf9c-b6fe0f4a41f2.mp4
love your work.

Thanks for your message :-)


0.5.2 - Impossible to access webUI

Recently installed the GP2040-CE-RaspberryPiPico_v.0.5.2_Stick.uf2 on a brand new Pi Pico (non W) and while it works perfectly fine, I can't seem to access the webUI at <IP_ADDRESS>. I have followed the pinout, so i do have the START button connected to the pin S2 (GP17).
When I connect the USB cable to my PC while pressing the START/S2 button, it does appear to change its ID when using lsusb, and it appears with ID cafe:4001, instead of the normal mode with the generic HID controller ID 0f0d:0094.
I'm on Linux Mint 19.3, I've tried connecting to the webUI with Firefox browser and Epiphany browser, but to no avail, the connection will eventually timeout. I've also tried to connect to that IP while disconnected from the internet, but the browser won't even start the search as "network is not present"
Any comment will be greatly appreciated.

@generalerusso unfortunately access to the webUI is currently only supported on windows. There's an existing issue for it https://github.com/OpenStickFoundation/GP2040-CE/issues/10

Closing this out!  We hope to have additional support for more operating systems soon


Allow a kpack image's cache to be cleared

There is no current mechanism to clear an Image's volume cache without deleting an image. A user may want to clear a image's cache if it the cache is corrupted.
This would be particularly useful when kpack builds kpack images. This is due to the paketo go buildpack's cache growing over time. It would be useful if we could periodically clear the cache to speed up restore/cache steps in the lifecycle.
Prior Art
pack build supports a --clear-cache flag.

there is a current issue when if a user removes the cache config kpack will attempt to delete the pvc but if build pods still exist using that pvc the pvc will not get cleaned up until the build pods are deleted. This means unsetting and then resetting the cache will result in an error.

When using PVCs as a cache, would it be possible to "rotate" the caching PVC by allowing to set something like a nameTemplate field on the Image resource? When changing the nameTemplate, kpack creates a new PVC and all future builds will just use that new PVC for caching. Sure, there still needs to be a cleanup routine which deletes old PVCs depending on if old running builds are still using it.


CI description is no longer current

We now use CircleCI. At the time of writing, we were still on Polyphemus. And at the time of the 1.0 release we were as well.

Ideas/thoughts @katyhuff, @scopatz, @gonuke?

If there is a suggestion on the table to revamp the QA section, perhaps we can simply mention that Cyclus and its ecosystem is under CI.

Ah, forgot about that. Let's just update it to reflect the current state. I
think most other things (such as names of facility classes and such) have
been updated to reflect the current state.
On Tue, Sep 8, 2015 at 8:56 AM, Matthew Gidden<EMAIL_ADDRESS>wrote:

If there is a suggestion on the table to revamp the QA section, perhaps we
can simply mention that Cyclus and its ecosystem is under CI.
—
Reply to this email directly or view it on GitHub
https://github.com/cyclus/fundamentals-paper/issues/138#issuecomment-138608299
.

--
http://katyhuff.github.com

Fixed by #139 and #140 .


typo: performace -> performance

@nschonni : Thanks for your contribution! The author, @MightyPen, has been notified to review your proposed change.

Verified editorial correction.


CSS file not compile

Laravel Mix Version: #.#.# (npm list --depth=0) 5.0.1
Node Version (node -v): 12.17.0
NPM Version (npm -v): 6.14.9
OS: MacOS

Description:
While using ReactJs when I am compiling JS externally along with react, I have also added scss to compile with them. at same time scss is not compiling. but react and JS are compiled successfully.
webpack.mix.js

complied css file is empty

I'm on Windows 10 (20H2) with the same issue, my css isn't being compiled either. My resources/css/app.css file contains only plain css. My mix file is dead simple:
const mix = require('laravel-mix');

mix.js('resources/js/app.js', 'public/js')
 .css('resources/css/app.css', 'public/css', [
     //
 ]);

What happens: I run npm run watch or prod or dev (all same issue) and edit a css file. I get a notification 'Build successful'. Nevertheless looking in the log I do not see the css file, it just lists the javascript and an image file that is loaded from the css, which are the only  things copied/compiled to output. The css is nowhere to be seen.
Unlike virendra702 I do not get any file. The public/css folder remains empty.
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
Node / npm
v12.16.3 / 6.14.5

Wow, minutes after posting it I found that because of opening the project through a symlinked directory it didn't work. Not in bash, not in VS Code, not anywhere. I guess mix doesn't like symlinks. So nevermind my previous post


Add captcha field on register and contact pages

Test on contact page
When forcing score to 1 :

Test on register page
When forcing score to 1 :

Thank you @maximehuran 😃


tracker2: handle nonexistent users better

Previously, the app would show a loading screen forever at the user's profile. Now it shows the standard deeplink error modal.
I think the error modal could probably be better, so I filed a design ticket DESIGN-2944.
cc @keybase/y2ksquad @zapu

Untagging review while I make this not trigger on literally every profile load ever


Compile package with babel

This package isn't compiled with babel although it uses es6 and beyond, meaning it breaks in IE10. This pr fixes that...

[x] compile source code with babel
[x] upgrade webpack

But there is es6 syntax in the source code! Just look for „const“ in any
given file
On Mon, Sep 3, 2018 at 1:24 PM Dmitry Kurmanov<EMAIL_ADDRESS>wrote:

@juliankrispel https://github.com/juliankrispel hello! Thank you for
the pull request. We've removed es6 syntax from widgets and we don't plan
to add compilation step to this repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/surveyjs/widgets/pull/79#issuecomment-418100249, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABIhWkVaNQwjtiA7zjty2cr3FbkX1bjcks5uXR-TgaJpZM4WXgG1
.

@juliankrispel we've fixed it via the https://github.com/surveyjs/widgets/commit/d1ee539d975bd893a8c8e657cc904630f6cf5f01

@dmitrykurmanov when will this be released?

@juliankrispel probably today


Force refresh when metadata is updated

We want to update the repo if there has been any change on their side OR on our side.

Follow up to #279:
https://github.com/google/devlibrary/commit/bf6ff487ec81e488420a4898b7ec5b35fd092329


Event-types

Page created for all event types. This includes a data file where we can update the information, a reusable card component to contain the data and the page layout itself. Styling has been done for desktop and mobile devices.

Conceptually accurate, some minor changes need to be made so it matches the design more. merging in for demo purposes, I'll make a list of suggested improvements later


operation metric helper methods

Created two specific helper methods which present the operation metrics in a human-readable format:-
+-------+-------+--------+-------+-----------+
|version|deleted|inserted|updated|source_rows|
+-------+-------+--------+-------+-----------+
|6      |0      |1       |0      |1          |
|5      |1      |0       |0      |0          |
|4      |0      |0       |1      |1          |
|3      |0      |1       |0      |1          |
|2      |0      |0       |1      |1          |
|1      |0      |0       |1      |1          |
|0      |0      |4       |0      |4          |
+-------+-------+--------+-------+-----------+

OperationMetricHelper(path).getMetricAsDF - Works on any Delta Table and presents the no.of rows inserted/updated/deleted per version in a delta table along with no. of input/source row (as shown above)
OperationMetricHelper(path).getMetricAsDF(partitionCondition: String) - This one is more interesting. It provides the above metrics but this time at a column partition level. This is related to a blog I am writing w.r.t. to concurrency control. I will update here once it's done.
@brayanjuls @MrPowers  This is still WIP but I wanted to put it as a draft PR so that you guys can take a look even before I finish and suggest changes

@joydeepbroy-zeotap - wow, this looks cool!!  Should we expose OperationMetricHelper(deltaTable) instead of OperationMetricHelper(path)?  I think we should provide interfaces that are easily accessible for path names or for table names.  This should be great functionality!!

@MrPowers so I checked as per your comment if we can provide this API on DeltaTable. All the code here is based on the DeltaLog API and DeltaTable does not expose a DeltaLog object to work with (although it maintains one internally).  To enable an API on DeltaTable like OperationMetricHelper(deltaTable), a small code rewrite would be required. Can I raise it as a follow-up PR?

@brayanjuls @MrPowers  I have changed the function signature to make it more succinct. Let me know your thoughts on this.

LGTM.

@joydeepbroy-zeotap please update the README.md with the necessary documentation before we merge this.

README.md is already updated

README.md is already updated

Sorry for some reason I was not able to see it before, looks good.


net/http: 307 and 308 status codes should not change method on redirect

I have gone through few golang issues on HTTP redirect.
I have referred to HTTP RFC https://tools.ietf.org/html/rfc7238 and conveys that client need not change the PUT/POST method when 307 or 308 response is seen in the request.
Note: This status code is similar to 301 (Moved Permanently)
([RFC7231], Section 6.4.2), except that it does not allow changing
the request method from POST to GET.
But with golang 1.7 I see that net http client is using HTTP GET when 307 or 308 response is seen. This violates the http rfc which says HTTP method will not be changed for 307 or 308 http response.

/cc @bradfitz

Dup of #10767


GM_config: get called before init

Problem description
Hi!
I believe soldby has been affected by the following breaking change in GM_config: https://github.com/sizzlemctwizzle/GM_config/issues/113.
Thank you for creating soldby!
Amazon Link
No response
SoldBy Version
1.7.0
Browser
Firefox
Userscript manager
Violentmonkey

Skim notes:
Does have:
https://github.com/tadwohlrapp/soldby/blob/783da9d73d898f36e35cce02dff13318c18dddf2/userscript/soldby.user.js#L124-L126
Additional code early launch points outside of this at (the get requests before init Ref: these and this):
https://github.com/tadwohlrapp/soldby/blob/783da9d73d898f36e35cce02dff13318c18dddf2/userscript/soldby.user.js#L157-L177
... and possibly this (not fully traced)...
https://github.com/tadwohlrapp/soldby/blob/783da9d73d898f36e35cce02dff13318c18dddf2/userscript/soldby.user.js#L221-L236
Most of the functions should be able to remain unindented/changed since they are probably called from the existing code launch points.
Thanks for the look and I hope this gets you kick-started for the migration mentioned by the reporter for GM_config (GMC as I call it).

Hey @javsanpar and @Martii, thank you for reporting in and investigating the issue!
I personally try to avoid browsing Amazon as much as possible, so I didn't even notice SoldBy breaking. Also I probably should enable GitHub's notifications. Sorry for the delay!
The issue will be fixed in the coming days.
Also, if you want to help / contribute feel free to open pull requests anytime ;)


Missing syntax coloring

The following bit of Flutter code is not syntax colored correctly in IntelliJ. The highligting is missing on the three last named args to FixedColumnCountGridDelegate.
Using IDEA 2016.2.4 with Dart plugin 162.2233.
import 'package:flutter/material.dart';

class foo {
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(title: new Text('Foo')),
        body: new ScrollableGrid(
          delegate: new FixedColumnCountGridDelegate(
              columnCount: 2,
              columnSpacing: 20.0,
              rowSpacing: 20.0,
              padding: new EdgeInsets.only(top: 20.0, left: 20.0)),
        ));
  }
}

Still repros. @bwilkerson did someone take a peek at this?

As far as I know, no. Nobody has had a chance to look at it yet.
@scheglov Do you have any ideas?

Actually the highlighting for columnSpacing is not missing, it is just different.
All other names of named parameters appBar, body, delegate and columnCount are field initializing parameters, so by some reason they are highlighted as fields. But columnSpacing is highlighted just as a name of a parameter, which it seems is not highlighted much in your IDEA settings. But for me it is highlighted pretty well.

I think actually that leaking fields into highlighting of clients is bad though.

https://codereview.chromium.org/2484883002

https://github.com/dart-lang/sdk/commit/f05952303785fc9d130bd1ad92c0ae2d4eedb867