Error when trying to access Quick Actions

When I press Ctrl + . to access the Quick Actions menu, an error is thrown.  Sometimes generic, and other times with a note to reference the Visual Studio reference log.  If I click on the light-bulb glyph, Visual Studio just crashes and closes.
I'm using Visual Studio 2015 RC, and RefactoringEssentials <IP_ADDRESS> (problem started after upgrade yesterday).  I'm coding in C#.
The stack trace in the activity log is:
System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.SyntaxAnnotation Microsoft.CodeAnalysis.Formatting.Formatter.get_Annotation()'. at RefactoringEssentials.CSharp.CodeRefactorings.GenerateSwitchLabelsCodeRefactoringProvider.d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at RefactoringEssentials.CSharp.CodeRefactorings.GenerateSwitchLabelsCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.d__7.MoveNext()

The reason is 1.1 is built for VS 2015 RTM (that's why the other way around 1.0.x is having problems with RTM, because it was built for RC). Roslyn changed from RC to RTM.


isLoadedNativeLib() returns false, although appindicator3 was loaded successfully

In case ayatana-appindicator3 is not installed on the system, this lib tries to load appindicator3. Although the latter could be loaded, MemoryAllocator#isLoadedNativeLib() returns false.

Fixed by https://github.com/purejava/libappindicator-gtk3-java/commit/0405c2d1666aa173a3ecc707c21fafbff8aa3719.


Fix crash<PHONE_NUMBER>871104

This was actually introduced by
ad9f504e0bcce94e7d7ff9ff4f22aa46fa07af5a, which was actually a
misinterpretation of the code.

Codecov Report

Merging #152 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage   94.30%   94.36%   +0.06%
==========================================
  Files         102      102
  Lines        9957     9960       +3
==========================================
+ Hits         9390     9399       +9
+ Misses        567      561       -6

Impacted Files
Coverage Δ

immer/detail/rbts/operations.hpp
95.67% <100.00%> (ø)

test/oss-fuzz/flex-vector-0.cpp
91.75% <100.00%> (+0.26%)
:arrow_up:

immer/detail/rbts/rrbtree.hpp
93.12% <0.00%> (+0.40%)
:arrow_up:

immer/detail/rbts/node.hpp
95.80% <0.00%> (+0.78%)
: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 ce38787...7b2e1db. Read the comment docs.


Update namespace to core

LGTM

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #14   +/-   ##
=========================================
  Coverage     56.61%   56.61%
  Complexity      126      126
=========================================
  Files            15       15
  Lines           590      590
  Branches         91       91
=========================================
  Hits            334      334
  Misses          233      233
  Partials         23       23

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/google/api/core/ApiService.java
71.42% <ø> (ø)
0 <0> (?)

...m/google/api/core/ApiFutureToListenableFuture.java
0% <ø> (ø)
0 <0> (?)

...n/java/com/google/api/core/CurrentMillisClock.java
0% <ø> (ø)
0 <0> (?)

src/main/java/com/google/api/core/ApiFutures.java
77.41% <ø> (ø)
5 <0> (?)

...m/google/api/core/ListenableFutureToApiFuture.java
100% <ø> (ø)
1 <0> (?)

.../java/com/google/api/core/ForwardingApiFuture.java
0% <ø> (ø)
0 <0> (?)

...in/java/com/google/api/core/SettableApiFuture.java
100% <ø> (ø)
2 <0> (?)

...google/api/pathtemplate/TemplatedResourceName.java
25% <ø> (ø)
6 <0> (ø)
:arrow_down:

...n/java/com/google/api/core/AbstractApiService.java
82.14% <ø> (ø)
13 <0> (?)

...in/java/com/google/api/core/AbstractApiFuture.java
83.33% <ø> (ø)
10 <0> (?)

... and 2 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 64ff025...5e94d3d. Read the comment docs.


[BUG] Performance drop when drag happens on a overflow area

Describe the bug
When we do a drag/swipe in the header the performance seems really good, but if there's a scrollable section in the content and we try to drag/swipe the panel using that area the performance takes a big hit!
The performance also breaks in desktop (not so noticeable as in a mobile device).
To Reproduce
Steps to reproduce the behavior:

Add a header
Add content with overflow (that will have an additional scroll)
drag pane using the top header (no problem in performance)
drag the pane using the content area (slow motion activated =).

Expected behavior
The performance should not be affected if we drag/swipe the scrollable/overflow area.
Screenshots
I uploaded a video do show the behaviour:
https://streamable.com/z8saji
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 85.0.4183.102

Smartphone (please complete the following information):

Device: OnePlus 5T
OS: Android 10
Browser Capacitor App (webview version)

Hello @hatsantos thank you for details.
Seems that chromium throttle issue still relevant for some cases, which should be fixed by chrome devs soon.
I will check for quick patch in our side.

@hatsantos please try 1.1.83

@roman-rr thank you, for the quick fix!
I update the dependencies to 1.1.83 and I tested a new build.
I can't see the performance drop anymore. =D


Export modal style header and modal close button

Notes for Reviewers
I am exporting this for use into custom walkthrough modal related #2887
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

@amitamrutiya ask for people to review. Don't let your PRs sit idle, sir.


Create an Xcode project for Blockstack SDK

I wanted to create unit tests for the Blockstack SDK but currently there's no sensible way to do that as the SDK doesn't have an Xcode project. Putting the code in a project will enable writing tests and running them on a CI in the future.
Does that sounds like a good idea?

Not sure if that's the right way to go about it. The Cocoapods way seems to be to add the tests to the Example project. https://github.com/CocoaPods/CocoaPods/issues/4755


[compose] Run as non-root user

./compose/django/Dockerfile

Do you mean running the code as non-root or the containers? The latter isn't possible without switching to a different engine (e.g. podman).

Do you mean running the code as non-root or the containers? The latter isn't possible without switching to a different engine (e.g. podman).

oops, should've been more clear: I meant running code as non-root users inside of containers


Non-issue: Debug fuel is an ingenious technique

Hi there! I just wanted to say how much I appreciate the cleverness and simplicity of the debug fuel technique. Turning a program into a parametric family of programs and then using binary search to find the first one of interest is is ingenious.

It is great isn't it. I can't claim any credit for it though. Rustc has optimization fuel. Not sure if they were inspired in turn by something else.


cf workers: TypeError: Cannot read properties of undefined (reading 'eval')

I am trying to use the Durable Object state as the store, on a CF worker:
import { Ratelimit } from '@upstash/ratelimit'
import { error } from 'itty-router'

import { getClient } from './graphql/index.js'

export default class StoreDurableObject {
  constructor (state, env) {
    this.state = state
    state.cache ||= new Map()
    this.ratelimit = new Ratelimit({
      limiter: Ratelimit.slidingWindow(10, '10 s'),
      ephemeralCache: state.cache
    })
  }

  async fetch (req, env) {
    const { success } = await this.ratelimit.blockUntilReady(req.headers.get('CF-Connecting-IP'), 10_000)
    if (!success) {
      return error(429, 'Rate-limit exceeded.')
    }

    const graphql = await getClient({ req, env, state: this.state })
    const { query, variables = {} } = await req.json()
    return new Response(JSON.stringify(await graphql(query, variables)))
  }
}

And I get this:
✘ [ERROR] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'eval')

      at null.<anonymous>
  (file:///Users/konsumer/Desktop/store-ideas/node_modules/@upstash/ratelimit/src/single.ts:258:42)
      at limit
  (file:///Users/konsumer/Desktop/store-ideas/node_modules/@upstash/ratelimit/src/ratelimit.ts:134:55)
      at blockUntilReady
  (file:///Users/konsumer/Desktop/store-ideas/node_modules/@upstash/ratelimit/src/ratelimit.ts:221:24)
      at fetch (file:///Users/konsumer/Desktop/store-ideas/src/StoreDurableObject.js:17:46)

Is there a better way to do this?

Is this project dead?

@konsumer  Nope, it's not. We'll take care of it as soon as possible.

Here is a working gist file for you that utilizes ratelimit, redis and durable object:
https://gist.github.com/ogzhanolguncu/53b13094c9b123b2e29c9ac8b0078cd8

@ogzhanolguncu I appreciate the example. I was trying to use the rate-limiter without redis (directly using DO storage for the cache.) I ended up moving to durable-limiter, which does what I want.


Convert MainActivityFragment to kotlin

https://github.com/wayfair/brickkit-android/issues/204

Codecov Report

Merging #205 (380c18e) into dev (ea767dd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev     #205   +/-   ##
=========================================
  Coverage     86.66%   86.66%
  Complexity      304      304
=========================================
  Files            32       32
  Lines           885      885
  Branches        134      134
=========================================
  Hits            767      767
  Misses           63       63
  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 ea767dd...380c18e. Read the comment docs.


feat: dining car stuff

Don't have the autoassembly yet.

Is auto assembly real? Last night after rollover I was in trade getting my last trainbot skills and somebody wrote "Irrat just made the furst autoassembler" (or something.) I PMed Irrat and he said "he frll for a fake screenshot".

There are a few people on the forum thread claiming to have got one (or many).
Apparently it's not marked public yet.

There are a few people on the forum thread claiming to have got one (or many).
Apparently it's not marked public yet.

Wild speculation:
It opens shop.php where you can make things out of Trainbot parts.


!Random tweaks

Random should take a numeric argumnet and default to 1.

@bakert I don't understand what this one means?

"!random 4" would give you four random cards instead of just one. Mathgeek was trying to inspire decks with pairs of cards.


How to access forward information with bolt java library

Hi to everyone!
I am trying to use bolt java library to integrate forward information in my system. I have some problems to access the right field in the object. First of all I fetch the message using Conversations.history (https://api.slack.com/methods/conversations.history)
Then if the message has a forward in the json response there is a "attachments" field that contains a list of attachment. Now in the tester the json response has a "message_blocks" field, that is basically what I need because I need to parse one by one the blocks in the message object contained in the message_blocks field. The problem is that the "message_blocks field is not present in the bolt Attachment class
https://javadoc.io/doc/com.slack.api/slack-api-model/1.1.1/com/slack/api/model/Attachment.html
https://github.com/slackapi/java-slack-sdk/blob/main/slack-api-model/src/main/java/com/slack/api/model/Attachment.java
It seems like that this field is not mapped
I would really like to access that field or find another way to get the blocks information about the forwarded message.
Thank you in advance

Hi @dniero95, thanks for writing in! Would it be possible to ask you to share the JSON data you’ve fetched using the API tester? We would like to correctly understand what you’re mentioning.

Aside from that, you may not be able to forward all the messages as-is. For instance, third-party apps are unable to send most attachments (attachments are basically controlled by Slack, not third-party apps / end-users). So, when you want to forward (in other words, duplicate) a message with the same content, you may have to remove attachments and rich_text blocks, which are also manageable only by Slack client apps.

Thank you for answering me @seratch.
Here a example response from the Conversations.history tester (https://api.slack.com/methods/conversations.history/test). Some info has been replaced with ***. As i was saying it would be really nice to access the message_blocks field in the response for what i need to do. I have written many mathod to parse the LayoutBlock of the massage in my app and when the user forward a message i'd like to parse also the block of the forward. The problem is that in bolt for java the Attachment class https://github.com/slackapi/java-slack-sdk/blob/main/slack-api-model/src/main/java/com/slack/api/model/Attachment.java doesn't have the attribute message_blocks so i am unable to parse it.
kind regards
{
"ok": true,
"messages": [
{
"type": "message",
"text": "Forward of a message",
"user": "",
"ts": "1688714629.778029",
"blocks": [
{
"type": "rich_text",
"block_id": "2p9z",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Forward of a message"
}
]
}
]
}
],
"team": "",
"attachments": [
{
"ts": "1688651267.097029",
"author_id": "",
"channel_id": "",
"channel_team": "",
"channel_name": "Direct Message",
"is_msg_unfurl": true,
"message_blocks": [
{
"team": "",
"channel": "",
"ts": "1688651267.097029",
"message": {
"blocks": [
{
"type": "rich_text",
"block_id": "I4a",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "text to forward\n\n"
}
]
},
{
"type": "rich_text_list",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "item 1"
}
]
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "item 2"
}
]
}
],
"style": "bullet",
"indent": 0,
"border": 0
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "\n"
}
]
},
{
"type": "rich_text_list",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "item 1"
}
]
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "item 2"
}
]
}
],
"style": "ordered",
"indent": 0,
"border": 0
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "\n\n"
},
{
"type": "text",
"text": "bold text",
"style": {
"bold": true
}
},
{
"type": "text",
"text": "\n\n"
},
{
"type": "text",
"text": "italic text",
"style": {
"italic": true
}
},
{
"type": "text",
"text": "\n\n"
},
{
"type": "text",
"text": "bold italic text",
"style": {
"bold": true,
"italic": true
}
},
{
"type": "text",
"text": "\n\n"
},
{
"type": "text",
"text": "bold italic barrato text",
"style": {
"bold": true,
"italic": true,
"strike": true
}
},
{
"type": "text",
"text": "\n\n"
}
]
},
{
"type": "rich_text_quote",
"elements": [
{
"type": "text",
"text": "citazione",
"style": {
"bold": true,
"italic": true,
"strike": true
}
}
]
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "\n\n"
},
{
"type": "text",
"text": "questo è condice in linea ",
"style": {
"bold": true,
"italic": true,
"strike": true,
"code": true
}
},
{
"type": "text",
"text": "\n\n"
}
]
},
{
"type": "rich_text_preformatted",
"elements": [
{
"type": "text",
"text": "questo è multilina\n\nlinea"
}
],
"border": 0
},
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "\n"
},
{
"type": "link",
"url": "https://forums.slackcommunity.com/s/?language=en_US",
"text": "link to slackcommunity"
}
]
}
]
}
]
}
}
],
"color": "D0D0D0",
"from_url": "",
"is_share": true,
"fallback": "[July 6th, 2023 3:47 PM] dario.niero: text to forward\n\n• item 1\n• item 2\n1. item 1\n2. item 2\n\nbold text\n\n_italic text_\n\n_bold italic text\n\n~bold italic barrato text~\n\n> ~citazione~\n\n~questo è condice in linea~ \n\nquesto è multilina\n\nlinea\n<https://forums.slackcommunity.com/s/?language=en_US|link to slackcommunity>",
"text": "text to forward\n\n• item 1\n• item 2\n1. item 1\n2. item 2\n\nbold text\n\n_italic text\n\n_bold italic text\n\n~bold italic barrato text~\n\n> ~citazione~\n\n~questo è condice in linea_~ \n\nquesto è multilina\n\nlinea\n<https://forums.slackcommunity.com/s/?language=en_US|link to slackcommunity>",
"author_name": "Dario Niero",
"author_link": "",
"author_icon": "",
"author_subname": "dniero95",
"mrkdwn_in": [
"text"
],
"footer": "Direct Message"
}
]
}
],
"has_more": true,
"is_limited": false,
"pin_count": 0,
"channel_actions_ts": null,
"channel_actions_count": 0,
"response_metadata": {
"next_cursor": "bmV4dF90czoxNjg4NjU2ODE0NDU2MzM5"
}
}

