notebook: encountering a gall error when I try and post to a notebook

Describe the bug, optionally with screenshots
I'm currently encountering a bug that is preventing me from posting to a notebook in a group. After formatting some text and pressing the "Post" button, I see the following error in the devtools console:
gall: poke-as cast fail :diary [a=%json b=%diary-action-0]
[%bad-key 'listing']
/lib/diary-json/hoon:<[485 5].[508 7]>
/lib/diary-json/hoon:<[484 5].[508 7]>
/lib/diary-json/hoon:<[483 5].[508 7]>
/lib/diary-json/hoon:<[482 5].[508 7]>
[%key 'blockquote']
/lib/diary-json/hoon:<[485 5].[508 7]>
/lib/diary-json/hoon:<[484 5].[508 7]>
/lib/diary-json/hoon:<[483 5].[508 7]>
/lib/diary-json/hoon:<[482 5].[508 7]>
[%key 'inline']
[%key 'content']
[%key 'edit']
[%key 'delta']
[%key 'notes']
/lib/diary-json/hoon:<[360 12].[360 40]>
/lib/diary-json/hoon:<[360 5].[360 41]>
/lib/diary-json/hoon:<[359 5].[360 41]>
/lib/diary-json/hoon:<[358 5].[360 41]>
[%key 'update']
/sys/vane/gall/hoon:<[756 27].[756 45]>

onmessage @ index.88c2dd90.js:116
(anonymous) @ index.88c2dd90.js:115
(anonymous) @ index.88c2dd90.js:115
h3e @ index.88c2dd90.js:115

The visual state looks like this:

For some reason, I can write a single line of text to the post, but can't write out some structured text which includes lists, mentions, and imagery:

To Reproduce
Steps to reproduce the behavior:

Go to a notebook you have write access to
Add an entry and format it with at least the following elements

Nested Unordered list
Mention
image link

Attempt to post it
If you see an error, you've reproduced the bug

Expected behavior
I expect to be able to post a normally-formatted entry to a notebook without the interface blocking me
Additional context:

Ship: planet — ~fabled-faster
Instance type: Tlon-hosted
Ship: planet — ~tonlur-hidlyn
Instance type: Self-hosted (Digital Ocean)
MacOS Ventura — 13.0.1 (22A400)
Safari — Version 16.1 (186<IP_ADDRESS>.12)
Chromium — Engine Version 109.0.5414.87

@urcades can you produce the output for +vat %groups? I'm unable to repro this.

@urcades Which one of your ships was this on? I see you listed both.

@jamesacklin updated the text to only list ~tonlur-hidlyn

@patosullivan this is what I see:
> +vat %groups
%groups
  /sys/kelvin:      [%zuse 417] [%zuse 416] [%zuse 415]
  base hash:        0v1i.haeq1.catgc.rbk3e.dog5c.5godm.tpd5l.t9rla.81idi.hapm7.phgep
  %cz hash:         0v1i.haeq1.catgc.rbk3e.dog5c.5godm.tpd5l.t9rla.81idi.hapm7.phgep
  app status:       running
  force on:         ~
  force off:        ~
  publishing ship:  [~ ~sogryp-dister-dozzod-dozzod]
  updates:          remote
  source ship:      ~sogryp-dister-dozzod-dozzod
  source desk:      %groups
  source aeon:      10
  kids desk:        ~
  pending updates:  ~[[%zuse 416] [%zuse 415]]
::


Add Datetime handling and between functionality.

Adding a check if the given value is an instance of DateTime and adding a between condition will be easy.
#121

Added with version 2.5.


wip: update(falco): bump chart and Falco version

What type of PR is this?
/kind chart-release
Any specific area of the project related to this PR?
/area falco-chart
What this PR does / why we need it:
Get ready for Falco 0.36.2.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: FedeDP
Once this PR has been reviewed and has the lgtm label, please assign cpanato for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cpanato care to point me? I can't file any reference of the image tag except for the one i updated (eg: https://github.com/search?q=repo%3Afalcosecurity%2Fcharts+0.36.1&type=code)

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpanato, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [cpanato]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add support for partial ordering to Comparators

