Theme not working with Slack 3.4.0

Not sure if this is a macOS (Mojave) issue only or a general issue with Slack 3.3.8. After updating Slack yesterday and editing the files, the stylesheet seems to work only partially here or there.
Until the update, the dark theme has worked just fine on Mojave for me.
Probably related: issue #74 and issue #78, but perhaps try this comment which worked for me.

Hey Jen, just lettkng you know that Mac Mojave actually supports a native dark mode using a force flag. Check it out! Or don't, that's okay too.

Confirmed on Windows 10 as well.  The chat portion of the window has gone back to a white background, the rest of the window is darkened as per the theme.

I have encountered the same or similar problem. The main chat remains black text on a white background. Threads have black backgrounds but the text stays black as well, making it unreadable.
I am on Windows 10, running Slack 3.3.8.
Restarting and changing workspaces has not resolved the issue.

Still white background in conversation window. (Slack 3.3.8)

Same problem in Win10

Aya, even worse with 3.4.0 (updating the title of this issue…)

Alternatively to force dark mode you can overwrite the 3.4.0 not working ssb-interlop file with the last working ssb-interlop file, it worked for me.

3.4.0 works fine on Win10 if you copy the index.js and ssb-interop.js files over from the 3.3.8 folder.

Aya, even worse with 3.4.0 (updating the title of this issue…)

Changing the title confuses the issue, actually, as many of the replies above referred to 3.3.8.

If you check https://mallowigi.github.io/slack-one-dark-theme/ there are additional CSS options that you need to set. This fixed the issue for me in 3.4.

If you check https://mallowigi.github.io/slack-one-dark-theme/ there are additional CSS options that you need to set. This fixed the issue for me in 3.4.

Amazing!! Thanks

As I'm not sure if this will ever receive an update, there are other forks available, such as: https://github.com/Nockiro/slack-black-theme

Mac Mojave actually supports a native dark mode using a force flag.

@Sharpienero care to elaborate on this? I'd like to get this set up.

Would it be possible to not have text and some other elements hardcoded to #aaa. When customizing the theme it makes text impossible to read if you're not going all dark. For example, I'm making a Nord inspired theme but can't override certain things like timestamps, last replies, channel sorting etc.

Has anyone got this to work in 3.4.2?


Stdout

Hello,
There is any way to make fiche more silent as a ,,daemon'' without all the output on stdout?

Sorry for my late reply. You should be able to silence it by modifying these: https://github.com/solusipse/fiche/blob/master/fiche.c#L291-L317

We may consider implementing some kind of switch that would silence all messages if more people will be interested in this

If is a daemon, should be like that right? Send the output to a log not to stdout or atleast have that option?

@gonzalo- If you open man start-stop-daemon:
-1, --stdout logfile
             Redirect the standard output of the process to logfile when started with -background.  The logfile Must be an absolute pathname, but relative to the path optionally given
             with -r, --chroot.  The logfile can also be a named pipe.

-2, --stderr logfile
             Redirect the standard error of the process to logfile when started with -background.  The logfile must be an absolute pathname, but relative to the path optionally given with
             -r, --chroot.  The logfile can also be a named pipe.

@linxon I am not using loonix.


softDeletes in v4

Will the soft delete functionality from v3 be coming to v4? It's the main thing holding us back from migrating

@thetutlage news on this?

It's planned.

Is there an ETA already? I don't need it urgently, but the sooner the better :smile:

Closing in favor of the related PR.


API request: Enumerate all signature/proof pairs in a ProofDB

db.get_pkg_reviews_for_source("https://crates.io") is close, but there seems to be no way to get the signature.
Loosely related to #137.

@niklasf This should be easy enough to add. Just fill a PR, and I'll be happy to land. :)

My goal was to build something like https://github.com/LucianoBestia/cargo_crev_web (before it existed), so I no longer need this feature.


Inner Process Clients and Session Meta API.

There are two features in this pull proposal: one feature is an ability to create in process clients, which are connected to the given router:

Router::createInnerProcessClinet()
And the session meta API which publishes to the channel for when a client connects or disconnects. This is an advanced profile feature described here:
https://github.com/wamp-proto/wamp-proto/blob/master/rfc/text/advanced/ap_session_meta_api.md

Affectively now you can subscribe to "wamp.session.on_leave" channel and get notified when any other clients leaves (disconnects) from the router.
Two channels are supported: "wamp.session.on_join" and "wamp.session.on_leave".
Fell free to criticise any part of the change or whole. I am happy to incorporate any feedback especially quality related.
Cheers,
Alex

Note that the changes I propose, introduce a small risk of breaking current functionality. You can confirm that by studying the code. The new features are "opt in" style.

Added disclose_caller (supported by jawampa client)  and disclose_publisher (for completeness) to the Router. The default behaviour and API is backwards compatible. It is an opt-in feature - same as in crossbar.io implementation.
This is the last change I wanted to add.
Cheers.

Hi Alex,
thanks for trying to improve jawampa. First of all I'm not opposed to add more WAMP features to jawampa I only took a short look at it (not much time, maybe more in the evening), but these are the things that I recognized so far:

This pull request contains the implementation of several features/improvements (e.g. random generator, disclose api, session api). I know it's convenient to work like this, but reviewing and merging individual things gets hard. Please try to seperate them in future.
The feature announcement for the session api is missing. Maybe also for disclose feature, haven't looked at that yet.
The new random implementation does use reflection for generating each random number. For all of those threadLocalRandomClass.getMethod("current").invoke(null); is called, which I guess is slower than directly using the normal random generator. I guess a good implementation could somehow cache a random function in a static variable that is assigned once and is directly used on newRandomId(), e.g. having a static Func<Long> RandomLong; that is once initialized through reflection and does not use reflection inside. However I'm also open for just upping the java version to 1.7 if anybody can confirm/test if this still works with Android.
Session API: Yes, I think it would be good to have that implemented. But I'm not convinced that implementing it with this metaApiClient is a good idea. The metaApiClient is a WampClient, which basically has it's own threading model and rules which don't conform to the WampRouters threading rules, as both implement their own EventLoop. I think you are violating the threading contracts by making direct function calls between those domains (e.g. client directly calls into router's messageReceived function), which is not allowed and will lead to race conditions. Maybe it would work if the client reuses the scheduler of the router, but it's hard to tell at the moment. There's also the lifecycle question: These clients are created when the router is created but they are never stopped, so they will leak around when the router or realm is closed. I think some proper in-process client implementation would require a solid implementation of a WampTransport that uses a thread safe queue to transport messages from a client to a router. For creating a client in the router more likely a special implementation of the WampClient would be needed that does not perform any implicit queuing and would directly live in the Routers scope. But these all would be some quite big changes. To just implement these features I would more likely create a helper function on the router that publishes an event to all subscribed clients (move the dispatch event handling from PublishMessage handling to there) and just call that method when a client joins or leaves or when a PublishMessage arrives. Maybe the publishEvent method can and should be changed to support this and to don't take a PublishMessage as an input parameter, but this can be quite simply explored.

Hi Matthias,
Thank you for your reply.

This pull request contains the implementation of several features/improvements (e.g. random generator, disclose api, session api). I know it's convenient to work like this, but reviewing and merging individual things gets hard. Please try to seperate them in future.

Apogees for that. You are right about random generator. It is a complete separate piece. Disclose API is separate too. I guess I need to make a separate Github fork for those isolated changes.
The session API is based on in-process-client feature, so those are harder to separate. Not sure if Github can help me with it, OR if I need to make a pull request for in-process-client, then wait for it to be merged to your trunk, and only then create another pull request for session API...
Anyway, thanks for pointing that out, I will try to do a better job next time.

The feature announcement for the session api is missing. Maybe also for disclose feature, haven't looked at that yet.

There few changes seemingly missed being checked in. Apologies, this should be fixed now.

The new random implementation does use reflection for generating each random number. For all of those threadLocalRandomClass.getMethod("current").invoke(null); is called, which I guess is slower than directly using the normal random generator.

Not sure about it, but I understand that a reflection call could make it feel uncomfortable from the performance perspective. The problem with the original Random class is that it enters a critical section on every call. It is expensive and scales badly with the number of CPU cores.

I guess a good implementation could somehow cache a random function in a static variable that is assigned once and is directly used on newRandomId(), e.g. having a static Func RandomLong; that is once initialized through reflection and does not use reflection inside.

You talking about generating the compiled class dynamically? Like with cglib? I would say that it is too hard for what we are trying to achieve here.

However I'm also open for just upping the java version to 1.7 if anybody can confirm/test if this still works with Android.

The problem here is that Android Runtime (ART) is not aligned to Java ME or Java SE standards. So, by lowering runtime compatibility, we are only improving our chance of not using a class which is not implemented on android. For example, Swing classes are not implemented on android entirely, but available in Java since 1.2. As for the source compatibility, sounds like 1.6 is safer choice (see https://developer.android.com/studio/tools/sdk/eclipse-adt.html)
But, yes, we need an Android developer to confirm (I am not).

Session API: Yes, I think it would be good to have that implemented. But I'm not convinced that implementing it with this metaApiClient is a good idea. The metaApiClient is a WampClient, which basically has it's own threading model and rules which don't conform to the WampRouters threading rules, as both implement their own EventLoop. I think you are violating the threading contracts by making direct function calls between those domains (e.g. client directly calls into router's messageReceived function), which is not allowed and will lead to race conditions. Maybe it would work if the client reuses the scheduler of the router, but it's hard to tell at the moment. There's also the lifecycle question: These clients are created when the router is created but they are never stopped, so they will leak around when the router or realm is closed.

The caller would assume responsibility to close them. In case of meta session API, yes, you are right, I should make sure we close them. ...One sec... FIXED.

I think some proper in-process client implementation would require a solid implementation of a WampTransport that uses a thread safe queue to transport messages from a client to a router.

I can look into using a thread safe queue, but I am a bit confused as you are talking about a different approach below:

For creating a client in the router more likely a special implementation of the WampClient would be needed that does not perform any implicit queuing and would directly live in the Routers scope.