Thanks for sharing the JSON data. As far as I know, the Slack API had been using attachements[].blocks for the layout block data. However, perhaps the API server may add message_blocks instead in some scenarios. We can add the property in the next release, which can be released early next week.

this change causes exception. message_blocks of type LayoutBlock cannot be read, because there is no type field in message_blocks.


feature: Screenshot on failure

Gives the the e2e tests the ability to take a screenshot on failure and dump them out to .fructose/failures

needs rebase but otherwise 👍


Fix database schema change check failed with pg in ci

Purpose of the pull request
Fix https://github.com/apache/dolphinscheduler/actions/runs/9029128070/job/24812005661?pr=15967
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.38%.  Consider uploading reports for the commit 13373d1 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15995      +/-   ##
============================================
- Coverage     40.38%   40.38%   -0.01%
  Complexity     5174     5174
============================================
  Files          1379     1379
  Lines         46093    46060      -33
  Branches       4924     4900      -24
============================================
- Hits          18615    18600      -15
+ Misses        25551    25533      -18
  Partials       1927     1927

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[urql] Respect omitOperationSuffix

Partial fixes to #3968 as per https://github.com/dotansimha/graphql-code-generator/issues/3968#issuecomment-661670683 I am not sure about prefixes.

Looks good. Thanks @FredyC !


Conflicting recommendations for throwing system.exception

This page gives an example using Throw system.exception, while this page says not to throw system.exception.

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

ID: 66364e46-bc27-c535-3b98-500c8796e8fd
Version Independent ID: 6cf21fe9-9d7a-8654-0660-38a9cafff7ed
Content: Throw Statement - Visual Basic
Content Source: docs/visual-basic/language-reference/statements/throw-statement.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

Thanks for reporting this @Greydog1
This page should change to use a different exception type.
I'll add this to our backlog, and add the "help-wanted" label in case someone wants to submit a PR before we make the change.

This page gives an example using Throw system.exception,

Which is "This" page?

@shivam-51 It's the following page, which is mentioned in the original post in the Document Details section:
https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/throw-statement

This page should change to use a different exception type.

@BillWagner What can be the different exception type?
I feel the purpose of that document is to show how to throw a generic exception and it does so. If we want to replace it we need to add a generic exception instead of the Exception.

@BillWagner  I'll work on this!

Doesn't look like this was ever changed. I can take this on?


Invalid documentation on toBoolean sanitization

Hello,
On the following page: https://indicative.adonisjs.com/docs/toboolean
The code snippets use boolean as a sanitization but it is incorrect. I tried to use it but I got an error saying boolean is not a sanitization rule so looking at the rest of the documentation I used to_boolean instead since it was consistent with the other rules and it did work.
It would be nice if someone could correct that small mistake in the doc.

Hey @FrenchMajesty! 👋
Could you make a PR for this?


Use tippy.js for context popup

By appending the tooltips to document.body, we can avoid any stacking context issues caused by surrounding element's CSS.
I wasn't able to get this portalling to work with Fomantic popups, so this uses tippy.js instead of Fomantic popups. We should aim to replace all Fomantic popups with this eventually.
Fixes: https://github.com/go-gitea/gitea/pull/20377

The pop-in animation is changed. Fomantic used a scale-in origination from the cursor point, which I wasn't able to replicate with tippy's "scale" animation which would scale from the center and wouldn't look so good. So I left it at tippy's default "fade" animation.

If the new tippy.js is introduced, will the Fomantic-UI popup be removed? To avoid potential arguments about using tippy or popup for new PRs in the future. If both of them exist, it seems not clear about which one should be used.

Complete removal of Fomantic popup module will be a much bigger effort. I'd like to take it step-by-step and this is the first feature that will use tippy.

Did some investigation, luckily the Fomantic popup module is not being depended on by other fomantic modules, so I guess it shouldn't be too much work to replace all tooltips/popups with tippy.

Did some investigation, luckily the Fomantic popup module is not being depended on by other fomantic modules, so I guess it shouldn't be too much work to replace all tooltips/popups with tippy.
Still it'll probably be a few hours work to do it, so if you want to merge now, go ahead.

Good news, then LGTM (a small nit about comment above).


List-based Custom Settings Issues when Source Pulling and Package-Version Creation

Summary
List-based Custom Settings Issues (force:source:pull, force: package:version:create)
Steps To Reproduce:

Create a scratch org
Enable "Manage list custom settings type" under Schema Settings
Create a public list-based custom settings object
Create two text fields there: A and B, where B is marked as unique
Try to force:source:pull and you'll get an error similar to this:

sfdx force:source:pull -u cedev
We can’t retrieve the specified metadata object: CustomIndex. Certain metadata types, like <<redacted>>__c.B__c are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type
=== Pulled Source
No results found

Expected result
Custom settings and both fields pulled.
Actual result
Error above
System Information
sfdx version --verbose --json
{
        "cliVersion": "sfdx-cli/7.121.8",
        "architecture": "win32-x64",
        "nodeVersion": "node-v14.18.0",
        "pluginVersions": [
                "@oclif/plugin-autocomplete 0.3.0 (core)",
                "@oclif/plugin-commands 1.3.0 (core)",
                "@oclif/plugin-help 3.2.3 (core)",
                "@oclif/plugin-not-found 1.2.4 (core)",
                "@oclif/plugin-plugins 1.10.1 (core)",
                "@oclif/plugin-update 1.5.0 (core)",
                "@oclif/plugin-warn-if-update-available 1.7.0 (core)",
                "@oclif/plugin-which 1.0.3 (core)",
                "@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
                "alias 1.1.21 (core)",
                "apex 0.3.0 (core)",
                "auth 1.7.2 (core)",
                "config 1.2.40 (core)",
                "custom-metadata 1.0.12 (core)",
                "data 0.6.2 (core)",
                "generator 1.2.0 (core)",
                "limits 1.2.2 (core)",
                "org 1.8.1",
                "salesforce-alm 52.5.0 (core)",
                "schema 1.0.8 (core)",
                "sfdx-cli 7.121.8 (core)",
                "source 1.2.2 (core)",
                "telemetry 1.2.6 (core)",
                "templates 52.3.0 (core)",
                "trust 1.0.8 (core)",
                "user 1.5.0 (core)"
        ],
        "osVersion": "Windows_NT 10.0.19042"
}

Additional information
This is the best I could get so far. I'd say this could be a root cause for why a package version (unlocked) can't be created that references such a custom-settings object.

@SalesforcePetr @jkentjnr thank you for reporting!
I was able to reproduce this with sfdx v7.121.8, after looking at the plugin where these commands live (salesforce-alm) I found that this was fixed in the latest version.
We will get a new latest-rc later today with the fix, will let you know when is out.

@SalesforcePetr @jkentjnr latest-rc 7.123.0 has been released last week! It should contain the fix, you can upgrade to it by running sfdx update stable-rc and then sfdx update stable to return to the current release.
We will keep the issue open until it gets promoted next Thursday.


Prometheus Error loading config couldn't load configuration (--config.file=/etc/config/prometheus.yml): parsing YAML

Hi,
I am trying to deploy a prometheus monitoring stack in a kubernetes sandbox on Google compute vm.
I have got kubernetes, helm, tiller up & running & I followed this blog post to install the prometheus server - tutorial
So, as it suggested I made changes to my cpu, memory limits & resources &
tried setting extra args to both -
  extraArgs:
    storage.tsdb.retention: 744h

&
extraArgs:
  storage.local.retention: 744h

& I then thought that the issue might be because of incorrect cpu, memory limits I had set.
I tried initially yesterday with these values -
resources:
  limits:
    cpu: 4Gi
    memory: 4Gi
  requests:
    cpu: 4Gi
    memory: 4Gi

& today went ahead & tried these -
  resources:
    limits:
      cpu: 2
      memory: 4Gi
    requests:
      cpu: 2
      memory: 4Gi

Now, prometheus server pod is getting crashed on startup.
Here is the gist of the values.yaml I am using to install the chart -
gist values.yaml
& here's the command I am using to deploy the chart -
sudo helm install -f values_backup.yaml stable/prometheus
Here are the logs from the container that suggest that there is a configuration mistake here -
urtutors_dev@bitnami-kubernetessandbox-dm-8e00:~/prometheus$ kubectl logs -f kneeling-marsupial-prometheus-server-5f94f9595f-4cxb9 prometheus-server
level=info ts=2018-05-01T13:50:26.466206807Z caller=main.go:225 msg="Starting Prometheus" version="(version=2.1.0, branch=HEAD, revision=85f23d82a045d103ea7f3c89a91fba4a93e6367a)"
level=info ts=2018-05-01T13:50:26.466276087Z caller=main.go:226 build_context="(go=go1.9.2, user=root@6e784304d3ff, date=20180119-12:01:23)"
level=info ts=2018-05-01T13:50:26.466299226Z caller=main.go:227 host_details="(Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 kneeling-marsupial-prometheus-server-5f94f9595f-4cxb9 (none))"
level=info ts=2018-05-01T13:50:26.466316603Z caller=main.go:228 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2018-05-01T13:50:26.470127889Z caller=web.go:383 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=info ts=2018-05-01T13:50:26.470120709Z caller=main.go:499 msg="Starting TSDB ..."
level=info ts=2018-05-01T13:50:26.480127293Z caller=main.go:509 msg="TSDB started"
level=info ts=2018-05-01T13:50:26.480199354Z caller=main.go:585 msg="Loading configuration file" filename=/etc/config/prometheus.yml
level=info ts=2018-05-01T13:50:26.480803755Z caller=main.go:386 msg="Stopping scrape discovery manager..."
level=info ts=2018-05-01T13:50:26.4808297Z caller=main.go:400 msg="Stopping notify discovery manager..."
level=info ts=2018-05-01T13:50:26.480840617Z caller=main.go:424 msg="Stopping scrape manager..."
level=info ts=2018-05-01T13:50:26.480921603Z caller=main.go:382 msg="Scrape discovery manager stopped"
level=info ts=2018-05-01T13:50:26.480969882Z caller=manager.go:460 component="rule manager" msg="Stopping rule manager..."
level=info ts=2018-05-01T13:50:26.48099561Z caller=manager.go:466 component="rule manager" msg="Rule manager stopped"
level=info ts=2018-05-01T13:50:26.481006337Z caller=notifier.go:493 component=notifier msg="Stopping notification manager..."
level=info ts=2018-05-01T13:50:26.481007667Z caller=manager.go:59 component="scrape manager" msg="Starting scrape manager..."
level=info ts=2018-05-01T13:50:26.481019699Z caller=main.go:570 msg="Notifier manager stopped"
level=info ts=2018-05-01T13:50:26.481027179Z caller=main.go:418 msg="Scrape manager stopped"
level=info ts=2018-05-01T13:50:26.481032803Z caller=main.go:396 msg="Notify discovery manager stopped"
level=error ts=2018-05-01T13:50:26.481112947Z caller=main.go:579 err="Error loading config couldn't load configuration (--config.file=/etc/config/prometheus.yml): parsing YAML file /etc/config/prometheus.yml: yaml: line 160: mapping values are not allowed in this context"
level=info ts=2018-05-01T13:50:26.481159397Z caller=main.go:581 msg="See you next time!"

& here's the output of the kubectl describe pod <prometheus-server>
Name:           kneeling-marsupial-prometheus-server-5f94f9595f-4cxb9
Namespace:      default
Node:           bitnami-kubernetessandbox-dm-8e00/<IP_ADDRESS>
Start Time:     Tue, 01 May 2018 13:49:58 +0000
Labels:         app=prometheus
                component=server
                pod-template-hash=1950951519
                release=kneeling-marsupial
