Suggest future module as import option

Environment data

Language Server version: 2020.10.3
OS and version: macOS
Python version: 3.9

Expected behaviour
Typing from __ or import __ I would expect to see the __future__ module as an option.
Actual behaviour
Only the Code snipped __main__ (which makes no sense in the context of an import) and modules with one leading underscore are suggested.
Note: Although not displayed in the screenshot, __future__ is not even suggested in the scroll list.

Logs

XXX

Code Snippet / Additional information

Example usage
from __future__ import annotations

__future__ is handled specially in the parser and type checker, but it's likely not being added as a valid module choice in the completion provider. Would make sense to include.
Regarding The __main__ import, that's a snippet; those are provided by the Python extension and we don't have much control over those. (Personally, I disable snippets altogether because they simply aren't powerful enough to understand the code context. They're basically loose regex.)

This issue has been fixed in version 2020.11.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#2020112-18-november-2020


Error in Composer Install

Problem 1
    - Installation request for laravel/horizon v1.3.1 -> satisfiable by laravel/horizon[v1.3.1].
    - laravel/horizon v1.3.1 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.`

I got this error when i install composer composer install

Hi, I had the same problem in windows. My only solution was to make:
composer install --ignore-platform-reqs
So far I have not noticed any malfunctions. Sorry for my English, use the Google translator :)

@xerk , did you try @heyner29 's solution?

closing due to the inactivity of the OP

yarn build command does not work on windows
problem console
enso@ build C:\xampp\htdocs\enso-master\client
rm -rf ../public/{js,themes,themes-rtl,images} && vue-cli-service build --no-clean --modern
"rm" no se reconoce como un comando interno o externo,

Have you tried using a different console than CMD?  Git Bash or Cmander alternatives

Hi, I had the same problem in windows. My only solution was to make:
composer install --ignore-platform-reqs
So far I have not noticed any malfunctions. Sorry for my English, use the Google translator :)

Thank you so much! It worked for me!

thank you for this information


[Bug] Signing not working as intended

Describe the bug
In the latest release the signing stage didn't work.
Suspect component/Location where the bug might be occurring
my guess is that for some reason the auto generated key didn't work for some reason. My guess around this is due to that we get a question to go to a homepage and write a code to verify our self.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
This is not the end of the world. Generating SBOM and images still works as expected, the thing is that the image don't get signed.

https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/ could potentially help out with this issue.


[TB] Add height options to button size

Problem/Concern
Please add additional height values as options to the button height drop down.

Those heights will be multiplies of the grid (8 or 10)
3 x grid
4 x grid
5 x grid
6 x grid
7 x grid
44 (apple)
48 (android)
And if the user selects a min target smaller than option values, please disable.
If they change the min target to a larger size than the selected button height - please  update the button height in the drop-down to reflect the new larger min-height.
From #598 (Button Height needs to offer sizes down to the selected min target):
If a user says the min height is 32px they should be able to select a button height of 32px or 40px.
If a user says 24px then they can go as low as 24px but now we only have as low as 32px.

Proposed Solution

Work was partially completed prior to GH, but was rolled back due to code freeze. Work will resume now.

The changes are encapuslated in these two PRs:
https://github.com/finos/a11y-theme-builder/pull/703
https://github.com/finos/a11y-theme-builder-sdk/pull/141
When they are reviewed and merged I will update the issue and prompt Lise for her feedback

@lwnoble - the changes are in dev and ready for you to look at

@evangk6, @lwnoble and I talked about this today.  Changing minimum button height may invalidate the currently selected value for Button height in molecules, so we should:

warn the user that if we don't make the change, that their design system could become invalid

give them the option to let us update things that would otherwise break or allow the user to ignore and make manual changes.

update the value to the new minimum legal value by default.


support react's hydrate for enzyme-adapter-react-16

It would be great to support testing react's hydrate method as opposed to just the render method. This could maybe be done via an options argument?
cc @ljharb

With an empty DOM node, won't hydrate and render be identical?

Ya I think so, but this would be able to specifically test server side rendering of a component.
cc @goatslacker

Certainly mount invokes ReactDOM.render; an adapter option could be used in the v16+ adapter to specify ReactDOM.hydrate be used.
I'm just not sure what the point would be - all we'd be doing is testing ReactDOM itself, since hydrate and render theoretically do the same thing on an empty container.

There's currently a warning when you try to render() SSR'd markup, so it would at the very least silence that warning.

In that case, maybe it'd be better to always use hydrate in the React 16 adapter here?

We should have both, for non server rendered content I think you want to use render


Add goreleaser

https://github.com/goreleaser/goreleaser

With a switch to circle-ci we can have following job in place:
workflows:
  version: 2
  build-n-deploy:
    jobs:
      - build:
          filters:  # required since `release` has tag filters AND requires `build`
            tags:
              only: /.*/
      - release:
          requires:
            - build
          filters:
            tags:
              only: /^v.*/
            branches:
              ignore: /.*/

the build job runs for all branches and all tags.
runs release job on a tag and tag only using dedicated filter - tags starting with v
release job runs goreleaser logic

Nice to have goreleaser config:

[ ] cross-compilation
[ ] changelog
[ ] docker
[ ] semver bump


IPersistedCache.removeAllEntriesForDocId should be async

It's void right now. It should be Promise since we would want to await for all these entries to be deleted before continuing down the code path and starting populating entries with new epoch.

Actually, we need delete-all functionality for cases where file was deleted - see https://github.com/microsoft/FluidFramework/issues/4145
At the same time invoking this functionality when epoch ticked creates a race if two clients do the same cleaning at the same time - awaiting will result in new entries from one of the clients who already passed awaiting to be deleted. It's not functional problem, it's a perf problem that may show up only when / if we have two clients on the wire.
If we want to solve it, we need to add epoch to key, but only for put() calls (as during get time we may not have epoch yet). It would complicate API and usage, so I'm not sure it's worth it.


React: Type for loading on hook is Boolean not boolean.

This is only the mutation hook return.

this has been fixed.


[Bug] App header overlaps the Table filter pane when table is placed at top of the canvas

I think Page Header should still be the highest Z Index. Table popup's boundary limits should always be within the canvas Editor or Viewer is what I assume. We already have functions to move the popup back into the canvas when we move it to extreme of the boundaries. We have to update those functions by setting proper boundary limits which wud start after the header and ends before the footer in terms of Y axis.
https://github.com/appsmithorg/appsmith/blob/release/app/client/src/pages/Editor/utils.ts#L39

This also observed for deployed apps -

One solution to this is to give the Popper element an boundariesElement so that it can preventOverflow. Under src/pages/Editor/Propper.tsx line 133 -
preventOverflow: {
        enabled: true,
        boundariesElement:
          document.getElementById("canvas-0") ||
          document.querySelector('[type="CANVAS_WIDGET"]') ||
          "viewport",
 },

document.getElementById("canvas-0") for editing mode.
document.querySelector('[type="CANVAS_WIDGET"]') when in preview mode or deployed the app.

@yaldram we could also just get the boundary parent as a prop and set it to the popper.

@marks0351 done I have added boundaryParent prop. I am new to the table widget so we need to check this by changing the position of the filterpane multiple times.

I have pushed the fix branch here please check - fix/7996-table-filter-pane-overflow

@yaldram @YogeshJayaseelan re-opening as this does not work on deploy mode on release..
https://loom.com/share/ca1dd026e931437b9cb3131d34fff4c4

@shwetha-ramesh Thanks it is working in production but not on release, I will check this.


snackBar should paint above the bottomSheet

As title.
If the bottomsheet takes all horizontal space (most do), the snackbar is invisible to the user.

Fixes #63254
Close #19547
Test coming soon.

@Piinks Hi,
Do you have any suggestions about the test case? Can I only use the Goden test for this issue?

@Piinks Hi,
Do you have any suggestions about the test case? Can I only use the Goden test for this issue?

@Piinks Hi,
Do you have any suggestions about the test case? Can I only use the Goden test for this issue?

A golden file test SGTM!

@Piinks Hi,
Do you have any suggestions about the test case? Can I only use the Goden test for this issue?

A golden file test SGTM!

Gold has detected about 1 untriaged digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/73558

Gold has detected about 1 untriaged digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/73558


Created a proper changelog file

As mentioned in #713, I've already made this change locally. Also, changelog.txt is used by the program's About dialog, and it is automatically generated from README.md by an external script, so deleting it won't do anything.

@Openarl Yeah noticed that the minute after I submitted this PR. Nps


Support live suggestions

The function passed as options.suggestions is now called at every input value change.

This should hopefully fix #24. The only change to the API is that the options.suggestions function now takes two parameters, the first being the current input value.

@bevacqua, let me know how can I improve the PR

I am looking for a reasonable autocomplete, and horsey looks quite reasonable.  I need live loading, though, so I'll pull down this pull request and test with it.

I've been using this feature in my horsey fork and it's been working great so far.  I'd love to see this get merged.

glad it helped, @TehShrike! :)

Out of curiosity @stefanoverna are you still using horsey in any projects?

I did make one fix to an issue where selection of the first item was being lost: https://github.com/stefanoverna/horsey/pull/1

Seems to work fine, thanks. One thing I noticed though is that one request per input keyup seems a bit overkill in some scenarios, especially if the user is typing really quickly. Maybe a stop in case of pending requests would be nice.

A debouncer would be nice, though it could probably be applied as easily in the callback by the consumer.


facing problem in installing atom beautify package

Description
The results of beautification are not what I expect.
Input Before Beautification
This is what the code looked like before:
<INSERT CODE HERE>

Expected Output
The beautified code should have looked like this:
<INSERT CODE HERE>

Actual Output
The beautified code actually looked like this:
<INSERT CODE HERE>

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist:
Checklist
I have:

[ ] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[ ] Reloaded (or restarted) Atom to ensure it is not a caching issue
[ ] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue
[Enter steps to reproduce:]

...
...

Atom: 1.59.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Pro
Thrown From: atom-beautify package 0.33.4
Stack Trace
Failed to activate the atom-beautify package
At Cannot find module './lodash'
Require stack:
- C:\Users\Adeem A Usmani\.atom\packages\atom-beautify\node_modules\lodash\index.js
- C:\Users\Adeem A Usmani\.atom\packages\atom-beautify\src\beautify.coffee
- C:\Users\Adeem A Usmani\AppData\Local\atom\app-1.59.0\resources\app.asar\static\index.html

Error: Cannot find module './lodash'
Require stack:
- C:\Users\Adeem A Usmani\.atom\packages\atom-beautify\node_modules\lodash\index.js
- C:\Users\Adeem A Usmani\.atom\packages\atom-beautify\src\beautify.coffee
- C:\Users\Adeem A Usmani\AppData\Local\atom\app-1.59.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:157920)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:149207)
    at /packages/atom-beautify/node_modules/lodash/index.js:1:173)
    at /packages/atom-beautify/node_modules/lodash/index.js:2:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:153485)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:149207)
    at /packages/atom-beautify/src/beautify.coffee:8:5)
    at /packages/atom-beautify/src/beautify.coffee:2:1)
    at /packages/atom-beautify/src/beautify.coffee:2:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:153485)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:1:789785)
    at requireModule (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:14:1173504)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:3542837)
    at Package.activateNow (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:3530836)
    at ~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:14:2607
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.59.0/resources/app/static/<embedded>:11:1187446)

Commands

Non-Core Packages
atom-beautify 0.33.4
atom-html-preview 0.2.7
atom-live-server 2.3.0
atom-ternjs 0.20.0
autoclose-html-plus 0.27.2
csslint 1.2.0
emmet 2.4.3
file-icons 2.1.47
language-ejs 0.4.0
linter 3.4.0
linter-eslint 9.0.0
pigments 0.40.6
Sublime-Style-Column-Selection 1.7.5

I cant install atom-beauty in atom.
This is the output message that pops up.
Installing<EMAIL_ADDRESS>failed.Hide output…
npm WARN deprecated<EMAIL_ADDRESS>JSCS has merged with ESLint! See - https://medium.com/@markelog/jscs-end-of-the-line-bc9bf0b3fdb2
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm ERR! Unexpected end of JSON input while parsing near '...remark-man":"^2.0.0",'
npm ERR!      C:\Users\ATagoe.atom.apm_logs\2022-03-11T07_11_21_767Z-debug.log

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom...   This package is working except for one deprecated error listed in #2605
If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks


Implement io.WriterTo interface on Tx.

Overview
This pull request moves the functionality in Tx.Copy() to Tx.WriteTo(). This allows Tx to be used as an io.WriterTo which makes it easier to mock.
The Tx.Copy() function still exists but it's simply a wrapper around Tx.WriteTo().

:thumbsup:
How about updating Database backups section in the README.md to use this new API?

Good catch! I updated the docs in 8c6af54.


Configuration to allow alignments to be exported to GFF

In order for GFFSerializer to export alignments, I found I needed two small changes: one to define the relevant SO terms; the other to get alignments on MT chromosomes to produce seq_region coords.

All updates to the SO mappings are welcome.

I don't think we've ever tried exporting alignments, the changes look sensible


⚠ Visual-Crew_Builder has degraded performance

In ce97090, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1215 ms

Resolved: Visual-Crew_Builder performance has improved in 42e5c75 after 11 minutes.


Allow to withdraw EVMOS asset

Currently many users have to use Keplr to transfer EVMOS from osmosis, due to evmos app congestion.
Enabling the withdrawal option will be helpful to evmos users

for deposits, users have other options in addition to the evmos app

This won't work for Evmos Metamask users though, right?

yes, users can only withdraw using keplr.

but in osmosis app, user can edit the withdrawal address and enter the metamask address.

Oh yeah, I guess you're right.  That makes sense.  Okay.  Did you test this, and it works fine?

Tested on : https://osmosis-frontend-git-fork-disperze-master-osmo-labs.vercel.app/assets
Device: Chrome, MacOS
Network: Mainnet

✅  Withdrawals to a custom Keplr address works fine

❌   Withdrawals to a custom EVMOS Metamask address is not working because once you enter a Metamask address, the amount, and select the checkbox the withdraw button is not enabled or clickable.

For Metamask, users should use their evmos1x address, most staking apps display it.

For Metamask, users should use their evmos1x address, most staking apps display it.

Thank you, that makes sense now!
EVMOS Addresses

Succesful from Osmosis Dex
Osmosis -> EVMOS Address -> Metamask shows balance

Metamask

Ok sneding for now.  We should probably make it so we can put a 0x address, and it can convert it.  @arispech can you create an issue for this

Reverting change until can resolve

Issue created here:
https://github.com/osmosis-labs/osmosis-frontend/issues/804

Ok sneding for now. We should probably make it so we can put a 0x address, and it can convert it. @arispech can you create an issue for this

Issue created here:
https://github.com/osmosis-labs/osmosis-frontend/issues/804


Fixed Bots not moving correctly to your mouse, Fixed recaptcha timeouts, Randomized/Added Spawn-time

Fix formatting
Fixed bugs & "Better" bypass
Could play for like over 20 minutes with 50 bots <- Try to join a non-botted server if possible

sidenote, change / 2.5 to 2.0

For me nothing changed xD.


Olivia Zoe: Watch rolexsreplicas.org.uk

Olivia Zoe requests the watch of the watch_keyword rolexsreplicas\.org\.uk. See the Metasmoke search here and the Stack Exchange search here.

rolexsreplicas\.org\.uk has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.091% when pulling 7b5b84804e4f22b86adf85bd9bf929e2bd93c547 on auto-blacklist-1524119699.3923914 into 0c9c1b09478d84618e50ca8380e3155b6636283b on master.

!!/approve


Add TLS configuration to JDBC driver

Adresses issue #8577
Add supports to specifiy the following configs as part of JDBC connection properties
  public static final String KEYSTORE_TYPE = "keystore.type";
  public static final String KEYSTORE_PATH = "keystore.path";
  public static final String KEYSTORE_PASSWORD = "keystore.password";
  public static final String TRUSTSTORE_TYPE = "truststore.type";
  public static final String TRUSTSTORE_PATH = "truststore.path";
  public static final String TRUSTSTORE_PASSWORD = "truststore.password";

To use HTTPS, users can set scheme=https in properties and add rest of the SSL configs.
Pending:

Add Tests

Codecov Report

Merging #8578 (7100f3d) into master (2fba4b0) will decrease coverage by 56.46%.
The diff coverage is 64.63%.

:exclamation: Current head 7100f3d differs from pull request most recent head a780755. Consider uploading reports for the commit a780755 to get more accurate results

@@              Coverage Diff              @@
##             master    #8578       +/-   ##
=============================================
- Coverage     70.68%   14.22%   -56.47%
+ Complexity     4249       84     -4165
=============================================
  Files          1690     1648       -42
  Lines         88462    86876     -1586
  Branches      13400    13263      -137
=============================================
- Hits          62531    12356    -50175
- Misses        21557    73590    +52033
+ Partials       4374      930     -3444

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.22% <64.63%> (+0.18%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...mmon/assignment/InstanceAssignmentConfigUtils.java
0.00% <0.00%> (-15.79%)
:arrow_down:

...inot/controller/api/resources/SuccessResponse.java
100.00% <ø> (ø)

...inot/controller/helix/ControllerRequestClient.java
51.00% <0.00%> (-12.00%)
:arrow_down:

...ntroller/helix/core/rebalance/TableRebalancer.java
76.33% <0.00%> (-2.87%)
:arrow_down:

...ava/org/apache/pinot/minion/BaseMinionStarter.java
0.00% <0.00%> (-76.86%)
:arrow_down:

...apache/pinot/minion/MinionAdminApiApplication.java
0.00% <0.00%> (-91.67%)
:arrow_down:

...inot/minion/api/resources/HealthCheckResource.java
0.00% <0.00%> (ø)

...ocal/indexsegment/mutable/IntermediateSegment.java
0.00% <0.00%> (-69.63%)
:arrow_down:

...ocal/recordtransformer/ComplexTypeTransformer.java
0.00% <0.00%> (-58.58%)
:arrow_down:

...t/local/upsert/PartitionUpsertMetadataManager.java
0.00% <0.00%> (-76.24%)
:arrow_down:

... and 1374 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 2fba4b0...a780755. Read the comment docs.

Added test


Building Android on Windows

Since the update to m60, the Android native libraries should be able to be built on Windows.

build


Downporting (731)

Looking at downporting possibilities ... for the moment stumbled upon 2 issues:

/ui5/cl_json_parser at zcl_abaplint_json_reader: will try to replace with cl_fdt_json=>json_to_data ? or maybe leave the validation to the backend ???
IF_T100_DYN_MSG at exception: hmm, what's the heck it this :)))) looks like a combination of IF_MESSAGE and IF_T100_MESSAGE and a couple of attrs ... do you think I can remove ?

@larshp

for the exception, try deleting and creating it again on 731
I dont think IF_T100_DYN_MSG is even 740sp08 compatible, https://blogs.sap.com/2015/11/12/abap-news-for-release-750-converting-messages-into-exceptions/

much progress ... but /ui5/cl_json_parser would be a challenge ...

there is some of the built-in XML handling that can also handle JSON, think it can be done

yeah ... I've actually been struggling though it just in recent days ... extremely unintuitive, unflexible, undebuggable - very complicated ... and I did't succeed. Switched to open source alternatives :) Anyway ... will resolve it somehow.

there is also /ui2/cl_json

@sbcgua yea, agree, its not super, and have not looked much into it, but if possible I'd like to avoid a dependency

@FreHu not in my system :(
for my task I ended up with https://github.com/koemaeda/abap-json. But will need to fine tune it yet. For this one ... I don't know yet. Either will check cl_fdt_json=>json_to_data or something custom based on that XML transformation. Leaving this part for the rest.

@larshp dependency: yeap, I agree.

another option
as far as I remember, the sent JSON is built via concatenate. So add a request parameter to request the resonse as XML, and translate the response to XML instead on server side, it might be easier? easy to generate on server, and easy to parse on client

hmmm. interesting option - I'll consider.
P.S. almost done with all the code, just that json stuff left... but have to go to eat something first :)

done

next is the server side: cleanups and dockerize ...

I guess can be closed

Hmm new github app doesn’t allow to close issues. Strange.


API documentation is required

As now, there is no documentation for selective connection's native APIs.
Although it is planned to implement JavaScript APIs, native API documents are required for other developers to port this project.

Updated docs. (85e67dd3104fe62056a02801b9766e28d33ebd3d)


Publish v6.0.0

Currently cannot publish because of the following error http://stackoverflow.com/questions/39522139/use-legacy-swift-language-version-swift-version-error-when-publishing-cocoap

Closing as it is published https://cocoapods.org/pods/Dollar


Type declarations

Hi is there currently a type declaration for this? looking to use this in our solution as a single build that can be deployed to an environment is 100% the best approach for us.

Hello. For sure, I'd accept a PR for this.

Great your PR is merged and should be released as v2.1.0 thank you

While the definition is correct I still needed to shim this in so if you'd be happy to reopen it I will do more research to get this pulling through correctly, apologises was to eager to get it done.

How can I use it. I try to use it like this
import env from '@beam-australia/react-env';

export default {
  secret: new URL(env('MY_SECRET')),
};

and I got this error
Could not find a declaration file for module '@beam-australia/react-env'

@AnthonyCrowcroft?

@vimutti77 if you look within the dist directory there is a types.d.ts file if you copy and paste that into your solution it will work, I'm currently looking into why this isnt being picked up automatically

‘’’json
{
"name": "awesome",
"author": "Vandelay Industries",
"version": "1.0.0",
"main": "./lib/main.js",
"types": "./lib/main.d.ts"
}
‘’’
Want to write a PR. You reference them in package json

@AnthonyCrowcroft Look like if I try to move types.d.ts from node_modules/@beam-australia/react-env/dist to  node_modules/@beam-australia/react-env and rename it to index.d.ts. The types will be picked up properly.

Yeah although this is not desirable. We want it to pick them up via package.json

https://github.com/beam-australia/react-env/pull/10
will release as v2.1.1

@vimutti77 you can now npm install and use as normal

released: https://www.npmjs.com/package/@beam-australia/react-env

@andrewmclagan thank you for sorting that man been slammed at work today so wasn't going to get to it till tonight

No problem. Out of interest, you guys using the docker image in this repo for CRA?

I'm currently not using the docker image as we are react applications within IIS still but future goal is move it to azure blob storage or the likes. The main motivator for us to use the library was to be able to do deployment time injections so we can do a build once deploy anywhere approach


docs: Readme update

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rework builder of oval graph

This PR reworks class _BuilderOvalGraph.

@Honny1 Looks good to me, great improvement! I also like very much the packit integration, I used the RPM provided by packit to check the changes. Thanks for setting this up!


Generalize how to specify the visualization of credential messages (buttons, etc)

This is probably still valid but won't be tackled until we revisit mobile


[wip] try ci cache

To see if there is any advantage.
Later, we could use the s3 minio as storage for the cache. This way node_modules (and later go mod cache folder) will be accessible via dl.gitea.io which was a concern when deciding to remove all vendoring.

Currently this only cache node_module but this could also cache ci tools and mod cache.

S3 credentials are not passed to PRs so that a malicious user doesn't update binaries. This also concerns me as a malicious user could also poison cache if we introduce cache.

Will close this since it currently it doesn't add a lot more improvement and can be a security hazard.


Segfault in examples/fem/simple2D under newer ICC

Original issue: https://charm.cs.illinois.edu/redmine/issues/118

The test of examples/fem/simple2D segfaults on Edison during autobuild. The test also segfaults on Hopper when built with ICC.
valgrind reports
1 0.000179 sec for loop 896
1 0.000184 sec for loop 960
1 0.000179 sec for loop 1024
==31359== Invalid read of size 1
==31359==    at 0x5237BB: NetFEM_item::~NetFEM_item() (in /global/u2/p/pmiller/charm/net-linux-x86_64-icc/examples/fem/simple2D/pgm)
==31359==  Address 0x6df1189 is not stack'd, malloc'd or (recently) free'd
==31359==
==31359== Invalid read of size 1
==31359==    at 0x52382C: NetFEM_item::~NetFEM_item() (in /global/u2/p/pmiller/charm/net-linux-x86_64-icc/examples/fem/simple2D/pgm)
==31359==  Address 0x6df1189 is not stack'd, malloc'd or (recently) free'd
==31359==
==31359== Conditional jump or move depends on uninitialised value(s)
==31359==    at 0x5237C4: NetFEM_item::~NetFEM_item() (in /global/u2/p/pmiller/charm/net-linux-x86_64-icc/examples/fem/simple2D/pgm)
==31359==
==31359== Conditional jump or move depends on uninitialised value(s)
==31359==    at 0x523835: NetFEM_item::~NetFEM_item() (in /global/u2/p/pmiller/charm/net-linux-x86_64-icc/examples/fem/simple2D/pgm)
==31359==
1 0.000177 sec for loop 1088
1 0.000178 sec for loop 1152
1 0.000179 sec for loop 1216
1 0.000178 sec for loop 1280
1 0.000179 sec for loop 1344

But the segfault occurs much later, at loop 3072, in non-valgrind execution, and seemingly much earlier on Edison. So, this test or the underlying netfem library need some fixing.

Original date: 2013-03-26 13:25:43

Autobuild showed different, but possibly related crash for this: http://charm.cs.uiuc.edu/autobuild/old.2013_03_26__03_32/mpi-crayxc.txt

Original date: 2013-04-13 23:56:38

I just tried to reproduce this on Stampede with various versions of icc. None of them showed the crash, or related valgrind errors.
phil`stampede$ module avail intel
---------------------------- /opt/apps/modulefiles -----------------------------
   intel/<IP_ADDRESS>       intel/<IP_ADDRESS>  (D)     intel/13.0.079

