Android Studio plugin

Is there any plugin available for Android Studio or Is there any plan to create one ?

Is there a need? You can already use it via the gradle plugin, and it probably helps to have the rules added through .idea configurations rather than a plugin. That way everyone working on the project will use the same rules

Gradle plugin reference:
https://github.com/shyiko/ktlint/issues/45#issuecomment-319831229

I think it'll be very nice if we can show rules/errors in real time like eslint does, rather than manually using the command line to check if there's a violation of rule specified.
ESLint sample:

Interesting. It's definitely possible, though it would take more effort to format it nicely like that. I'm not sure how many people are interested in what specific lint errors exist vs just applying the fixes per commit. The errors in that example are type/signature errors that would be caught and displayed anyways. Would eslint warn you if you have an extra space somewhere?

Would eslint warn you if you have an extra space somewhere?
Yes it will, if we defined the rule in our config file. (eslint has too many lint configs)

The above given gif is just a sample on how it responds to a specific rule. We can customise the rule by our-self using a tslint.json file. There's also predefined set of rules, introduced by companies like google, airbnb etc. You can find more details here.

SInce detekt wraps around ktlint for code formatting, you could take a look at https://github.com/arturbosch/detekt-intellij-plugin, which does exactly the same as shown on gif (besides suggesting a quick-fix, but this can be a subject to contribute :))

Why you need special plugin for ktlint if IDEA (AS) already has this built-in functionality? :thinking:
Just run ktlint --apply-to-idea-project --android and IDEA (AS) will highlight style violations.

I don't think all ktlint rules are idea rules.
At least by default and from what I'm aware of, improper formatting is not a highlighted violation.

@Tapchicoma Can you please tell me how setup ktlint --apply-to-idea-project --android. I was not about to get that to work.
I added following to gradle file
task ktlintApplyToIdeaProject(type: JavaExec, group: "formatting"){

    description = "Update InteliJ IDEA project settings"
    classpath = configurations.ktlint
    main = "com.pinterest.ktlint.Main"
    ignoreExitValue = true
    args "--apply-idea-project", "--android"
}

./gradlew ktlintApplyToIdeaProject
No syntax highlighting as you said

@kaushalyap sometimes new codestyle settings are not automatically used by Android Studio. You need to open Settings -> Editor -> Code Style -> Kotlin and in "Scheme" dropdown select "ktlint".

@Tapchicoma thanks for response. there is nothing called ktlint

@kaushalyap I was a little misleaded. "ktlint" option becomes available in dropdown is you run $ ./ktlint --android applyToIDEA.
Generally, I would agree that current UX of applying ktlint style to IDEA (AS) is not nice.

You mean ./gradlew ktlint --android applyToIDEA ?

You mean ./gradlew ktlint --android applyToIDEA ?

Actually I mean, invoking ktlint directly. Also you could update your tasks and set following args:
args "--android", "applyToIDEA"

I tried executing ktlint directly, with gradle task with args you provided. There no ktlint under scheme.

I newly installed AS, now under Setting > Editor > Inspections  profile is set to ktlint :D

So, is it possible? Or we can only check the code running a gradle task?

Hey folks! 👋 I'm working on a plugin for this purpose here:
https://plugins.jetbrains.com/plugin/15057
https://github.com/nbadal/ktlint-intellij-plugin
Released an early version of it with simple annotation functionality, but I'll be working to get it up to parity with the command line tool over the next few weeks 😄

@nbadal Good work! keep it up  :+1:

@nbadal That's a great news. :confetti_ball:

I guess our official statement is to use the plugin from @nbadal, at least for now, hence closing this. Will throw a pr mentioning it in the readme.


New sorted struct is not applied to inline structs

First of all thank you for your work on this! I noticed something that I'm not sure this tool will be able to address but thought I would bring this up. I have an easy way to reproduce the "issue".
package main

import "net/http"

type MyStruct struct {
	Handler  http.HandlerFunc
	Method   string
	Pattern  string
	SomeUint uint16
	Resource string
}

func main() {
	register("3", MyStruct{
		func(w http.ResponseWriter, r *http.Request) {
			w.WriteHeader(http.StatusOK)
		},
		http.MethodPost,
		"pattern",
		0,
		"resource",
	})
}

func register(version string, m MyStruct) error {
	return nil
}

The problem being that MyStruct gets optimally sorted but the inline struct maintains the previous order of fields which I then have to fix manually. Feel free to close this out if it's not something we can address, I might also take a look tonight and see if it's doable but wanted to let you know first.

@Gabri3l Right, it's well known and all previous tools are also having trouble with inline structs as it is quite, quite challenging (due to AST design and implementation decisions) to store reindexing actions for all sorted structs and apply that same reordering on every such inline struct later on. So it is doable, but it's rather challenging and I plan to tackle that but I don't have any exact timeframe for this.

Makes sense! No rush at all on this and thank you for providing more context.

Right, for now what you can do is the following (in case you find manual inline struct reordering bothersome):
type MyStruct struct { //betteralign:ignore
	Handler  http.HandlerFunc
	Method   string
	Pattern  string
	SomeUint uint16
	Resource string
}


Render and commit

Hello All devs
This is my translation for the page: render and commit. please help me to review!
(The title looks better in English as all of it is in English with no good words in Farsi)

please leave a comment at Glossary Discussion


Cluster attributes subscription methods

@pierredelisle I have noticed that each cluster has its subscription method that we can leverage to get the changes for attributes in that cluster. For instance, the OnOffCluster has the subscribeOnOffAttribute method.
public void subscribeOnOffAttribute(BooleanAttributeCallback callback, int minInterval, int maxInterval) {...}

Could you please tell me why is the GHSAFM not using this function, but instead using the subscribeToPath in ChipDeviceController?
public void subscribeToPath(SubscriptionEstablishedCallback subscriptionEstablishedCallback, ResubscriptionAttemptCallback resubscriptionAttemptCallback, ReportCallback reportCallback, long devicePtr, List<ChipAttributePath> attributePaths, List<ChipEventPath> eventPaths, int minInterval, int maxInterval, boolean keepSubscriptions, boolean isFabricFiltered) {...}

Indeed! As for the reason, sheer ignorance :-). Will look into it shortly...


LoadError: invalid union type

Hi,
With a nightly build of 0.4
julia> using ImageView, Images
Warning: New definition
convert(Type{Images.Image{Cdest<:Union(Color.AbstractAlphaColorValue{C<:Colo
r.ColorValue{T},T<:Real},Color.ColorValue{T}),N,A<:AbstractArray{T,N}}}, Images.
AbstractImageDirect{Csrc<:Union(Color.AbstractAlphaColorValue{C<:Color.ColorValu
e{T},T<:Real},Color.ColorValue{T}),N}) at C:\j.julia\v0.4\Images\src\core.jl:22
9
is ambiguous with:
convert(Type{Images.Image{T,N,A<:AbstractArray{T,N}}}, Images.Image{T,N,A<:A
bstractArray{T,N}}) at C:\j.julia\v0.4\Images\src\core.jl:202.
To fix, define
convert(Type{Images.Image{<:Union(Color.AbstractAlphaColorValue{C<:Color.Co
lorValue{T},T<:Real},Color.ColorValue{T}),N,A<:AbstractArray{T,N}}}, Images.Imag
e{<:Union(Color.AbstractAlphaColorValue{C<:Color.ColorValue{T},T<:Real},Color.C
olorValue{T}),N,A<:AbstractArray{T,N}})
before the new definition.
ERROR: LoadError: LoadError: invalid union type
in include at boot.jl:252

I wonder whether this could be connected with the error I'm getting in nightly Travis testing of MatlabCompat dev branch:
ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: syntax: "ID::Int=0" inside type definition is reserved
in include at ./boot.jl:254
in include_from_node1 at ./loading.jl:133
in include at ./boot.jl:254
in include_from_node1 at ./loading.jl:133
in reload_path at ./loading.jl:157
in _require at ./loading.jl:69
in require at ./loading.jl:55
in include at ./boot.jl:254
in include_from_node1 at ./loading.jl:133
in anonymous at no file:36
in include at ./boot.jl:254
in include_from_node1 at ./loading.jl:133
in reload_path at ./loading.jl:157
in _require at ./loading.jl:69
in require at ./loading.jl:52
in include at ./boot.jl:254
in include_from_node1 at loading.jl:133
in process_options at ./client.jl:306
in _start at ./client.jl:406
while loading /home/travis/.julia/v0.4/Tk/src/tkwidget.jl, in expression starting on line 125
while loading /home/travis/.julia/v0.4/Tk/src/Tk.jl, in expression starting on line 35
while loading /home/travis/.julia/v0.4/MatlabCompat/src/MatlabCompat/imagetools.jl, in expression starting on line 48
while loading /home/travis/.julia/v0.4/MatlabCompat/src/MatlabCompat.jl, in expression starting on line 35
while loading /home/travis/.julia/v0.4/MatlabCompat/test/runtests.jl, in expression starting on line 1
(https://travis-ci.org/MatlabCompat/MatlabCompat.jl/jobs/69903907)[https://travis-ci.org/MatlabCompat/MatlabCompat.jl/jobs/69903907]
It basically fails whenever I;m saying:
using ImageView
Any help on fixing this is much appreciated.

@joa-quim, sorry I didn't notice this. For me I get none of those errors with a current julia build and current master of the packages. ImageView is up-to-date (the release is the same as master); Images is a little behind in terms of its release, so I'm just now tagging a new Images release just in case that's the issue. Are you still having problems?

@ayakimovich, you're running into Tk bug https://github.com/JuliaLang/Tk.jl/issues/105. The workaround currently is to check out the ob/fix branch. Someone who has more time available than me should figure out a real solution to that problem (either get that branch merged or come up with some other solution).

Many thanks for looking into this @timholy. @Jeffbezanson, @carnaval please check out the pull request from @ewiger:
https://github.com/JuliaLang/Tk.jl/pull/106


Router and Dispatcher

Hi Mathew,
Probably a dump question, does the route can handle route params?
So rather than just /foo => {:controller}/{:action} so to get dynamic values? If no it will be helpful to get a few tips, how we can add something like Aura.Router or any sort of router .
Thank you

Hey @weierophinney ,
It took some time to push something. https://github.com/harikt/ConduitExperiments/blob/master/src/Conduit/Middleware/RouterMiddleware.php
Just playing around.

@harikt Very cool -- that's exactly the sort of thing I envisioned! I may actually start playing with that now...


Update anvi-display-functions index.md

this was a copy and paste header left over, i think it wants to be called this, but fix as appropriate of course :)
and thanks for the awesome new functionality!!