Annotations:    <none>
Status:         Running
IP:             <IP_ADDRESS>
Controlled By:  ReplicaSet/kneeling-marsupial-prometheus-server-5f94f9595f
Init Containers:
  init-chown-data:
    Container ID:  docker://fa1426a69f5506815abad677cd929947336f95cc082582c9849e78a1b4fa8625
    Image:         busybox:latest
    Image ID:      docker-pullable://busybox@sha256:58ac43b2cc92c687a32c8be6278e50a063579655fe3090125dcb2af0ff9e1a64
    Port:          <none>
    Host Port:     <none>
    Command:
      chown
      -R
      65534:65534
      /data
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 01 May 2018 13:50:01 +0000
      Finished:     Tue, 01 May 2018 13:50:01 +0000
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /data from storage-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kneeling-marsupial-prometheus-server-token-jkb48 (ro)
Containers:
  prometheus-server-configmap-reload:
    Container ID:  docker://f59c7ea8563093d4db5509ceda4c7b591098da42b9159832a6bd328979ee97fe
    Image:         jimmidyson/configmap-reload:v0.1
    Image ID:      docker-pullable://jimmidyson/configmap-reload@sha256:2d40c2eaa6f435b2511d0cfc5f6c0a681eeb2eaa455a5d5ac25f88ce5139986e
    Port:          <none>
    Host Port:     <none>
    Args:
      --volume-dir=/etc/config
      --webhook-url=http://localhost:9090/-/reload
    State:          Running
      Started:      Tue, 01 May 2018 13:50:03 +0000
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /etc/config from config-volume (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kneeling-marsupial-prometheus-server-token-jkb48 (ro)
  prometheus-server:
    Container ID:  docker://7d553aef080dc20a3e3a1a8aa6cbcfce839e5acc1991326f4beb9bd1adf948ae
    Image:         prom/prometheus:v2.1.0
    Image ID:      docker-pullable://prom/prometheus@sha256:7b987901dbc44d17a88e7bda42dbbbb743c161e3152662959acd9f35aeefb9a3
    Port:          9090/TCP
    Host Port:     0/TCP
    Args:
      --config.file=/etc/config/prometheus.yml
      --storage.tsdb.path=/data
      --web.console.libraries=/etc/prometheus/console_libraries
      --web.console.templates=/etc/prometheus/consoles
      --web.enable-lifecycle
      --storage.tsdb.retention=744h
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 01 May 2018 14:00:52 +0000
      Finished:     Tue, 01 May 2018 14:00:52 +0000
    Ready:          False
    Restart Count:  7
    Limits:
      cpu:     2
      memory:  4Gi
    Requests:
      cpu:        2
      memory:     4Gi
    Liveness:     http-get http://:9090/-/healthy delay=30s timeout=30s period=10s #success=1 #failure=3
    Readiness:    http-get http://:9090/-/ready delay=30s timeout=30s period=10s #success=1 #failure=3
    Environment:  <none>
    Mounts:
      /data from storage-volume (rw)
      /etc/config from config-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kneeling-marsupial-prometheus-server-token-jkb48 (ro)
Conditions:
  Type           Status
  Initialized    True
  Ready          False
  PodScheduled   True
Volumes:
  config-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      kneeling-marsupial-prometheus-server
    Optional:  false
  storage-volume:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  kneeling-marsupial-prometheus-server
    ReadOnly:   false
  kneeling-marsupial-prometheus-server-token-jkb48:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  kneeling-marsupial-prometheus-server-token-jkb48
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason                 Age                From                                        Message
  ----     ------                 ----               ----                                        -------
  Normal   Scheduled              11m                default-scheduler                           Successfully assigned kneeling-marsupial-prometheus-server-5f94f9595f-4cxb9 to bitnami-kubernetessandbox-dm-8e00
  Normal   SuccessfulMountVolume  11m                kubelet, bitnami-kubernetessandbox-dm-8e00  MountVolume.SetUp succeeded for volume "config-volume"
  Normal   SuccessfulMountVolume  11m                kubelet, bitnami-kubernetessandbox-dm-8e00  MountVolume.SetUp succeeded for volume "kneeling-marsupial-prometheus-server-token-jkb48"
  Normal   SuccessfulMountVolume  11m                kubelet, bitnami-kubernetessandbox-dm-8e00  MountVolume.SetUp succeeded for volume "local-pv-3d955afd"
  Normal   Started                11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Started container
  Normal   Pulled                 11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Container image "busybox:latest" already present on machine
  Normal   Created                11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Created container
  Normal   Pulling                11m                kubelet, bitnami-kubernetessandbox-dm-8e00  pulling image "prom/prometheus:v2.1.0"
  Normal   Pulled                 11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Container image "jimmidyson/configmap-reload:v0.1" already present on machine
  Normal   Started                11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Started container
  Normal   Created                11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Created container
  Normal   Pulled                 11m                kubelet, bitnami-kubernetessandbox-dm-8e00  Successfully pulled image "prom/prometheus:v2.1.0"
  Normal   Created                11m (x3 over 11m)  kubelet, bitnami-kubernetessandbox-dm-8e00  Created container
  Normal   Started                11m (x3 over 11m)  kubelet, bitnami-kubernetessandbox-dm-8e00  Started container
  Normal   Pulled                 10m (x3 over 11m)  kubelet, bitnami-kubernetessandbox-dm-8e00  Container image "prom/prometheus:v2.1.0" already present on machine
  Warning  BackOff                1m (x49 over 11m)  kubelet, bitnami-kubernetessandbox-dm-8e00  Back-off restarting failed container
(END)

So, I don't think I am modifying any other unnecessary values from this values file -
values.yaml original
but still If there is any configuration error in my gist, can someone point as to how to resolve it or debug this issue further.

Proposal
Use case. Why is this important?
Nice to have' is not a good use case :)
Bug Report
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment

System information:
insert output of uname -srm here

Prometheus version:
insert output of prometheus --version here

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

insert configuration here

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


soju: 0.4.0 -> 0.5.2

Description of changes
Also reworked the derivation a bit and added myself as a maintainer.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 191633 run on x86_64-linux 1

1 package built:

soju

Really good cleanup, thank you!


Bug: ShareX config returns non-SSL URL

What happened?
When I upload an image with ShareX to Zipline with the configuration provided, it returns "http" rather than "https". This randomly started happening just a week ago, but was fine before.
Is there any way to fix this?
Version
latest (ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox, Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc), Safari, Firefox Mobile, Safari Mobile
Zipline Logs
No response
Browser Logs
No response
Additional Info
No response

its CORE_RETURN_HTTPS


Unclear error message when exporting a function without explicitly annotated signature

Flow version: 0.93
Ran into an unclear error message when I exported the following code:
function numbers() {
  const setOfNumbers = new Set<number>();
  const arrayOfNumbers = Array.from(setOfNumbers.values());
  return arrayOfNumbers;
}

// No errors

Exporting this function yields a cryptic error message:

function numbers() {
  const setOfNumbers = new Set<number>();
  const arrayOfNumbers = Array.from(setOfNumbers.values());
  return arrayOfNumbers
}

export default numbers;

/*
3:   const arrayOfNumbers = Array.from(setOfNumbers.values());
                            ^ Missing type annotation for `A`. `A` is a type parameter declared in function type [1] and was implicitly instantiated at call of method `from` [2].
References:
[LIB] ..//static/v0.93.0/flowlib/core.js:280:     static from<A>(iter: Iterable<A>, mapFn: void): Array<A>;
                                                  ^ [1]
3:   const arrayOfNumbers = Array.from(setOfNumbers.values());
                            ^ [2]
*/

Expected behavior
I'm unsure why the error is being thrown in the first place, but I heard through word of mouth that export signatures should be annotated.
Would like the errors messages in that case to be more actionable, for example:
[6] export default numbers;
^ Missing export type annotation. Exports must be annotated because of [insert reason]

Or something of the sort

This is expected behavior, definitely not a bug.
Fix
function numbers(): Array<number> {
  const setOfNumbers = new Set<number>();
  const arrayOfNumbers = Array.from(setOfNumbers.values());
  return arrayOfNumbers;
}

export default numbers;

or if you're lazy (and have no fear of the existential type):
function numbers(): * {
  const setOfNumbers = new Set<number>();
  const arrayOfNumbers = Array.from(setOfNumbers.values());
  return arrayOfNumbers;
}

export default numbers;

[insert reason] may be too much to fit in an error message. I plan to add a "Documentation" section to error messages that may help this.
The reason it tells you where the type parameter was implicitly instantiated is so that you can figure out how to explicitly instantiate it at the callsite.
This isn't a bug.

The reason it tells you where the type parameter was implicitly instantiated is so that you can figure out how to explicitly instantiate it at the callsite.

Sorry I guess I mis-tagged it as a bug. But why doesn't the error message specify the line number of the function instead of the internal library?
export function numbers(): Array<number> {
  const setOfNumbers = new Set<number>();
  const arrayOfNumbers = Array.from(setOfNumbers.values());
  return arrayOfNumbers;
}

Works fine, after adding the exported function return value type, even without doing Array.from<number>(setOfNumbers.values());
It's till unclear why there's no error at all when function is not exported.

or if you're lazy (and have no fear of the existential type):

I was under the impression that existential type is deprecated?

Sorry I guess I mis-tagged it as a bug. But why doesn't the error message specify the line number of the function instead of the internal library?

it specifies both, right? The error points to where the missing annotation is, and it refers to the library so you know that it is polymorphic.


SQLite manager?

I have an http cache that I've built up using Python requests-cache. It's in an SQLite database, as is the default for that project. I'm considering porting the scraper to Rust, but I don't want to lose the gigabytes of cached responses I've already fetched.
Is there a staightforward way to use this SQLite database with http-cache? It looks like the existing DB uses Python pickle to serialize the data, so… I'm guessing not. But I thought I'd ask just in case anyone has addressed this use case before.

A cache manager implementation that uses SQLite for the backend can be created, and would probably be fairly easy to implement. The cache manager handles serialization/deserialization so you would need to make sure that logic reflects your existing structure properly. I think this would be achievable but there could always be some unknown I have yet to stumble upon.

I know this isn't exactly what you're looking for but for others looking for an SQLite cache manager, I previously implemented an MVP to trial using SQLite https://github.com/nethunterslabs/http-cache/tree/manager-sqlite.

That's a huge help, thank you! I'll have a look at modifying your code for my purpose.

@nk9 any news on that?

I haven't done anything for this, unfortunately. I still think it's a great idea, but I don't need it enough for my current project to put in the work.


Show Feed to user

Add feed in 2 places:
1. Add share feed button on header;

2. In shareModal

closes #514

@WangGithub0 can you rebase for the fix to Header.tsx?


Add preview tag to Graphing feature

Description of the changes:

Add PreviewTagControl (supporting high contrast)
Add an extra field to NavCategory

How changes were validated:

manually

Added: fix issue with Graph settings button in dark mode


Possible to pass user/password on integration creation?

Hi,
I’m attempting to setup a splunk integration via the integration instance but the config values when inspecting it via developer mode in the browser show the username under the authentication = {} dictionary.
However, when adding this in the config dictionary in the terraform provider it errors out requiring a string.
Do you happen to have an example of passing in a user/password Auth via creation integration instance?

I tried something similar to the following, however the provider rejects it as it expects authentication to be a string not a dictionary object.
config = {
  authentication = {
      identifier = “test”
      credential = “test”
    }
}

Also having issues with the virus total integration utilizing lists in the config = {} and it expecting a string when the integration itself uses lists and the payload in chrome debug shows lists as well.
Maybe relaxing the validation checks in the config integration resource could be a solution?


Two new alias

Adding 2 new alias

gcfix='git commit --fixup HEAD'
gprum='git pull --rebase upstream master'

Shouldn't that be glrum rather?
Since gl is git pull and gp is git push.

Perfect @LoLei !

commit --fixup HEAD is basically will have the same effect as commit --amend, only after running git rebase -i --autosquash.
glrum can be run using the glum alias, with glum -r.

I really don't see the need to add 2 more aliases for these little changes, see #5721.


Some questions...

Hi,
First of all, thanks for sharing your work. As a student in last year of engineering school, I try to create a project to find object from webpage screenshots.
I made some tests with Tensorflow and Pytorch. Some were more or less efficient at this point of my work...
I tried to run your project, and have some questions if you don't mind :

Training worked as expected. Do you know if it is possible to follow training with tensorboard ?
After training a model, I wanted to test it, but wasn't able to do so. I ran python extract_attn_wts_and_visualize.py 1 but it gave me an error : FileNotFoundError: [Errno 2] No such file or directory: 'results_5-Fold_CV/lr-5e-04 batch-5 cs-12 hd-384 roi-3 bbhd-32 af-0 wd-1e-03 dp-0.2 sf-0.9/Fold-1 saved_model.pth'. I would like to run generated model on an image, and eventually visualize result in an image, or at least get bounding boxes. Could you point me in right direction ?
If I understand correctly, you made your own model. But I saw that resnet18-f37072fd.pth was used. Does this mean that you start from a pre trained model, and then apply yours ?

Sorry if I am not clear enough, I just started ML a few days ago...
Thank you !

Thanks for using our code!
Regarding your questions:

You can update the code to use tensorboard by adding the write statements when the metrics are computed and printed e.g. in the train.py file
For getting attention visualizations, can you take a look at the parameters in the file and make sure you used those parameters? When you trained your model, it would print where the results are stored. Check if it is same as results_5-Fold_CV/lr-5e-04 batch-5 cs-12 hd-384 roi-3 bbhd-32 af-0 wd-1e-03 dp-0.2 sf-0.9/...
Yes, we start with a pre-trained resnet-18 model. We keep the first 5 layers from pretrained resnet18 and add the additional layers like Positional Encoder, Graph Attention Network and FC layers and then everything is trained end-to-end. You can find model details in https://arxiv.org/abs/2110.12320

Thanks !
Regarding Tensorboard, I will try it !
I finally achieve testing a dataset. I think there is a bug somewhere, but not sure, what I exactly did :

Training python main.py -bs 2 -e 1 -cvf 1
Evaluating python extract_attn_wts_and_visualize.py 1

This worked but I had to "force" value to params = 'lr-5e-04 batch-2 cs-12 hd-384 roi-3 bbhd-32 af-0 wd-1e-03 dp-0.2 sf-0.9' in extract_attn_wts_and_visualize.py

Yes, the extract_attn_wts_and_visualize.py had parameters hard coded


set page horitzontal

can i set the page horitzontal for pdf?

and margins-paddings can it chang by default?

Thaks for fast answer!


Slow internet speed or Stuck at reCAPTCHA!

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
hello guys, I got this error every time now. It's not because of the proxy, I tried different ones. Not fthe firewall either, its disabled. have you got an idea ? thank you all !
Environment
- OS : Win Server
- Python :
- Script version : 1.8

config.json
"http_api": {
        "enabled": true,
        "host": "<IP_ADDRESS>",
        "port": 1000
    },
    "database": true,
    "views": 1000,
    "minimum": 95.0,
    "maximum": 96.0,
    "proxy": {
        "category": "p",
        "proxy_type": "http",
        "filename": "proxy.txt",
        "authentication": true,
        "proxy_api": false,
        "refresh": 0.0
    },
    "background": false,
    "bandwidth": true,
    "playback_speed": 1,
    "max_threads": 12,
    "min_threads": 10
}