Original date: 2013-06-03 22:26:47

The core meeting was unanimous in deciding to drop support for FEM instead of spending time on delving into this. To be done instead:

Disabling the FEM tests on the stable branch
Release-noting the deprecation on mainline, and eventual deletion.


$ENDPOINT_NAME= should change to YOUR-ENDPOINT-NAME

[Enter feedback here]
Change the example for export $ENDPOINT_NAME=YOUR_ENDPOINT_NAME to YOUR-ENDPOINT-NAME as the service doesn't allow for '_' and only '-'s
ref error during deployment: The name for an endpoint must start with an upper- or lowercase letter and only consist of '-'s and alphanumeric characters.

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

ID: a852f927-cbbd-634a-d81e-78359d539ee3
Version Independent ID: 0af3f631-2669-38a9-9b17-fe5e9893b711
Content: Deploy an ML model by using a managed online endpoint (preview) - Azure Machine Learning
Content Source: articles/machine-learning/how-to-deploy-managed-online-endpoints.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @rsethur
Microsoft Alias: seramasu

@YutongTie-MSFT - I should have come back to this sooner, apologies. I under the YOUR_ENDPOINT_NAME is not going to work, given '' are not allowed in the endpoint names and only '-' are supported, we might as well have it documented as 'YOUR-ENDPOINT-NAME' because a customer is going to try a similar format and realize they cannot use '' in their endpoint names only after encountering an error. My suggestion is to change it to so we provide a better experience?


