Random Crashes

Description
I can't find a consistent pattern, but often when trying to open a folder, the app simply crashes and closes, then I have to open it again and all the tabs are lost.
Steps To Reproduce
No response
Expected behavior
I expected the folder to open
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Home Single Language 21H2 22000.556
Relevant Assets/Logs
debug.log
debug_fulltrust.log

This issue should be resolved in the preview version of Files https://files.community/download/preview.


How can we help improve the extension?

Howdy!
Currently this extension holds a lot of promise and hope :D . There are some things that make it generally hard to use compared to other editors/ides with Rust support.

Performance:
There is a noticeable lag between input to the editor and the response which leads to major editing
difficulty. I haven't tested this on projects of comparative sizes to figure how it differs by project size or
complexity. It seems that per-edit the buffer is being re-evaluated synchronously. It isn't clear to me as
somebody new to visual studio whether that is caused by this extension or just the way the language
server protocol has been implemented in visual studio in general.

Impacts to common editing features:
The extension gives me fantastic completion options, but clicking on one, or hitting tab do not actually
trigger the completion. The default completion options are not accurate but tend to work as expected.
It also isn't clear if the problem lies in visual studio or the extension.

For me personally, completions are less of a problem than the latency issues. I created this issue to just start the conversation about what we can do to help improve things as users.

Hi @photex! Both of the issues you have described are issues with the underlying LSP implementation in VS. Completion used to work before something changed in the RLS and exercised the specification in a way that VS did not originally anticipate. The performance issues are also likely due to some parts of the VS API being inherently synchronous. If you could would you be able to download the VS 2019 RC and see if the issues you have noticed still persist there?

@dgriffen Everything works really great in VS2019! I guess I'm now looking forward to April 2nd ;)
Cheers!


Fix Steam command instruction

Remove " at the end of string (this prevents to properly launch game in Steam).

This was merged into the wrong branch


hw.device-type: Set LED to false for rockpi-4b

LED is not supported for this DT in the device
repository, let's set it to false here so that
the tests are aware of this being unsupported.
Change-type: patch
Signed-off-by: Alexandru Costache<EMAIL_ADDRESS>

@balena-ci I self-certify!


blog internet explorer

When using Internetexplorer the text gowing out of the box.
https://getbootstrap.com/docs/4.2/examples/blog
result : https://gyazo.com/3ea30f1d35650cc4ce003f5d188f41ac

If possible, can we construct a reduced test case which demonstrates the difference in behaviour between IE and other browsers?


It's not work in "eosjs": "^16.0.9"

Hello, in your project, I have been run it successful. It's pretty great.
But when I use the<EMAIL_ADDRESS>that gets some problems. I hope someone can help me. Thx!

I had to tweak eosjs to make it work too an Android prod. Will provide a solution to this. The quick fix is to go through the whole eosjs code and remove iterators by simple for each loop...

IT WORKS!!!
npm i -D babel-polyfill
import 'babel-polyfill' before AppRegistry.


cactoos 0.52.0

Let's up it

@rultor release, tag is 1.22.0

@rultor release, tag is 1.22.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 1.22.0

@yegor256 Done! FYI, the full log is here (took me 9min)

Job gh:yegor256/takes#1136 is not assigned, can't get performer


[46] added support to install externals from a directory and updated … [4-2-stable]

looks good, please #

we can merge this.


Incorrect paths when moving nodes

Perhaps I am misunderstanding the path parameters of onMoveNode (path, prevPath, nextPath), but they seem to behave oddly. I would expect each array of children to be 0-indexed, but this doesn't seem to be the case.
For example, I modified this sandbox to console.log the paths when a node is moved.
Moving N2 to first child of N1:
expected prevPath: [1]
expected nextPath: [0, 0]
actual prevPath: [1]
actual nextPath: [0, 1]
Moving N1 to first child of N4:
expected prevPath: [0]
expected nextPath: [0, 0, 0, 0]
actual prevPath: [0]
actual nextPath: [0, 1, 2, 3]
It seems like children are n-indexed, where n is the tree depth. Is this expected?

When you don’t set your own “node key” with getNodeKey, the path elements point to the index of the node within the visible part of the tree.

ah I see, I thought Was implementing getNodeKey, but wasn't. Thanks for the quick response and thanks for a great lib!


Google Picker and Google Sign In together

Hello.
Tried to implement google picker for my react app. First, I'm loading script and initialising google api
loadScript('//apis.google.com/js/api.js', () => {
	window.gapi.load('picker', () => {
	})
	window.gapi.load(
		'client:auth2',
		() => {
			window.gapi.auth.authorize(
				{
					client_id: googlePickerCredentials.clientId,
					scope: googlePickerCredentials.scope,
					immediate: true
				},
				authResult => {
					console.warn(authResult)
				}
			)
		},
		10
	)
})

First: It's working like a charm if user already logged in google. If user not logged, I see some strange requests.

Why?
Second: I need to sign in user if user not logged, so I'm using code from your authSample.
gapi.auth2.getAuthInstance().signIn();
It's weird, but gapi.auth2.getAuthInstance() returns always null
I found signIn function inside window.gapi.auth, but when I'm tried to run it
window.gapi.auth.signIn({
	client_id: googlePickerCredentials.clientId,
	cookiepolicy: 'single_host_origin',
	callback: result => {
		console.warn(result)
	}
})

I receive error in console
Missing required parameter 'client_id'
Tried to use code from sample again
gapi.client.init({
    apiKey: googlePickerCredentials.developerKey,
    clientId: googlePickerCredentials.clientId,
    scope: googlePickerCredentials.scope
}).then(function () {
	console.warn('init finish');
});

but it not helps. btw, I never passed inside then section in that case

@indapublic you are mixing several APIs together. If you want One-Off authorization so the user can use the Drive picker, use gapi.auth2.authorize this way:
loadScript('//apis.google.com/js/api.js', () => {
	window.gapi.load('picker', () => {
	})
	window.gapi.load(
		'client:auth2',
		() => {
			window.gapi.auth2.authorize(
				{
					client_id: googlePickerCredentials.clientId,
					scope: googlePickerCredentials.scope,
					prompt: 'none'
				},
				authResult => {
					console.warn(authResult)
				}
			)
		},
		10
	)
})

if the user hasn't previously granted the scopes, you have to show a button that the user can click which will trigger such call:
window.gapi.auth2.authorize(
  {
    client_id: googlePickerCredentials.clientId,
    scope: googlePickerCredentials.scope
  }, callback);

Do not use gapi.auth.authorize it is deprecated. The errors shown in the console can be ignored.

Oh, thank you for explanation. Closing topic. Have a nice day.

Change code to
window.gapi.auth2.authorize(
	{
		client_id: googlePickerCredentials.clientId,
		scope: googlePickerCredentials.scope,
		prompt: 'none'
	},
	authResult => {
	}
)

And receive error

With or without prompt - no difference. Will inspect this later

@indapublic make sure that the scope parameter is a space delimited string, and not an array.

Yep, it was a reason. Thank you. Works like a charm

It'd be great if the example on the picker doc's could be updated to show this technique:
https://developers.google.com/picker/docs/
The first example doesn't take into account the fact that the user may or may not be logged in (there's a bug with using just the code on this page in Safari and Chrome where you have to click the button twice as the popup incorrectly detects that it was closed by the browser the first time. Perhaps the popup closes itself too quickly? Your workaround above fixes this problem.
The second example uses the deprecated API, so no wonder people are getting confused between the two since they both appear on the same page. :)


increased the busywait for long cables

fixes https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/issues/105 when using Raspberry Pi

+1
I had problems on my setup with long cables and often got back results like "Temp=-11.1*  Humidity=3303.3%"
this patch had done the trick for me.
also this algorithm seems to work more reliable: https://github.com/technion/lol_dht22/blob/master/dht22.c

why are so many changes of file permission?

Recently merged #49.


epic: Echo Server/Push API docs

This contains everything we need to document for Echo Server and the Push API

[ ] push_url TTL, https://github.com/WalletConnect/rs-relay/pull/493#discussion_r983682191
[ ] The spec
[ ] Security (mTLS)
[ ] Hosted platform

Hi @HarryET, I know some devs who'd be interested in working on this. Is there a budget for fixing this issue, and if so, how much?
I'd put this issue up on OpenQ.
Thanks!

@finessevanes, am I okay to assign you to this?


'Menu Bar' interface does not support multiple selection

Pressing comma while on the Menu Bar interface is not currently working.
What is strange is I remember actually using comma with the interface, back in 10.5 I think? :P
This would be a great addition to my favorite interface.

I think this is well known, but I can’t find an open issue on it.
Were you looking at this @neurolepsy?


Fix Sass rounding issues with width of grid columns

This PR changes our grid column percentage sizes so they're rounded to the maximum precision available to Sass
By rounding ⅔ to ~66.6666%~ 66.6667% (note the 67 not 66) we see browsers render our one-third and two-thirds grid column widths to whole pixels, which fixes https://github.com/alphagov/govuk-frontend/issues/2361
It appears that no change in node-sass decimal precision is necessary 🎉

But we can go further by calculating two-thirds: (200% / 3) to add another decimal place:
Before
.govuk-grid-column-two-thirds {
  width: 66.6666%;
  float: left;
}

After
.govuk-grid-column-two-thirds {
  width: 66.66667%;
  float: left;
}

Note: Unlike LibSass (and node-sass) Dart Sass will output 66.6666666667% with 10 decimal places of precision

The Node.js v4 download for our LibSass v3.3.0 check is throwing an HTTP 500 😶

The Node.js v4 download for our LibSass v3.3.0 check is throwing an HTTP 500 😶

It's back up now, checks all passing


Detect release language and script