I know what you are saying, I have attempted to do that at first, but then realized that it would require some significant change to the architecture and would more likely introduce some regressions, therefore I changed to the plan "B", the one I have implemented.

But these all would be some quite big changes. To just implement these features I would more likely create a helper function on the router that publishes an event to all subscribed clients (move the dispatch event handling from PublishMessage handling to there) and just call that method when a client joins or leaves or when a PublishMessage arrives. Maybe the publishEvent method can and should be changed to support this and to don't take a PublishMessage as an input parameter, but this can be quite simply explored.

Again, quite a significant change. I am concerned that if I would implement a change of this scope you might feel uncomfortable merging it in. If I would start implementing it, I feel that I need to break WampRouter class down to smaller pieces, so it would remain manageable. This might, in turn, break the library API compatibility...
The last problem with the above change is that it would be harder for me to justify it in my organization. I have family and kids, and I cannot afford implementing it at my spare time. Those times, when I was doing those type of things, long gone now. ;) So I am doing it at my work time and my company pays for it. Though, thankfully my company kindly agreed to spend some time working on an open source project this time, when we were needed the feature, I would have much harder time trying to convince them that I need to spend much more time to make a more proper implementation. Unfortunately.
Would you consider implementing createInProcessClient() for the WampRouter? And also the "helper function on the router that publishes an event to all subscribed clients"? Then I can build all the other changes on top of it. I would not have problems with it.
Correct me if I am wrong, but the server seemingly running single threaded. Any plans to make it multithreaded? I might have to look into it too - some time later...
Cheers,
Alex


remove unnecessary topics cache for Topic Manager

fixes #266
topics in KafkaTopicManager will cache PersistentTopic by brokerService.getTopic, it's unnecessary because PersistentTopic is cached in brokerService.getTopic. we should remove it to avoid getting a null topic.

@dockerzhang Thanks for the change. Would you please help add the dedicated test cases to test the new code path?
So the code could be protected by the test cases.

@jiazhai there is existed KafkaTopicManager UT for this PR.
@BewareMyPower the newest topic cache only serve to remove the producer after the connection close.

LGTM. PTAL again @jiazhai


cannot setup for custom rocket chat server with "www" in subdomain

Hey there,
when setting up a custom rocket chat server for example https://www.custom.chat franz changes the url to https://custom.chat and then validates the url.
Which will not work, when the url is not reachable without www.
I tried to trick the url validation into always returning "true" in the rocket chat recipe but franz will still change the url by removing www.
Now I can at least setup the account but the web view won't load because of the changed url...
Please fix.
Greetings,
ben

I found the corresponding code that causes the error:
https://github.com/meetfranz/franz/blob/master/src/components/settings/services/EditServiceForm.js#L6
https://github.com/meetfranz/franz/blob/master/src/components/settings/services/EditServiceForm.js#L113
Per default 'normalize-url' stripsWWW:
https://www.npmjs.com/package/normalize-url#stripwww
This option needs to be disabled!
Greetings,
ben

Ok, got it. My suggested fix is the correct one.
I was able to modify the normalize-url index.js in node_modules within chrome developer console in the electron app.
Changed stripsWWW to false and saved the working url.
Not exactly user friendly but it did the trick :P

Thanks for investigating this issue. Would you mind opening a PR for this?

@adlk sure, can do that.
But there is another issue. After restarting franz the custom rocket chat service's window isn't loaded... :(
Removing and adding it back in again with my trick makes the window load again.
but of course all state is lost...
Not sure wether this has to do with the custom url or some other stuff.
Was not able to find a solution yet :(

Ok, I got some clues...
Somehow franz is removing the www again after restaring the app.
Although no settings are changed...
The webview's src url contains the old url without www.
Maybe there are other places where normalize-url is used.

And I found it in the code :D
https://github.com/meetfranz/franz/blob/84bff14bf649969b3729b2c751b423d33e508f0b/src/models/Service.js#L63
Will open a PR as soon as possible :)
Greetings,
ben

And the PR arrived ;)

Great, thank you so much for your contribution. Your PR is merged and since I need to debug some other stuff it will make it into with beta 14. 🎉

Yay. Great! Thank you so much too :)
I got really fond of Franz. Can‘t live without it anymore ;)


docs: Add minor changes for project build

[x] I have run pre-commit to check linting
[x] I have filled in the "Changes" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Added a few small nice to haves that would have saved me some time.
Other possible change
In the same file it says:
You'll also need to ensure that you have a value for POSTGRES_PASSWORD set as an environment variable on your development machine.
But I have not needed to add this environment variable to get the application running or to get the tests to pass. Is this no longer needed?

You'll also need to ensure that you have a value for POSTGRES_PASSWORD set as an environment variable on your development machine.

But I have not needed to add this environment variable to get the application running or to get the tests to pass. Is this no longer needed?

Maybe you were just lucky and no PW was needed connecting to localhost?

But I have not needed to add this environment variable to get the application running or to get the tests to pass. Is this no longer needed?

That's correct! We plan on updating those docs very soon.


Support keyed executors in Samza Runner to process bundles for stateful ParDo

In pr #23313, we added the executor support for processing elements within a ParDo bundle in parallel. This pr provides the ordering by key for stateful ParDo processing. Instead of dispatching the processing in the thread pool directly, we chain the element processing onto the output future of the last element with the same key, to ensure the ordering by key.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit


Can the Texture types implement Eq?

Being able to compare two handles would be nice.
I'm requesting this because I end up wrapping textures in Rc, and once they've been wrapped, it's hard to tell if they are pointing to the same thing or not without some hacks.

Wouldn't it be better for you to just cast the Rc into a *const Texture2d, and compare the pointers?
I don't think there are any type in the standard library that compare for equality by address. Since there can only be one Texture* object per texture, I feel like this would be a hack.

Yeah, sounds like I'll just do that.


[Bug] Error: Command failed: cat /mnt/host/sys/class/net/eth0/speed

Description of the bug
[root@gateway-suimg ~]# docker container run -it   -p 3001:3001   -v /:/mnt/host:ro   --privileged   mauricenino/dashdot
yarn run v1.22.19
$ node .
listening on *:3001
Using default network interface "eth0"
Using host os version from "/mnt/host/etc/os-release"
node:internal/errors:867
const err = new Error(message);
^
Error: Command failed: cat /mnt/host/sys/class/net/eth0/speed
cat: read error: Invalid argument
at ChildProcess.exithandler (node:child_process:419:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5) {

code: 1,
killed: false,
signal: null,
cmd: 'cat /mnt/host/sys/class/net/eth0/speed',
stdout: '',
stderr: 'cat: read error: Invalid argument\n'
}
Node.js v18.15.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Where is your instance running?
Alibaba Cloud Elastic Compute Service
Additional context
[root@gateway-suimg ~]# route | grep '^default' | grep -o '[^ ]*$'
eth0
[root@gateway-suimg ~]# ip route get <IP_ADDRESS> | sed -n 's/.*dev \([^\ ]*\).*/\1/p'
eth0
[root@gateway-suimg ~]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.9.2009 (Core)
Release:        7.9.2009
Codename:       Core
[root@gateway-suimg ~]# docker -v
Docker version 20.10.21, build baeda1f
[root@gateway-suimg ~]#

Hi there, thanks for all the info. I am closing this in favor of #715 - it is the same issue, just with different install methods.
The problem is that the network interface speed cannot be determined, and I did not check for that. A fix is currently on the way.


Training metrics

Should we have training accuracy calculation automated?
Currently I am handling like this
class Model(ptl.LightningModule):

    def __init__(self,):
        super(AdvTrainModel, self).__init__()
        self.training_correct_counter = 0

    def training_step(self, batch, batch_nb):
        #...
        if batch_nb == 0:
            self.training_correct_counter = (torch.max(y_hat, 1)[1].view(y.size()) == y).sum()
        else:
            self.training_correct_counter += (torch.max(y_hat, 1)[1].view(y.size()) == y).sum()
        return {'loss': self.my_loss(y_adv_hat, y)}

    def validation_end(self, outputs):
        # ...
        train_avg_acc = 100 * self.training_correct_counter / len(self.tng_dataloader.dataset)
        return {'Training/_accuracy':train_avg_acc}

? just calculate accuracy in training_step. you can do whatever in there, it’s not just for the loss

I think the problem here is that if metrics are caculated in training_step, it is only calculated for one batch and we need to tweak the code as @rcmalli did to aggregate for the whole epoch. Can we have a function called training_end where we can calculate metrics for the whole epoch.

@minhptx Did you implement this? I also want to collect my training metrics after each epoch but as far as I understood the new method training_end just collects the output for the whole batch and not all batches in an epoch.

@Jonathan-LeRoux I'm in the same boat.. It is super misleading that validation_end and training_end have different behaviour. It took me a while to understand what was going on.
Continuing this discussion @williamFalcon, I think this thread's name is misleading. There's absolutely no reason for lightning to automatically calculate accuracy. On the other hand, it would be super useful if lightning could keep the list of outputs of training_step just like it does for validaton_step with validation_end.
Correct me if I'm wrong, but the only way to calculate these metrics is for me to save a state of (y_hat, target) throughout the entire epoch and calculate metrics at certain points. My point is, if I am not supposed to keep state to track validation metrics why would we break that philosophy with the training metrics?

@captainvera have you check recent changes in #776 #889 #950
anyway a PR with suggestions is welcome :robot:

@captainvera May I ask how you compute metrics like F1 in current version? I tried to do it in validation_epoch_end but it seemed that to access the data loader by val_dataloader I would need to handle things like moving tensors to correct devices manually...


Question: can the favorites window show more than 5 links?

Hi, thank you for making this useful tool!
I tried to put more than 5 links to the favorite window, but realized it maxes out at 5 and overwrite one of the older links on the Favorites. Is it possible to increase this number to >5 (perhaps in the settings)? Thank you!

I'd still be interested if this is possible. Thanks!

Hi, is there any update on this?

@cocoaaa The current version (3.0) definitely displays more than 5 favorite items at once.  Which version are you currently using and have you been able to try 3.0?


also sanitize markdown input