Auto-create Device Type when bulk importing Devices from CSV

We are trying to import data on a number of sites that were growing over several years resulting in a zoo of different device types. At the moment that seems to require pre-creating individual device types prior to import.
Even considering #451 it might be useful to auto-create device types during import. At least for some it would speed up migration and adoption of netbox.

A device type is more than a manufacturer and model number. It entails the physical characteristics of a device and what console, power, and network resources it has. This information must be provided by creating a device type prior to instantiating it as a device.


Yes defeniatly an awesome feature.

    Yes defeniatly an awesome feature.

Originally posted by @Theholycityweb in https://github.com/github/docs/discussions/24591#discussioncomment-5459379

Someone atacking me now it take more then month and sometime i feel some one he want want to do somthing pad with me and some times i can feel like he is in my hous but i can see him and the screan of my phone moveing and delleting by it self and happen with me before 2 and haulf year before and now come agian and i dont know how to use the app

The issue not solved yat
في الأربعاء، ٢٩ مارس، ٢٠٢٣ ٦:٢٠ م Sul55 @.***> كتب:

Closed #24741 https://github.com/github/docs/issues/24741 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/24741#event-8877920560, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6NPJOZ77U3WOKZQTD6NQHLW6RHMFANCNFSM6AAAAAAWLHAYEM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Package nautilus-open-any-terminal as an RPM and install it