anyone ?

change useragent


scss v2 updated for gtk 3.22.1

theme.v2.scss updated to allow for gtk 3.22.1 to render the King Phisher Client theme. This will correct issue #165.
This has been tested on Kali Rolling on gtk 3.22.1-1

[x] Test on gtk 3.20.0

Looks good @wolfthefallen, will land this in a minute. Thanks!


Search on type doesn't work in explorer

Hello,
In the newest version 1.78 the feature "Search on Type" in the explorer doesn't work anymore.
Can you help?
Thanks

Maybe related to #181466
@zemiguell are you using a screen reader?

@gjsjohnmurray no, I don't have screen reader

I lost the ability "Search on Type" immediately after the update

\duplicate https://github.com/microsoft/vscode/issues/179528

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Bower doesn't worked

Hi!
I try to install ionic-material with bower but i've some problems with bower.

I've configured the npm proxy and edit my .bowerrc but that doesn't worked...
If someone have a idea or can i install him without bower?
Thank's!

your connection to download the package is timing out. Check to make sure your date on your computer is set correctly and try again. If it still doesn't work just wait a little bit. It could be an issue between you and github.
I tried just now and this is the result:

I've edit the good file for bower but in the wrong folder... That works now ^^
Thank's!


[Documentation] Add local URLs to documentation

Relevant documentation
Other
Problem description (optional)
No response
Desired solution
We should add links to the local environments for all necessary local running services.
This could be a simple "Usage" page where all links for local development (including the respective ports) are included and you can access the local front ends through just a click.
Additionally we could provide a browser bookmark file which allows the import of those bookmarks easily.
Additional context (optional)
No response
No duplicate

[X] I confirm that this issue is not a duplicate

Code of Conduct

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

Blocked until we talked about port numbering: https://github.com/it-at-m/refarch-templates/issues/624


Is it a specification for sqlc that retrieving null from a nullable boolean column in Postgres results in false?

When creating a boolean (nullable) column in Postgres.
When generating code from SQL that retrieves this column, it becomes results.getBoolean() .
Reading ResultSet.java, it states

"Returns: the column value; if the value is SQL NULL, the value returned is false."

Ideally, if the table contains null, I would like it to return null.
I would like to hear the maintainer's opinion on this.

Thanks for creating the issue! We are facing the same problem.
I think it would be better to follow the implementation of java.sql.ResultSet.getObject rather than doing the implementation for each types in sqlc-gen-kotlin.
I've created a PR and would appreciate your consideration.


outdated tutorial for encrypted drives?!

i read in the rclone forum that the tutorial for plexdrive with encrypted rclone drives is outdated.
sorry, but why the heck is there an outdated tutorial wasting peoples time? :frowning:
have been trying for hours to get it working.
can someone PLEASE rewrite that ?!

I am missing the time right now, but you can update it if you want and I will merge your request ;)

The thing with open source is that, either wait for a fix or fix it yourself. No need to be.... Plus, we should be thankful that @dweidenfeld put a lot of effort and gave it away, for free.
Anyway, @snickers2k maybe you could contribute by putting a note on the tutorial saying that it needs updates before it can work. I would, but I'm too busy this week.
Cheers.

If you wanna encrypt, write a guide yourself. :)
#NoEncryptionNecessary

I definitely would write a tutorial if i would get it to work :)
Seems some people have it working with encryption, so i wonder if there is anybody wo could rewrite the tutorial.
that i'm thankful for @dweidenfeld work is out of discussion. I am thankful for anyone's work in the open-source-community. Thats why i upload my work as well.

I followed the tutorial at https://github.com/dweidenfeld/plexdrive/blob/master/TUTORIAL.md but I get the following error.
rclone[5748]: 2017/08/27 13:49:10 Failed to create file system for “local-crypt:”: didn’t find section in config file
Any ideas?

OK, my bad. I wasn't naming the rclone remote correctly.