Coverage increased (+0.02%) to 74.935% when pulling 4493b462f54f319efcdacb4c332e1812f80dd7ef on sanitize into 5410afcc035d986493cc2889e0eb7fbd60e3e90f on master.


add mixed-mode test files

😱

can you add source from which the executables can be replicated

I will ask. I can probably share the source files, not sure on the build config. (I didn’t create these samples so need to check with the author).
To be honest, we’re a little concerned that our tools don’t handle these files well today so my organization may want to avoid proliferation until that improves.

On Dec 16, 2021, at 2:21 PM, malwarefrank @.***> wrote:

can you add source from which the executables can be replicated
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

source files added. I can share the build files privately if you'd like them.
@tarterp is also working to further refine the build process and artifacts to capture more cases.


UNDERTOW-1565 Don't encode query strings and URI paths while redirecting

The commit here fixes the issue reported in https://issues.jboss.org/browse/UNDERTOW-1565
The code in SinglePortConfidentialityHandler which deals with forming the redirect URI was using the 7 argument constructor of java.net.URI, which as per its javadoc, internally encodes the passed parameters, like the queryString. We do not want that to happen, since the query string and other components of the URI that we are building aren't expected to be decoded/encoded, by the container, while we are building the redirect URI.
The commit here uses a StringBuilder to form the redirect URI and then passes it to the single argument constructor of java.net.URI which doesn't do the encoding of the passed parameter, unlike the 7 argument constructor.
The commit also includes an update to an existing testcase to reproduce the issue and verify the fix.

retest this please

These failures don't look related to this change (and in fact the tests work fine locally)


Add Autocomplete documentation in Zeroheight

Here, the overview page demos as well as the  code tab use/links to singleselect and mutiselect which have been deprecated in favor of autocomplete and this is confusing people

Is this related or duplicate to #2385 ? @lucasveil

You probably meant #2457 @mimarz and yes it is a duplicate.
We are rewriting the documentation


add tests for intrinsics

Pull Request Test Coverage Report for Build 1553
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.109%

Totals

Change from base Build 1552:
0.0%

Covered Lines:
2561

Relevant Lines:
2874

💛  - Coveralls


UI Entities from SDK7 showing on other scenes

It seems that in some strange corener cases, there are entities from an SDK7 scene showing on other scenes
In this case, the UI from an SDK7 scene is showing in Genesis Plaza (SDK6)

This was reported by Ani, it's unclear how exactly to reproduce, but in this case she had just been at another scene before.
It seems to suggest that sometimes some UI entities don't get cleaned up
Same bug also seen here by Stoyan:

So apparently a way of reproducing this should be by going into a separate world that uses an sdk7 scene, and going mack to Genesis Plaza

Apparently this is not happening anymore, if it appears again we'll re-open


panic: flight reader: rpc error: code = NotFound desc = Database 'ORGANIZATIONID_BUCKETID' not found

Specifications

Package Version: v0.5.0
InfluxDB Version: 2.0 Serverless
Platform: Mac

Code sample to reproduce problem
INFLUXDB_URL, INFLUXDB_TOKEN, INFLUXDB_DATABASE exported in bash before run the code.
package main

import (
	"context"
	"fmt"
	"os"

	"github.com/InfluxCommunity/influxdb3-go/influxdb3"
)

func main() {
	// Use env variables to initialize client
	url := os.Getenv("INFLUXDB_URL")
	token := os.Getenv("INFLUXDB_TOKEN")
	database := os.Getenv("INFLUXDB_DATABASE")

	// Create a new client using an InfluxDB server base URL and an authentication token
	influxdb3Client, err := influxdb3.New(influxdb3.ClientConfig{
		Host:     url,
		Token:    token,
		Database: database,
	})

	if err != nil {
		panic(err)
	}

	// Close influxdb3Client at the end and escalate error if present
	defer func(influxdb3Client *influxdb3.Client) {
		err := influxdb3Client.Close()
		if err != nil {
			panic(err)
		}
	}(influxdb3Client)

	// Prepare FlightSQL query
	query := `
			SELECT *
			FROM "BUCKET_NAME"
			WHERE
			time >= now() - interval '7 day'
		`

	iterator, err := influxdb3Client.Query(context.Background(), query)
	fmt.Printf("\niterator: %v\n", iterator)

	if err != nil {
		panic(err)
	}
}

ERROR:
iterator: <nil>
panic: flight reader: rpc error: code = NotFound desc = Database '984e6e8db0df2d3a_b9b50c56286d6cf2' not found

goroutine 1 [running]:
main.main()
        /Users/rogeriocassares/Git/OpenDataTelemetry/timeseries-api/cmd/app/main.go:73 +0x340
exit status 2

Expected behavior
Query the data
Actual behavior
iterator:
[Error ](panic: flight reader: rpc error: code = NotFound desc = Database '984e6e8db0df2d3a_b9b50c56286d6cf2' not found)
Additional info
No response

Hi @rogeriocassares,
Thank you for using our client.
For specifying the database, please use the name of the bucket, not the ID.
Best regards

Hi @rogeriocassares,
I'd be glad to assist you. However, the error message "Database '984e6e8db0df2d3a_b9b50c56286d6cf2' not found" originates from the InfluxDB server. Could you please confirm that you're using the correct database name and a token with sufficient permissions?
Best regards

Many thanks @bednar for your reply.
Yes, I am using the correct database and the token is correct.
I have tried a read token and an All Access token too. Nothing changes.
I tried also insert the database name in QueryOprions and nothing. I am stucked.
How can I debug the influxdb cloud?
I make an Write function and it worked, but the query not.

Does your account use the InfluxDB v3 storage engine?

This InfluxDB Cloud documentation applies to all organizations created through cloud2.influxdata.com on or after January 31, 2023 that are powered by the InfluxDB v3 storage engine. If your organization was created before this date or through the Google Cloud Platform (GCP) or Azure marketplaces, see the InfluxDB Cloud (TSM) documentation.

To see which storage engine your organization is using, find the InfluxDB Cloud powered by link in your InfluxDB Cloud organization homepage version information. If your organization is using InfluxDB 3.0, you’ll see InfluxDB Cloud Serverless followed by the version number.

https://docs.influxdata.com/influxdb/cloud-serverless/


Zarf Skeleton Doesn't load files outside of directory

Environment
Device and OS: linux
App version: main branch
Kubernetes distro being used: n/a
Other:
Steps to reproduce

Published this package as a skeleton:

 zarf-package-k3d git:(main) ✗ zarf package publish .  oci://ghcr.io/runyontr

Using config file /home/tom/Workspaces/zarf-package-k3d/zarf-config.yaml

Saving log file to /tmp/zarf-2023-06-02-05-42-58-3344554324.log

  📦 K3D COMPONENT

  📦 INIT COMPONENT

  📦 METALLB COMPONENT

  ✔  Loading 1 K8s manifests
  ✔  All of the checksums matched!

  📦 PACKAGE PUBLISH k3d-local:v1.26.0-skeleton

  •  Publishing package to ghcr.io/runyontr/k3d-local:v1.26.0-skeleton
  ✔  Prepared 5 layers
  ✔  f1300d0e063c [application/vnd.unknown.config.v1+json]
  ✔  f596441c2a26 checksums.txt
  ✔  0913ba1c0ad9 components/k3d.tar
  ✔  f7fc830805c8 components/metallb.tar
  ✔  6e6aca467266 zarf.yaml
  ✔  85d16f549a75 components/init.tar
  ✔  01838056b4b5 [application/vnd.oci.image.manifest.v1+json]
  ✔  Published ghcr.io/runyontr/k3d-local:v1.26.0-skeleton [application/vnd.oci.image.manifest.v1+json]

  •  Example of importing components from this package:

- name: import-k3d
  import:
    name: k3d
    url: oci://ghcr.io/runyontr/k3d-local:v1.26.0-skeleton
- name: import-init
  import:
    name: init
    url: oci://ghcr.io/runyontr/k3d-local:v1.26.0-skeleton
- name: import-metallb
  import:
    name: metallb
    url: oci://ghcr.io/runyontr/k3d-local:v1.26.0-skeleton

And then consume it with a zarf package like this one:  https://github.com/runyontr/uds-core-k3d/blob/main/zarf.yaml#L33-L36
and get the following error:
$ zarf package create .
....

                                ######  ###  #####     ######     #    #     #  #####
                                #     #  #  #     #    #     #   # #   ##    # #     #
                                #     #  #  #          #     #  #   #  # #   # #
                                ######   #  #  ####    ######  #     # #  #  # #  ####
                                #     #  #  #     #    #     # ####### #   # # #     #
                                #     #  #  #     #    #     # #     # #    ## #     #
                                ######  ###  #####     ######  #     # #     #  #####

  ✔  Processing helm chart bigbang
  ⠋  Templating helm chart bigbang (0s)
     ERROR:  Failed to create package: unable to process extensions: unable to process bigbang extension: unable
             to template Big Bang Chart: unable to load chart data: unable to parse chart values: open
             ../values/values.yaml: no such file or directory

Expected result
The skeleton package would bring in everything it references
Actual Result
It just pulls in the folder provided.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
Add any other context or screenshots about the technical debt here.

@runyontr Is this still an issue after 0.27.1?

This looks fixed in 0.27.1.  Thanks @Noxsios !


Java solution to Shortest Fizz Buzz

Don't think it's the shortest possible FizzBuzz in Java as there are other things you could try like this one. If you want to make your solution shorter, feel free to send another pull request. Nevertheless, it's better to have a solution that we can improve on rather than no solution. 😃
Thanks for your contribution @jillhkm.


jasmine-reporters modifySuiteName not work?

I'm using protractor 2.1.0 with jasmine-reporters 2.0.7 and jasmine 2.3.4
I tried to use the modifySuiteName option to modify suite names.
This is what in my conf.js:
multiCapabilities: [{
browserName: 'firefox'}, {
browserName: 'chrome'}],

