Add a Google Glass Mirror API timeline insertion example

Something along the lines of:
var resource = {
  mimeType: 'image/jpeg',
  // other stuff, see https://developers.google.com/glass/v1/reference/timeline/insert#request-body };
var media = { body: binaryImageContent };

mirror.timeline.insert({
  media: media,
  resource: resource
}, callback);


Add CART token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[ ] logo 尺寸：120*120 px
[ ] logo 背景：透明
[ ] 代币有至少一笔成功的转账记录
[ ] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[ ] .json 和 .png 文件名一致（包括大小写）

项目资料：
团队背景：
Wei Jin
Co-Founder
Mr. Jin is Co-Founder of Crypto.Ai, and has over 10 years of experience in business strategy and project management. Mr. Jin oversees strategic initiatives with specialized expertise in technology. With extensive project management experience, Jin knows well about the E-commerce industry and the online operation of the website and SEO promotion and has strong capabilities in product planning and user experience analysis.
Jinxin Qin
Co-Founder
Mr. Qin is hailed by the media as “Zhang Yimou” in the creative circle and was included in the cultural industry entrepreneurship and creative talent pool of the Ministry of Culture in 2014.
Initiator of the Qianzhu Academy Art Online Education Platform
Co-founder of Art998 Collections
Art director of McCann Erickson
Art director of BBDO
His awards include the 30th Mobius Advertising Awards, the 2001 London International Advertisement Awards, the 2000 Hong Kong International Advertising Creation Awards, the 2002 China’s Top 10 Print Ads, China's Outstanding Advertising Works IAI Yearbook Awards for Best Creative Composition Award, and China's Outstanding Advertising Works IAI Yearbook Golden Award.
Freya Fu
CMO
Ms. Freya Fu is graduated from Boston University and joined CryptoArt this month as CMO.  Before joining CryptoArt, Ms. Fu worked as Client & Marketing Director at RockTree Capital and has over 5 years of experience in international strategy and marketing. In 2015, Ms. Fu co-founded Woyoufan, a social network and technology company similar to Airbnb. Woyoufan’s investors included ZhenFund and Legend Star.
项目基本情况：
CryptoArt.Ai是目前亚洲最大的去中心化NFT加密数字艺术品交易平台，基于以太坊ERC-721协议，集NFT生成、销售、拍卖、收藏、转让为一体。
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 80000）

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[ ] logo dimensions: 120*120 px
[ ] logo background: Transparent
[ ] At least one transaction on the token contract
[ ] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[ ] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement:
Project team background:
Project basic information:
Media publications:
Tradeable exchanges:
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

该项目存在较多不实信息，无法合并。


Toggle Desktop 7.3.319 for Mac crashing on startup

After updating Toggle via App Store it keeps crashing on startup (won't start).
I already tried resetting App settings by deleting Folder ~/Library/Containers/com.toggl.toggldesktop.TogglDesktop without success.
Toggle Desktop 7.3.319 for Mac (OS X 10.9.5)
Console log:
24.05.16 10:19:50,000 TogglDesktop[28887]: dyld: lazy symbol binding failed: Symbol not found: _OSAtomicIncrement32
  Referenced from: /Applications/TogglDesktop.app/Contents/MacOS/../../Contents/Frameworks/libPocoData.31.dylib
  Expected in: /usr/lib/libSystem.B.dylib
24.05.16 10:19:50,000 TogglDesktop[28887]: dyld: Symbol not found: _OSAtomicIncrement32
  Referenced from: /Applications/TogglDesktop.app/Contents/MacOS/../../Contents/Frameworks/libPocoData.31.dylib
  Expected in: /usr/lib/libSystem.B.dylib
24.05.16 10:19:50,709 com.apple.launchd.peruser.501[292]: (com.toggl.toggldesktop.TogglDesktop.104752[28887]) Job appears to have crashed: Trace/BPT trap: 5
24.05.16 10:19:50,980 ReportCrash[28888]: Saved crash report for TogglDesktop[28887] version 7.3.319 (7.3.319) to ............................

Thank you for the details. We'll look into this. In the mean time I'd suggest you downloading the version from our website. https://support.toggl.com/toggl-on-my-desktop/

Have not seen any other feedback on the issue. Will close.


Feature request. Make it possible to use template for the name.

I'm using this card and I'm very happy with it, but one thing is missing for my use cases.
I want to show name on the bar card that is stored in some other `input_text, but I can't find a way to do it. I've tried using a template:
      - type: 'custom:bar-card'
        entities:
          - entity: sensor.water_filter_1_usage
            name: '{{ states(''input_text.water_filter_1_name'') }}'

but this just shows the text as-is:

What do you think about changing the logic for the name field? To allow entering templates there?

This card currently doesn't support templating, however you can use config-template-card. This card allows you to use templates on any card for any config entry.

This would be very usefull. Can someone implement it or is this project abandoned?


mrc-4260 dockerise api

Do the very simplest thing to dockerise the app - use the built in bootBuildImage gradle task to create a docker image on CI, then smoke test and push the image.

Is it ok for the smoke test to be getting a 404? https://github.com/mrc-ide/packit/actions/runs/5003712478/jobs/8965289792?pr=16#step:11:58

Hmm, well I guess technically it means the app is running, but no not ideal. Will make it more precise!


Invariant Violation running the doc server

I'm trying to run the doc server.  After npm install && npm install -g gulp && gulp I get the following in the browser:
Uncaught Error: Invariant Violation: EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.

It looks like this was addressed in f2ffd5c40efeacb8467843e9e878e3c706dc3926 (#194 fixing #193).
I just needed to npm prune to get the doc server working.  Apologies for the noise.


Background token renewal

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[X]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
Currently there is no background token renewal, the client code has to call acquireTokenSilent whenever it needs tokens and if the cached token has expired, MSAL will refresh it
However, this creates an experience where if a user is inactive long enough for the cached token to expire, and then starts using the app, making api calls, the first call is blocked until the token renewal happens.
This token renewal could have been done in the background without the user knowing
Is there a reason why this library does not do this? We are thinking of rolling our own background token renewal using setInterval and checking the token expiry time but it would be great if this feature was built in
Thanks!

@thoo1 The library does not work this way in part because of the load that would put on Microsoft's services if every application was silently renewing tokens on some sort of schedule (as you describe). Furthermore, silent requests/renewals are not guaranteed to succeed, and so it could create a poor UX in your application if not handled correctly.
Please also note that if the same user makes too many requests in a short period of time, our services will return Invalid Grant errors (AADSTS50196). While the threshold for this is pretty high, automatically renewing tokens increases the likelihood of this happening, especially for apps that need a non-trivial number of access tokens.
All that said, we have no plans to include this in the library, and do not recommend client applications implement this logic themselves.

Closing, as no further action at this time. Feel free to let us know if you have further questions.


Bump Rancher to v2.8.2 and RKE2 to v1.26.13+rke2r1

Bump Rancher to v2.8.2 and RKE2 to v1.26.13+rke2r1.

issues: https://github.com/harvester/harvester/issues/5048, https://github.com/harvester/harvester/issues/5089


Behaviour for non-group deliverables

When making a deliverable if I do not select "Students Make Teams" then, in the student view in portal:

Current behaviour: the deliverable appears as an option in the dropdown, but team creation is never actually successful (there's an error message)
Desired behaviour: the deliverable does not appear as an option in the dropdown

This is already implemented for the default provision/release functionality:
https://github.com/ubccpsc/classy/blob/master/packages/portal/frontend/src/app/views/AdminConfigTab.ts#L99


[WIP] Component tests for BWFilter and SepiaFilter.

This adds component tests for BWFilter and SepiaFilter, for both the GD
and Imagick	backends. These tests execute the conversion and compare the
results to reference images, rather than just mocking out the relevant
backend function calls.
Writing these tests exposed an additional weakness, namely that GD and
Imagick output quite different images. For now, I have made this
apparent by introducing a pair of reference images. It would be nice to
alter the implementation of one of the backends so that the output was
more consistent across both.

Nice! I'll add these for the Gaussian filter as wel!

We still need to work a bit more on this, it would be nice to make sure the filter gets a specific result but I think it won't be a easily scalable solution unfortunately... as we saw, different versions of Imagick will give different image results.

@erikaheidi sure thing. could you give me details of the sandbox environment; I never got that set up at the CodeNight.


Add ruff linter

Added ruff linter to pyproject with some basic configs after seeing it on the roadmap. I think we could find the best settings for this project later on.
Also ran ruff format on the current project with auto-fix on.

I could add a pre-commit config as well

Nice one, @luca-medeiros! I'll check if this extra import is necessary in alembic migrations, but I don't think it is since I'm importing Base. No Idea why I created it in the first place

@luca-medeiros if you'd like to add the pre-commit config, I'd appreciate it a lot


get_metadata_schema for axona

Fix this
@sbuergers can you check if this would solve it?

I wanted to write a message before clicking approve. But this does validate the metadata alright now. I just had to change the ElectricalSeries in get_metadata to ElectricalSeries_raw as you said. Thanks!


logSpace function

Implements logSpace from Code implementations board

Thanks for the contribution! I'll merge it!


Fix several issues in spatial_tools.stack_rasters

Issue 1: stack_rasters was failing when providing an xdem.DEM instance as input, because the class does not allow multiband rasters
Issue 2: Progress bar was not displaying when intended, and also not propagated to merge_raster.
Reproducible example:
import xdem
import geoutils as gu
dem = xdem.DEM(gu.datasets.get_path("landsat_B4"))
raster = gu.Raster(gu.datasets.get_path("landsat_B4"))

# Progress bar not displaying (issue 2)
stacked_rasters = gu.spatial_tools.stack_rasters([raster, raster], progress=True)

# No progress bar option (issue 2)
merged_raster = gu.spatial_tools.merge_rasters([raster, raster])

# Error with DEM instance (issue 1)
# Fails with error "ValueError: DEM rasters should be composed of one band only"
stacked_rasters = gu.spatial_tools.stack_rasters([dem, dem])

Needed to force the geopandas version to >= 0.10.0 to fix an issue in geovector.buffer_without_overlap, that probably occurs due to a package upgrade.


The idea is basically that after we start we spin off a few processes that check to see if

any emacs packages need updating
dot is out of date
the loaded user config is out of date

If any of these are true, insert the results in a comment in *scratch*.
Thoughts @rye @samontea?

i think if we expand to zsh configs we're going to have to change how we notify, but i like this idea. we should model it after how oh-my-zsh does it. (ever n days where n is a natural number that is set somewhere in the config)

Why not just check every time emacs starts, since there's no overhead?

I agree with this, we should definitely run a warning at startup.  Don't do this every n days.  I'm hearing talk in Slack about doing this in *scratch* at startup but I don't think this is the best option because Git requests can take a while.

I think that we should open up a new buffer *kotct/updates* w/ prompts to update each individual thing that's in need of updating or all thing that need updating.

Yeah, I agree with @samontea.  Either that or use messages.  We could build a system to help with the updating process, too.

The UI envision would look like this
update all
- update all emacs packages
  - package 1 -> 2
  - ...
- update dot
  - 198243 -> 81324
- update samontea config
  - 198349 -> 981324

That looks sweet. We should have a global variable that you can use to disable the update window taking focus. I also don't think the kotct/ prefix is necessary in the buffer name but it doesn't matter much.

So we'll either pop up a buffer window for @samontea's updating interface or just display a message. (If the user decided to suppress the update window, that is.) Would this then replace packup as well? (i.e. assume the responsibility of updating packages as well?)

ideally kotct/update-check is a function you can also call, and I want a buffer i know i can overwrite and update w/o loosing someone else's work. i think the prefix is the only way we can ensure that.

@rye We should definitely leave packup in case users want to do manual updates. Also important to note that I'm not saying we shouldn't create the buffer if you set whatever var. The buffer is created, it just doesn't take focus.

Yeah, @samontea you could make kotct/update-check a command/defun and then have that use something like *kotct/updates* as a buffer name just to be safe.
Also, @cg505, yeah let's leave packup in place but I like the ability to update packages in this UI as well.

@samontea I think it would be a pretty wild scenario if you had a buffer called *updates* open, but I understand your reasoning and I think your decision is fine.

If/when we add a ZSH configuration, I still think the update checking should be independent.

I don't think so but I also don't think this issue is the place for discussion.

Okay.  Well, this should be done one way or the other.

Another good idea for this issue that I just had when I looked at my ELPA folder was that we should really add a system for cleaning up packages and deleting older ones.  I'm not sure if Emacs does this currently, but if there are packages that are no longer needed or have been superseded by a new version, they should be moved.

There's not a way to do this that I know of without doing it manually through package-list.


Node API: Watching: A 'callback' argument need to be provided

Bug report

What is the current behavior?
(node:32284) [DEP_WEBPACK_WATCH_WITHOUT_CALLBACK] DeprecationWarning: A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.

If the current behavior is a bug, please provide the steps to reproduce.
const compileServers = () => {
  return new Promise((resolve) => {
    const config = require('./webpack/dev.servers.config')
    const compiler = webpack(config)
    compiler.watch(true, () => {
      resolve()
    })
  })
}

What is the expected behavior?
The code above worked in v4 & looking at the docs (https://webpack.js.org/api/node/#watching), it seems it should work in v5, too.
Other relevant information:
webpack version:  5.10.3
Node.js version: 15
Operating System: macos
Additional tools:

Your config contains watch: true and that is deprecated as it has no effect for webpack(config). Instead watching or not is indicated by you calling watch() or run(). You are correctly calling watch() after that and there is no behavior change with that from v4 to v5.
We added a deprecating warning as is might be confusing for people using webpack({ ..., watch: true }) and expecting that this would watch something (which is don't do).

that makes perfect sense. thank you!
would be happy to PR that error message or the docs, just let me know which.

Documentation contributions are always very welcome


LFS-1208: Pressing the down arrow key while in a vocabulary input when the suggestion list is not visible results in JS console error

tested in dev branch post merge


Improve controls

This adds custom tick marks and a string representation of the value to the sliders.
I can't tell if it's causing performance issues. I don't believe it ought to -- the library is very lightweight, as all the view code has to be added by hand -- but maybe the simulation painting is slowing down the rendering of the slider component, whereas before it was native?
If it seems to be a problem, we could also probably use a hybrid solution of a native range slider and custom ticks.
This is based on #20

@sfentress when you get a chance can you  rebase this on current master -- I have all your other PRs merged in there.  Thanks!

This is now rebased.


Crash On World Load [1.10.2][Forge 2011][<IP_ADDRESS>8]

Crash occurs on new world creation in SSP. It says "JEI failed to start", but I'm at a loss to determine if it's the actual culprit in this crash. Any help to fix this would be much appreciated.
http://pastebin.com/Uy0SZWNg

Was Aroma1997Core-1.9.4-<IP_ADDRESS> causing the crash.


test issue 7

Hi, I have some suggestions to help solving this issue!
Here is a list of similar issues:

test issue 5

test issue 7

test issue 6

test issue 4

test issue 123

Hope this is useful!
Cheers,
Cinnabot.


Why TokenApprovalRef is struct with single member

https://github.com/chiru-labs/ERC721A/blob/5e70c800f5ca0fd81153a0698617a28e8a3778a3/contracts/ERC721A.sol#L38
I did not intend to raise an issue, but I do not see discussion option in github !
As the title suggests, why use a struct to hold only one member. If there are 2 member variables to hold, then it makes sense to pack into struct to hold 256 bits.

This struct was introduced as a workaround for a compiler error.
See #364.

Interesting, thanks


Move algs to Sundials

This change is in conjunction with https://github.com/JuliaDiffEq/DiffEqBase.jl/pull/5, moving the Sundials algorithms out of DiffEqBase and to here. @mauro3

LGTM

Travis doesn't like that AbstractODEAlgorithm wasn't exported on the last master of Base, but new DiffEqBase will have that.


Redo TLS Config for chaincode-as-server

The previous fix block chaincode-as-client scenarios. This fix correctly
sets Client CAs for the server scenario without breaking client.
Fabric integration tests (via make integration-test) locally with this
change to ensure vendoring this change is safe.
FABCG-11
Signed-off-by: muralisr<EMAIL_ADDRESS>

Pulling into fabric/master to verify...


[Suggestion] Event on attached inventory peripheral change

This would allow programs to assume attached inventories have not changed, and would reduce the need for periodic checks of inventory contents. The event could be debounced to once per tick if necessary.

Considering that inventory methods are on base CC, that would be a better place to suggest this most likely

Considering that inventory methods are on base CC, that would be a better place to suggest this most likely

See https://github.com/cc-tweaked/CC-Tweaked/issues/1589


Script Editor: Ctrl + Left / Right is "inconsistent"

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10, Godot 3.0 Alpha
Issue description:
If one jumps from the end of a row to the very beginning of the same row via consecutive Ctrl + Left strokes, the behavior is different when going to the opposite direction (I don't seem to get the logic of it).
I think this has been so since 2.x (at least), and I've always thought that this was buggy behavior. However, I decided to (quickly) test this with some other text editors / IDEs:

Intellij Products
Visual Studio 2017
Visual Studio Code
Sublime Text

Out of these, only Intellij IDEs seemed to have 100% consistent word jump behavior. VS 2017 seemed to come very close to 100%, and VS Code & Sublime were quite close to Godot (with some nuances).
Personally, I find it is nearly impossible to get used to this "inconsistent" behaviour, particularly from the perspective of a "Java developer".
Adding a "Consistent Word Jumping" or somesuch option for people who are used to it, might be something to consider.
(Also: Treating underscores as stops might also be a good idea in a pythonic language)

I don't think this is exactly a "bug", as it was likely designed that way, if I understand what is the "inconsistency" you're talking about (I would like for you to be more clear about that).
Essentially (with the current behavior): Ctrl+← jumps to the beginnings of the words, while Ctrl+→ goes to the end of the words.
And treating underscores as stops is a good idea, at least as an option (also changing of case, for PascalCase names too).

Essentially (with the current behavior): Ctrl+← jumps to the beginnings of the words, while Ctrl+→ goes to the end of the words.

Ah! Now I at least make sense of the logic behind it. It just jumps to the end of whatever direction you are going.
Here's an example of the current behavior (the Black Monolith marks the caret position), and what I want:
Step 0: The caret is now at the end of the line:
Gui.screen = preload("res://game.tscn").instance()█
Step 1: first jump left
Gui.screen = preload("res://game.tscn").█instance()
Step 2: second jump left
Gui.screen = preload("res://game.█tscn").instance()
Step 3: OK. Now let's go once to right, and you can see that we are NOT at the same position as in Step 1. This is what I mean by "consistent" (feel free to invent a better name).
Gui.screen = preload("res://game.tscn█").instance()
Step 4: Second time to the right. I would've expected it to be at the end of the line - as in Step 0.
Gui.screen = preload("res://game.tscn").instance█()

Sooo... by the looks of it, essentially just use the same algorithm, but ignore the other direction.

IMHO, the current behavior is fine, but that might be just me getting used to it in Chrome, Atom and Godot.
So, if this is implemented, please keep it as an option in the settings 😃 .

I personally like the way Visual Studio handles this, but also I don't think it's really worth it to add an option for it.

Closing, as this appears to be more of a feature proposal than a bug (judging by the comments). If you still need this feature, please open a proposal on the Godot proposals repository.


Resolve schemas in the response bodies for OpenAPI 3.0

See https://github.com/Azure/autorest/issues/3016

Even this fix, actual NRE, but model which I create that way, still generate incorrect code. I miss that since was happy that NRE was going away. Looking into what could be done to properly generate code


Init prompt without superfluous line at the bottom

The prompt initialization was still hardcoded for the two line prompt.
Now all adaptation to account for the number of prompt lines is done
during repaint

I wondered what caused that


Fix naming

As per issue #2071, the GNU+Linux operating system is now referred to correctly. The name "Linux" was retained only when used correctly; when it was referring to the Linux kernel and not the GNU+Linux operating system.
I also renamed a couple of files as markdown files for compatability, but then changed them back because the autotools are dumb.

Merged. Thank you!

:)


arch/arm/ac6: add armlink steering file

Summary
arch/arm/ac6: add armlink steering file
add armlink steering file to allows nuttx to keep using existing linker symbols defined in scatter and used throughout the code tree.
Reference:
https://developer.arm.com/documentation/dui0803/a/Accessing-and-managing-symbols-with-armlink/What-is-a-steering-file-
Signed-off-by: chao an<EMAIL_ADDRESS>Impact
N/A
Testing
armlink

let's call this since #7165 is more simpler.


[prim_count] Refactor prim_count and add up/down count functionality

This refactors prim_count so that it has both up/down count functionality.
This allows to simplify the instantiating blocks, in some cases quite significantly (see OTBN for instance).
Due to the up-down count functionality, the option to use a duplicate counter instead of a cross counter can now also be removed since we can use the more secure cross count structure in all cases.
This addresses #13578.

I just realized that the OTBN stack pointer calculation relies on the ability to pass in a 2's complement number to dynamically select between increment and decrement. That means that our overflow / underflow protections prevent this from working correctly, and it is interesting that this did not result in a bug before (probably because the stack counter never reached the maximum value representable by the counter).
Since I did not want to change the prim_count interface (by intrucing other signals like inc_en / dec_en etc), I added another parameter that allows you to explicitly disable the overflow / underflow protections and handle this externally.
I also refactored part of the down_counter implementation so that most of the code can be shared with the dup_counters.
I will probably squash all these incremental changes into one commit before merging.

I also ran formal on these counters with the command below, and these tests pass.
util/dvsim/dvsim.py hw/top_earlgrey/formal/top_earlgrey_fpv_cfgs.hjson --select-cfgs prim_dup_up_count_fpv prim_dup_dn_count_fpv prim_cross_up_count_fpv prim_cross_down_count_fpv

Hm... something is still amiss in OTBN. Let me convert this to draft again and debug some more.

@msfschaffner is this PR is causing too much trouble, I would also be okay with punting this to future release.
Because as you say this seems to be more dynamic for some modules, so I wonder if at the interface level changing it to incr_en and decr_en makes more sense than having a single en. But that goes a bit beyond of what we're trying to do here.

Yeah, the more I think about it, the more I feel like the interface should have incr_en and decr_en.
Let me take another stab at this - I haven't really had the chance to come back to this after the last time I pushed.

Alright, I have refactored the prim_count to make it a bit more generic so that it can dynamically be used as both up and down counter with varying step sizes.
@tjaychen @cdgori the primitive has now fewer parameters (basically only Width and ResetValue) and it will internally always use the more secure cross count style.
@martin-lueker can you take a look at the entropy blocks?
@vogelpi, @gac, can you take a look at the changes in OTBN? this should simplify the stack counter handling significantly.
@weicaiyang @cindychip is this ok from a coverage standpoint? My assumption is that we currently exclude this submodule from coverage collection in block-level TBs. Is that correct?

Note that this will all be rebased into one single commit after the review to make the change atomic.

Alright, I have refactored the prim_count to make it a bit more generic so that it can dynamically be used as both up and down counter with varying step sizes.
@tjaychen @cdgori the primitive has now fewer parameters (basically only Width and ResetValue) and it will internally always use the more secure cross count style.
@martin-lueker can you take a look at the entropy blocks?
@vogelpi, @gac, can you take a look at the changes in OTBN? this should simplify the stack counter handling significantly.
@weicaiyang @cindychip is this ok from a coverage standpoint? My assumption is that we currently exclude this submodule from coverage collection in block-level TBs. Is that correct?

Hi Michael, coverage looks great! I do not think we exclude this module from block-level TBs but looks great!

@senelson7, Would you have a chance to fetch this and just do a quick regression on it to make sure it hasn't changed EDN or CSRNG?

FYI: @mwbranstad

LGTM, based on visual inspection.
Have you by any chance run this through a full regression to check that most of the tests still work?

For some yes, but not for the entropy blocks yet.
Let me try and do that.

I grabbed it and regressed the main edn and csrng testcases. All passed.

Cool, thanks for double - checking!

Last force push just squashes all commits into one.

Thanks for the review everyone! I am merging this now - fingers crossed ;).


Crash when answering to a call

Reported by @exul:exul.org
I placed a call and Riot crashed after the other user piked up the call. I'll send a bugreport from the other phone as well.
https://github.com/matrix-org/riot-android-rageshakes/issues/598

It seems a WebRtc issue.
07-14 21:31:56.360 13484 30039 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 30039 (Thread-2121)

I don't reproduce this issue


Removed extra step

under modify the quarantine retention period for the default spam filter policy, the step to open "custom" is not there anymore

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@MSFTTracyP - PR has been copy edited and is ready for final review.
Thank you.
cc: @kenwith

@chrisda , can you please review this one?


[motorola-mobility] Update

updates to page:
https://endoflife.date/motorola-mobility
G41 has received 2024-02-01 update, 01 Feb 2024
G71 has received 2024-01-01 update, 01 Jan 2024
What is the source website for the product and for its version information?
Seen this in real life with those devices, on normal use.

I am not able to identify source of information from motorola website.
Can you help ?


Version toggler and feedback dropdown look odd

@msbt reported a visual regression.
Quick FYI: I realized earlier that the version toggler and feedback dropdown on the docs look odd and while debugging, figured out that there was an update of one of the packages that we have in use (https://github.com/executablebooks/sphinx-design/tags). This update/regression caused the layout to fail.

@msbt figured the regression has been caused by sphinx-design-0.6.0, released just five days ago.

thanks @amotl, this seems to be the corresponding patch, where they change from chevron up/down to left/down: https://github.com/executablebooks/sphinx-design/pull/192

Thanks. I can't spot the regression you outlined at https://cratedb.com/docs/crate/reference/ ff.

I totally accept and appreciate that you spotted an error, but for me, it is not visible in any way.

I am asking because a downgrade to a previous version of sphinx-design would be totally a no-brainer, like outlined at https://github.com/crate/crate-docs-theme/issues/497#issuecomment-2134700205.
However, because I can't spot any regression anywhere, I am doubting that it makes sense, because it will not make too much of a difference from my perspective.

One thing to mention for anyone working on this, @msbt was able to patch this by injecting CSS with HubSpot - via fastly edge side includes, from what I understand.

Ah I see. Now it totally makes sense that I can't spot any mistake, if it has already been fixed using a workaround. Thanks for clarifying.

Now, everything makes sense. Thanks for clarifying.
NB: Please don't use URLs verbatim in public which can feed crawlers wrongly.

Because sphinx-design 0.6 also trips software tests on sphinx-design-elements, and because I currently don't have the capacity to review and fix them, I am already downgrading on behalf of sphinx-design-elements.

https://github.com/tech-writing/sphinx-design-elements/pull/84

sphinx-design-elements v0.3.2 downgrades to sphinx-design  v0.5, so the next downstream builds of crate-docs-theme should pick up corresponding package versions, effectively resolving this issue.
Please verify, report back, and/or close this issue, at your disposal. Thanks.

I've rebuilt all docs, and purged the Fastly cache on all documentation projects afterwards.

@amotl you can see the regression on any non-proxied url, e.g. https://crash.readthedocs.io/en/latest/. The padding changed and also the chevrons.

It looks like it is fixed through the downgrading outlined above.

I just found that in the changelog for sphinx-design 0.6:

The "default" behaviour of the right chevron is to go from right-facing (closed) to down-facing (open), instead of down-facing (closed) to up-facing (open). There is also a rotate transition on opening/closing. The old default behaviour can be retained by using the new :chevron: down-up directive option.

We concluded the resolution of this flaw by adding relevant fixes and releasing crate-docs-theme 0.33.0. @msbt: Thanks for your support!

@amotl apparently the docs are still being built with the old version (Downloading crate_docs_theme-0.32.4-py3-none-any.whl (2.1 MB)) - any idea what's going on there?

Build #24863053 on "crash" says it uses crate-docs-theme-0.33.0 already.

@amotl that was back when the 0.33.0 wasn't on pyi


Env config at a higher level

Currently there is a heavy reliance on config files to handle variances in builds, it would be good no centralise configuration of devtool, compression, and source maps

Closing in favour of #24 #25 #26


Enable testing on Go 1.5

Looks like this is all kinds of sad right now :(

The test failure appears to be the same race condition reported in https://github.com/coreos/fleet/issues/1248 according to @mischief

Woo, passes now by disabling the busted test. ;-)

lgtm, but that test should really get fixed soon. 8-D


Verge 5.9.2 QT Wallet  is NOT acceppting my Passphrase

Can someone give me some help? I'm panicking.
I already tried with console and .walletpassphrase 'passwordhere' 600 and 300 and nothing. Always says wrong password. But i'm sure that isnt wrong beacause i wrote it on a notepad and create it from copy/paste.
I got more than 300xvg there :(. Dont know if the problem is because my passphrase starts with ". PLEASE HELP.

Has it ever worked?  I know this might be too late, but you should always try to unlock your wallet after you set an encryption on it.. just to make sure you can unlock it.
Does your passphrase start with a quote or period or both ?  quote + period + TheRestOfIt

Hello, yes it worked. Just with the quote + TheRestOfIt. I already changed wallet. I'm afraid i will not see my 300 verge again :(.

https://bitcoin.stackexchange.com/questions/59521/bitcoin-core-command-line-walletpassphrase-incorrect-but-works-for-the-main-syst

If your passphrase contains spaces or special characters, you will need to wrap it with single quotes (') so that the debug console can properly parse your passphrase. For example, if your passphrase were This is my passphrase, then your command should be
walletpassphrase 'This is my passphrase'

so in your case it would be:
walletpassphrase '"hello this passphrase starts with a quote' 300
in words:
walletpassphrase + single quote + your passphrase including double quotes + single quote at the end + 300 for timer
What do you mean you already changed wallets?

I will try it . Thank you. I created another wallet to mine to another address. Because afraid of losing more

Maybe someone else has some other insight about whether or not the quotes are an issue.
Passphrases don't just stop working.  It always ends up being a case of the person forgetting it, or them not writing it down cleanly :blush: , them copy/pasting it wrong (getting additional blank spaces or line breaks), or some other user-error type situation.
You should consider doing a dumpprivkey on your wallet addresses as well for additional backup security.  If you had the private key for this address, it wouldn't matter if your passphrase was forgotten / was magically changed / stopped being accepted.
Good luck, hopefully someone else has theories.

just needs quote


Handling multiple audio/text files

I was looking at vishvAsa's email regarding ~1k mahAbhArata recordings and texts being available, e.g. here, and thinking that it might be a good addition to this site. The complicating factor appears to be that there are multiple audio files per adhyAya. For generating the alignment, it is easy to locally concatenate the files into one larger file. but it is not clear what is the easiest way to present it on the website. Any thoughts @hrishikeshrt @shreevatsa?

For Rāmāyaṇa, we represent each Sarga as one unit, I think the same should be done for Mahābhārata and use Adhyāya as a unit. Concatenating text and audio files for each Adhyāya.
Is there consistency between audio files and text that it corresponds to? If they refer to two different critical versions, (BORI / Kumbhakonam) there might be discrepancies in the text.

Is there a risk of somewhat "losing information" by concatenating? That is, if the text and audio has already been manually aligned at a crude level (several ślokas together, say), then the automatic alignment ought to be strictly a refinement of it (not cross the manually determined boundaries).
But however the alignment is done, when presenting it on the page, the pages should be presented in whatever division makes sense for reading the text (the adhyāya say). Clicking on a certain region of text can take the user to the corresponding region of the corresponding audio file.

@hrishikeshrt, From @vishvasa's site, it appears that the recordings are based on the Gita press edition. There may be some minor discrepancies, but it may still be valuable to have the audio alignment.
I agree with both of you that presenting adhyAya makes sense. The easiest way I can think of is to concatenate the audio files corresponding to one adhyAya into one mp3, but that would require us to host a similar collection on archive instead of just using the current files. Adding logic to take the user to the corresponding region of the corresponding file may be possible, but I don't know how much work that would entail.
@shreevatsa As far as I can see the audio clips don't seem to have any annotation regarding which groups of shlokas they correspond to.

Are there any downsides to hosting the concatenated audios?

Adding logic to take the user to the corresponding region of the corresponding file may be possible, but I don't know how much work that would entail.
If this is to be done, we need one more data tag on every word, a file identifier of sorts, (currently we have data-begin and data-end, say we have data-file which will identify the current audio element)
However, I am not a fan of the idea of showing multiple audios on one page.

Are there any downsides to hosting the concatenated audios?

Hosting costs / space, I imagine? Free hosting providers like GitHub pages usually have an informal limit…

If this is to be done, we need one more data tag on every word, a file identifier of sorts, (currently we have data-begin and data-end, say we have data-file which will identify the current audio element) However, I am not a fan of the idea of showing multiple audios on one page.

We can (and probably should) have only a single audio element on the page, which will play different audio files as needed (some JS changing the src attribute of the <audio> element).

hi good evening avinash ji. want to talk with you. can you give your email. thanking you.

@mvnpavan88 , In the future, please open a separate issue for new topics, so as to keep discussions on point. If you don't mind, please delete your comment above, and I will do the same for this post later, so that this issue can be focused on the main topic.
Please use <first_name>.<last_name>@ gmail. com to contact me.


Can the  mdel be deployed by MMdeploy?

how to convert a pretrained checkpoint  bts_r50_nyu.pth into ncnn model？
Maybe I can use MMdeploy as follows?
python ./tools/deploy.py
${DEPLOY_CFG_PATH}
${MODEL_CFG_PATH}
${MODEL_CHECKPOINT_PATH}
${INPUT_IMG}
--test-img ${TEST_IMG}
--work-dir ${WORK_DIR}
--calib-dataset-cfg ${CALIB_DATA_CFG}
--device ${DEVICE}
--log-level INFO
--show
--dump-info

If it is inconvenient to deploy by mmdeploy,then  is there any more convenient way  to deploy bts_r50_nyu.pth?


Support Additional files on GetWorkspace()

It turned out, that Additional files where not added the ProjectInfo. I created both two tests as a simple implementation. Just let me know if that is sufficient.

Thanks for fixing this! And thanks for the review @psfinaki - that makes it easy for me to merge without too much ceremony. I'll be publishing a new minor with just this change momentarily, and then I'll publish a new major that includes the .NET 6 updates from #234 (that way this change will be available to consumers stuck on older .NET versions).

The failure here is from the Cake build (the test suite currently builds a handful of other open source projects). I actually just removed that entire test fixture since keeping up with the various edge cases for full third-party codebases was too challenging. We've already got a test suite with different project types and should just continue to add to that as needed.
None of this is your problem, just noting it here for future reference :).


link not generating synchronously : link = ImagesCol.findOne({_id: Meteor.user().profile.ProPic}).link();   I'm getting an error can not read link of undefined

Hello @tanmoy12
Well, this means cursor is empty.
let link = '';
const cursor = ImagesCol.findOne({_id: Meteor.user().profile.ProPic});
if (cursor) {
   link = cursor.link();
}

Is this happens on Client or Server?

This was client side..
Thank you so much, this solved the problem!!
Another issue i'm facing is images don't load after 2 or 3 days of uploading them, this is the error :
Failed to load resource: the server responded with a status of 404 (Not Found)

Hello @tanmoy12 ,
Regarding this:

Another issue i'm facing is images don't load after 2 or 3 days of uploading them, this is the error :
Failed to load resource: the server responded with a status of 404 (Not Found)

Quick guess is you ran into behavior described in FAQ:

Note: All files will be removed as soon as your application rebuilds or you run meteor reset. To keep your storage persistent during development use an absolute path outside of your project folder, e.g. /data directory.

I'm a novice with meteor.. can you please review my code what i'm doing wrong. I did not completely understand the idea of different absolute path. Thank you so much for your time.
I'm uploading two files when a user signs up: 1. profile picture. 2. image of a seal & signature. I'm using package accounts-password to signup user.
if(this.state.empProPic && this.state.empSeal){
let uploadInstance = ImagesCol.insert({
file: that.state.empProPic,
streams: 'dynamic',
chunkSize: 'dynamic',
allowWebWorkers: true // If you see issues with uploads, change this to false
}, false);
        uploadInstance.on('uploaded', function (error, fileObjPro) {

            let uploadInstance2 = ImagesCol.insert({
                file: that.state.empSeal,
                streams: 'dynamic',
                chunkSize: 'dynamic',
                allowWebWorkers: true // If you see issues with uploads, change this to false
            }, false);

            uploadInstance2.on('uploaded', function (error, fileObjSeal) {

                if(password==repassword){
                    var User = {
                        username: username,
                        email: email,
                        password: password,
                        profile: {
                            designation: designation,
                            mobno: mobno,
                            ProPic: fileObjPro._id,
                            seal: fileObjSeal._id
                        }
                    };
                    Accounts.createUser(User, function (err) {
                        if (err) {
                            var message= err.reason;
                            Bert.alert(message, 'danger', 'growl-top-right');
                        }else {
                            Bert.alert('User Signed up', 'success', 'growl-top-right');
                        }
                    });
                }
                else{
                    Bert.alert('Passwords do not match!!', 'danger', 'growl-top-right');
                }
            });

            uploadInstance2.on('error', function (error, fileObjSeal) {
                console.log('Error during upload: ' + error);
            });

            uploadInstance2.start();

        });

        uploadInstance.on('error', function (error, fileObj) {
            console.log('Error during upload: ' + error);
        });

        uploadInstance.start(); // Must manually start the upload
    }
    else{
        Bert.alert('Upload necessary files!!', 'danger', 'growl-top-right');
    }

Hello @tanmoy12 ,
Sorry I'm lost the point, what was the question?

"To keep your storage persistent during development use an absolute path outside of your project folder, e.g. /data directory."
I don't understand how i can do that. I am uploading the code i am using to upload a file. I'm using Meteor with react.
uploadIt(e){
    "use strict";
    e.preventDefault();
    var that = this;
    if (e.currentTarget.files && e.currentTarget.files[0]) {
        // We upload only one file, in case
        // there was multiple files selected
        var file = e.currentTarget.files[0];
        //console.log(file.width);
        if (file) {
            let uploadInstance = ImagesCol.insert({
                file: file,
                meta: {
                    locator: that.props.fileLocator,
                    userId: Meteor.userId() // Optional, used to check on server for file tampering
                },
                streams: 'dynamic',
                chunkSize: 'dynamic',
                allowWebWorkers: true // If you see issues with uploads, change this to false
            }, false);

            uploadInstance.on('uploaded', function (error, fileObj) {
                console.log('uploaded: ', fileObj);
                that.setState({
                    uploading: [],
                    progress: 0,
                    inProgress: false
                });
            });

            uploadInstance.on('error', function (error, fileObj) {
                console.log('Error during upload: ' + error);
            });

            uploadInstance.start(); // Must manually start the upload
        }
    }
}

Where do you initialize ImagesCol?

In collection folder in a file named images.js: here's the code
ImagesCol = new FilesCollection({
    collectionName: 'Images',
    allowClientCode: false, // Disallow remove files from Client
    onBeforeUpload: function (file) {
        // Allow upload files under 10MB, and only in png/jpg/jpeg formats
        if (file.size <= 10485760 && /png|jpg|jpeg/i.test(file.extension)) {
            return true;
        } else {
            return 'Please upload image, with size equal or less than 10MB';
        }
    }
});

ImagesCol = new FilesCollection({
    collectionName: 'Images',
    storagePath: `/data`,
    allowClientCode: false, // Disallow remove files from Client
    onBeforeUpload: function (file) {
        // Allow upload files under 10MB, and only in png/jpg/jpeg formats
        if (file.size <= 10485760 && /png|jpg|jpeg/i.test(file.extension)) {
            return true;
        } else {
            return 'Please upload image, with size equal or less than 10MB';
        }
    }
});

And make sure /data exists (terminal/console):
mkdir -p /data

I am building a video stream web, on the home page, i want display some most watched videos, this is js code:
Template.hotTopic.helpers({
file: function() {
return files.find({"meta.view_count": {"$gte": 100}}, {sort: {"meta.created_at": -1}});
}
});
On the template:

  {{#each file}}

{{name}}

{{userId}}

  {{else}}
    Loading Video
  {{/each}}

I use link() try to download the video and display it on the page, I failed, I watched this wiki  link() only use on findOne(), and about find(), found this code:
filesCursor.each(function (file) {
  // Only available in .each():
  file.link();
  file.remove();
  file.with(); // <-- Reactive object
});
so if i want to display a few downloadable videos, how should i write the code?

I am building a video stream web, on the home page, i want display some most watched videos, this is js code:
Template.hotTopic.helpers({
  file: function() {
    return files.find({"meta.view_count": {"$gte": 100}}, {sort: {"meta.created_at": -1}});
 }
});

On the template:
<template name="hotTopic">

  {{#each file}}

    <video width="320" height="240">
      <source src="{{link}}" type="{{type}}"/>
    </video>

{{name}}

{{userId}}

  {{else}}
    Loading Video
  {{/each}}

</template>

I use link() try to download the video and display it on the page, I failed, I watched this wiki link() only use on findOne(), and about find(), found this code:
 filesCursor.each(function (file) {
// Only available in .each():
  file.link();
  file.remove();
  file.with(); // <-- Reactive object
});

so if i want to display a few downloadable videos, how should i write the code?

Hello @haibo32012 ,
Take a look on each iterator at demo app, and here is .link() method used.
And for streaming use - ?play=true, see docs.
And .each()is not a callback, .each() simply returns FilesCursor as Object

Thanks for your answer, I check the answer, still have confuse, I try more concrete express my question on the below.
WIKI findOne() example:
var file = Images.findOne({_id: 'Rfy2HLutYK4XWkwhm'});
// Generate downloadable link:
file.link();
// Get cursor's data as reactive Object
file.with();

I am use this in my video play page:
this is helpers code:
Template.videoPlay.helpers({
	file: function() {
		let id = FlowRouter.getParam('_id');
		let file = files.findOne({_id: id}) || {};
		return file;
	}
});

This is my template code:
<template name="videoPlay">
{{#with file.with}}
  <video  width="320" height="240" controls="controls" autoplay>
    <source src="{{link}}?play=true" type="{{type}}"/>
    <track kind="captions" src="test.vtt"/>
  </video>
{{/with}}

In the play page, video finish the download and can play.
In my display a few most watched videos page, this is helpers code:
Template.main.helpers({
  file: function () {
  	console.log(files.findOne());
  	return files.find({}, {sort: {'meta.created_at': -1}});
  }
});

In this template I try use link again, this is code:
<template name="main">

  {{#each file}}

    <video proload='auto' width="320" height="240">
      <source src="{{link}}" type="{{type}}"/>
    </video>
  {{else}}
    Loading Video
  {{/each}}

</template>

In this page, video do not download and can play. the link() do not generate a downloadable url, I check the source code:
  ###
  @locus Anywhere
  @memberOf FileCursor
  @name link
  @param version {String} - Name of file's subversion
  @summary Returns downloadable URL to File
  @returns {String}
  ###
  link: (version) ->
    console.info "[FilesCollection] [FileCursor] [link(#{version})]" if @_collection.debug
    return if @_fileRef then @_collection.link(@_fileRef, version) else ''

###

also check the with() code:
  ###
  @locus Anywhere
  @memberOf FileCursor
  @name with
  @summary Returns reactive version of current FileCursor, useful to use with `{{#with}}...{{/with}}` block template helper
  @returns {[Object]}
  ###
  with: ->
    console.info '[FilesCollection] [FileCursor] [with()]' if @_collection.debug
    self = @
    return _.extend self, @_collection.collection.findOne @_fileRef._id

###

and each() code:
###
 @locus Anywhere
 @memberOf FilesCursor
 @name each
 @summary Returns an Array of FileCursor made for each document on current cursor
          Useful when using in {{#each FilesCursor#each}}...{{/each}} block template helper
 @returns {[FileCursor]}
 ###
 each: ->
   self = @
   return @map (file) ->
     return new FileCursor file, self._collection

###

and still don't understand why link() can't generate a downloadable url under each.how can i generate a downloadable link under each?

Thanks for your answer @dr-dimitru , I check the answer, still have confuse, I try more concrete express my question on the below.
WIKI findOne() example:
var file = Images.findOne({_id: 'Rfy2HLutYK4XWkwhm'});
// Generate downloadable link:
file.link();
// Get cursor's data as reactive Object
file.with();

I am use this in my video play page:
this is helpers code:
Template.videoPlay.helpers({
	file: function() {
		let id = FlowRouter.getParam('_id');
		let file = files.findOne({_id: id}) || {};
		return file;
	}
});

This is my template code:
<template name="videoPlay">
{{#with file.with}}
  <video  width="320" height="240" controls="controls" autoplay>
    <source src="{{link}}?play=true" type="{{type}}"/>
    <track kind="captions" src="test.vtt"/>
  </video>
{{/with}}

In the play page, video finish the download and can play.
In my display a few most watched videos page, this is helpers code:

Template.main.helpers({
  file: function () {
  	console.log(files.findOne());
  	return files.find({}, {sort: {'meta.created_at': -1}});
  }
});

In this template I try use link again, this is code:
<template name="main">

  {{#each file}}

    <video proload='auto' width="320" height="240">
      <source src="{{link}}" type="{{type}}"/>
    </video>
  {{else}}
    Loading Video
  {{/each}}

</template>

In this page, video do not download and can play. the link() do not generate a downloadable url, I check the source code:

  ###
  @locus Anywhere
  @memberOf FileCursor
  @name link
  @param version {String} - Name of file's subversion
  @summary Returns downloadable URL to File
  @returns {String}
  ###
  link: (version) ->
    console.info "[FilesCollection] [FileCursor] [link(#{version})]" if @_collection.debug
    return if @_fileRef then @_collection.link(@_fileRef, version) else ''

###

also check the with() code:

  ###
  @locus Anywhere
  @memberOf FileCursor
  @name with
  @summary Returns reactive version of current FileCursor, useful to use with `{{#with}}...{{/with}}` block template helper
  @returns {[Object]}
  ###
  with: ->
    console.info '[FilesCollection] [FileCursor] [with()]' if @_collection.debug
    self = @
    return _.extend self, @_collection.collection.findOne @_fileRef._id

###

and each() code:
###
 @locus Anywhere
 @memberOf FilesCursor
 @name each
 @summary Returns an Array of FileCursor made for each document on current cursor
          Useful when using in {{#each FilesCursor#each}}...{{/each}} block template helper
 @returns {[FileCursor]}
 ###
 each: ->
   self = @
   return @map (file) ->
     return new FileCursor file, self._collection

###

and still don't understand why link() can't generate a downloadable url under each.how can i generate a downloadable link under each?

Hello @haibo32012 ,
Okay, now I think I've got your issue.
So, you can use fileURL template helper and pass context of the each block:
<template name="main">

    {{#each file}}

        <video proload='auto' width="320" height="240">
          <source src="{{fileURL this}}" type="{{type}}"/>
        </video>

    {{else}}
      Loading Video
    {{/each}}

</template>

Let me know if it helps.

@dr-dimitru yes, it works,I am so stupid, didn't notice fileURL, and when you provide link  for streaming use - ?play=true, see docs., I confused about fileURL, didn't notice it in the bottom of the files.coffee,thank you so much!
if Meteor.isClient
  ###
  @locus Client
  @TemplateHelper
  @name fileURL
  @param {Object} fileRef - File reference object
  @param {String} version - [Optional] Version of file you would like to request
  @summary Get download URL for file by fileRef, even without subscription
  @example {{fileURL fileRef}}
  @returns {String}
  ###
  Meteor.startup ->
    if Template?
      Template.registerHelper 'fileURL', (fileRef, version) ->
        return undefined if not fileRef or not _.isObject fileRef
        version = if not version or not _.isString(version) then 'original' else version
        if fileRef._id
          return formatFleURL fileRef, version
        else
          return ''
return

Hi @haibo32012 ,
I'm glad it's solved.
@tanmoy12 is your initial issue solved?

Yes it is solved. Sorry to have responded so late.
Thank you so much for the help. Meteor-files is a very handy tool.

@tanmoy12
Great, thank you for feedback.
Please, support this project by:

Star on GitHub
Star on Atmosphere


Review and Update Fonts Used

Describe the bug
Our brand guidelines have Inter for main body text & Familjen Grotesk for titles. Texts are replaced with these fonts.
https://mirayberber.notion.site/22aae19dfc484314860ff92dae1f06fc?v=5ecfe15b0fed4a29bd136e7c241c300b
To Reproduce
Visit https://dashboard.tracket.info/locations/756264 as an example.
Expected behavior
See expected styling of text

Additional context

these styling options should be added to the CSS file app/assets/styles.css

Hi @danieltsoukup , I wanted to check with you if this is what you are looking for?

Looks good! One note: I think it would be good to keep the indicator to have the heavier Familijen Grotesk font (while the card body using the Inter otherwise), could we add a style for that?

When we return the mean indicator here, we could use the style param of the Div to override the card body styling?

I did some testing and turns out that the plotly Indicator object cannot be easily styled by CSS so ended up reimplementing it using html and Dash, made the adjustments on the fonts in the CSS and pushed updates to the development branch. Thanks @alphonse-xavier-924 the work!


Aliases management

Release by https://github.com/gbprod/elastica-extra-bundle/releases/tag/v0.2.0


EXECUTABLE: Windows improvements

reduce package size
incorporate icon
single file package (no data is currently not being included)
instructions.txt

single file works iff you include the data and capture folders.
reduce package size - started but has a couple issues with data and capture folders, but more importantly, cannot find window provider!

single file version will likely work if we update .spec file to include datas

icon added to the executable. Top left corner of screen icon is distorted.

icon is no longer distorted.

Closing issue to open new issue with just one item - reduce overall executable file size.


[draft] Support for 32bit and 64bit directory suffixes

I am putting this up for discussion, I am not sure about several things but please comment on anything you feel like.
Right now, given the suffix approach we can separate 32bit and 64bit into different folders. That's great but if there is no reference image for a test in the 64 bit directory, the test will fail. In this diff I am aiming to look for the image for the current architecture that is running and if the test fail, I will load the other architecture as well before failing.
I am not sure about several things but I will comment in the code as well.
#define FBSnapshotVerifyView(view__, identifier__) \
NSDictionary *architectureTypes__ = @{ \
   FBSnapshotTestArchitectureType32BitKey : @"_32", \
   FBSnapshotTestArchitectureType64BitKey : @"_64", \
}; \
FBSnapshotVerifyViewWithOptions(view__, identifier__, @"", architectureTypes__); \

:+1: let's definitely do this - my feedback is mostly looking for a way to generalize this further.

related: #68


error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin\nvcc.exe'

no suitable conversion function from "__half" to "float" existsfast_math.h(741): error: no suitable conversion function from "__half" to "float" exists

Please refer to the doc and set up the environment. It's also suggested to run the experiments on Linux.


UX issue

in this screen:

it is not really clear how to proceed.
An easy way to mitigate could be: make the "Generate Semaphore ID" clickable and do the required action

Yah it took me 10 mins to figure out what was happening there.


generators: add --no-branch option to prevent creating new local branch (#248)

useful when regenerating the files locally by hand without planing to submit
PR with the changes or when some other tool will do additional
integration before doing the PR (like we plan to do with meta-ros)

Signed-off-by: Martin Jansa<EMAIL_ADDRESS>

Fixes #248

Hi @allenh1 is there anything blocking this PR? We're almost ready to publish updated meta-ros with recipes generated with superflore modified with all these open PRs and it would be nice to have it in superflore/master before we do.


[AMBARI-25023] Admin View cannot be Deployed Due to META-INF Ordering

What changes were proposed in this pull request?
The new build process which was changed in #2488 is causing JARs to be built slightly differently:
unzip -l ambari-admin-<IP_ADDRESS>.0.jar | grep META-INF
        0  12-07-2018 10:53   META-INF/
      133  12-07-2018 10:53   META-INF/MANIFEST.MF
        0  12-07-2018 10:53   META-INF/maven/
        0  12-07-2018 10:53   META-INF/maven/org.apache.ambari/
        0  12-07-2018 10:53   META-INF/maven/org.apache.ambari/ambari-admin/
    11110  12-05-2018 14:31   META-INF/maven/org.apache.ambari/ambari-admin/pom.xml
      118  12-07-2018 10:53   META-INF/maven/org.apache.ambari/ambari-admin/pom.properties

unzip -l ambari-admin-<IP_ADDRESS>-SNAPSHOT.jar | grep META-INF
    473  12-07-2018 11:37   META-INF/MANIFEST.MF
        0  12-07-2018 11:37   META-INF/
        0  12-07-2018 11:37   META-INF/maven/
        0  12-07-2018 11:37   META-INF/maven/org.apache.ambari/
        0  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/
      106  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/pom.properties
    11358  12-07-2018 11:37   META-INF/LICENSE
     5060  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/pom.xml
      267  12-07-2018 11:37   META-INF/DEPENDENCIES
      165  12-07-2018 11:37   META-INF/NOTICE

Since the file META-INF/MANIFEST.MF appears before META-INF, it exposes a bug in the ViewExtractor
How was this patch tested?

Manually tested deployed of previously failing ambari-admin-<IP_ADDRESS>-SNAPSHOT.jar
Updated unit tests for ordering

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4713/
Test PASSed.


Refactor entity indexing. Fixes: #1152

This would change the behavior of storing values entities. Previously if you deleted the e2 the values would still be there

They have always been indexed by the uid of the e2 though so, yeah, they would still be there, but inaccessible.

Assuming self.uid is unique for each e2?

IIRC uid is the player's. On phone atm can't check

https://github.com/wiremod/wire/blob/67310ee2c17e1e4722ed8ddb12b13861f832034c/lua/entities/gmod_wire_expression2/init.lua#L458
and
https://github.com/wiremod/wire/blob/67310ee2c17e1e4722ed8ddb12b13861f832034c/lua/entities/gmod_wire_expression2/init.lua#L354

Thoughts on imposing this restriction? The current method bypasses the 'emergency ram' cleanup.

Instead of placing it on the e2, why not a table local to the file, indexed by player uid and the target entity. That way we retain old behavior and cleaning it in the emergency RAM hook becomes easy.

Haven't tested but I think something like this should work

Now you're indexing it by player instead of player uid which means it'll no longer persist through disconnects

When does it get cleaned then?

Saw your deleted post about when it gets deleted, it was still emailed to me and I just want to respond to that by saying that I'm just playing devil's advocate here. For me personally it wouldn't really matter much if the behavior changed slightly, but I imagine it would matter for others. And since keeping the old behavior is so easy, why not keep it? As to when it gets cleaned, the answer is never. Unless emergency ram clear is enabled. But the same is also true for global vars already as well as several other things in E2.

Ok, this should work then. Will test later

It's working now


fix(reset) FormArray reset

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
fix #288
What is the current behavior? (You can also link to an open issue here)
Can't reset RepeatSection
What is the new behavior (if this is a feature change)?
Reset of FormArray in the this.form
Please check if the PR fulfills these requirements

[x] The commit messages follow our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] A unit test has been written for this change.
[x] Running npm run build produced a successful build. (Unit testing can be done by running npm test;)
[x] My code has been linted. (npm run lint to do this. npm run build will fail if there are files not linted.)

Please provide a screenshot of this feature before and after your code changes, if applicable.
Other information:

Current coverage is 83.66% (diff: 33.33%)

Merging #294 into master will decrease coverage by 1.95%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        655    +22
  Methods         134        137     +3
  Messages          0          0
  Branches        152        157     +5
==========================================
+ Hits            542        548     +6
- Misses           91        107    +16
  Partials          0          0

Powered by Codecov. Last update cc9bcac...9cf436b

Current coverage is 82.23% (diff: 28.20%)

Merging #294 into master will decrease coverage by 3.38%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        670    +37
  Methods         134        141     +7
  Messages          0          0
  Branches        152        162    +10
==========================================
+ Hits            542        551     +9
- Misses           91        119    +28
  Partials          0          0

Powered by Codecov. Last update cc9bcac...e7dfdcf

Current coverage is 83.33% (diff: 48.78%)

Merging #294 into master will decrease coverage by 2.29%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        672    +39
  Methods         134        141     +7
  Messages          0          0
  Branches        152        162    +10
==========================================
+ Hits            542        560    +18
- Misses           91        112    +21
  Partials          0          0

Powered by Codecov. Last update cc9bcac...6613d67

Current coverage is 85.86% (diff: 71.42%)

Merging #294 into master will increase coverage by 0.23%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        672    +39
  Methods         134        140     +6
  Messages          0          0
  Branches        152        163    +11
==========================================
+ Hits            542        577    +35
- Misses           91         95     +4
  Partials          0          0

Powered by Codecov. Last update cc9bcac...d8f2706

Current coverage is 87.36% (diff: 90.69%)

Merging #294 into master will increase coverage by 1.74%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        673    +40
  Methods         134        140     +6
  Messages          0          0
  Branches        152        163    +11
==========================================
+ Hits            542        588    +46
+ Misses           91         85     -6
  Partials          0          0

Powered by Codecov. Last update cc9bcac...5b20f14

Current coverage is 87.35% (diff: 90.47%)

Merging #294 into master will increase coverage by 1.72%

@@             master       #294   diff @@
==========================================
  Files            16         16
  Lines           633        672    +39
  Methods         134        140     +6
  Messages          0          0
  Branches        152        163    +11
==========================================
+ Hits            542        587    +45
+ Misses           91         85     -6
  Partials          0          0

Powered by Codecov. Last update cc9bcac...e304ccd


⚠ Spryr has degraded performance

In e72ec4d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5252 ms

Resolved: Spryr performance has improved in 47e71f9 after 7 minutes.


Add slider control.

We need sliders. Ideally, sliders with the ability to include a text entry box alongside them

Added slider control
https://github.com/apetavern/sbox-grubs/commit/4ae9c8a7c7b4d5568637df5c18338714579bb261


Implement CGPathApply

Using a custom geometry sink, implement CGPathApply.
Fixes #1266

This change is

:clock1:

This may also be good to move into its own file, mirroring @ms-jihua's work on the DWrite wrapper refactor in #1504.

Specifically, the class; sorry.

:shipit:

Both debug and release builds have actually succeeded. Two prior tests failed due to warnings but the most recent commit fixes this known issue by ignoring the arm compiler warnings.


Exciting project!

Hey all, I'm from the Ray team. Really excited to see this repository!
I saw that there were some things that needed to be monkey patched on Ray Tune. Is there anything we should do to make that integration easier?
Happy to jump on a call to chat more.

Hi @richardliaw, thank you so much for connecting and your support. The monkey patching was done to intercept best accuracy among all trials at every step when TrialRunner.step() gets called in Ray Tune. This is done just for logging best matrix at every step. Ia there a better way to do this? Any other hooks we can use?
Thanks!

Hm, I've run into this issue too and I've used the "trial_executor" to do this:
from ray.tune.ray_trial_executor import RayTrialExecutor

class HookExecutor(RayTrialExecutor):
    def on_step_begin(self, runner):
       trials = runner.get_trials()
       print(max(t.last_result.get("acc") for t in trials))

Hi @sytelus, we're currently in the process of implementing a callback API for Ray Tune. We would like to make sure that our implementation would be actually usable for you. It would be great if we could get some quick feedback from you.
Here's a link to the PR where we introduce the callback API: https://github.com/ray-project/ray/pull/11001. There's a short usage example included.
For your use case, I'd think that implementing the Callback.on_step_begin method would work. Could you take a quick look and confirm if this is the case? If not, it would be great to hear what we could improve in the API before we merge it into Ray Tune.
Thanks!

Hi @richardliaw - one of the issue we are facing is due to pickle5 check in ray.init(). I'd filed issue here: https://github.com/ray-project/ray/issues/10637 and on our side related issue is https://github.com/microsoft/archai/issues/10. It will be great if you can do something about it!

@sytelus thanks a bunch for the ping! Can you try ray 1.0 or the nightly installation of Ray?
https://docs.ray.io/en/master/installation.html#latest-snapshots-nightlies
pip install -U [link to wheel]
Please let me know if you run into any issues.


Extract proxy extrinsics

Extract proxy extrinsics. Note that this could be mixed and nested with multisig and batch.

Supported in v1.1.10
https://github.com/sodazone/ocelloids/releases/tag/v1.1.10


.net core support ?

Hi,
Do you think it is possible ?
Regards

@fradav I managed to get it to work using this fork. The changes are straight-forward.


Adding Readme.md and docs

Summary
Readme.md added with documentation included
Compatibility

OS
Implemented

iOS
✅

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[X] I added the documentation in README.md
[X] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

Wrt to license reference, I'd prefer a badge over text


[FEATURE] gromit-mpx

Add gromit-mpx and integrate it with ags

I want to have some of the screen tools that are found here in mine
https://github.com/TheRiceCold/kaizen


pub makes bogus suggestion about how to depend on package:flutter

Suggestions:
* Don't depend on "flutter" from the sdk source. Use the hosted source instead. For example:

  dependencies:
    flutter: ^0.0.20

  Using the hosted source ensures that everyone can download your package's dependencies along with your package.
Sorry, your package is missing some requirements and can't be published yet.
For more information, see: http://pub.dartlang.org/doc/pub-lish.html.

The proper way to depend on package:flutter is from an SDK source.

@nex3 @munificent

This issue was moved to dart-lang/pub#1467


[feature request] Favorites API

If you have an STB or TV, you can create favorites that will allow quick access to stations.  Works well but there is so many more opportunities that favorites could handle if we had some type of API/callback to handle them.
Here's two use cases:

Streaming TV services (Sling TV/DirectTV Now/etc).  I watch all my TV through DirectTV Now - I'd love to be able to create favorites to quickly get to channels I watch through them.  However, there is no 'channel numbers' associated with them but there are HTTP calls that can be done that will bring them up.  I'd love to be able to add a 'ESPN' favorite that when pressed, calls back the SDK and allows me to execute the HTTP call to switch DirectTV now to ESPN
Radio favorites.  I have a Russound whole house audio system that supports favorites (specific radio stations, pandora/tunein/spotify channels, etc).  I'd love to have those appear on the remote and when pressed - shift over to the favorite on the Russound system.  Again - all I'd need is a favorite callback in the SDK and I can do whatever then.

Implementation wise - you could do something similar to the DIRECTORY type you just introduced (in fact, I'm abusing the directory type right now to do something similar [provide a list of choices]) since it has pretty close to the type of API that would be needed.  Maybe introduce a FAVORITES type that works the same way and is hooked into the UI properly..

absolutly, this might be one option.
I'll close as we track this here #52 and your use cases should be covered already there


Avoid putting symbols in global to fix incompatibility with Temporal Sandbox.

This pr is lit. Thank you @mikearnaldi and @mjameswh for helping me and getting this resolved.


Update Figures with unaligned Cell-Injury Profiles

This PR updates the figures using the newly added dataset, which consists of the selected cell-injury profiles that are not aligned with the JUMP dataset.
The updated figures include the confusion matrices and the precision-recall curves plot.

Closing this PR due to merge conflicts caused by the data files.


HA ingress setup

Does it work and how do you configure more than 1 ingress pod ?
Is it possible to kill one of them and not get front end errors (or only a few errors) ?

Also ideally it would use https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/

One option seems to be to expose your VIP to the router with kube-router.

This is fixed in 0.8.

do we have an example/task explaining how to set it uo?

You are right, there is none, re-opening.

Supported in 1.0, using helm options. Tested with the load test.

Can you point to the helm option or an example? This will need to be added to docs to be considered done.


[ Feature request ] Max number of continuous downloads

Hello, thanks for this amazing library. Is there any way I can limit the number of continuous downloads?
cause, if we try to download a lot of files at once, it makes the app crash or make the phone slower and so on.
Thanks in advance...

Hello @p32929, I'm happy that it helps you, currently no there is no limit for consecutive downloads
but I will be working on that feature and I will definitely keep you updated,
Thank you for helping in improving this library

Actually, no hurry, Please take your time. & really thanks for the package/library :)

Breaking news 🚨
I added a new version to control parallelism
I also added a function to download list of files
You can update your local version to flutter_file_downloader: ^1.1.0 to see the changes
If you found a bug or something missing feel free to open issues.
Thank you for helping in improving this plugin.

Closed for inactive, please if you found a bug or weird behavior don't hesitate opening a new issue or reopen this issue.
Thank you for your time

Whoa! Awesome works man! Just one thing to add:
The doc seems to be exactly like before. Not sure, how to limit number of simultaneous downloads :/ Can you please also update the documentation? Thanks a lot

Ooh, I didn't pay attention to that, sure will do, I will update it today inshallah
In the mean time, if you type FileDownloader. it will suggest you the public methods,
You can download list of urls using
FileDownloader.downloadFiles([...])
You can enable, disable the log using FileDownloader.setLogEnabled(true)
You can limit the consecutive downloads using FileDownloader.setMaximumParallelDownloads(10 /*Max: 25, Min: 1*/)
After setting the maximumParallelDownloads, if you called the downloadFile 100 times, your downloads will be split to batches

Awesome. Can't wait to check it out. Thanks a lot ^_^

Thanks a lot man! Really appreciate :)


streams: Add 'ChannelEmailAddress' model.

https://github.com/zulip/zulip/pull/32382#issuecomment-2484414300
This PR removes the email_token field from the Stream model, introduces a new model ChannelEmailAddress, and backfills it.
This is a prep work towards our plan to generate unique channel emails for different users, which can be used to check post permissions at message send time.

Screenshots and screen captures: N/A

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Addressed the review comments.

Merged, thanks @prakhar1144!


Task finished unexpectedly. when run a wizardcode request

GPU ENV:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.102.04   Driver Version: 450.102.04   CUDA Version: 11.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  Tesla V100-SXM2...  On   | 00000000:00:09.0 Off |                    0 |
| N/A   32C    P0    37W / 300W |  31573MiB / 32510MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   3406559      C   python                          31561MiB |
+-----------------------------------------------------------------------------+
start command
:(base) [root@VM-114-86-tencentos ~]# python -m vllm.entrypoints.api_server --model WizardLM/WizardCoder-Python-13B-V1.0  --gpu-memory-utilization 0.95 --host=<IP_ADDRESS>
log
 INFO 09-27 11:33:57 async_llm_engine.py:328] Received request d3ec023c4cab40299a715adf331ac01d: prompt: 'You are an AI unit testing expert. Your task is to help users write high-quality unit test cases by providing guidance on best practices, such as test coverage, test independence, test simplicity, appropriate assertions, avoiding hardcoding, test code maintenance, using testing frameworks, mocking and stubbing, code testability, and continuous integration. Ensure that the suggestions and advice you provide help users create effective and maintainable test cases.\n\nThe user has provided a code snippet in a certain programming language that implements a server for handling various operations. Identify the programming language used in the provided code snippet, and write unit test cases for it, taking into account the specific language and functionality\n\n### Code Snippet:\n\ngo\nfunc (bm *ZippedBitmap) Zip() {\n\tif bm.isZip {\n\t\treturn\n\t}\n\tvar (\n\t\tcursor    int8   = -1\n\t\tcursorLen uint32 = 0\n\t\tnewpos    uint32 = 0\n\t)\n\tfor _, idxV := range bm.data {\n\t\tif idxV == 0x00 {\n\t\t\t// 新值为连续0\n\t\t\tif cursor == 1 {\n\t\t\t\t// 尾端为连续的1, 尾端压缩保存, 新尾端长度为1\n\t\t\t\tnewpos += bm.ZipNode((uint8)(cursor), cursorLen, newpos)\n\t\t\t\tcursorLen = 1\n\t\t\t} else {\n\t\t\t\tcursorLen++\n\t\t\t}\n\t\t\tcursor = 0\n\t\t} else if idxV == 0xff {\n\t\t\t// 新值为连续1\n\t\t\tif cursor == 0 {\n\t\t\t\t// 尾端为连续的0, 尾端压缩保存, 新尾端长度为1\n\t\t\t\tnewpos += bm.ZipNode((uint8)(cursor), cursorLen, newpos)\n\t\t\t\tcursorLen = 1\n\t\t\t} else {\n\t\t\t\tcursorLen++\n\t\t\t}\n\t\t\tcursor = 1\n\t\t} else {\n\t\t\t// 不可压段\n\t\t\tif cursor > -1 {\n\t\t\t\t// 存在\n\t\t\t\tif cursorLen > 1 {\n\t\t\t\t\tnewpos += bm.ZipNode((uint8)(cursor), cursorLen, newpos)\n\t\t\t\t} else {\n\t\t\t\t\tbm.data[newpos] = uint8(0x3f * cursor)\n\t\t\t\t\tnewpos++\n\t\t\t\t}\n\t\t\t\tcursor = -1\n\t\t\t\tcursorLen = 0\n\t\t\t}\n\t\t\tbm.data[newpos] = idxV\n\t\t\tnewpos++\n\t\t}\n\t}\n\tif cursorLen > 0 {\n\t\tnewpos += bm.ZipNode((uint8)(cursor), cursorLen, newpos)\n\t}\n\t// 真实长度\n\tbm.data = bm.data[:newpos]\n\tbm.isZip = true\n}\n\n\n### Unit Test Cases:', sampling params: SamplingParams(n=4, best_of=4, presence_penalty=0.0, frequency_penalty=0.0, temperature=0.1, top_p=1.0, top_k=-1, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=[], ignore_eos=False, max_tokens=3000, logprobs=None), prompt token ids: None.
INFO 09-27 11:33:58 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 11.3%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:03 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 78.2 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 17.5%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:08 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 79.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 23.0%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:13 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 75.2 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 28.5%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:18 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 79.9 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 34.9%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:23 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 73.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 39.5%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:28 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 73.1 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 45.1%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:33 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 75.1 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 50.6%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:38 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 66.6 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 55.2%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:43 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 72.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 60.7%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:48 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 71.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 65.3%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:53 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 66.6 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 70.8%, CPU KV cache usage: 0.0%
INFO 09-27 11:34:58 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 73.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 75.4%, CPU KV cache usage: 0.0%
INFO 09-27 11:35:03 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 68.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 80.9%, CPU KV cache usage: 0.0%
INFO 09-27 11:35:08 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 69.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 85.5%, CPU KV cache usage: 0.0%
INFO 09-27 11:35:13 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 67.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 91.0%, CPU KV cache usage: 0.0%
INFO 09-27 11:35:18 llm_engine.py:613] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 66.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 95.6%, CPU KV cache usage: 0.0%
Exception in callback _raise_exception_on_finish(request_tracker=<vllm.engine....x7fea792f4550>)(<Task finishe...this error.')>) at /data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py:21
handle: <Handle _raise_exception_on_finish(request_tracker=<vllm.engine....x7fea792f4550>)(<Task finishe...this error.')>) at /data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py:21>
Traceback (most recent call last):
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 27, in _raise_exception_on_finish
task.result()
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 316, in run_engine_loop
await self.engine_step()
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 301, in engine_step
request_outputs = await self.engine.step_async()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 168, in step_async
early_return) = self._schedule()
^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 295, in _schedule
seq_group_metadata_list, scheduler_outputs = self.scheduler.schedule()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 266, in schedule
scheduler_outputs = self._schedule()
^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 210, in _schedule
self._preempt(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 344, in _preempt
self._preempt_by_swap(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 366, in _preempt_by_swap
self._swap_out(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 387, in _swap_out
raise RuntimeError(
RuntimeError: Aborted due to the lack of CPU swap space. Please increase the swap space to avoid this error.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/anaconda3/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 36, in _raise_exception_on_finish
raise exc
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 31, in _raise_exception_on_finish
raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on Github. See stack trace above for the actual cause.
INFO 09-27 11:35:22 async_llm_engine.py:120] Aborted request d3ec023c4cab40299a715adf331ac01d.
INFO:     <IP_ADDRESS>:52237 - "POST /generate HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 27, in _raise_exception_on_finish
task.result()
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 316, in run_engine_loop
await self.engine_step()
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 301, in engine_step
request_outputs = await self.engine.step_async()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 168, in step_async
early_return) = self._schedule()
^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 295, in _schedule
seq_group_metadata_list, scheduler_outputs = self.scheduler.schedule()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 266, in schedule
scheduler_outputs = self._schedule()
^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 210, in _schedule
self._preempt(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 344, in _preempt
self._preempt_by_swap(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 366, in _preempt_by_swap
self._swap_out(seq_group, blocks_to_swap_out)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/core/scheduler.py", line 387, in _swap_out
raise RuntimeError(
RuntimeError: Aborted due to the lack of CPU swap space. Please increase the swap space to avoid this error.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/anaconda3/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app(  # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/fastapi/applications.py", line 292, in call
await super().call(scope, receive, send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/data/anaconda3/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/data/anaconda3/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/data/anaconda3/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/data/anaconda3/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/data/anaconda3/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/anaconda3/lib/python3.11/site-packages/vllm/entrypoints/api_server.py", line 58, in generate
async for request_output in results_generator:
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 391, in generate
raise e
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 386, in generate
async for request_output in stream:
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 69, in anext
raise result
File "/data/anaconda3/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 36, in _raise_exception_on_finish
raise exc
File "/data/anaconda3/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 31, in _raise_exception_on_finish
raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on Github. See stack trace above for the actual cause.
`

This because you have not enough swap space. And you should increase it larger.
You can run free -h in your system shell and will see current swap space.

thx

At present, we have found a workaround and set the swap space directly to 0. This way, we will not call the CPU swap space and will not report any errors. However, the CPU blocks will also become 0, which may slow down the speed a bit, but at least it will not hang and die.


Fluent metadata driver support

Hi!
I'm one of the authors of Fluent, a metadata driver aimed at easing usage of Doctrine's mapping concepts in Laravel. It is framework-agnostic and fully tested and functional.
We've been adding support for your package on our end, and we'll be ready to tag it in a few days! But I was wondering: Would you be open for merging the Gedmo\...\Fluent extension driver (the ones that implement your Driver interface) in this repository? We're actually implementing all classes as Gedmo\<extension>\Mapping\Driver\Fluent because of how this extensions work, and maybe that code could belong in here instead of in our repo.
Moreover, we are extending ClassMetadata so that parsing is done only once, and metadata gets cached along with the rest of Doctrine's default metadata info. Don't know if you have any use for that in your current metadata implementations, but we'd be open to helping you implement that as well!
You can see our progress on integrating this to Fluent currently on the extensions-support branch.
Cheers!

Hi @guiwoda this looks interesting, I have a few concerns though:

php 5.5 whether to switch master and 2.5 releases to this requirement
mongodb odm support (does Fluent handle ODM metadata?) even though, I see that ODM community and driver support is shrinking, but I still have to maintain it. In case if Fluent does not support ODM I doubt that it would be useful to implement it on Fluent too much effort and not as many users, would not advice to do it anyway.

As far as I understand Fluent extends ORM metadata and supports adding custom mapping information? This would surely be better to integrate since extensions reread mapping from drivers.
Note, that I will not change extensions much, only maintenance is on my mind for future releases of extensions, since I do not use PHP much these days. As a consequence, if you'd implement extension support on your end for ORM I think you won't need to struggle with changes from extension side.

hey @l3pp4rd!
We're planning on supporting ODM some day, but right now we don't. This wouldn't be a problem, as dependencies wouldn't neither, because the integration is between fluent + Gedmo. If you are choosing Fluent, then you must have php 5.5+, ORM 2.5+. Nothing changes on the Gedmo side.
ExtensibleClassMetadata and ExtensibleClassMetadataFactory may be better suited for a PR on ORM itself, as we could offer the ORM a way of extending all drivers. I'll ping the doctrine-dev channel to see what they think.
And if you're only doing maintenance, then maybe it's better we keep the code in our end, so we don't create an upstream dependency on you.
Cheers!

Yes probably I'll keep it in todo list for now, since it is tempting to have a generic solution for metadata mapping, but I need to maintain 2.5 ORM and ODM and php 5.4 requirement same as for these libraries. Probably when ORM 2.6 is released I'll have a peek at Fluent again.
Cheers, thanks for the reference ;)

Hi @l3pp4rd!
No support yet for the Fluent metadata driver? I'm guessing this is why I get this issue here:
[Tree] - lft, rgt, root, lvl are all 0 after flush()

hi @catalinbuletin most likely, but you should inspect it to be sure, this issue is long time inactive, guess either users find easy workaround or they do not use it. due to such low demand I doubt that it could be ever integrated, maintaining a support for another third party is a high and risky commitment