Could you guys tell me this:
If I put unencrypted files into /mnt/plexdrive are they then encrypted into /mnt/plexdrive/encrypted but still readable for Plex Media server in /mnt/plexdrive (see paths in https://github.com/dweidenfeld/plexdrive/blob/master/TUTORIAL.md)? If not, how do I make Plex read them?

this tutorial worked:
https://techperplexed.blogspot.de/2017/04/part-4-setting-up-rclone-andor-plexdrive.html
had to use "ExecStart=/usr/bin/rclone mount" instead of "ExecStart=/usr/sbin/rclone mount". anything else worked great


desktop-presence: Add system presence detection using electron-bridge.

Webapp implementation for the issue
https://github.com/zulip/zulip-electron/issues/532
Corresponding Desktop PR here.

@timabbott My view on this PR's approach is -
We change https://github.com/zulip/zulip/blob/516002a813c66d09a4215e7fef428d3057dbefa4/static/js/activity.js#L369
to setInterval(get_desktop_presence, DEFAULT_IDLE_TIMEOUT_MS) in similarity to https://github.com/zulip/zulip/blob/516002a813c66d09a4215e7fef428d3057dbefa4/static/js/activity.js#L344
and have another variable exports.desktop_has_focus which is updated periodically by the the desktop-app upon this call and then take this variable into consideration at this line (with an OR condition) https://github.com/zulip/zulip/blob/516002a813c66d09a4215e7fef428d3057dbefa4/static/js/activity.js#L289.
This will allow the logic to take into consideration both the webapp presence and the desktop presence as well both of which are periodically updated.
cc @akashnimare

@timabbott ping

I agree with the has_focus part.  I think for the rest of the interface, I think if we're doing the setTimeout inside the webapp codebase, which makes sense to me, I think we also want the interface boundary to be that the desktop app returns something like a "last active timestamp", and the logic within the webapp is responsible for doing the determination of whether that's old enough to mean that the client is idle.  I don't think we want to split the conditionals around that timeout between the webapp and the desktop app; that risks creating unpleasant boundary problems if we later want to change the algorithm in the future.
Also, did you folks consider an architecture where the desktop app is the place where the setTimeout piece lives (and just have it set a window.electron_bridge.last_system_activity value periodically, which the webapp could then just read)?  That seems potentially cleaner to me.

@timabbott why do we want the "last active timestamp" and how can we use it here in the webapp ?
Also, I did try out a model where the setTimeout was completely in the desktop app, but i though it would be better if we pass the DEFAULT_IDLE_TIMEOUT from the webapp, so that if in the future it's value is changed in the webapp, it automatically reflects in the desktop app as well. What are you view on this ?

The reason I was thinking about a last_active_timestamp type value rather than a true/false value is that it's much easier to reason about potentially stale state where our information was last updated 15 seconds ago if we work with a timestamp (which naturally decays at 1s per second)

The reason I was thinking about a last_active_timestamp type value rather than a true/false value is that it's much easier to reason about potentially stale state where our information was last updated 15 seconds ago if we work with a timestamp (which naturally decays at 1s per second)

Ok, for now i'll try to work on electron part which will emit this timestamp and then address the issue of using that timestamp here, if that's fine ?

Current working - in coherence with the desktop app PR -

Idleness on the desktop app is defined by 60sec of inactivity or locked screen.
The desktop app checks for user state every 15 secs and updates electron_bridge.idle_on_system.
The webapp in its normal check for user presence after ACTIVE_PING_INTERVAL_MS - 50sec,  takes this variable electron_bridge.idle_on_system into consideration too and shows active if the user is not using the webapp but using the desktop app.
The user goes idle if the user is not using the webapp or desktop app after DEFAULT_IDLE_TIMEOUT_MS of 5 mins.

I think functioning is correct. Review from @timabbott

The CI failure is a real problem: This should have node unit tests for the new code.
Jun 14 06:14:13 ERROR: static/js/activity.js no longer has complete node test coverage
Jun 14 06:14:13   Lines missing coverage: 273

@vsvipul thanks for the prototype!  I ended up rewriting this, with a series of preparatory refactors to rename badly named functions to make things more readable, and pushed the result back to this PR.  The one thing that I'm not sure about is whether we should be looking at exports.client_is_active at all when we have an electron_bridge; it seems very possible that we shouldn't, in that it should just be a less accurate duplicate of the information we already have.  And removing that logic would make bugs in the desktop app behavior much more visible.  Thoughts?
Can you please add unit tests to frontend_tests/node_tests/activity.js for the new changes?  Thanks!

I merged the prep commits as the series ending with e59a49ade5ce1fd24d199d628f5bed521ad82aff.

The one thing that I'm not sure about is whether we should be looking at exports.client_is_active at all when we have an electron_bridge; it seems very possible that we shouldn't, in that it should just be a less accurate duplicate of the information we already have. And removing that logic would make bugs in the desktop app behavior much more visible. Thoughts?

@timabbott Yes, this will create problems when the user has zulip opened both in the client and the browser. In this case, we'll have to set the status either according to the browser or according to the desktop. What should be done in such a case?

@vsvipul I'm confused, can you explain the problem you expect to see there in more detail?  This block of code would run in both a desktop app's browser using Zulip and an external browser using Zulip; in the former, it would consult electron_bridge, and in the latter it would consult exports.client_is_active.
One thing that's maybe important to know here is that the backend correctly already handles dealing with multiple browser windows (e.g. on different computers) with some reporting the user as "IDLE" and the other as "ACTIVE" -- this is the typical case if you have a desktop at home and one at work and are using one of the two.

@timabbott  What i mean to say is that if user has the client installed and it is up and running on his system and he also open zulip on his browser, then in this case , both window.electron_bridge.idle_on_system and exports.client_is_active will be taken into account and even if any one of these is active, the user will be considered as active.  But i don't think it will make that much of difference!

Can you please add unit tests to frontend_tests/node_tests/activity.js for the new changes?
Also, need some help in writing these tests. I have never written one here before.

The one thing that I'm not sure about is whether we should be looking at exports.client_is_active at all when we have an electron_bridge.

I think it is fine to not include client_is_active in case of an existence of electron_bridge. Doing this however asserts that we are confident of the electron's idle detection system. Removing would rightly make desktop app presence behavior bugs more visible, but keeping it makes sure that the existing presence feature doesn't break for users at all.

One thing that's maybe important to know here is that the backend correctly already handles dealing with multiple browser windows.

For the backend the desktop is just another browser window I suppose, so keeping of client_is_active is possible and there would no conflict occur between the desktop and web instances.

Merged as e830853aee9384ef37e92713e87efea9c79d6ee6, after making it easy to unit-test (by extracting the logic to a function) and then unit-testing it.
https://zulip.readthedocs.io/en/latest/testing/testing-with-node.html is a useful reference for how to write unit tests in Zulip, but the high level principle here is compartmentalizing complexity makes it a lot easier to write tests (since without an extracted function, we'd have to mock the network requests, etc.).
I went with the strategy of only using the OS data in this change, because that should make bugs in the implementation much more obvious.  I'd much rather we get the desktop app detection right than mask it temporarily.
(We should be sure to do some careful evaluation of whether this is behaving how we want before doing a production release with this feature for either the desktop app or the server).
One thing we can potentially do is add a blueslip logging statement for the case that the user appears to be active in the Zulip webapp but no the desktop app; though we'd have to be really thoughtful to avoid that being noisy.
Thanks everyone!

One thing we can potentially do is add a blueslip logging statement for the case that the user appears to be active in the Zulip webapp but no the desktop app; though we'd have to be really thoughtful to avoid that being noisy.

Agreed with this part. This'd be helpful to have atleast for testing purposes within czo if not in prod.


Consolidate test functions

Too often Travis builds result in:
You have exceeded your deployment quota, please deploy your functions in batches by using the --only flag, and wait a few minutes before deploying again. Go to https://firebase.google.com/docs/cli/#partial_deploys to learn more.

Should be able to reduce number of functions to one per type (https, database, pubsub, etc).

I think the simpler version would be to request a quota increase. They are pretty generous and understanding, especially for things like this project.

Just did a small clean up in https functions in #15. I also removed cleaning step from tool/deploy.sh as it seems redundant to me now.
Thanks for the idea about quota. Though I didn't want to enable billing in this project at this point, will save this option for the next time.


Update notebooks that spawn processes to fix Jupyter compatibility

#358 changed background process calls to instead use os.system. This should be tested/incorporated into the notebooks through Colab to minimize superfluous changes.

Closing due to inactivity. Please re-open or open a new issue to continue to discussion.


Misc improvements from 5 Aug 2017

Tasks

[x] nice coloured gravatar by default (rather than ugly one) - set default gravatar to the beautiful sylvie image - see http://en.gravatar.com/site/implement/images/
[ ] profile page

[x] remove margin on lhs (gravatar and logo should be aligned)
[x] gravatar should have no border
[ ] show "member since" using auth db info
[ ] (to think about) layout of the page (big gap between gravatar and list - maybe go for two items per column and more card like)
[x] Number of datasets should be elegant - black circle with white number and same size as title (cf logo style and text)

[x] Set title tag so hover says: "{{number}} published datasets" (i.e. 89 published datasets or whatever)

[x] Data Packages => Datasets

[ ] use owner in standard location datahub.owner rather than invent ourselves
[x] convert short readme into plain text in search/publisher pages - https://github.com/datahq/frontend/commit/90c7eded999347268bcc03c9d8f079d0106746cb
[x] change main text in the front page
[x] have arrow down in the hero element of front page that scrolls down to showcase packages section

FIXED.


[4.2] mbedtls: Update to upstream version 2.28.9

Security fix: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-2.28.9

Cherry-picked for 4.1.5, 3.7, 3.6.1, 3.5.4.


neovim LanguageClient warns on rootPath and settingsPath

The former is deprecated, and the later is non-standard. They get logged in LanguageServer.log created at temp folder (/tmp on Linux and %temp% on Windows):
08:22:06 WARNING [MainThread] Unknown parameter key: rootPath
08:22:06 WARNING [MainThread] Unknown parameter key: settingsPath

from the source it seems it is harmless:
LanguageClient.py#L103 called from LanguageClient.py#L60 (it's the only place with non-constant arg)
What we should do with these? We could just ask @autozimu ignore these keys, or we could drop them or?

They’re harmless warnings.
I should have use info instead of warning.

The problem doesn't happen with the last LanguageClient


App Freeze caused by opening/closing panel

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.5.3

Platform and Target: Android, Crodova

What you did

Pressing the Navbar Icon to open the left/right panel.
Touching the Panel before transition ends
Closing the panel again by Navbar Icon

To force the bug, as example you can use this App:
https://play.google.com/store/apps/details?id=com.mobilecrazies.fractureclassification.android&hl=en
(this is not my app, I looked in the showcase for a suitable app for this bug)
Rapidly press Menuicon top right and somewhere on the Navbar top left. After a few seconds the Menuicon will stay highlighted and the app freezes
Screenshot:

In my app I have the Menuicon top left, in this scenario the bug appears very often while normal using the app (not forcing it with rapidly touch spam).

Same with me, but the app was little slow and not freezed in my devices. It because the Cordova in Android doesn't support hardware acceleration (Depend on your android version), that's why some visual effect will make your app slower.
To solve this, I'm installed crosswalk plugin and let my application have hardware acceleration. But the size is costly..

I experienced that bug on all android versions (4 - 7) with and without crosswalk.

It doesn't freeze in Mito A18, but the ripple effect was not removed when the panel closed immediately

It's about passiveListener and preventDefault. Wait for weekend for update.

@centrual,
any update on this issue?

@dawuwu Currently not, update is soon, it will fix on next release.

@centrual
the bug still occurs with 1.5.4

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Docs: Autoupdate hash value can be extracted using JSON.

Right now the hash value in an autoupdate section can extract a hash via regex,  rdf, or manually set via download.  It would be nice if we could use JSON as well, maybe like this:
...
    "autoupdate": {
        ...
        "hash": {
            "mode": "json",
            "url": "https://example.org/download/manifest.json",
            "json": "builds.$basename.hash"
        }
    }
...

https://github.com/lukesampson/scoop/wiki/App-Manifest-Autoupdate#hashing-hash

OK, I see it already is supported (example at bucket/openssl.json#L31).  If you don't mind, I'll just leave this open until I get a chance to send a PR for the docs, unless you want to.

Closed by wiki #750e45.

Thanks for adding it to the wiki. Totally forgot to do that 😊

@r15ch13 You might add some better docs on how to write a checkver section as well.

@tech4him1 I updated the wiki #fa4e0cd with information about checkver and improved the hashing part.

Looks awesome!

Did a quick typo fix as well wiki #da63da.

GG! Thanks xD


Code and Data availablilty

Well...I read the paper and itss pretty cool tbh..  Well .. there are some stuff in the paper which I don't really understand due my lack of experience and have some doubts on.. which I intend to tackle later....
I was searching for the code-implementation and the datasets used and generated...
for my deep understanding and for experimenting...
Just want to know will it be available and if yes when its likely to be released :)

Hi, thanks for you appreciation on our work. It should be finished by last weekend but emmm... a lot of little things occupied my time. I will try my best to release them in 1~2 weeks.
Sorry for the inconvenience. Stay tuned.


crashing

help please

and fix source code plz

load the buffer after the intro if you crash, and source is working theres no need to fix anything


chore(main): release core-js 1.5.3-experimental

:robot: I have created a release beep boop
1.5.3-experimental (2024-11-10)
🧹 Chore

release main (e766aa0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/open-socket/js-sdk/releases/tag/core-js-v1.5.3-experimental :sunflower:


Initial submission: UVG character sheet

I consulted Roll20 expectations prior to submission.
This Character Sheet is meant to be compatible with Ultraviolet Grasslands by Luka Rejec. An introduction to the game is freely available under a creative commons Attribution-NonCommercialNoDerivatives 4.0 International (CC BY-NC-ND 4.0) license.
https://www.drivethrurpg.com/product/241606/The-Ultraviolet-Grasslands--Free-Introduction

Minor syntax errors required multiple attempts. Now compatible


[BUG] Foliage disappearing

Godot version
Specify a numerical Godot version you are using. Include Git commit hash if possible.
4.2.2
Plugin version
Specify a numerical Spatial Gardener version you are using. Include Git commit hash if possible.
1.3.3, latest version as of 22nd of May 2024
Platform
What platform you were using, when you encountered this bug?
Windows 11
Issue description
Describe your issue. What is expected to happen? What actually happened?
Painted foliage disappears when I save and then reload the scene. This seems to be an old issue apparently fixed, so sorry if I did something wrong. The foliage was painted on terrain from a plugin known as Terrabrush. This issue also seems to be mentioned in #37
Steps to Reproduce
Describe steps for others to reproduce this issue
Example:

Go to assetlib
Search for Terrabrush
Click on Terrabrush and download the plugin,
Click on Spatial Gardener and download the plugin
Create a new Terrabrush node
Create a new gardener node
Set a working directory for the gardener
Click on the new plants button and add a new plant
Click on LOD variants and add a new LOD
Drag a mesh to the new LOD
Paint on the the terrain. Notice the bounding box being around the painted foliage
Save the scene and reload
Observe the foliage's disappearance.
Paint the terrain once more
Observe the foliage bounding box mentioned in no.11 now starting at the center of the scene.

Minimal reproduction project
Footage:

Image: Bounding box starting at the center of the scene
{Video unable to be uploaded}

Hi, not a solution, but maybe a workaround for you. I had the same Problem with the trees. I got rid of this issue, by having an LOD without transparency and just quad meshes with a single color as leaves. Then we played around with the Octree settings.

i would post a video. but github's 10 MB file limit doesn't allow me to

Having this same issue with spawned scenes disappearing, has nothing to do with terrabrush. The trees show in the editor, but when the project is run nothing shows up and when the project is reopened the trees are gone. Weird because it was working fine earlier before I painted a bunch of grass everywhere, the grass still works and I can add more so I think maybe it's specific to spawned scenes and not meshes.

It's the weirdest thing, when you reopen the project all of the spawned scenes show up for a split second before disappearing. Does spatial gardener discard everything except collision?


DVS v0.6.3 can't publish feed from standby delegates any more (?)

I tried to publish price feeds with a standby delegate and it's not possible any more with DVS v0.6.3...
This is the error message I get:
default (unlocked) >>> wallet_publish_feeds delegate.liondani delegate.liondani 0.010128 USD
4 parse_error_exception: Parse Error
Unexpected char '100' in "delegate.liondani"
{"c":100,"s":"delegate.liondani"}
th_a  json.cpp:433 variant_from_stream
Error parsing argument 2 of command "wallet_publish_feeds": [{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]
{"argument_number":2,"command":"wallet_publish_feeds","detail":[{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]}
th_a  cli.cpp:580 parse_argument_of_known_type
{"parameter_index":1}
th_a  cli.cpp:583 parse_argument_of_known_type

Error parsing argument 2 of command "wallet_publish_feeds": [{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}},{"context":{"level":"error","file":"cli.cpp","line":580,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Error parsing argument ${argument_number} of command "${command}": ${detail}","data":{"argument_number":2,"command":"wallet_publish_feeds","detail":[{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]}},{"context":{"level":"warn","file":"cli.cpp","line":583,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"","data":{"parameter_index":1}}]
{"argument_number":2,"command":"wallet_publish_feeds","detail":[{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}},{"context":{"level":"error","file":"cli.cpp","line":580,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Error parsing argument ${argument_number} of command "${command}": ${detail}","data":{"argument_number":2,"command":"wallet_publish_feeds","detail":[{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]}},{"context":{"level":"warn","file":"cli.cpp","line":583,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"","data":{"parameter_index":1}}]}
th_a  cli.cpp:397 parse_recognized_interactive_command
{}
th_a  cli.cpp:447 parse_recognized_interactive_command

Error parsing command "wallet_publish_feeds": Parse Error (4)
Unexpected char '100' in "delegate.liondani"
Error parsing argument 2 of command "wallet_publish_feeds": [{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]
Error parsing argument 2 of command "wallet_publish_feeds": [{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}},{"context":{"level":"error","file":"cli.cpp","line":580,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Error parsing argument ${argument_number} of command "${command}": ${detail}","data":{"argument_number":2,"command":"wallet_publish_feeds","detail":[{"context":{"level":"error","file":"json.cpp","line":433,"method":"variant_from_stream","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"Unexpected char '${c}' in "${s}"","data":{"c":100,"s":"delegate.liondani"}}]}},{"context":{"level":"warn","file":"cli.cpp","line":583,"method":"parse_argument_of_known_type","hostname":"","thread_name":"th_a","timestamp":"2015-02-06T11:32:42"},"format":"","data":{"parameter_index":1}}]
Usage:
wallet_publish_feeds <delegate_account> <symbol_to_price_map>                                         publishes a set of feeds for BitAssets, only active delegates may do this
publishes a set of feeds for BitAssets, only active delegates may do this
Parameters:
delegate_account (account_name, required): the delegate to publish the price under
symbol_to_price_map (price_map, required): maps the BitAsset symbol to its price per share
Returns:
transaction_record

Look at the spec; you are looking for wallet_publish_price_feed.


Fix typo and capitalization in Errors.ts

Fix typo in MISSING_ARIA2 and some capitalization in Errors.ts

Thank you for the help!


Hyperlink Background on Focus hinders readability due to lack of padding

What is the issue?
When a hyperlink has focus, the yellow background has little to no padding left or right, meaning the background edge encroaches on the first and final letters of the hyperlink text, hindering legibility.
Example 1:

Example 2:

What steps are required to reproduce the issue?

Open a website which uses the NHS Design System
Navigate to a page that has hyperlinks within the body text
Tab through the page until the hyperlink has focus
Observe the focussed hyperlink
EXPECTED RESULT: The highlighting should not encroach on or hinder readability of the link text
ACTUAL RESULT: The highlighting edge butts up against the some letters (e.g. t) and leaves a negligible space with others (e.g. N).

Suggested resolution
If the styling of the a element was updated to give it left-right padding, which is then cancelled out with an equivalent negative margin, e.g.: (changes highlighted in yellow):

Then all focussed hyperlinks would have a minimum clear space between the first/last letter and the edge of the highlighting,
Example 1:

Example 2:

Hi Andrew, thanks for the contribution. I've put this forward to our lead service designer and accessibility lead, after evaluating the raised issue it's been agreed that this is expected behaviour. Any evidence of this impeding a user's ability to read the text would be greatly appreciated.


Error Reading CSV File from Disk

Code below works fine running straight from command line on Mac.  Running python 3.5.  Atom was launched from command line.
FileNotFoundError: [Errno 2] No such file or directory: 'driving.csv'
import csv

with open('driving.csv', encoding='utf-8') as csvfile:
    reader = csv.DictReader(csvfile)
    for row in reader:
        print(row['ACCELEROMETER X (m/s)'], row['ACCELEROMETER Y (m/s)'])

https://github.com/rgbkrk/atom-script/issues/874#issuecomment-204972804


UpdateControl.updateStatusSubResource(resource) is not updating status

Hi
I have this really strange behavior in my operator:
Updates for status subresource stopped working

Upon investigation I'm pretty sure that this is something to do with the operator itself.
UpdateControl.updateStatusSubResource(resource);

is called but resource is never updated

So I have a very simple control loop:
@Override
public UpdateControl<MyResource> createOrUpdateResource(
        MyResource resource,
        Context<MyResource> context) {

    if (!resource.getStatus().isInPhase(MyResourceStatus.PhaseType.Ready)) {
        resource.getStatus().setPhase(MyResourceStatus.PhaseType.Ready);
        return UpdateControl.updateStatusSubResource(resource);
    }

    return UpdateControl.noUpdate();
}

And I'm observing the same issue as @wtrocki

Updated to 1.8.0 - seeing the same problem

Updated to 1.8.0 - seeing the same problem

Which version did you upgrade from, @wtrocki?

We upgraded everytime version was released. I think bug started to appear in 1.7.2 (not 100% sure)

Problem autoresolved itself after setting up dependencies again for kubernetes client etc.

Yep, was going to say that I couldn't reproduce it on my side… glad to hear it's solved.


Add new builder methods defined in the Java guidelines

Some builder methods like clientOptions are not included in the generated builder. Follow the Java guidelines to generate all required builder methods.

I believe clientOptions are added now.


Dynamic imports result in "Module build failed: SyntaxError: Unexpected token"

Using a dynamic import such as:
import('./path/to/file)
Results in error:
ERROR in ./app/src/routes.js
Module build failed: SyntaxError: Unexpected token (15:9)

  13 | 	path: '**',
  14 | 	component: RouteUtils.asyncComponent(() => {
> 15 | 		return import('./pods/site/pages/NotFoundPage');
     | 		       ^
  16 | 	}),
  17 | });

Suggested solution:
Pre-install https://babeljs.io/docs/plugins/syntax-dynamic-import/ as I would expect this functionality out of the box.

In fact, it might be better if we made our own preset module.


Verbiage/punctuation updates

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hey @BlueFlames17
You haven't actually added any content so I will be closing this PR and marking it as invalid. 😓
Feel free to open another PR though! 👍


lazarus: 1.8.0 -> 1.8.2

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 1.8.2 with grep in /nix/store/z3r30kr064x672zqnrs1pwzshlvgnv9n-lazarus-1.8.2
found 1.8.2 in filename of file in /nix/store/z3r30kr064x672zqnrs1pwzshlvgnv9n-lazarus-1.8.2
directory tree listing: https://gist.github.com/895d2d01174298ff36a30bc7387286a2

cc @7c6f434c for review

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: lazarus
No partial log is available.

No attempt on aarch64-linux
The following builds were skipped because they don't evaluate on aarch64-linux: lazarus
No partial log is available.

Success on x86_64-linux (full log)
Attempted: lazarus
Partial log (click to expand)
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/z3r30kr064x672zqnrs1pwzshlvgnv9n-lazarus-1.8.2


Fullscreen Album Cover

Description of the new feature / enhancement
A few years ago, Spotify had a fullscreen mode that looked like this : https://imgur.com/dvreOAX.
Then, they changed it to the current fullscreen mode (as it is featured in SpotX), but some users regretted the old one.
It would be great to add a button on the album cover to make it appear in a fullscreen and minimalist mode or to remap the arrow button on album covers to that, insead of opening the right sidebar.
📸 Screenshots

If you like the idea, add a 👍 reaction to this post

Sorry, I'm not engaged in restoring or creating new Spotify features, mostly working with what is available at the moment, if you need the old full screen mode, find a mod on the network with a version lower than 1.1.59 or use Spicetify (legacy Spicetify)


TimeMixer to Multi task

How can I TimeMixer to Multi-task, Your work is not bad for short-term prediction, and I would like to join your experiment for multi-task vol prediction on finance

Means predict more than one time series target, like multi time series target(Y1,Y2,Y3) for next 60 steps
发自我的iPhone
------------------ Original ------------------
From: MetaKing @.>
Date: Wed,Dec 4,2024 5:47 PM
To: kwuking/TimeMixer @.>
Cc: TianQingXia @.>, Author @.>
Subject: Re: [kwuking/TimeMixer] TimeMixer to Multi task (Issue #95)
Thank you for your interest in our work. May I ask what you mean by "multi-task"? TimeMixer is currently capable of performing short-term predictions directly—does this meet your requirements?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Yes, this is an annotated multivariate time series medical data. TimeMixer can fully handle multivariate time series prediction. The test datasets currently provided in our scripts, such as weather, ETT, and Traffic, are all multivariate time series. You can refer to these settings and directly use TimeMixer to handle this problem.

Means predict more than one time series target, Global forecasting models , like multi time series target(Y1,Y2,Y3) for next 60 steps. for example, In weather predicting, but predicting temperature, Moist, wind speed

Yes, this is an annotated multivariate time series medical data. TimeMixer can fully handle multivariate time series prediction. The test datasets currently provided in our scripts, such as weather, ETT, and Traffic, are all multivariate time series. You can refer to these settings and directly use TimeMixer to handle this problem.


API view comments

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.Files.DataLake


How do I override (or disable) hardware back press button for a given scene?

I want to override hardware back press button so that Actions.pop() will not be executed by default. In other words, I want to block user (or disable hardware back press) from tapping hardware back press button for a particular scene.
Is there a way to accomplish that? If yes, how can that be done?

Try to use https://facebook.github.io/react-native/docs/backhandler.html and check navigationState (Actions.state) from there.

@oatcrunch Were you able to figure this out? I'm in a similar situation and looking into BackHandler now.


Document Business Constraints on Current Certificate Management Process

User Need
As a (type of user)
I want (some action)
so that (some result)
Value
Functional Requirements (What):

[ ]
[ ]

Non-Functional Requirements (How):

[ ]
[ ]

Acceptance Criteria:

[ ]
[ ]

Notes:

Why are we using Gandi? Is there a particular reason we are limited to this service?

Removing for now - certificates may be moving out of Ops Eng.

Removing for now - certificates may be moving out of Ops Eng.


Attempt to play video from camera crashes app

Describe the bug
After a fairly recent update (past couple months I'm guessing), I am no longer able to play videos I have taken with my phone. I can see the videos listed in the Camera folder, but when I tap the thumbnail the app crashes.
To Reproduce
Steps to reproduce the behavior:

Go to Pinned Camera folder
Click on any video file

Expected behavior
Expected the video to play.
System information and logs:
Package: deckers.thibault.aves.libre
Installer: dev.imranr.obtainium
Aves version: 1.9.5-libre, build 10602
Flutter: stable 3.13.4
Android version: 13, API 33
Android build: TQ3A.230805.001.2023090600
Device: Google Pixel 7
Geocoder: not available
Mobile services: not available
System locales: en_CA
Storage volumes: /storage/emulated/0/
Storage grants: /storage/emulated/0/Pictures/, /storage/emulated/0/DCIM/
Error reporting: false
Additional context
I have been using the stock galley app to watch videos since the bug began. I am only just now reporting the issue.

Sorry I have never used GitHub, I'm not familiar with how to upload a log file. Here is a link via wormhole:
https://wormhole.app/Kz9q0#HsyWyHAjdh6WSHYn3gzy8g

I'm sorry, didn't mean to close 😑

A commit has been made about it and should have fix it 4 hours ago. But still, the problem is not gone. We will wait for the next patches.

Thanks for reporting, and welcome to GitHub!
Do you use GrapheneOS? if so, this is likely a duplicate of this issue:

#722

But i can't do anything myself to fix it, it will depend on the goodwill of the maintainer of the video library I'm using.
@Biscorn the recent commit is for a different issue that was happening when cataloguing some specific videos. It wasn't related to playback.

Thanks for reporting, and welcome to GitHub!
Do you use GrapheneOS? if so, this is likely a duplicate of this issue:

#722

But i can't do anything myself to fix it, it will depend on the goodwill of the maintainer of the video library I'm using.
@Biscorn the recent commit is for a different issue that was happening when cataloguing some specific videos. It wasn't related to playback.

Thanks for your reply ! Same for me, I am using GrapheneOS and though your commit was for this issue we related.

@deckerst Yes you're right, I looked through issue #722 and it is the same problem I'm having. I am using GrapheneOS. I toggled the Exploit Protection Compatibility Mode option and it has solved the issue.
I'll close this issue as it is a duplicate. I appreciate your quick reply. I will follow the progress on issue #722.
Thank you also for such a great app. I've been using it for months now and very much enjoy it.


Setting a border around a list results in "breaks" when scrolling the list

Hello,
First off, the whole charmbracelet thing is awesome.
I'm trying to make a list with a border. The idea is I would  have a couple different lists, aligned horizontally, kind of like what is done with soft-serve. I'm having an issue however where scrolling through a toy list results in "breaks" in the list border.
You can recreate this issue by changing https://github.com/charmbracelet/bubbletea/blob/62259b72e5533f1411327444d1baf68355327bdf/examples/list-default/main.go#L12 to be:
var docStyle = lipgloss.NewStyle().Margin(1, 2).BorderStyle(lipgloss.NormalBorder()).BorderForeground(lipgloss.Color("63"))
and then scrolling up and down. I've included a picture as well to show what I'm talking about. The picture is from the tmux terminal.
I'm able to have this occur in a Pop_OS (Ubuntu) terminal running tmux, a terminal not running tmux, as well as a VS Code terminal ssh'ed to the Pop_OS instance.

Hi! This is because the style you're applying is causing the list to run higher than the vertical height of the terminal. To fix it we need to change the code that measures the margins to instead measure all the vertical and horizontal space that's being taken up by the margins, borders and padding. There's a Lip Gloss style method for this called [https://pkg.go.dev/github.com/charmbracelet/lipgloss#Style.GetFrameSize]
So just change lines 38 and 39 to:
v, h := docStyle.GetFrameSize()
m.list.SetSize(msg.Width-h, msg.Height-v)

Here's a patch:
diff --git a/examples/list-default/main.go b/examples/list-default/main.go
index e7b1d6b..73c84a4 100644
--- a/examples/list-default/main.go
+++ b/examples/list-default/main.go
@@ -9,7 +9,7 @@ import (
 	"github.com/charmbracelet/lipgloss"
 )

-var docStyle = lipgloss.NewStyle().Margin(1, 2)
+var docStyle = lipgloss.NewStyle().Margin(1, 2).BorderStyle(lipgloss.NormalBorder()).BorderForeground(lipgloss.Color("63"))

 type item struct {
 	title, desc string
@@ -34,8 +34,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 			return m, tea.Quit
 		}
 	case tea.WindowSizeMsg:
-		top, right, bottom, left := docStyle.GetMargin()
-		m.list.SetSize(msg.Width-left-right, msg.Height-top-bottom)
+		v, h := docStyle.GetFrameSize()
+		m.list.SetSize(msg.Width-h, msg.Height-v)
 	}

 	var cmd tea.Cmd

And here's some sample output:

And let us know if you have any more questions!

Thanks for the explanation! This works... dare I say it... like a charm 😄