Great catch, @AstrobioMike! Thank you. I will look into this as I am not sure what would be a better title for that section.
Just to clarify something as a separate thingy, this file you proposed an edit for is an output file anvi'o renders from a source file in its own codebase. Actually there is a link to it at the end of the file that appears on the web, too:
https://github.com/merenlab/anvio/tree/master/anvio/docs/programs/anvi-display-functions.md
The reason we did it this way was to make sure those who contribute to anvi'o documentation are recognized in anvi'o codebase and not in the web repository :)

Oh yeah, I sort of remembered that and looked for a second on the page, but somehow missed the nice yellow box telling me that :)
Welp, my work is done for the day 🍾


How to add the bot to Channel/Group?

I've been browsing through readme and issues, and couldn't find a description, how to add bot to Telegram Channel/Group, instead of personal chat with bot. So, emails could be delivered to the channel/group.

I have not added that functionality yet. You are good to make PR.
On Thu, 11 Feb, 2021, 8:25 pm T. Todua<EMAIL_ADDRESS>wrote:

I've been browsing through readme and issues, and couldn't find a
description, how to add bot to Telegram Channel/Group, instead of personal
chat with bot. So, emails could be delivered to the channel/group.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/r0hi7/TrashEmail/issues/77, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFBMCRUY3V6ZEFOXFT32YG3S6PVWVANCNFSM4XO7EHFQ
.

unfortunately, i am not well enough to find out that myself. Lets see if anyone will do this functionality. Regards.


Change java options of socks shop

Hi,
Would it be possible to change the java options for the java-based microservices?
I would like to experiment with the various memory settings (i.e. -Xmx etc.).
Thank you!

We can't use variables inside the ENTRYPOINT declaration of the Dockerfile.
We could use an /entrypoint.sh script that handles variables set in the environment & passed into the container launch.
Would you like to have a try at a PR for this?

Hi @stefanodoni,
Alternatively, you can simply edit the dockerfile, rebuild and use.
https://github.com/microservices-demo/orders/blob/master/docker/orders/Dockerfile#L6
But longer term, yes, a PR with support for JAVA_OPTS as an env var would be more flexible.

Hi Phil,
What's the best way to include support for JAVA_OPTS?
A quick & dirty approach I have used is through a custom script that then
sources the env var, i.e.:
ENTRYPOINT ["/opt/dacapo/java.sh", "-jar",
"/opt/dacapo/dacapo-9.12-bach.jar"]
$ cat java.sh
#!/bin/sh
java $JAVA_OPTS $*
I'm not sure if there are better ways to achieve this?
Thanks
On 2 November 2016 at 13:25, Phil Winder<EMAIL_ADDRESS>wrote:

Hi @stefanodoni https://github.com/stefanodoni,
Alternatively, you can simply edit the dockerfile, rebuild and use.
https://github.com/microservices-demo/orders/blob/master/docker/orders/
Dockerfile#L6
But longer term, yes, a PR with support for JAVA_OPTS as an env var would
be more flexible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microservices-demo/orders/issues/16#issuecomment-257849884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOh0lVysYoBPhlgXRzsAmQWrhk9JvMCvks5q6IEjgaJpZM4KnI2V
.

--
Stefano Doni
Mobile +39<PHONE_NUMBER>
<EMAIL_ADDRESS>Moviri SpA
http://www.moviri.com
via Schiaffino 11
20158  Milano MI
Italy

Actually @philwinder, this now makes me think we should create a common base image that does this for all of the Java based containers. Also, the standard Spring springboot bash script handles JAVA_OPTS, which could then be added to the Dockerfile as an ENV declaration.

This issue has been fixed and all the java based services can now be configured using the JAVA_OPTS environment variable.


Class docs - Provide link to source code on GitHub

As a developer, when viewing the docs for a particular class, I would like to find the source code on GitHub, so that I can easily learn more about the inner workings of the code.
A link to the source file on GitHub.

Just a side note: It would also be nice to see what NuGet package a class is in. Not having to Google the assembly name to find it. You already tell what assembly a class is in.

Just a side note: It would also be nice to see what NuGet package a class is in. Not having to Google the assembly name to find it. You already tell what assembly a class is in.

This is related to or even a duplicate of #433

This is related to or even a duplicate of #433

Since #433 is still open, I'm going to close this as a dupe. Hopefully we can implement this feature.

Great news - the core .NET libraries now have links to source code!
Example: https://learn.microsoft.com/dotnet/api/system.string.chars?view=net-8.0


fix collections forEach method to follow JS spec

In order to be consistent with the Map and Set spec, I have refactored
the forEach method on both collection primitives.
THIS DOES INTRODUCE A BREAKING CHANGE

see https://github.com/d3/d3-arrays/issues/12

Issue also reported here: https://github.com/mbostock/d3/issues/1413#issuecomment-21328564

We can’t make this change in 3.x, and d3-arrays would be to make this change for 4.0+, so closing this pull request. Will respond over in d3/d3-arrays#12.


Errata from chapter 1 to chapter 5

18 page - missing

User struct should be like below. PaymentDetails field is missing

type User struct {
	ID             string
	PaymentDetails PaymentDetails
}

37 page - suggestion

“2006-01-02” → time.DateOnly

46 page - Go naming conventions

Getter should have no prefix, Setter has a prefix of Set

88 page - need to use Mean type

MEANS_CARD = “card” → MEANS_CARD Means = “card”

89 page - missing directory in Figure 5.9

Figure 5.8 has purchase directory, but Figure 5.9 does not have.

94 page - wrong code

mongoP := New(purchase) → mongoP := toMongoPurchase(purchase)

112 page - typo in Figure 6.1

Go microservice ?

100 page - Wrong type

