Why using  the same VOC2007 as training data and the results is lower than the result of author?

my result is lower 7% mAp than the result author give

With issues such as these it's helpful to include some more information. Simply stating "It doesn't work for me" is not helpful. What are your experiment parameters, what are you following? Perhaps providing some steps to reproduce would be advantageous. Did you consult the original paper with experimental methodology laid out? Your hardware could be different. There is a whole host of reasons why you might struggle to reproduce numbers reported in a paper, finding out why is what is important.


Override default values of mock

Sometimes we need a mock of a type but we need to specify some properties directly.
Right now to do it you have to create the mock and then ovveride the value manually
What if we could pass a value that has to be a partial of the type for the mock and it will ovveride the value?
interface Type {  propertyA: number; propertyB: string; propertyC: boolean; } createMock<Type>({ propertyA: 5, propertyB: “my value”)

Resolved by v1.2.0 release


Added check to see if Content was altered before Set-Content

Hi @gerane, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Well, the actual change here is the one for #29, where plaster always uses set-content whether it changes the content or not. This was where binaries are getting corrupt. It looks like it added the changes from my previous PR into this change as well.
The last commit is the only one for this I believe "Added check to see if Content was altered before Set-Content"
I just added a check to see if the data was actually altered and only use Set-Content if plaster made a change.

I fixed this with this PR.  It adds a new <templateFile> directive which will implicitly expand the template files specified in it.  This leave <file> just copying over files and dirs.


Switch flutter create default to Kotlin and Swift

On creating a new project with Flutter, flutter create defaults to creating apps in Objective-C (iOS) and Java (Android) today. This probably made sense when we wrote this tool: since both of these two languages predominated their respective ecosystems. In the intervening time, both communities have adopted a new language (Swift and Kotlin, respectively). While all four languages are supported by flutter create with the -i and -a switches, the default has not changed.
Looking at XCode, the default language for new applications is already Swift:

Similarly, Kotlin seems to be the preference of the Android team moving forward, and has significant advantages over Java as a productive, modern programming language.
Now seems a good time to switch the default for flutter create to Swift and Kotlin, since we have feature parity between the two project types and these seem the de facto standards for new apps. Switching the default obviously is not a loss of functionality: users can continue to create Objective-C and Java-based projects with the same switches as before.

Similar #20576
Related #16049

About iOS, Xcode 9.4.1 does indeed default to Swift. @cbracken are you OK with us switching to Swift per default for flutter.
About Android, Android Studio 3.2 still defaults to Java. I checked 3.3 canary build 13, and that also defaults to Java. So far we have kept our templates consistent with the default of the most recent Android Studio stable build, so not sure we are quite ready to make this change?

One reason we haven’t migrated to Swift is that since Swift doesn’t yet have a stable ABI, every app ships with the Swift runtime libraries. Last I checked, that adds about 5MB to the app, which close to doubles the default app size. Apple has announced that ABI stability is coming in the Swift 5 timeframe, at which point I definitely think it makes sense to flip the default.
For apps primarily developed in Dart, where most of the non-Dart bits primarily involve wiring up plugins, the additional overhead doesn’t feel justified to me. For add-to-app scenarios, the developer will already have a Swift or Obj-C project.
I’m not fundamentally opposed to changing the default before Swift ABI stability if we have strong evidence that the benefits outweigh the significant app weight increase.

moving from #25412
Context and Rationale
At the moment, flutter create --template=plugin (ref) defaults to Objective C and Java. It is my suggestion that the we switch the default to Swift and Kotlin respectively instead.
Kotlin is first-class language supported by Android, and officially preferred by Android rather than Java (ref) even if Kotlin adds a little bit overhead (ref)
When it comes to Swift, the case is even stronger. While Kotlin is officially endorsed and preferred by Android team, it's still developed by another entity, JetBrain. Meanwhile, Swift is developed by Apple specifically for iOS, macOS and tvOS development. In the first quarter of 2018 Swift surpassed Objective-C in measured popularity (ref). The runtime overhead will no longer be an issue for Swift 5, according to wwdc 2018

And we also have another release coming up for you in the language, Swift 5. The focus of Swift 5 is greater adoption by delivering Swift as part of the OS. Apps will no longer need to include the Swift runtime when delivering on our newer OS releases, resulting in smaller downloads and faster launches. We're very excited about this, too, and we have made great progress toward this goal. And you'll see it in a release coming early next year.

Proposed actions

Change https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create.dart to switch the default language to Swift and Kotlin.

Change https://github.com/flutter/flutter-intellij accordingly

Convert all "first-party" plugins https://github.com/flutter/plugins to Swift and Kotlin.

Write platform unit test in Swift (https://github.com/flutter/flutter/issues/10141) and Kotlin (https://github.com/flutter/flutter/issues/10140)

https://youtu.be/ht2bDlJd2c4?list=PLjxrf2q8roU3ahJVrSgAnPjzkpGmL9Czl&t=1803 @mjohnsullivan said #ShouldHaveUsedKotlin 😂

I have already created an app in the default way, so my native languages will be Java and Objective C.
Is there a way to change the Native languages after a project has already been created ?
Thanks

Little known secret -- you can run flutter create . in your Flutter app directory and it will repair the project, recreating any files that are missing. So if you already have a project created with Objective-C and Java, you can run:
flutter create . -i swift -a kotlin

to convert the host app to Kotlin and Swift. Hope this helps!

Ahh. Thanks heaps @timsneath. This really helps.

Per https://swift.org/blog/swift-5-released/ it looks like Swift 5 is out as of March 25 (a few days after the last comment ITT) and includes ABI stability.
@cbracken, per your comment above I think this it now makes sense to pull the trigger.

also, during I/O 2019, Kotlin is more focused than Java.

cc @csells

Little known secret -- you can run flutter create . in your Flutter app directory and it will repair the project, recreating any files that are missing. So if you already have a project created with Objective-C and Java, you can run:
flutter create . -i swift -a kotlin

to convert the host app to Kotlin and Swift. Hope this helps!

I get this message when enter that command
Multiple output directories specified.
Try moving -i to be immediately following create
Any advice?? Thanks!!

Oh sorry. Move the period (.) to the end of the command, rather than the
beginning. Catches me out every time!
On Tue, May 21, 2019, 8:20 PM jonthn90<EMAIL_ADDRESS>wrote:

Little known secret -- you can run flutter create . in your Flutter app
directory and it will repair the project, recreating any files that are
missing. So if you already have a project created with Objective-C and
Java, you can run:
flutter create . -i swift -a kotlin
to convert the host app to Kotlin and Swift. Hope this helps!
I get this message when enter that command
Multiple output directories specified. Try moving -i to be immediately
following create
Any advice @timsneath https://github.com/timsneath?? Thanks!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/21190?email_source=notifications&email_token=AARWL6YJTJ5O5ZQQMS2WK2DPWS3XXA5CNFSM4FSKEWIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5Y6SA#issuecomment-494636872,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARWL65O6N75LD63VUNTOQDPWS3XXANCNFSM4FSKEWIA
.

Oh sorry. Move the period (.) to the end of the command, rather than the beginning. Catches me out every time!
…
On Tue, May 21, 2019, 8:20 PM jonthn90 @.***> wrote: Little known secret -- you can run flutter create . in your Flutter app directory and it will repair the project, recreating any files that are missing. So if you already have a project created with Objective-C and Java, you can run: flutter create . -i swift -a kotlin to convert the host app to Kotlin and Swift. Hope this helps! I get this message when enter that command Multiple output directories specified. Try moving -i to be immediately following create Any advice @timsneath https://github.com/timsneath?? Thanks!! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#21190?email_source=notifications&email_token=AARWL6YJTJ5O5ZQQMS2WK2DPWS3XXA5CNFSM4FSKEWIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5Y6SA#issuecomment-494636872>, or mute the thread https://github.com/notifications/unsubscribe-auth/AARWL65O6N75LD63VUNTOQDPWS3XXANCNFSM4FSKEWIA .

Thanks @timsneath!!
Just need to specify the --org and work it.

flutter create  -i swift -a kotlin .

Can we update an existing flutter project to include Swift and Kotlin?

@DjivaCanessane either see the comment immediately above yours from @AppleEducate for the correct solution, or https://github.com/flutter/flutter/issues/21190#issuecomment-475403156 for more detail (but there was a typo)

The runtime overhead will no longer be an issue for Swift 5

An important caveat there is that this is true only for people running iOS 12.2 or later.

An important caveat there is that this is true only for people running iOS 12.2 or later.

iOS 12.x covers around 85% of all devices (as of May 30, 2019 ,ref, they don't have the break down of minor version). I would expect the adoption of iOS 13.x is >70% 1 year from now.
Moreover, it's my assumption that flutter developers would use more than plugins from 1st party, and if any 3rd party plugin is using Swift, the runtime overhead (if any) is there anyway 😄

Over 75% of devices have iOS 12.2 or greater (which is the version including Swift 5 ABI stability), so Swift no longer adds a binary overhead. And since a large number of plug-ins use Swift, new users who accept the defaults hit a lot of friction when adding these packages (e.g. https://github.com/flutter/flutter/issues/16049).
On the Android side, Kotlin is the advocated default by their team; there are no obvious technical challenges AFAIK to switching the default here, and since the documentation is increasingly Kotlin-focused, we're adding friction here too.
Ideally we'd get this complete for the next stable release, but if it turns out that there is other complexities (e.g. ecosystem transition issues that I'm not aware of), then we could consider punting it one more stable release.

I've e-mailed @zanderso and @cbracken to ask them to look at this.

I've only had a look at Swift. Depending on which source of statistics you go with, somewhere in the vicinity of 75-85% of iOS devices are on iOS 12.2 or newer. While switching to Swift will bundle the Swift runtime libs in the app package for those targeting iOS releases prior to 12.2 (probably almost all apps today), Apple performs app thinning on downloads to devices running 12.2 or later, so end-users won't incur the download cost. Generally speaking, I'm in favour of switching the default for applications from Obj-C to Swift, and maintaining Objective-C as the non-default option.

Great - thanks for taking a look, Chris.
On Wed, Jul 31, 2019 at 4:49 PM Chris Bracken<EMAIL_ADDRESS>wrote:

I've only had a look at Swift. Depending on which source of statistics you
go with, somewhere in the vicinity of 75-85% of iOS devices are on iOS 12.2
or newer. While switching to Swift will bundle the Swift runtime libs in
the app package for those targeting iOS releases prior to 12.2 (probably
almost all apps today), Apple performs app thinning on downloads to devices
running 12.2 or later, so end-users won't incur the download cost.
Generally speaking, I'm in favour of switching the default for applications
from Obj-C to Swift, and maintaining Objective-C as the non-default option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/21190?email_source=notifications&email_token=AARWL66ZXE3SFLAOWM2TXBLQCIQI3A5CNFSM4FSKEWIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3I4FJY#issuecomment-517063335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARWL677NTJ5DTGRHW3NP6DQCIQI3ANCNFSM4FSKEWIA
.

The PR to flip the default in the tool is ready to land. Waiting on the tree turning green.

The PR has merged.

changing to swift doesn't increase the app size at all:
https://flutter.dev/docs/perf/app-size


Clean-up duplicated Patroni config reloads

This PR removes unnecessary calls to reload_patroni_configuration method, in cases where the charm's update_config method is explicitly called right before such line. This method already reloads the Patroni configuration internally (reference), so it does not make sense to preserve these lines.

This discovery was done thanks to the help of @lucasgameiroborges

Finally got CI to pass 🎉


Rework the logging infrastructure.

How the logging works now:
Kiota's logging is based on C#'s logging support which uses factories to create loggers with specific categories. The categories are meant to provide a way to add log filters to the infrastructure. Kiota implements a manual FileLogLoggerProvider which creates FileLogLogger instances on demand. The FileLogLogger instances have a file they use to write the logs and close the file on cleanup. The challenge is that you can't have multiple FileLogLoggers writing to the same file since each instance locks the file on creation and the next instance can't access it. If we have shared file access, there's the risk of synchronizing accesses to the file. Right now, Kiota works because it only uses 1 logger that's created on startup for all logging.
Why I want to change it
As part of #4208, I would like to provide the logging infrastructure to the language writer classes when needed and allow users to configure logging filters based on components. This isn't a trivial change unless we rework the FileLogLoggerProviders.
How I want it to behave
The components that need to log should accept a constructor parameter of type ILogger<T> and use that to perform logging throughout the kiota code base. A decision to be made is whether this constructor parameter is optional or required. Whenever a component logs a message, that message should go into the centralized file logger. The expected output is that messages are printed in the order they were submitted.
How I would implement it
The 1st thing I would do is move the file management code into the FileLogLoggerProvider. This would fix the issue with logger instances failing to access the log file. It would also simplify the FileLogLogger type and make it cheap to create.
I would then introduce a concurrent message queue to the FileLogLoggerProvider type. The FileLogLogger would send any log messages to the provider for processing.
These messages in the queue would be removed from the queue in batches and written to the disk once a specific quota is reached.
When disposing the FileLogLoggerProvider, any messages in the queue would be written to the disk one final time.
Open areas
Error handling (What happens in the case of an IO error? e.g. If the disk is full when there are still messages in the queue)
Backpressure control (does a thread block or are messages discarded when the queue is full?)

This will be a QoL improvement for the CLI. When implementing the language, I can't log anything unless I use Console.WriteLine which I don't think is ideal. There are a lot of times when I've needed to do it during development but had to instead either use a debugger or add a Console.WriteLine then remove it before pushing the code. In all these cases, the experience was sub-optimal. I think since we've gone through the trouble of adding a logging infrastructure, we should let language writers use it easily.
To address your questions:

Do you expect people to log to multiple different files
No. The request is to use 1 file, but allow users to create multiple loggers with their own categories. That way, I can turn off
Kiota Builder logs and enable logs for only my component. The logging library we're using already supports this feature.

Do you expect people to be able to configure log levels per "major component"
Yes. This is how the logging library was designed to be used. If we use a configuration provider, we get the ability to
configure log levels for free, otherwise we'd have to read logging configuration provided by the user e.g. from a command
option

Why do you think this is needed?
I think filtering log output is an important part of troubleshooting a product. It will also allow us to ask for log output
from users of kiota to help with logging. This makes it faster to track down problems in some situations.

Thanks for the additional information here.
How do you expect people to configure logging per component? (besides maybe with app settings)

So, what I would do is use the application host & configuration providers already provided by the .NET team with our defaults configured in code. This allows us to support file configuration(json, xml, ini), command args and environment variables without writing much code for it.

I don't expect any changes to the CLI. Most of the changes will be internal to kiota. One thing that may change is the logging categories.
In relation to open telemetry, the .NET docs say that you can plug in an OpenTelemetry exporter for free. I've never tried it though.

yes, that (and the prior version with Application Insights) works out of the box. I've explored that when implementing observability for kiota generated clients. In dotnet the two steps that are required are:

start listening to the categories (specific to dotnet, other languages are turned on by default)
add an exporter for OT tracing.

The main gist I get from this is the concerns around the FileLogLoggerProvider and FileLogLogger implementations with regards to extensibility/performance.
Assuming we cleanup the logging to pass around ILogger<T> to constructors and follow best practices, and given that dotnet does not provide a LoggerProvider for file logging in the framework, would it make sense to take advantage of 3rd party logging sinks like serilog and async rather than have the functionality like message queueing built-in by ourselves?

Serilog can bring on a lot of dependencies and infrastructure the last time I checked.
I'm ok with using the file sink as long as we only use serilog APIs to register/manage the file sink. I don't want other parts of kiota taking dependencies on their APIs in case we'd need to switch it in the future.

Just to keep things simple, why not have an in-memory logger that flushes to a file every 30 seconds or when disposed?
connecting that to the ILogger infrastructure with all its goodies (filtering per category eg.) should not be a problem.


add termd

termd is a cli for previewing and rendering markdown files in the terminal.

It would be nice to add it to the list.
You can contribute by making a pull request and adding them yourself.

Okay. Thanks


generate component in src folder

I want to generate component in "src" folder not in "src/app" folder.
for example
I run "ng generate component test1"
then this command will create folder in  "src/app/test1"
but I want component in path "src/test1"
Please advise me

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Upgrade sockjs to 0.3.17

remove ~.

@njam please review

lgtm
Can/did you verify it works reliably?

It worked on my small local test script.

Verified


typescript-tools takes too long to load the project

Hi there, I have been trying to setup this plugin, and it works well after loading the project, but it takes extremely long to load. Sometimes is even timing out.
I tried with the minimal config in LazyVim and still is not performing well...
My machine is a WSL, by the way.
Could you give me any advice on how to impove the preformance?
Thanks!

Is the time of loading the project slower than e.g. https://github.com/typescript-language-server/typescript-language-server?
Starting tsserver depends largely on project size and it might not be the issue with this plugin

You are right, this is a tsserver issue. Thanks!


Model.find with invalid ID gives DocumentNotFound instead of InvalidObjectId

Calling Model.find with an invalidly formatted BSON::ObjectID used to throw a BSON::InvalidObjectId error in Mongoid 2.x
However, in Mongoid 3, it seems it throws a Mongoid::DocumentNotFound error instead of a Moped::BSON::InvalidObjectId error as expected. Is there some sort of option to have it throw the InvalidObjectId error again?
id = Moped::BSON::ObjectId.new
 => "51e476877a93d0e9ac00000d"
Player.find(id)
Mongoid::Errors::DocumentNotFound:

Player.find('abc')
Mongoid::Errors::DocumentNotFound:

We need to not raise an exception in the case that @bencrouse mentions.


Add url.components

Add url.components attribute.

Codecov Report

Merging #243 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #243   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          52     52
  Lines        2700   2705    +5
=====================================
+ Hits         2700   2705    +5

Impacted Files
Coverage Δ

apistar/components/umi.py
100% <100%> (ø)
:arrow_up:

apistar/components/wsgi.py
100% <100%> (ø)
:arrow_up:

tests/test_http.py
100% <100%> (ø)
:arrow_up:

apistar/http.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[Bug] When streamx stops a task, start savepoint, but the savepoint path is not required

Search before asking

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

What happened
When streamx stops a task, start savepoint, but the savepoint path is not required. If you do not specify a savepoint path to stop, the task will fail to stop and cannot be stopped again. You can only go to yarn to stop
StreamX Version
1.2.3
Java Version
jdk1.8
Flink Version
1.14.3
Scala Version of Flink
2.11
Error Exception
Background prompt savepoint path is not specified.

Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

same problem

When savepoint is on, custom savepoint is set as mandatory in the front end

@wolfboys When savepoint is on, custom savepoint is set as required in the front end. Is it OK?

When stopping, if enable savepoint policy as follows:

Specifying the savepoint path will keep the savepoint to the path specified by the user
If the savepoint path is not specified, it will be kept to the default path, and the configuration will be read (state.savepoints.dir)

停止时如果用户开启savepoint 策略如下:

指定了savepoint path 会将 savepoint 保持到用户指定的路径下
未指定 savepoint path 则会保持到 默认的路径下, 会读取配置(state.savepoints.dir)

@wolfboys Through the test, when state.savepoints.dir is set in the configuration file flink-conf.yaml. After dir, this bug no longer appears, the job stops normally, and savepiont is normally guaranteed in state savepoints. In the path set by the dir parameter, I think this bug can be closed

@wolfboys 通过测试，当在配置文件flink-conf.yaml中设置state.savepoints.dir后，此bug不在出现，作业正常停止，savepiont正常保障在state.savepoints.dir参数设置的路径中，那么此bug我认为可以关闭了

@wolfboys 当没有指定Custom SavePoint又没有在Flink的配置文件中设置state.savepoints.dir时，可以提示必须指定Custom SavePoint或者设置state.savepoints.dir，这样可以防止停止任务出现失败的情况，是否可以？
When custom savepoint is not specified and state.savepoints.dir is not set in Flink's configuration, you can prompt that you must specify custom savepoint or set state.savepoints.dir, which can prevent the failure of stopping the task. Is it OK?

Yes, it's better to do so. see Applicationserviceimpl.java 912 to 941 lines for more detail.
可以, 这样做比较好, 具体代码可以看看 ApplicationServiceImpl.java 912 到 941 行

Yes, it's better to do so. see Applicationserviceimpl.java 912 to 941 lines for more detail.
可以, 这样做比较好, 具体代码可以看看 ApplicationServiceImpl.java 912 到 941 行

ok


Support Eureka for service discovery

Currently, light-4j has support for Consul and Zookeeper for service discovery. @chenyan71 has stated that the team plans to add a module for Eureka as well. I've expressed interest in taking on this task.
This issue is to track the planning and design of supporting Eureka.
The first step for me should probably be to go through Eureka documentation and figure out how it works at a high level. Then I can look at what pieces are necessary for light-4j to use.

@tsuilouis @chenyan71 Just FYI. I recently created a Portal Registry to replace Consul as it has some issues. Also, a new module portal-registry is added to the light-4j as another registry/discovery support.
It is a lot simple than Consul and using WebSocket to update instead of Blocking Query(long poll) and it saves a lot of threads for the consumer if there are too many downstream services.
The long term is to move all users to the light-portal registry that is integrated with a lot of other portal services. I am writing some tutorials and will give you guys access once it is ready.

@tsuilouis @chenyan71 As our strategy is to attract users to use the light-controller along with the light-router, we should focus our effort on the light-portal instead in my opinion. The eureka project is a very good reference for us to implement the light-controller though. What do you think?

@stevehu sure, that makes sense. Should I close this issue then? cc @chenyan71

@tsuilouis As we've discussed, I am closing it.


Hide future posts/links and auto publish them on speficied date

This PR closes #147
The schedule for the checks is 9am and 9pm UTC everyday. @jessicaschilling does this make sense? We can change it to what makes more sense for posts/links to be published.
Notes

I couldn't remove the routes for the hidden posts/links in the build process, so I just added a hidden field to each page. Then I use that field to hide items from the homepage and to redirect post routes to the 404 page (does not provide an actual 404 http code to the client). If you have another idea @cwaring @jdiogopeixoto feel free to pitch in.

Other changes that I added in this PR:

hidden field can now be added to any page metadata (frontmatter) to be hidden
Routes for link categories (events, videos, tutorials, etc) like /events will now redirect to the 404 page.

TODO

[ ] Remove WIP notice on forestry for publishing dates

Could I suggest that we add a date field to the links too and auto populate it with the current date? It might be useful to know when they are added plus it make the interface for editors the same across all content types

Most posts are going to be drafted by folks in U.S. Pacific, so it probably makes sense to run the checks at times that work closer to their hours. 4:00 UTC is 9:00 Pacific - sound OK to you?

Yap 👍  So 4am and 4pm UTC then?

Routes for link categories (events, videos, tutorials, etc) like /events will now redirect to the 404 page.
Why this?

It was a fix at an arm's reach so I just included it in this.
We wanted to address this issue before. ATM they are not rendering anything: https://blog.ipfs.io/events/
We might implement another fix in the future, but I think at least this small fix is welcomed.

@cwaring The two dates are to enable us to post links to events that will happen in the near future, as a means of promoting them. Primary example of this is the monthly meetup.
@zebateira Yes please on 4am/pm UTC 😊  ... regarding link category URLs, could we not route them to their respective filter URLs, e.g. https://blog.ipfs.io/?category=Blog%20post?

@cwaring

Could I suggest that we add a date field to the links too and auto populate it with the current date? It might be useful to know when they are added plus it make the interface for editors the same across all content types.
Having date and publish_date feels a bit odd - unless there is another reason for this that I'm missing?

Links already have a date field that is used for the date to display in the UI.
Only for events is the publish_date relevant: the "date" field for the events is the actual date when the event will happen, so we need to make a distinction there. As a bonus, this enables the other types to also have scheduling capabilities.

regarding link category URLs, could we not route them to their respective filter URLs, e.g. https://blog.ipfs.io/?category=Blog post?

Oh ok, will try this yeah 👍

will defer the category pages redirect to #154 since the values will change soon.


Unable to install?

Hello,
Relatively new to WireGuard. Need some help if you please.
I am using the following DigitalOcean image:
https://marketplace.digitalocean.com/apps/pi-hole-vpn
This image contains WireGuard with no configuration on my part necessary. I would love to utilize the WebUI found here. This is what I have done from terminal (screenshot attached).
its not installing. what am i doing wrong?

If you run the wireguard-ui from binary, please ensure you downloaded the correct built version compatible with your VM's CPU arch.

Ok thanks!!!


MDX Integration breaks Netlify Build

Hey @chrismwilliams,
Hope you are doing great, I just fixed failed netlify build pipelines, After debugging build logs I found this
2:53:16 AM:  ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies
2:53:16 AM: .
2:53:16 AM: └─┬ @astrojs/mdx 0.14.0
2:53:16 AM:   └─┬ @mdx-js/rollup 2.2.1
2:53:16 AM:     ├── ✕ missing peer rollup@>=2
2:53:16 AM:     └─┬ @rollup/pluginutils 5.0.2
2:53:16 AM:       └── ✕ missing peer<EMAIL_ADDRESS>2:53:16 AM: Peer dependencies that should be installed:
2:53:16 AM<EMAIL_ADDRESS><3.0.0 || >=3.0.0 <4.0.0"
2:53:16 AM: hint: If you want peer dependencies to be automatically installed, add "auto-install-peers=true" to an .npmrc file at the root of your project.
2:53:16 AM: hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.
2:53:16 AM:
2:53:16 AM:   "build.command" failed

After removing MDX from package.json (because I don't work with MDX) the build process successes
What do you think?

also Build deosn't generate the sitemap.xml

Hi @Elwafi-Elmehdi,
I have seen this issue regarding peer dependencies on a couple of astro integrations. It might be a good idea to open up an issue on @withastro astro repo, and include the above logs, as they're great at getting this sorted.


watch invocation should wrap makefile path

seed-rs/seed#515

@sagiegurari Thanks for looking at this issue!

@Type1J i have a development branch 0.32.2 which might have a fix for this.
can you maybe test it as well on your use case?

I checked it out, did a
cargo uninstall cargo-make
git checkout 0.32.2
cargo install --path .
cd <place with Seed project>
cargo make start

It looks like that works. Thanks!

great. thanks a lot for checking.
i have few more unrelated changes before i release a new official version.

this is now released in the new cargo-make version 0.32.2


Document the missing stack configuration options of TTS

Summary
The Things Stack binary is configurable with many different options. TTS Enterprise and TTS Cloud deployments offer some additional configuration options compared to Open Source deployments. These additional options are not part of the current document.
Ref: https://www.thethingsindustries.com/docs/reference/configuration/
Why do we need this?
The documentation must be up-to-date with all the available configuration options for TTS enterprise and cloud deployments. So, users can know the available options.
What is already there? What do you see now?
Configurations for each component in the TTS.
What is missing? What do you want to see?
All the available configuration options of TTS, including the options specific to TTS Enterprise and Cloud deployments, along with their description.
How do you propose to document this?

Document the missing configuration options of TTS Enterprise & Cloud deployments and their description. Use the command tti-lw-stack config --yml to get all the available configuration options.
It would be good to document the newly added configuration options (if any) whenever there is a new release.

Can you do this yourself and submit a Pull Request?
No

Enterprise and Cloud configuration options are actually included in docs and labeled with a deployment tag to note that it's for those deployments only. For example: https://www.thethingsindustries.com/docs/reference/configuration/tenant-billing-server/. However, some options could easily be missing.
I went through all configuration options maybe a month ago and added all that were missing. I'm going to check again, but this is really inefficient way of tracking them. If you have certain config options that you already saw are missing, please list them here.

It would be good to document the newly added configuration options (if any) whenever there is a new release.

I completely agree with this, so I'm going to raise an issue to require documenting configuration options whenever new ones are added. This should be a responsibility of a developer who adds it, because often I have no idea what those options mean.

I completely agree with this, so I'm going to raise an issue to require documenting configuration options whenever new ones are added. This should be a responsibility of a developer who adds it, because often I have no idea what those options mean.

Sure. Also, it would be good to automate the process similar to the one that we are following for documenting CLI/API options after each release.
Below are some options that are missing in the documentation.
Application Server Options:
--as.aws.iot.telemetry                                                          Enable publishing telemetry to AWS IoT
--as.aws.region string                                                           AWS region (optional)
--as.distribution.timeout duration                                              Wait timeout of an empty subscription set (default 1m0s)
--as.end-device-metadata-storage.location.timeout duration                      Timeout of the end device retrival operation (default 5s)
--as.fetcher.circuit-breaker.timeout duration                                   Timeout after which the circuit breaker closes
--as.fetcher.timeout duration                                                   Timeout of the end device retrival operation
--as.link-mode string                                                           Deprecated - mode to link applications to their Network Server (all, explicit)
--as.packages.azure-iot-hub.cluster.application-server string                   Application Server cluster address (default "localhost")
--as.packages.azure-iot-hub.cluster.join-server string                          Join Server cluster address (default "localhost")
--as.packages.azure-iot-hub.cluster.network-server string                       Network Server cluster address (default "localhost")
--as.packages.timeout duration                                                  Message processing timeout (default 10s)
--as.pubsub.providers strings                                                   Controls the status of each provider (enabled, disabled, warning) (default [mqtt=enabled,nats=enabled])

Identity Server Options:
--is.database-max-idle-conns int                                                Maximum number of idle database connections (default 10)
--is.database-max-open-conns int                                                Maximum number of open database connections (default 20)
--is.user-login.disable-credentials-login                                       Disable login with credentials

Crypto Server Options:
--cs.microchip.aws.parts-table string                                           DynamoDB table of parts
--cs.microchip.aws.region string                                                Region
--cs.microchip.enable
--cs.microchip.expose-root-keys                                                 Expose root keys
--cs.microchip.gcp.part-kind string                                             Datastore part kind
--cs.microchip.gcp.project-id string                                            Project ID
--cs.microchip.reload-keys-interval duration                                    Interval to reload keys
--cs.microchip.source string                                                    Source keys (aws, gcp)

I can't see any crypto server options (cs.microchip.....) when I run tti-lw-stack config. Can you tell me where to find this?


is it possible to replace lines?

I would like to build a custom progress indicator, very simple just a blinking # char at the first position of a line. In the end it should change to ✔. Therefore i would need to replace the whole line within a loop I guess, can I solve this with rich.console.print() ?
(I know there is the rich progress bar, but I would like to build that more simple solution)

ok, I looked it up, but I have no idea how to use that?

Something along these lines...
from rich import print
from rich.live_render import LiveRender
from time import sleep

live = LiveRender("")

for n in range(20):
    live.set_renderable(str(n))
    print(live.position_cursor())
    print(live)
    sleep(0.1)

ok I got it working for my purpose, thanks! Do you plan, adding this as a easier available feature for rich?

Potentially. So you want a single status line that can be updated? Maybe combined with an ascii animation to indicate something is happening.

@willmcgugan
Hello.
Regarding your last comment, is it possible to have single status line that can be updated?
Something lime console example https://github.com/willmcgugan/rich#status but be able to update status text from inside with block?

@willmcgugan
Hello.
Regarding your last comment, is it possible to have single status line that can be updated?
Something lime console example https://github.com/willmcgugan/rich#status but be able to update status text from inside with block?

Yes, call update on the status object.
with console.status("working") as status:
    do_stuff()
    status.update(status="part 2")
    do_stuff

Yes, call update on the status object.
with console.status("working") as status:
    do_stuff()
    status.update(status="part 2")
    do_stuff

@willmcgugan
Just found it in a source code.
Works like a charm. Such an amazing library. Thank you =)

@willmcgugan
Just found it in a source code.
Works like a charm. Such an amazing library. Thank you =)


Peer dependencies restriction on<EMAIL_ADDRESS>

Hello! Im using<EMAIL_ADDRESS>in my app, and want to include your framework, but npm install ... does not allow me to =(
Can you update package.json if there will no issues on compatibility?

+1 material-ui 0.7.1 seems to work fine with react 0.13.1.

I am using  material-ui 0.7.1 with react 0.13.1. and getting a "
Uncaught TypeError: Cannot read property 'replace' of undefined" from getDomId:"

@bblumberg +1 I'm too getting this error.

Even I am having this issue.

@bblumberg and @irium RadioButtons, TextField and many other components expect you to send "id".

Documentation is not clear on this.
Yeah, this should be mentioned somewhere.

For now, I've changed the dom-idable.js mixin to
getDomId: function() {
  return 'dom_id' + this._reactInternalInstance._rootNodeID.replace(/\./g, '_');
}

This seems working now.

Thanks for finding a solution @irium! This issue was caused by [React's v0.13 breaking change that removed access to this._rootNodeId] (https://facebook.github.io/react/blog/2015/03/10/react-v0.13.html#breaking-changes). I am currently in the process of updating mui to fix all breaking changes and deprecations from our peer dependencies. It will be pushed shortly.

v0.7.2 has just been pushed to npm! Thank you for your patience. I'm closing this issue for now. If you are still experiencing installation issues, please open up a new issue and let me know.


Support Telium heat maps for video CTA's

User Story

As a [user role below]:
MediaCenter Offering Manager

I need to:
capture the video user CTA activity

so that I can:
manage the Media Center features based on the user activity

Additional information

Jerry Ringuette is the MediaCenter Offering Manager
Felipe Zuntini Abella is the MediaCenter lead developer
Telium Box folder  Access to this Box folder may be needed from Juan Leon

Acceptance criteria

[ ] widget/pattern updates that support the CTA events

Oct 22, 2019 email from Juan Leon describing the work to be done:
Just for context, there are two pieces of work to get done, one by the video platform, in this case MediaCenter (Kaltura) will need to identify the events and trigger the event so they can be captured by the listeners in the API and received by the second development effort with the widget/pattern code, here we need to see if the code can be done by the page and submit a request to v18 and IDL for support of such events.
Regards,
Juan.

This issue should be written as an epic.  The additional issues are needed.  1)  support the analytics  2)  build the video player  3)  Video research


Update tests that originally restricted the Spark timestamp range

Fixes #10080.
This reverts changes to many of the tests that involved timestamp. After #9996 was merged, the full timestamp range that can be generated from Python and supported in Spark can now be supported.

build


Improve the UX for AI Analysis of Codebase  - Circle Map -suggested improvement

Improve Circle Map Visualization for Codebase Explorer
@kleneway - Loving Jacob, both the concept and the approach you have taken with this!
Fun fact: I have been using this tool primarily as a codebase analysis tool, and I think it has great potential as a code evaluation and onboarding tool for developers. This could gain a lot of traction in helping companies understand unknown codebases.
Fyi, I'd like to contribute as well!
Here are some suggested improvements focused on code analysis specifically around the circle map
Description
The current circle map visualization effectively shows file sizes but does not adequately represent the importance of files (e.g., entry points, key dependencies). To make the visualization more meaningful, we should enhance it to prioritize and highlight critical files over scaffolding or less important files.
Proposed Enhancements
1. Weight Files by Importance

Add a weighting system that combines file size and importance.
Metrics to consider:

File type/role: Highlight entry points (e.g., index.ts) or critical components.
Dependency graph: Prioritize highly connected files.
Git metrics: Use commit history or the number of contributors to gauge importance.

Implementation Example:
function getWeightedCircleSize(textLength: number, importance: number) {
  const sizeFromLength = Math.floor(textLength / 50);
  return sizeFromLength + importance; // Combine size and importance
}

2. Use Color to Show Importance

Apply a color scale to visually differentiate critical files:

Brighter colors (e.g., orange) for entry points or highly connected files.
Neutral colors (e.g., gray) for less important files.

Example:
<circle
  r={radius}
  fill={isEntryPoint ? "orange" : "gray"}
  stroke="black"
/>

3. Introduce Labels for File Importance

Add visual indicators for critical files:

Icons or badges to mark entry points.
Always display labels for critical files, even if the circle is small.

4. Allow Dynamic Scaling or Filtering

Add controls to switch between scaling by file size or importance.
Allow filtering to highlight only entry points or files with high dependencies.

Implementation Example:
<button onClick={() => setScalingMode("importance")}>Scale by Importance</button>
<button onClick={() => setScalingMode("size")}>Scale by File Size</button>

5. Highlight Dependencies

Draw lines or arrows between circles to show dependencies.
Use line thickness or color to indicate the strength or number of dependencies.

Example:
{dependencies.map(dep => (
  <line
    x1={file.x}
    y1={file.y}
    x2={dep.x}
    y2={dep.y}
    stroke="blue"
    strokeWidth={2}
/>
))}

6. Combine Size and Position

Place critical files (e.g., entry points or key dependencies) at the center of the map.
Arrange less critical files in outer layers to emphasize hierarchy.

7. Add a Legend

Include a legend to explain:

Color meanings (e.g., critical vs. neutral files).
How circle size is calculated (e.g., weighted by file size and importance).

8. Dynamic Text Adjustments

Ensure critical file names are always visible.
For smaller circles, move labels outside the circle or dynamically increase their size.

Example:
<text
  fontSize={isImportant ? "16px" : "12px"}
  x={0}
  y={radius + 10} // Position outside for small circles
>
  {file.name}
</text>

9. Show Additional Metrics on Hover

Display file details in a tooltip or side panel when hovering over a circle:

File size (LOC), dependencies, last modified date, importance score, etc.

Example:
<circle
  onMouseEnter={() => setHoveredFile(file)}
  onMouseLeave={() => setHoveredFile(null)}
/>
{hoveredFile && (
  <Tooltip>

File: {hoveredFile.name}

Size: {hoveredFile.size} LOC

Importance: {hoveredFile.importance}

  </Tooltip>
)}

10. Incorporate Metrics into the Sidebar

Expand the details panel to show:

Why the file is important (e.g., its dependencies or role in the app).
Suggested actions for improvement (e.g., optimize, refactor).

Expected Benefits

Improved clarity in visualizing the significance of files.
Better prioritization of entry points and key files.
Enhanced interactivity and usability for developers navigating the codebase.

Additional Notes

Ensure performance optimizations for large codebases (e.g., lazy loading or virtualized rendering).
Provide fallback behavior for files without importance metrics.

@jacob-ai-bot --skip-build

awesome


Introduction, for new developers, to Translator KP and ARA design concepts and related SRI implementation tools

[ ] KP overview
[ ] ARA overview
[ ] SRI tools

Hi @cbizon and @putmantime, with the Relay behind us, I'm wondering if you might have a few minutes this coming week to rough out some further basic content for the architectural / system design sections of the document?
I sort of sense that https://github.com/NCATSTranslator/translator-developer-documentation/issues/7 and this issue overlap heavily. Should we consolidate them in some fashion?
Sorry for bouncing this your way again... just trying to keep the ball rolling.


[Bug]  Discord invite expired?

Not really a bug, but when clicking on your links for Discord, it says they have expired.

hmm, thnx let me check. i didn't have a expiration date on it. must be a discord glitch
will fix it asap

Sorry, might need to be more specific:  it says the link is invalid, which might be because it expired.  Potentially could be an issue on my end, but Discord is working for me otherwise.

i just tried with a incognito window and that worked
could you try the following
https://discord.gg/4K2kdvwzFh

which link did you use, or where did you get it from ?

Must have been a local glitch... switched browsers and it worked.  Sorry!


Suggestion to improve bfl

There many wonderful ideas, so I'd like to discuss about improvements
I respect author, so I didn't rename functions and left namespace 'as is'

scripts are not catalogised, so I put them into lib/
for each script were added headers for avoiding loading them more than once, using readonly variables
function bfl::verify_args_count is good for learning, but is too heavy - it can be replaced by

[[ $# -eq 2 ]] or (( $# >= 1 && $# <=3))

function bfl::verify_dependencies verifies them EVERY time, but it can be verified at loading script autoload.sh, saving results in variables like _BFL_HAS_GREP, so we need not to check grep or lorem when function executes.

Could you explain scripts behavior on exit 1? My terminal (I use Linux Mint) closes every time on bfl::die, even I use terminal by Ctrl+Alt+F1
This is a reason I suggest to use return $? instead of bfl::die with exit 1
May be I need additionally tune terminal settings?
Please, review my updated project https://github.com/AlexeiKharchev/bfl_JMooring

Updated testing system

Updated testing system


updates for new 122 structure

Removed File i/o - covered in 121
Added 2DArrays - expected topic coming into 122

You'll need to change https://github.com/cse12x/java-tutorial/blob/ca25302057be04757e95681e35e47062e7ebd5b8/book_source/source/_toc.yml to include this new page in the table of contents

@hschafer fixed the toc!


UFCS

UFCS, or Unified Function Call Syntax, is a feature employed in procedural languages to allow method call style syntax without explicitly coupling data and processing-- methods without OOP, essentially.
Using UFCS, the following function:
fn add(a, b: into): int {
  return a + b;
}

is callable as
1.add(2)

or the normal
add(1, 2)

This is another idea taken from Nim along with Concepts that I think is really nice syntactically. Other languages such as D and Rust (to some extent) have it, and there is a proposal to add it to C++.

wonder full sugestion we will definityl implment it

I would go the route kotlin goes and add extension functions. the syntax would look something like this:
fn i32.add(other: i32): i32 {
    return this + other;
}

That would be nice to have as well for method style functions, but I don't think the two need be mutually exclusive.

I like this a lot it might be the way to go about adding calls to base data types in the stdlib, i like @jorolf sugestion with the kotlin style more for the pre bootstrap stages becuase its realy simple when it comes to scemantic and type cheacking, but i like the nim style to so we can add both when we go post bootstrap


Add S3, gcs and custom connection support (local and workspace)

Add S3, gcs and custom connection support (local and workspace)

Could you add tests for the connections in the SDK please ?

Could you add tests for the connections in the SDK please ?

Yes, on it.


Put doesnt create new fields in nested objects

min_5level.zng.zip
The new field is added to the root element, instead to the given nested path.
Input used for PUT query:
$ zq -i zng  'over arr | where id==2' min_5level.zng
{id:2,next:3,_id:"625664e3ea574290b931f172",friends:[{id:0,name:"Bradford Shaffer"},{id:1,name:"Monroe Kent"},{id:2,name:"John Carey"}],greeting:"Hello, Hart Kline! You have 9 unread messages.",favoriteFruit:"strawberry",level0:{tags:[1,2,3],value:"0",level1:{tags:[1,2,3],value:"1","level-2":{tags:[1,2,3],value:"2","level-3":{tags:[1,2,3],value:"3","level-4":{tags:[1,2,3],value:"4","level-5":{tags:[1,2,3],value:"5"}}}}}}}
Working scenario: PUT works when the field is ALREADY present:
$ zq -i zng  'over arr | where id==2 | put level0.level1.value:=100' min_5level.zng
{id:2,next:3,_id:"625664e3ea574290b931f172",friends:[{id:0,name:"Bradford Shaffer"},{id:1,name:"Monroe Kent"},{id:2,name:"John Carey"}],greeting:"Hello, Hart Kline! You have 9 unread messages.",favoriteFruit:"strawberry",level0:{tags:[1,2,3],value:"0",level1:{tags:[1,2,3],value:100,"level-2":{tags:[1,2,3],value:"2","level-3":{tags:[1,2,3],value:"3","level-4":{tags:[1,2,3],value:"4","level-5":{tags:[1,2,3],value:"5"}}}}}}}
Buggy scenario: The new field is added to the root element, instead to the given nested path:
$ zq -i zng  'over arr | where id==2 | put level0.level1.value1:=100' min_5level.zng
{id:2,next:3,_id:"625664e3ea574290b931f172",friends:[{id:0,name:"Bradford Shaffer"},{id:1,name:"Monroe Kent"},{id:2,name:"John Carey"}],greeting:"Hello, Hart Kline! You have 9 unread messages.",favoriteFruit:"strawberry",level0:{tags:[1,2,3],value:"0",level1:{tags:[1,2,3],value:"1","level-2":{tags:[1,2,3],value:"2","level-3":{tags:[1,2,3],value:"3","level-4":{tags:[1,2,3],value:"4","level-5":{tags:[1,2,3],value:"5"}}}},value1:100}}}
I was expecting value1 to be created under level0.level1 path with this query. Can you suggest how to do this?
Additional info:
Buggy scenario: New subpaths are created at the root level when the level2.level3 are present:
$ zq -i zng  'over arr | where id==2 | put level0.level1.level2.level3.value1:=100' min_5level.zng
{id:2,next:3,_id:"625664e3ea574290b931f172",friends:[{id:0,name:"Bradford Shaffer"},{id:1,name:"Monroe Kent"},{id:2,name:"John Carey"}],greeting:"Hello, Hart Kline! You have 9 unread messages.",favoriteFruit:"strawberry",level0:{tags:[1,2,3],value:"0",level1:{tags:[1,2,3],value:"1","level-2":{tags:[1,2,3],value:"2","level-3":{tags:[1,2,3],value:"3","level-4":{tags:[1,2,3],value:"4","level-5":{tags:[1,2,3],value:"5"}}}},level2:{level3:{value1:100}}}}}

@muthu-rk: I got curious after seeing your issue so I tried to reproduce it. Maybe my vision is failing me (there's a lot of nesting here, after all :wink:) but I don't think the problems you describe appear in that output.
It might help to use the -Z option, as this pretty prints the ZSON with indentation to better show the nesting. Doing this with the first output you labeled as "Buggy scenario", it's easier to see that value is indeed nested under level0.level1, but I suppose the fact that it was added as the "rightmost" field under level1 gave the illusion of it being a root field when in the non-pretty-printed output.
$ zq -version
Version: v1.0.0-94-g4600f3e7

$ zq -i zng -Z 'over arr | where id==2 | put level0.level1.value1:=100' min_5level.zng
{
    id: 2,
    next: 3,
    _id: "625664e3ea574290b931f172",
    friends: [
        {
            id: 0,
            name: "Bradford Shaffer"
        },
        {
            id: 1,
            name: "Monroe Kent"
        },
        {
            id: 2,
            name: "John Carey"
        }
    ],
    greeting: "Hello, Hart Kline! You have 9 unread messages.",
    favoriteFruit: "strawberry",
    level0: {
        tags: [
            1,
            2,
            3
        ],
        value: "0",
        level1: {
            tags: [
                1,
                2,
                3
            ],
            value: "1",
            "level-2": {
                tags: [
                    1,
                    2,
                    3
                ],
                value: "2",
                "level-3": {
                    tags: [
                        1,
                        2,
                        3
                    ],
                    value: "3",
                    "level-4": {
                        tags: [
                            1,
                            2,
                            3
                        ],
                        value: "4",
                        "level-5": {
                            tags: [
                                1,
                                2,
                                3
                            ],
                            value: "5"
                        }
                    }
                }
            },
            value1: 100
        }
    }
}

Yet another way to confirm this would be to cut the nested field and confirm it's at the same level you put it.
$ zq -i zng -Z 'over arr | where id==2 | put level0.level1.value1:=100 | cut level0.level1.value1' min_5level.zng
{
    level0: {
        level1: {
            value1: 100
        }
    }
}

I think your second output labeled "Buggy scenario" has a similar trap in that you're targeting fields with names like level2 and level3 but the original data doesn't have fields of that name but instead the slightly-differently-named level-2 and level-3, so the fact it's starting a new nested branch with the uniquely-named level2 seems appropriate.

My apologies. I should checked this carefully before reporting the issue. Thanks for the detailed explanation. Appreciate it!


Modify declared for nested array and hash

I fixed bugs of declared method.
key of options[:route_options][:params] is not considered for nested params.
I changed to these.

if nested array is nil, declared method return [].
if nested hash is nil, declared method return {}.

👍


Proofs are blurry when printing

Issue in ./help/quicksilver/review-and-approve-work/proofing/managing-proofs-within-workfront/print-proof-summary-in-wf.md

This is not a documentation issue, please submit a bug report.


Add a one sentence description or title for each query type

I think most of the query types are quite simple but I think it would be more friendly to have a one sentence title or description above each type.  For example the "Coding exons" type could have something as simple as "Find genes by number of coding exons:"

I'll have a stab at this now...

Canned queries
Canned queries (rename to commonly used queries)?

GO
Retrieve gene products (protein and ncRNA) by molecular function (activity), biological process, complex, or location using PomBase Gene Ontology annotation (all evidence codes)

phenotype
Retrieve gene product (protein and ncRNA) phenotypes assigned by PomBase  using the Fission Yeast Phenotype Ontology (FYPO) .

protein modification
Retrieve gene product protein modification using the Protein Ontology (PRO)

protein domain
Retrieve  proteins with specific domains using InterPro or Pfam identifiers
Use IPR*  or PF* for all domain containing proteins

protein feature
Search protein features (e.g. NLS, destruction box) assigned by PomBase  using the protein sequence feature branch of Sequence Ontology (SO)

disease
Retrieve gene products where the curated human ortholog is associated with a specific disease, or any disease (ID)

product type
Retrieve genes products by “product type”. Note that for protein dubious and transposons are included. You can retrieve the subset without these  from the “common queries” link above.

taxonomic conservation
Retrieve  protein coding gene products lists based on broad taxonomic conservation, or absence from S. cerevisiae.

characterisation status
Retrieve genes based on characterisation status (described here >https://www.pombase.org/status/gene-characterisation)

protein mol. weight

protein length

Number of TM domains

Coding exons

Genome location
Retrieve gene products in region.

Gene IDs

Also in my preferred order, based on most  commonly used at the top

Tweaked. Please suggest edits.

Also any specific search tips for these queries.

[ ]  change order of queries to reflect common usage (especially "canned queries" at the top
and "gene list ID search" second (because it get's a bit buried)
[ ]  change  the descriptions.....BUT my descriptions most likely need refining... @mah11 ?

Where are these text descriptions intended to appear? Several of them look too long to have showing all the time, but would (with editing) be fine as tooltips to appear in mouseovers or in little (i) popups. So how I edit them depends on how they'll be used.

I envisage that they would show here when you selected a type, as there is usually quite a lot of space...

by 'here' you mean what? the space underneath the text box?

or should it go above the box/boxes/pulldowns/etc.?

Yes. But wait to see if Kim envisaged something else...
There is usually plenty of room (A bit less for phenotypes but still plenty)

Maybe aov the box would be better,
So
new blurb
existing BOX
any existing text.

Maybe above the box would be better,

Yep.  I think a short sentence at the top (above the input box) would be best.

Some thoughts on the query list entries ...

Canned queries (rename to commonly used queries)?

Yes, I like "Commonly used queries"

Gene ID list search

For this one I suggest keeping "Gene IDs" as the short name, and adding a text description.

coding exons

This should be changed, e.g. to "number of exons", because it searches spliced ncRNA genes as well as protein-coding genes.

Suggestions for text to appear on top when one is selected:

Gene IDs
Enter or upload a list of systematic gene IDs

GO
Retrieve genes via annotated Gene Ontology terms that describe the activity, process, or location of their products (protein or ncRNA)

phenotype
Retrieve genes based on phenotypes of mutations annotated using Fission Yeast Phenotype Ontology (FYPO) terms

product type
Retrieve genes based on product type. Note that "protein" includes dubious and transposon protein-coding genes; there is a prepared query that excludes both in the list of commonly used queries.

protein modification
Retrieve protein-coding genes based on modifications annotated using PSI-MOD ontology terms

protein domain
Retrieve protein-coding genes by specific domains present in the products. To retrieve all domain-containing proteins, search for 'IPR*' or 'PF*'.

protein feature
Retrieve protein-coding genes based on features annotated using the protein sequence feature branch of the Sequence Ontology (SO)

protein length
Retrieve protein-coding genes by product length (in amino acids)

protein mol. weight
Retrieve protein-coding genes by product molecular weight

disease
Retrieve genes for which the curated human ortholog is associated with a disease. To find all disease gene orthologs, search for "disease_associated".

number of TM domains
Retrieve protein-coding genes by number of predicted transmembrane domains in the product

genome location
Retrieve genes in a specified region of a chromosome

number of exons
Retrieve genes by number of exons

taxonomic conservation
Retrieve protein-coding genes based on broad categories of taxonomic conservation

characterisation status
Retrieve protein-coding genes based on characterisation status
(hyperlink "characterisation status" rather than add more text)

... I don't love the GO one but we could run with it if no one comes up with anything better

(hyperlink "characterisation status" rather than add more text)

What should it link to?

"Commonly used queries"

I've changed the name.  We need a description text for above the list.  I put in "Shortcuts for commonly used queries" as a place holder while we decide.

This should be changed, e.g. to "number of exons",

I've changed that.

Also in my preferred order, based on most commonly used at the top

I've put the list in that order.  Let me know if you need any changes.
I've updated the text and screenshot in documentation: https://www.pombase.org/documentation/advanced-search

(hyperlink "characterisation status" rather than add more text)

What should it link to?

https://www.pombase.org/status/gene-characterisation

yep (I think thats the only place we describe the status?)

Thanks, "characterisation status" is now a link.


Server Extensions error

Hello,
Im not sure if this is related to #487, but after performing those fixes, which indeed did fix my codefoling extension and eliminated errors from my chrome developer console, I have the following after I type jupyter notebook in a terminal:
[W 15:58:08.421 NotebookApp] Error loading server extension highlight_html_cfg
    Traceback (most recent call last):
      File "/Users/diego/anaconda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1005, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/Users/diego/anaconda/lib/python3.5/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 986, in _gcd_import
      File "<frozen importlib._bootstrap>", line 969, in _find_and_load
      File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 662, in exec_module
      File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
      File "/Users/diego/Library/Jupyter/extensions/highlight_html_cfg.py", line 7, in <module>
        c = get_config()
    NameError: name 'get_config' is not defined
[W 15:58:08.477 NotebookApp] Error loading server extension ipy-aspell-server
    Traceback (most recent call last):
      File "/Users/diego/anaconda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1005, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/Users/diego/anaconda/lib/python3.5/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 986, in _gcd_import
      File "<frozen importlib._bootstrap>", line 969, in _find_and_load
      File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 658, in exec_module
      File "<frozen importlib._bootstrap_external>", line 764, in get_code
      File "<frozen importlib._bootstrap_external>", line 724, in source_to_code
      File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
      File "/Users/diego/Library/Jupyter/extensions/ipy-aspell-server.py", line 40
        print "open socket"
                          ^
    SyntaxError: Missing parentheses in call to 'print'
[W 15:58:08.483 NotebookApp] Error loading server extension highlight_latex_cfg
    Traceback (most recent call last):
      File "/Users/diego/anaconda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1005, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/Users/diego/anaconda/lib/python3.5/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 986, in _gcd_import
      File "<frozen importlib._bootstrap>", line 969, in _find_and_load
      File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 662, in exec_module
      File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
      File "/Users/diego/Library/Jupyter/extensions/highlight_latex_cfg.py", line 7, in <module>
        c = get_config()
    NameError: name 'get_config' is not defined

This is a duplicate of #490, and isn't related to #487. Essentially, #476 was a bit over-zealous in including all .py files in the extensions folder, as ipy-aspell-server.py is currently incompatible with python 3 (see #491 for a fix) and highlight_latex_cfg.py isn't a server extension at all, so shouldn't be loaded as one.

Hm. I went ahead and made the changes in #491 in my local repo, and reran python setup.py install but am still getting that part of the error. Frankly Im a bit confused where and how the extensions are in fact installed.
One strange thing I noticed after fixing #487 is my ToC stopped regenerating automatically. I now have to toggle it on/off.

Where/how can I actually make the changes described in #491
How can I "update" my extensions so that they track this repo? I thought I was doing that but apparently I'm not.

I'm afraid this is all a bit cobbled together at the moment, as you're rapidly discovering :wink:
I'm afraid I didn't look at #491 carefully enough, and it actually applies the correct fixes, but to the wrong file - see my comment there for information on that.
I'm not sure about the toc regeneration problem - maybe open another issue for that?
I think the process you describe (make changes in a local repo, run python setup.py install) should be enough to update everything fine. You can track this repo by just doing git pull (assuming you're using git? Otherwise, I guess you could just delete your old copy and re-download the new repo source). Note however, that #491 is currently a pull request which hasn't been merged into the repo master branch yet, so you'd need to apply the changes separately.
I think on this occasion you've just run into some mess where we have two independent copies of the same file, which we shouldn't have, and is (understandably) confusing people...

thank you! this fixed it for me


why did you delete this function ? EnvelopesApi.createViewLink

v2/accounts/{accountId}/envelopes/{envelopeId}/views/viewlink
this api is still work, but function is missing
Thanks

We no longer encourage developers to use that method. Instead, download the document to your own application and then provide it to your users as needed.
At this time we have no plan to remove the API call. But we have removed the documentation and SDK support.


Go client PDPKA integration

login
signup
delete user
change passphrase

r? @patrickxb

:mag_right: The commits e4fea7c30ce7...93ad10044cac introduced some visual changes on linux:

Changed: New_Proof_PGP_generating-Generating_PGP (before) (after)


Updated grpc to 1.62.0, protobuf to 25.3, and abseil-cpp to 20240116.0 to fix CVE-2023-44487.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Updated grpc to version 1.62.0 to fix CVE-2023-44487. This also required updating protobuf and abseil-cpp. Unfortunately, our current version of grpc is too far behind for it to be possible to backport a patch.
Does this affect the toolchain?

No.
Associated issues

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-44487

Test Methodology

Local builds with tests.
PR check.
Full build.

Closing this as upgrading grpc is currently considered too risky.


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2024-01-13)
Features

Emit some telemtry on checkout (#178) (f1a08de)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/cedricziel/faro-shop/releases/tag/v0.2.0 :sunflower:


Instagram - Instander

How come Instander is the default option or even included? It's completely redundant compared to MyInsta and is very old/abandoned.

You are right but give a test to Honista - lovely app

Thank you for your feedback on the Instagram mod options. I appreciate you bringing this to my attention.
You make a good point about Instander's current status. Based on your suggestion, I will update the app to set MyInsta as the first option and have it selected by default. This change should better reflect the most current and actively maintained mod options available.

Download karna hai


Left Click "Clear" Bank Filler Instead of "Clear-All".

title

Doesn't left clicking bring up the right click menu first?

@Kamielvf That is indeed the current behavior.


change lint.yml workflow to only run on push

black formatting action fails on pull requests due to this issue https://github.com/wearerequired/lint-action/issues/13 changing it to only run on pushes should fix it.

Linked PR that fixes this


Feature analytics- DAS Configuration for process variables

Adding DAS configuration for analytics of process specific variables

Unnecessary .idea files has been added to the repo and so they have to be removed before making the pull request


Add writeSkopeoApplication helper.

Mentioned in https://github.com/nlewo/nix2container/pull/77#issuecomment-1579042791; not really essential but might be a nice improvement.
Main thing to watch for is that now jq is required for all the little scripts, but it is just a few hundred kb, so I don't think this is a major cost.

Arf, as expected, the CI fails while it works locally. I don't run the tests with nix build but with nix run :/
I will have to figure out what is happening but it's not related to this PR. So, let's merge it and fix the GitHub CI job later.

Main thing to watch for is that now jq is required for all the little scripts, but it is just a few hundred kb, so I don't think this is a major cost.

No, it's not a major cost.
Thank you for your contributions.


pyez_cmd task plugin not returning any output for show commands

I'm trying to execute some normal show commands on devices (MX240 and MX204 on 20.2R3-S3.6 code ) e.g. bgp summary and show chassis routing-engine but instead of receiving normal output it returns the below:
Command launched, output: (False, 'show chassis routing-engine\r\r\nshow: Command not found.\r\n% ')
My code looks like this:
def get_chassis_routing_engine_cpu_data(task):

    result_text = task.run(task=pyez_cmd, command='show chassis routing-engine')
    task.host["re_cpu_text"] = result_text[0].result

I'm using this task plugin instead of pyez_rpc as I would like the data in text format.
Thanks in advance

I think you may be giving it the incorrect command. Junos can give you the RPC command when you add “| display xml rpc” to the end of what you want to run. For example:
show chassis routing-engine | display xml rpc
gives the output:
<rpc-reply xmlns:junos=http://xml.juniper.net/junos/21.2R0/junos>
    <rpc>
        <get-route-engine-information>
        </get-route-engine-information>
    </rpc>
    <cli>
        <banner>{master:0}</banner>
    </cli>
</rpc-reply>

The RPC command you want to execute is given within the  tags… so the command you probably want in your code is:
def get_chassis_routing_engine_cpu_data(task):

    result_text = task.run(task=pyez_cmd, command='get-route-engine-information')
    task.host["re_cpu_text"] = result_text[0].result

I haven't tested this, but since nornir_pyez is still using pyez to connect to JunOS via netconf, I understand that you will still need to use the RPC commands rather than the normal CLI commands.

Thanks for the prompt response.
I tried what you suggested and it just returned the exact same thing.
Command launched, output: (False, 'get-route-engine-information\r\r\nget-route-engine-information: Command not found.\r\n% ')

As I mentioned I'm trying to get the command out back in plain text format as opposed to the usual XML an RPC will return (or JSON in the case of this nornir-pyez plugin)

I never used this command before, so I went to Juniper Documentation  and saw it behaves differently than I thought.
def get_chassis_routing_engine_cpu_data(task):

    result_text = task.run(task=pyez_cmd, command='cli -c "show chassis routing-engine"')
    task.host["re_cpu_text"] = result_text[0].result

I haven't tested this either, but it seems like nornir_pyez is passing what you put in to the Juniper and that is where the error is coming from.

This now works, thank you very much!
It does take quite long and returns the output in a strange format as shown below but I'll just look into trying this via an RPC instead. I'm happy to close this issue.
Command launched, output: (False, 'cli -c "show chassis routing-engine"\r\r\n\r\r\n\r\r\nRouting Engine status:\r\n    Temperature                 45 degrees C / 113 degrees F\r\n    CPU temperature             46 degrees C / 114 degrees F\r\n    DRAM                      16334 MB (16384 MB installed)\r\n    Memory utilization           5 percent\r\n    5 sec CPU utilization:\r\n      User                       0 percent\r\n      Background                 0 percent\r\n      Kernel                     0 percent\r\n      Interrupt                  0 percent\r\n      Idle                     100 percent\r\n    1 min CPU utilization:\r\n      User                       0 percent\r\n      Background                 0 percent\r\n      Kernel                     0 percent\r\n      Interrupt                  0 percent\r\n      Idle                      99 percent\r\n    5 min CPU utilization:\r\n      User                       0 percent\r\n      Background                 0 percent\r\n      Kernel                     0 percent\r\n      Interrupt                  0 percent\r\n---(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------(more)------

I'm curious if it's better when you use the command:
'cli -c "show chassis routing-engine | no-more"'
The idea is to eliminate pauses in the output by skipping the pagination feature.

I have just issued PR 41 to modify the documentation on this since I ran into the same issue and didn't think to look here because this was closed.


react-native-vector-icons, Icon show error image

When creating an issue, please ensure that you provide as much information as you can. Issues with a basic description will sadly be ignored as it doesn't help diagnose the issue :(
If you don't help me, I can't help you ¯\_(ツ)_/¯
Here are some common things to include that can help your issue be diagnosed.

[x] react-native-af-video-player version: ^0.2.1

[x] React Native version: 0.57.8

[x] OS: MacOS 10.14

[x] Has this issue already been raised?  NO

[x] Have you clearly read and understood the Readme?

[x] Code and explanation to replicate this issue:

[x] Are there any console logs?

[x] Include Screeshots / Video:

All of a sudden!
Play icon and fullscreen icon all show error Image


AccordionItemView image bindable properties should be of type ImageSource

Changing the BindableProperty declarations for images in the AccordionItemView class from FileImageSource to ImageSource will allow other ImageSource-derived classes to be used.
Excerpt from AccordionItemView.xaml.cs:
        public static readonly BindableProperty LeftImageProperty = BindableProperty.Create(nameof(LeftImage), typeof(FileImageSource), typeof(AccordionItemView), default(FileImageSource));
        public static readonly BindableProperty RightImageProperty = BindableProperty.Create(nameof(RightImage), typeof(FileImageSource), typeof(AccordionItemView), default(FileImageSource));
        public static readonly BindableProperty ActiveLeftImageProperty = BindableProperty.Create(nameof(ActiveLeftImage), typeof(FileImageSource), typeof(AccordionItemView), default(FileImageSource));
        public static readonly BindableProperty ActiveRightImageProperty = BindableProperty.Create(nameof(ActiveRightImage), typeof(FileImageSource), typeof(AccordionItemView), default(FileImageSource));

By the way, I don't mean to be beating you up with my suggestions. You've done some really fantastic work on your custom components. The minor changes I'm suggesting will make them even better by adding flexibility in how they are used. Thank you for sharing your work with the Xamarin community!


Move some CSI components to Seed cluster

What this PR does / why we need it:
Move some CSI components to Seed cluster.
Fix bug when shoot cluster is hibernized and has some PV in the cluster, user can't delete it successfully.

FYI: I changed the base branch to master. Please rebase accordingly.
In general, first create PRs for master. If they are successfully merged then you can create another PR for the respective release/hotfix branch. :-)


Initial code

Adding the initial code and a very simple setup.py.
@bbeckage, please take a look and feel free to merge and to give feedback.

Great! I will go ahead and accept this merge.


Update TaskRunStatus.ResourcesResult to be more generic.

Changes
This commit extends ResourcesResult to work for more than just ImageOutputs,
but moving to a key/value map instead of a fixed key of "digest".
This also updates the image_digest_exporter to write data in both formats
for backwards compatibility, and updates our e2e test to use this mechanism.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[X] Includes tests (if functionality changed/added)
[X] Includes docs (if user facing)
[X] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
- The Name and Digest fields on TaskRunStatus.ResourcesResult are deprecated and are replaced by the new Key and ResourceRef fields.
- Both sets of fields are present in this release, but a future release will remove the legacy fields.

Ref: https://github.com/tektoncd/pipeline/issues/1392

OK, docs are updated and ready to go.

Rebased!

/lgtm


Update models.py

I missed this one. Same issue as previous movie_id

I was going to add the other places which need to be updated as well. There are a few more, can you find them?

Sure. Let me update them all and reopen the pull request


Add link to a user's twitter profile

Original Tweet:

I feel like there are services that try to collect accounts for a person on multiple platforms... Maybe we could find and use one of these?
Or a user could opt-in to something... But yeah... Thinking this is best as a built-in feature of GitHub for it to really work.

I think this could be a separate extension. You could always add your Twitter profile URL instead of your website.

You could always add your Twitter profile URL instead of your website.

Right. I could do that myself, but my request is that it's easier for me to find other people's twitter account to mention them when I tweet about their project for example.

I'd like this in refined-github as well. Maybe if Location contains a Twitter address remove that and add the link as @kentcdodds shows in his mockup.
Location is an arbitrary text field so users who just pasted their Twitter link would get no Location info, and users who entered something like "https://twitter.com/nzgb | Buenos Aires, Argentina" would get the correct location and the Twitter link as well.
I could code this up

A weird alternative could be to come up with a package that looks up a GitHub user on npm, and then looks up the Twitter profile they've set up on npm, but it would probably not work for most people (who don't bother setting up npm profiles or don't even use npm).

Interesting ideas! Honestly, I'm not personally interested enough to actually code anything up, but @sindresorhus recommended I file an issue anyway :-) Would love to see this implemented :-)

I'd implement the second one

:-1:

I would really like to see this, but per https://github.com/sindresorhus/refined-github/pull/54#issuecomment-193690244, I think it would be better as a separate extension.
@bevacqua Any interest in publishing it as a separate extension?

@sindresorhus Published here: https://github.com/bevacqua/twitter-for-github


support Python 3.7

Moves the python-requires floor on this project down to >= 3.7.

welp, that did not work:
E   ImportError: cannot import name 'Protocol' from 'typing' (/usr/share/miniconda3/envs/pydistscheck-tests/lib/python3.7/typing.py)

E   ImportError: cannot import name 'cached_property' from 'functools' (/usr/share/miniconda3/envs/pydistscheck-tests/lib/python3.7/functools.py)

https://github.com/jameslamb/pydistcheck/actions/runs/4739228620/jobs/8413860506?pr=163
I don't think it's worth the effort and maintenance burden at this time to add patches around those things.
Going to close this for now.


WEBSDK-88 - Ensures that null values are not sent up for additional metadata keys

Ensures that null values are not sent up for additional metadata keys

Seems like trying to remove the null fields make the code a bit complicated. rubin and gerrit,  your thoughts on keeping the codes clean and return null fields or making it a bit complex to remove the null fields?
Or, rubin, can we make it a bit generic and have a utils method to remove null fields and empty object?


[Music]: Error when using "love and add track to library"

Extension
https://raycast.com/fedevitaledev/music
Description
Command failed with exit code 1: osascript -e tell application "Music" to set loved of current track to true
28:62: execution error: „Music“ hat einen Fehler erhalten: Die Typen der Deskriptoren passen nicht. (-10001)
Steps To Reproduce

Apple Music playing
Open Raycast and type in love
use the "love and add to library" command

Current Behaviour
No response
Expected Behaviour
No response

#8648 fixes this

@raycastbot close this issue


[Incorrect Result] tf.math.reciprocal returns NaN on inf input on Linux.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.17.0
Custom code
No
OS platform and distribution
AlmaLinux 9.4
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
tf.math.reciprocal returns NaN on Linux when input is inf or -inf and has dtype=complex128, shape >= 2.
The output is expected to be 0, since:

This behavior is not consistent with dtype=float64, where the output will be 0.
When input tensor contains only one value, the output will be 0.
The same code snippet will return different result on macOS, where the output is also 0.

Standalone code to reproduce the issue
import numpy as np
import tensorflow as tf

input = tf.constant(np.inf, dtype=tf.float64)
out = tf.math.reciprocal(input)
# tf.Tensor(0.0, shape=(), dtype=float64)
print(out)

input = tf.constant(np.inf, dtype=tf.complex128)
out = tf.math.reciprocal(input)
# tf.Tensor(0j, shape=(), dtype=complex128)
print(out)

input = tf.constant([np.inf, np.inf], dtype=tf.complex128)
out = tf.math.reciprocal(input)
# On Linux: tf.Tensor([nan+nanj nan+nanj], shape=(2,), dtype=complex128)
# On macOS: tf.Tensor([0.+0.j 0.+0.j], shape=(2,), dtype=complex128)
print(out)

Relevant log output
AttributeError: module 'ml_dtypes' has no attribute 'float8_e3m4'
tf.Tensor(0.0, shape=(), dtype=float64)
tf.Tensor(0j, shape=(), dtype=complex128)
tf.Tensor([nan+nanj nan+nanj], shape=(2,), dtype=complex128)

I tried running your code on Colab using TensorFlow v2.17.0 and the nightly version. I faced the same issue. Please find gist here for reference.
Thank you!

HI @dlibk @Venkat6871
A Custom Wrapper could be implemented, creating a function that will check if the input is infinite before applying the reciprocal. When it detects inf or -inf, the function will return 0 instead of NaN.
What do you think?


Show QR and screenshot on Swagger page

Show QR and screenshot on Swagger page in order to avoid using console at all

Hello Friend ,
it would be very interesting, put an endpoint in the api to return the qr and code and also the use of individual sessions, someone did something similar but it is incomplete ... unfortunately my knowledge of node, docker and etc. do not allow me to help or do the implementation ... if you can, I'll be very grateful. ..
https://github.com/billbarsch/myzap/
Usage
Start new whatsapp session
http: // localhost: 3333 / start? sessionName = session1
Get QRCode (quickly !!)
http: // localhost: 3333 / qrcode? sessionName = session1 & image = true
png
http: // localhost: 3333 / qrcode? sessionName = session1
json (base64)

DONE!

Is it active?
Why is there no documentation of this in SWAGGER?

@sg957 only QR image is available on /screenshot.
I didn't see the comment above about base64 data when mark it as done, probably :(
If you need to have base64 - create an issue about it please, we'll look at this!
Meanwhile you can parse QR image (or a screenshot) and get base64 data from it


Simple bayesian monte carlo

Issue #, if available:
Description of changes:

adding Simple Bayesian Monte Carlo (SBMC) as in Rasmussen & Ghahramani 2003
added sampling capability to probability measures as this is needed for SBMC
added some tests
fixed some relative imports & made integration test look nicer

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #265 into master will decrease coverage by 0.61%.
The diff coverage is 59.15%.

@@            Coverage Diff            @@
##           master    #265      +/-   ##
=========================================
- Coverage   90.11%   89.5%   -0.62%
=========================================
  Files         115     117       +2
  Lines        3704    3765      +61
  Branches      415     423       +8
=========================================
+ Hits         3338    3370      +32
- Misses        285     312      +27
- Partials       81      83       +2

Impacted Files
Coverage Δ

...kit/quadrature/acquisitions/squared_correlation.py
97.43% <100%> (ø)
:arrow_up:

...ukit/quadrature/acquisitions/mutual_information.py
94.73% <100%> (ø)
:arrow_up:

emukit/quadrature/interfaces/base_gp.py
75% <100%> (ø)
:arrow_up:

emukit/quadrature/loop/vanilla_bq_loop.py
45% <100%> (ø)

emukit/quadrature/loop/__init__.py
100% <100%> (ø)
:arrow_up:

...it/quadrature/loop/quadrature_point_calculators.py
36% <36%> (ø)

...mukit/quadrature/loop/bayesian_monte_carlo_loop.py
50% <50%> (ø)

emukit/quadrature/kernels/integration_measures.py
84.09% <75%> (-3.79%)
:arrow_down:

Continue to review full report at Codecov.

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

with regards to general comment, I called it SimpleBayesianMonteCarlo because it is BayesianMonteCarlo with Simple Random Sampling as in Section 2.1. But I am open to naming suggestions.

Let's just stick with BayesianMonteCarlo for now


Made math rspec checkers and math methods

Please accept this pull request!!

Nice code. Everything looks great!


The decoder network is hard to understand

Hi, can you explain the decoder part of the encoder-decoder network? It's very different from the common decoder network.
For example, block like this is hard to understand:
x = Conv2D(512, (1, 1), activation='relu',padding='same',name='deconv6',
kernel_initializer='he_normal',bias_initializer='zeros')(x)
x = BatchNormalization()(x)
x = UpSampling2D(size=(2, 2))(x)
the_shape = K.int_shape(orig_5)
shape = (1, the_shape[1], the_shape[2], the_shape[3])
origReshaped = Reshape(shape)(orig_5)
# print('origReshaped.shape: ' + str(K.int_shape(origReshaped)))
xReshaped = Reshape(shape)(x)
# print('xReshaped.shape: ' + str(K.int_shape(xReshaped)))
together = Concatenate(axis=1)([origReshaped, xReshaped])
x = Unpooling()(together)

I thik it's very different from the structure in paper, can you expalain it?
Thank you very much!

You need learn unpooling operation

I confused the deconvolution operation and the unpooling operation before. Thank you！ @Diligentfight


Enable console logging for ./bin/strongbox console

Task Description
There is STRONGBOX_LOG_CONSOLE_ENABLED environment property which is disabled by default within Strongbox Distribution. This works fine  when application started as background process with ./bin/strongbox start, so there is no redundant console logs appears in wrapper-*.log files. The problem is that there is a way to start application in console mode with ./bin/strongbox start which will no console output.
Within this task we should find a way to set the STRONGBOX_LOG_CONSOLE_ENABLED=true  only for ./bin/strongbox console, and this should not affect on ./bin/strongbox start
Help

Our chat
Points of contact:

@carlspring
@sbespalov
@fuss86

Hey folks, I'd love to give this a go. I'll join the chat to get started.

Hi @mwvdev,
Feel free to pick it up!

The appassembler-maven-plugin is used to generate the script in question, and reading the docs I've been unable to find a clean way to make changes to the console command only. Changing settings per platform is possible, but I couldn't find a way to change settings per command. I suppose you could do post-processing of the file once generated, but that seems error-prone and brittle to me.

@mwvdev thanks for research.

I suppose you could do post-processing of the file once generated, but that seems error-prone and brittle to me.

this seems not good for me as well.
As an option maybe there is some execution mode specific  ENV variables? If so then we can manage console logging this way.

@sbespalov You're welcome.

As an option maybe there is some execution mode specific ENV variables? If so then we can manage console logging this way.

There could be, but I haven't been able find any that fit the bill.


How to use socket.io in meanjs?

I want to use meanjs chat with Angular2 client via socket.io.I add the code in /controllers/socket.test.js:
var http = require('http');

var fs = require('fs');

// Loading the index file . html displayed to the client
var server = http.createServer(function(req, res) {
    fs.readFile('./index.html', 'utf-8', function(error, content) {
        res.writeHead(200, {"Content-Type": "text/html"});
        res.end(content);
    });
});

// Loading socket.io
var io = require('socket.io').listen(server);

// When a client connects, we note it in the console
io.sockets.on('connection', function (socket) {
    console.log('A client is connected!');
});

server.listen(4200);

But it seems that the port has been used by Angular2 client:

How can I solve it?Thank you.

EADDRINUSE :::4200 error means that you already have something in port 4200 and your server.listen(4200) won't work. Maybe you have the app running already in another terminal?
Are you sure this question is relevant to this repository, as we don't have Angular2 yet?

@simison Thank you!I think I got it,I let server.listen(4000) and it works.The port 4200 is the Angular client port.


Add hub services page

Closes https://github.com/2i2c-org/meta/issues/1197

Cool! I have added some images and video to make the page a bit more lively. I've noticed some overlap with the https://2i2c.org/platform/ page, but I think this is safe to try for now (I can envision re-working those pages more as we refine our product offering 💪)


assemble@beta git clone error

npm ERR! git clone --template=/home/onokumus/.npm/_git-remotes/_templates --mirror git://github.com/assemble/handlebars-helpers.git /home/onokumus/.npm/_git-remotes/git-github-com-assemble-handlebars-helpers-git-552ab89c
ssh_dispatch_run_fatal: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights

I tried with windows. It worked. It might be a problem with my linux. Thanks.


WIP unboxing and reboxing implementation

I haven't decided if this is a good idea yet.
tl;dr:

Storing Elm values (those with ctor) in an array has much smaller performance + size benefits over those without
Unboxing allows us to pull out the JS value from an Elm value
Reboxing allows us to use the API seeminglessly without the end developer needing to worry about performance benefits

Caveats

Currently only works for items with a single arg, e.g Unbox Int will be unboxed but Unbox Int Int won't

Don't do it manually. I will do this as a compiler optimization across all of Elm at some point. It'd work like this:
type Box = Box Int

Would just be represented as an Int everywhere because we know statically that the tag provides no extra value at runtime. OCaml does this. Haskell does not because of laziness, but you can use newtype to achieve this result. We won't need that.
So I'd say, don't do this. It's going to be in the compiler and that's better.

Generally speaking, I'd say, don't do any tricks like this in the first draft. My goal is just to have a reliable Array implementation. We can compare perf after that's done and see what makes sense to do then.