As discussed in https://community.metabrainz.org/t/i-made-a-powershell-script-to-parse-flac-metadata-for-easy-copy-pasting-into-musicbrainz/615957, it'd be nice to automatically detect Bandcamp and Qobuz albums' languages and scripts instead of assuming eng and Latn. I don't think that this information is made available in the album pages, though.
It probably wouldn't be too hard to infer the script using simple heuristics that look at which Unicode ranges are used, but languages are trickier. I can think of two obvious approaches:

Add a dependency on a library that tries to detect languages from text. It looks like the standard approach is based on n-grams, so the models end up being pretty large. https://github.com/pemistahl/lingua-go seems like it might be the best bet, but the (compressed) models are several MB per language (1-grams through 5-grams, it seems), which is way bigger than I'd like this program to be.
Use an online API, e.g. https://cloud.google.com/translate/docs/basic/detecting-language. Google Translate looks like it requires an API key, so I can't easily add support to the command-line program, but I could call the API from the web instance.  The first 500,000 characters are free ($20 per million characters beyond that), so it probably wouldn't cost anything. I guess it's mainly a question of whether I want to send everything to an outside service (and how accurate the service is).

I'm experimenting with using the Google Translate API, but it seems to have trouble with the Norwegian album at https://www.qobuz.com/album/hyttetur-2-svartepetter/e3qy2e01fbs9a. Here's the language and confidence rating (in [0.0, 1.0]) that it gives for the album and track titles:
Hyttetur 2
  no 1
Mitt paradis
  sv 0.59
Det du ville vite
  no 0.99
Jeg må ut
  no 1
Samme drøm
  da 0.67
Sønner
  da 0.66

I'm guessing that the confusion is due to the short track titles and the similarities between Norwegian, Swedish, and Danish. I'll probably just call the API and only set the language and script for unambiguous cases.

I've deployed this to https://yambs.erat.org/ now.


BYE not sent through proxy under ACK-BYE due to cancel race condition

In SipDialogController::notifyTerminateStaleDialog when calling nta_outgoing_tcreate the dialog routeUri is not used and instead null is just passed in.
I was able to correct it by setting the routeUri within notifyTerminateStaleDialog  using dlg->getRouteUri(routeUri) and then replacing the null with routeUri.empty() ? NULL : URL_STRING_MAKE(routeUri.c_str()) as you had used in other places.
I would have submitted a fix myself for you to take but I have to get those approved and thought this would be simple enough.

worry what is the impact of this bug?  How does it affect calls?

In my environment it results in a dead air call to the far end because we ack the 200OK (which follows the proxy path) and the immediate BYE is send trying to bypass the proxy resulting in it never reaching the far end so they just sit there on a dead call until they disconnect

how would I recreate this in a test case?

not sure off hand. I had to set my Kamailio box (proxy) to sleep on passing the 200OK so that I could cancel the A leg of the B2BUA and have the cancel pass through...
I tried with SIPP outside the Kam box and just receiving the cancel and responding with a 200 OK but it wasn't working

If you were looking for the specific scenario that we have it is Kamailio on the edge with Drachtio behind. Call comes in through Kam to Drachtio, we then make a B2BUA using the same Kam as a proxy out to another destination. Drachtio doesn't have external access directly and has to go through Kam to get to the outside.

The reason I ask is that the function notifyTerminateStaleDialog is only called in two instances:

the far end failed to refresh the dialog in accordance with the negotiated session timer, or
we sent a 200 OK to an INVITE to the UAC and got a CANCEL (race condition)

It should not be called in the normal course of things.  Are either of those the scenario you are seeing?  If not I would be interested to see the drachtio log file containing an example call

It would take me quite a while to scrub the logs to send.
Yes I am seeing this happen when the cancel from DS is sent just prior to receiving the 200OK in a B2BUA scenario.
So invite comes in from A leg and B2BUA invite is generated by Drachtio for B leg. 100/180 pass through. Now A leg sends a cancel to which DS/SRF respond with a 487. The cancel is then forwarded to the B leg which crosses with the 200OK in the proxy. Drachtio receives the 200OK for the invite followed by a 200 OK for the cancel. Drachtio then sends an ACK for the invite 200 OK followed quickly by the BYE that is attempting to bypass the proxy.

I think a quick PR would certainly be the fastest way forward.  Is there a reason you can't do that?

I haven't been able to reproduce under test, timing is too tight... Let me see what I can sort out for tomorrow

actually yeah, I should be able to do that

https://github.com/drachtio/drachtio-server/pull/256


Fix Null Pointer Dereference in TCP Packet Handling

Description
This PR fixes https://github.com/project-chip/connectedhomeip/issues/36750 a null pointer dereference in TCPBase::ProcessSingleMessage caused by malformed TCP packets. The issue could lead to a Denial of Service (DoS) attack.
Changes

Added a null pointer validation for state->mReceived before calling ProcessSingleMessage.

This change prevents crash and print error log:
[1733488993.071785][31090:31090] CHIP:IN: Incoming connection established with peer at fe80::46c0:aa19:6d9:c653.
[1733488993.071895][31090:31090] CHIP:IN: Received TCP connection request from TCP:[fe80::46c0:aa19:6d9:c653%ens33]:42740.
[1733488993.072182][31090:31090] CHIP:IN: Failed to accept received TCP message: src/transport/raw/TCP.cpp:347: CHIP Error 0x0000000D: Message incomplete
[1733488993.072304][31090:31090] CHIP:IN: Closing connection with peer TCP:[fe80::46c0:aa19:6d9:c653%ens33]:42740.

Testing

Tested against malformed packets to confirm the fix.
Verified with valid packet. (e.g. onoff on 1 1 --allow-large-payload 1)

The Testing section here seems to contain a "manual" entry. Please add more details (how does one test with "malformed packets" to reproduce the test) and add a justification why automated testing of this code is impossible.
We are intentionally trying to make the "manually tested" threshold high to avoid PRs being marked as "manually tested" because it is easier to do so.
Since this is a "Processed buffer" call, it does seem that this could be unit tested.

Thanks. I have added a new test in TestTCP.cpp to validate the behavior with malformed packets. Let me know if further modifications are needed.

@BoB13-Matter this may need more fixes. Test fails on linux:
...
[ RUN      ] TestTCP.MessageSizeTest
[1734441240.898] [11220:11220] [IN] TransportMgr initialized
[1734441240.898] [11220:11220] [IN] Incoming connection established with peer at ::1.
[1734441240.898] [11220:11220] [IN] Connection established successfully with TCP:[::1]:5638.
[1734441240.898] [11220:11220] [IN] Message Receive Handler called
[1734441240.898] [11220:11220] [IN] Closing connection with peer TCP:[::1]:5638.
[1734441240.898] [11220:11220] [CSL] SystemPacketBuffer::Free: aPacket->ref = 0
Aborted (core dumped)
INF Test 1/1: [FAIL] TestTCP in 0.043 s


Linkable filters

This issue is a feature request to define the filters in either the query string or URI fragment when-clicked, such that users can copy-and-paste the URL from the address bar of their browser, share it with a friend, and their friend will see the same filters as they say on-load.
Why?
Some folks may just want to see all of the relevant alternatives on one platform, such as lemmy
Solution
For example, if someone clicks the "X" on Discord, the URL could change to either

https://https://sub.rehab/?filter=lemmy,kbin,misc,matrix or
https://https://sub.rehab/?#filter=lemmy,kbin,misc,matrix

Further, after clicking the "x" on kbin & matrix & misc, the URL could change to

https://https://sub.rehab/?filter=lemmy or
https://https://sub.rehab/?#filter=lemmy

And, of course, if someone loads the URL with the filters defined above, the website should automatically adjust the filters, as desired.
Bonus: A similar variable for dark/light mode could also be added to the URI

Thank you for the suggestion and I completely agree! I'll implement it when I get the time. In the meantime, if someone wants to take this - PRs are welcome

Done, in a way. I started storing all filters in the URL. It's a bit verbose, but it works, and you can bookmark or share a URL with any filters applied. Thanks for the suggestion!


enable NixOS installer for powerpc64le

It boots!  And petitboot (the bootloader) even recognizes the syslinux table, so nixos-rebuild switch -p should work.

Screenshots are taken from the machine running minicom, connected to the serial console; all of my PowerPC machines are headless at the moment.
To get the results above:
nix build -f nixos -L \
  -I nixos-config=nixos/modules/installer/sd-card/sd-image-powerpc64le.nix \
  --argstr system powerpc64le-linux \
  config.system.build.sdImage

zstdcat -d result/sd-image/nixos-sd-image-*.img.zst \
  | pv -ratep \
  > /dev/${YOUR_SD_CARD}

reboot

I built from nixpkgs mainline at 19a8a0ad21f9168d358abc36dea35c3a10081fd5, but it should work at any commit after that.
Things done

Built on platform(s)

[x] powerpc64le-linux

[ ] Tested, as applicable:

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

[x] Fits CONTRIBUTING.md.

Rebased.

Rebased past the recent manual-building glitch, dropped the hacky workaround for that.

All the dependencies of this PR have merged; I'm rebuilding it once more to make sure it's good to go.  Will undraftify once I do that.


Access Settings from a Project plugin (e.g., Project.getSettings())

Expected Behavior

Ability to access Settings via Project
Current Behavior

There doesn't seem to be any way. An attempted workaround hoping afterSettings is executed inline also doesn't work (is  that itself a bug?).
Doesn't work:
AtomicReference<Settings> settings = new AtomicReference<>();
project.getGradle().afterSettings(settings::set);

Context

I have a plugin that needs to know the repositories set for a project. After moving repositories from the project (one of many in a monorepo) to dependencyResolutionManagement, this stopped working since Project.getRepositories() does not include them. This would be fine if I could access that block's information in the plugin but I can't find a way. Since Settings is always evaluated before projects, I would expect there to be a Project.getSettings().