Maybe also remove gnome-terminal-nautilus, as that is the extension that adds the hard coded integration with GNOME Terminal.

This is the link to the source code:
https://github.com/Stunkymonkey/nautilus-open-any-terminal
To build and intall the program, all that needs to be done is:
git clone https://github.com/Stunkymonkey/nautilus-open-any-terminal.git
cd nautilus-open-any-terminal
make

make install schema      # User install
sudo make install schema # System install


Android dependency 'com.android.support:appcompat-v7' has different version for the compile (23.0.1) and runtime (27.1.0) classpath. You should manually set the  same version via DependencyResolution

My environment:
react-native:0.55.4
aurora-imui-react-native: 0.14.0
问题：
当编译项目是报如下错
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.android.support:appcompat-v7' has different version for the compile (23.0.1) and runtime (27.1.0) classpath. You should manually set the
same version via DependencyResolution

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

尝试过的方法都不行，如在app\build.gradle中的android节点下增加
configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '23.0.1'
            }
        }
    }
}

但编译时报错：
FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Could not find com.android.support:support-fragment:23.0.1.
Searched in the following locations:
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
file:/C:/Users/taoer/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
file:/C:/Users/taoer/.m2/repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
file:/C:/Users/taoer/.m2/repository/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
https://jcenter.bintray.com/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
https://jcenter.bintray.com/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
file:/C:/tao/StudyTech/react_native/myProjects/loveChatApp/node_modules/react-native/android/com/android/support/support-fragment/23.0.1/support-fragment-23
.0.1.pom
file:/C:/tao/StudyTech/react_native/myProjects/loveChatApp/node_modules/react-native/android/com/android/support/support-fragment/23.0.1/support-fragment-23
.0.1.jar
https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.pom
https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/23.0.1/support-fragment-23.0.1.jar
Required by:
project :app > project :aurora-imui-react-native > com.github.bumptech.glide:glide:4.6.1

麻烦帮忙看下，谢谢！

implementation (project(':aurora-imui-react-native')){
    exclude group: 'com.android.support'
}

首先排除dependecnies中的包，然后替换27的可以解决


What happened to export - format selection in UI?

Hi
Tried it in debian, It seems it's failing to generate the mp4 video. Probably because some kind of licensing issue in OpenCV and export file format.
Start generating .mp4 file██████████████████████████████████████████████████████████████████████████| 32/32 [00:02<00:00, 13.22it/s]
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:3018 open Could not find encoder for codec_id=27, error: Encoder not found
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:3093 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter
<EMAIL_ADDRESS>global cap.cpp:643 open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.8.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'

Any possible fixes?

In the new version,  I restricted fps


etcdserver: gracefully handle ENOSPC

I started V3 on a small tmpfs and put until it exhausted all space. etcd promptly died.
On restart, I get:
13:37:49 etcd1 | Starting etcd1 on port 5000
13:37:49 etcd1 | 2016-03-10 13:37:49.701673 I | etcdmain: etcd Version: 2.3.0-alpha.1+git
13:37:49 etcd1 | 2016-03-10 13:37:49.701730 I | etcdmain: Git SHA: 939af03
13:37:49 etcd1 | 2016-03-10 13:37:49.701735 I | etcdmain: Go Version: go1.5.3
13:37:49 etcd1 | 2016-03-10 13:37:49.701743 I | etcdmain: Go OS/Arch: linux/386
13:37:49 etcd1 | 2016-03-10 13:37:49.701749 I | etcdmain: setting maximum number of CPUs to 8, total number of available CPUs is 8
13:37:49 etcd1 | 2016-03-10 13:37:49.701755 W | etcdmain: no data-dir provided, using default data-dir ./infra1.etcd
13:37:49 etcd1 | 2016-03-10 13:37:49.701780 N | etcdmain: the server is already initialized as member before, starting as etcd member...
13:37:49 etcd1 | 2016-03-10 13:37:49.701826 I | etcdmain: listening for peers on http://<IP_ADDRESS>:12380
13:37:49 etcd1 | 2016-03-10 13:37:49.701844 I | etcdmain: listening for client requests on http://<IP_ADDRESS>:12379
13:37:49 etcd1 | 2016-03-10 13:37:49.701865 I | etcdmain: listening for client rpc on <IP_ADDRESS>:2378
13:37:49 etcd1 | 2016-03-10 13:37:49.701993 W | snap: skipped unexpected non snapshot file db
13:37:49 etcd1 | 2016-03-10 13:37:49.702002 I | etcdserver: name = infra1
13:37:49 etcd1 | 2016-03-10 13:37:49.702007 I | etcdserver: data dir = infra1.etcd
13:37:49 etcd1 | 2016-03-10 13:37:49.702011 I | etcdserver: member dir = infra1.etcd/member
13:37:49 etcd1 | 2016-03-10 13:37:49.702016 I | etcdserver: heartbeat = 100ms
13:37:49 etcd1 | 2016-03-10 13:37:49.702020 I | etcdserver: election = 1000ms
13:37:49 etcd1 | 2016-03-10 13:37:49.702024 I | etcdserver: snapshot count = 10000
13:37:49 etcd1 | 2016-03-10 13:37:49.702031 I | etcdserver: advertise client URLs = http://<IP_ADDRESS>:12379
13:37:50 etcd1 | 2016-03-10 13:37:50.953741 I | etcdserver: restarting member 8211f1d0f64f3269 in cluster 7230e3513973170f at commit index 491
13:37:50 etcd1 | 2016-03-10 13:37:50.953829 I | raft: 8211f1d0f64f3269 became follower at term 2
13:37:50 etcd1 | 2016-03-10 13:37:50.953843 I | raft: newRaft 8211f1d0f64f3269 [peers: [], term: 2, commit: 491, applied: 0, lastindex: 491, lastterm: 2]
13:37:51 etcd1 | 2016-03-10 13:37:51.080931 I | etcdserver: starting server... [version: 2.3.0-alpha.1+git, cluster version: to_be_decided]
13:37:51 etcd1 | 2016-03-10 13:37:51.081159 I | etcdhttp: pprof is enabled under /debug/pprof
13:37:51 etcd1 | 2016-03-10 13:37:51.081247 N | etcdserver: added local member 8211f1d0f64f3269 [http://<IP_ADDRESS>:12380] to cluster 7230e3513973170f
13:37:51 etcd1 | 2016-03-10 13:37:51.081325 N | etcdserver: set the initial cluster version to 2.3
13:37:51 etcd1 | 2016-03-10 13:37:51.294675 I | storage: cannot commit tx (write infra1.etcd/member/snap/db: no space left on device)
13:37:51 etcd1 | Terminating etcd1

Possible (partial) solution: introduce a tiny quota layer to storage or backend that checks the db size before submitting a put.

duplicate with https://github.com/coreos/etcd/issues/2393?

Similar but not quite the same. This one is both limiting storage space utilization and being able to start in case of ENOSPC.

@xiang90 My thinking was some sort of recovery/maintenance mode. It could reject puts but still serve gets, compactions, defrags, and deletes.

@heyitsanthony Will this node continue participating raft or it will just ignore all raft requests? How will this affect raft layer?

I don't think the node would be capable of participating in raft. For the multi-node case the enospc node could throw away its data and reload via raft snapshot once some keys have been deleted (but maybe this should require user-intervention since it's sort of risky). For single node case, the deletes could go through as normal.

Related https://github.com/coreos/etcd/issues/8935#issuecomment-350977222.


CRUD Filters, Query translation into simple filter?

Hi all,
I am trying to do a simple filter which will return results.
At the moment the model I am using has 3 appended values one of which is "free_places" I have tried to use:
$this->crud->addClause('where', 'free_places', '>', 0);
This doesn't work I get an error about free_places not being a field in the table (and it isn't) but it is set via a model attribute and I am able to use this as a column value within the crud itself just not on the filter.
So the next thing I tried was to set the filter up to do a join query within the filter itself using the similar code that the model function uses but this isn't so simple because this is a raw DB query as eloquent doesn't offer whats needed to do this with eloquent.
So my question is I have been able to get the results I would want to be displayed by the table using the following query.
$flights = Flight::select('flights.*')
                 ->leftJoin('bookings', 'flights.id', '=', 'bookings.flight_id')
                 ->selectRaw('COALESCE(sum(bookings.places_booked),0) as places_booked')
                 ->groupBy('flights.id')
                 ->havingRaw('COALESCE(sum(bookings.places_booked),0) < flights.max_passengers')
                 ->with('bookings')
                 ->get();

But how could I attach this to a filter for use with the crud?
If anyone can assist I would appreciate it.

If you mean https://laravel-backpack.readme.io/docs/filters#section-adding-a-filter then I'd add a model function that does what you need (you've already written it above) and then:
$this->crud->addFilter([ // add a "simple" filter called Draft
  'type' => 'simple',
  'name' => 'draft',
  'label'=> 'Draft'
],
false, // the simple filter has no values, just the "Draft" label specified above
function() {
    $this->crud->query = $this->crud->query->where('draft', '1');
    // PUT THE COMPLICATED LOGIC INSTEAD OF THAT ^^ //
});