onPrepare: function() {
 var jasmineReporters = require('jasmine-reporters');
  return browser.getProcessedConfig().then(function(config) {
  var browserName = config.capabilities.browserName;
  jasmine.getEnv().addReporter(
    new jasmineReporters.JUnitXmlReporter({
      savePath: 'c://scripts',
      filePrefix: browserName,
      consolidateAll: true,
      modifySuiteName: function(generatedSuiteName, suite) {
          return browserName+ '.' + generatedSuiteName;}
      }));
  });
},

I suppose to see
testsuite name="chrome.Demo App"
in chrome.xml
and
testsuite name="firefox.Demo App"
in firefox.xml
But I can only see
testsuite name="Demo App"
in both files.

I'm using windows 8 and running cmd under the folder c:\scripts.
I'm so new to nodejs and npm that during the set-up process I used npm install --save-dev<EMAIL_ADDRESS>and few days later I used npm install -g jasmine-reporters@latest
So there are 2 jasmine-reporters in my system, one in C:\Users\xxx\AppData\Roaming\npm\node_modules\jasmine-reporters
and another in C:\scripts\node_modules\jasmine-reporters,
with version 2.0.7 and 2.0.0 in package.json, respectively.
I just update my jasmine-reporters in C:\scripts\node_modules to 2.0.7 and the script finally works.
But please edit the protractor section for install of your readme to
npm install --save-dev jasmine-reporters@latest
Thanks.


TDM hardware connection

Context:
This PR contains changes that will allow

TDM device specs to be retrieved from the API
TDMPrograms to be submitted to the hardware
TDMPrograms to be converted into Blackbird programs

Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Thanks for the suggestions @antalszava .


Update readme.md

Pedanticness

Well, grammar hasn't really been a strong suit of mine ever. Thanks for fixing this, buddy


feat(classification): add and populate classification report

There is no way currently to identify whether tables were classified/ which terms were detected in ingestion report. It was only captured in logs.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

code looks good
I'm really not a fan of this ClassificationMixin / ClassificationSourceConfigProtocol structure - is there a way we can use composition here to simplify it?

right, yes. Let me create a separate PR for this refractor.


Bugfix issue6

This (hopefully) solves the problem pointed to by Issue6, which also existed in the master branch (see comments), for the master branch.
What caused the problem:

RetiRenderer takes responsibility for memory managing, especially for deleting, RetiMesh objects added to it.
In this case, it attempts to delete the RetiMesh added to it from stack memory of main() method, causing a double free error, perhaps because main() had already returned and the stack memory for it had been cleared.
The actual error was rasied in the kernel (the "caller" for the main, whatever that is), so obviously gdb could not find the bounds in a normal step-by-step trace.
The error was detected by using the MALLOC_CHECK_ environment variable in gdb.
The core of the problem is doctrinal: RetiRenderer is trying to manage memory that is not it's responsibilty.

The solution:

Simple. Make sure RetiRenderer does not try to manage memory that does not belong to it. In this case, it does not try to clean up RetiMeshes added to it, it leaves that responsibility to ReticleUser.

Other Changes:

Deleted the copy assignment operator for RetiMesh.

Important Note:
This bug has made me realize that storing RetiMesh, RetiTexture etc. objects in stack memory is really not recommended. These objects can be very large, and may cause segfaults if such large blocks of memory are initialized to stack.
@technosap Review this PR, check if the error is fixed on ur side, and merge here. BTW, the error I'm talking about here is similar to that in Assimp-Update branch, except it occurs in the master branch. Don't close the issue yet.

Actually, @technosap , I just realized that merging this to master may make it difficult to merge in PullRequest4 later on. Since the changes here are redundant with those added to PullRequest4 in the latest batch of commits, just review this, ascertain if it does solve the issue with master, comment notifying that, and then close this PR.

Redundant Changes with Assimp Update


Update zsh version

Current version installed is: zsh 5.0.2 (x86_64-redhat-linux-gnu)
Steps remove the zsh installed and install the new one.  EZ.  (full steps incoming including ansible playbook).
Requires removing where it's installed in ansible too.

Test out manually installing it first
Requires curses
sudo yum install ncurses-devel

cd /usr/src/
sudo su
mkdir local
chgrp privilege local/
chmod 775 local/

wget https://www.zsh.org/pub/zsh-5.9.tar.xz

xz -d zsh-5.9.tar.xz
tar xvf zsh-5.9.tar

cd zsh-5.9
./configure && make
sudo make install

Confirm it works
/usr/local/bin/zsh

$ zsh --version
zsh 5.9 (x86_64-pc-linux-gnu)

Make the symlink point to the new install
sudo rm /bin/zsh
sudo ln -s /usr/local/bin/zsh /bin/zsh

Okay everything works with manual testing

Ansible playbook:
# Needed for newer versions of zsh
- name: install ncurses
  vars:
    package_name:
      - ncurses-devel
    package_state: latest
    package_repo: "epel,ol7_developer_epel"
  include_role:
    name: safe_yum
  ignore_errors: true

- name: Create usr/src/local
  become: true
  file:
    path: /usr/src/local
    state: directory
    mode: '0775'
    group: privilege

- name: grab zsh tar file
  become: true
  get_url: https://www.zsh.org/pub/zsh-5.9.tar.xz

- name: untar zsh file
  become: true
  shell: xz -d zsh-5.9.tar.xz && tar xvf zsh-5.9.tar

- name: make zsh
  become: true
  shell: cd /usr/src/local/zsh-5.9 && ./configure && make && make install

- name: Delete old zsh
  become: true
  file:
    path: /bin/zsh
    state: absent

- name: Create a symbolic link
  become: true
  file:
    src: /usr/local/bin/zsh
    dest: /bin/zsh
    owner: root
    group: root
    state: link

@steven-basart The PR has been merged. Can this be closed?


Python: Add support for multiple native function arguments of many types

This is issue to make sure that the Python SDK confirms to this ADR: https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0003-support-multiple-native-function-args.md
If this ADR is already supported, please close this issue.

This was done as part of the broader python work with kernel arguments


Debian aarch64 crash when installing any package

Describe the bug
It crashes when running to a performing post build validation.It shows what appears to be an out-of-bounds string error.
EXCEPTION=basic_string::basic_string: __pos (which is 12) > this->size() (which is 10)
This vcpkg is the version I just compiled locally, the gcc10 and gcc14 compiled versions have this error
Environment

OS: Debian GNU/Linux 11 (bullseye)
Compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Host: OrangePi 3 LTS
Kernel: 5.16.17-sun50iw6

To Reproduce
Steps to reproduce the behavior:

git pull
./bootstrap-vcpkg.sh
./vcpkg install eigen3
See error
Repro code when

Expected behavior
Install normally
Failure logs
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>Detecting compiler hash for triplet arm64-linux...
Compiler found: /usr/bin/c++
Restored 0 package(s) from /home/orangepi/.cache/vcpkg/archives in 22.8 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>/opt/vcpkg/triplets/community/arm64-linux.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
-- Using cached libeigen-eigen-3.4.0.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/eigen3/src/3.4.0-1beca8819c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/libeigen-eigen-3.4.0.tar.gz
-- Applying patch remove_configure_checks.patch
-- Applying patch fix-vectorized-reductions-half.patch
-- Using source at /opt/vcpkg/buildtrees/eigen3/src/3.4.0-1beca8819c.clean
-- Configuring arm64-linux
-- Building arm64-linux-rel
-- Installing: /opt/vcpkg/packages/eigen3_arm64-linux/debug/lib/pkgconfig/eigen3.pc
-- Fixing pkgconfig file: /opt/vcpkg/packages/eigen3_arm64-linux/lib/pkgconfig/eigen3.pc
-- Fixing pkgconfig file: /opt/vcpkg/packages/eigen3_arm64-linux/debug/lib/pkgconfig/eigen3.pc
-- Installing: /opt/vcpkg/packages/eigen3_arm64-linux/share/eigen3/copyright
-- Performing post-build validation
Elapsed time to handle eigen3:arm64-linux: 2.9 s
error: vcpkg has crashed. Please create an issue at https://github.com/microsoft/vcpkg containing a brief summary of what you were trying to do and the following information.
Version=2999-12-31-unknownhash
EXCEPTION=basic_string::basic_string: __pos (which is 12) > this->size() (which is 10)
CMD=
vcpkg|
install|
eigen3|

After running by gdbserver, it's the call stack.


Make @Default usable in an ObservableObject

Good afternoon and thanks for this amazing package. I came across a small error, I can not get the view to be updated when I reset the value to default. When I close the application and open it again, I see that the value is written and is equal to the default.
class SessionStore: ObservableObject {
    @Default(.loginModel) var loginModel
}

extension Defaults.Keys {
    static let loginModel = Key<LoginModel?>("loginModel", default: nil)
}

Button(action:  {
    sessionStore.loginModel = nil
}) {
     HStack {
          Image(systemName: "flame")
                   .frame(width: 24)
          Text("Выйти из аккаунта")
       }.foregroundColor(.red)
}

You cannot use @Default in an ObservableObject. It's meant to be used in a View.
I agree, it would be useful to allow this, but it's currently not possible to replicate the functionality of @Published, since it uses internal runtime inspection. More info here: https://twitter.com/olebegemann/status/1222866304786423808

Unrelated, but you don't need default: nil when the type is optional.

From macOS 11.3 beta 2 release notes:

AppStorage property wrappers now work as expected when contained inside an ObservableObject , causing the system to emit the objectWillChange publisher. (65562845)

So we could maybe wrap @AppStorage or something.


Only allow github IPs on flux webhook ingress

Write a script to automate adding a whitelist to the ingress for the hook IPs in https://api.github.com/meta

Since moving to cloudflared I'm not sure this is needed anymore and if it is it will need to be done on the edge.


Permutation and Combinatorics support