Just in case, the issue affects refreshVersions (cc @jmfayard, @LouisCAD  ) plugin as well: https://github.com/jmfayard/refreshVersions/blob/65d564f60dcda50e3dda5843e5b5aa134e425fea/plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/VersionsPlaceholdersReplacement.kt#L183
The error there is "empty fetchers list" yet the true meaning is "no MavenRepositories found"
        java.lang.IllegalArgumentException: Cannot get version candidates with an empty fetchers list.
            at de.fayard.refreshVersions.core.internal.GettingVersionCandidatesKt.getVersionCandidates(GettingVersionCandidates.kt:63)
            at de.fayard.refreshVersions.core.internal.GettingVersionCandidatesKt.getVersionCandidates(GettingVersionCandidates.kt:16)
            at de.fayard.refreshVersions.core.internal.VersionsPlaceholdersReplacementKt$Write versions candidates using latest most stable version and get it$2.invokeSuspend(VersionsPlaceholdersReplacement.kt:198)

@vlsi No open issue for that?? 🤔

@ben-manes gradle dependencies plugin gets hit too. Perhaps in addition or alternative to this we need a getResolvedRepositories as it seems to be used by many plugins.

,z.
Gilson
Em sex, 28 de mai de 2021 11:12, Louis CAD @.***>
escreveu:

@vlsi https://github.com/vlsi No open issue for that?? 🤔
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/17295#issuecomment-850447753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACG3UC2PHGQVFQQOJPDUQBTTP6QFPANCNFSM45TQEDCQ
.

@anuraaga We're not affected by this except for an incorrect log message, where we print the repositories for debugging purposes. The plugin avoids mucking with them otherwise due to previous bad experiences with bugs and api limitations. Instead we copy the configuration to resolve with so that these types of hidden details work automagically (assuming copy() isn't broken, which it often is).

@ben-manes Sorry, yeah I had forgotten that while I had a problem first time I ran upgrading solved it nicely.

Google's Android Gradle Plugin is also affected (commit that added, line).

@grossws this does not execute in Plugin.apply(Project), it's too late the settings is already evaluated (raised https://github.com/gradle/gradle/issues/20047):
project.gradle.settingsEvaluated { settings ->
	println(settings.dependencyResolutionManagement.repositoriesMode.get())
}

Building on AGP 7.x's "solution" I came up with this hack:
import org.gradle.api.Project
import org.gradle.api.initialization.Settings
import org.gradle.api.internal.GradleInternal

val Project.settings: Settings
	get() = (gradle as GradleInternal).settings

This way I can access project.settings.dependencyResolutionManagement.repositoriesMode.get() at any time, and it works all fine, but would love to see this issue to expose this properly go through, maybe even a subset of the interface (e.g. without mutability).