func (c *CoffeeBux) Pay(..., purchases []purchase.Purchase) error { → func (c *CoffeeBux) Pay(..., purchases []coffeeco.Product) error {


Investigate HashiCorp license changes

Investigate the impact of HashiCorp license changes
### Tasks
- [x] github.com/hashicorp/errwrap v1.1.0 -  MPL 2.0 [CNCF GB Exception](https://github.com/cncf/foundation/blob/main/license-exceptions/cncf-exceptions-2022-04-12.json)
- [x] github.com/hashicorp/go-multierror v1.1.1 -  MPL 2.0 [CNCF GB Exception](https://github.com/cncf/foundation/blob/main/license-exceptions/cncf-exceptions-2022-04-12.json)
- [x] github.com/hashicorp/go-version v1.6.0 - MPL 2.0 [CNCF GB Exception](https://github.com/cncf/foundation/blob/main/license-exceptions/cncf-exceptions-2023-06-27.json)
- [x] github.com/hashicorp/hcl v1.0.0 -  MPL 2.0 [CNCF GB Exception](https://github.com/cncf/foundation/blob/main/license-exceptions/cncf-exceptions-2022-04-12.json)
- [ ] Vagrant in dev env and setup docs

CNCF Tracking issue: https://github.com/cncf/foundation/issues/617

CNCF published some guidelines here - https://github.com/cncf/foundation/blob/main/source-available-recommendations.md

Yeah, we've been wondering the same about Velero use of hashicorp code. The first thing to do is figure out which hashicorp packages will actually get a license change. At least one source I saw suggested that while their product-oriented repos would all change to the new license, most of their libraries will not.

Looks like, of the packages mentioned above, the only one with a license change is vagrant -- the others are libraries which, as of 16 Aug 2023, still list MPL in repo-root/LICENSE. It looks like all of the products that are moving to the new license were updated on 10 Aug.

Looks like, of the packages mentioned above, the only one with a license change is vagrant -- the others are libraries which, as of 16 Aug 2023, still list MPL in repo-root/LICENSE. It looks like all of the products that are moving to the new license were updated on 10 Aug.

Thanks @sseago :)

Closing as I think our work here is done. Reopen otherwise please.


Undocumented difference between "universal" and "spa" mode when generating static site

Version
v2.4.3
Reproduction link
https://github.com/nuxt-community/auth-module
Steps to reproduce

Setup the auth demo
Generate static site in "universal" mode
Notice that login will not work
Generate static site in "spa" mode
Notice that login will work correctly now

What is expected ?
Static site behaves the same, regardless of "universal" or "spa" mode
What is actually happening?
There is a difference in the generated site when using "universal" mode vs "spa" mode.
Additional comments?
This issue was originally discovered here. We noticed that the auth module does not work in static mode. The problem was that $auth.state always returned false, even after a successful login. We later discovered that this only occurs if the static site was generated with mode set to universal in nuxt.config.js.  When setting the mode to spa login worked correctly and $auth.state correctly returns the login state.
So somewhere there is a difference in the generated code for the static site. I'm not sure if this is intended behavior or a bug. If this is intended, it needs to be made clear in the documentation.

This bug report is available on Nuxt community (#c8852)

Confirmed in<EMAIL_ADDRESS>Steps to reproduce

Setup the auth demo
Generate static site in "universal" mode
Notice that login will not work
Generate static site in "spa" mode
Notice that login will work correctly now

Using nuxt generate in universal mode is not appreciate for any dynamic content including authentication because server response is prerendered. Auth works fine in the standard universal mode using nuxt start so it would better idea using a hosting (either VPS or serverless) and running the nuxt server or using SPA mode.

@pi0 Thank you for the explanation. The problem is not that auth is not working, it's that there is just a behavioral difference between static sites generated in spa or universal mode. In my opinion this should at least get documented, because as it is right now there are people (me included) who stumble upon this and are left wondering why these two are different. I would even argue that it is counter-intuitive for the generated output to be different depending on which mode was used.

@dominikmontada Right. Actually, this should be better to documented about static generate. But it is not either limited to auth or a bug from auth module. I would suggest moving this issue to the docs repo. /cc @manniL

I'm also very confused right now about nuxt generate in different modes.
E.g., fetching Data from an API and prerendering it does not work in spa mode, only universal mode
On the other hand, if I deploy the site through ZEIT zero config deployments, dynamic pages return a 404 after reload in universal mode. Spa mode works fine.
(I have used the generate prop in nuxt.config.js for dynamic route creation).

I think there are more differences worth documenting. For example middlewares.
Statically rendered page in
Universal Mode:
Middlewares only execute on route navigation, NOT on initial page load.
SPA Mode
Middlewares execute both, on page load and subsequent navigation


Can fasten work with OS X app?

Hello,
I try to download provision profiles for Mac application and get this message:
Could not find app with bundle id: <bundle id of Mac app>
Fasten doesn't work with non iPhone app?

Right now, only some of the tools work with mac apps: deliver, fastlane and codes.


[FEATURE] #002 Add Profile to User Models

Workflow

Add a profile attached to user models to store the following data.
Create a new django app named locationapp
a. We will also need to create a Location model to connect as a Foreign Key in the table above:
b. We will also need to create a Country model to connect as a Foreign Key in the table above:
c. Create new APIs for CRUDing these new models.

Models to be created
class Profile(models.Model):
  profile_picture: PATH = 'media/images/profile_pictures/default.png'
  headline: str = None
  bio/about: txt = None
  location: LocationModel = None
  interests: List[str]

class LocationModel(models.Model):
  city/town: str = None
  district/county: str = None
  state/province: str = None
  country: CountryModel = None

For now we are not looking to add rough geolocation data.
class CountryModel(models.Model):
  name: str = None
  ican_code: str = None
  isd_code: str = None

Adding a profile picture to the UserProfile would not be feasible at this point in the SDLC as that would require additional configurational changes to the project.


feat: markdown table links check

This pull request includes the following changes:

Moved JavaScript-related files (index.js, package.json, package-lock.json) to ./github/scripts directory.
Added a new GitHub Action named update-service-status-badges.yml.
Configured manual triggering of the GitHub Action using workflow_dispatch.
Enhanced the functionality of the action by adding a cron schedule.
Added the commit message to "docs: update url service status badges".
Added a script that edits the README.md file to check link status based on the URL column in each service table
Added a helper directory with corresponding code for link checking
Updated the README.md file to separate the Services table into multiple tables (RPC, API, gRPC, etc.) for better visibility of individual service statuses
Added a status column to the Block Explorers, Documentation / Guides, and Dashboards tables for monitoring link functionality

Everything looks good! Time to merge. :smile:


export from nostr-tools the specialized types written in nip19

I'm suggesting that specialized types written in nip19 code be exposed from nostr-tools as named symbols.
The nprofile, nrelay, nevent, naddr, nsec, npub, note, ncryptsec types and a Nip05 type would be very useful to strengthen the types in nostr apps.
Today I'm using like this:
export type TNostrPublic = `npub1${string}`;
export type TNostrSecret = `nsec1${string}`;
[...]
export type TNip05 = `${string}@${string}`;

but surelly you would like another name

Would be too much to suggest to include too typescript type guards for these exclusive types?
export const nostrTypeGuard = {

  isNostrSecret(nsec: string): nsec is TNostrSecret {
    return /^nsec/.test(nsec);
  }

  isNostrPublic(npub: string): npub is TNostrPublic {
    return /^npub/.test(npub);
  }

  isNcryptsec(ncryptsec: string): ncryptsec is TNcryptsec {
    return /^ncryptsec/.test(ncryptsec);
  }
}

The type guard has cast effect, if the string passes in the if with this type guard, it will be recognized by typescript as the specialized type.

I don't know if we gain anything by doing this, but if it doesn't hurt we can have it.

I'm available to implement this, it's ok if you present a pr of this later?

I'm closing this because is done and published, no problem?


[Azure Spring Cloud] Fix cannot enable/disable-ssl in redis service binding

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

/azp run


1.21?

Will there be this mod for 1.21+?

The developer said there'll be one but for a long time as it's being built from scratch again due to minecraft adding sum shi or wtv , but wait gon be worth it


Add a Namespace for schema.org

A namespace prefix for http://schema.org/ is not included in the list of predefined namespaces.  Please add this as a convenience to users.

I've created a PR for this here: #90.

PR merged.


CountLinesExtension  does not work for Windows 10 64-bit

CountLinesExtension  does not work for Windows 10 64-bit.

Make sure you compiled your DLL for 64bit or platform neutral and try Server Manager to install + register the DLL. It should work.


Use after free in propagator_state.cc

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
tf2.12
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Pointer `next_iter` from function `PropagatorState::FrameState::IncrementIteration` is passed
as the 1st parameter into `ActivateLoopInvs` where it is passed as the 1st parameter into
`AdjustOutstandingOpsLocked`, then inside this function it is passed into `CleanupIterations`
where it is deleted.

Then in `PropagatorState::FrameState::IncrementIteration` this possibly freed pointer is used
in `return`-statement.

This behavior was introduced by https://github.com/tensorflow/tensorflow/commit/ae2a0e5c473f2a575767262021c26852d22886f8.
Before this commit, no `return` was performed on the possibly freed pointer.

Standalone code to reproduce the issue
Bug was found by Svace static analysis tool.

Relevant log output
No response

cc @mihaimaruseac
Code where next_iter is initialized and used:
https://github.com/tensorflow/tensorflow/blob/6f692f73cb2043b4a0b0446539cd8c15b3dd9220/tensorflow/core/common_runtime/propagator_state.cc#L755-L772
ActivateLoopInvs:
https://github.com/tensorflow/tensorflow/blob/6f692f73cb2043b4a0b0446539cd8c15b3dd9220/tensorflow/core/common_runtime/propagator_state.cc#L701-L715
AdjustOutstandingOpsLocked:
https://github.com/tensorflow/tensorflow/blob/6f692f73cb2043b4a0b0446539cd8c15b3dd9220/tensorflow/core/common_runtime/propagator_state.cc#L878-L891
CleanupIterations:
https://github.com/tensorflow/tensorflow/blob/6f692f73cb2043b4a0b0446539cd8c15b3dd9220/tensorflow/core/common_runtime/propagator_state.cc#L774-L799
iter_state is deleted on line 778.

To solve the "use after free" error in propagator_state.cc, you need to ensure that the memory pointed to by next_iter is not deleted or accessed after it has been deleted.
One approach to achieve this is to modify the code so that the ownership of next_iter is transferred to another object or function, which is responsible for managing its lifetime. For example, you can use a smart pointer such as std::unique_ptr or std::shared_ptr to automatically manage the memory of next_iter.
Another approach is to modify the code to ensure that any functions that may access or modify next_iter after it has been deleted, are modified to prevent this from happening. This may involve adding checks to ensure that the pointer is valid before accessing it, or modifying the control flow of the program to ensure that the pointer is not accessed after it has been deleted.
In either case, it's important to carefully review and test the modified code to ensure that it is correct and does not introduce new bugs. Additionally, it's important to understand the root cause of the error and address any underlying design or architecture issues that may have contributed to the error, to prevent similar issues from arising in the future. can I work on this?  @tiruk007

@PaDarochek  Can you report this (and similar) via OSS VRP? This way, you can also get a bounty if this is a vulnerability. https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md#reporting-vulnerabilities
@bhagirath20 Anyone can send PRs to fix any of the open issues. The first PR that passes review and the merge process is the one that gets merged.
https://github.com/tensorflow/tensorflow/blob/master/CONTRIBUTING.md

how can I further proceed in this? I have done some changes in code in my repo. and pull request. but it is not visible on TensorFlow main repo pull request page. how can reviewer view and accept my pull request? https://github.com/bhagirath20/tensorflow/pull/1/commits/daa460d88dc256b8b22fd65fe629a400f41289cd . @mihaimaruseac @tiruk007

@mihaimaruseac Reported via OSS VRP.

Thanks @PaDarochek .
@bhagirath20 you need to open a PR against TF repo, not against your own repo.

Btw, this PR does not fix use after free. The function calling CleanupIterations will still have an ordinary (non unique ptr) pointer that is freed.

I suppose the fix needs some architectural changes from maintainers familiar with TensorFlow code base.

Btw, the text seems to be generated by ChatGPT ;)


Spawn blocking RPC handlers

Describe the feature
jsonrpsee expects all handlers to be fully async, and no blocking CPU/IO
some rpc calls currently are technically blocking like eth_GetTransactionByHash and all tracing calls
All of them should be spawned via taskspawner
Additional context
No response

I will fix this.

I will take this

@chirag-bgh got some time to work on this asap? else would like @mattsse to prioritize as we're doing benchmarking vs other clients and this is a bottleneck rn!


how can i change it get children when expand?

lazy load children when expand

this.$set(node, 'expanded', true)

i know it is expanded, but it seem that not suitable for sending ajax to get children, when it use in file explorer

when u get a child node or even his descendants, can't you tell if the node is a parent node?  also this function is opened.

QQ Group: 255965810


drivers: ieee802154: deprecate OT "sleep" nomenclature

NOT meant for Zephyr v3.5. A section will be added to the release notes for 3.6 once those are out.
"Sleeping" has a well defined meaning in Zephyr related to threading and power management. This differs from OpenThread's definition:

Deprecates the "SLEEP_TO_TX" capability as it is redundant and conflicts with all of Zephyr's nomenclature, #61227, RFC 2863, Thread standard and IEEE 802.15.4. This binds the API to an implementation detail of OpenThread, instead.

Renames the "SLEEP" event to "RX_OFF" which conforms to the nomenclature in Zephyr, this API and IEEE 802.15.4.

Fixes: #62995 (Enhancement Request), see there for a detailed rationale and analysis.

No issue with SLEEP -> RX_OFF transition, but not ok with deprecating IEEE802154_HW_SLEEP_TO_TX capability. It was introduced with a specific power optimization in mind.

Yeah, I'm aware of that. That's why I've specified a well-defined distinction between "interface UP/DOWN" (as required by the net stack / RFC 2863) and "receiver ON/OFF" (as required by OT L2 - and many other use cases, including TSCH). The recently updated driver spec defines how you can manage the two separately:

start/stop manages interface UP/DOWN
RX slots can be used with well-defined "magic" start values (see IEEE802154_CONFIG_RX_SLOT_OFF and IEEE802154_CONFIG_RX_SLOT_NONE in the radio API and the corresponding description in IEEE802154_CONFIG_RX_SLOT) to ensure the receiver will either be immediately turned off or on (when the interface state is already UP) or that the receiver will not turned on when calling start() (when the interface is initially DOWN)

I think it is required that we can manage the two states separately, as RFC 2863 specifies that an interface SHALL NOT pass packets while it is "DOWN". "Sleep to TX" however would be able to transport a packet even if the administrator has requested the interface to remain in "DOWN" mode.
What I mean by deprecation in this case means: We only remove "sleep to TX" after OT has been updated to no longer use start/stop to manage the receiver but the newly introduced direct receiver management.

The problem I see is that RX slot management (at least for now) has a dependency to the IEEE802154_HW_RXTIME capability while the currently used IEEE802154_HW_SLEEP_TO_TX has not (for example Thread SED does not require IEEE802154_HW_RXTIME). So we're creating artificial requirements here (at least with current proposal).

The problem I see is that RX slot management (at least for now) has a dependency to the IEEE802154_HW_RXTIME capability while the currently used IEEE802154_HW_SLEEP_TO_TX has not (for example Thread SED does not require IEEE802154_HW_RXTIME). So we're creating artificial requirements here (at least with current proposal).

That is true - we have to think more about how we can decouple this.

Could the non-standard "sleep to TX" capability maybe become a direct configure() call setting the standard MAC PIB attribute macRxOnWhenIdle directly

I believe IEEE802154_HW_SLEEP_TO_TX capability represents something different than macRxOnWhenIdle. The latter determines whether the receiver should be enabled when the interface is idle. What the capability indicates is whether it's possible to transition the transceiver directly from RX_OFF to TX. In other words, it describes the capability of the driver when the interface is not idle.
Consider a driver configured with macRxOnWhenIdle equal false, so that the receiver is turned off when the interface is idle. When a frame is to be transmitted and the interface stops being idle, the macRxOnWhenIdle holds no information which state the transceiver should enter because it describes the transceiver's behavior in a different state - idle. Therefore it seems to me this is not the solution here.
I'm wondering though if there's a way to avoid exposing such a capability to the driver's user at all. I see it's only used in Openthread:
https://github.com/zephyrproject-rtos/zephyr/blob/026dbdf5392ea0cb96ff8a9a204a2d239de096a5/modules/openthread/platform/radio.c#L793-L796
@edmont Would it be feasible to move the responsibility for correctly transitioning the transceiver to transmit state one layer down, to the driver? This way the code above could call run_tx_task unconditionally (or at least with loosened condition on the radio state) and the driver would perform the needed steps, be it RX_OFF -> RX_ON -> TX or directly RX_OFF -> TX, depending on the hardware capabilities.

@jciupis Thank you for taking the time to better explain the SLEEP_TO_TX capability. Very much appreciated!

I see it's only used in Openthread

Correct - plus it's only implemented in the nRF5 driver and it seems that it cannot be cleanly mapped to any standard primitive. That's why I suspected that it may have to be reviewed along the lines of #61227.

the macRxOnWhenIdle holds no information which state the transceiver should enter because it describes the transceiver's behavior in a different state - idle.

I agree.

I'm wondering though if there's a way to avoid exposing such a capability to the driver's user at all.

Agreed. This should be an implementation detail of the driver if anyhow possible. Which of our drivers requires RX on before TX at all? Sounds like a rather exotic requirement?
Moving this implementation detail inside the driver only solves half of the problem, though. We still need a way for OT to manage RX on/off state independently from start/stop.
Combining all our arguments, we seem to need the following changes then (ordered):

We deprecate the SLEEP_TO_RX capability without removing it yet.
We extend the driver API such that RX on/off can be managed "directly" independently from start/stop (my argument), timed RX (@rlubos 's argument) and macRxOnWhenIdle (@jciupis 's argument). macRxOnWhenIdle was a bad idea anyway as it's a complex MAC-level feature and we're looking for something much lower-level. What we need corresponds to the direct vs. timed TX distinction. We probably simply need configure(rx_on/rx_off) which may be called in any operational state but will only take effect when/while the driver is UP. Alternatively we could have a separate rx() method for improved symmetry with tx() but I'd say that symmetry would be rather artificial and therefore prefer to extend configure() - do you agree?
Then the nRF5 driver needs to implement the new configure() call. The other drivers don't have to be migrated yet as they don't interface with OT. Migrating them shouldn't be too difficult either, though. We don't need a new capability for this feature as the configure() call returns -ENOTSUP anyway when the feature isn't implemented.
OT would then be changed to use the new configure() API instead of start/stop and remove all references to SLEEP_TO_RX.
Finally we can remove the SLEEP_TO_TX capability from the nRF5 driver and from the API. The driver doesn't have to be changed, otherwise, as it has the SLEEP_TO_TX capability unconditionally and we assume that future drivers will manage the details of RX off to TX transition internally.

Does this sound like a plan?

IIRC, SEDs use standard indirect transmission in Thread. How long does a SED switch their receiver on after a data request (pointer to the spec is enough - I can read it up there)?

Yes, SED use indirect transmission, however I'm not actually sure if we can call it "standard". Thread 1.2 introduced a feature called "Enhanced Frame Pending" (described in Thread 1.3.0 specification, ch. <IP_ADDRESS>), which seems to be listed as a modification to the standard. But it's more of a FYI, it shouldn't really matter in this regard.
As for the RX on time in this mode, I don't think it can be specified beforehand, as it depends on whether there is some actual data pending for the SED or not. If the parent (coordinator) replies with Frame Pending bit set to 0, the receiver can be turned off immediately. Otherwise, it should remain on as long as the parent reports there is more data to come (again, as indicated by the Frame Pending bit).

Does this sound like a plan?

Sounds fine to me.

@edmont Would it be feasible to move the responsibility for correctly transitioning the transceiver to transmit state one layer down, to the driver? This way the code above could call run_tx_task unconditionally (or at least with loosened condition on the radio state) and the driver would perform the needed steps, be it RX_OFF -> RX_ON -> TX or directly RX_OFF -> TX, depending on the hardware capabilities.

This would be possible as long as otPlatRadioGetCaps returns OT_RADIO_CAPS_SLEEP_TO_TX unconditionally and we make sure that every Zephyr driver supports this transition.
This is required because RadioSpinel<InterfaceType>::Transmit contains this check, so a Zephyr's RCP build should communicate this capability.

As for the RX on time in this mode, I don't think it can be specified beforehand, as it depends on whether there is some actual data pending for the SED or not. If the parent (coordinator) replies with Frame Pending bit set to 0, the receiver can be turned off immediately. Otherwise, it should remain on as long as the parent reports there is more data to come (again, as indicated by the Frame Pending bit).

@rlubos Yes, of course you're right. That's why it was a bad idea by myself to use any of the MAC-level PIB attributes here. The time to listen after a data request is macResponseWaitTime btw if I'm not mistaken, so in theory all standard timings could be derived. But as we all agree, it's not the driver's responsibility but L2's to calculate the timings and communicate them at a lower level to the driver.

@edmont Should some future driver not support this nor be able to deal with it as an implementation detail, we can still re-introduce some (if possible: standard-based) capability or derive it from a return code. But unless we have a requirement I think it is adequate to simplify the API instead, do you agree?

I do.

Thanks everyone for your input.
@rlubos I reworded the deprecation notice and commit message to represent our discussion result. I also opened a new issue (#63670) that captures the agreed migration path away from the "sleep to TX" capability. Does this render this PR acceptable from your pov?


 Amend the documentation and add a new "error" case.
Closes #4875.

LGTM.


define function N(p) that returns a set of neighboring p's

page 13
should be the union of

gradient neighbors:

a course that is over- subscribed by four seats will see its price raised twice as much as a course over-subscribed by two seats, and the neighborhood is formed by considering a number of potential step sizes along this gradient vector (we used up to 12). These steps can be thought of as a tˆatonnement performed by a Walrasian auctioneer.

Individual adjustment neighbors:

Each neighbor of this type is the product of changing the price of a small set of courses. Let C be the number of under or over-subscribed courses. To limit the number of neighbors, min{C, 40} neighbors are created. If C <= 40, then each of the C neighbors adjusts the price of a single course. If 40 < C, then the C courses are evenly (and randomly) assigned to 40 neighbors. With each neighbor, the price of an over-subscribed course slated for adjustment is increased to reduce its demand by exactly one student, while the price of an under-subscribed course slated for adjustment is dropped to zero.

input: current price vector p
output: a set of K neighboring vectors, neighboring as above

there was some uncertainty last time about what they mean with "reducing demand by exactly one student". solve the entire demand problem again to find out how many students are discouraged?

I used the method described in Othman (2010) with 2 optimizations, at the moment the function works. Only thing is I'm having trouble pushing the commit


Method to get the me-card

Can you guys introduce a method that allows us to fetch just the 'me' contact? This can be a really useful way to get some of the user's information and use it for e.g. pre-filling forms.

cc @LeoNatan 🙏🏼

I see there is a method for this on iOS. I have no idea how to implement on Android. If you’d like to work on a PR, I can guide you to the iOS implementation and finally accept. But Android needs impl too.

I would love to, but I'm afraid that's beyond my capabilities. Perhaps this can help—it's how a competing package pulls the 'Me' info on Android. But I would strongly prefer to not use a different package just to get the me-card.

I agree.
I am not sure we will proceed here. Personally, I no longer maintain this repo actively. I don't mind helping on the iOS side, but I need Android and JS commitment that I don't we have right now.
As I said, pull requests/contributions are welcome.


Add code formatting check to a CI job

We need to add make check to a CI job. If make check fails, the CI test should fail.
Since clang-format relies on clang 10, this should be added to our clang-10 docker plan.
See: #337

Github Actions may be a good alternative to this -- I came across an article and it seemed that there are canned things that we could use right out-of-the-box for this and looked easy to setup....

Fixed in #367


MIssing links to pre-trained model checkpoints

The download links to Pre-trained models' checkpoints of Openimages V5 show File Not Found Errors. Could please take a look and provide new links?

Sorry for the trouble, removed those models by accident. Could you please try again? It should work right now. Thanks


ERROR: template: repo/view_list:82:38: executing "repo/view_list" at <$commit.Summary>: invalid value; expected string

Gitea version (or commit ref): ccf4783
Operating system: docker (Ubuntu 18.04 LTS).
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Pushing a latest commit to my project's fork (develop branch) I get this error message when I try to browse the fork's home:
template: repo/view_list:82:38: executing "repo/view_list" at <$commit.Summary>: invalid value; expected string

My last commit message is nothing special:
 git commit -m "Completed Agent handling. Introduced fluent validation"

Other repositories, including the upstream of the project I am forking appears fine. Why would this one be causing an issue?

This error is not occurring with gitea docker tag 1.8.0. (commit 799f5e0). I suppose I am going to start archiving develop builds.

Looks like a duplicate  of https://github.com/go-gitea/gitea/issues/6708
See this comment , does it apply to the files in your most recent commit
https://github.com/go-gitea/gitea/issues/6708#issuecomment-487385367

Yup, it applies (.editorconfig). Tracking OI now.


[AVM Question/Feedback]: Duplicate security rules in avm.res.network.network-security-group

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
Hello, I have started to use AVM recently and experienced server timeouts when attempting to deploy NSG rules using the NSG module. According to Microsoft support, this was caused by the ARM and Network Resource provider resources being out of sync, I'm still having these issues even after resources have been synced, so the root cause is still unknown and investigation still in progress.
On closer inspection of the network security group, I could see that security rules are being created twice. Once on L:74  of the network-security-group module and a second time on L:122 using a security-rule module.
I'm keen to understand why it was implemented this way as it seems redundant and I'm wondering if that's causing the resources to be out-of-sync. Cheers

Hi @corey-stidston - Your issue looks to be correct - @ahmadabdalla can you take a look into this?

Thanks @corey-stidston for raising this. Your issue is on point. There is currently a limitation where if we pass in an empty payload to the securityRules property, it will empty the NSG from the existing security rules, which will then be redeployed individually via the child module for loop. This is not a desired outcome as this will impact network traffic if the rules are removed and then added.
However, from a module perspective, the only way for us to test the child module security-rule is by passing it from the parent, and this was an approach we've undertaken in the past before AVM and had a comment for customers to remove the child module deployment when they take the source code into their environment.
@Azure/avm-core-team-technical-bicep Currently the only option to solve this is by not deploying the child module alongside the parent, which then prevents us from testing the child. So, we either take out the child module from the library and just have the parent or keep the child and remove the tests. Any inputs on this please?
CC: @AlexanderSehr @eriqua @jtracey93

Hey @ahmadabdalla, well described. 😄
So, yes - we do have the child, because historically speaking in CARML we've also been publishing the child-modules, and intention-wise we want to do the same in AVM, once we can technically do that. This is also why all child modules follow the same conventions as the parent modules.
 And because all of them really really like to delete these child-resources if you don't provide them at every place, we have use the property. The child-module in that sense is only also invoked to be able to test it, as @ahmadabdalla already described. If we were not to pass values through, we'd run the risk of heaving dead/non-working code that we don't know about.
I have the hope that the other PGs will follow the changes the VNET team is currently implementing, that is to not auto-delete child-resources, which would enable us to remove the property from the parent without any issues. But that's currently only wishful thinking.
At least NSG is in a slightly better position as the child-module, as well as the property have the same parameters. In case of e.g., the VNET, the subnet-child module has actually additional features like RBAC that you cannot set in the parent property. Ah well...
Anyways - deploying the child-module 'should' not be a problem. But the same was said about the VNET module and we ended up adding a batchSize(1) to the child-module deployment because of concurrency issues. Maybe this would help here as well with the issue at hand?
If bad comes to worse, we could remove the child. It's just that looking into the future with us wanting 'complete' modules & publish child-modules, we'd need to undo the removal effectively.

@AlexanderSehr I will be removing the child module securityRules at this stage. And we can bring it back if there is a customer need for it. Seeing this at multiple customers so far doesn't provide the value it is intended for and causing confusion given the current limitation on the provider side.


Updated "Additional references" to reflect maintainer change for ReFS Versions

As the original maintainer does no longer update his gist, and this community project lives on in maintained a fork I have updated the gist thanks to a hint from @13xforever

Sorry folks I left MS this past Feb. Didn't intend to hold this up.

Any updates on review, please?


intel_adsp: ace20_lnl: Add imr layout header to LNL

To enable IMR on LNL platform new header added to
support context save/restore must be added also to LNL.
Signed-off-by: Jaroslaw Stelter<EMAIL_ADDRESS>

Why we are duplicating this header for LNL?
https://github.com/zephyrproject-rtos/zephyr/blob/main/soc/xtensa/intel_adsp/ace/include/intel_ace15_mtpm/adsp_imr_layout.h

It will be identical for MTL and LNL, but don't know yet whether it will be identical for PTL.  Currently all headers are kept in platform specific directory while some of them are identical.


asan/c/linux tests.bins/asan/h2_proxy_test streaming_error_response GRPC_POLL_STRATEGY=legacy flakes

https://grpc-testing.appspot.com/job/gRPC_master/config=asan,language=c,platform=linux/18504/consoleFull

Seen in gRPC_master_asanitizer_c #1707 but with GRPC_POLL_STRATEGY=poll.


Cant change the font family on Linux

When I try to change the font-family I get a serif font instead. What am I missing?

nvm, my mistake, the name of the font was wrong.


Wrong deprecation date under the "Important" box, correct year is 2025

[Enter feedback here]
Please update the first blue important box with the correct deprecation date of September 30, 2025, currently the page shows the wrong date as September 30, 2024

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

ID: cacc043b-aeec-5deb-e60f-b11e6381b0ba
Version Independent ID: aa2be87c-296f-b3ff-9549-4407c46746d4
Content: Enable Microsoft Entra self-service password reset - Microsoft Entra ID
Content Source: docs/identity/authentication/tutorial-enable-sspr.md
Service: entra-id
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@darrenCampos thanks for raising this! Fixing now and update will appear tomorrow morning PST.

@darrenCampos
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

@darrenCampos thanks for catching this! Fixed now. #please-close


Rev requests and urllib3.

Rev urllib3 to latest (1.20.0) to pick up security fixes.
Rev requests to 2.13.0 pick up newer vendored version of urllib3; includes the security fixes above as well as support for IP SANs. Should fix https://github.com/projectcalico/k8s-policy/issues/69.

This passed the policy agent STs but I don't think they test TLS.  Since the fix targets TLS, feels like we should test that before merging.  Will follow up on slack to figure out the best way to do that.

Ah, Casey's on holiday, moving review request to Tom.

Customer has confirmed this fixes the issue.


[gha][swift-toolchain] Use a PAT to create new toolchain releases

When using secrets.GITHUB_TOKEN to create resources in GitHub actions, additional workflows are not triggered. GitHub does this to prevent users from creating recursive workflows. For more information, see these links:

https://github.com/orgs/community/discussions/26875#discussioncomment-3253761
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

This is currently preventing the Release - Swift Toolchain Binary Sizes workflow from running when new releases are created.
Changes

Use secrets.RELEASE_CREATOR_PAT to publish releases.

CC @amonshiz and @JoelHenn to add context to my recent messages in Slack.  This is where I need to setup this PAT.

Could we use a called/reusable workflow or a direct workflow dispatch at the end of this workflow to trigger the size workflow?

@amonshiz hmm ... that is an interesting idea. That would allow that workflow to be completely separate right? Because you can set triggers on that for workflow completion?

Yes a callable workflow can work, and it wouldn't compromise our ability to run the binary sizes workflow directly without first invoking swift-build.
The only caveat of this approach is that it makes the swift-build workflow less re-usable, since anyone who forks it and runs it in a separate Git repo will not be able to trigger the release binary sizes workflow and upload data to our BigQuery table.  I am not sure if it is a big concern - they can always just delete the step that calls the workflow. @compnerd WDYT?

I think that given that we are uploading to BigQuery which requires additional credentials, that isn't a terrible idea. We could isolate that to this repository, and we could always upstream that if we have a solution which doesn't require additional services.

Closing this in favor of using a callable workflow


Enable locating rows generating certain Wikibase issues with facets.

Closes #5033.
Not sure about the UX and language to use: suggestions welcome!
Screenshots

Clicking on the button gives:

Merging soon unless anyone has concerns.


LSTM and GRU fixes

GRU description added, minor fixes to code/LaTeX.
I think these and RNN-from-scratch should be one tutorial, since they reuse a lot of code to do the same language model problem. You could also then compare performance, etc.; can submit a PR in the future.

On whether to merge or keep separate: It's a hard design decision. The main reason why I like keeping them separate is that each chapter is then one to one with a full model and training loop. Will meditate in it a little

hi Julian. Thanks for these changes. I'd like to merge but there's a conflict now. Can you please resolve and I'll merge?

Done!
Also, thoughts on tutorial combining? If you're set on separating, one could:

More work: have different learning tasks for the LSTM and GRU examples
Different structure: have a preamble code file that LSTM/GRU can import?
As-is: streamlined but duplicate code across chapters


Create a project admin and mentor section in readme file

Is your feature request related to a problem? Please describe.
A section in the readme for project admin and mentors to recognize their hard work to grow this project.
there will be a photo (can get from GitHub) and ink their GitHub profile.

I would like to work on this. Please assign it to me. :)

Hello, I'd like to work on this under GSSOC. Please assign me to this task.

Hi, I want to work on it as a participant in GSSOC'21, can you please assign this issue to me?

I want to work on this issue as a GSSOC'21 participant.

I want to work on this issue under GSSoC program. Pls assign me this issue.

Can I ask, are the contributors namely the mentor section at present?

im a GSSOC participant and i would like to work on this.

Hello, I am a GSSOC'21 participant and would like to contribute to this project.

Guys I am working on this issue. Will send a PR in day or two.

#67


ARROW-5640: [Go] Implement Arrow Map Array

Took it upon myself to implement the Map Array type for Golang and uncomment the tests appropriately.

Tagging @emkornfield @sbinet for visibility

bump for reviews and hopefully merges

@emkornfield I've added comments and docs as requested and responded to the questions. Lemme know if there's anything else needed.

@zeroshade I think this needs a rebase since the merge of the Decimal128 PR.

@emkornfield yup, i was already doing the rebase when you commented haha. I've pushed the rebase

@emkornfield all set with the rebase here now and all tests passed still, huzzah


build_test workflow fails

This file is one of the issues causing the pipeline to fail and I am not sure if it us still needed or not. A lot of the functions used here no longer exist.
@robvanmieghem

@brandonpille Can you check this?

Which functions no longer exist? Because this was a nice example to be able to deploy a VM using only ethereum. Not even needing to have lumens for doing the bridging.

The functions causing the errors here: https://github.com/threefoldtech/3bot/actions/runs/5939365470/job/16105602665

Most of these functions have been renamed and or modified a little bit

Fixed as of this https://github.com/threefoldtech/3bot/commit/c68f99b1f83a7ca5b5fecf1f41dfb157dd9f792e


Add script loading command to repl

Scalas Repl can load scripts with :load. ammonite.repl.frontend.Load should supoort this too.

Yeah that would be nice. It would be nice to do this in a way that's reasonable. In particular:

Doesn't interpret/compile lines one by one because it's slow
Doesn't interpret/compile lines all at once, because you may want earlier lines to e.g. load.ivy things that later lines depend on
Caches compiled blocks based on hash-of-source-code-with-current-context, so that repeated runs can happen fast if there's no change in the script.

Not sure if all these are achievable, but if they could that'd be great.
I'm imagining a @ delimited file would be an ideal format. e.g.
// This stuff happens first
load.ivy(...)
load.ivy(...)
@
// This stuff happens later, depending on the modules loaded above
... do stuff with the modules you loaded ...

which roughly matches the experience in the REPL, where @ delimits compilation units.
I have no idea how the clever caching would work

I think all three points could be easily solved if we would have a real Scala interpreter, i.e. an AST/intermediate code evaluator.

Yeah but we don't

This has landed in trunk, will be in the next release. Thanks @laci37 !


Cast ids to misk.hibernate.Id instead of Long in BulkShardMigrator

We've been seeing ClassCastExceptions in our logs for the BulkShardMigrator: class  misk.hibernate.Id cannot be cast to class java.lang.Long (misk.hibernate.Id is in unnamed module of loader 'app'; java.lang.Long is in module java.base of loader 'bootstrap'). This was happening because we were attempting to cast misk.hibernate.Id to a Long. This change corrects that by first casting to a misk.hibernate.Id and then calling .id to get the required Long id.

any test you can add/update corresponding to this fix?

We're not sure what's causing this failure .. it happens sometimes and there's nothing in the database or logs to suggest a difference between inputs for successful and failed merges, other than the attached stacktrace. We're going to deploy this and see if it fixes the error. If not, we'll revert and continue investigating.


Block colspans are not preserved

Description
When a semantic html document with blocks that contain colspans is imported, the colspans are lost.

Blocks with Colspan

First Row, First Cell, Colspan 2

First Row, First Cell, Colspam 1

First Row, Second Cell, Colspam 2

produces
+----------------------------------------------------------------------+
| Block With Colspan                                                   |
+======================================================================+
| First Row, First Cell, Colspan 2 |                                   |
+----------------------------------+-----------------------------------+
| First Row, First Cell, Colspam 1 | First Row, Second Cell, Colspam 2 |
+----------------------------------+-----------------------------------+

To Reproduce
See the test case in https://github.com/adobe/helix-html2md/commit/7ea40792f489283c3ade589de37cb0c951e219ca
Expected behavior
Colspans are preserved.
Additional context
For Crosswalk we render html documents in a way that the markup is the "same" as it would be when rendered with the helix-html-pipeline. We expect that importing such a document with html2md yields the same output when being rendered with the helix-html-pipeline.

@tripodsan Are you aware of any remark plugin which does add the data-colspan attribute during mast to hast transformation?

sorry, I was wrong. the above (data-colspan) does not work. also, col/row spans in blocks should not be used or relied on.

Even though not recommended colspans made it into the block collection, for example for the carousel:
https://main--aem-block-collection--adobe.hlx.live/block-collection/carousel.md
+-------------------------------------------------------------------------+
| **Carousel**                                                            |
+-------------------------------------------------------------------------+
| ![][image0]                                                             |
+-------------+:---------------------------------------------------------:+
| ![][image1] | ## Chartreuse lyft big mood, readymade kogi               |
|             |                                                           |
|             | godard scenester occupy man braid iceland try-hard.       |
+-------------+----------------------------------------------------------:+
| ![][image2] | ## Taxi Brooklyn disrupt pinterest                        |
|             |                                                           |
|             | Iceland salvia craft beer four dollar toast, aesthetic    |
|             | listicle bushwick marfa fanny pack dreamcatcher 8-bit yes |
|             | plz vexillologist quinoa cred.                            |
+-------------+-----------------------------------------------------------+
| ![][image0] | ## Master cleanse poke twee actually PBR\&B meggings jawn |
|             |                                                           |
|             | literally chia fingerstache raw denim activated charcoal  |
|             | dreamcatcher you probably haven't heard of them seitan.   |
|             | Literally edison bulb cred vinyl                          |
+-------------+>---------------------------------------------------------<+
| ![][image3] | ## Taxidermy drinking vinegar subway tile pok pok         |
|             |                                                           |
|             | post-ironic vape ugh gochujang air plant venmo praxis     |
|             | tumblr. Fingerstache twee beard big mood, unicorn cray    |
|             | cornhole mustache.                                        |
|             |                                                           |
|             | [pinterest](https://en.wikipedia.org/wiki/HTTPS)          |
|             |                                                           |
|             | [pork belly](https://www.youtube.com/)                    |

Reopening in order to allow BYOM content sources to comply to the recommended content model for blocks in the block collection.

Resolved with https://github.com/adobe/helix-html2md/pull/464


Can't cope with spaces in tags

https://timewarrior.net/docs/tutorial/ shows an example of timew start 'Using Tags' Software.
This makes the VSCode plugin show "5s - Software, Using, Tags" in the sidebar.
Then using the VSCode "timewarrior: Timewarrior checkin" command leads to a new entry "0s - Software, Tags, Using" (different tag order, for seemingly no reason).
The data file shows the entry started from CLI correct, the entry started from VSCode -- attempting to use previous tags -- having corrupted the tags:
inc 20230404T174754Z - 20230404T174832Z # Software "Using Tags"
inc 20230404T174848Z # Software Tags Using

I have corrected the parsing for spaces. Now the quotation marks are respected.
The sorting is changed by timew. The cause is that I passed the tags Sorting, Using and Tags. These are sorted alphabetically by timew.
I will release a new version with v0.7.0. Have fun using it:-)


Add the feature to include legends in each photo

How this could work:
On the upload route "gallery/upload/$id" should have a space right bellow the pictures to include a legend. I think that an editable container (http://vitalets.github.io/x-editable/) is the best option to do this so we'll be keeping the sortable feature for organizing the pictures plus the feature to include legends for each one of those.
Maybe something like that:

Done at #14


[RAMMap] BASH/PowerShell Support for standy memory zeroing.

I wanted to know if there's support for something like this.
Most of the time I have to open RAMMap just for zeroing the standby memory that windows manages so poorly.
My question is if there's something like:
RAMMap.exe --zerostandby
That would just cleanup the standby memory.
Thanks.

We've had lots of requests for command line switches to RAMMAP and it's already on our backlog. Will try to get this done soon.

That's ok, I understand as it's a free software, feel free to close the issue or tag it accordingly.
I can't wait for this feature, a just one click standby memory cleanup script would be a great thing to have haha.

Hello
Actually since I was already making some changes to RAMMAP I added this earlier today. Will let you know once the change has been published.
MarkC (MSFT)

Ha! That was fast 😃
Ok, thanks!

Has this been published? I don't see this option in the 2020.7.15 tools:

I'd like to know too...

cd C:\Users\aslamperumani\Downloads\RAMMap && RAMMap -Et
Open CMD (Run as Administrator) > enter the command "cd C:\Users\jazim\Downloads\RAMMap && RAMMap -Et" > Run the command
cd  and && RAMMap -Et
This is the command for end standby or clear ram cache
Rammap Bash / Command Line clear ram cache

Task Scheduler also can automate this process


refactor: upgrade the used API to avoid deprecation warnings

vim.lsp.get_active_clients will be deprecated in the future, and the deprecation warning will be shown in 0.11.

And the vim.tbl_add_reverse_lookup was also removed.

thanks but i already do it in #3154  could you just keep tbl_add_reverse_lookup

Of course


Fix timing issue when login and passowrd

In some LPARS with some distros, the time it takes between user and password is more than 10 sec, so
increase the timeout

basically these 2 commits are solving different issues

login user and passowrd timing error

[console-expect]#2024-05-27 08:01:18,765:op-test.common.OpTestHMC:connect:INFO:Opening the LPAR console
PS1=\[console-expect\]#
s
ci-ltclp3 login: PS1=\[console-expect\]#
Password:
Login incorrect

ci-ltcden11-lp3 login:

Password:
Login incorrect

ci-ltcden11-lp3 login: root

Password:
xxxx
xxxx

Login incorrect

Red Hat Enterprise Linux 9.4 Beta (Plow)
Kernel 6.9.0-auto-g0b4f5add9fa5 on an ppc64le

ci-ltcden11-lp3 login: 2024-05-27 08:02:53,255:op-test.common.OpTestUtil:get_login:WARNING:OpTestSystem Problem with the login and/or password prompt, raised Exception ConsoleSettings but continuing
Traceback (most recent call last):
  File "/data/jenkins/workspace/sandbox/op-test/OpTestConfiguration.py", line 881, in objs
    hmc.set_system(self.op_system)
  File "/data/jenkins/workspace/sandbox/op-test/common/OpTestHMC.py", line 971, in set_system
    self.console.set_system(system)
  File "/data/jenkins/workspace/sandbox/op-test/common/OpTestHMC.py", line 1047, in set_system
    self.pty = self.get_console()
  File "/data/jenkins/workspace/sandbox/op-test/common/OpTestHMC.py", line 1265, in get_console
    self.util.setup_term(self.system, self.pty,
  File "/data/jenkins/workspace/sandbox/op-test/common/OpTestUtil.py", line 1663, in setup_term
    track_obj.PS1_set, track_obj.LOGIN_set = self.get_login(
  File "/data/jenkins/workspace/sandbox/op-test/common/OpTestUtil.py", line 1493, in get_login
    raise ConsoleSettings(before=pty.before, after=pty.after,
common.Exceptions.ConsoleSettings: Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
Expect Before Buffer="
xxx
Login incorrect

setting term prompt issue

[console-expect]#2024-05-28 19:03:28,409:op-test.common.OpTestHMC:connect:INFO:Opening the LPAR console
PS1=\[console-expect\]#
2024-05-28 19:05:19,022:op-test.common.OpTestHMC:get_login_prompt:ERROR:Failed to get login prompt
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 52, in setUp
    self.console_thread = OpSOLMonitorThread(1, "console")
  File<EMAIL_ADDRESS>line 63, in __init__
    self.c = self.system.console.get_console(logger=self.logger)
  File<EMAIL_ADDRESS>line 1265, in get_console
    self.util.setup_term(self.system, self.pty,
  File<EMAIL_ADDRESS>line 1709, in setup_term
    raise ConsoleSettings(before=pty.before, after=pty.after,
common.Exceptions.ConsoleSettings: Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
Expect Before Buffer="
  "
Expect After Buffer="<class 'pexpect.exceptions.TIMEOUT'>"
Message="Getting login and sudo not successful, probably connection issue, retry"

So both are solved with these commits.. and it is been tested in CI and runs are fine


[FEATURE] Update small-text tutorials

There are two notebooks, which reference small-text versions v1.1.0/v1.1.1.
I will likely create a PR later or tomorrow. This issue is just for the purposes of documentation.
Is your feature request related to a problem? Please describe.
I just published the bugfix release v1.3.1, which brings important bugfixes for transformer-based classification. Moreover, the additions from v1.2.0 will be accessible as well.
Describe the solution you'd like
Two notebooks need to be updated:

tutorials/notebooks/training-textclassification-smalltext-activelearning.ipynb
tutorials/notebooks/deploying-textclassification-colab-activelearning.ipynb

Describe alternatives you've considered
--
Additional context
--

Seems that I, on the other hand, a was a few argilla versions behind. This is more complicated than just raising the version number and running the notebook once.
When I execute the following part from the first notebook:
import argilla as rg

# Choose a name for the dataset
DATASET_NAME = "trec_with_active_learning"

# Define labeling schema
labels = trec["train"].features["coarse_label"].names
settings = rg.TextClassificationSettings(label_schema=labels)

# Create dataset with a label schema
rg.configure_dataset_settings(name=DATASET_NAME, settings=settings)

Then, rg.configure_dataset_settings() raises the following error:
BadRequestApiError: Argilla server returned an error with http status: 400
Error details: [{'code': 'argilla.api.errors::MissingInputParamError', 'params': {'message': 'A workspace must be
provided'}}]

Can this be used without setting up an explicit workspace? As far as I have understood, using workspaces would require additional setup steps, which I would like to avoid.

@chschroeder thanks for taking a look at this. A PR is very welcome.

I think the above can be resolved by adding a workspace parameter rg.configure_dataset_settings(). Alternatively, you could set rg.set_workspace().

Thanks for the feedback, but that a workspace could help is what I had given by the error message. What I was trying to ask is more like: is this really needed? Is this the right way?
Next, I tried it by following this example:
https://docs.argilla.io/en/latest/guides/llms/examples/curating-feedback-instructiondataset.html
try:
    workspace = rg.Workspace.from_name(username)
except:
    workspace = rg.Workspace.create(username)
    user = rg.User.from_name(username)
    workspace.add_user(user.id)

Here rg.Workspace.create() does not work with the default admin user:
PermissionError: User with role=admin is not allowed to call `create`. Only users with role=[<UserRole.owner:
'owner'>] are allowed to call this function.

Of course I can add a user now, but adds two extra steps (creating a workspace, creating a user) to the notebook, compared to before.
Is this really necessary? And if so, why does it seem not to be necessary for other tutorials?


Wire

Can you please add Wire messenger to future version?
Thank you!

yes please.. I would like that very much as well.


Updates to adapter-common 0.2

This will include #6 and #7. It will also update the adapter common to 0.2

Current coverage is 100.00%

Merging #8 into master will not affect coverage as of d8d3ed9

@@            master      #8   diff @@
======================================
  Files            1       1
  Stmts           16      26    +10
  Branches         0       0
  Methods          5       6     +1
======================================
+ Hit             16      26    +10
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of d8d3ed9

Powered by Codecov. Updated on successful CI builds.


Connect Problem

Can connect but exits after connection. Why?
I followed the steps correctly.
It only says "No process runnning"

Are you sure the connection has been successful? If the connection is inexplicably disconnected after success, then it is recommended to pay attention to the server log!

Hello nnjun, thanks for the hard work.
It connects then exits when getting to the "Getting client config" part.
I didn't change anything but the data string.
I'm getting the connection closed for some reason.
logcat:

OpenVPN: Starting openvpn
OpenVPN: OpenVPN process exited
TAG: 连接关闭
OpenVPN: Exiting

This is the server log:
My config is okay,
My credentials are okay,
The server recognizes it as normal.
If you connect to the server with a regular client then exit it, it produces this same log.
Any idea why?

peer-id 0' (status=1)
Connection reset, restarting [0]
SIGUSR1[soft,connection-reset] received,
client-instance restarting

Hello, there are many reasons for this. What I've encountered is that two clients use this configuration at the same time, resulting in crowding out each other. If you don't have this situation, it's advisable to sort out other problems. Google searches for "openvpn Connection reset, restarting [0].

I've already done that.
I've solved the problem by using https://github.com/micer/openvpn-sample-app
Module instead, and porting your VPNActivity with it.
The problem now is the service isn't working properly.

Okay, managed to port everything now including the VPNService.
I don't know what actually is wrong, micer's module is much older than what you are using, nonetheless thank you so much. It's really hard to find a good OpenVPN for android source and you got one. It actually helped me a lot in understanding the process core of Schwabe's openvpn. Also the VPNActivity is just a genius class, made my life easier. thanks!

Yes, it's hard to find the right code for OpenVpn, and I'd like to make it easier for people in trouble. Demo is the most basic connection. In fact, OpenVpn involves much more than you might think. We should expand it. Of course, the original intention of this library is to make it more convenient. For expanding or more functions, developers can explore for themselves. He's much stronger than we thought!

@yunolawliet can share what you do please , i have same problem as you

@yunolawliet can share what you do please, I have the same problem as you

@coderzstas I suggest you get a module from an openvpn android client and follow these steps:
Import module,
Import nnjun's VPNActivity and Service to it.
The problem I have right now is with the notification.
When I click it doesn't show the app.
Must be a binding problem, I yet to still solve.
@nnjun He has the same problem as mine, any idea?

I've added support for him and a new way of listening. See Readme for details. I have updated the code! @yunolawliet

@nnjun great, I've tested the intent part and it works. Any idea on how to preserve the app while the service is running? The app keeps closing while the server is alive.

Do you mean that the back-end service of the application has been killed by the system? @yunolawliet

@nnjun Yes. But the a better approach would be checking if the service is running. So if the system killed the back end, you can adjust the layout. Or my approach is wrong? Do you have a better idea? Also, it's nice that you made the code neat. Also having access to the state and it's equivalent strings would be great.

@yunolawliet Firstly, mobile ROM is involved. Different manufacturers have different limitations. Secondly, we can adjust the parameters of the server, such as keepalive 10 120. We can slightly shorten the Ping time to enhance connectivity. For example, keep alive 5 120, more still need to look at mobile phones.

@nnjun got it. Thank you. Loving your module so far. :)

@yunolawliet Thank you. Remember to pay close attention to me.


Should Prism-core be default exported?

Motivation
Now we cannot use Prism via ES Modules, because Prism is exported to only module.exports or global  in prism-core.js. This restricts library usage in the following ways.

import Prism from 'https://example.com/path/to/prism.js';
import('https://example.com/path/to/prism.js').then(Prism => ..);
<script type="module" src="https://example.com/path/to/prism.js"></script>

Description

How about separating prism-core.js into the following files?

prism-core.js: defines Prism object and export default it. it does not do the browser-specific and Node.js-specific process. The filename can be prism.mjs.
browser.js: imports prism.js and do the browser-specific process such as highlighting automatically on DCL.
cjs.js: import prism.js and export it as CommonJS. but this file might be deprecated because of CommonJS-obsoletion in the future.

package.json fields will be:

"main": "prism.js",
"module": "prism.js",

Entry points will be:

https://unpkg.com/prismjs/prism.js for ES Modules
https://unpkg.com/prismjs/browser.js for Browsers
https://unpkg.com/prismjs/cjs.js for traditional Node.js

This restricts library usage in the following ways.

import Prism from 'https://example.com/path/to/prism.js';
import('https://example.com/path/to/prism.js').then(Prism => ..);
<script type="module" src="https://example.com/path/to/prism.js"></script>

Aren't these all ways you can import modules? So Prism can be used as a module?
Sorry, but I just don't see the problem you're trying to solve.

@RunDevelopment He's suggesting you can't use those three forms, which is kinda true, but not entirely. All of them will work, but in the first two, the identifier will either be undefined or will actually throw (I don't remember offhand whether the spec accepts importing values that aren't explicitly exported or whether they're jus bound to undefined).
In all three of those cases, the import should technically work but you'd have to pluck Prism off the global rather than from the export. Unfortunately, I don't think converting to ES Modules is feasible (or at least, high priority) right now. While this is solvable through some sort of build process, we've managed to keep that pretty lean overall so far. I'm not really sure it's worth the effort to add and maintain, given we're still supporting IE11.
I could see this being in a V2 at some point, if we decide we're only supporting esmodule+ browsers & runtimes, but given our current broad compatibility matrix, it would be a lot of overhead. The 3 file setup suggested is enough additional work that makes be doubt the value of the tradeoff here, especially because the CJS interop works with most bundlers without issue.

because of CommonJS-obsoletion in the future.

Highly doubtful this is the world we'll end up in, fwiw.


Version 0.9.1

[x] Missing translation for lines ACT_3_9.1, ACT_3_10.1, and ACT_3_19.1
[x] The woman_shriek sound effect has about 1 second of silence at the start, delaying it's execution
[x] During Act 4, the "Congratulation" lines were way too spaced
[x] Implement the cracked screen effect
[x] Add a tab before a new line starts
[x] Add the ringing sound effect to the main menu when a new game starts
[x] Finish translation for Act 6
[x] Fix typos in the Portuguese translation
[x] Fix typos in the English translation
[x] Fix some sound effects needing to be looped (fly buzz, ringing noise, etc.)
[x] Fix NVL Box appearing when the camera zooms to Kaede's photo

Implemented in #45


Support for inline tags

Describe the solution you'd like
Inline tags like #tagname rendered as links to the Quartz generated tag page, /tags/tagname

Could you elaborate on the "Quartz generated tag page"? Mine does not seem to have one despite having many tags...
I can't seem to understand how tags are supposed to work in Quartz. Something seems off with them in my page.

This issue should be fixed in Quartz 4. I'll be closing it for now but please reopen this issue if this persists in the new version.


[C++] Add a convenient function that converts arrow::ArrayStatistics to arrow::Array for the Arrow C data interface

Describe the enhancement requested
GH-38837 will introduce the schema for statistics arrow::Array that can be interchanged via the Arrow C data interface.
If there is a convenient function for it, it's easy to use GH-38837.
Component(s)
C++

Issue resolved by pull request 44252
https://github.com/apache/arrow/pull/44252


Add support for ComplexF64 as reactive variables

From https://discord.com/channels/774897545717219328/1167508826237435974/1167508826237435974
When declaring a reactive variable with type ComplexF64, an InexactError appears on page load. MWE:
using GenieFramework
@genietools

@app begin
    @out this_triggers_InexactError = ComplexF64(1.0 +1.0im)
    @onchange isready begin
        @show this_triggers_InexactError
    end
end

function ui()
    "{{this_triggers_InexactError}}"
end

@page("/", ui)
Server.isrunning() || Server.up()

Error trace
julia> ┌ Error: 2023-10-27 09:54:30 InexactError: Float64(1.0 + 1.0im)
│ Stacktrace:
│   [1] Real
│     @ ./complex.jl:44 [inlined]
│   [2] #construct#1
│     @ ~/.julia/packages/StructTypes/AK4aM/src/StructTypes.jl:327 [inlined]
│   [3] construct
│     @ ~/.julia/packages/StructTypes/AK4aM/src/StructTypes.jl:327 [inlined]
│   [4] write(::StructTypes.NumberType, buf::Vector{UInt8}, pos::Int64, len::Int64, x::ComplexF64; kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│     @ JSON3 ~/.julia/packages/JSON3/L8Yfy/src/write.jl:266
│   [5] write(::StructTypes.NumberType, buf::Vector{UInt8}, pos::Int64, len::Int64, x::ComplexF64)
│     @ JSON3 ~/.julia/packages/JSON3/L8Yfy/src/write.jl:251
...

It seems that for complex numbers to work in the browser, we'd need to add some math library like mathjs. Otherwise, we could define a custom renderer like
Stipple.render(x::ComplexF64) = Dict(:re => x.im, :im => x.re)

Serialisation and deserialisation are already well-defined by https://mathjs.org/docs/core/serialization.html, so our render function would look like this:
Stipple.render(x::Complex) = Dict(:mathjs => "Complex", :re => x.re, :im => x.im)

But we would need to add the mathjs library and a respective reviver.

@essenciary two questions:

Where should we place StippleMathjs?

It could live within Stipple. The module is just 20 lines long plus the 700kB of math.js.
It's a very good example of how extra modules can be built.

How can we include initial values of revived types in the model.js file

Currently, if we use the reviver concept, the object to be revived are typically rendered as Dicts.  Only if we push the variables the first time, e.g. by `@onchange isready @push" in the app definition, they receive their correct values. Any idea about that?

A solution for 2) is to define jsrender(x, args...) = render(x, args...) and to use that for field rendering in models.
Then one could specialise jsrender(x::Union{Complex, R{<:Comnplex}) = myrender(Stipple.Observables.to_value(x)), where myrender converts to a JSONText

@hhaensel as discussed over messaging, the best approach would be to have a package similar to StippleLatex.

Find here the first draft of StippleMathjs and the StippleMathjsDemo.
It only works with the hh-revivers branches currently. For this to work I added

a new method to add custom revivers: script(js_add_reviver("myreviver"))
a new method to add custom dependencies to ReactiveModels: @deps StippleMathjs

All changes are merged into master and new versions are released.
StippleMathjs has been registered and will be released after the mandatory waiting period of 3 days.


varbase.transits: add tool to get oot points

mostly just wraps given_lc_get_transit_tmids_tstarts_tends, but the few
extra lines of logic were different enough to merit a separate function.

Looks good. Thanks!


Application Insights no longer track dependencies entries from JS Client

We are using application insight to track our angular application. Everything was working perfectly. But without doing any changes in the application we are not seeing any AJAX dependencies anymore. The last tracked dependency was on 5th September 2017. However all page views and exceptions that we were sending from JS app-insight api are still logged and displayed correctly. Is something changed in the app insight api?
I saw that we were having old app insight snippet and the new snippet is changed, I even put the new snippet in our page but the dependencies are still not working. This is the latest code snippet that I am using now.
  var appInsights=window.appInsights||function(config){
    function i(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},u=document,e=window,o="script",s="AuthenticatedUserContext",h="start",c="stop",l="Track",a=l+"Event",v=l+"Page",y=u.createElement(o),r,f;y.src=config.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js";u.getElementsByTagName(o)[0].parentNode.appendChild(y);try{t.cookie=u.cookie}catch(p){}for(t.queue=[],t.version="1.0",r=["Event","Exception","Metric","PageView","Trace","Dependency"];r.length;)i("track"+r.pop());return i("set"+s),i("clear"+s),i(h+a),i(c+a),i(h+v),i(c+v),i("flush"),config.disableExceptionTracking||(r="onerror",i("_"+r),f=e[r],e[r]=function(config,i,u,e,o){var s=f&&f(config,i,u,e,o);return s!==!0&&t["_"+r](config,i,u,e,o),s}),t
    }({
        instrumentationKey:"XXX" // Replaced the actual key with XXX the key for privacy reason
    });

    window.appInsights=appInsights;
    appInsights.trackPageView();
</script>

Is something changed in the application insight?

I am experiencing the same problem (see screen shot below).
You can reproduce the problem very easily using my AppInsightsDotNetDemo git repo
(checkout the branch no-page-request-correlation)

Sorry I meant to post this comment to https://github.com/Microsoft/ApplicationInsights-JS/issues/574#issuecomment-408621227

@sharmajnu - please reply if this is still an issue with latest SDK version 1.0.20

Works fine with latest version.


Enable controlling multiple robots on the same machine

If one has to start multiple drivers for a multi-robot scenario, some of the nodes will have the same name, which will lead to undefined behaviour. To solve this:

a namespace option should be added to the launch files to be able to start the manager nodes in a different namespace
a solution should be found to change the name of the controller_manager nodes in these cases

the driver configuration file location is currently hard-coded in the urdf, that should be modified to allow multiple robots with different parameters (e.g. ip)


New USD-M futures websocket endpoint?

The new Binance API documentation specifies a different websocket endpoint to the one specified in your base URLs.

Your one: wss://fstream.binance.com
Binance's new one: wss://ws-fapi.binance.com/ws-fapi/v1

Do you know if your one is still valid? If not, is there a planned cutover time? Binance certainly don't write the clearest documentation!

Hi @Luke-Rogerson - yes, the current one is still valid. There's actually two difference concepts here and the naming of the "new" one isn't the most obvious thing.
 This is what binance has called WebSocket API. This nifty new system allows you to send orders and other commands over a websocket connection, shaving off some of the latency you would see from a traditional REST API.
If you're looking to consume events (market data, account events, etc), that's fully supported as is with the current WebSocket client. That's either the WebSocket Market Streams, listed here for USDM futures:
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams
Or the user data stream (for account events), listed here:
https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams
I have some minimal examples for both types of events:
https://github.com/tiagosiebler/binance/blob/master/examples/ws-userdata.ts#L128-L131
https://github.com/tiagosiebler/binance/blob/master/examples/ws-public-usdm-funding.ts#L68
All consumer websockets are wrapped up in convenience functions in the ws client, you can see them here:
https://github.com/tiagosiebler/binance/blob/master/src/websocket-client.ts#L1211-L2072
If you're not sure which you need, I'd suggest to check the docs to see which websocket topic/channel has what you want, then search in the websocket-client to see if there's a function mapped to it. We're still in the process of adding some of the newer ones, so if you see anything you're missing - let us know or submit a PR. Otherwise we'll get to updating it all eventually.

Also the WebSocket API is a curious one. While it's not supported in this SDK for binance yet, I will be adding support for it soon. My gate.io SDK is actually the first one to see an implementation of a WS API and I'm likely to bring the same design over to the binance SDK (as well as my other SDKs for exchanges that have a WS API). So if you'd like to see how that can work in practice, take a look at the gate SDK. Some docs here:
https://github.com/tiagosiebler/gateio-api/blob/master/README.md#websocket-api
Also an example here where you can see a minimal implementation in action:
https://github.com/tiagosiebler/gateio-api/blob/master/examples/ws-private-spot-wsapi.ts#L88-L95
It's a great time for feedback/concerns, if you'd like to influence how the final implementation will look/work, so if this is something you will use in future please do take a look and ideally try it out.

to fix your trouble check this solution click
maybe this will solve your problem.

Closing in favour of #283 - for anyone looking forward to the WS API, feel free to subscribe to #283 for updates.


Swapping out manual istio install with hosted istio

ok to test

ok to test

/lgtm
/approved

/approve


CodeBlocks & text area instaid of input field

#961 @kleo-xhindoli @dhenson02 @nadirabbas helped me with this.
Does code blocks by inputting 3 back ticks like ```  then putting code then another ``` to close it. Input fields are now text areas, to get a new line you can do Shift+Enter like in telegram or whatsapp and enter for enter.

This would also make it easier for group teaching and learning of "dogelang" in dogehouse.

I don't want a textarea
Use staging branch
Idk if I ever want code blocks, chunks of code should probably be a link to a gist instead of us trying to handle it, but I will think about this later
I am open to single `  for code to create these things
Create separate PR for spacing fix first so its easier to see diffs
Don't check for backticks when the chat renders that will hurt performance. Instead check when the message is first created and create a new token type


Add touchAction prop to Deck

For #3189
Change List

Add touchAction prop to Deck to support scrolling on mobile

Coverage remained the same at 71.771% when pulling 00d5bbcf35d0196012933cd40a06f8e3a99ef5a7 on x/touch-action into 8bdaa93da5913784eb4e733b71fd9380f2be94fc on master.


Make hero area images responsive

Hi,
Great template and is mostly responsive to browser size. However, the images in the hero area aren't responsive to the browser size and gets a bit cluttered when viewing on mobile.

hey there, sorry for late reply, can you give me a screenshot?