I was wondering if a permutation (nPr - https://www.cuemath.com/npr-formula/#:~:text=The npr formula is used,%2F (n−r)!.) and combination (nCr - https://www.omnicalculator.com/statistics/combination) method can be implemented

I'll be trying to code this.


Adding labels to point data automatically

I have a KML dataset that is a collection of lat, lon, and name values. For example, one of the points is:
<Placemark id="1000010">
  <name>Point 1</name>
  <Point>
    <coordinates>-80.517615,40.910141,0</coordinates>
  </Point>
</Placemark>

I'd like to add this dataset to a map and automatically add labels containing the name attribute of the point.
In plain OL, I am able to do this by creating a style function, and assigning it to the style property of the layer. So, for example, I might have a simple style function like this:
let labelStyle = new ol.style.Style({
    text: new ol.style.Text({
        font: '10px Calibri, sans-serif',
        fill: new ol.style.Fill({
            color: '#000'
        }),
    })
});

And use it like this:
let layer = new ol.layer.Vector({
    source: new ol.source.Vector({
        url: 'dataset.kml',
        format: new ol.format.KML({
            "extractStyles": false
        }),
    }),
    style: function(feature) {
        labelStyle.getText().setText(feature.get('name'));
        return labelStyle;
    }
});

I tried to do this using angular-openlayers-directive, but couldn't get it to work. I tried to follow the same pattern as plain OL, so with the same labelStyle method in scope, I tried:
var layer = {
    name: "Data Layer",
    source: {
        url: "data.kml",
    },
    style: function(feature) {
        $scope.labelStyle.getText().setText(feature.get('name'));
        return $scope.labelStyle;
    }
};

But this does not work. Is it possible to do this some other way? Thank you!

So after further fiddling, I discovered that I wasn't specifying the type property in the source object. After doing that, I got labels to appear.
That said, my style function still was not working. So I converted the KML dataset to GeoJSON, and changed the type property in the source object accordingly. Then my style function began to work. So it appears that, in my case, the style function is not getting used when the dataset is KML. But it does work when I do this in plain OL.
I'll have to look into the source a little more to see if I'm missing something.


onnx .dylib link [Mac M3/ARM/MACOS]

Describe the bug
When following the steps to build the generate() API from source link, there is an issue linking the API back to the onnxruntime dependency
Traceback (most recent call last):
  File "onnxruntime-genai/examples/python/phi3-qa.py", line 1, in <module>
    import onnxruntime_genai as og
  File "/.venvs/universal_venv/lib/python3.12/site-packages/onnxruntime_genai/__init__.py", line 9, in <module>
    _dll_directory.add_onnxruntime_dependency(__id__)
  File "/.venvs/universal_venv/lib/python3.12/site-packages/onnxruntime_genai/_dll_directory.py", line 62, in add_onnxruntime_dependency
    raise ImportError("Could not find the onnxruntime shared library.")
ImportError: Could not find the onnxruntime shared library.

Expected behavior
To fix it, I changed the _dll_directory script to point to the onnx dylib
target_lib_path = "~/Desktop/dev/onnxruntime-genai/ort/lib/libonnxruntime.dylib"

Additional context
Do with this info what you will 😄

Hi @farris, the current version of GenAI doesn't have full support on macOS. I'm working on improving this and it should be improved in the next release. Thanks for trying it out :)


Initialize Database - create tables

When you run  "ASP.NET Core Web Application" with "Individual User Accounts" the underlining tables are not created. The application runs and you can see the UI Register / Login, however you get the features doesn't work because of the tables not existing in Local Database.
Users should run "Update-Database" in the package manager console before running the app, for the tables to be created.

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.


Character \r causes lex_string_invalid_json_char error

Having \r character as a value breaks unmarshaling, however this symbol doesn't cause any issue using native Go implementation.

I can't reproduce the issue locally.
package main

import (
	"fmt"
	"github.com/pquerna/ffjson/ffjson"
)

type Response struct {
	PackageNumber string
}

func main() {
	blob, _ := ffjson.Marshal(&Response{
		PackageNumber: `\r`,
	})
	var resp Response
	ffjson.Unmarshal(blob, &resp)
	fmt.Println(resp)
}

This works great by printing out {\r}


GSLUX-698: FIX init bg config AFTER urls init

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-698
Description
Add init bg configs function, this initialization must be made AFTER vectortiles url initialization (this a a patch for v3)

Thanks, @AlitaBernachot ! As far as I can see, the change makes sense to me. I was just wondering why the style.json is already recovered from https://vectortiles-staging.geoportail.lu/styles/roadmap/style.json in local dev without this change.

My guess is that in dev url intialization happens before bg configuration because there is no minification? whereas in production mode all stores including useStylesStore() (the one that was making the bg configuration before this PR) are launched at once? This is just a supposition, I did not find the reason, already spent too much time on this...

Nice I see it fixed it for migration indeed :-)


Update telegram-alpha to 3.8.4-124768,1022

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

This is an older version.


A route has no "isProtected" method anymore

This change was committed with 29084209b7e5f0fdd6af50f684c5159adebfac69

I'll merge this for now so as the command works again. However, once I'm home I'll ammend this so as the protected column is still a part of the table.
Cheers.


Add prettier as a YAML option

This is a minor README update to add prettier as an option for yaml.

Cheers! :beers:

OK, thanks for the explanation.


[Feature] java agent self-monitor

Search before asking

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