After recent discussion with @JaroslavTulach and @radeusgd (the conclusion is here https://github.com/enso-org/enso/issues/5742#issuecomment-1444995335) we have decided that we will roll back the behavior of comparators to allow specification of partial ordering.  The new API shall look like so:
type Ordered_Comparator
  is_ordered = True
  compare : Any -> Any -> (Ordering|Nothing)
  hash -> Any -> (Integer|Nothing)

type Unordered_Comparator
  is_ordered = False
  equals : Any -> Any -> (Boolean|Nothing)
  hash : Any -> (Integer|Nothing)

for compare x y, the return value of Nothing specifies that x and y are incomparable. (for example, this will be the case when x or y is NaN).
### Tasks
- [ ] Reject #5744.
- [ ] Make sure that there are no regressions in related benchmarks.
- [ ] Consider using just `compare` method without dedicated `equals` method

Why don't we have just a single:
type Comparator
  compare : Any -> Any -> (Ordering|Nothing)
  hash -> Any -> (Integer|Nothing)

Such an API is simpler and achieves the same. Everyone who would want to support just equals can implement compare: Any -> Any -> (Ordering.Equal | Nothing) at the same cost and speed.

Now that we support partial ordering, and we can have situations like:
type My_Comparator
  equals x y = x.data == y.data
  hash x = Nothing

i.e. hash just returns Nothing, or equals can return Nothing for almost all instances except for few ones, etc. I am thinking it is, indeed, not necessary anymore to differentiate between an ordered comparators and unordered ones.
These all changes of course mean that we will have to deal with more weird comparator behavior at runtime, but since we all agreed that our users are as clueless as possible, then I think these changes are just fine.
The author of the proposal to differentiate between ordered and unordered comparators is @radeusgd, so if he does not have any strong opinions against merging ordered and unordered comparators into single comparators, then let's do it.

Have I made an oversight in the previous comment? I am surprised hash could return Nothing - why? I believe the requested behavior should be:
type Comparator
  compare : Any -> Any -> (Ordering|Nothing)
  hash -> Any -> Integer

Don't we want all Enso objects to participate in (hash) Map? If so, we want them to have hash computed. They cannot say no. Of course they can return hash _ = 0 or any other constant - which has similar meaning.... so my comment is more about expectations... but still: returning Nothing shall not be encouraged.

You are right. We can, and probably should, enforce users to specify hash for all the values, even the incomparable ones. That should not break the hash contract. So far, I have just updated the docs, and method signatures, so let me revert it such that hash method cannot return Nothing.
By the way, let's deal with the merging of unordered  and ordered comparators into a single one in a separate issue.

The author of the proposal to differentiate between ordered and unordered comparators is @radeusgd, so if he does not have any strong opinions against merging ordered and unordered comparators into single comparators, then let's do it.

I think with the new approach merging these two seems fine.
My only concern is that is may be relatively common for users to want to define such unordered types and having to define a compare method which returns Equals or Nothing instead of being able to define an equals method which simply returns True or False feels like adding a bit of unnecessary confusion.
BUT I don't think this is an issue, because we should be able to, at the library level, provide a helper make_comparator_for_unordered_type (name ofc to be revised) which could take an object with equals : a -> a -> Boolean and hash methods and 'convert' it into this comparator based form.
So I think at implementation level it is all good, and at the user-facing API level we may want to revise it later on, probably ideally once we use custom comparators a bit more and see what patterns will work best.


Error is thrown for Icon component if provided type prop does not match any from feathericons

Bug report
The following error gets thrown when I do something like <Icon type="something" />

Perhaps it should just not show anything? or return an error message that the type does not exist

Will make it default to a random icon if string isn't recognised

Will make it default to a random icon if string isn't recognised

:tada: This issue has been resolved in version 0.1.13 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 0.1.13 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix #2387

Codecov Report

Merging #2830 into dev will decrease coverage by <.01%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##              dev    #2830      +/-   ##
==========================================
- Coverage   93.54%   93.54%   -0.01%
==========================================
  Files         166      166
  Lines       20253    20256       +3
==========================================
+ Hits        18946    18948       +2
- Misses       1307     1308       +1

Impacted Files
Coverage Δ

qiita_db/analysis.py
96.47% <100%> (ø)
:arrow_up:

...ta_pet/handlers/analysis_handlers/base_handlers.py
98.93% <75%> (-1.07%)
:arrow_down:

Continue to review full report at Codecov.

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


Issue-2583: Step 1 to support generic streams

Create a new package com.linkedin.pinot.core.realtime.stream in pinot-core.
Move KafkaStreamMetadata to com.linkedin.pinot.core.realtime.stream, renaming it to StreamMetadata
Get rid of (unused) StreamMetadata
Move (and rename) classes to be kafka-agnostic (which they are for most parts)
Add TODO in a couple of places where classes are kafka-specific

Codecov Report

Merging #2606 into master will increase coverage by 0.1%.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##           master    #2606     +/-   ##
=========================================
+ Coverage   69.37%   69.47%   +0.1%
=========================================
  Files         861      861
  Lines       39910    39909      -1
  Branches     5357     5357
=========================================
+ Hits        27686    27727     +41
+ Misses      10422    10371     -51
- Partials     1802     1811      +9

Impacted Files
Coverage Δ

...ealtime/impl/kafka/SimpleConsumerMessageBatch.java
100% <ø> (ø)
:arrow_up:

...pl/kafka/KafkaHighLevelConsumerStreamProvider.java
76.47% <ø> (ø)
:arrow_up:

...ore/realtime/impl/kafka/SimpleConsumerWrapper.java
57.5% <ø> (ø)
:arrow_up:

...not/broker/routing/RoutingTableBuilderFactory.java
46.42% <0%> (ø)
:arrow_up:

...e/realtime/impl/kafka/KafkaAvroMessageDecoder.java
0% <0%> (ø)
:arrow_up:

...e/realtime/impl/kafka/KafkaJSONMessageDecoder.java
0% <0%> (ø)
:arrow_up:

...lix/core/realtime/PinotRealtimeSegmentManager.java
72.31% <100%> (ø)
:arrow_up:

...ore/realtime/impl/kafka/SimpleConsumerFactory.java
100% <100%> (ø)
:arrow_up:

...pinot/controller/validation/ValidationManager.java
82.54% <100%> (+0.94%)
:arrow_up:

...roller/helix/core/PinotTableIdealStateBuilder.java
62.09% <100%> (ø)
:arrow_up:

... and 35 more

Continue to review full report at Codecov.

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

Linking to #2583


Show transactions involved in address and entity relations

At the moment transaction edges show no_transactions and estimated values. It should be possible to display involved transaction hashes.
(This requires additional tables in the transformation and will therefore go into r.0.5)

duplicate of #85


Bypass Crashlytics non fatal exception limitation

One way to fix the limitation would be to force the app to crash once a flutter error occurs (meaning no more red screen) it will force Crashlytics to report the exception as Fatal instead.
Any thought on this ?

I have implemented a forceCrash parameter to the reporter, like this everyone can chose if he want a crash with fatal tag or no crash with non fatal tag


[Feature] Configurable Image Optimization Parametrs

Feature Request
Currently, image URLs are published with f_auto,q_auto. Consider adding option so that users can specify additional parameter like width, height, DPR. This settings could be applied in the netlify.toml file.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@akshay-ranganath what type of granularity would you expect out of configuration of transformations? per image? would this be globally configurable? or perhaps a selector of sorts
borrowing an example from another plugin:
[[plugins]]
 package = "netlify-plugin-visual-diff"
 [plugins.inputs]
   ignoreSelector = "#today,.copyright"

   [[plugins.inputs.browser]]
     name = "chrome"
     width = 1024
     height = 768

   [[plugins.inputs.browser]]
     name = "firefox"
     width = 1920
     height = 1080

we see we can configure an input as an array of objects if we wanted to have some sort of selector-based configuration or something that we can target assets accurately
there's also an idea of borrowing Netlify's existing Large Media transformations API which is somewhat like ours, but allow someone to chain on transformations: https://docs.netlify.com/large-media/transform-images/ - if using the Netlify syntax, could help with migrations maybe?
one problem i potentially foresee with that though is if it changes the image in a way that prevents the page from working as expected, such as if one were to crop an image to a different aspect ratio that isn't what the HTML width and height conforms to, though this may simply be expected user risk and could happen even when hand-crafting this type of thing, though this wouldn't be apparently in development mode given this runs on build


TypeError: Cannot assign to read only property 'exports' of object '#'

Bug
When importing react-native-device-info in a web project (react-native-web) I get the following error.
TypeError: Cannot assign to read only property 'exports' of object '#'
Module.
/Users/skamuju/hq/packages/web/index.js:115
112 | /**
113 |  * react-native-web empty polyfill.
114 |  */

115 | module.exports = {
116 |   getInstallReferrer: async () => {
117 |     return getInstallReferrerSync();
118 |   },

Project created using create-react-app v3
Library version: 5.5.1
React : 16.12.0

Hi there! I must admit I do not use this module for the web, and while there is a PR to add an example (you might compare with that?) there aren't automated tests to make sure it works either I don't think. There might be a problem or it might be an integration issue, I'm not sure. Perhaps @robertherber could lend a hand (he's been filing web PRs)

@durgaprasadksv Could you check if the example page works in your environment? And if so does this branch - which is waiting to be merged - solve it for you?

same here

maybe related: https://github.com/webpack/webpack/issues/4039

Facing same issue. Installed example-web but import "react-native-device-info" says "Can't find module".

Same error on React Native Web

We need a new maintainer here that actively uses this on react-native-web. Or multiple really. There are a few PRs stacked up for web but I don't use it, so I won't maintain it well. Any takers? Just reviewing / testing those PRs and merging them might be all that's needed here, otherwise someone here needs to propose fresh PRs that fix it

Same error. Took me a while before figuring out it was caused by this library.

@jamesst20 very sorry for the trouble - I'm just not using react-native-web so it doesn't get great support, and I don't have time to learn about and bring up that toolchain. We need more maintainers :sweat:

@mikehardy Yeah I understand that.
It's most likely due to mixing module.exports with import.
Quoting: https://github.com/webpack/webpack/issues/4039

You can mix require and export. You can't mix import and module.exports.

I'm pretty sure you would be able to refactor the 'module.exports' to something better :)

@jamesst20 It's astonishing how many tasks I have higher priority then this unfortunately. PRs gratefully, happily accepted

@jamesst20 It's astonishing how many tasks I have higher priority then this unfortunately. PRs gratefully, happily accepted

Yeah. I will see if I can take a look. I can see you already have a few PRs awaiting since a while, will you get time to merge mine if I were to?

Yes - I'd give it priority, I really do want react-native-web to be supported, what I'm missing is someone that can really test things and say "good" (or "not good") so I don't merge something that blows people up. I don't want to make things worse, in other words - but I'm blind on react-native-web testing. Anything you said worked, I'd merge

@mikehardy Here you go :)
https://github.com/react-native-community/react-native-device-info/issues/950

I think this was merged and fixed now - closing but obviously reopen if I am mistaken


Hide Teams Tab

----- Organizations section

[ ] Hide the "Team Management" on the Organizations page

This is done.


Reuse profiles/seccomp package

Seccomp profile loading for containerd integration was ported over from execdriver code but it meanwhile moved to a separate package.
cc @jfrazelle
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

yay thanks!

LGTM if janky is happy

LGTM


AuthPlugin Fails on 10.12.

Initial Tracking for macOS Sierra (10.12) issues.
Login on a decrypted volume yields no prompt to restart. On the next logout though you get the “To set up FileVault with this user, enter the password for {user}" prompt. Entering the password here successfully enables filevault.

Output of fdesetup status?
Sent from my iPhone
On Tue, Jun 14, 2016 at 7:02 PM +0100, "Wesley Whetstone"<EMAIL_ADDRESS>wrote:
Initial Tracking for macOS Sierra (10.12) issues.
Login on a decrypted volume yields no prompt to restart. On the next logout though you get the “To set up FileVault with this user, enter the password for {user}" prompt. Entering the password here successfully enables filevault.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

After further investigation a clean install of the crypt pkg fixes it. During the upgrade it appears the authdb is cleared.