Thanks! I was about to type a long reply about why it wasn't working but then I realised what you were trying to explain to me and it works like so:
    // Free Spaces.
    $this->crud->addFilter(
        [ // simple filter
            'type'  => 'simple',
            'name'  => 'space_available',
            'label' => 'Space Available'
        ],
        false,
        function () {
            // if the flight has space available
            $this->crud->query = $this->crud->query->select('flights.*')
                             ->leftJoin('bookings', 'flights.id', '=', 'bookings.flight_id')
                             ->selectRaw('COALESCE(sum(bookings.places_booked),0) as places_booked')
                             ->groupBy('flights.id')
                             ->havingRaw('COALESCE(sum(bookings.places_booked),0) < flights.max_passengers')
                             ->with('bookings');
        }
    );

Again thanks a lot for all the help.


error: download is not a function

I don't know how to describe it properly, and neither do I have a MRE.
But it seems that if the main function is called "download", that creates an error as described in the title.
I have renamed your function to something else (e.g. "downloadit") and then it worked.
No idea what might be triggering this error (I am using OS X version 10.9.5 and Chrome Version 64.0.3282.167), but I hope this might be of help somehow.

I've the same issue, using NPM to install downloadjs.
// Downloadjs
window.download = require("downloadjs")(data, strFileName, strMimeType);

end the result is
Uncaught (in promise) ReferenceError: download is not defined

Actually, that was my bad. I had another object called "download" in the global space (that I had forgotten about, and that cased the error in my case. Which explains why it worked when I renamed the function. Sorry for the noise, great library.


Check for enabled RBAC on the cluster

It is possible for a cluster to be created in AKS with RBAC disabled. In
order to warn a user that a particular cluster has RBAC disabled, the
status is fetched from AKS on import (and assumed true on create because
true is the default).
Issue:
https://github.com/rancher/rancher/issues/27670

I think a better approach than adding a new parameter that doesn't have any functional use is to have the UI call /meta/aksClusters and look up the cluster that way:

Which I guess is what https://github.com/rancher/rancher/pull/33209 is doing

@cmurphy It does "work" in that you can import the cluster and things seem fine. I haven't poked around it too much.
We are waiting to hear back as to whether https://github.com/rancher/rancher/pull/33209 is enough (I hope that it is) or whether we need this. Ultimately, the new parameter on the GKE config object is so a parameter can be added to the cluster object, which then can be used by the UI to display a warning about RBAC being disabled.

Both could work right ? You'd want the list check for registering either way. Then its just whether the cluster page itself would use this or use the list call.

@cbron Yes, this enables the "continuous" message on the cluster view. The rancher/rancher PR integrates these changes, as well as including RBAC status when listing clusters for registering.


⚠ Bofrost.be has degraded performance

In 7955d2c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 953 ms

Resolved: Bofrost.be performance has improved in b9742b6 after 6 minutes.


feat: support overviewDepth and subPage overview

Summary

support overviewDepth to control the minimum title displayed in the overview page

[
  {
    "type": "file",
    "name": "react-apis",
    "overviewDepth": "h2"
  },
  {
    "type": "dir",
    "name": "ui-props",
    "label": "css.ui-props",
    "overviewDepth": "h1",
    "collapsible": true,
    "collapsed": true
  },
]

support subpage overview by writing a file with the same name as sidebar in the upper folder of sidebar with frontmatter

---
overview: true
---

Or writing a index.mdx in the siderbar dir folder with frontmatter and register it in _meta.json

Related Issue

Checklist

[x] I have added changeset via pnpm run change.
[x] I have updated the documentation.
[x] I have added tests to cover my changes.

!canary

Is overviewHeaders instead overviewDepth a better choice? We can support the following config:
{
  "overviewHeaders": [2, 3]
}

The overview config may be supported in frontmatter:
---
overviewHeaders: [2]
---

Refer extractApiHeaders in vuepress https://vt.insx.dev/api/config-frontmatter.html#extractapiheaders

!canary

🎉

👏


Schedule stack

results of me stabbing at a schedule stack while watching the walking dead
before:

after:

driving to work today i was telling myself there's 0 value in the mixed media queries i employed in my PR. i should have just followed the mobile first strategy through and through. aka, no max-width media queries. SO YES! it was a mistake to mix those up, and the work could definitely all be done with min-width. Thanks for the confirmation 👍

fixed!


Add timer to UI to show how long application has been running

Add total time to bottom of UI. Total time must be reset to 0:00 each time stop is pressed.

Timer has been added. Time is also added to text alert function within settings to allow remote users to determine how long their miner ran.


I can't compile(for Android)

Describe the problem
I can't compile(for Android)
Reproduction

Step 1. Clone repository

git clone https://github.com/cometchat-pro/flutter-chat-app

Step 2. Change const Strings.(appId, authKey, region)

flutter-chat-app/lib/constants.dart

Step 3. Error

> flutter run
Launching lib\main.dart on ONEPLUS A5010 in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1770, 26): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1786, 30): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1810, 30): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1830, 30): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1847, 30): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\cometchat-3.0.1\android\src\main\kotlin\com\cometchat\pro\CometchatPlugin.kt: (1865, 34): Type mismatch: inferred type is String? but String was expect* What went wrong:
Execution failed for task ':cometchat:compileDebugKotlin'.> Compilation error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 16sRunning Gradle task 'assembleDebug'...                             16.8s
Exception: Gradle task assembleDebug failed with exit code 1

Environment

Windows 11 64bit

> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.3, on Microsoft Windows [Version 10.0.22000.469], locale ja-JP)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2021.3)
[√] VS Code (version 1.68.1)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

Hi this is a issue related to kotlin version update, we are working on the fix and will update you as soon as this is resolved
meanwhile you can fix it by replacing all occurrence in cometchatplugin.kt:
result.error(e.code!, e.message, e.details)
with
result.error(e.code!!, e.message, e.details)
Sorry for the inconvenience


replace with URLSearchParams

Probably when IE catches up; not usable quite yet at the moment - https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

Annnnd, it still hasn't caught up :/

Booyah, implemented last month https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8993198/ — should be included in a soonish Edge build. Probably can start using this around this time next year :D


Publish v3.1.0 spec in CocoaPods/Specs repository

@tbaranes the v3.1.0 release is not yet available via CocoaPods, can you publish the podspec?

I lost my access to the trunk and not losing cocoapods anymore in my projects. I suggest you targeting a tag or a branch directly

Okay, no problem. Thank you for your quick response!


pytorch_lightning.utilities.exceptions.MisconfigurationException

As I was executing the command "python3 guidance/train_qm9_regressor.py +experiment=regressor_model.yaml", an error message "pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler ExponentialLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler." occurred.

I'm wondering if I installed the wrong version of Pytorch (2.0 with CUDA 11.8) and Pytorch-geometric.
Is it possible to solve this by downgrading the version of Pytorch or some other module? Thanks.
[Update 1]
As I tried to train a regressor after installing the guidance version according to the instruction (with Pytorch 1.11+CUDA11.3) of readme, a runtime error occurred: RuntimeError: object has no attribute sparse_csc_tensor

[Update 2]
With Pytorch 1.10+CUDA 11.1, another error occurred as I tried to train a regressor after installing the guidance version according to the instruction: AttributeError: module 'distutils' has no attribute 'version'

I found the common solution is downgrading the version of setuptools, but if I try to downgrade the version of setuptools to <=59.5.0, running the code "train_qm9_regressor.py" will lead to "Segmentation fault (core dumped)"......
Is there anything else I can try? Thanks.

Hello, the code was developed with torch_geometric==1.7 and cuda=11.3.
You can try to downgrade to these versions. Before doing that, check that the segmentation fault is not related to the same problem as https://github.com/cvignac/DiGress/issues/48.

I have tried the latest version of Pytorch, Pytorch Geometric, and Pytorch lightning equipped with CUDA 11.8, and solved this error after considerable modifications. Thanks.


[Bug report] Missing files needed for import tutorial: netcon.inc and ofc.ink

Need to update import tutorial to include links to these mod files: netcon.inc and ofc.ink

I added the links to the tutorial and rebuilt the website.


Help with formatting issues when embedding gists?

Hello,
Love this theme, and use it on my 7 Minute Security podcast site: https://7ms.us.  However, on several of my pages, such as https://7ms.us/webinars/, I embed Github gists, and when I do the formatting gets messed up and I have to highlight text to actually see it:

Is there some CSS, etc. I can use to fix this formatting issue?
Thanks,
Brian

Hello @braimee,
For some reason, the titles in the gist is inheriting the theme title colors. When the theme is in dark mode, the title colors turn into white and it's invisible on white background.
The easiest fix would be adding explicit color to titles inside the gist. For example,
.gist :is(h1, h2, h3, h4, h5, h6) {
    color: #1a1a1a;
}

@minimaluminium thanks for the advice!  Sorry for the newb question but would you mind providing a bit more direction on where to stick this code?  I read articles like this one and am thinking there are some import statements I need to make at the top of the gist, but not sure which ones.

@braimee I'm not very familiar with customizing gist, but you can simply insert the CSS in Settings > Code injection > Site Header in your Ghost admin. It should be wrapped in <style> tag.
<style>
    .gist :is(h1, h2, h3, h4, h5, h6) {
        color: #1a1a1a;
    }
</style>

That worked thank you!


[DOCS] Update VideoPlayer classref