Description
Hello, the current UI of skywalking does not see the self-monitoring function of javaAgent (including dynamically closing the buried point of javaAgent in an emergency, displaying the last report time of javaAgent's heartbeat, the number of segments reported per minute, and the statistics of the number of internal errors in javaAgent) , please confirm whether skywalking currently does not have the self-monitoring function of javaAgent? We want to enhance the self-monitoring function of javaAgent and contribute to the skywalking community
Use case
No response
Related issues
No response
Are you willing to submit a PR?

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

Code of Conduct

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

No, there is not.


October 25 is no longer holiday in Spain Prov=PV

I'm using the WORKDAY integration of Home Assistant to obtain a binary sensor for workdays.
AFAIK python-holidays is being used "under the hood" in this integration
Yesterday October 25th was wrongly marked as holiday.
It's not holiday since 2014.
More info (sorry, in spanish): [https://es.wikipedia.org/wiki/Día_del_País_Vasco#Creación_y_desaparición_de_la_festividad]

Released in beta.. thx! 👍


Error: Your PHP version is not compiled with zip support

my php version is "Version de PHP : 7.1.9" and i am working in ubuntu and i have this problem

my php version is " PHP : 7.2." and i am working in ubuntu and i have this problem

Fixed after enabling zip extension in php.ini

its enable but still not working
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

If you use different versions of php you can get specific modules for version of php with:
php7.2 -m
or
php7.1 -m.
Maybe you are watching modules for php version which don't used in current project.

I have php7.2  but still not working
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache

This helped me on AWS sudo apt-get install php7.0-zip


Thoughts on layout / design

For those of us who know design, does anyone want to create a wireframe so we can start talking about how this site should look?
@abettermap You mentioned your mad skills could be used here

Ha! Not with designing from scratch really, buuuut if somebody else does it I can code it in SCSS.
I'll give it a whirl if there are no takers, though.

I was referring to just talking about general site layout.
What kind of interface do we want?  Map Centeric, What should the landing page be?
How about user engagement?
Matt

🗺 🗺 🗺 for landing.
But I might be a little biased 😉


Call to undefined function BezhanSalleh\FilamentGoogleAnalytics\gmp_sign()

Call to undefined function BezhanSalleh\FilamentGoogleAnalytics\gmp_sign()
I am getting this error when i open google analytics dashboard.

I get this error, too. How did you solve that?

Solution for Xampp
php.ini
extension=gmp


added function DefaultString, DefaultIfBlank

added function DefaultString, DefaultIfBlank for stringutils.go and added Test case

@technosophos review please

Thanks!


introduce plane_t struct with normal and dist members

sPreviously the plane was stored in a vec4_t,
with the three first components being the normal,
and the last one being the distance.
A lot of code was running the vec3_t specific
macros on the vec4_t, it only worked because
we use unsafe types.
This change is a step on the road of making safe
types like vec2_t, vec3_t, vec4_t and turne
macros like VectorCopy into type-safe functions.
This also make the code more explicit.
Instead of doing:
    vec3_t normal = { 0, 0, 0 };
    vec4_t plane;
    VectorCopy( normal, plane );

We can now do:
    vec3_t in = { 0, 0, 0 };
    plane_t plane;
    VectorCopy( normal, plane.normal );

The day VectorCopy is a type-safe function
instead of a macro, it will work.
There already exist a cplane_t struct
that carries normal and dist but also
more information, we may modify it to
use plane_t for normal and dist, this
would allow us to do:
    PlaneCopy( cplane.plane, plane )

instead of:
    VectorCopy( cplane.normal, plane.normal );
    plane.dist = cplane.dist;

But for now this is out of topic.

Hmm, it looks like there is a mistake in tracing, I verified I can go through the pipe next to human base in station15.

I fail to spot the bug in the code I wrote.
I wonder if introducing type safety for the plane is uncovering a dormant bug.

I worry it might be more harm than good...

I worry it might be more harm than good...

It's broken because you used plane_t, a value type, in function arguments, in places where it needs to be a reference/pointer.

Right. This should now be better (on my end it is).

On my end the station15 patch collision detection works again.
The unit test seems to be passing again.
This looks ready to me.

To avoid confusion when reading my comment and my code, I said:
_There already exist a cplane_tstruct_ I have not modified to useplane_t, but I modified the  cPlane_tstruct to useplane_t` (we may look for better names).

using frustum_t = cplane_t[6];

Well that's a tricky typedef.  OK, apparently they're defining the frustum by some bounding planes similarly to a brush. I was mistaken to say that none of the renderer stuff makes sense; the frustum use case is probably fine (though I'd prefer to see a separate commit). I still think a lot of the renderer changes don't make sense so I'll try to make some more specific comments.

This looks ready to me.

When I did this:

https://github.com/DaemonEngine/Daemon/pull/1125

I first implemented it over this branch, and profiled the game in Orbit from time to time to see if I seen a difference in performances, what I have seen.
But then before opening the PR I rebased on master, and I profiled the game again, and I noticed that after rebasing on master, the game went slower. After I rebased back on this branch, the perf gain I was expecting was restored. The screenshots in #1125 were done with the code rebased on this branch, doing an After screenshot while rebased on master would require to also redo the Before one, because the rest of the code on master looks to be slower.
So, it looks like this code does not only clean-up the code and make it more readable to humans, but it may also help the compiler to grasp the code in input and optimize the generated code and make it faster too.


Complete Transaction Struct

This is the domain representation of a transaction, not the ledger representation. But everything that is included on a ledger transation needs to be represented here in some form--the information needs to be all here.

[x] inputs
[x] outputs
[x] redeemers
[x] validator scripts
[x] minting policies
[ ] collateral
[ ] ...

We've changed this to UnbuiltTransaction and it's done now, I think :)


[Model] use FusedMoE layer in Jamba

This PR replaces the Jamba-specific MoE layer impl with the standard vLLM FusedMoE layer.

Thanks for making this change! Did not realize Jamba had FusedMoE during the refactor

I see that some tests in the extended suite are failing but they don't seem to be related

LGTM but is there an active test in CI to ensure this works?

There are 10 general tests for the Jamba model, which pass after the change to the FusedMoE layer

/ready

Thanks for the answers, LGTM

Thanks! How can I re-run the failing tests? These seem like transient, unrelated errors


Add Game::StopPlayerSwitch

I was torn between "StopSwitch" and "StopPlayerSwitch".
If you prefeer the first, tell me.

What does it do?

"Stop character switch"

Ah this kind of switch.


DestroyDB() doesn't remove .ldb files

Original issue 208 created by<EMAIL_ADDRESS>on 2013-10-09T08:12:07.000Z:
New LevelDB directories with .ldb files don't get properly cleaned up by a DestroyDB() which still seems to only be looking for .sst files. Everything else is properly removed, leaving only .ldb files.
(1.14.0)

er... ldb files have used 95G disk, I don't know why? how can i remove ?

@samhuangszu Would need more information, but my guess is that maybe the database is open. If open then DestroyDB cannot acquire the folder lock, and will return a Status indicating that.

er... ldb files have used 95G disk, I don't know why? how can i remove ?

may be u can use manual compaction's api to do this。


Is it possible to hide menu item and replace it with another image?

Hi,
is it possible to replace drawer image with another button/image? For example I show tree structure and user can go to subfolders and I want to replace menu icon with "<" arrow back icon until user is back to root folder and then again show menu icon.
Thanks for help

Do answer questions or not? How can we change menu button in your side menu controller???????????????????????????????????????????????

You can customize the menu button image as described in the readme.

i need to change it several times. on some screens white picture, on others - black

i solved this issue, mb in wrong way, but solve
look. i don't configure button like in readme (SideMenuController.preferences ...) i add button on my view controller and in "touch up inside" i call func toggle()


Team Meeting

Revision 0:

TODO:

Try to arrive at ITB around 12:30 tmrw
Change Homepage UI @Lazarus-XD
Payoff bill @HamidHarris

Presentation

Create User
Show the edit details
Create Group
Add another user to that group
Create a Task
Show Tasks
Complete/Edit Task
Scheduling Page
Create an Event
Bill Management
Add an expense
Edit and delete bills
even split, uneven split
Payoff bill


File not found: 'customized_exe_name.exe'

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Forge Version:
6.0.0-beta.54
Electron Version:
v11.2.3
Operating System:
Windows 10 64

I'm reciving this error when trying to make a .exe with customized name
✔ Packaging Application
Making for the following targets: squirrel
✖ Making for target: squirrel - On platform: win32 - For arch: x64

An unhandled error has occurred inside Forge:
An error occured while making for target: squirrel
Error: Failed with exit code: 1
Output:
Tentando construir o pacote de 'iq-web-bot.nuspec'.
File not found: 'iqwebbot.exe'.

    at ChildProcess.<anonymous> (C:\Users\leona\iq\iq-web-bot\node_modules\electron-winstaller\src\spawn-promise.ts:52:16)
    at ChildProcess.emit (events.js:223:5)
    at ChildProcess.EventEmitter.emit (domain.js:475:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

my used command:
electron-forge make --platform win32 --targets @electron-forge/maker-squirrel
my config inside package.json:
"config": {
   "forge": {
     "packagerConfig": {},
     "makers": [
       {
         "name": "@electron-forge/maker-squirrel",
         "config": {
           "iconUrl": "https://iqwebbot.com/favicon.ico",
           "setupIcon": "./src/assets/logo-blue.ico",
           "name": "web-bot",
           "authors": "Leonardo Rick",
           "exe": "customized_exe_name.exe"
         }
       },
       {
         "name": "@electron-forge/maker-zip",
         "platforms": [
           "darwin"
         ]
       },
       {
         "name": "@electron-forge/maker-deb",
         "config": {
           "icon": "./dist/web-bot/assets/logo-gray.png"
         }
       },
       {
         "name": "@electron-forge/maker-rpm",
         "config": {}
       },
       {
         "name": "@electron-forge/maker-dmg",
         "config": {
           "background": "./assets/dmg-background.png",
           "format": "ULFO"
         }
       }
     ]
   }
 }

Is there a way to use a .exe customized name?

Hey @LeonardoRick , I was having this issue as well.  I noticed that when setting executableName in packagerConfig, it would say it was missing the "name.exe".
Basically, squirrel was trying to create an executable with the default package name but I was trying to set a custom one in packagerConfig; this inconsistency caused the problem.  Once I set executableName in packagerConfig AND exe in the maker-squirrel config, I was able to get my custom exe name.
Please excuse my informality, as this is my first post on github so I'm not sure of the proper etiquette; I'll research this afterward.
Hopefully, this helps!

Closing per @juscca comment, you need to patch your exe name configuration between squirerl and packager

@MarshallOfSound you closed the issue but the bug is still there. The error message has not changed in current Forge and doesn't give any hint. Plus, the workaround described by @juscca (keeping packagerConfig.name, packagerConfig.executableName and MakerSquirrel exe in sync) doesn't seem to work on my machine.
I'm a fresh Electron dev (less than 1 hour :-P) maybe I am missing something fundamental?

still an issue. I am trying to build with Squirel in Linux (I have installed wine and mono)


Cannot click on /blog header link from mobile

Note that the blog link is not anywhere in the header.

Here is the vitor's solution to mobile.

That's true. We need a responsive menu asap.

Done https://github.com/wedeploy/wedeploy.com/commit/02ace87e4a1780ef1274b8d195ab508af45d863d


fix(cursor): fix iterator impl for cursor

closes #33
I think this is what you were asking for
Please let me know if any changes need to be made

I think after I rebase the diff will go away, so hold on I'll amend


Target current tab from any iframe

We have tabId: "this" for this purpose:

https://github.com/pixiebrix/webext-messenger/pull/53

however it only works between extension pages because:

only extension pages can use chrome.tab without intermediary steps

the current logic only handles "this" by comparing the sender to the current context, but this could be trivially changed:
on send:
	if isContentScript && tabId === "this"
		send to background

on background receive:
	if tabId === "this"
		forward to this.trace[0].tab.id

https://github.com/pixiebrix/webext-messenger/blob/ed302a0f45c26714f3d0bdd034d23d4572cb1047/source/thisTarget.ts#L68-L71

This is no longer used after the migration to sidePanel, but it can be added in these two places if it ever becomes useful again.
https://github.com/pixiebrix/webext-messenger/blob/3ac32d7e55c27ebf13558fc168cc1dbf5d6abc4b/source/receiver.ts#L61-L63
https://github.com/pixiebrix/webext-messenger/blob/3ac32d7e55c27ebf13558fc168cc1dbf5d6abc4b/source/sender.ts#L299-L300


WiFi Air Quality Detector - documentation

Hello everybody,
I've bought this device:

Tuya WiFi 6 In 1 Air Quality Detector PM2.5/Formaldehyde/VOC/CO2/Temperature/Humidity
https://www.aliexpress.com/item/1005005034880204.html

After my reverse-engineering here is part to fill in documentation:
Version 3.3 Devices
Version 3.3 - WiFi Air Quality Detector PM2.5/Formaldehyde/VOC/CO2/Temperature/Humidity
^ DP ID ^ Function Point                        ^ Type    ^ Range      ^ Units                 ^
| 2     | PM2.5 value                           | integer | 0 - 999    | ug/m3                 |
| 18    | Current Temperature                   | integer | 0 - 850    | ˚C (multiplied by 10) |
| 19    | Current Humidity                      | integer | 0 - 1000   | % (multiplied by 10)  |
| 20    | CH2O (Formaldehyde) value             | integer | 0 - 1000   | ppm                   |
| 21    | VOC (Volatile organic compound) value | integer | 0 - 2000   | ppm                   |
| 22    | CO2 value                             | integer | 350 - 2000 | ppm                   |
All the best,
Martin Svoboda

Thanks for this @mar-svo !  I've added this table to the 3.3 device section in the README.
The list of devices is getting long. I'm wondering if we should separate out all the device DPS lists into its own document, e.g. DEVICES.md linked from the README with its own TOC/index.


Support for Lean 4 Language Server

Pre-reviewed by @gebner

(This is an automated reply)
Please squash your commits, this ensures a clean git history . If you're not familiar with how to do this, you can do the following:
Assuming you are on a feature branch, use interactive rebase on the master branch:
git rebase -i master
You should see something like the following:
pick 2fad63b Add Crystalline (Crystal)
pick 1917167 Fix wrong root_uri
pick 5ea0995 clangd: "can’t" -> "cannot" in switchSourceHeader failure message
pick 30cf918 Update issue template
pick bcfca98 fix(docgen): remove codeql package.json

# Rebase 29ea30f..bcfca98 onto 29ea30f (5 commands)
#
# Commands:
# p, pick <commit> = use commit
# r, reword <commit> = use commit, but edit the commit message
# e, edit <commit> = use commit, but stop for amending
# s, squash <commit> = use commit, but meld into previous commit
# f, fixup <commit> = like "squash", but discard this commit's log message
# x, exec <command> = run command (the rest of the line) using shell
# b, break = stop here (continue rebase later with 'git rebase --continue')
# d, drop <commit> = remove commit
# l, label <label> = label current HEAD with a name
# t, reset <label> = reset HEAD to a label
# m, merge [-C <commit> | -c <commit>] <label> [# <oneline>]
# .       create a merge commit using the original merge commit's
# .       message (or the oneline, if no original merge commit was
# .       specified). Use -c <commit> to reword the commit message.
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#

For each commit that is not the first commit you have added, change pick to squash. For the first commit, ensure the commit message follows the conventional commits guidelines
<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

^ done.


Remove delivery locations that are not used

This came up in https://github.com/pulibrary/bibdata/pull/1213#issuecomment-821179915.
Delivery locations have five "PG" gfa_pickup codes. These are old data and four of them are not used. We should delete:
Firestone Library, Numismatics; Firestone, Historic Maps; Firestone Library, Cotsen; Firestone Library, Graphics Arts
We want to keep 'Special collections'.

When we do that update the json file and reload the locations.

This is not urgent. It is more of a cleanup task. In the requests form the user doesn't see any of the these pickup locations, they see only AEON.

@kevinreiss removed the four "PG" from production and updated the holding location-delivery id with the one remaining "PG" delivery location. Also removed "PN" for lewis there was a separate one for maps that was in the same state.
I will update the json files now and redeploy on alma-staging.

This is done. Thanks @kevinreiss !


clean up relation construction

we should try and standardize on a convention of using {{ relation }} wherever possible over these variants:

{{ relation.schema }}.{{ relation.identifier }}
to_relation.schema ~ '.' ~ to_relation.identifier

@jtcohen6, how do we disable by default database being included when calling {{ relation }}? Do we have create a child of the Relation class?
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L49
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L111
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L118
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L130
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L152-L154
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L168-L169

+1 to using {{ relation }} instead of concatenating.
Check out how we did this same thing in dbt-spark:

SparkIncludePolicy, which turns off database
That policy is then set within SparkRelation
Set Relation = SparkRelation within SparkAdapter

+1 to using {{ relation }} instead of concatenating.
Check out how we did this same thing in dbt-spark:

SparkIncludePolicy, which turns off database
That policy is then set within SparkRelation
Set Relation = SparkRelation within SparkAdapter

beautiful. I'll open a PR.
maybe being extra here... but how about concatenating a relation by _ instead of .? We do this for index naming. Looking for a cleaner way than the below.
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L116-L139
potential solutions

duplicate BaseRelation.render(), but with '_'.join() instead of '.'.join(). Seems like overkill to me
just quote the rendered relation with square brackets so that the . is ignored? @mikaelene, can you look up an index name that has a . in it? I'm pretty sure you can
just do something like below. not sure if you can call .replace() on relation directly like that though.{% set cci_name = relation.replace(".", "_") ~ "_cci" %}

beautiful. I'll open a PR.
maybe being extra here... but how about concatenating a relation by _ instead of .? We do this for index naming. Looking for a cleaner way than the below.
https://github.com/dbt-msft/dbt-sqlserver/blob/4b3f7bce48f3ffa8509a6b16bcd55976a973c2c1/dbt/include/sqlserver/macros/adapters.sql#L116-L139
potential solutions

duplicate BaseRelation.render(), but with '_'.join() instead of '.'.join(). Seems like overkill to me
just quote the rendered relation with square brackets so that the . is ignored? @mikaelene, can you look up an index name that has a . in it? I'm pretty sure you can
just do something like below. not sure if you can call .replace() on relation directly like that though.{% set cci_name = relation.replace(".", "_") ~ "_cci" %}

Option 1 doesn't sound crazy to me. You could define a special method on SQLServerRelation, something like index_render, and then call {{ full_relation.index_render() }} as needed.
It's fewer moving pieces if you handle in Jinja or SQL, of course.

Option 1 doesn't sound crazy to me. You could define a special method on SQLServerRelation, something like index_render, and then call {{ full_relation.index_render() }} as needed.
It's fewer moving pieces if you handle in Jinja or SQL, of course.

Should happen together with #325


a way to track and give bardic inspiration

Originally in GitLab by @thingscouldgetdicey1
ideally id like a system wide fix to enable giving people die that they can roll.
with bardic inspiration you are giving a player a die to roll and it has 10 minutes as to when it can be used. most of the time it is awarded during combat and 10 minutes can be a long time. so id like a way for players to firstly give the dice to someone from one of there uses of the feature and for it to track on a character sheet that they have the bardic inspiration available.  and for a player to indicated in a chat card upon use of bardic inspiration that it has been used so its contextualised towards the bardic inspiration die.
currently bardic inspiration is written and imported into foundry as damage to attack a target.
ideally id like a mechanism that would allow for rolls to subtract or add the bardic inspiration to them i.e spell attacks and saves for other module uses or for other modules to pull from this functionality so that for people like myself it can be factored into the roll via foundry and get the according results after and before a roll.

I think this is now achievable with enchantments and rider items.


mini SDK >16 ?

nice work ~ :dango:
but when i add compile 'jp.satorufujiwara:material-scrolling:1.0.0'  gradle task tell my mini SDK(14) smaller than this libray(16)

I fixed it, and released 1.0.1.
Please try it, thanks.

OK! I just try to use Android-PullToRefresh or android-Ultra-Pull-To-Refresh ..but this is seems not support the widget well ~ consider to support in the future?

Thank you for letting me know, but now I'm developing to use with SwipeRefreshLayout and it works well.


DX11 resize fix

https://github.com/gfx-rs/gfx/issues/1122

Did not include a gfx_app fix here cause found it inconsistent with the current approach (gfx_app instance does not own the RTV so cannot unsure all its references are detached). Subject to discuss.

Sweet, thanks!
@homu r+

:pushpin: Commit c6c36ae has been approved by kvark

:zap: Test exempted - status


Preprocess Dataset

Contribution Guidelines

Initial Setup

Clone the repository: git clone <repository_url>

Update Local Content

Ensure you’re up to date with the development branch:git checkout devel
git pull origin devel

Create a New Branch

Create a descriptive branch for your work:git checkout -b <branch_name>

Commit & Push Changes

Stage and commit your changes with clear messages:git add <file_name>
git commit -m "Brief description of changes"

Push to GitHub:git push origin <branch_name>

Create a Pull Request

Target the devel branch for merging.
Follow the PR template, review, and submit.

Final Merge & Update

Once approved, merge your PR and delete your branch if desired.
Update your local repository:git checkout devel
git pull origin devel

By following these steps, you contribute effectively and collaboratively.
Task: Preprocess dataset

Description: Create a preprocessing script to format datasets with necessary metadata for GRN analysis and generative AI models with downstream metrics.
Input: Dataset ID
Output: Common formatted dataset with metadata.

duplicated (see #44 )


No distributor dialog clarify

Clarify that it's no distributor with required features, not just no distributor. This might also be the case with android I haven't checked

We should check there if there [1] is any distributor without feature to differentiate the 2 cases then
[1] https://github.com/UnifiedPush/flutter-connector/blob/main/unifiedpush/lib/unifiedpush.dart#L32


2 possible oddities in centromere stuff

abolished  protein localization to centromere central core
has descendent
abolished protein localization to chromatin at centromere central core

I don't see any real difference here? The chromosome central core region is chromatin

normal protein localization to CENP-A contning chromatin
is sibling to
normal protein localization to centromeric chromatin
but I think
normal protein localization to CENP-A containing chromatin
is_a
normal protein localization to centromeric chromatin

Is no. 1 applicable to all "protein localization to centromere" terms? Or just the central core?

just the central core.

asserted links
FYPO:0004312 is_a FYPO:0003744
FYPO:0004314 is_a FYPO:0005072
merged
FYPO:0003765 into FYPO:0003786
FYPO:0005224 into FYPO:0004904
also added a new grouping term
abnormal protein localization to centromeric chromatin during vegetative growth FYPO:0005306

edit file: deaef0426ccef63b4fdb8e7b0497838810101852
release: b0b60d0941f0bc92c4971f6a2dad85df58ea1031


Afaik, jinja2 cli is "j2" (instead of jinja2) I changed it to j2 and it works.

@timn
./generate_secrets.sh: line 15: jinja2: command not found

jinja2 cli is "j2" (instead of jinja2)
I changed it to j2 and it works.
With regards to "Merge pull request #618 from timn/master"

On Fedora it's jinja2 indeed. There seems to be https://pypi.python.org/pypi/j2cli and https://pypi.python.org/pypi/jinja2-cli. I have used the latter as it is readily available on Fedora. Is it available on your system, too?
Otherwise I can extend it to check for both and pick what is found.

Yes @timn, please extend it to support j2 as well.


bug: ion-toast is not working after build. ( ReferenceError: documentFragmentChildren is not defined )

I am building an Ionic App and have an issue with ion-toast (ion-toast-controller).
After building for production and publishing my project (to Github pages) ion-toast is not working.
Bug Report
Current behavior:
The toast bar is appearing without text and I see an error in the console - ReferenceError: documentFragmentChildren is not defined
Expected behavior:
The toast bar is appearing with proper text without error.
Steps to reproduce:
run 'ng build --prod' and publish the project
Related code:
package.json
"dependencies": {     "@angular/common": "~8.1.2",     "@angular/compiler": "~8.1.2",     "@angular/core": "~8.1.2",     "@angular/fire": "^5.2.1",     "@angular/forms": "~8.1.2",     "@angular/platform-browser": "~8.1.2",     "@angular/platform-browser-dynamic": "~8.1.2",     "@angular/router": "~8.1.2",     "@capacitor/android": "^1.2.0",     "@capacitor/core": "1.2.0",     "@ionic-native/core": "^5.0.0",     "@ionic-native/google-plus": "^5.13.0",     "@ionic-native/in-app-browser": "^5.14.0",     "@ionic-native/splash-screen": "^5.0.0",     "@ionic-native/status-bar": "^5.0.0",     "@ionic/angular": "^4.7.1", ...
toast.service.ts
import { Injectable } from '@angular/core'; import { ToastController } from '@ionic/angular'; @Injectable({   providedIn: 'root' }) export class ToastService {   constructor(public toastController: ToastController) { }   private async presentToast(message: string) {     const toast = await this.toastController.create({       message,       duration: 2000,     });     toast.present();   }   setMessage(message: string) {     this.presentToast(message);   } }
Related information
I have a service that is using ToastController. Basically idea is to use this service on any page for displaying the ion-toast with the passed message as a parameter.
Github repo and Github pages URL
Repo - https://github.com/andrioyou/achievements
commit with existing issue - 8eb526aff661f4daeff8f97d0d77e4ea57374345
Github pages - https://andrioyou.github.io/achievements/tasks

The issue was resolved after running
npm cache clean --force
and reinstalling npm packages.


Remove dead code

[Current coverage][cc-pull] is 79.08%

Merging [#1210][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

@@             master      #1210   diff @@
==========================================
  Files           170        170
  Lines          9840       9839     -1
  Methods        9597       9585    -12
  Messages          0          0
  Branches         97        110    +13
==========================================
- Hits           7782       7781     -1
  Misses         2058       2058
  Partials          0          0

Powered by Codecov. Last updated by [a3692f0...d507462][cc-compare]
[cc-base-branch]: https://codecov.io/gh/quasar-analytics/quasar/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/quasar-analytics/quasar/compare/a3692f0e4ac723c736b8a905ed1cf239a3d650c0...d507462622bb7defc86de08673ad7284046ca929
[cc-pull]: https://codecov.io/gh/quasar-analytics/quasar/pull/1210?src=pr

👍🏽


Remove export-ignore for examples?

See https://twitter.com/ivanjaros/status/934019650425376768. Maybe it's better to remove examples from export-ignore?

IMO someone who needs the examples, will likely also benefit from docs and tests.
those should clone/prefer-source instead of relying on distribution packages

Sure, but some people like using GitHub's download button, which uses the git archive based version.

in case you like to support the "download button" you should add example/docs/tests back.
IMO its not worth it, the packagist/distribution use-case has far more weight then the download button

As @staabm says, either ignore them all or none.
I'm personally not concerned about the size of the tests, examples etc. and wouldn't object to ignoring nothing. Basically: I don't care as long as it's either all or none.


Small tweaks

Remove pirated music content in the example/assets dir
Match compiler and loader versions to v0.19.5

Thanks @JairusSW!


Input data format

@Hi,author,
I'm trying to run Baysor with tiff and the MOLECULES_CSV contain information about x and y positions and gene assignment for each molecule, command just like the follow:
baysor run -p -c ./Adult_data/adult.toml -o ./output_adult_dapi -p ./Adult_data/molecules_2.csv ./Adult_data/segmentation.tiff
But I don't know why it sent an error . May be there are Non-symmetric matrix in my data?  I got the raw data why it has Non-symmetric matrix ?

I would appreciate it if you could reply soon! Thank you!

Hi @fengweimin-maker ,
Baysor gets NaNs in the covariance matrix, so it's not about it being symmetric. That's suspicious, I had put a lot of effort to check all possible causes for that... Any chance you can share a piece of data?

Hi@VPetukhov
I'm sorry,  our data has not been submitted at present, and maybe it can be shared later. I will get in touch with you when our data publish.

That's totally understandable. If you can share the full log, and your config, I can check if there are some configuration errors. And if you can post just first several lines from the molecules_2.csv file it could also help to find the problem.

@VPetukhov
Thank you very much for solving this problem.This is the config file segmentation_log.log and the first hundred rows of molecules_2.csv
molecules_2_100_rows.csv
Also, our tif image is a gray image and I changed it into binary image (as input tif) by the follow script：
import cv2
import numpy as np
import matplotlib.pyplot as plt

image = cv2.imread('segmentation.raw.tif',cv2.IMREAD_GRAYSCALE)
def binarzation(img,th=0.00000000001):
    bin=np.copy(img)
    bin[img >=th] =1
    bin[img <th] =0
    return bin

img = binarzation(image)
cv2.imwrite('image.tif', img)

@fengweimin-maker , the log shows scale std: 0.0, and most likely that is the cause of the problem. It is probably caused by the gray image, indeed. Baysor does require either a segmentation mask (integer) or binary mask, so if you supply raw intensities, Baysor would think that the segments are super small and that would result in such behavior. Particularly, you may see that scale is 0.56, while your coordinates are integer, so it's less than one pixel.
Does your binary image contain actual cell segmentation mask, or is it only a mask that separates signal from background? In the second case it will not work again, and I suggest to use some proper image segmentation methods, some of which are suggested in the readme.
TODO points from my side:

[ ] Throw an error if scale is too small or if scale-std is zero
[ ] Validate that the provided image is integer or binary. Maybe, log number of components found in the prior segmentation and compare it to the number of molecules.

@VPetukhov
Thank you very much for your advance. There are no coordinates in gray image becasue it is nucleic acid staining(ssDNA) image taken by microscope and joined together by ImageJ.It can be seen nuclei one by one in the gray image. But when I changed it into binary image, it only can be seen the separates signal from background.
However, our gray image size is the same as the coordinates in molecules_2.csv after registration(the location in gray image can match the coordinates in molecules_2.csv ). So the scale std: 0.0 is ok? What the fuunction of scale? Is the scale for the image matching the molecules data just like the HE image match 10X data  coordinates?
Actaully, the neulei in our the gray image were segmented by other published algorithm, but I think baysor is the truly way for segmenting single neulei for considering the gene-gene relations as well insteading of only considering the image, so I need to try baysor. So I confuse of the scale std, how can I run baysor for the input file with our gray image?

The scale parameter is the expected radius of a cell (in pixels, in your case), and scale-std is how much cell sizes are allowed to deviate from it. I don't see any realistic scenario where setting scale-std=0.0 would make sense, as it implies that all cells have exactly the same size.
How does Baysor work when you provide a tiff with nuclei segmentation mask? Does it determine the scale better?

It is impossible all cells have exactly the same size. Maybe I don't explain clearly. I mean our gray tif can match the coordinates in  molecules_2.csv after registration.
I don't understand why the scale in our tif (mask that separates signal from background ) is too small? It can be try Baysor work with nuclei segmentation mask, but I want to only use separates signal mask for the reason that I want to compare both of them.
Thank you!


Morning session: peer-to-peer code reviews

Your app is working great! Now let's improve the CSS style.

Your work looks great!
Remember to remove the console.log in your index.js files as that will make your app easy to hack and some information will be revealed to users.
The index.js file also contains some functions but I suggest you create a different file and add them to the module so you can practice javascript best practices.


Make overview of implemented webhook events to listen for

Stripe suggest you'd only listen for the events you need in your webhook endpoint so we should probably list these events in the docs.

List of events WebhookController.php is listening to:
customer.subscription.created
customer.subscription.deleted
customer.updated
customer.source.deleted
customer.deleted

@Xenonym Thanks! There will be a couple of more in the next release.

There is one for checkout called checkout.session.completed for Fulfilling purchases with webhooks.

@hassanazimi that one isn't included in the library atm.

Ful list below. I'll add these to the new docs.
customer.subscription.updated
customer.subscription.deleted
customer.updated
customer.deleted
invoice.payment_action_required


OlSketchHandler: clean activate behavior

remove the creating of geodesic geometry on OlSketchHandler.activate()
fixes #2647

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 99.681%

Totals

Change from base Build<PHONE_NUMBER>8:
0.005%

Covered Lines:
13359

Relevant Lines:
13360

💛  - Coveralls


Modify the SRS

Modify the SRS due to the annotations of the instructor and the facts revealed while creating design documents.

most of the modifications on the SRS are completed, so the issue is closed until a new modification need reveals.


Tableau Desktop Not Detecting all TREX files

I have a bunch of valid trex files in my Repo (Beta) Extensions folder, including some from the Samples folder but only two of them are being added to the extensions menu in Dekstop:

I've checked the log and there doesn't seem to be any reference to an invalid trex file. Saying that, no .trex files are mentioned in the logs at all. That could be useful to add for validation in the future

Never mind. Solved it.
In the trex I'd missed the

attribute. There were multiple trex files with the same addin ID. Turns out Tableau only picks the first and igores the rest.


Replacement of numerous new lazy parameters on Compose.init with overrides dict

Description
The parameter list for Compose.__init__ has been expanded with a number of lazy parameters. These lazy parameters are just the current list identified and is likely to change and further expand. It would be much less impactful on the API to replace them with a single dictionary parameter that accepts parameter keys and corresponding values.
I understand that these parameters have been added because there are issues with running pipelines lazily where the different mode and padding_mode namespaces clash with each other. Backends that a transform would typically be run with is now no longer runnable due to the effects of prior transforms and so the namespaces for some of the parameters must change. I'd prefer that we didn't take this approach in the first place, but if we do, it can and would be better manifested as a general override mechanism, in which any transform parameter can be overridden.
I'll address the underlying issue with the next PR, which should hopefully reduce the incidences of parameter clashes to zero. At that point we can decide whether we need an override mechanism in the first place (I'm still open to the benefits of it).
Note: the renaming of eval_lazy_stack to evaluate_with_overrides reflects the idea that, if this mechanism persists, it really ought to work as a generally applicable mechanism to override existing pipeline behaviour,
Types of changes

[x] Non-breaking change (fix or new feature that would not break existing functionality).
[ ] Breaking change (fix or new feature that would cause existing functionality to change).
[x] New tests added to cover the changes.
[ ] Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
[ ] Quick tests passed locally by running ./runtests.sh --quick --unittests  --disttests.
[ ] In-line docstrings updated.
[ ] Documentation updated, tested make html command in the docs/ folder.

agree this is cleaner and more extensible in terms of lazy arguments. I'm testing this and merge...

ok thanks

The other thing that I would ask is why does LazyAttr have names like 'lazy_mode', 'lazy_padding_mode', etc. when 'mode' / 'padding_mode' would be fine. I wanted to rename those as there doesn't need to be a distinction between them

The other thing that I would ask is why does LazyAttr have names like 'lazy_mode', 'lazy_padding_mode', etc. when 'mode' / 'padding_mode' would be fine. I wanted to rename those as there doesn't need to be a distinction between them

good question, I think in the inverse functions, in the future we may want to distinguish the cases of inverting lazily/non-lazily evaluated outcome

thanks @atbenmurray