Odd. If we can confirm, I'd say this is a bug to be reported to the fruit conpany. The auth dB should persist upgrades.
Sent from my iPhone
On Tue, Jun 14, 2016 at 9:21 PM +0100, "Wesley Whetstone"<EMAIL_ADDRESS>wrote:
After further investigation a clean install of the crypt pkg fixes it. During the upgrade it appears the authdb is cleared.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

definitely confirmed by multiple parties. I attempted a bug report but the bug report feature isn't working ATM 😨

Bug Filed with said fruit company.

Same here. Please remember to mention the number of impacted devices in your report. If you have AppleSeed, even better.

Righty-o, since this isn't an issue with Crypt, rather than 10.12, I'm closing this one


How to use memory across multiple GPUs with MARS?

Hi, I am running MARS on a dataset containing approximately 20k cells. I was running on a 1080Ti, which has 11GB of memory. But 11GB GPU memory is not enough for MARS to process this dataset, and I got a CUDA out of memory error.
Is MARS able to use memory across multiple GPUs, so we can scale up to more than 20K cells? Or is there any other way to run MARS with large dataset?

We switched to a Tesla V100 with 16GB memory and the out of memory error is gone :-) It would be of great help if you could implement this data generator in MARS. It certainly helpful for large dataset.


Set timeout for AbstractIntegrationSpec

We have been bitten by CI build exection timeout for a long time.
This PR introduces timeout for AbstractIntegrationSpec in order to
monitor execution timeout. Upon timeout, a spock interceptor can
print all threads' stack traces in all JVMs so that we can diagnose
the potential issues in other JVMs (daemons, test workers, etc.).

I was quite frustrated to see the failure https://builds.gradle.org/viewLog.html?buildId=14011957&buildTypeId=Gradle_Check_Platform_Java8_Oracle_Windows_ideNative&tab=buildResultsDiv
and this PR doesn't work at all. I researched https://github.com/gradle/gradle-private/issues/1240 and found all failures are caused by some long-running test cases, for example:
OK | GradleRunnerPluginClasspathInjectionEndUserIntegrationTest.can test plugin and custom task as external files by adding them to the build script's classpath [version = current, debug = true]  (org.gradle.testkit.runner.enduser) | 3h:0m:54s,739ms | 2
OK | GradleRunnerConventionalPluginClasspathInjectionEndUserIntegrationTest.can test plugin and custom task as external files by using default conventions from Java Gradle plugin development plugin [version = current, debug = true]  (org.gradle.testkit.runner.enduser) | 3h:0m:54s,737ms | 5

The strangest part is, these tests are successful. The only explanation is that something is stuck during cleanup phase. I'll hold on this PR and do more investigation.


When binding TimePicker value property to '24' and support2400=true; control displays '00' instead '24:00'

SAPUI5 version: 1.71.40
Browser/version (+device/version): Chrome
URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/entity/sap.m.TimePicker/sample/sap.m.sample.TimePicker
example model:
"TP6": {
		"format": "HH:mm:ss",
		"support2400": true,
		"value": "24:00",
		"placeholder" :"Enter meeting start time"
	}

Steps to reproduce the problem:

TimePicker bound to above model

What is the expected result? Control displays "24:00"
What happens instead? Control displays "00:00"

Issue was fixed already with 49b23ee97df2bf625d2945dcae6174e5ee774242 in master and d42376aa6e3591844f1718c000a50cef14d831fa in 1.71


Return-value of byproducts in a link-file should be treated as an int

In in-toto spec, it says
At a minimum, the byproducts dictionary should have standard output (stdout),
standard error (stderr) and return value (return-value), even if no values are filled in.
The return value should be stored as integer value.

An legal example of byproducts field is like
"byproducts": {
    "return-value":0,
    "stderr":"a foo.py\n",
    "stdout":""
}

Present in-toto-rs implementation treats byproducts as a HashMap<String, String>, thus make link file like
...
"byproducts": {
    "return-value":"0",
    "stderr":"a foo.py\n",
    "stdout":""
}
...

should fix this

Oh, nice catch!

Closed by #31


Add support for connection scopes if logging is enabled

Don't create a scope if logging isn't on
Copied the pattern we use in Hosting

Questions:

Should we remove the connection id parameter from the logs? I'd suggesting removing it only if the log message is readable without it. For e.g we could say "Connected started" instead of "Connection {ConnectionId} started" but it doesn't really hurt.

Before:

After:

#640

Should we have a scope per request as well?

Hosting creates one right?


fix type lookup rule

Fixes #22825 .
BTW: there are many pr that required review too(

Does this also fix the example code snippet in the first comment of the linked issue?

ahhh, i'm not sure that linked issue accept pr and i ignored it

According to the comment of @andy-ms that should also be accepted:

I'll still mark this as a bug because I would expect the second example to have the same behavior regardless of whether you write var foo or let foo inside the function.

@ajafff I think the issue in https://github.com/Microsoft/TypeScript/issues/22769 should be handled separately. we should condition the error reporting, and the resolution together.


Primitive variant of computeIfAbsent

Thanks. I've merged and made some tweaks.

I think it might be better to use the built-in functional interface
intunaryoperator, rather than add our own.
On 4 Sep 2016 16:15, "Martin Thompson"<EMAIL_ADDRESS>wrote:

Thanks. I've merged and made some tweaks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/real-logic/Agrona/pull/74#issuecomment-244609051, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUB7nfhfOAorihJdoh4mnL1NJZ6fvq3ks5qmuB4gaJpZM4J0ikt
.

@RichardWarburton I already beat you to that :-)


Feature/niranjan/event management

This PR also has the old OAuth commit. Is this intentional or do we only want to merge the new commit?

This PR also has the old OAuth commit. Is this intentional or do we only want to merge the new commit?

We do not need it. But we can let it be. There is no harm in keeping it. It is not being used. If it is a big issue, I can delete it.


Improve main page design

Can you assign this to me i will make the main page nice and good and also mobile friendly too!

@Milind-Palaria is already working on this

you can work on some other issues @moooazsayyed


Settings Page Navigation is Cumbersome

Suggested new feature or improvement
It took me a second to realize how to get back to the main settings page, as there's only the root breadcrumb to click on vs. a back button.
A lot of these pages only have a single item as well.
Think it'd be better if they were all groups/expanders on one single page instead of individual pages?
Extensions is the only one that may have a lot of content, but that could also be bubbled up above Settings in the Footer menu of the main navigation page since there's not a lot going on there either...?
Scenario
Hard to change settings and see what settings there are without many clicks in different faraway places.
Additional details
No response