Added WebM support in addition to Theora.
Filled in missing descriptions.

Cherry picked into 3.0.3


Fix bicep build for visual studio

Fix bicep build for visual studio

FYI @bhsubra I've checked in #8567 to convert integration test failures into success, so that we can re-enable the "Required" check. Please could you investigate fixing the integration tests and removing this configuration?

Disabled steps:
https://github.com/Azure/bicep/blob/3c03c5181cb119f2d2b0eda72f3332d4b9b2e969/.github/workflows/build.yml#L286-L288
And:
https://github.com/Azure/bicep/blob/3c03c5181cb119f2d2b0eda72f3332d4b9b2e969/.github/workflows/build.yml#L298-L300

@StephenWeatherford / @stephaniezyen -- I see this is marked as "done", but linked to a draft PR. Can one of you confirm the status of this one?


The talking head speaks at silence parts

Hi,
it's me again.
I have successfully train a talking head using your repo.
However, I noticed there are some bad cases: when the audio is actually silent, the lips of talking head still move and open mouth.
Any insights about this? thanks.
Setup:

dataset used for training: 30 hours

Hi, thanks for your interset
maybe you can refer to this issue

Thanks.


Feature/struct type refactor for improved performance

Do not recalculate Maps in StructType on every modification.

See associated issue: https://github.com/TrueCar/mleap/issues/1

Note, this PR is not ready yet, still need to add in tests for it.

Done adding tests, please review.


Posting to /catalog returns not implemented

I got metacat running on my computer, and then I sent a post request to /catalog and it always come back as 201 not implemented. Inside the createCatalog method, the only code there is

throw new MetacatNotSupportedException("Create catalog is not supported.");

Was this by design and is there another way of creating a catalog?

Metacat does not support on-demand adding of catalogs. You could add the catalogs for your data stores as defined under https://github.com/Netflix/metacat/tree/master/metacat-functional-tests/metacat-test-cluster/etc-metacat/catalog. You can use these catalog property files as an example.


FirebaseScreenCaptureProcessor fails to create /sdcard/screenshots in API 29 devices due to scoped storage

Sample error :
09-07 20:18:56.627: E/ScreenshotWatcher(25480): Failed to capture screenshot
09-07 20:18:56.627: E/ScreenshotWatcher(25480): java.io.IOException: The directory /sdcard/screenshots does not exist and could not be created or is not writable.
09-07 20:18:56.627: E/ScreenshotWatcher(25480): 	at androidx.test.runner.screenshot.BasicScreenCaptureProcessor.process(BasicScreenCaptureProcessor.java:72)
09-07 20:18:56.627: E/ScreenshotWatcher(25480): 	at androidx.test.runner.screenshot.ScreenCapture.process(ScreenCapture.java:144)
09-07 20:18:56.627: E/ScreenshotWatcher(25480): 	at com.atlassian.android.jira.core.testutil.rule.ScreenshotWatcher.captureScreenshot(ScreenshotWatcher.kt:29)
09-07 20:18:56.627: E/ScreenshotWatcher(25480): 	at com.atlassian.android.jira.core.testutil.rule.ScreenshotWatcher.failed(ScreenshotWatcher.kt:19)
09-07 20:18:56.627: E/ScreenshotWatcher(25480): 	at
Cause : https://developer.android.com/training/data-storage#scoped-storage
Temp fix : https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage
Starting with Android 11, ^ workaround will stop working.

Starting with Android 11, ^ workaround will stop working.

Hi @sushantchoudhary @eduardbosch
What does this mean exactly? I am getting this error in Android 11. How can we get screenshots displayed in Firebase Test Lab reports in Android 11?
Thanks

I was able to grant my test runner access to the /sdcard/screenshots directory in Android 11 by using the ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION intent. See https://stackoverflow.com/a/66968986.
I then used UiAutomator to grant the permission in the settings activity that appears.

The workaround is not working for me..


Add embed::poll(embed::timeout, polling_function)

Provides a utility that polls a function until it either indicates that it has completed its work or , then the function throws embed::error::timeout, otherwise it returns success.

I can help with this one

Does this belong in libembeddedhal/timeout.hpp ?

Yes, it should be in timeout.hpp

What's polling_function's signature? boost::leaf::result(void) ??

boost::leaf::result<void> type can be used to indicate success or if an error was thrown. embed::poll executes a polling_function until it is either finished, successful poll, or until the timeout times out, return boost::leaf::new_error(embed::error::timeout{}).
I'm not sure when poll would return true/false otherwise.

Oh sorry, I misread this. The polling function should return boost::leaf::result where the success value of false means that the polling function has not yet finished its work, true means its work is finished and an error will be transmitted upwards.


Place for communication?

Is there a slack, discord, discourse or other form for communicating about this project? I'd love to help contribute to this project but my skills aren't very good in ML. I was wondering if I could assist with a CI/CD system or help with creating a grid search for hyperparameter searching.

Hi,
Great idea, I just created a server discord here.
Any help is welcome. I was also thinking of including tests but I haven't had time yet.
About hyperparameter searching, I'm using this but it is clearly not the best way to do it.

Great. Thanks :-)


nvlink fatal : Value 'sm_80' is not defined for option 'arch'

Description
I have a problem running jax with CUDA on a workstation with A100 GPUS.
I have created a conda environment with python 3.9 and installed jax as described:
pip install --upgrade pip
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

However, when using any jax function, for example:
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "2"
import jax
jax.random.PRNGKey(42)

I get the following error message:
jax._src.traceback_util.UnfilteredStackTrace: jaxlib.xla_extension.XlaRuntimeError: INTERNAL: nvlink exited with non-zero error code 256, output: nvlink fatal   : Value 'sm_80' is not defined for option 'arch'
What jax/jaxlib version are you using?
0.4.13+cuda11.cudnn86
Which accelerator(s) are you using?
A100 GPU
Additional system info
Linux
NVIDIA GPU info
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02    Driver Version: 525.89.02    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA A100-PCI...  Off  | 00000000:27:00.0 Off |                    0 |
| N/A   60C    P0   270W / 250W |  39382MiB / 40960MiB |     97%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA A100-PCI...  Off  | 00000000:28:00.0 Off |                    0 |
| N/A   63C    P0   253W / 250W |  38936MiB / 40960MiB |     99%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   2  NVIDIA A100-PCI...  Off  | 00000000:43:00.0 Off |                    0 |
| N/A   40C    P0    35W / 250W |      2MiB / 40960MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   3  NVIDIA A100-PCI...  Off  | 00000000:44:00.0 Off |                    0 |
| N/A   61C    P0   154W / 250W |  22668MiB / 40960MiB |     59%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   4  NVIDIA A100-PCI...  Off  | 00000000:A3:00.0 Off |                    0 |
| N/A   56C    P0   230W / 250W |  34280MiB / 40960MiB |     98%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   5  NVIDIA A100-PCI...  Off  | 00000000:A4:00.0 Off |                    0 |
| N/A   57C    P0   229W / 250W |  34296MiB / 40960MiB |     98%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   6  NVIDIA A100-PCI...  Off  | 00000000:C3:00.0 Off |                    0 |
| N/A   55C    P0   300W / 250W |  34270MiB / 40960MiB |     99%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   7  NVIDIA A100-PCI...  Off  | 00000000:C4:00.0 Off |                    0 |
| N/A   24C    P0    35W / 250W |  39794MiB / 40960MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+

I think this is the same issue as https://github.com/google/jax/issues/16586. Can you try the workarounds in https://github.com/google/jax/issues/16586#issuecomment-1630817089 ?

I think this is the same issue as #16586. Can you try the workarounds in #16586 (comment) ?

Thanks, solved the issue!


accept mutiple hours ranges

this patch allow configuration like below:
InBusiness.hours = {
  monday:    '07:00'..'24:00',
  tuesday:   ['00:00'..'01:00', '07:00'..'24:00'],
  wednesday: ['00:00'..'01:00', '07:00'..'24:00'],
  thursday:  ['00:00'..'01:00', '07:00'..'24:00'],
  friday:    ['00:00'..'01:00', '07:00'..'24:00'],
  saturday:  '00:00'..'01:00'
}

or
InBusiness.hours = {
  tuesday:   ['11:00'..'14:00', '17:00'..'21:00'],
  wednesday: ['11:00'..'14:00', '17:00'..'21:00'],
  thursday:  ['11:00'..'14:00', '17:00'..'21:00'],
  friday:    ['11:00'..'14:00', '17:00'..'23:00'],
  saturday:  '11:00'..'23:00',
  sunday:    '12:00'..'20:00
}