Note, this is blocking our work on Gradle project isolation, as we are unable to move from using allprojects { repositories { ...  to settings.gradle definition of repositories.

To work around it for us we went with settings.gradle
getGradle().beforeProject {
  it.repositories { ... }
}

while this is not as good as using dependencyResolutionManagement.repositories at least it unblocks project isolation work.

I am also stumbling across this strange limitation in the API. My use case is serializing the dependency configuration along with the repository configuration so that it is shipped with an artifact to be re-exported back into a full Gradle project.
Currently, it seems the only way to do this (using @TWiStErRob's suggestion) is something along the lines of:
    @get:Input
    @Suppress("UnstableApiUsage")
    val repositories: ListProperty<Pair<String, String>> = project.objects.listProperty<Pair<String, String>>().value(
        (project.gradle as GradleInternal).settings.dependencyResolutionManagement.repositories.mapToPairs() +
            project.repositories.mapToPairs()
    )

    private fun RepositoryHandler.mapToPairs(): List<Pair<String, String>> =
        filterIsInstance<MavenArtifactRepository>().map { it.name to it.url.toString() }

See https://github.com/sourcegrade/jagr/pull/120#issuecomment-1264279939

I'm also running into this limitation of not being able to access the settings object from a project plugin. In my case I would like to know if the remote build cache is enabled so I can tag the buildscan accordingly. I know I could use a settings plugin to do this but that's not practical for my particular situation as it would involve rolling it out to hundreds of repos.

Any updates here? Thus bug forces folks to use worse APIs.

Sorry for the late reply!
This issue will be closed as a duplicate of

#16616

Please add your use case and 👍 to that issue.

Closing this as a duplicate because the use case is really focused on repositories.
If you believe the settings access is needed for other use cases, or that direct access to settings repositories is needed from a project, please open a more specific issue for this, possibly relating it to this one.


Show size of each icon in README

Can't use <figure> and <figcaption>.

Could use <img title="...." Not very visual though.

Table? Yuck!


Multiple values in search results

Is it possible to display multiple values in the dropdown and search both of them?
e.g. book title and author
or do I have to build a custom widget?
Love this project, I wish I had discovered it sooner

You can display any data of your records in the suggestion template, as demoed in this sandbox.

amazing, thank you so much


Use default liquibase.properties as fallback

In case, the extension can't determine automatically e.g. the password to use for the mysql connection (the password is needed in cleartext in order to execute pt-osc), there should be a way set it externally.
Ideally, the extension would pickup automatically some default locations, that liquibase / spring uses and as last resort some system properties or environment variables.
See also #12 .

1.4.0 is released.


Sorting by a specific server version.

Since there will surely be different upgrades for nodes in the future (recommended / necessary) the explorer should possibly also allow sorting by a specific server version.

Related: #797


Views or Data over the wire?

If I remember dhh's keynote correctly, one of the examples seemed to show how to send a JS view. I've read through the source and the example source and I can't find an example of how to do it. The readme only show received: ->(data). Is there any documentation about how to send JS views over the wire?

You send JSON. That JSON can include values that are full HTML templates.

On Oct 8, 2015, at 12:53, Jeffrey Guenther<EMAIL_ADDRESS>wrote:
If I remember dhh's keynote correctly, one of the examples seemed to show how to send a JS view. I've read through the source and the example source and I can't find an example of how to do it. The readme only show received: ->(data). Is there any documentation about how to send JS views over the wire?
—
Reply to this email directly or view it on GitHub.

Ah, ok. I see now. Once the data is received whether plain data or HTML as data, you handle the DOM update in received.

:grin:


emit(): Space state in inaccessible

this may be my own falut, I'm new to godot and was trying out your plugin but, after setting everything up as the tutorial, i'm getting this error:

I just tried it on my end, and I am not getting this error, nor have I seen it before. Is the PatternManager still having the Spawner spawn bullets, and are the bullets colliding with the player as expected? I may be able to debug this if I have more information. Thank you!

https://github.com/Moonzel/Godot-PerfBullets/assets/34705162/95c0f6a3-caf6-4525-a08c-588d390286ad

https://youtu.be/WFHCbYvjqb4
Thanks GitHub

I could not notice what you did wrong that would cause this error. This is the first time I have seen it. Could you try re-downloading it straight from GitHub? Please let me know if this is still happening because I would love to get this solved.

Since I have not been able to recreate this, and I have not heard from you for some time, I am closing this issue. Please open another one if the problem still exists.


Proposal: reinvent with multi-stage builds

I have appreciated this work a lot because I am experiencing the same problem of large databases infestated by LOBs, which take extreme time to be restored. In my case, I can work only with SQL dumps because those are what ITSM gives me.
I will try to get inspiration from your work to do this at home, but I would like to share my thoughts.
One could use a multi stage build that does the following:

In the builder layer

Restore the database from the dumps using your work. Operation will take time. As a result, you get with a Postgres ready to go.
After killing postgres, /var/lib/postgresql/data contains the physical data in binary format, ready to go.
So, no harm in tar -zcf /var/lib/postgresql/data

In the final layer

I would retrieve that tar from the builder layer and store somewhere safe in the new layer, e.g. /pg-restore.tar.gz

At runtime

When Postgres image starts, possibly with a volume, it will simply check for the existence of data in /var/lib/postgresql/data. Ooops, at first startup that's empty. Untar the directory dump and start Postgres again

Next time

Hey, /var/lib/postgresql/data is full. Have Postgres start!

@djechelon thanks a lot for sharing your thoughts in such details!
Actually, I did try using multi-stage build to create database images. However, I could not find big benefits with that and then gave it up.
For holding a large database as in your use case, I also tried to do the similar thing with this project to dockerize our db in production (around 40gb). Unfortunately, I also found it's basically not so practical and gave it up as well. I wrote the reason in the Notes section in the README.
Here I can share some more details. According to my local tests, I compared the times between restoring a db from the dump and launching a data container from an image baked with the restored db. The latter way didn't outperform the former traditional workflow, which was pretty disappointing. Furthermore, the transferring/downloading of the data image and the subsequent docker-layers extracting process was much more time-consuming than I expected.
That's why I only suggested to use this in an environment for testing instead of in real productions.
But that's only my observations. If you find any possible improvement, or issues in my testing, pls feel free to post them here. That will be very appreciated.

Probably it's because of the source dataet.
In my case, I have a serious problem only with OIDs. For a design mistake, we ended up with few millions LOBs on databases that weigh less than 1GB.
The problem with restoring LOBs using OIDs is not their size or quantity, but the time Postgres takes to write to the log, for which I had already to amend the startup script to suppress stdout.
For a 40GB "optimized" database your considerations should be correct, probably because most of the data is regular relational columns.
I will do some experimenting on my own and try to share approach on Stack. Thanks for the feedback


Further improve no-std for Rust

@woutersl should we merge this?

All right, we can merge this, I'll fix the support in the CLI afterwards for the new options.


Quality Assurance - Csharp Coding Guidelines link does not work

I have observed that in dotnet-developer-projects.md under Quality Assurance section link for C# Coding Guidelines is broken. It says that page does not exist.

I saw this issue after making the following fix https://github.com/Microsoft/dotnet/pull/302


Vls export

https://p.daedalean.ai/T5932
First three commits are just a refactoring - no functional changes there, just an attempt to have the code organized well.
New feature implementation is in the last three commits.

I agree. When I make any more changes to these files, I'll think how to refactor it. It would be easier to come up with a good structure when the bigger picture is seen.


Antivirus tool integration - clamav

Virus scanner(amavis, clamAV and spamassassin) added and tested successfully.


from_imod5_data should support period boundary conditions (e.g. Summer & Winter)

The project file contains a summer and winter stage. This creates a periodic boundary condition. These are usually applied to iMOD5's RIV and DRN package. We can imitate that behaviour with the repeat_stress settings.

The open_projectfile_data function collects the repeat stresses in a separate dictionary. This is the second element of the returned tuple. https://github.com/Deltares/imod-python/blob/7e948503a48cc4750f6d350a78ac3b4d3590918a/imod/formats/prj/prj.py#L942

Each periodic boundary conditions has its own entry in this dictionary

To create repetitions, we can utilize this helper function: https://github.com/Deltares/imod-python/blob/7e948503a48cc4750f6d350a78ac3b4d3590918a/imod/formats/prj/disv_conversion.py#L686

Demarcation for now: Throw error if any other boundary condition package than GHB, RIV or DRN is periodic.

The GRAM 3.1 projectfile provides example data for summer/winter stage, for both the drains as well as rivers. Drains are the simplest example, as there is only one system allocated.

FIxed in https://github.com/Deltares/imod-python/pull/1098


Issue #2649 Installed sphinxcontrib-bibtex for bibtex style referencing

Description
This is the first step to start using sphinxcontrib-bibtex to show references/citations from bibtex instead of hardcoding them in docstrings.
It starts by installing sphinxcontrib-bibtex as per sphinxcontrib-bibtex documentation:
https://sphinxcontrib-bibtex.readthedocs.io/en/latest/quickstart.html#installation
Changes:

Add sphinxcontrib-bibtex extension to docs/conf.py (Sphinx configuration file) and point the reference file
Created a file refs.bib with the entry for authors (Data taken from the CITATION.cff file)
Updated the hard-coded references/citations to sphinxcontrib-bibtex code.

This is can be considered as a part of the upcoming GSOC 2023: Documentation Infrastructure Project.
Fixes #2649
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[X] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

The relevant citations file is in https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/CITATIONS.txt
An example of a hard-coded citation to be replaced by a bibtex reference is https://github.com/pybamm-team/PyBaMM/blob/a3756ded80f4436f0a763785afa21c36a15dc8ea/pybamm/input/parameters/lithium_ion/Chen2020.py#L11-L14

Thanks @jeromtom . Can you delete the CITATIONS.txt since refs.bib is now duplicate. Will require making updates where CITATIONS.txt is called

@jeromtom you will have to fix the merge conflicts.

I have doubts if sphinx-contrib BibTeX supports the pybamm.citations.register() function and don't know what to modify.

What are you trying to do? sphinx-contrib and pybamm.citations.register() are two separate things. Both call the same citations bib file. But they do different things. sphinx-contrib is for docs. register() is for python code.

@tinosulzer, I am trying to fix this kind of error
 FAIL: test_timms_2021 (test_citations.TestCitations) Traceback (most recent call last): File "C:\Users\jerto\Documents\GitHub\PyBaMM\tests\unit\test_citations.py", line 153, in test_timms_2021 self.assertIn("2021:Timms2021", citations._papers_to_cite) AssertionError: '2021:Timms2021' not found in set()
Traced this particular one to
citations._reset()           self.assertNotIn("2021:Timms2021", citations._papers_to_cite)           pybamm.current_collector.BasePotentialPair(param=None)          self.assertIn("2021:Timms2021", citations._papers_to_cite)

That's because you changed the names of the citations (e.g. Timms2021 to 2021:Timms2021). Is there a reason you did that?

Fixed in #3034


Publishing from a venv directory fails

When deploying where a venv is in a subdirectory, deploys work as expected (and also ignore the venv folder!). However, if you accidentally put the venv in the actual directory you're deploying (like I did) it fails.
It looks like we ignore everything in the directory as the only file in the bundle is the manifest.json that Connect creates.  So it fails because it can't find the expected requirements.txt or any other files.
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854558272 Traceback (most recent call last):" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854730462   File \"/opt/rstudio-connect/python/build_environment.py\", line 397, in main" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854732956     specs = pip_read_requirements_file(requirements_file)" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854745342             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854064727 Unexpected error while building Python environment: [Errno 2] No such file or directory: 'requirements.txt'" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854746412   File \"/opt/rstudio-connect/python/report_helpers.py\", line 294, in pip_read_requirements_file" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854755163     with open(environment_file, \"r\") as f:" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.263-05:00 level=INFO msg="2023/12/15 14:20:43.854755933          ^^^^^^^^^^^^^^^^^^^^^^^^^^^" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.264-05:00 level=INFO msg="2023/12/15 14:20:43.854774439 FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.264-05:00 level=INFO msg="Build error: exit status 255" source=server.log event_op=publish/restorePythonEnv
time=2023-12-15T09:20:44.266-05:00 level=ERROR msg="exit status 255" event_op=publish/restorePythonEnv event_phase=failure error_code=deployFailed
[ERROR]
time=2023-12-15T09:20:44.266-05:00 level=ERROR msg="exit status 255" event_op=publish event_phase=failure error_code=deployFailed

I tried this in rsconnect-python and it deploys correctly while ignoring the venv-specific files.

no longer occurring


NullPointer exception in onActivityResult on Android

I am using the image_picker package for selecting an image through the user. After the user has chosen an image, the native dialog is closing and I am getting a NullPointer from your plugin. It seems, if another plugin is triggering a native dialog, the property activityRes is null.
I hotfixed it for us like this:
  @Override
  public boolean onActivityResult(int requestCode, int resultCode, Intent data) {
    if (activityRes != null) {
      activityRes.success(""+requestCode);
    }
    return true;
  }

@vandres Thank you for pointing out the issue. The issue has been resolved in the 0.0.4 version released.


[web]: Debugging Release Mode issues

Quite often we run into issues in release build which we could never catch in debug. The code has been minified and hence it is very difficult to understand what the error is about or where it is coming from (as the error is in js and not dart). Is there a good way for analysing and debugging such errors?

Hi @vin-fandemand
You can build in --profile mode which doesn't minify.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


[iOS] fix ios unintended timetable switching when favoriting a session

Issue

close #1033

Overview (Required)
The instability of the internalDay value is the cause of the issue, and the reason is likely because a new request is being made before the asynchronous stream of streamTimetable() inside the for loop has completed. As a result, the same streamTimetable result is processed multiple times, potentially overwriting the expected value of internalDay.

added cancellation handling for each request, ensuring that a new request is not executed until the previous one has completed.

The issue may have been improved with #1036, but it still seems to occur, especially when adding/removing favorites quickly.
Links

#1036

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before
After

Movie (Optional)

Before
After

CI is failing in a place that is not related to the fix.

Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v2. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

same error:
https://github.com/DroidKaigi/conference-app-2024/pull/1028#issuecomment-2346218605


Cloud Drives Navigation Pane Behaviour

Description
The Could Drives panel on the Navigation Pane does not correctly show Autodesk Construction Cloud drives, rather than showing just the Drives it lists all the sub-folders in the drives.

Steps To Reproduce

Open Files
Expand Cloud Drives section on the Navigation pane.

Requirements
The only Drives shown should be the top level.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3737
Log File
debug.log

Thanks for the report, I've added this to the project board.


Add schema introspection support and execution-related APIs

Changelog:

Add apollo_compiler::execution::SchemaIntrospection providing full execution for the schema introspection parts of an operation and separating the rest to be executed separately. In order to support all kinds of introspection queries this actually includes a full execution engine where users provide objects with resolvable fields. At this time this engine is not exposed in the public API. If you’re interested in it let us know about your use case!
Add data structure in apollo_compiler::execution for a GraphQL response, its data, and errors. All (de)serializable with serde.
Add coerce_variable_values() in that same module.
Make Name and NodeStr (de)serializable with serde.
Add ExecutableDocument::insert_operation convenience method.

Replaces and closes https://github.com/apollographql/apollo-rs/pull/645:

The execution engine and introspection resolvers are copied from there. async was removed (since unused by introspection, the only user)
The public API was reworked to be part of apollo-compiler
The logic splitting an operation into introspection and non-introspection parts was rewritten two produce valid documents. This logic needs a lot more testing.

I pushed a rework of error handling. introspection_split.rs still needs work to reject non-top-level introspection, but the rest of the PR can be considered ready for review.

Alright, this is now fully ready for review! Please also take a look at introspection_split.rs and its tests.


Cluster network

Not sure whether it's interesting to show this: a network graph showing the links between confirmed cases if there are any.
The reason is that most cases in Taiwan are weakly linked. The biggest cluster is the military fleet.
Also, is there any interesting (not superficial) information from the network? For example, gender or age histogram is a boring plot. It shows nothing different from a heuristic process.
From a cluster network, one can probably calculate some indicators similar to the R-value. This will be interesting, but it's not necessary to draw a network "graph" to do so. There might be a better way to visualize the information.
Pending & to rethink.

We can try, but most of the cases  are imported. We might get lots of isolated points

Not priority. I am more interested in timeline.

Not going to do this.


Display ID on video

Hi,
I would like to display the ID generated by ODC on a video in order to analyse which elements are causing a switch ID.
The desired result should be like the following :

What I tried :
I took a look at this old post :
https://github.com/opendatacam/opendatacam/issues/3#issuecomment-331155358
I did try to go to  http://localhost:8080/x-playground/tracker-test/index.html
But I got a 404 error
Questions :
Is this feature still avaible ?
Do I need to build an old version of ODC ?

That feature is not readily available. The closest we have is the path tracker which will assign the object a new color if the ID changes.
That being said, the ID should be forwarded to the Opendatacam front end. I would start investigating https://github.com/opendatacam/opendatacam/blob/master/components/canvas/engines/LiveViewEngine.js to see if the ID is in fact part of the objectTracked variable and then just change the displayed string .

yeah.. add a visual debugging mode of ids would be nice.. but not planning to do it for v4

this is very handy when you work on improving the tracker


Gateway Visibility Control in Dev Portal

Problem
Currently, there is no way to restrict access to the gateways based on the gateway deployment region for the APIs in the Dev Portal.
That means, for a User A who belongs to the region A, should only see the gateway belongs to region A, and not the gateways from regions B and C.
Solution
There should be a visibility control mechanism for the gateways based on the roles, so that the roles can be assigned to the users in each region and when showing the gateway URLs for the APIs in the Dev Portal, the visibility control can be done based on the regions.
Affected Component
APIM
Version
APIM 4.5.0

Did a background search for the gateway visibility control based on the regions and came up with the following approach.
Introduce a new property to the gateway environment configurations at the deployment.toml to capture the region as below.
[[apim.gateway.environment]]
name = "gateway-1"
type = "hybrid"
region = "US"
gateway_type = "Regular"
provider = "wso2"
display_in_api_console = true
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
show_as_token_endpoint_url = true
service_url = "[https://localhost:${mgt.transport.https.port}/services/](https://localhost:$%7Bmgt.transport.https.port%7D/services/)"
username= "${admin.username}"
password= "${admin.password}"
ws_endpoint = "ws://localhost:9099"
wss_endpoint = "wss://localhost:8099"
http_endpoint = "[http://localhost:${http.nio.port}](http://localhost:$%7Bhttp.nio.port%7D/)"
https_endpoint = "[https://localhost:${https.nio.port}](https://localhost:$%7Bhttps.nio.port%7D/)"
websub_event_receiver_http_endpoint = "http://localhost:9021/"
websub_event_receiver_https_endpoint = "https://localhost:8021/"

[[apim.gateway.environment]]
name = "gateway-2"
type = "hybrid"
region = "EU"
gateway_type = "Regular"
provider = "wso2"
display_in_api_console = true
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
show_as_token_endpoint_url = true
service_url = "[https://localhost:${mgt.transport.https.port}/services/](https://localhost:$%7Bmgt.transport.https.port%7D/services/)"
username= "${admin.username}"
password= "${admin.password}"
ws_endpoint = "ws://localhost:9099"
wss_endpoint = "wss://localhost:8099"
http_endpoint = "[http://localhost:${http.nio.port}](http://localhost:$%7Bhttp.nio.port%7D/)"
https_endpoint = "[https://localhost:${https.nio.port}](https://localhost:$%7Bhttps.nio.port%7D/)"
websub_event_receiver_http_endpoint = "http://localhost:9021/"
websub_event_receiver_https_endpoint = "https://localhost:8021/"

Provide a way to do a region-role mapping via the Admin portal. So that the roles incorporated to each region can be assigned to APIs to do the gateway visibility control.
Set the gateway visibility roles when designing an API at the Publisher.
Filter and show the gateway URLs in the Dev Portal. This can be done based on the gateway visibility roles set for the particular API at the Publisher.

Design document - https://docs.google.com/document/d/1DCoVOEqq8-o5Lcpptd5k2ui-mvGR32IadwPSXhuOGD0/edit?usp=sharing

Sub Tasks -

[ ]  Check on the KM visibility feature in API manager
[ ] Design the DB with schema changes
[ ] Design the UI
[ ] Implement the DB layer with schema changes
[ ] Implement API changes in the backend
[ ] Implement Admin UI changes for the feature
[ ] Restrict or control GW URLs for the APIs at the Developer portal
[ ] Write UI Integration test
[ ] Write Integration test
[ ] Handle migration changes
[ ] Documentation for the feature

Came up with the following DB schema changes for the feature.
-- Gateway Environments Table --
CREATE TABLE IF NOT EXISTS AM_GATEWAY_ENVIRONMENT (
           ID INTEGER NOT NULL AUTO_INCREMENT,
           UUID VARCHAR(45) NOT NULL,
           NAME VARCHAR(255) NOT NULL,
           DISPLAY_NAME VARCHAR(255) NULL,
           TYPE VARCHAR(255) NULL,
           VISIBILITY VARCHAR (1024) NULL,
           DESCRIPTION VARCHAR(1023) NULL,
           PROVIDER VARCHAR(255) NOT NULL,
           GATEWAY_TYPE VARCHAR(255) NOT NULL,
           ORGANIZATION  VARCHAR(255) NOT NULL,
           UNIQUE (NAME, ORGANIZATION),
           UNIQUE (UUID),
           PRIMARY KEY (ID)
);

Working on the backend implementation for the feature atm. Firstly the visibility configuration will be handled via the deployment.toml.

I have completed the visibility configurations set via the deployment.toml and working on the GW URL retrieval part at the Dev Portal.

I have completed the relevant backend API changes to handle the gateway environment visibility.
Facing some issues when showing the environments at the API Console page in the Dev Portal as the environments are retrieved via the endpoints currently [1] and we are considering the visibility for the environments here. Checking the APIConsole page implementation [1] and relevant backend changes [2], [3] to get it fixed.
[1] https://github.com/wso2/apim-apps/blob/main/portals/devportal/src/main/webapp/source/src/app/components/Apis/Details/ApiConsole/ApiConsole.jsx#L189
[2] https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.store.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/store/v1/mappings/APIMappingUtil.java#L466
[3] https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.store.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/store/v1/mappings/APIMappingUtil.java#L529

Solved the issue faced while retrieving the GW environments at the Dev Portal.
Added a draft PR [1] with the current implementation changes. Testing the flows atm and refactoring/improving the code changes.
Will be starting with the Admin UI changes as the next step.
[1] https://github.com/wso2/carbon-apimgt/pull/12722

Need to get the UI designs finalized before starting the implementation.
Looking into the integration test failures occurred due to the PR https://github.com/wso2/carbon-apimgt/pull/12722 atm.


create smart contract packages view

Signed-off-by: Heather Pollard<EMAIL_ADDRESS>

Contributes to https://github.ibm.com/IBM-Blockchain/fabric-vscode-extension/issues/4 but doesn't complete it, as adding smart contract packages view is missing from the main explorer view.


Adding method to get formatted string inside format function. Closes #61

This is a fairly simple method that uses the existing compile function to return a formatted string. I also added 3 tests, and added a section to the docs detailing the "function as format" option.
This closes issue #61

The concept itself in the PR is sound.

 Is there a better way to fail gracefully from what amounts to a utility function?

Call the function in a try block.

Try - catch would be the obvious solution, Heh, It's really late here. Am I ok to check for req.headers and res.headers to verify that I actually have the correct objects? Also, I'm returning the error as the output of the function if it catches an error. Do you see any problems with this?

I'd have to see the implementation to really comment :) But the try-catch would not be in this module, but rather in your calling code if you are concerned you don't know what type of objects you are passing in--this module, if it does any argument validation, should throw TypeError.

Ok, I'm way over thinking it now. All of the formatting functions already deal with the req, and res objects, so nothing breaks if you pass them junk and nothing this is calling has side effects.
I really hate to throw on a poorly formatted object passed at runtime. What about just returning the string as morgan outputs it, whatever that may be?

If you're suggesting to just completely remove the if(!req['headers']){ that's A-OK with me. if you're suggesting something else, just update the PR and I'll see what you mean :)

Would it be possible to get this merged, or closed if not?

You're welcome to close it, but I do want to merge it. Until July, when Express 3.x drops, these modules' minors are tied to Express 3.x minors. A new feature is a minor, which is the only reason this PR hasn't been merged yet.

Ah, I hadn't thought about the downstream implications. Im fine with just letting this hang open until you are ready to move on it, I just have a selfish interest in the functionality I added. I will just use my fork in my project in the meantime.

There is still work being done here, but in the next version, you can at least accomplish this task using the morgan.compile method, in combination with access the needed format string.

For example, with 1.6.0, your example in the PR could become the following:
var express = require('express')
var morgan = require('morgan')
var logger = require('myCustomLogger')
var app = express()

var getCommonLine = morgan.compile(morgan.common)

app.use(morgan(function(tokens, req, res){

	// Extract your data from the request.
	var reqData = {
     "remote-addr": tokens['remote-addr'](req, res),
     "date": tokens['date'](req, res),
     "method": tokens['method'](req, res),
     "status": tokens['status'](req, res),
     "response-time": tokens['response-time'](req, res)
	}

	// a formatted string.
	var formatLine = getCommonLine(morgan, req, res)

	logger.log(formatLine, reqData)

	//or do something with your data and return the formatted string.
	logger.writeData(reqData)
	return formatLine

	//or do something async and write your formatted line manually.
	logger.writeAsyncData(reqData, function(err){
		console.log(formatLine)
	})
});


Add Frege

https://github.com/sfischer13/awesome-frege
This list is about Frege, a Haskell for the JVM. It contains awesome resources for Frege developers.

[x] I have read and understood the contribution guidelines and the instructions for creating a list.
[x] This pull request has a descriptive title. (For example: Add Node.js)
The list I added

[x] has been around for at least 20 days,
[x] is a non-generated Markdown file in a GitHub repo,
[x] is not a duplicate,
[x] only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
[x] contains the awesome badge on the right side of the list heading,
[x] has a Table of Contents section named Contents as the first section,
[x] has an appropriate license (Meaning something like CC0, NOT a code licence like MIT, BSD, Apache, etc),
[x] has contribution guidelines,
[x] has been checked for inconsistent formatting, spelling, and grammar (This includes starting each link description with an uppercase character and ending it with a period ., and consistent naming),
[x] has been added at the bottom of the appropriate category.

Feedback:

Drop the Inspired by the awesome list thing. text.
Drop the Travis status badge. It has no practical purpose there.
The contributing guidelines should also include the expected formatting. See contributing.md in this repo.
Include project logo in the top right, like e.g. https://github.com/sindresorhus/awesome-electron (The logo should link to the project website) (The logo should be high-DPI, set it to minimum half the width of the original image)
Drop all the A / An prefixes in the descriptions.
In the description at the top, A curated list of awesome resources for the Frege programming language., linkify Frege to https://en.wikipedia.org/wiki/Frege_(programming_language)

[x] Drop the Inspired by the awesome list thing. text.

[x] Drop the Travis status badge. It has no practical purpose there.

[x] The contributing guidelines should also include the expected formatting.

[x] Include project logo in the top right.

[x] Drop all the A / An prefixes in the descriptions.

[x] In the description at the top, linkify Frege.

[ ] Add a succinct description.

OK, everything should be fixed now.

👌✨

Thanks again for your effort and for creating this cool project!


Add a settings option to choose where to render the Uppload modal

Is your feature request related to a problem? Please describe.
Yes it is. I'm using Svelte as a front-end framework for my app. Svelte uses client-side routing (you probably knew that). Like other front-end frameworks, the entire app is rendered inside a single div.
In my code, I created a new Uppload at a /profile page. Everything works great here. The file is uploaded and the modal closes. But when I navigate back to the / page (using client-side routing) an unstyled Uppload shows up at the bottom. I've attached a screenshot. If I refresh the / page in the browser, this goes away. If I'm on the /profile url and open the Uppload modal, then close it without uploading a file, I don't have the lingering div on the / page. It's only if I upload a file.
After looking at the dev tools, I realized that the uppload-container div is added to the bottom of the body element - outside my app's div element. So after I use the uploader, this causes the lingering element to show up on all other pages of my app - even though the 'visible' class is removed.
Describe the solution you'd like
A settings option where you declare a class for the html element you'd like Uppload to be rendered in.
I played around with dist/uppload.js and was able to achieve this by doing the following.
after line 40, add this.wrapper = "";
replace line 53 (or old line 52) with const body = this.settings.wrapper ? document.querySelector(this.settings.wrapper) : document.body
It seems like this correlated to line 67 of src/uppload.ts, and then insert wrapper = ""; around line 46??? Wasn't sure.
Finally, I added the setting to my Uppload instance; with the class name of the div I wanted to use at the bottom of my /profile page - being sure to include the leading dot.
wrapper: '.uppload'
Thanks!
Describe alternatives you've considered
I tried to use client-side javascript to remove the uppload-container from the body after the upload, but it wasn't working. It ended up just preventing the modal from opening at all.
Additional context
I'm not sure if there are consequences to using this proposed option and the existing inline option at the same time.

Just FYI, if this is considered, I think it might make more sense to use an id instead of a class. I went ahead and changed my setup to reflect this.
replaced querySelector with getElementById in the uppload.js file
replaced .uppload with uppload in the Uppload instance wrapper config
replaced class with id in my html element

Thanks, @crevizzle! This is definitely a todo. @plibither8 is also planning on using Uppload in a Svelte project, so we'll see who can get to this first! 😄


Expanded player while on Post a Track page

When expanding the player while playing a song off on the post a track page, it says that I posted the song when really I haven't yet.
Should say 'From your search results'.

Addressed in 3dc87f3


Aldodfm behind proxy

@Aldodfm PR #267 with an update to the readme file

I have merged this in in release 2.19.2 I had to add use a separate PR #267 as I needed to add an update to the readme for the task
Thanks for the submission


move away from aos.js

conflicts with some css behaviors we already have, not isolated

replaced by react-spring


Compute version for nested projects

Previously .git needs to be placed exactly in project root.
This change allow to host multiple libraries inside single repository.

@alexarchambault I think this may be really usable, but it may be too optimistic - please let me know what you think.


demo for qualitative results

Great work!
Do you plan to release codes for visualizing generated motions in scenes?
It would be very helpful.

Hi, I upload a script for visualization. Please check it. A simple way to use it:
python visualize.py --file ${PKL} --render_joint

--file indicates the result for rendering. ${PKL} is the saved result in your evaluation folder, such ./outputs/CMDM-Enc-ALL/eval/test-0101-00000/joints/00000.pkl
--render_joint indicates rendering SMPL joints instead of mesh

Please read the code for other options.

Thank you!

@Silverster98
Hi,
I executed the following two commands:
 bash scripts/t2m_contact/test.sh ./outputs/CDM-Perceiver-H3D/ wo_mm 2023
 bash scripts/t2m_contact_motion/test.sh outputs/CMDM-Enc-H3D-mixtrain0.5/ outputs/CDM-Perceiver-H3D/eval/test-0413-205430 wo_mm 2023

But I only found the pkl files in this directory ./outputs/CMDM-Enc-H3D-mixtrain0.5/eval/test-0724-160958/humanml, not the directory ./outputs/CMDM-Enc-ALL/eval/test-0101-00000/joints/00000.pkl you mentioned.
When I tried to visualize the results, I got the following error:
{'name': '000019', 'text': 'person jogs around to the left and right', 'tokens': ['person/NOUN', 'jog/VERB', 'around/ADV', 'to/ADP', 'the/DET', 'left/NOUN', 'and/CCONJ', 'right/ADJ'], 'motion': array([[-0.06990062, -0.00862925,  0.00903702, ...,  1.0038702 ,
         1.0151486 ,  1.0112567 ],
       [-0.00418399, -0.01324492,  0.0117446 , ...,  1.0018142 ,
         1.0092654 ,  1.0076082 ],
       [-0.00383292, -0.01627299,  0.01388093, ...,  1.0013393 ,
         1.0064111 ,  1.0092889 ],
       ...,
       [-0.01218314,  0.01191701,  0.01579641, ...,  1.0083191 ,
         1.0126897 ,  1.0093919 ],
       [-0.00932829,  0.00845526,  0.00773508, ...,  1.0063035 ,
         1.0096298 ,  1.0092592 ],
       [-0.00834997,  0.01137932,  0.00447602, ...,  1.0062536 ,
         1.0091835 ,  1.0116569 ]], dtype=float32), 'm_len': 148}
Traceback (most recent call last):
  File "visualize.py", line 160, in <module>
    body_meshes, scene_mesh = rendering(f, os.path.join(prefix, 'video', f'{basename}'), args.render_joint)
  File "visualize.py", line 85, in rendering
    joints = data['joints']
KeyError: 'joints'

@Silverster98 Hi, I executed the following two commands:
 bash scripts/t2m_contact/test.sh ./outputs/CDM-Perceiver-H3D/ wo_mm 2023
 bash scripts/t2m_contact_motion/test.sh outputs/CMDM-Enc-H3D-mixtrain0.5/ outputs/CDM-Perceiver-H3D/eval/test-0413-205430 wo_mm 2023

But I only found the pkl files in this directory ./outputs/CMDM-Enc-H3D-mixtrain0.5/eval/test-0724-160958/humanml, not the directory ./outputs/CMDM-Enc-ALL/eval/test-0101-00000/joints/00000.pkl you mentioned. When I tried to visualize the results, I got the following error:
{'name': '000019', 'text': 'person jogs around to the left and right', 'tokens': ['person/NOUN', 'jog/VERB', 'around/ADV', 'to/ADP', 'the/DET', 'left/NOUN', 'and/CCONJ', 'right/ADJ'], 'motion': array([[-0.06990062, -0.00862925,  0.00903702, ...,  1.0038702 ,
         1.0151486 ,  1.0112567 ],
       [-0.00418399, -0.01324492,  0.0117446 , ...,  1.0018142 ,
         1.0092654 ,  1.0076082 ],
       [-0.00383292, -0.01627299,  0.01388093, ...,  1.0013393 ,
         1.0064111 ,  1.0092889 ],
       ...,
       [-0.01218314,  0.01191701,  0.01579641, ...,  1.0083191 ,
         1.0126897 ,  1.0093919 ],
       [-0.00932829,  0.00845526,  0.00773508, ...,  1.0063035 ,
         1.0096298 ,  1.0092592 ],
       [-0.00834997,  0.01137932,  0.00447602, ...,  1.0062536 ,
         1.0091835 ,  1.0116569 ]], dtype=float32), 'm_len': 148}
Traceback (most recent call last):
  File "visualize.py", line 160, in <module>
    body_meshes, scene_mesh = rendering(f, os.path.join(prefix, 'video', f'{basename}'), args.render_joint)
  File "visualize.py", line 85, in rendering
    joints = data['joints']
KeyError: 'joints'

Hi, sorry for this late reply. As this issue was closed, I didn't notice your comments.
I visualize the result on the HumanML3D benchmark using another visualization script, visualize_h3d.py, which I have uploaded to this repo. I hope this can solve your issue.


editor.lineNumbers: interval - render last line number

When setting "editor.lineNumbers": "interval",, the last line number should always be rendered, to prevent confusion about empty last lines:

Hi! I'd like to try my hand at this, as my first issue.

hii i have studied the codebase of vs code, and wanted to have it as my first open source issue, can you assign me for it


pull request for e2e test at 12/10/2016 10:45:02

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


IndexedDB 2.0 based on W3C Working Draft, 13 March 2017

This new API is supported in Chrome 58, Firefox 51, and Safari 10.1.
Specification: https://www.w3.org/TR/2017/WD-IndexedDB-2-20170313/
Summary of what is new: https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/

@brad4d
Could you please try importing this PR and tell me if changes to IDBRequest.prototype.error, IDBRequest.prototype.source and IDBTransaction.prototype.error are ok?

@brad4d Ping?

@vobruba-martin sorry for the delay

Found 2 failures.
Working on fixes.

This will likely be submitted by Tuesday.


While true kills the bot

Luckily I tested the while true loop issue before someone abused it, it kills the process tho :P shud blacklist it

No -- blacklisting is only for Deno, there are a ton of ways to abuse loops. Instead, I'll implement a timeout for the eval tomorrow


谢谢你Maiko！

Signed-off-by: MirrorCY<EMAIL_ADDRESS>

什么高强度自搜！（

Big Brother is Watching You.

救命啊 迷迷子网报萌新辣！

快跑！

欸嘿

迷迷子不理我了 哭


Enable parsing of plain text input

(parsing should only happens once until input files change)

I was just thinking that either we add language detection as well (I don't think there is a Haskell library for that but maybe there's a suitable API for that as well) or there has to be a way for the user to decide what language/model to use. In the latter case, I guess a dialog with a text field (is that a thing in the WWW?) is what would clutter the UI the least.

I was just thinking that either we add language detection as well (I don't think there is a Haskell library for that but maybe there's a suitable API for that as well) or there has to be a way for the user to decide what language/model to use. In the latter case, I guess a dialog with a text field (is that a thing in the WWW?) is what would clutter the UI the least.

We could try either this https://github.com/saffsd/langid.js or this https://github.com/Maxacl/Language-Identification

Both look like easy-to-use options :100:


How to customize my own language locale

<vue-cal :time="false" small active-view="year" locale="zh-cn" />
import VueCal from 'vue-cal'
import 'vue-cal/dist/i18n/zh-cn.js'
import 'vue-cal/dist/vuecal.css'

how can I use my custom i18n/zh-cn.js?
I want to change the content of zh-cn.js.

Hi @FuGangqiang,
This is not possible.
But many slots are available to customize what should be customizable.
What do you want to change?

I want to change the weekday label,
for example:
Monday -> First

Hi @FuGangqiang,
This is now an option in version 3.9.0.
Check this demo: https://codepen.io/antoniandre/pen/rNLgBKo?editors=1010
Docs: https://antoniandre.github.io/vue-cal/#ex--internationalization > alternative.
Hope it helps.

thanks, this is what I want!


[PROPOSAL] Document current security mechanisms

What/Why
What are you proposing?
Users want to read up on current security measures of our repos. For example, whether we have any security scanners configured to detect accidental security leaks.
What users have asked for this feature?
I got back-channelled.
What problems are you trying to solve?
I got back-channelled and had to  ask around.
We have Whitesource, Dependabot, security scanning, etc.
What is the developer experience going to be?
Read about things like Whitesource and Dependabot in SECURITY.md
Are there any security considerations?
Yes!

@bbarani could you look into this?

We will document the current security mechanism in place soon. CC: @prudhvigodithi @gaiksaya @zelinh

Just curious to know if we have Secret Scanning enabled in the repos?

I deleted the previous comment - lets avoid public speculation on what security tools are or are not in place.


Update User Guide

This commit resolves https://github.com/AY2122S2-CS2103T-T17-3/tp/issues/100
Now, the user guide includes command instructions for logs and unlog.

Codecov Report

Merging #102 (23f57cf) into master (cab9665) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #102   +/-   ##
=========================================
  Coverage     71.53%   71.53%
  Complexity      646      646
=========================================
  Files           110      110
  Lines          2097     2097
  Branches        212      212
=========================================
  Hits           1500     1500
  Misses          542      542
  Partials         55       55

Continue to review full report at Codecov.

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


create table sql?

where is the mysql create table sql?

hey @wangdyqxx ,
Can you pls share where you have found MySQL table schemas


Bug fix while using different params for different instruments for fp, p and p1

Hi @nespinoza,
The current version of juliet (master and dev branches, which I believe is the latest stable version) has a bug. While fitting for different parameters for fp, p and p1 for different instruments, the sampling will happen only for the last instruments in the list. For example, while fitting for fp_p1_instrument1 and fp_p1_instrument2, the sampling will happen only for the later parameter and the prior would return as posterior for the former.
This is because of a missing if statement while creating self.fp_iname, self.p_iname and self.p1_iname dictionaries in __init__ function of the model class (see, changes below to see what I mean). Because of this missing if statement, those self.fp_iname[p1][ins] etc. dictionaries were kept updating for each ins in the loop and the final value of self.fp_iname[p1][ins] would always correspond to the last instrument in the loop. This PR fixes this issue by adding an if statement. Let me know if you have any questions on this.
Cheers,
Jayshil

Thanks for this catch! Merging...

Hey @Jayshil,
I took a deeper look after merging in dev on this, and I remembered what happened here. The problem with your fix is that this fix makes juliet incompatible with previous versions, in which you could just define a prior on p_p1 for instance to fit a wavelength-independant planet-to-star radius ratio.
Just a heads-up that I'm working on this so the final juliet code might look a bit different on this part than your PR.
N.

Hi @nespinoza,
Thanks for informing me! I did not realise that the extra else statement there was for juliet back-compatibility. The changes you made now are a more clear way of doing this. Thanks for doing this!
Cheers,
Jayshil


Bind host hard-coded to localhost

Hey, thanks for the cool project. I'm trying to use it in a Docker container and noticed the server is hard-coded to bind to localhost:
func Listen(port int, iterator proxy.ProxyIterator) {
	// ...
	log.Println("Serving at port", port)
	err := http.ListenAndServe(fmt.Sprintf("localhost:%d", port), middleProxy)
	if err != nil {
		panic(err)
	}
}

It would be really helpful if this were configurable by the command line (to make something like -H <IP_ADDRESS> possible). Any chance that would be possible?

Thank you for using it!
Just released a new version with your suggestion and verbose logging v.0.2.0.
I've also added a Dockerfile and published the image to the GitHub registry https://github.com/MrMarble/rotxy/pkgs/container/rotxy.
If you have any other issue or contribution, feel free to make it!


ion-segment is missing in ionic 4 beta documentation

Hi team,
seems ion-segment documentation is missing in ionic 4 beta.
Is this intentional ? if so what is the alternate one ??
Thanks,
Naveen.

There you have it:
https://beta.ionicframework.com/docs/api/segment/


No error message for reference before definition

define contributions is (
  explore 'bigquery-public-data.fec.indiv20'
  total_amt is sum(transaction_amt)
  candidate_id is REGEXP_EXTRACT(memo_text, r'(C\d\d\d\d+)')
  -- candidate is join candidates on candidate_id
);

define candidates is ('bigquery-public-data.fec.cn20'
  primary key cand_pcc
);

contributions : [ candidate_id != NULL ] | reduce top 5
  candidate_id
  total_amt
  order by total_amt desc
;

The query works if the join is commented out, and fails with a mysterious error about unknown dialects if the join exists.
Moving the definition of candidates above the definition of contributions fixes this error.
I do not understand why there is not an undefined error when processing the join statement before the explore is defined, there totally should be, I would have bet money there was one, but there is not.

Hey @christopherswenson ... I need help.
If I have this in the IDE:
explore: contributions is table('bigquery-public-data.fec.indiv20') {
  measure: total_amt is sum(transaction_amt)
  dimension: candidate_id is REGEXP_EXTRACT(memo_text, r'(C\d\d\d\d+)')
  join: candidate is candidates on candidate_id
}

explore: candidates is table('bigquery-public-data.fec.cn20') {
  primary_key: cand_pcc
}

query: contributions -> {
  top: 5
  where: candidate_id != NULL
  group_by: candidate_id
  aggregate: total_amt
  order_by: total_amt desc
}

Then I get a lineless-internal error because of the forward reference
But if I write t a test:
    const m = new BetaModel(`
    explore: newAB is a { join: newB is bb on astring }
    explore: newB is b
    `);
    expect(m).not.toCompile();
    console.log(m.prettyErrors());

It passes and produces this output:
  console.log
   FILE: internal://test/root
   line 2: Undefined data source 'bb'
     |     explore: newAB is a { join: newB is bb on astring }

I don't understand how my test is different that what the IDE does.


Get product ids from cart

Is there any way to get all products id that added to cart, without looping Cart:content()

Cart::content()->pluck('id')->toArray()


respect offset in utf8 and list casts

Which issue does this PR close?
This is a fix for #334.
Offsets were not taking into account in casts:
    list <-> large-list
    utf8 <-> large-utf8

Codecov Report

Merging #335 (144a7bd) into master (e18b356) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head 144a7bd differs from pull request most recent head d0e540f. Consider uploading reports for the commit d0e540f to get more accurate results

@@            Coverage Diff             @@
##           master     #335      +/-   ##
==========================================
+ Coverage   82.52%   82.53%   +0.01%
==========================================
  Files         162      162
  Lines       44021    44037      +16
==========================================
+ Hits        36328    36348      +20
+ Misses       7693     7689       -4

Impacted Files
Coverage Δ

arrow/src/compute/kernels/cast.rs
94.53% <100.00%> (+0.04%)
:arrow_up:

arrow/src/array/equal/list.rs
89.55% <0.00%> (+5.97%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks a lot @ritchie46 . I can't fully evaluate this because I am uncertain about the spec here.
I am a bit uncertain about the spec here: do we require the offset buffer to start at 0, or is the requirement that the last value minus the first value must be equal to the length of the values buffer? @nevi-me , do you know what is the spec here?
I am asking because IPC does not support the ArrayData::offset. Do we need to "de-offset" sliced arrays when passing tor IPC, or what is the deal here? (last resort, I will bring this to the mailing list)

I am a bit uncertain about the spec here: do we require the offset buffer to start at 0, or is the requirement that the last value minus the first value must be equal to the length of the values buffer? @nevi-me , do you know what is the spec here?

Yes, I simply respected the API at this point. We throw an error if offsets do not start at zero, but we may be stricter than the spec is.

I am a bit uncertain about the spec here: do we require the offset buffer to start at 0, or is the requirement that the last value minus the first value must be equal to the length of the values buffer? @nevi-me , do you know what is the spec here?

This might be a bit tricky. AFAIK the spec doesn't prescribe what happens when a compute kernel interacts with sliced data.

Generally the first value in the offsets array is 0, and the last slot is the length of the values array. When serializing this layout, we recommend normalizing the offsets to start at 0. [0]

I would interpret "generally" as, 'most implementations will expect to start at 0'. In which case, I would prefer a solution that carries the offset of the array, and starts the offset buffer at 0.
I think carrying the offset of the input into the output in this case, is the most performant and compatible solution. Otherwise we'd have to racalculate the offsets to make sure that they start from 0.
[0] https://arrow.apache.org/docs/format/Columnar.html#variable-size-binary-layout


[Windows] - ERD Generator fails if current directory path contains spaces

Hi!
First of all, really good tool!
The tool is not able to generate when the current directory contains spaces. Following is an example -
mermaid command:  C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\node_modules\.bin\mmdc -i C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\prisma.mmd -o C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\ERD.svg -t forest -c C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\config.json
Error:
Error: Command failed: C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\node_modules\.bin\mmdc -i C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\prisma.mmd -o C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\ERD.svg -t forest -c C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\config.json
    at checkExecSyncError (node:child_process:828:11)
    at Object.execSync (node:child_process:899:15)
    at Object.exports.default [as onGenerate] (C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\node_modules\prisma-erd-generator\dist\generate.js:264:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async LineStream.<anonymous> (C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\node_modules\@prisma\generator-helper\dist\generatorHandler.js:34:24)

✔ Generated Prisma Client (4.1.0 | library) to .\node_modules\@prisma\client in 199ms

I took the mermaid command and wrapped up in quotes and I was able to execute it in Powershell
& "C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\node_modules\.bin\mmdc" -i "C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\prisma.mmd" -o "C:\Users\Pranav\OneDrive - Solutions Pvt. Ltd\Solutions\Tome\Schema\ERD.svg" -t forest -c "C:\Users\Pranav\AppData\Local\Temp\prisma-erd-HK4hIm\config.json"

Hi! Just wanted to bump this a year later to say that this is still an issue...

Anyone know how I can fix this? I thought wrapping any calls in strings works or wrapping in path.resolve works but apparently its not.
Reference to line of code


Blog: 2.13 article refers to trash instead of Recycle Bin (EN)

Where to find the issue
https://www.coronawarn.app/en/blog/2021-11-03-cwa-version-2-13/ "Oops, certificate deleted? - Corona-Warn-App version 2.13 gets it back!"
from @HannaHei
Describe the issue
The blog refers to both "recycle bin" and "trash" in the article.
The latest Android version of 2.13.x has renamed "trash" to "Recycle Bin", so the blog article should also only use the term "Recycle Bin" for Android.
Please check also for iOS.
See also https://www.coronawarn.app/en/faq/#cert_recycle_bin.
Suggested change
Change references in https://github.com/corona-warn-app/cwa-website/blob/master/blog/2021-11-03-cwa-2-13/index.md from "trash" to "Recycle Bin".
Related issue
https://github.com/corona-warn-app/cwa-website/issues/2006 "Screenshots: Trash now named Recycle Bin (EN)".

Reg. iOS, see: https://github.com/corona-warn-app/cwa-website/issues/2006#issuecomment-959299913

@Ein-Tim
Thanks for your comment that also in iOS the correct term is "Recycle Bin" not "trash".

@MikeMcC399 @Ein-Tim Thanks. Issue is forwarded internally.

@dsarkar
Thank you! It is good to see the @larswmh is getting the screenshots (as reference material) corrected in PR https://github.com/corona-warn-app/cwa-website/pull/2010.

@MikeMcC399 FYI I just opened a PR to fix it

PR #2011 has fixed this issue and there is no longer a reference to "trash" in https://www.coronawarn.app/en/blog/2021-11-03-cwa-version-2-13/.
Thanks to @larswmh for this fix!


[Q] Why translucent app size so heavy ?

106.9MB
What on it cause that actually?
Thanks

because it use electron which use Node.js + Chromium as runtime AFAIK.
If app size is your concern, use web version here https://kosamari.github.io/translucent/


Don't require samples column in measurement table

In GitLab by @nwalczak on Oct 1, 2019, 15:31
The samples column is a computed value, not user entered.  It isn't strictly required and even if we compute it later the column can be added back when the values are computed.  It can be convenient to delete the column during table generation.

In GitLab by @nwalczak on Oct 1, 2019, 15:31
Fixed in 7c4747e5f7a11a2008e6f7d9ba2adc3a03e23f55

In GitLab by @nwalczak on Oct 1, 2019, 15:31
closed


update sass and sass-loader packages

Hi @Fryguy ,
update sass version to 1.33.0 and sass-loader version to 12.6.0 in order to resolve following error:
ERROR in ./assets/sass/styles.sass
Module build failed (from ../node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ../node_modules/sass-loader/dist/cjs.js):
SassError: Undefined function.
    ╷
369 │ $navbar-padding-horizontal:        floor(math.div($grid-gutter-width, 2)) !default;
    │                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
  node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss 369:42  @import
  node_modules/patternfly/dist/sass/_patternfly.scss 7:9                           @import
  client/assets/sass/_patternfly.sass 9:9                                          @import
  client/assets/sass/styles.sass 5:9                                               root stylesheet
    at processResult (/root/BUILD/manageiq-ui-service/node_modules/webpack/lib/NormalModule.js:582:19)
    at /root/BUILD/manageiq-ui-service/node_modules/webpack/lib/NormalModule.js:675:5
    at /root/BUILD/manageiq-ui-service/node_modules/loader-runner/lib/LoaderRunner.js:400:11
    at /root/BUILD/manageiq-ui-service/node_modules/loader-runner/lib/LoaderRunner.js:252:18
    at context.callback (/root/BUILD/manageiq-ui-service/node_modules/loader-runner/lib/LoaderRunner.js:124:13)
    at /root/BUILD/manageiq-ui-service/node_modules/sass-loader/dist/index.js:54:7
    at Function.call$2 (/root/BUILD/manageiq-ui-service/node_modules/sass/sass.dart.js:90547:16)
    at _render_closure1.call$2 (/root/BUILD/manageiq-ui-service/node_modules/sass/sass.dart.js:79617:12)
    at _RootZone.runBinary$3$3 (/root/BUILD/manageiq-ui-service/node_modules/sass/sass.dart.js:27035:18)
    at _FutureListener.handleError$1 (/root/BUILD/manageiq-ui-service/node_modules/sass/sass.dart.js:25563:19)
 @ ./app.js 91:0-36

1 ERROR in child compilations
webpack 5.4.0 compiled with 2 errors in 169689 ms
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.

I can't yarn install with this PR as is. Seems CI is having the same issue.

I can't yarn install with this PR as is. Seems CI is having the same issue.

set yarn version to 1.22.18 for s390x platform

This PR still fails.  I'm not sure why, but using yarn 3 on MacOS or Linux (CI is linux), it just fails: https://github.com/ManageIQ/manageiq-ui-service/runs/6471232342?check_suite_focus=true

This PR still fails. I'm not sure why, but using yarn 3 on MacOS or Linux (CI is linux), it just fails: https://github.com/ManageIQ/manageiq-ui-service/runs/6471232342?check_suite_focus=true

CI is running on x86_64 platform where yarn is set to 3.0.2. do we need to change yarn version for x86 architecture?

CI is running on x86_64 platform where yarn is set to 3.0.2. do we need to change yarn version for x86 architecture?

No, the purpose of this change is that 1.22.18 should only apply to s390x until you figure out why yarn 3 is failing on s390x.  Other arches should use the latest.


Extended Dataset for Objectron?

Description
Hi @homuler ,
Objectron currently supports only a few object's compatibility. Do you have any idea how to add more compatibility of objects, for example like headphones, piano etc
I know I should write this over the main mediapipe repo but I thought of asking you as well.

As far as I know, there are no datasets for headphones or piano, so you will need to prepare them first (cf. https://github.com/google-research-datasets/Objectron).
For more information, read https://google.github.io/mediapipe/solutions/objectron.html

I know I should write this over the main mediapipe repo but I thought of asking you as well.

Then please don't open an issue here.


Property 'delegate' with type 'PayTopViewDelegate?' cannot override a property with type 'ZFPlayerControlViewDelagate!'

Property 'delegate' with type 'PayTopViewDelegate?' cannot override a property with type 'ZFPlayerControlViewDelagate!'

swift 项目 出现代理冲突的情况

Use another name for your own 'delegate'


chore(application): add 'display-legend' argument

'display-legend' argument, default on
legend with all types

@vogloblinsky can you rebase ?

merge manually.


[DOC] Mistaken docs on set_format

Describe the bug
https://huggingface.co/docs/datasets/v2.10.0/en/package_reference/main_classes#datasets.Dataset.set_format

While actually running it will result in:

Steps to reproduce the bug
_
Expected behavior
_
Environment info

datasets version: 2.10.0
Platform: Linux-5.10.147+-x86_64-with-glibc2.29
Python version: 3.8.10
PyArrow version: 9.0.0
Pandas version: 1.3.5

Thanks for reporting!


[Question]Regarding AdapterInterface

AdapterInterface looks assymetric

for submitter(sender) AdapterInterface provides push method.
for worker(receiver) - runExisting(callback) & subscribe(callback)

Therefore, every implementation of AdapterInterface must contain jobs processing.
But this processing is completely generic and may be done by upper class.
It may be achieved via following methods of AdapterInterface:

subscribe()     (initiation)
next(timeout):?MessageInterface  (receive job from specific broker)
updateProcessingState(status, MessageInterface) (ack, nack, delete - any required by specific broker operation)

What do you think?

Next question regarding existing interface
Both runExisting(callback) & subscribe(callback) implicity assume the use
of LoopInterface
More clear solution to add loopinterface as additional argument to these methods

also i don't understand runExisting(callback) & subscribe(callback)
message contains handler name, so adapter should find corresponding callback by name
it means that instead of callback array of handlers should be supplied or
new WithHandlers method of adapterinterface
loopinterface also should be argument of runExisting and subscribe or
WithLoop method
because yii3 queue still is not in prodiction, we have chance to discuss and possibly improve design and implementaton