We do have plans to use the NavigationView back button, which will help with navigation (#551).
We also have at least two more preferences to put under Preferences. There should be more under Extensions in the future as more extensions are created. Design is considering putting the content in "About" under the main settings page.


[The page type composer form element will output its contents here]  is displayed when the page is published

I have set up a composer control block in the area of a custom page template for page type output.
After that, I changed the area name of the custom page template that set the composer control block and  then a new composer control block was set for the changed area name.
I created a new page using this custom page type.
However, as shown in the screenshot, the content block does not work.
Tested with c5 v8.5.7.

If you change the area name you're going to want to delete the field from the composer form, add a new copy, and place the new version of the block into the new area.


Gujarati font not supported in UTF-8

hello everyone,
I am using this library to create PDF in my project.
But i am failed to create PDF as my desired output.
I need PDF with my actual data in Mysql.
I have Gujarati language in mysql with utf8_general_ci..
How can i solve my proble.?

Do you mean you are trying to make HTML to PDF?
if yes , try mpdf .. it works fine, Hope it will work same with Gujraty fonts too.

yes but if i want to use TCPDF then is there any solution.?
Because i have already implemented and the project is huge..

Not sure how tcpdf works, I used mPDF yesterday and it was fine.
BTW i seen CodeIgniter with TCPDF documents: https://github.com/bcit-ci/CodeIgniter/wiki/TCPDF-Integration , go through it, if that helps :)

I have already gone through with all this and also googled it before i post issue here..
It is worth it for me..
thanks for the reply.

Then the last option is to go through the TCPDF documentation: https://tcpdf.org/examples/example_018/
or post your code (Mainly language array), so someone can help you over it.

We use github for bug tracking. Support questions should be raised on our forum, thanks.


Implement PWA for mobile experience

Closes #205 (hopefully...)

adds and initializes serviceworker gem
adds tag helpers for head
implements tag helpers in head
adds PWA related tags and scripts for splash screen
adds manifest.json
adds new icons for PWA
adds <% content_for :title ... %> to home and settings views

@krschacht what can you tell me about the The section #messages was able to move down so it was not at the bottom. error?

It’s a flaky test that has to do with parallel test runners. Just rerun CI
a couple times and it should pass.
In my branch I have another attempted fix to increase reliability of it so
no need to investigate.
On Fri, Apr 19, 2024 at 7:12 PM Jason Schulz @.***>
wrote:

@krschacht https://github.com/krschacht what can you tell me about the The
section #messages was able to move down so it was not at the bottom.
error?
—
Reply to this email directly, view it on GitHub
https://github.com/allyourbot/hostedgpt/pull/282#issuecomment-2067514898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAIR5M6VGUIGQHTHJWLY2DY6HFKXAVCNFSM6AAAAABGPN5DWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGUYTIOBZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@jasonpaulso I really appreciate how knowledgable you are about this PWA stuff! I just caught up on your comments and it sounds like you have an additional change to make to the serviceworker? I won't merge this in quite yet.
I'm about to update the asset_path() change that I made simply to undo it and clean up the old files. I'll push that small commit to this branch shortly.
Aside from those two things, there are two items on my "Future PWA improvements" list that I want to call your attention to. What do you think of these two?
https://github.com/allyourbot/hostedgpt/issues/298
The first on that list is about the overall icon seeming a bit tight. What's your opinion on that? This is admittedly a bit nitpicky so maybe it's just me, and plus, I don't know how easy that is to fix.
The second is probably a bug with the ios-pwa-splash unpkg link? Again, I don't know how hard that might be to fix.
I'm okay leaving both those issues in this PR and we can fix going forward, but chime in and let me know what you think because if either is easy it may be worth fixing now.

Merging in! I love that it's actually usable on mobile now. :) It was pretty painful to use the app before with the browser toolbar present.


Add British International School Cairo

Add www.bisc.edu.eg

@mrrooke Pull request merged. Thank you!


🦆 Inductive Types

Basic Design + Syntax
The (rough) syntax for defining an inductive type is as follows:
data type-name (x1 : p1) (x2 : p2) ... : (y1 : i1) -> (y2 : i2) -> ... -> type where
| c1 : args -> type-name y1 y2 ...

This command will do a couple of things:

Add datatype information (eliminator, constructor info, parameters, etc) to the current code-unit's datatype table.
Add type-name to the current code-unit's namespace.

Constructors
Constructors pose a slight challenge. Namely, when we elaborate them we want to be in chk mode to make sure we can properly instantiate parameters, and they ought to be eta-long so that we can supply all the arguments simultaneously.
Furthermore, if we don't add some sort of fancy renaming/disambiguation pass, we should probably add some sort of syntactic flag indicating that we are applying a constructor. To see why this is the case, consider how cons x xs will be parsed and subsequently elaborated. We will parse this as Ap(Ap(Var cons, Var x), Var xs), and then we will apply the Pi.apply tactic twice during elaboration, which will put us into syn mode when we try to resolve the cons. This means that we will be forced to annotate the type of the cons constructor, which is no good!
However, if this was parsed as Ctor "cons" [Var x, Var y], then we would be able to use our hypothetical Data.intro tactic, which let us remain in chk mode, and properly instantiate things like datatype parameters.
Eliminators
Eliminators are relatively straightforward. As we can syn the scrutinee, we can lookup the datatype in question in the datatype table, instantiate parameters + indexes, gather info about constructors, and then proceed as usual.
Datatype Table
Because we will often need to look up metadata about a datatype (for instance, constructor types when performing elimination, parameter types, etc), it makes sense to add a new table to a code unit for tracking this information. This should behave in a similar manner as the existing symbol_table. We might want to consider mucking with the Global type to track which table it ought to index into, but that's mostly a question of code aesthetics.
Notes
Having to syntactically disambiguate constructors is kind of ugly, and seems to hint at the idea that we may want some sort of renaming/disambiguation pass. This may also open the possibility of dot-notation for record projections, though that may still conflict with our very permissive naming rules. Food for thought!

I just want to express my unconditional approval of whatever designs based on the choice of Unicode emojis.


Datronicsoft.SpacedeskDriver.Server version 0.9.1120.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

WTH is happening with validation last few days it either bot spams my inbox with starting pipelines or it fails like this.


Add Tor support for connecting to remote node

Hi,
currently the only way to connect to a remote Bitcoin/LND node (e.g. your personal home node) is through an SSH tunnel (ssh_tunnel.py)
Disadvantages

Need to set up port-forwarding on remote node
Need to set up authentication on remote node (PubKey)
Remote node needs to be accessible via clearnet

Solution
It would be great if one could point SatSale to a local Tor Proxy (e.g. <IP_ADDRESS>:9050) which then connects to the remote node via Tor.
Something similar like bitcoin.conf is probably needed
# Connect via a SOCKS5 proxy
proxy=<IP_ADDRESS>:9050

I'd thought about this but didn't know how to easily set up RPC with tor. I'll have a look into it after I finish some other features.
https://blog.lopp.net/tor-only-bitcoin-lightning-guide/
https://bitcoin.stackexchange.com/questions/102948/scan-ports-for-my-onion-bitcoin-node-and-rpc-calls

in vim /etc/tor/torrc:
HiddenServiceDir /var/lib/tor/ssh/
HiddenServiceVersion 3
HiddenServicePort 80 <IP_ADDRESS>:8000

then
sudo systemctl restart tor
cat /var/lib/tor/ssh/hostname

to get your onion URL. Works great! I'll add it to the docs.

Ooops reopening because this is regarding connecting to the node over tor, not to satsale.

Merged for bitcoind. Looking into lnd, so keeping this open.

and please for c-lightning as well (if that wasn't obvious ;-) )
While you're at it, the current c-lightning SSH methos is underdocumented inho; struggling to get it to work.
# If remote clightning, make sure `ssh -nNT -L lightning-rpc:{clightning_rpc_file} {tunnel_host}`
# creates a lightning-rpc unix domain socket

Couple of unclear things to me:

Is {tunnel_host} of the form port:host:port , and if so which port?
Does the clightning_rpc_file have to exist prio to connection? if so, with any content??

I'm trying this command, resulting in an error
ssh -nNT -L lightning-rpc:/mnt/c/Users/ingo/.lightning/lightning-rpc  user@remotehost -p <port>

Bad local forwarding specification 'lightning-rpc:/mnt/c/Users/ingo/.lightning/lightning-rpc'

(on WSL-Ubuntu 18.04 bash-shell, on Windows)

Bump.
This is very much needed. People who want to setup a payment processor in their website shouldn't be expected anything beyond running a Bitcoin & Lightning node from home via Tor.

Thinking - could we probably write code in a way that everywhere if you specify .onion hostname instead of IP address / hostname it will be proxied over Tor SOCKS5 proxy, trying to avoid as much as possible additional code for specific node implementations, etc...?


How to run a workshop

Would be useful to have notes on how we run workshops. Wouldn't be hard-and-fast rules, but just a central resource for our thoughts, decisions to make and things to consider:
Some thoughts I have:

Have Simons events team organize it, get catering for all meals. Stress to people that we will pay for their travel, food, and accomodations.
How to reach potential attendees? Announce through official channels (e.g., slack or github). Anything else?
Communication channel for attendees at event: slack channel probably (want something informal).
Have people introduce themselves, should highlight the people involve. The RSE training workshop I went to this summer had a slide deck where everyone could introduce themselves, which I really liked. Made it easy to find people's names and contact info if you forgot to ask at the event.
Overall structure: mix of theoretical talks and hands-on.

When going through notebooks, I think it's really important to talk through what you're doing very explicitly / think out-loud and probably be doing a fair amount of live-coding (software carpentry is a big proponent of live coding).

But live coding is hard! See these two videos for a bad and good example of how to do so. I swear there's another one of these videos from Greg Wilson but I can't find it.
Probably also shouldn't have cached outputs

As I'm thinking about software carpentry -- have green/red stickies so people can easily signal when they're confused?
I also like having exercises: notebooks where the top has been completed, and then they have to extend it below (either some new component or re-run the analysis tweaking some components, etc). Exact structure here depends on background of attendees.
How to balance the mix of talks, hands-on tutorials, and exercises?
Have many TAs. When attendees are working on something, have them always circulating and checking in with people.
Make sure notebooks can run without problems: use continuous integration to have them tested.

Install is hard! Try to simplify, have people try and do some in advance, and make sure to set aside time for it.

Have an easy install check people can run from command line. If we'll be in notebooks (as we probably will), should also have a notebook check (to make sure jupyter is finding the environment correctly). (And have this projected on wall while people are working on install)
Windows is a mess. We should come up with a standard "if you don't know how to set up python on Windows, do this" set of advice.

Relatedly: should we have everyone install everything on their laptops or use some cloud service to run notebooks or a combination?

Having people walk out of the workshop with a working environment is a real bonus (especially when the install is hard.)
For cloud service: there's Binder, CoLab, and a custom Jupyter Hub. I think we should generally set up a custom Jupyter Hub for our events: we can completely set up the environment beforehand, people don't need to have a google account, and we can make sure people have GPUs.

Cannot count on wifi being good. For datasets or other large binary files (everything that's not the install or notebooks), have copies of them on USB sticks so people can just copy from them.
Have a single event website that links to everything necessary: software repo, slack, the schedule, hotel / travel info, slides from all talks, any auxiliary repos (for workshop-specific notebooks / data).
We need a standard slide describing our team and what we work on.
What belongs in pre- and post-workshop survey?
How much content? I worry about overloading people with too much, but we want to make sure attendees feel like they got enough out of the event. Any heuristics we can use to decide how much material to cover (based on length of workshop)?

Related, how much background do we need to give? Depends on our attendees but need to make sure we consider what their background will be in some combination of: python, command-line / unix, neuroscience / specific neuro topic, linear algebra, optimization.
Have people answer questions about the above when they register?

Some thoughts on this.
Just about every one of these steps is done with an events/planning staff otherwise your life is going to disappear. This also means you are never fully in control of some of the steps (e.g., the event website).
Before workshop

Venue Start by working with the events staff to decide on the venue and dates. This will help determine how many people can attend (also, keep in mind how many TAs you will need). We cannot afford to fly everyone, but do provide room and board; we give travel grants to people with emphasis on people from underrepresented groups.
Finding attendees:  We go to Twitter, neuroscience departments, and specialized mailing groups (this likely has zero effect), and email colleagues that work on calcium imaging. Events puts up a web site with a link to the application, be sure to read it over closely there are usually lots of errors at first. We some filtering questions in the application: Python ability, question about what their goals are, etc.  This is the hardest step partly because I am awful at Twitter maybe look to Guillaume for inspiration :smile:
Selecting from applicants Typically we have more applicants than we can accept. We try to be quantitative, picking based on Python experience, and scoring answers to the long-form questions. We also give points for underrepresented groups, and after our first workshop added a provision that we would accept one person per lab (we didn't want 10 people from one huge lab).
Pre-workshop communication Event staff handles all communications. We try to communicate before the workshop about expectations about Python background, and what they can review ahead of time.  We always try to tell them to install just so we can say we did.
Planning content and schedule This is extremely important. Less is more. I recommend 30 minute breaks for a full-day workshop (this is partly to absorb inevitable overflow because people never get their talks timed exactly right).
TAs/speakers Keep in contact with TAs/speakers, make sure they know what's going on, and that they don't fall through the cracks (sometimes events forgets about them, doesn't communicate very well with them, so be sure they are taken care of in terms of travel/room/board).
Slack I recommend setting up a slack channel for each workshop (e.g., a slack workspace for your repo/workshops and a specific channel for each individual workshop). If not slack, then whatever alternative you like. Slack is not free.
GitHub Set up github repo for the workshop to handle all the coding content.

Workshop init

Installation always give time for installation help even if you sent 900 emails begging them to install and ask for help in slack before they come, it doesn't matter.  This is assuming you are doing installation. If not, cloud is great.
Icebreaker complaints we got from early workshops were "too cold and impersonal" I'm not sure of the best way to do this; at last workshop I had people do brief introductions, but I'm not sure that was the best strategy. If you had 100 people that would not work obviously. At any rate, the key is don't just jump right in with hard content. Start with an introduction/overview, some kind of icebreaker (even if it is some joke like "how many people here have wondered what the hell gSiz means? or maybe an open-ended obvious question that will get people laughing).
Introduce things slowly I still have not gotten good at this yet. But something Mackenzie Mathis did, and I meant to do but we spent so long on introductions I skipped, was just go to the DLC web site, and explore it, and explain the general structure in a really chill way. I planned to do this with caiman github repo just walk through it and point out the overall structure and demystify it. I find people are generally scared of the code, so just starting by going in and sort of just humanizing it as much as possible. This is a web site, here's how you can find your way around.

Will add more later ----


fix: update badge component's style and doc

📑 Description

The badge component has been updated in flowbite v1.6.1 release, current badge component styles are not the same as flowbite, so I make this PR. You can view the update in below Vercel deployment.
✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] I have checked the page with https://validator.unl.edu/
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

Dismissable badges miss the y-padding and seems like there's something wrong with right padding for the close button.

I've updated my PR. Thanks for your advice. @jjagielka

Dismissable badges miss the y-padding and seems like there's something wrong with right padding for the close button.

In fact, these were not bugs, instead just some padding styles that looked not good. I've updated the dismissable badges example part to make those badges look the same as flowbite's example. I think these styles depend on users' preferences, so I don't modify them directly in the component code. 🤔

As stated already, I'm not a fan of hardcoding the close button within Badge component.
CloseButton component is intended to be used throughout different cases to keep the consistent look and feel.
I think it'd be better to use a slot:
{#if dismissable}
<slot name="close_button">
  <CloseButton {color} on:click={handleHide} size={large ? 'sm' : 'xs'} class="ml-1.5 -mr-1.5" />
</slot>
{/if}

Yes, I've taken your suggestion and already changed to use the <CloseButton>, you can view the preview deployment at https://flowbite-svelte-update-imdwy0jc4-themesberg.vercel.app/components/badge#Dismissable_badges

I'm sorry. I was mislead by the fact that you have left closeBtnBaseClass and closeBtnColor variables in the code.

Never mind. 💙
closeBtnBaseClass and closeBtnColor are just kept to cover CloseButton's styles especially its color palette.

@jjagielka Are happy with the changes?
Is this ready to be merged?
Let me know.

Never mind. blue_heart closeBtnBaseClass and closeBtnColor are just kept to cover <CloseButton>'s styles especially its color palette.

Changing all the style of the component is not real re-use. Let's check what are the differences in CloseButton component that makes you unable to use <CloseButton {color} .. here.

@RyanZhiNie
In your impl you have introduced closeBtnSize while previously the size of the CloseButton and padding was adjusted to badge size automatically.
So it was previously:
<Badge dismissable >Dismissable</Badge>
<Badge dismissable large color="red">Dismissable</Badge>

and now it is:
<Badge dismissable class="!px-2 !py-1" closeBtnSize="xs">Default</Badge>
<Badge dismissable large color="dark" class="!px-2 !py-1">Dark</Badge>

Obviously less convenient for the users.

@shinokada - ready for merge

Please wait a minute, I'll add a small example to show the close event. 🤣

Thank you for your contribution. I will publish a new version shortly.


fix some background colors

fix background colour on the commit page so it matches the staging and repo view, this has been bugging me for a while
Before:

After:

lets see how many people will notice 😄


Navigating back with an app-routed app

Is there a way to make it possible to hit the back button without the page being "Not found". Additionally is it possible to use app router in a way that allows one to go directly to another page besides the home page. for example, I was able to get http://mararenzsmith.com working well, but if you go to http://mararenzsmith.com/photography you get an error. Navigating through the navigation drawer to the photography link works great but can't seem to get it to work directly. Thank you!

This is a matter of server configuration, not Polymer. Your server is looking for a corresponding '/photography' path, but there is none. There is only an root path (/, probably pointed at index.html) which contains a web page (the Polymer app).
The reason that navigation works through the drawer is because the browser never actually navigates (that is, never makes an HTTP GET request) to /photography -- it is manipulating the browser's history/state via an api. I.e. it's simply saying "now you're at /photography, but don't actually go there".
Does that make sense?

Yep, you'll either need to use hash links or history pushState(). http://erikringsmuth.github.io/app-router/#/#navigation
If you use pushState() it requires extra setup on your server to return index.html even when you navigate to /photography.

Thank you! That makes sense,


Error occurred installing jupyterlab-flake8

Hi, Mr. Shapiro.
I am now getting this installation error with following versions of jupyterlab:
Current versions:
jupyterlab==1.0.2
jupyterlab-git==0.5.0
jupyterlab-server==1.0.0
Error (while installing using jupyter lab graphic extension):
An error occurred installing jupyterlab-flake8.
Error message:
This extension does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab              Extension      Package

=1.0.1 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/application
=1.0.1 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/apputils
=3.0.0 <4.0.0          >=2.2.1 <3.0.0 @jupyterlab/coreutils
=1.0.1 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/fileeditor
=1.0.1 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/notebook
=1.0.1 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/terminal

I think this is the same situation as #8, #11 issue. Could you help me avoid this error?

I am having the same error. Its just that the extension is not yet compliant with the current 1.0 version of Jupyter Lab. This happens to everyone who updates to the official release of Jupyter Lab. I think it works with Jupyter Notebooks, but haven't tried myself yet. Hope the development gets resumed for the extension to make the update. Jupyter definitely needs a good linter and this is the one that meets the needs of almost everyone writing code with Jupyter.

Same here with Jupyterlab 1.1.1.
But the problem is:

while trying to install this extension.

should be fixed in 0.3.0. Thanks for the alert!

Fixed, thanks!

Works as a charm. Thanks!!!!


Only Use Internal Liquidity For Sell Token ETH Price Estimate

Also in the spirit of reducing requests to external price APIs (#1533 and #1534) another alternative is to use only internal liquidity with either the Baseline solver or Quasimodo solver for estimating buying native_token_price_etimation_amount ETH worth of sell token in order to compute the sell token price used for fee computation.
This has the added advantage that it makes it less likely to accept orders that we later can't solve (because they get filtered out for not having an "external cost").
The downside, is that we accept less orders that may get included by "augmenting external prices" for cases where batches only trade a single token pair that does not have external prices.

We have decided to use a specialized component for computing the sell token ETH price (see #1582).
If we see the need to make it only use "local" liquidity we can have a separate configuration parameter for this component (instead of having it use the same price estimators that we use for orders). Closing for now as we don't see the immediate need for this.


UNO: Add onConnect message

announces the presence of a game when a user joins the room.  Players will immediately see their hand instead.
wild cards will cause the top card display to inherit the changed colour
retain the /uno spectate message even after the game starts.

 I don't know how it reverted to the boring Update message

I left it as "Update uno.js" because "Add onConnect message" wasn't a good summary of everything the commit did. It's good enough; it's a collection of miscellaneous changes to Uno, and the commit message does list the details.


no attribute '_send_event' problem in a blind way

at least now, there is no more https://github.com/matplotlib/jupyter-matplotlib/issues/115:

I have my figures,
It didn't remove last "improvement"

@stonebig I lack a bit of context here. Could you ellaborate a bit on the logic?

(And sorry for the late reply, we were all swamped with work the past few weeks).

hum, with latest ipympl-04., I get the error if I run all my winpython-checker.ipynb,  don't get it if I run individual cells. droping my fix, as it may not be the correct problem


[QingTing] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
This pull request adds qingting.fm, probably the largest podcast website in China.

I can play a link from the site like https://www.qingting.fm/channels/214008/programs/7016167/ in the UK but the .../vchannels/... links just give a page whose source is OK, with no actual HTML, JS or whatever.

There are two types of URLs, desktop url and mobile url. The corresponding mobile url of desktop url https://www.qingting.fm/channels/214008/programs/7016167/ is https://m.qtfm.cn/vchannels/214008/programs/7016167/.
I have added a new extractor for desktop url, which will extract the alternate mobile url from webpage of desktop url.

This PR currently contains the following errors (thanks Dirkf for enabling the tests):
./youtube_dl/extractor/qingting.py:4:1: F401 're' imported but unused
./youtube_dl/extractor/qingting.py:10:1: E302 expected 2 blank lines, found 1
./youtube_dl/extractor/qingting.py:41:1: E302 expected 2 blank lines, found 1
AssertionError: 2 != 1 : Multiple extractors with the same IE_NAME "qingting" (QingTingMobileIE, QingTingDeskTopIE)

there might be more in this log, but I don't understand that type of log very much, so I don't know

This PR currently contains the following errors (thanks Dirkf for enabling the tests):
./youtube_dl/extractor/qingting.py:4:1: F401 're' imported but unused
./youtube_dl/extractor/qingting.py:10:1: E302 expected 2 blank lines, found 1
./youtube_dl/extractor/qingting.py:41:1: E302 expected 2 blank lines, found 1
AssertionError: 2 != 1 : Multiple extractors with the same IE_NAME "qingting" (QingTingMobileIE, QingTingDeskTopIE)

Thanks a lot! These errors have been fixed.

This is my first pull request on GitHub, please help me further refine my code and merge it into master. Thanks a lot!

This is such an ugly website that we would only harm youtube-dl with it...

The rules for site support don't cover aesthetics of design or content!

The rules for site support don't cover aesthetics of design or content!

I really appreciate your patience and kindness in this PR, which is invaluable for a novice in the filed of open-source

It is your repository and therefore your responsibility.  I don't know anyone who has such an ugly website and the people who look at extractor.py out of curiosity that this website exists may be disturbed.  I just wanted to help youtube-dl ultimately it's up to you what you think of me.

If there is test metadata that you think people might find unpleasant, by all means propose it to be changed to 'md5:....' format.

the people who look at extractor.py out of curiosity that this website exists may be disturbed

The golden rule: never look at a random website from extractors.py, as it will most likely be NSFW!

We humans are extremely curious creatures by nature.  If someone stops us from doing something, we will keep trying until we fall out of experience.  I think it sucks that people accept pull requests like this.  Getting more people into that strain by watching this content out of curiosity.  The one who accepted the pull request made me angry because he can't think that far, but he always helped me with help, so I tend to keep my mouth shut, but I don't think it's good!

The golden rule: never look at a random website from extractors.py, as it will most likely be NSFW!

Like, I thought that's common sense when you work on/with an app that downloads from websites ? Well, any app whose source code contains any links, really.

Where is the cuckoo reaction emoji when you need it.

We humans are extremely curious creatures by nature. If someone stops us from doing something, we will keep trying until we fall out of experience. I think it sucks that people accept pull requests like this. Getting more people into that strain by watching this content out of curiosity. The one who accepted the pull request made me angry because he can't think that far, but he always helped me with help, so I tend to keep my mouth shut, but I don't think it's good!

@UnixCro Out of interest, what is on the website (I didn't open it for obvious reasons)?
I had assumed that you meant that you just didn't like that website, but if there is something actually bad on that website then I take back what I said (although obviously it's not my call because I'm not a maintainer)

The same pull request has already been merge in yt-dlp, which is a youtube-dl fork with additional features and fixes


feat: implement stores-no-async

Related to: https://github.com/ota-meshi/eslint-plugin-svelte/issues/198 (stores-no-async)
This is the first ESLint rule I have written.
(So I'm sorry if I have a wrong understanding.)
I would be very grateful if you would review it.

@ota-meshi
Thank you for your review!
I updated the PR according to your comments!
Could you please check it again? Thank you!


DB error and blank pages

I pulled the latest version and edited the conf file. RMI is enabled on my server, as I have something else using it as well so I that part works. I get the login page used the default credential and then get an unable to connect to database error. Other times I try to go to my URL and it forces you to http://hostname/wua/server/select has a page title of OneApp and the page is blank, rather than getting the login prompt. Running this with PHP 5.6, also viewing my phpinfo page I can see the PDO drivers are available.
Any suggestions?

Are you running the server on Windows or Linux based?

I also have this same issue.  Running on Ubuntu Server 16.04.1 php 7.
At first I thought the issue might be permissions but I gave my world folder 777 for testing.
After a reboot I no longer get the database connection error.
I do get a javascript error:
Uncaught TypeError: Cannot read property 'length' of null
in app.js line 50:
if (apps.length == 0) {

OK I have moved my Wurm Unlimited install to the steam user like the guide for headless suggests.
I can now login to the admin site but when clicking on the servers tab I get:
It looks like we couldn't proccess your request at this time. Please try again later.

Would you be able to post any php error logs or javascript error logs?

Actually all is good.
I manually updated file name class.RMI.inc.php to class.Rmi.inc.php.
I also updated account/login/index.php line 103 to window.location.href = '../../';
as the original line was giving me an invalid url when redirecting.


Merge stuff from HackPortal to HackUTD

Error:

10:16:08.537
><EMAIL_ADDRESS>build

10:16:08.537
> next build

10:16:08.537

10:16:11.221
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5

10:16:13.053
info - Checking validity of types...

10:16:26.840
Failed to compile.

10:16:26.842

10:16:26.842
./pages/about/faq.tsx:50:20

10:16:26.843
Type error: Type '"/about/faq"' is not assignable to type '"/about" | "/about/questions"'.

10:16:26.843

10:16:26.843
  48 |  <meta name="description" content="HackPortal's Frequently Asked Questions" />

10:16:26.843
  49 |

10:16:26.843
> 50 |  <AboutHeader active="/about/faq" />

10:16:26.843
  |  ^

10:16:26.843
  51 |

10:16:26.844
  52 |

10:16:26.844
  53 |
FAQ

10:16:26.898
Error: Command "npm run build" exited with 1

📝 Changed routes:

/about
/about/questions

(view full size)
(view full size)

/admin
…n/resolve/[questionId]

(view full size)
(view full size)

/admin/scan
/admin/users

(view full size)
(view full size)

And 24 other routes:

/api/announcements
/api/applications
/api/hello
/api/members
/api/questions/pending/[questionId]
/api/questions/pending
/api/resume/upload
/api/tokens
/api/userinfo
/api/users
/calendar
/dashboard/Components/AnnouncementCards
/dashboard/Components/ClubCard
/dashboard/Components/MentorCard1
/dashboard/Components/MentorCard3
/dashboard/Components/SpotlightCardScroll
/dashboard/hackerpack
/dashboard
/dashboard/scan-in
/dashboard/submit
/
/profile
/register
/speakers

Commit 89ba39099d5d40de0e4cd132c7be1a317cc405b0 (https://hackportal-hackutd-ie2kg44nj-acmutd.vercel.app).


Add UI To Update Existing Build Templates

When new iOS simulators are provided, it would be nice to be able to update existing templates rather than having to create new ones.

Not sure I understand - when you're editing/creating a syncer, you're presented with a list of existing Build Templates and there's an option to create a new Build Template. You can select an existing Build Template, assuming it's for the same project (Build Templates cannot yet be reused between different projects, because they contain a scheme which is project-specific).

Right. Is there a way to update an existing template though? Say I want to change the devices the template has. Can I do this on an existing template without creating an entirely new template?

Yes, by clicking edit in the detail view and selecting the existing build
template from the list.
On Tue, Oct 27, 2015 at 2:43 PM John Grant<EMAIL_ADDRESS>wrote:

Right. Is there a way to update an existing template though? Say I want to
change the devices the template has. Can I do this on an existing template
without creating an entirely new template?
—
Reply to this email directly or view it on GitHub
https://github.com/czechboy0/Buildasaur/issues/190#issuecomment-151500554
.

Ah! Didn't realize that. My bad!


spelling: affinity

I'm going to actively ignore your submission guidelines.
As a general rule, whenever I submit large changesets to large projects, people insist on changes. As such, there's no point in me signing a submission at this time.
The current summary of each changeset represents a distinct word family misspelling. Sometimes projects have a preferred language family (en-US/en-GB being the most common), as such it's handy to be able to easily drop changesets. It's also not uncommon for some changes to need to be split out into special PRs (e.g. if they would constitute an API change).
I'm happy to squash and sign a single commit once someone agrees it's ready.
I'd appreciate it if someone proposed the commit message. I am not eager to have to sign the commit a second time because someone objects to my chosen commit message.
- What I did
I spellchecked the docker/swarm repository
- How I did it
I used my own personal tool to generate a list of tokens not found in /usr/share/dict/words -- I then manually consider each remaining token. Typically I'll let Google Suggest suggest replacement words.
- How to verify it
Review the diff.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "spelling" git@github.com:jsoref/docker-swarm.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@GordonTheTurtle: how do I speak with a human?

There is one word to change or more?

Just one

@jsoref This looks good to me. If you have other changes, please add them. Or you can sign your change and we can proceed to review and merge.

Thanks for your contribution.
I searched globally and found that there is no more.
LGTM
So, I am merging....

Is the tool you use publicly available?

I hadn't actually gotten around to formally publishing it (I've been using it for about a decade...).
It's really just a set of commands that make this flow easy.
I have dumped it into a number of pastebins (so some people have been able to copy it if they wanted to).
It's pretty minimal.
Its biggest dependency is hg which you don't really need (and you could swap that out) along w/ needing to live in a fixed location (you can change your shell's HOME to be a directory containing a checkout of the repository into a directory named bin).
https://github.com/jsoref/spelling

@MHBauer fwiw, it's now available in a somewhat easy to use manner: https://github.com/marketplace/actions/check-spelling
I'm hoping to do an update this weekend which should make it even easier to use.


Add rollup-wtf extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Will redo this


Crash when capturing an apitrace replay

Description
I'm trying to trim down an apitrace file of ~1400 frames down to a single frame to narrow down a driver issue.
I figured I could replay under renderdoc and just capture the problematic frame.
The process replaying the trace crash pretty early :
[Switching to thread 2 (Thread 0x7fe28c263700 (LWP 32515))]
#0  0x00007fe28ed23720 in __GI___nanosleep (requested_time=requested_time@entry=0x7fe28c262a50, remaining=remaining@entry=0x0)
    at ../sysdeps/unix/sysv/linux/nanosleep.c:28
28	../sysdeps/unix/sysv/linux/nanosleep.c: No such file or directory.
(gdb) bt
#0  0x00007fe28ed23720 in __GI___nanosleep (requested_time=requested_time@entry=0x7fe28c262a50, remaining=remaining@entry=0x0)
    at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007fe28ed4e874 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2  0x00007fe2908b0fe1 in Threading::Sleep(unsigned int) () from /home/djdeath/src/mesa/lib/librenderdoc.so
#3  0x00007fe290507223 in RenderDoc::TargetControlServerThread(Network::Socket*) () from /home/djdeath/src/mesa/lib/librenderdoc.so
#4  0x00007fe29045c483 in RenderDoc::Initialise()::{lambda()#1}::operator()() const () from /home/djdeath/src/mesa/lib/librenderdoc.so
#5  0x00007fe290463aef in std::_Function_handler<void (), RenderDoc::Initialise()::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
   from /home/djdeath/src/mesa/lib/librenderdoc.so
#6  0x00007fe29063b320 in std::function<void ()>::operator()() const () from /home/djdeath/src/mesa/lib/librenderdoc.so
#7  0x00007fe2908b0b72 in Threading::sThreadInit(void*) () from /home/djdeath/src/mesa/lib/librenderdoc.so
#8  0x00007fe28f628fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fe28ed564cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) thread 1
[Switching to thread 1 (Thread 0x7fe28e3dc0c0 (LWP 32514))]
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fe28fc943c9 in glXQueryVersion () from /home/djdeath/src/mesa/lib/librenderdoc.so
#2  0x000055c9275584e0 in _get_glXQueryVersion (dpy=0x55c929705f30, maj=0x7ffe9e763cf4, min=0x7ffe9e763cf0)
    at /home/djdeath/src/mesa-src/apitrace/dispatch/glproc.cpp:5317
#3  0x000055c9272b7121 in glws::init () at /home/djdeath/src/mesa-src/apitrace/retrace/glws_glx.cpp:207
#4  0x000055c9272f22b0 in retrace::setUp () at /home/djdeath/src/mesa-src/apitrace/retrace/glretrace_main.cpp:846
#5  0x000055c9272bb382 in main (argc=3, argv=0x7ffe9e763f18) at /home/djdeath/src/mesa-src/apitrace/retrace/retrace_main.cpp:1218

Repro steps
As far as I can tell any trace I have reproduces. Just launch :
renderdoccmd capture ./glretrace --singlethread mytrace.trace

I generated a dummy trace using one's favorite app :
./apitrace trace -o mytrace.trace glxgears

Environment

RenderDoc build: commit bb3b94b0924a828df810f206277fcc2258cd7ce4
Operating System: Ubuntu Linux
API: OpenGL on GLX

Using Mesa3D master on an Intel Kabylake GPU.

This was a weird issue where apitrace even on replay will go through a codepath that tries to use dlsym(RTLD_NEXT, ...) to load GL/EGL symbols. When being captured by RenderDoc this picks up on the hooked functions that were LD_PRELOAD'd in, but there was otherwise nothing that caused the actual libGL to get loaded so when RenderDoc then tried to call into the real function it jumped to NULL.
I've 'fixed' it by detecting this case where our hook is found and called without the real library being loaded, and loading it last-second. This should be safe and seems to work for this case, but I'm not entirely confident it won't break in some edge case.

Hmm, the issue is still appears at least for me but now it crashes (on rdc debug build in release build it just freezes) in another way. Now it is infinite recursion in glXQueryVersion. I investigated the issue and found out that it was introduced by commit https://github.com/baldurk/renderdoc/commit/66869e8c695db9b2e5a146ab466806530bdba7e4 . This happens because Process::LoadModule function always returns a handle of librenderdoc.so regardless file parameter which is passed to dlopen. It happens because the librenderdoc.so hooks the dlopen, see line in rdc:
ret = realdlopen("librenderdoc.so", flag);
So if we want to get the real handle we should register a callback which will be called by intercept_dlopen with the real handle
I created a rdc-crash-reproducer.zip to reproduce the issue. To build it just make and run LD_PRELOAD=librenderdoc.so ./simple_reproducer
Also I am working on a fix https://github.com/asimiklit/renderdoc/commit/0e4530ecdff31fd4d14d38d8d1da1b22431366b6 and will be glad any advices about it) Now it fixes the issue for me.


Potential license issue with code in elastic distances and contributed time series distances

Describe the bug
Not a bug per se, but an oddity on the software licensing.
As a whole sktime is BSD-3-Clause licensed, but there are three files that contain AGPL-3.0:

sktime/distances/elastic.py
sktime/contrib/distance_based/ts_distance_measures.py
sktime/distances/elastic_cython.pyx

Does this cause problems for your overall licensing model?

Does this cause problems for your overall licensing model?

Oops, yes it does!
This is a "license clash", which looks like it's accidental.
@hyandell, now I can't find the license in those files - what makes you think it's AGPL-3.0?
I have looked into it and can't find a license statement.
Is it copied from somewhere else?
@TonyBagnall? @jasonlines?
If it's indeed copied from somewhere (and there is a potential license violation), this would need to be rectified immediately.
@hyandell, can you confirm why you think it is AGPL? If you think it's copied from somewhere, can you please point out the source?

Sure. Sorry for not giving you direct links. Here's one:
https://github.com/alan-turing-institute/sktime/blob/main/sktime/distances/elastic.py#L280

Got it - so it's not license infringement, just license clash.
We'll have to check how we deal with this.
Perhaps fortunately, we'll be refactoring the distances anyway, so one could think of re-implementing. It looks anyway it could easily be vectorized, there's just too many loops in there.
Would that be sth you'd be interested in, e.g., a vectorized re-implementation?
Let's just check that this is not already underway with @chrisholder, @MatthewMiddlehurst, @TonyBagnall.

Not something I am currently doing or planning to do. I think @chrisholder may be doing some distance based stuff related to clustering?

Thanks for the update Franz; hoping this can be resolved soon. Currently I worry it means treating the PyPI package as AGPL-3.0 (as AGPL-3.0 is pretty much a superset of sktime's BSD-3-Clause licensing). Which is a very different license.

as per the above, there was not an issue to start with due to permissive licensing (agpl-3.0).
Further, the code in question has left sktime in release 0.10.0, so this is resolved.


⚠ Guya.moe Proxied has degraded performance

In 41e6c91, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 22104 ms

Resolved: Guya.moe Proxied performance has improved in d62dc4c after 45 minutes.


Unable to run PySide application

From<EMAIL_ADDRESS>on 2010-12-28T18:12:22Z
This is the same issue as issue #485 , except I am running spyder version 2.0.5.
I get the ImportError regardless of the Tools/Preferences/Console/External Modules/Remove PyQt input hook setting.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=515

From pierre.raybaut on 2011-05-16T01:24:39Z
Is this still not working with recent versions of Spyder?
Have you the same problem when running scripts outside Spyder?
Labels: Cat-Console

From pierre.raybaut on 2011-10-29T04:50:37Z
Status: Fixed


Ensure PostgreSQL database 'log_min_duration_statement' flag is set to '-1'

Possible check to target the following resource

[ ] google_sql_database_instance

closing, tracking in spreadsheet


[BugFix] fix union node find error

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7765
Problem Summary(Required) ：

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 10 / 11 (90.91%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
10
11
90.91%


ionic serve not working after updating to 2.1.0

I have updated my ionic to latest version 2.1.0 through npm. This is my version information
Your system information:
Cordova CLI: 6.4.0
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 7.2 Build version 7C68

After update, I am having stange behavior with ionic serve, it runs localhost server fine but no linting, or webpack and my www directory always remain empty.
root@Abduls-MacBook-Air.local:/Users/abdulwahab/Documents/mobileapps/bytemunch$ionic serve
Running live reload server: http://localhost:35729
Watching: www/**/*, !www/lib/**/*, !www/**/*.map
√ Running dev server:  http://localhost:8100
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit

ionic $

I was having the exact same problem.  I upgraded to the latest version of ionic (2.0.0-rc.4) and it fixed it for me:
https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

The answer provided by @goleary should resolve your issues.  Our changelog details some of the changes that you might need to make to your package.json file to follow our new processes. Thanks!


Fix warning in screenlock, handle image not found better

Handle case where image isn't found, and tidy code a bit.
Signed-off-by: Graham MacDonald<EMAIL_ADDRESS>

Why not?  I need the git practice :)

Ok @gmacd, can you merge it or no permissions?

I don't think I have permission


Feature: Support nesting Router within applyDecorators

Issue
Consuming application can't nest Router in their own applyDecorators calls to allow for more complex configurations. This is currently not supported due to the getCallerFilePath function always expecting the router path to be a constant number (i.e. 2) levels down on the call stack.
i.e. in the example down below, it's assumed that authedRoute.decorator.ts is the router instead of dog.route.ts because it sits one step further down on the call stack which results in:
[Nest] 91798  - 12/06/2024, 4:25:52 PM    WARN TRPC Generator encountered an error.
[Nest] 91798  - 12/06/2024, 4:25:52 PM    WARN Error: Could not find router DogRouter class declaration.

Proposal

Turn the path property on ROUTER_METADATA_KEY from a string of a single path to an array of the path hierarchy.
Update serializeRouterProcedures to work down the list of paths to find the first one with a classDeclaration and use that.

If this looks good, let me know and I'd be happy to kick up a PR!
Example Use Case
authedRoute.decorator.ts
import { AuthnMiddleware } from<EMAIL_ADDRESS>import { AuthzMiddleware } from<EMAIL_ADDRESS>import { ResponseTimeMiddleware } from<EMAIL_ADDRESS>import { applyDecorators } from '@nestjs/common';
import { UseMiddlewares, Router } from 'nestjs-trpc';

export const AuthedRoute = (options: { alias: string }) => {
  return applyDecorators(
    Router({ alias: options.alias }),
    UseMiddlewares(ResponseTimeMiddleware, AuthnMiddleware, AuthzMiddleware),
  );
};

dog.route.ts
@Injectable()
@AuthedRoute({ alias: 'dog' })
export class DogRouter {

  @Query()
  async find() {
    return {};
  }
}

Oh I haven't thought about that approach to the getCallerFilePath, its a neat way of implementing it and it will enable the functionality you proposed!
You have my blessing!