I did not make any changes to the test code . And I have failed three tests does not change before and after I make changes to the product code . This is probably due to the timezone of the environment in which the test is performed ( I'm running a test in the JST), I believe it's okay to merge this patch .

@wtnabe Great addition! I'll get some specs working on this and will get it merged ASAP.


Support multiple host names for istio ca grpc server.

#4805 Step 1.
Define a new flag to support a list of grpc hostnames, comma separated string. Current default value is "istio-ca" to preserve the existing behavior.
@mangchiandjjoe @wattli

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: wattli
Assign the PR to them by writing /assign @wattli in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS

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

@incfly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
aa9df890a5ee55c583d88c727cdf8bf09fda642a
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/approve
/lgtm

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

Needs approval from an approver in each of these files:

security/OWNERS [myidpt]

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

New changes are detected. LGTM label has been removed.

@incfly: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@incfly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
890e39809a0a3f88b1070af103f1e7d9865bba03
link
/test istio-unit-tests

prow/istio-presubmit.sh
890e39809a0a3f88b1070af103f1e7d9865bba03
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve

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

Needs approval from an approver in each of these files:

security/OWNERS [myidpt]

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

New changes are detected. LGTM label has been removed.

/lgtm
/approve

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

Needs approval from an approver in each of these files:

security/OWNERS [myidpt,wattli]

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

New changes are detected. LGTM label has been removed.

@incfly: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@incfly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4f947d3df02ba288ece59fdc5c1d226669bba83c
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@incfly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4f947d3df02ba288ece59fdc5c1d226669bba83c
link
/test istio-unit-tests

prow/istio-presubmit.sh
4f947d3df02ba288ece59fdc5c1d226669bba83c
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@incfly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
4f947d3df02ba288ece59fdc5c1d226669bba83c
link
/test istio-presubmit

prow/istio-unit-tests.sh
cd1c37ab851552cba188762aaf29e3e6856bdb62
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@incfly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
cd1c37ab851552cba188762aaf29e3e6856bdb62
link
/test istio-unit-tests

prow/istio-presubmit.sh
cd1c37ab851552cba188762aaf29e3e6856bdb62
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

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

Needs approval from an approver in each of these files:

security/OWNERS [myidpt,wattli]

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


GetBalance is limited to long.

We return the type long from the method GetBalance.
This means that we can't return a balance larger than<PHONE_NUMBER>854775807 Wei which is equivalent to just above 9 Ether.
We should consider using a type that can hold larger numbers. There are some different options.
ulong
ulong can hold equivalent to just above 18 Ether which is better, but still just pushes the problem a tiny bit.
decimal
decimal can hold whole numbers equivalent to around<PHONE_NUMBER>0 Ether which is much better. The drawback is that decimal can also hold numbers that are not whole which might confuse people who use the project. decimal was created specifically for work with currencies, but the high precision in cryptocurrencies might not be suitable for this.
BigInteger
BigInteger can hold arbitrarily big whole numbers. The problem with BigInteger is that it does not play as nice with other types like decimal, float, etc. as it doesn't do implicit conversions when used in common operations like multiply, divide, add, subtract, etc.
Conclusion
I think the best option is BigInteger. Other libraries that work with cryptocurrencies also use this.
If you would like this change, then I can make a PR.

Good find and yes, I agree with your conclusion. BigInteger seems like the best option. A PR is welcome of course, thanks!


How to prevent process the  request multitime if both routes match

I have two url routing ,
1.
@Get("posts/news")
news(){}
2.
@Get("posts/:id")
byId()
both function will entered if the request url  is "posts/news", I just want news  is called

Duplicate of #213.
Routing controllers will match both routes because your items/:itemId route will match alphanumeric characters and all is alphanumeric. What you want is to change it to @Get('items/:itemId([0-9]+)') to explicitly expect numerical ids.
So it would look like:
@JsonController()
export class ItemController {

  @Get('items/:itemId([0-9]+)')
  getItem(@Param("itemId") itemId: number) {
      log.info("/items/:itemId")
      return {message: "/items/:itemId"};
  }

  @Get('/items/all')
  getAllItems() {
      log.info("/items/all")
      return {message: "/items/all"};
  }
}

but I have the case below,
app.post('/channel/a', func)
app.post('/channel/:others', func)

in express router , I just put it in order and works ok.
but in routing-controllers，
as you say ,I should do like this
@Get(/channel/:others(^(?!a)$))

but the regexp not work, any ideas ?

Yes, you have to exclude the /channel/a route, because routing-controller will trigger all matched route handler.

I use the regexp below
@Get(/channel/:others((?!a)[0-9a-z]+)
func(@Param('others') others:string){
}

"/channel/a" is excluded ,
but when "/channel/b" is called , it throws the error : Parameter "others" is required for request on GET "/channel/b".
Param decoractor not works?

@NoNameProvided
We really should fix it but as it will stop after middlewares working, we should discuss new API for middlewares-like thing with enhanced interceptors. So one big breaking change that fix all the issues 😃

Do you have a plan to fix it?


Embedded YouTube Videos Do Not Display When Clicked

Embedded YouTube videos do not appear as expected when users click on the video preview in the Desktop and Android/iOS apps (i.e., users just get a black screen).  This occurs in version 2.3.3 of the Desktop app and version 15.0.92 of the mobile app.  This issue does not occur when logged in via web browser.

We have explicit code in the webapp for Youtube videos that involves reading data-id from an image with the youtube-video class on it in the static/js/lightbox.js code, so probably we need to replicate that in the app.

Thanks for the report!
(It looks like the desktop side of this is https://github.com/zulip/zulip-electron/issues/537 , which they believe is fixed in master.)


Presenter.detachView(): Add info if view has been destroyed because of screen orientation changes

It would be nice if the presenter gets also information about the reason why the view gets detached:

Detached because of screen orientation changes
Detached because Activity has been finished

Activity.isChangingConfigurations() could be used to distinguish between this two states.
https://developer.android.com/reference/android/app/Activity.html#isChangingConfigurations()
However, it's not clear if that could be used for Fragments as well nor if there is a way to use that for presenters associated with android.view.ViewGroup

Fixed in version 1.3


Release 0.10.0

I think we've built up enough improvements to do another release. Main things to still go in will be #86 and #88.
If you have apps that use Yaks now's the time to run them against master and report any problems. I already ran our API tests and all seems fine.

I'm currently working on a PR for mapper_for and derive_mapper_from_single_object/collection as defined in #76 and #72. So maybe we could wait until that is done :smile:
mapper_for is not ready yet, but I could create a PR for the other two.

Or we can release 0.11.0 as soon as these are in :) The rate of releases has been slowing down, and we have plenty of new goodness for the world to see.
In general you're always welcome to make a PR, even if things or not 100% finished yet. It's a good way to get feedback.

We could also do that :wink: I'll open a PR then!

0.10.0 has been released :tada:

The previous release was two months ago, and a lot has happened since, so it really was about time.
If the current pace of development keeps up I'd like to release every four to six weeks.
Thanks a lot @groyoh @janko-m @danelowe @chastell @mifix ! It's really great to have you around.

Best gif yet!


active_for_authentication? change causes inconsistent results

I'm using devise 3.4.1, devise_invitable 1.4.1, ruby 2.0.0, rails 3.2.16, rspec 2.14.1.
I'm having issues with update 96e9d33 re. issue 503.
A. Tests that used to work with devise_invitable 1.3.4 now fail with this message:
An error occurred in an after hook
  ArgumentError: uncaught throw :warden
  occurred at /home/myuser/.rvm/gems/ruby-2.0.0-p598@myproject_rails3216/gems/devise-3.4.1/lib/devise/hooks/activatable.rb:8:in `throw'

I tracked this down to the behavior of the login_as helper. Before, it could sign in a user even with a pending invitation. The workaround is to first manually set a password and call accept_invitation!, then sign in. Not a big deal but I was surprised by the uncaught throw.
B. In development mode, I never see the new inactive_message, even after adding it to my custom config/locales/devise_invitable.en.yml file. (By default, the message reads, "You have a pending invitation, accept it to finish creating your account."). If an invitation is pending and I try to log in, I just get the normal "invalid email or password" message.
As best I can tell, this is because Devise first authenticates the username and password, then checks active_for_authentication?. (See the comments in the Devise source code, "After authenticating a user and in each request, Devise checks if your model is active by calling model.active_for_authentication?.") When an invitation is pending, password validation will fail, so it doesn't get as far as calling active_for_authentication?. If you want to check a condition before validating the password, you'll probably have to override valid_password? as devise_invitable did previously.
C. Most confusing to me is that in my features spec, the change does work. The devise_invitable\model#active_for_authentication? method is called before the devise database_authenticatable#valid_password method, so I do see the new message in the test.  I have no explanation for why the sequence of calls is different between my test and development environments.
Is this all just me or do others see similar issues?  Are there tests to confirm that this works as expected?
GitHub

You are right, I have added a test for this case (sign in with invited user) and "invalid email or password" is displayed.
active_for_authentication is called in after_set_user warden callback, and it may be called only when password is valid (which is not possible in invited users unless password is set because you have changed behaviour to set password on invite).
So I will revert to override valid_password? as it did previously, and try to get a different message when trying to sign too.

Thanks for the quick solution!


filer can't run with default filer.toml

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Report issues here. Ask questions here https://stackoverflow.com/questions/tagged/seaweedfs
Please ask questions in https://github.com/seaweedfs/seaweedfs/discussions
example of a good issue report:
https://github.com/seaweedfs/seaweedfs/issues/1005
example of a bad issue report:
https://github.com/seaweedfs/seaweedfs/issues/1008
Describe the bug
create filer.toml with command: /usr/local/bin/weed scaffold -config filer -output="/etc/seaweedfs"
the filer service can't start with error: F0808 17:39:03.431692 config.go:55 Reading /etc/seaweedfs/filer.toml: While parsing config: toml: basic strings cannot have new lines
goroutine 1 [running]:
then I use the simplest  filer.toml config, it works well.
System Setup

List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".
/usr/local/bin/weed -logdir=/seaweedfs/log/filer filer -port=8888 -master=localhost:9333
OS version Rocky/Centos 8
output of weed version: 3.7.1
if using filer, show the content of filer.toml

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

fixed in 2074e7db67e7c24d51a951689aab1c260e823127

default filer.toml file，On line 288, the ssl_key_file is missing a double quotation mark. It should be ssl_key_file = "".

default filer.toml file，On line 288, the ssl_key_file is missing a double quotation mark. It should be ssl_key_file = "".

default filer.toml file，On line 288, the ssl_key_file is missing a double quotation mark. It should be ssl_key_file = "".


🚀 Feature Request: allow build step for wrangler dev

Describe the solution
For frameworks like Astro, the project first needs to be built prior to wrangler dev being able to mount the project and provide its wrapper services (like D1). There's some work with Astro happening now to manually replicate parts of wrangler inside of astro dev so that wrangler isn't needed (https://github.com/withastro/astro/pull/8654). However I worry this might be a fragile solution as the CF services and wrappers are bound to change over time.
One possible solution to allow wrangler to auto rebuild from a host framework on changes:
wrangler dev --watch --exec astro build
Alternatively, would it be possible for astro dev to use wrangler as a JS API for injecting the services and environment info?
I'm not involved in any of this active development, but I wanted to raise this up as a framework interoperability challenge.

I'm the maintainer for Astro, working on the integration of the mentioned support. I'd like to provide some clarity on our approach.
To begin with, we aren't manually replicating wrangler. Instead, we leverage workerd and miniflare, that are also utilized by wrangler. While we currently extract certain logic to implement config file parsing, our preference would be to fully utilize an API. We've opened a request to discuss this further.

A potential solution to enable wrangler's automatic rebuild when the host framework detects changes:
wrangler dev --watch --exec astro build

While a similar functionality is achievable today, our goal is to seamlessly integrate it with the vite dev server. This would eliminate the need for a complete project rebuild every time there's a change.

Alternatively, would it be possible for astro dev to use wrangler as a JS API for injecting the services and environment info?

As previously highlighted, we're already leveraging APIs for integration. @jadbox, could you clarify your suggestion and how it might differ from our current approach?

Thank you @alexanderniebuhr, you have far more context than on so perhaps I have only stirred up dust by opening this. I'll go ahead and close this issue.


Update dependencies, cleanup irrelevant template comments, remove .idea from the project

@Spikhalskiy while we updating, in main readme (bottom) should we not switch the text to have user start the worker before the workflow?

@tsurdilo but the whole point of the tutorial is that we start the workflow before the worker.

@tsurdilo that's why I really thing that we should add a section where we explore the UI AFTER the worker made it's job.

@Spikhalskiy oops  sorry :) proceed then . +1


499 Fix CLI and web-ui links in introduction

Closes #499
@EduardoAC could you please review?

👍

👍


Dynamic repository checkout doesn't work with /updateassemblyinfo

When using dynamic repository checkouts with the executable, /updateassemblyinfo doesn't update AssemblyInfo files.
From what I can see, it appears as though GitVersion searches the git checkout directory for the AssemblyInfo files (which in this case, is the subfolder containing the dynamic repository) rather than the current or provided working directory.
Happy to do a PR - just wanted to confirm I'm not going crazy first.
cc @JakeGinnivan

I think https://github.com/ParticularLabs/GitVersion/pull/399 will fix this issue.

This is merged to master. If you can try building from master. I don't think I will be able to get a release out tonight, but I will try


Modules pushed off screen don't return

It seems to be related to bug 390, but this does not solve this problem.
First we see a normal top bar

On the second, one of the widgets gets too wide and pushes the right side out of the screen

On the third, the widget became normal, but the right side is still pushed off the screen

Can you share your config? :)

Yes)
conf
style
Running command in sway config:
bar {     swaybar_command waybar -c ~/.config/sway/waybar.conf -s ~/.config/sway/style.css }
These are just bash scripts that display information using echo.
Here you can find scripts

I'll check, in the meantime you can use 'max-length' settings for modules that have pretty big output :)

Yes, maybe, but I have laptop with small display 1024x600 and a lot widgets)
This is not critical, just sometimes a little annoying when I need to restart the session)
I hope for some solution) Thank you)

It looks like this problem has been fixed. In version 0.9.2 it works fine.
Thanks!)


Mesa route switching

Add route switching to Directed Messaging.  Also refactor congestion control as needed.
Route switching means being able to switch between the indirect route that goes through the publisher's galaxy and the direct route to the publisher.

punchlist (to be added to):

get packets flowing after cleanup
get basic route switching to work
check on congestion control, does it work right?
make congestion control not forget its state when Arvo re-sends initial packets


Logger support

I think it would be nice to enable some kind of Logging support.

This should now be available via the recently merged instrumentation stuff.


AndroidX migration

Gradle 3.1.2 -> 3.2.1
compile/target SDK 27 -> 28
package version 0.5.6 -> 0.6.0

FYI I pulled this into my fork if you want to use it: https://github.com/MisterJimson/flutter_keyboard_visibility


Allow the users to select multiple values for each filter on Discover

This PR allows the users to select multiple values for each filter on Discover and the homepage.
Testing instructions

You can select multiple values for each filter
You can deselect each value
Once applied, the filters are working and correctly displayed in the “Active filters” list
If you reload the page, the filters are still applied

Tracking
LET-1205

Are we going to include the multiple filters logic to the suggestions? I don't understand if this is a Acceptance criteria for this task.
https://user-images.githubusercontent.com/48164343/195803471-fe67608b-dca4-43f3-8d83-3b1dc03cdbcc.mov

Are we going to include the multiple filters logic to the suggestions? I don't understood if this is an acceptance criteria for this task. Right now it only accepts one filter per type
Screen.Recording.2022-10-14.at.10.42.13.mov

As discussed on the HeCo daily meeting today, we don't need to change this feature, so the PR can be approved and merged


Support testing using mycelium instead of ygg

Describe the solution you'd like

Change the resulting ygg ips from tests to mycelium ips
Install and use mycelium in the integration tests workflow

2-10-2024
Work in Progress (WIP):
We made a generateBasicVM as a template for VMs
we moved use from ygg network to mycelium
we faced failed tests that we will investigate

3-10-2024:
tests passed with running it locally and on CI (on dev network)
updated path of script file in make file and workflow, installed mycelium in workflow
tests which doesn't pass ZDB, QSFS and Wireguared

8-10:
ZDB tests passed
But there is an issue with QSFS deployment

9-10-2024:
tests passed on CI (on dev network) here: https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/11237278197/job/31242332960
also pass when running locally one by one
faced a problem with mycelium connection stability here (examples of fails):

15-10-2024

resolved part of comments we got today ( reporting with error if it happens in creating basic VM or Network)


[HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] Android & iOS - Distance - Icon in the center button is off-centered

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.86-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Launch New Expensify app.
Go to FAB > Submit expense > Distance.

Expected Result:
The icon in the center button will be centered.
Actual Result:
The icon in the center button is off-centered.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @strepanier03

@mountiny FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

Proposal
Please re-state the problem that we are trying to solve in this issue.
Android & iOS - Distance - Icon in the center button is off-centered
What is the root cause of that problem?
We have an extra margin applied to the icon here
https://github.com/Expensify/App/blob/9a6019a4525422618cb0258da0549dd83cbc605c/src/components/MapView/MapView.tsx#L239-L245
which isn't compensated for in this centered icon here:
https://github.com/Expensify/App/blob/9a6019a4525422618cb0258da0549dd83cbc605c/src/components/Button/index.tsx#L245
What changes do you think we should make in order to solve the problem?
We will pass styles.ml1 as iconStyles here:
iconStyles={styles.ml1}

I think this is coming from https://github.com/Expensify/App/pull/43452 @truph01

@mountiny Sure. I am checking it

for now I have created a draft with the suggestion from @neonbhai going to test it on the adhoc build https://github.com/Expensify/App/pull/44117

$50 to @neonbhai for providing the solution

@strepanier03 bump to finish payment here according to https://github.com/Expensify/App/issues/44074#issuecomment-2185943149 and close the issue!

Payment Summary

[ ] $50 to @neonbhai via Upwork (offer)

Thank you @strepanier03. Accepted the offer!


docs: fix typo

Codecov Report

Merging #3109 (0dbd506) into master (dbfb0e6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3109   +/-   ##
=======================================
  Coverage   85.95%   85.95%
=======================================
  Files         290      290
  Lines       52270    52270
=======================================
  Hits        44930    44930
  Misses       7340     7340

Impacted Files
Coverage Δ

datafusion/expr/src/window_frame.rs
92.43% <0.00%> (-0.85%)
:arrow_down:

datafusion/expr/src/logical_plan/plan.rs
77.43% <0.00%> (-0.18%)
:arrow_down:

datafusion/common/src/scalar.rs
84.94% <0.00%> (+0.06%)
:arrow_up:

datafusion/core/src/physical_plan/metrics/value.rs
87.43% <0.00%> (+0.50%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Disable screenshot protection setting if the platform is linux

Because Electron doesn't have content protection on Linux, I think the screenshot protection settings button should be disabled on Linux. Users shouldn't be given an option that they may think provides some security if the option actually does nothing, it's misleading.
Resolves #336

Good call, thank you @spresnal . I created a function to get the proper label.
One issue though is that template[0].submenu[2] is still used in updateScreenshotProtectionItem().

+5 👍🏻


add package:firehose

Adds a publishing automation tool - package:firehose. It's consumed as a github workflow, and:

on PRs, validates pubspec and changelog values and indicates whether the package(s) in the repo are good to publish
on well-formed tags on the default branch, determines the correct package to publish, performs more validation, and runs pub publish as a github action

This is a bigger PR; happy to do this in a few rounds of reviews.