Last focused window in the display always looks like it is focused in multi-display setting.

Hi, I'm having this issue for a while since I updated to Sonoma. I thought it would be fixed soon but seems that it persists.
I have multiple displays and I set different transparency for focused and unfocused windows in yabai.
I notice that the last focused window in the display is always "considered" as focused. For example, when I move my focus from window A in display 1 to window B in display 2, the transparency of window A doesn't change (it looks like it is still focused but it is not).
Anyone has this similar problem?

Uh this is intentional to make multi-monitor more usable with window opacity. Well I found it more usable anyway, considering that I usually want to be able to look at what is on both monitors at the same time, even though I might be typing in the other one.

Before, it was a problem for me as I usually only have one window per display, and it makes me lose track of which window I'm focusing on. But now I'm using the JankyBorder, and it is no longer a problem for me. I will close the issue.

Are there no plans to make this configurable? I want only 1 window, the focused one to have the regular opacity and no others.


SVG line thickness rendered incorrect

Description
I have two svg's with the smae line thickness. I preview the line thickess look the same because they are but in-app one is show correct but th other has a very thin line. Also the clock hands are solid but in-app the inside is white?
Steps to Reproduce
Create a new XF 3.0 app from scratch
Add the latest 2.3.6 Xamarin.FFImageLoading.Forms and Xamarin.FFImageLoading.Svg.Forms nuget packages
Add the initialization FFImageLoading like documented
Add the added svg's to the shared .net standard project in a Resouces folder and set them to "Embedded recource"
Replace the lable in the stacklayout in the mainpage with
<ContentPage.Content>
<forms:SvgCachedImage WidthRequest="50" HeightRequest="50" Aspect="AspectFit" Source="resource://YourApp.Resources.icon_milk_churn.svg"/>
<forms:SvgCachedImage WidthRequest="50" HeightRequest="50" Aspect="AspectFit" Source="resource://YourApp.Resources.icon_time.svg"/>
Start a Android or iOS simulator and see that the line thickness of the icon_milk_churn is incorrect. Also the hands of the clock are not solid.
Expected Behavior
I would expect that the icon_milk_churn.svg would have a fatter line thickness like the clock. Also I would expect the hands of the clock to be solid.
Actual Behavior
The line thickness of the icon_milk_churn.svg is too thin. The inside of the clock hands are white.
Basic Information

Version with issue:
Last known good version:
Platform:

Screenshots
Preview:

In-app:

Reproduction Link / Code
icons.zip

Fixed

Really great work!
Can you tell what was the problem?

it's here: https://github.com/luberda-molinet/FFImageLoading/commit/d15a6dfb59cf58858454878c84cbc2cce1e04341


 I would assume so

There may not be enough overlap to just sync .precomit-config across all python repos. Let's revisit this issue when the E203 error pops up again. Likely at that point we would address it more generally by making the python repo setup consistent across our repos. That would be more of a maintenance milestone probably


pipeline.jl: refactor to make API uniform

Everything is now handled with function dispatch.  Also add a nicer
way to join with Julia objects: as_table that support do-blocks.
Related issues
Closes #34
Checklist

[x] I am following the contributing guidelines
[x] Tests are passing
[x] Lint workflow is passing
[x] Docs were updated and workflow is passing

Looks like there are no tests for tbl_select

Welcome back, @suvayu! :D


Updating Spring Tool Suite to 3.7.2

Thank you for the contribution. It was merged directly as 45ff8651ae46eb3ad38fabee6b1a1074991d165c to keep commit history cleaner. Your contribution is still credited to you.


♻ Widen mobile display so that short words like UI are on the same line

From: Terje
Cc: @adamcogan
Pain
Line breaks although there is enough space:

Tasks

[x] Give more space to text

Done - this is now live 🚀

Figure: UI isn't on a new line anymore!


Issues with Cart appearing behind most website items.

I have it working although it makes my website like 30x wider and appears behind everything on the website besides the background...

i think you should set the z-index to the cart to bring it to the front.

Add this line under the  paypal.minicart.render();
document.getElementById("PPMiniCart").style="z-index: 100;";


simple 3d viewer interface

Hi, in some scenarios, I want to visualize a 3D array with a slider to control the slide number. The "view" function has this function. But "view" is too heavy, and I want to use it very frequently. So is it possible to have a separated 3d sliding view function?
Thank you!

Hi @lfz , thanks for the feed back. Yes, good idea -- we will work towards time series support as discussed in #74


Check+ rejects valid solution when checking not crash

(GHC.List.iterate' arg1 arg0) !! arg2 :: ([a] -> ([a] -> [a]) -> Int -> [a] will be rejected.

SC get stuck when Depth is set to >= 5, but theoretically the candidate should pass the check on the very first input (which is generated sequentially by SC regardless the depth). Will investigate more once we have more information.


Add Unicode chars mode: "goawk -c" or Config.Chars=true

Use chars mode in index(), length(), match(), and substr(). This is based on the work done in https://github.com/benhoyt/goawk/pull/83, but the default is the other way around (default = bytes mode, which is the same as it is now).
Also only use Unicode chars in printf %c if chars mode is enabled. This changes the default introduced in https://github.com/benhoyt/goawk/pull/236 / v1.28.0 for that feature.
This won't please everyone (defaults are the same as mawk, but not Gawk). But it's a pragmatic solution that allows people to opt into Unicode support if they want, and if they can handle the O(N) behaviour of those functions.

Excellent! With these changes, lila now passes its full test suite under goawk's default settings.


Add bezier preset and refactor bezier editor

Co-authored-by: Razoric480<EMAIL_ADDRESS>Supersedes/Salvaged #57920.

Add a Bezier preset. Also corrected incorrect signals (#64097). handle_mode is now only a valid property if TOOLS = true.
The undo-redo is not working, but it is broken before this PR, so it has nothing to do with this PR itself and will need to be fixed later.
Fixes https://github.com/godotengine/godot-proposals/issues/3561. Fixes #64097.

@TokageItLab
Code looks great and solves the issues that were raised in the previous PR. Thanks for picking up my slack :) It's appreciated.
Compiled and gave it a spin. A couple apparent bugs:

Using right click to insert a new key does not cause a redraw, until you do something that does refresh. Only then does the new keyframe appears.
Focus with no keyframe selected seems to break Focusing, zooming out to minimum and having an error state vertically. I suspect changes to animation_bezier_editor.cpp's focus logic around the 875-901 lines. Not sure if the bug was there before. If we have no keyframes selected, maybe we should just focus on the length of the animation horizontally and the height of the top keyframes vertically.
The changes from #55030 seem to be gone, as I can no longer select multiple bezier tracks' keys simultaneously. Not sure if this happened here, or if something else happened since that PR and this one.

Other than those three things, it works pretty well.

@Razoric480 Thank you for testing, I'll take a look later.

Using right click to insert a new key does not cause a redraw, until you do something that does refresh. Only then does the new keyframe appears.

Fixed.

Since https://github.com/godotengine/godot/pull/55030 seem to have gotten partly reverted. All curves draw simultaneously, but they cannot be selected simultaneously. Not sure if this happened here, or if something else happened since that PR and this one.

It seems to be a regression that occurred in #57920. Fixed.

Focus with no keyframe selected seems to break Focusing, zooming out to minimum and having an error state vertically. I suspect changes to animation_bezier_editor.cpp's focus logic around the 875-901 lines. Not sure if the bug was there before. If we have no keyframes selected, maybe we should just focus on the length of the animation horizontally and the height of the top keyframes vertically.

It seems to be a bug that occurred in master before this PR. I don't think it is critical for now, so I think we can fix it in Beta or later if you need.

I have to say, the icons are very hard to read. Especially the difference between free and balanced. The key part to distinguish them is the handles, and they are the least visible. Can we do something about it?

@YuriSizov
How about these?

@Razoric480 Lovely! They are still very tiny, which may hinder the experience for some, but it's not something we can fix per icon and more of an overall issue. Definitely clearer this way!

@TokageItLab
BezierIcons.zip
Don't want to force-push on your branch in order to avoid conflicts, so I put them in there. Unless you'd prefer I just make a commit and you can squash it after the fact?

Changed icons and updated docs.

Fixed problems around Undo/Redo. The main problem seemed to be with redrawing timing.

Thanks!


Add rpm bugfix bump 8.3.0 --> 8.3.1

Issues:
Fixes #663
Problem: An sdk issue was preventing RPM installs.
Analysis: See the SDK issue:
https://github.com/F5Networks/f5-common-python/issues/1116
Tests: "SAP" tests were run manually in my bbot-sandbox.

Once we finish running tests against this code, I will approve.

Ran the tests and the results look good. Merging.

+1


Improve std feature flag in README

Sorry, my previous example was hardcoded for std, but in theory this flag could be used also for core/alloc, if some people want to only rebuild these libstd crates. Using just optimize_for_size should be more rgeneral.

Could you also fix this in the GitHub actions that uses this flag for nightly tests?

Sure thing, done!

Thank you for your contribution, @Kobzol.


Disable intellisense when typing <?php in php documents

VSCode Version: 1.30.2
OS Version: OS X 10.11.6
Does this issue occur when all extensions are disabled?: Yes

It's duplicate of #663, #1380 and #2744, which were closed without fixing for some reason.
The problem still exists in 1.30.2

This is what I see on the latest insiders:

Is your php.suggest.basic setting set to true?

It is set to false, 'cause I'm using Intelephense extensions, but as I can see this doesn't matter and occurs with both values. Though, I get same result when typing <?, but different when starting to add symbols like <?p. Here is some examples with different behavior. Note that suggestion list contains snippets from user snippets folder, - maybe this is the problem.
New unsaved file

// PHP user snippets appears from ~/Library/Application Support/Code/User/snippets/php.json

Saved file

// PHP User snippets appears from ~/Library/Application Support/Code/User/snippets/php.json
// but when fast typing only.

In both cases above, but hide suggestion list with Esc first, then revoke with Control+Space

// Global user snippets appears from ~/Library/Application Support/Code/User/snippets/global.code-snippets
// if php or its part matched snippet prefix

Oh, yeah, I can see how that would be super annoying.
I think what's happening is that because there are no words to complete when the cursor is after the question mark, the sorting algorithm gives the <?php entry the lowest possible weight (the only reason there is even an entry for <?php is because there's a special case for it).
Setting the preselect property on the <?php completion item might help, but that would have to be done by every PHP extension.
In the mean time, you could try setting editor.snippetSuggestions to bottom instead, assuming it's not more of an inconvenience.

In the mean time, you could try setting editor.snippetSuggestions to bottom instead, assuming it's not more of an inconvenience.

Unfortunately, I can't.
I need my snippets on top of the list in regular cases, like many of other programmers to increase productivity, but not when <?php is typed - and not just to avoid seeing suggestion list with user snippets, but to prevent autocompletion of one of items when hitting Enter right after <?php is typed to add newline and keep coding, as in #663.
There is has to be proper solution to prevent user language based and global snippets appear in suggestion list when <?php is typed, like it was done to php.suggest.basic suggestions in past.

I don't think this is the same as the other issues. I think there are a couple issues.
One is that because PHP supports short tags <? ... ?> you are in the php language mode immediately after typing <? and you'll get snippets that start with php. To us it's obvious what you intended but that grammar doesn't know that... I'm not sure what to do about that besides keep two versions of the grammar, or something. A space is not required after <?.
Secondly, not sure what's going on in the last gif. I can't reproduce it, I get the same snippets from typing after <? or press ctrl+enter. Any idea @jrieken?


Async Docs

See commits

Thanks for the great docs!
I tried to preview them rendered as html, but the readthedocs.org CI failed, looks like due to the following?
WARNING: autodoc: failed to import class 'Flask' from module 'flask'; the following exception was raised:
cannot import name 'ContextVar' from 'werkzeug.local' (/home/docs/checkouts/readthedocs.org/user_builds/flask/envs/3967/lib/python3.7/site-packages/werkzeug/local.py)

It should be fixed because it depends on Werkzeug rc now, maybe I need to clear the cache on rtd. It should build locally though

Thanks @davidism, confirmed the docs build just fine for me locally. And looks like other builds are working just fine on rtd too (see e.g. https://flask.palletsprojects.com/en/master/async-await/). I can submit a trivial docs PR if it'd help to confirm that the rtd PR docs builds are working again.


Improve invite user to org interface

Currently it is invite by email only
          Email is a unique key for each user, while name is not. In the future, we should have a list of suggestions based on the input, but that is something that I would like to do it its own PR. I can create an issue for it.

Originally posted by @hrice9 in https://github.com/charlotteoutdoorgaming/HVZ/pull/35#discussion_r1070663783

https://stackoverflow.com/questions/6944056/compare-string-similarity/6944095


IBM AS/400 DB2 Support?

Hello there,
Are there any plans to add a DB2 compiler? Or by any chance has anyone worked on an unofficial implementation?
Thanks,

Patrick

Currently there is no plan to add support for DB2, or any other vendor, our focus is to clean the issues, and provide relevant features.
However we encourage the community to add new compilers in their own packages.


Multiple errors outputted while using TileMap/Set editors

Godot version:
2db4942
Issue description:
They generally appear when opening said editors, or removing a tile. @MarianoGnu
scene/resources/tile_set.cpp:406 - Condition ' !tile_map.has(p_id) ' is true. returned: SINGLE_TILE
scene/resources/tile_set.cpp:393 - Condition ' !tile_map.has(p_id) ' is true. returned: Rect2()
scene/resources/tile_set.cpp:604 - Condition ' !tile_map.has(p_id) ' is true. returned: Ref<Shape2D>()
scene/resources/tile_set.cpp:665 - Condition ' !tile_map.has(p_id) ' is true. returned: Ref<OccluderPolygon2D>()
scene/resources/tile_set.cpp:709 - Condition ' !tile_map.has(p_id) ' is true. returned: Ref<NavigationPolygon>()

This has been fixed by #21456. Closing it.


HALT instruction

Rebased

Rebased

Please address the single mentioned issues

I think that everything has been addressed, except for the part there Gekkio's opinion was requested.


Ctrl+F doesn't show search results in visible screen

Please provide a succinct description of the issue.

clone https://github.com/fsprojects/Paket
ctrl+f for tryGetAllVersionsFromNugetODataWithFilter`

Expected behavior
Search results are shown on screen
Actual behavior

The line is found but hidden behind the navigation bar so that you need to scroll up. This is really really annoying since it breaks the worflow when searching for things.
Known workarounds
scroll up
Related information
Provide any related information
VS 2017.3 Preview

@olegtk @JoshVarty - editor issue, right?

@forki, can you please clarify the repro steps, down to details like initial position in the file and whether you type "tryGetAllVersionsFromNugetODataWithFilter" in QuickFind or paste it. Thanks!

@olegtk it happens all the time.
do the following:

install F# support (you need the navigation bar)
clone paket (as above)
go to RELEASE_NOTES.md in VS
press Ctrl+F (search in solution)
paste tryGetAllVersionsFromNugetODataWithFilter
hit the search arrow

VS will find something in NuGetV2.fs but you can't see it on the screen since it's behind navigation bar.

Hard to say off hand if it's editor or F#, but we would need to take a first look to determine that. Please file an internal bug for the editor team, @Pilchie.

Filed https://devdiv.visualstudio.com/DevDiv/_workitems/edit/463409.

This bug was run through VS editor validation in 15.7 and could not be reproduced. @forki please do ping if you see this again.


[C-1529] "+ Add Activity Type" button should show even if there are no custom activities

crowd.dev edition
Cloud (hosted)
Version
No response
Link
https://app.crowd.dev/activities
Describe the problem
Steps to reproduce

Go to Activities page.
Click on Add Activity button on top right
Now if you don't have any custom activities already created than "Activity Type" dropdown shows no data and user cannot create a new custom activity from there

Actual

Expected

Describe the improvement
Instead it should show "+ Add Activity" button even if there are no custom activities
Additional context
No response
C-1529

Would like to create a PR on this if the team agrees.

@joanreyero Just created one !


find k pair w smallest sum

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Given two integer arrays arr1[] and arr2[] sorted in ascending order and an integer k. Find k pairs with smallest sums such that one element of a pair belongs to arr1[] and other element belongs to arr2[]
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#6869 Find K pair w smallest sum

hey, please check this


Support tuple comparisons

This came while implementing np.round().

Nice!  I hadn't thought about this missing functionality...


TypeError: Cannot read property 'get' of null

https://errortracking.prod-preview.openshift.io/openshift_io/fabric8-launcher-frontend/issues/6011/
TypeError: Cannot read property 'get' of null
  at navToStep (~/ngx-forge/src/app/launcher/shared/telemetry.decorator.js:25:1)
  at apply (~/ngx-forge/src/app/launcher/launcher.component.js:52:1)
  at wrapped (~/raven-js/src/raven.js:375:1)
  at invokeTask (~/zone.js/dist/zone.js:398:1)
  at onInvokeTask (~/@angular/core/@angular/core.es5.js:3881:1)
...
(4 additional frame(s) were not displayed)

This issue was moved to fabric8-launcher/ngx-launcher#288


Android Beacon detection is not working when App close.

Hi,
I have set region and start scanning in android. it's work fine when app in foreground. The data of beacon getting the results. but when App is closed, And after I checked the beacon is not connect.
Can you help me what is mistake in android.
Thanks.

Anybody did manage to make it work for region monitoring when app is closed?

You probably have to use an Android Foreground Service. Take a look at this package: https://github.com/voximplant/react-native-foreground-service . I didn't yet try it myself though.
Btw, how does your definition of closed relate to the appstate? When you observe the AppState is the app state background?

Thanks @Andruschenko, this seems to work fine! When using a foreground service the beacons scanner seems to keep working.

There stil seems to be a problem with detecting beacons in the background on android. When your screen is turned off no beacons are updated. This seems to be a bug in the Kontakt SDK. I have made an issue for Kontakt (#201).

@nylsoo did you find the solution of this problem? I am currently facing the same issue using react-native-beacons-manager and the same foreground service as you.

@nylsoo nevermind. I figured out by myself. Just updated version of altbeacons to the latest. react-native-beacons-manager from npm for some reason uses old build from 2017. Installing from their github repository directly will fix this issue.

@unkindypie Hi, could you tell what version the react-native-beacons-manager exactly should use and where do you change the version? Thanks :)

@izaa just use npm install<EMAIL_ADDRESS>to install the package from the latest commit at master. But I should say that it works perfectly on android >=8.1 including background, but for some reason stops detecting beacons on android <8.1. I tried some older commits from that repository and faced the same problem. If you find a solution, please share it.

@unkindypie  ah ok! Yes I've tried that, but looks that this kontaktio works better than that manger. How do you feel which one is better?

@izaa in my opinion currenly both of them are bad for android. I have created an issue on react-native-beacons-manager, maybe someday someone will help us.

@unkindypie thanks for the info! So both work better in iOS? I haven't tried yet iOS.

I am currently contacting Kontakt to see if they could do something about this issue. They seem to be unresponsive on their own Github page.


Cannot set property 'options' of undefined

Hello!
Has anyone fixed this issue yet? Any workaround until we have the solution? This error shows in browser & console both.
Cannot set property 'options' of undefined
at WooCommerce (/nodejs/node_modules/woocommerce/lib/woocommerce.js:20:16)
at Layer.handle [as handle_request] (/nodejs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/nodejs/node_modules/express/lib/router/index.js:312:13)
at /nodejs/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/nodejs/node_modules/express/lib/router/index.js:330:12)
at next (/nodejs/node_modules/express/lib/router/index.js:271:10)
at expressInit (/nodejs/node_modules/express/lib/middleware/init.js:33:5)
at Layer.handle [as handle_request] (/nodejs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/nodejs/node_modules/express/lib/router/index.js:312:13)
at /nodejs/node_modules/express/lib/router/index.js:280:7

Could you copy/paste a bit of context for me? Can you show me how you are declaring WooCommerce?

Yes here you go - http://pastebin.com/F97LaPQN

On line 39 app.use('/woo',WooCommerce); you are calling 'WooCommerce' directly, it may be a typo, but you maybe wanted to pass 'wooCommerce' in there, as it requires the options to make the connection?

Also can I make a suggestion, it's a personal preference on the structure, so feel free to disregard:
var app = require('express')(),
  WooCommerce = require('woocommerce');

// WooCommerce initialisation
var wooCommerce = new WooCommerce({
  url: 'cityflashsale.com',
  consumerKey: 'mykey',
  secret: 'mysecret',
  logLevel: 0
});

/**
 * Other routes
 */

app.get('/hello', function(req, res) {
  res.send('Hello World');
});

app.get('/auth', function(req, res) {
  var OAuth = require('oauth');
  res.send('requested');
});

/**
 * Products routes
 */

app.get('/products', function(req, res, next) {
  wooCommerce.get('/products', function(err, data) {
    if (err) return next(err);

    // In here I can do any processing
    // that I want to pass to the page

    res.render('/views/products', {
      products: data
    });
  });
});

app.get('/products.json', function(req, res, next) {
  wooCommerce.get('/products', function(err, data) {
    if (err) return next(err);

    // In here I can do anything I want to
    // the data, like sorting, limiting etc

    res.json(data);
  });
});

var server = app.listen(8081, function() {
  console.log(server.address());
  var host = server.address().address
  var port = server.address().port

  console.log("Example app listening at http://%s:%s", host, port)

});

Thank you Rick - this perfectly makes sense.


Accuracy

I'm not reporting an issue at all but I want to know if I'm missing something or what.
Check this out:
franc.all('drink some coffee', { whitelist: ['eng', 'spa'] });

// outputs
[ [ 'spa', 1 ], [ 'eng', 0.949748743718593 ] ]

Where the main competitor cld from Google (the one you mentioned on the README.md) outputs the following:
cld.detect('drink some coffee', function(err, data){
  return data;
});

// outputs
{ reliable: true,
  textBytes: 19,
  languages: [ { name: 'ENGLISH', code: 'en', percent: 94, score: 1194 } ],
  chunks: [] }

Is this the Franc's accuracy? Because is far beyond to be correct.

Yes. It’s accuracy. See #8 and #16 for more info. I think Google’s is especially made for short text. This focusses on more languages and longer input.


Update Gencode gene ontology versions

Upgrade single-cell-curation to use these Gencode ontology versions:

Human 38
Mouse 27
Update the versions in the Makefile that downloads and processes these files. Reprocess (make gene-processing) and commit changes.

Update versions in Schema 2.0.0 spec docs. (Keep ver at 2.0.0 or increment now?)

New links
Human Gencode 38
http://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_38/gencode.v38.primary_assembly.annotation.gtf.gz
Mouse Gencode 27
http://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M27/gencode.vM27.primary_assembly.annotation.gtf.gz

@atolopko-czi and @pablo-gar - I'm not sure why this is in the single-cell-data-portal instead of single-cell-curation (and part of the cellxgene-schema CLI epic). Can this be closed since the work is complete and schema updated? Or am I missing something?


⚠ Bofrost.at has degraded performance

In 18198ac, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1656 ms

Resolved: Bofrost.at performance has improved in 1a7e8d1.


Print warning if $refs are used that are not supported

taplo currently only resolves "$ref" links if they are

local references
absolute
In the exact path #/definitions/…

We should print a warning if the user tries do do something else, otherwise it just silently does nothing and the UX is not great. Source: stumbled into this myself
Relevant part of the code:
https://github.com/tamasfe/taplo/blob/b98bf91bbdaf9a0f4f8ba42fdf48a132c932dbf0/taplo/src/schema.rs#L425-L431

This is documented here. Although indeed, a warning would be nice.
I think currently it is not only silently fails but actually should crash the LSP since verify that is used for validations doesn't support $ref resolution either.

This is documented here. Although indeed, a warning would be nice.

yes, that’s how I figured it out in the end :)


CUDA out of memory

Why does the training code throw exceptions about 'CUDA out of memory'.
I'd tried runing the code after setting 2-layer decoder in LATR without any other code changes, but the problem is still not solved!
I trained models on 4 x NVIDIA RTX A4000 with 16G memory per GPU.

training the models on apollo Balanced Scene.
CUDA_VISIBLE_DEVICES='0,1,2,3' python -m torch.distributed.launch --nproc_per_node 4 main.py --config config/release_iccv/apollo_standard.py

cuda 11.1
python                    3.8.18               h955ad1f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
torch                     1.8.0+cu111              pypi_0    pypi
torchaudio                0.8.0                    pypi_0    pypi
torchvision               0.9.0+cu111              pypi_0    pypi
mmcv-full                 1.5.0                    pypi_0    pypi
mmdet                     2.24.0                   pypi_0    pypi
mmdet3d                   1.0.0rc3                 pypi_0    pypi
mmengine                  0.9.0                    pypi_0    pypi
mmsegmentation            0.24.0                   pypi_0    pypi

Thank you for your interest in our work, as stated in #7 , the provided configuration file with batch_size=8 requires gpu memory larger than 20G, but you can always reduce batch_size in config file to fit in your gpu.

Thank you for your response, it's very helpful, and based on it, I have resolved my issue.


[MINOR] Fixing the default value for source ordering field in payload config

What is the purpose of the pull request
Fixing the default value for source ordering field for payload config
Brief change log
(for example:)

Fixing the default value for source ordering field for payload config

Verify this pull request
Fix is wrt default and should not affect is users are setting it explicitly.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2516 (7c1f105) into master (0d8a4d0) will decrease coverage by 40.83%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2516       +/-   ##
============================================
- Coverage     50.52%   9.68%   -40.84%
+ Complexity     3122      48     -3074
============================================
  Files           430      53      -377
  Lines         19597    1930    -17667
  Branches       2008     230     -1778
============================================
- Hits           9902     187     -9715
+ Misses         8886    1730     -7156
+ Partials        809      13      -796

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.68% <ø> (-59.75%)
0.00 <ø> (ø)

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


[WIP] Have queue worker publish some statistics on their operations

This is rather incomplete yet. Making scripts/nagios/check-rabbitmq-queue analyze the data still has to be done too.
The first commit does a refactor to extract a very analogical block between the normal and loop queue worker classes, so that both types of workers can take advantage of the statistic-gathering code added to that block, without duplication.
MissedMessageWorker seems rather difficult to collect meaningful data about, since it just consumes events by stashing them away for later and sets a Timer to process messages in bulk later - that's where the real work happens - so I'm not sure how to approach it.
This is also hard to meaningfully test without an active production server, but some basic dev environment testing seems to work, we get queue_name.stats files for each queue in var/log/queue_stats with json data looking like:
{"update_time":1584560457.7656788826,"recent_average_consume_time":0.0241765976,"current_queue_size":0,"queue_last_emptied_timestamp":1584560457.7656590939,"consumed_since_last_emptied":0}

I posted a few comments above.  I think in general this is a plausible direction.  A few notes:

It's easy for Nagios monitoring to check the queue size externally when it runs 1/minute, so if it proves expensive to have the queue processors do that part of the logging, we can do it elsewhere.
There are multiple failure modes we're interested in catching: (1) A queue that simply gets stuck, e.g. processing an event hangs forever, (2) A queue has more events incoming than it can process, resulting in an ever-increasing backlog.
There are some common false positives we want to not page: (1) A queue that is usually empty, like digest_emails, that suddenly gets 1000 events which are all processed over a few minutes.  That should be evaluated as OK, potentially with some configuration where we specify that a 10-minute backlog is OK with this queue. (2) That same case where the queue does frequently have recent traffic, but gets a sudden burst of 1000+ events (e.g. via @all mention), and we're happy as long as there's never a >2 minute backlog (this is probably the default behavior we want).  Also should be OK.

One thing we could think about doing is making send_event add a events_internal_timestamp field with time.time() in it to the event dictionaries it's sending; that would allow this monitoring code to inspect those and note the highest time.time() - events_internal_timestamp it's seen, which would be a very good measure of the backlog.

@timabbott I made fixes, and pushed a commit rewrite the queue checker to analyze the data from the stats, it's very primitive right now, but I think it covers all the cases you've mentioned. Tested by manually fiddling with the .stats files to create situations I wanted and running the script manually. Here are example outputs:
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584723885|0|OK|queues normal
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584723936|1|WARNING|queue email_mirror problem: WARNING:clearing the burst will take too long: 601.0s, size: 601
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584723975|2|CRITICAL|queue missedmessage_mobile_notifications problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.2096155; queue user_activity problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.6188877; queue invites problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.7354383; queue email_senders problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.6466076; queue missedmessage_emails problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.1676295; queue slow_queries problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.2496855; queue user_presence problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.4090366; queue email_mirror problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.8052151; queue user_activity_interval problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.5393515; queue signups problem: CRITICAL:queue appears to be stuck, last update<PHONE_NUMBER>.288897
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724314|2|CRITICAL|queue email_mirror problem: CRITICAL:clearing backlog will take too long: 601.0s, size: 601
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724348|1|WARNING|queue email_mirror problem: WARNING:clearing backlog will take too long: 220.0s, size: 220
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724380|1|WARNING|queue email_mirror problem: WARNING:clearing backlog will take too long: 220.0s, size: 220
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724401|0|OK|queues normal
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724416|0|OK|queues normal
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724449|1|WARNING|queue email_mirror problem: WARNING:clearing the burst will take too long: 601.0s, size: 601
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$ sudo scripts/nagios/check-rabbitmq-queue
1584724460|2|CRITICAL|queue email_mirror problem: CRITICAL:clearing the burst will take too long: 1201.0s, size: 1201
(zulip-py3-venv) vagrant@001e00969316:/srv/zulip$

Didn't production test the whole thing yet.

Okay, now this should be in a decent, I covered corner cases (that I was able to think of) and tested manually some more. Automated tests and production tests is still left, but probably best to do that once we have an agreement on the behavior being what we want.

I merged a couple prep commits.  A few high-level notes:

I feel a bit uncomfortable using /var/log/zulip rather than something under /var/zulip for these status files, since structurally they aren't logs.  It is probably OK to fix later, but wanted to mention it.
We need some tests for check-rabbitmq-queue; I think if we extract functions in a sensible way, we can have the test-tools suite just call the analysis functions passing various sample data sets to validate the logic.

@timabbott I pushed with requested changes (except the change from /var/log/zulip for now).

@mateuszmandera OK made some cleanup changes:

Used variables for OK, CRITICAL, etc. rather than 0/1/2/3, for more readable code and tests
Added some comments/docstrings.

I'm going to deploy this to chat.zulip.org to get some real-world testing, but there's a few things I think we should cleanup:

The normal_queues we should try to deduplicate with scripts/nagios/check-rabbitmq-consumers.
I'd prefer to not have this need to run rabbitmqctl list_consumers if it's not strictly necessary; rabbitmqctl isn't cheap, and we already check that in check-rabbitmq-consumers.
json.decoder.JSONDecodeError should probably be treated as a more fatal error than no stats data for the queue (I.e. an immediate UNKNOWN status?)?
The locking doesn't do anything useful, as best I can tell.  We're not preventing reads while the lock is held, and there's only one writer for each queue right now (and if there were multiple, I'm not sure this would do anything useful).

I merged the first commit.

  I suspect what this means is in part that we should treat "Has a stats file more than 5 minutes old" as a common condition that isn't a cause for concern even if there's some events in the queue (because if you dump 15 new events into any of these queues, e.g. by sending a message to a stream that 100 people have configured mobile push notifications for, they will often immediately be in that state until the queue finishes processing 50 of those events).
Maybe we need the "Do I write" check to also look at whether 5 minutes has passed since the last .stats write, and if so, write an update?  Note sure.

Maybe we need the "Do I write" check to also look at whether 5 minutes has passed since the last .stats write, and if so, write an update? Note sure.

That seems like a good idea, our reason for limiting writing to only every X iterations to avoid losing performance by writing all the time anyway. It'd also handle replace doing https://github.com/zulip/zulip/pull/14240#discussion_r401988489 Though perhaps what we should do is override CONSUME_ITERATIONS_BEFORE_UPDATE_STATS_NUM for some of those queues? It seems unlikely that a single value of this will universally fit all these queues Perhaps we should make it configurable in settings.py? Since this may require some manual fiddling to find the right values.

I'd prefer to not have this need to run rabbitmqctl list_consumers if it's not strictly necessary; rabbitmqctl isn't cheap, and we already check that in check-rabbitmq-consumers.

The purpose of doing list_consumers is not to check stats files for queues that aren't running. And especially, if the server is stopped.

json.decoder.JSONDecodeError should probably be treated as a more fatal error than no stats data for the queue (I.e. an immediate UNKNOWN status?)?

I'm not sure if I understand - currently the handling is to do UNKNOWN status. Do we want to change that to someting else? (what would be more fatal than returning UNKOWN?)

The locking doesn't do anything useful, as best I can tell. We're not preventing reads while the lock is held, and there's only one writer for each queue right now (and if there were multiple, I'm not sure this would do anything useful).

It seems necessary for tests to successfully run in parallel without conflicting with each other.

It seems necessary for tests to successfully run in parallel without conflicting with each other.

Yeah, but if we have multiple workers, it seems like this won't aggregate their data usefully at all, we'll just get the data from the one that wrote last, right?

Yeah, but if we have multiple workers, it seems like this won't aggregate their data usefully at all, we'll just get the data from the one that wrote last, right?

Yes the stats won't work well with  multiple workers. Do we want to implement that now, in case we want to do multiple workers in the future? For tests themselves this doesn't matter currently I think, because nothing cares about those stats files in tests.

Merged; the downside of not doing so at this point is definitely worse than doing so.  Thinking about the follow-up issues:

It doesn't have good support for multiple workers on a single queue; though the results are probably OKish?  Maybe this isn't worth an issue, but just a comment?
We should probably have the readers grab the lock too to avoid races (maybe this is just a quick commit).

There's one near-term thing I'm thinking we should do, which is log the data for every case where the old algorithm would have had a higher alert level than the new algorithm to a file; we can then analyze that log to determine if there's any situations this is failing to alert that should.


Dropdown bug and img popover

Hi,
this is my little contribution to this project.

image popups do not work, because imdb sends 403


Add auto reading time estimation

I think it would be great if the reading time calculated automatically. I've just added this for myself and if you agree, I can create PR for this.
I considered 265 WMP for myself rounded to ceiling. If you consider another reading speed, please let me know.
Thanks.

Sure!
Seems a good idea!
Feel free to PR

Now added in the main branch.
Thanks!!


Line charts upside down on WidgetKit -- v2-beta

Depending on what your use-case desires: line charts out of the box will be upside down on widgets. To solve this remove all instances of rotationEffects -- and animations for good measure.
    //.rotationEffect(.degrees(180), anchor: .center)
    //.rotation3DEffect(.degrees(180), axis: (x: 0, y: 1, z: 0))

rotationEffects only need to be removed if you set the frame height .frame(height: 9) on the chart
I ended up having to fork and make some additional modifications. Great library as a starting point for my marine forecast and tides widgets

@skg54 how did you get the axis labels and markings?

@skg54 In my project the Path not working in the WidgetKit . Is there anything else I need to pay attention ?

Somehow, depending on the size of the frame, it will require the rotation... or not. Not sure why this is the case

Somehow, depending on the size of the frame, it will require the rotation... or not. Not sure why this is the case

@skg54 how did you get the axis labels and markings?

They appear to be fixed values


cgroups.conf

I am wondering if this setup could be used to simulate a slurm configuration using the task/affinity or task/cgroups mode for TaskPlugin. How do you feel @giovtorres ?

I'm not sure it will work in this container since Slurm is compiled with --enable-front-end.  On frontend systems, I believe the only TaskPlugin available is task/none.

Ok, I'll have a look at this flag. For me, I am running on a 40 core
machine. I'd be fine with spinning up containers for 4 compute nodes and
a front-end node and potentially a slurmdb node. I am not an expert on
slurm, nor an admin, but IIRC that is all that is needed. Once could
then use docker compose to spin up multiple containers and somehow do
the networking between them. For your use case, this might be overdoing
it. For the use case of simulating a slurm based cluster, it would be
the best. Then, the cgroups configuration would be possible, I guess.
A lot of guess work plus the validation with reality. What do you think?

I'll try compiling a different way to see what options I have for cgroup configuration.

Super cool, looking forward to it.
P

Have you seen this project?  It uses docker-compose for spinning up a slurm cluster locally and the networking and volumes are shared across nodes.  I haven't quite kept it up to date, but it would be easy to update the versions.  Is this similar to what you are trying to accomplish here?

Err, yes I did see it ... but I didn't get anywhere to be honest. This project appeared more maintained and supported the slurm version I needed out of the box. So I opted for it. I am happy to try the other one - but my limitation is that all nodes run on the same host.


Hi, I have some questions about your code

Hello, I am very interested in your work and have some questions about your code while reading it.

Are you sure the code is correct?

did you solve it? I'm a little confused with this code


instructions on where to put new container unclear

I think we want to mkdir src/containers/Hello and not src/containers/src/Hello?

Thanks!

Thanks for finding it!  My bad.


Change return type hint for create_model

Described in https://github.com/samuelcolvin/pydantic/issues/525
Change Summary
Fix the return type of create_model
Related issue number
Issue #525

Thanks so much.


[incubator/schema-registry] Add ingress

What this PR does / why we need it:
Adds optional ingress to schema-registry chart
@benjigoldberg

/ok-to-test

/lgtm


Custom background color for each connection

I think it would be very useful to be able to assign a distinct background color to each connection. That way the user has a visual indication of wether they are in production or in development

Hi, since the extension relies on VS Code, but VS Code does not provide an API to modify the background color, so this is not possible. I suggest you group the connections to better distinguish the connections.


Fix nextjs .eslintrc.js file

Fixed nextjs eslintrc.js file build time warning.
Issue #77

@AnmolSirola build is failing, make sure you follow https://github.com/aptos-labs/aptos-wallet-adapter/blob/main/CONTRIBUTING.md#creating-a-pull-request


Question: Should we fail faster when docker is not found?

Should we throw a SevereServiceErrorwhendocker` isn't found? Right now there's an error in the log but the tests keep running:
DEBUG wdio-docker-service: Docker command: docker run --cidfile .../wdio-docker-service/nginx.cid --rm -p 8080:8080 -v .../wdio-docker-service/test/integration/docker-app/app/:/usr/share/nginx/html:ro -v .../wdio-docker-service/test/integration/docker-app/nginx.conf:/etc/nginx/nginx.conf:ro --health-cmd "curl -sS http://<IP_ADDRESS>:8080 || exit 1" --health-timeout 10s --health-interval 5s nginx
WARN wdio-docker-service: Connecting dockerEventsListener: 585794
INFO wdio-docker-service: Cleaning up CID files
WARN wdio-docker-service: NOTE: Pulling image for the first time. Please be patient.
ERROR wdio-docker-service: Error: Error executing sub-child: docker events --format "{{json .}}" --filter image=nginx
/bin/sh: 1: docker: not found

    at DockerEventsListener._onMessage (/home/sean/Development/GitHub/seanpoulter/Forks/webdriverio-community/wdio-docker-service/src/utils/dockerEventsListener.js:55:27)
    at ChildProcess.emit (events.js:400:28)
    at ChildProcess.emit (domain.js:475:12)
    at emit (internal/child_process.js:935:14)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)
WARN wdio-docker-service: Disconnecting dockerEventsListener: 585794
INFO chromedriver: Initiate Chromedriver Launcher (v8.1.1)

We suppress the ENOENT here:
https://github.com/webdriverio-community/wdio-docker-service/blob/efa15d3bd890d8e3c7843658f2348f986fbb63b2/src/utils/docker.js#L123-L129

Any reason to pull in another package Christian? I thought the ENOENT from line 124 above already tell us.

Looking close at the code I think it is worth to do some refactoring and instead of chaining all the promises to use await and handle individual errors if each call manually. Meaning, if we call the docker command, check for error and return early as you suggested.


[Q] Sweep job finished before running the whole code

I create a Sweep by below code.
wandb.agent(sweep_id, function=train, count=2)
and I define sweep_id before above line, and also train function.
when I run this python file, the first Job runs well.
But from the second one, it finished before running the whole code with below message.
wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing.

so I'm using NanoDet, and this is part of my train function.
def train(config=None):
    run = wandb.init(config=config, reinit=True)
    config = wandb.config

    rotation = config.rotation
    shear = config.shear
    translate = config.translate
    brightness = config.brightness

    # between here, all NanoDet-Plus code

    trainer.fit(task, train_dataloader, val_dataloader,
                ckpt_path=model_resume_path)

    run.finish()

First one runs well, and from the second one, the sender send exit.
DEBUG   SenderThread:186 [sender.py:send():375] send: telemetry
DEBUG   SenderThread:186 [sender.py:send():375] send: exit
INFO    SenderThread:186 [sender.py:send_exit():598] handling exit code: 1
INFO    SenderThread:186 [sender.py:send_exit():600] handling runtime: 0
INFO    SenderThread:186 [sender.py:_save_file():1378] saving file wandb-summary.json with policy end
INFO    SenderThread:186 [sender.py:send_exit():606] send defer

Is there anybody who can help to handle this?

Hi @3i-MiaHong, is there a reason you are setting reinit=True? I'm not sure that this is the cause but you should be able to remove this since the agent can handle running multiple wandb.init's. Could you try this and let me know if you still see this issue?

Hi @nate-wandb ! thank you for replying.
Actually at first I ran the code without reinit=True, and it wasn't going well, so I add that by referring someone's code.

Hi @3i-MiaHong, sorry for the delay. A couple questions that may help:

What version of wandb are you using?
Are you able to share the debug logs for both runs?
Could you also share how you initiate the sweep as well?

Thank you,
Nate

Hi @3i-MiaHong, I wanted to follow up and see if this was still an issue for you?

hi @nate-wandb, sorry for the delay.
Actually I solved the issue, and it was not a W&B issue.
I think W&B Sweeps set random hyper parameter value and starts first run. After that, set second value and starts second run, and compare the second value with the model's default config's value. and maybe it's different, training will be start.
I'm not sure that is correct what I understood, but at least in my case, this was the reason. Also I found an error log about the type error.
So I modify model config value 0 to 0.0, and then the issue was solved.

Thanks for the follow up and glad you were able to get this resolved!


Bump<EMAIL_ADDRESS>

Get the latest LibSass (with alpine bindings)
https://github.com/sass/node-sass/releases/tag/v4.1.1

ping @xzyfer ;)

For posterity.
^4.0.0 includes 4.1.1. You can learn more about semver at https://github.com/npm/node-semver#caret-ranges-123-025-004.
In future please search to existing issues before opening new one. Duplicate of #491 #493 #489 #487 #494 #504 #547 #550 #557 #559 #561 #567 #568


Avoid creating versioned libraries for Android

On Android, having versioned libraries with the symlink pointing to the shared
library may not work at packaging time: the real library may be discarded and
only the symlink may appear in the final apk.
This patch avoid creating the versioned library. Tested on Android and 1.0.2p + 1.0.2o.
Let me know if this is something you would like to have in an old release branch.
NB: I tried to port the changes to the 1.1.1 series but I am not able to compile for Android
right now and I may need support.

Tested also with 1.0.2q.

Dear @SSE4
I see the PR as closed, what is the status on the merge itself?

I will take a look and create newer PR. recipe has changed significantly, so it needs to be re-done.

Thanks for the reply. So if you say it should be applied on latest master, I can change the proposed PR and adapt it.

yeah. please also check, if it's possible to achieve without a patching of makefiles, may be there is a corresponding configuration option available already?

Ok, will give a try and keep you posted.

also, check this out: https://github.com/openssl/openssl/issues/3902

Yes I checked this but this was not doing the job as expected. I will give another shot.


add readme

please :)

Better? Closed with commit f8550dea884fe346914f39ca6fb3c418474bf421

:+1: :) excited that this is out there


Remove glob-to-regexp

Remove the glob-to-regexp dependency, custom gitignore logic and replace with ignore.
See https://github.com/applandinc/vscode-appland/blob/master/src/telemetry/properties/versionControlGit.ts

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

v0.18.0
GitHub release

Your semantic-release bot :package::rocket:


set ROS_HOSTNAME and ROS_MASTER_URI

What do I have to set for those variables?
Is there a roscore included in this package, or can/must I use a remote roscore?
My plan is to write a node using ros.net, but communicate with nodes and the roscore running on ubuntu. I set ROS_HOSTNAME to <ubuntu_pc_name> and ROS_MASTER_URI to "http://:11311/" (copy and paste from running roscore in console), but when I compile and run ROS_dotNET_ROS_SAMPLES in visual studio, all I get is a window "call failed after x ms"

I set ROS_HOSTNAME to <ubuntu_pc_name>

ROS_HOSTNAME is never set to the name of another machine, always to the name of the machine running the node.
But unless you have working DNS for all involved hosts, using ROS_IP is probably going to be easier.

and ROS_MASTER_URI to http://<ip>:11311/

If that <ip> is the IP of the ubuntu machine running the master, that should work.

So what is ROS_IP now? ^^
So there is also included a roscore in ros.net?
What do I set the ip to if i want to run the package only by itself? http://<IP_ADDRESS>:11311/ ?
Or is it a IP i can choose freely and the roscore is then running using that ip?

Set them in windows environment variables, OR they can be set
programmatically via statics on the ROS class (less portable).
A remote rosmaster running on a Linux machine is preferable. If you are
using roslaunch for nodes on your robot or Ubuntu ROS nodes, start
"roscore" backgrounded or in a separate shell, so that you can restart
roslaunch OR your ros.net node without rosmaster disappearing during the
lifespan of either your windows or Linux nodes.
On Aug 4, 2017 8:39 AM, "G.A. vd. Hoorn"<EMAIL_ADDRESS>wrote:

I set ROS_HOSTNAME to <ubuntu_pc_name>
ROS_HOSTNAME is never set to the name of another machine, always to the
name of the machine running the node.
But unless you have working DNS for all involved hosts, using ROS_IP is
probably going to be easier.
and ROS_MASTER_URI to http://:11311/
If that  is the IP of the ubuntu machine running the master, that
should work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uml-robotics/ROS.NET/issues/40#issuecomment-320238214,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLrW4N8UXF-kkCzs3XcOJwDwDttEEHnks5sUxDvgaJpZM4OtqXo
.

Note: I'm not a developer nor maintainer of this pkg.

So what is ROS_IP now? ^^

ROS_IP, ROS_HOSTNAME, ROS_MASTER_URI are basic ROS networking env vars. I'd refer you to ros/wiki/ROS/EnvironmentVariables - Node Environment Variables and ros/wiki/ROS/NetworkSetup.

So there is also included a roscore in ros.net?

I don't know.

What do I set the ip to if i want to run the package only by itself? http://<IP_ADDRESS>:11311/ ?
Or is it a IP i can choose freely and the roscore is then running using that ip?

no, you cannot just make something up. But the two linked wiki pages should make that clear.

Example:
Ubuntu (IP:<IP_ADDRESS>)
export ROS_HOSTNAME="<IP_ADDRESS>"
export ROS_MASTER_URI="http://<IP_ADDRESS>:11311"
roscore &
wait for master to start
roslaunch somepackage something.launch
Windows (<IP_ADDRESS>)
Set in windows environment variables
ROS_HOSTNAME=<IP_ADDRESS>
ROS_MASTER_URI=http://<IP_ADDRESS>:11311
run ros.net program
On Aug 4, 2017 8:47 AM, "Eric McCann"<EMAIL_ADDRESS>wrote:

Set them in windows environment variables, OR they can be set
programmatically via statics on the ROS class (less portable).
A remote rosmaster running on a Linux machine is preferable. If you are
using roslaunch for nodes on your robot or Ubuntu ROS nodes, start
"roscore" backgrounded or in a separate shell, so that you can restart
roslaunch OR your ros.net node without rosmaster disappearing during the
lifespan of either your windows or Linux nodes.
On Aug 4, 2017 8:39 AM, "G.A. vd. Hoorn"<EMAIL_ADDRESS>wrote:

I set ROS_HOSTNAME to <ubuntu_pc_name>
ROS_HOSTNAME is never set to the name of another machine, always to
the name of the machine running the node.
But unless you have working DNS for all involved hosts, using ROS_IP
is probably going to be easier.
and ROS_MASTER_URI to http://:11311/
If that  is the IP of the ubuntu machine running the master, that
should work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uml-robotics/ROS.NET/issues/40#issuecomment-320238214,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLrW4N8UXF-kkCzs3XcOJwDwDttEEHnks5sUxDvgaJpZM4OtqXo
.

Great, it worked. I could run the Talker and display the messages using rostopic echo. Thanks a lot.


JavaScript error: Uncaught RangeError: Incorrect locale information provided

Description
When the language of gitea is Chinese, using the Google Translate page and then using the detected language will cause problems。

https://github.com/go-gitea/gitea/assets/89133723/06fb8503-00c5-4249-bd73-94b9436deffb
Gitea Version
v1.20+
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
None

Video does not work for me. Is this cause by Google Translate modifying the page? Is it a browser addon?

Video does not work for me. Is this cause by Google Translate modifying the page? Is it a browser addon?
You can try to download the video locally and view it

Ah, yes, for whatever reason the video stayed black but it works after downloading.
The bug may be in https://github.com/github/relative-time-element. GitHub uses the same element, can you try to reproduce on github.com and check the console?

https://github.com/go-gitea/gitea/assets/89133723/dc32306e-20c0-43ab-80fd-583d2bc18a62

If you only post videos without a single work, I don't know what you are talking about.
And, I can not reproduce it.

I will help to complete this issue's information:
Reproducible steps:

Use Chrome to open a page with "relative-time" component, eg: the signed-in homepage try.gitea.io or a repo's home page like https://try.gitea.io/wxiaoguang/test
Switch the language to a non-English one
Click "Translate to ...." in the page's right-click context menu
Then switch to the "Detected language"
Then the "lang" attribute in <html> becomes "auto" (it's changed by the Google's translate plugin), it breaks https://github.com/github/relative-time-element

https://github.com/github/relative-time-element/blob/3a8f30f1a66edbe8d4e76c721ff1767c49b0ed27/src/relative-time-element.ts#L84-L90
https://github.com/github/relative-time-element/blob/3a8f30f1a66edbe8d4e76c721ff1767c49b0ed27/src/relative-time-element.ts#L121-L130

It seems that this is not a bug from Gitea side, but from upstream?
Do we need to add the report-upstream label back?


How does one defer execution?

Is there an option to defer execution?  For example, what if I want only want to fetch the resource (and make the network request) when the user clicks on "fetch"?

Yes! The first parameter to useSWR is a key, but this key can be a function. If the function throws or returns a falsy value, then SWR will know that not everything is ready to begin the fetching yet.

fetch the resource when the user clicks

Here's an example of how that could look:
const FetchingButton = () => {
  const [startFetch, setStartFetch] = useState(false)
  const { data } = useSWR(
    () => startFetch ? '/api/projects' : null
  )

  return '<button onClick={() => setStartFetch(true)}>Fetch!</button>'
}

You can see another example of this, but with data dependencies, here:
https://swr.now.sh/#dependent-fetching

I think it would be very beneficial to provide this as an export :)

I want this refetch in some scenarios, but not in others

You can control this somewhat using the dedupingInterval configuration option (e.g. dedupingInterval: 5000 means if there are multiple requests to the same key within 5 seconds, only one will be made).
Hopefully that satisfies your use case, let me know if not!

Thanks, that would solve the problem for my use case.  I just wasn't sure why it was happening.  For example, why does reselecting the simpsons refetch the simpsons characters in the dropdown, but not in the "Simpsons Characters" box, which doesn't get rerendered during this time.

In your example, SWR refetches in both cases (selecting a different value in the dropdown, and clicking revalidate in the sidebar box). The difference is that in the dropdown, you return early when the data is validating in the background, so you never show the stale data (even when it's available).
If you're asking why the sidebar box doesn't update with new data when the dropdown revalidates, it's because you're using different SWR keys so they don't share a cache! In the dropdown you use /api/user and in the sidebar box you use the-simpsons.

Thanks.  I thought isValidating would run for all components that are wired with the same swr key.  Sorry for the confusion.
I simplified the example:  https://codesandbox.io/s/elated-pare-m9wdn

Thanks. I thought isValidating would run for all components that are wired with the same swr key.

Good point, maybe we can clarify this in the documentation.

close the issue

Sounds good! Let me know if you have any other questions or issues.


ios issue

in ios i am not able to open editor please let me what to do

Hi @AnmolOyela,
Please check if your video is valid using isValidVideo
Also try my example using https://github.com/maitrungduc1410/react-native-video-trim?tab=readme-ov-file#usage

@AnmolOyela are you using an emulator?


add UTF8 BOM check to the editor

Small fix for for #506. This doesn't represent proper handling of a wide range of input encodings as it only deals with UTF8+BOM, but it fixes a crash in xi-mac: google/xi-mac#125.

+1 from me also. We're going to have to figure out a general approach to encodings, but for the time being this fixes a real problem.


Improve the Form UI of the Contact Section @Home Page

Fixes #677
Changes:

Modified the background color and position of circles
Changed the header and placeholder text
Increased space between input fields for uniformity
Changed styling of input fields and textarea when having focus
Changed the styling of send button

Screenshot:
Before:

After:

Fixes #677
Changes:

Modified the background color and position of circles
Changed the header and placeholder text
Increased space between input fields for uniformity
Changed styling of input fields and textarea when having focus
Changed the styling of send button

Screenshot:
Before:

After:

Remove the shapes from the background of the form. @anushbhatia could you please assist with the choice of color palette for it as well as the send button

@iamdarshshah I re-requested review but it's not showing for some reason. I'll work on further changes @anushbhatia please provide suggestions .


Pokemon from Lured Pokestop do not show and therefore not possible to catch!

It seems that only naturally Pokemon can be detected and are possible to catch. Pokemon from lured Pokestop do not show and therefore not possible to catch. Can you or someone verify this issue and then fix this please?
Thank you!

Verified, spawns from lured stops appear on the API differently which is not being picked up by the bot.

Verfied, also when I enter coordinate i.e (-33.864104,151.2108361), this is what the bot show me
`[x] PokemonGO Bot v1.0
[x] Configuration initialized
[x] Address found: -33.864104,<PHONE_NUMBER>
[x] Position in-game set as: (-33.8642661,<PHONE_NUMBER>, 0.0)
`
The coordinates differences is very significant, I'm standing far away from the lure. maybe thats what makes lured pokemon seems not possible to catch

I just fixed the coordinate issue with commit aabeace98797bac27deef65d07de2bfbe2ace4d3 , haven't been able to test if this fixes the lured pokemon, but I doubt it,

I've started working on getting lured encounters working, will continue in the morning.
Note to self_

Please upgrade to the latest dev branch by running this command:
git reset --hard
git pull -f

Then run this command:
pip install --upgrade -r requirements.txt
If issue persists, open a new issue.
/closed


Fix id for nested comment example

I noticed an error while using this example to test a prototype for annotations support in NVDA.
The aria-details attribute references the element with id of 'thread-3'.
The nested comment element reuses the id of 'thread-1'. This looks like a copy / paste error.
It prevents the browser from exposing an aria details reference for the marked content because there is no element with that id.

In case it helps to review, thread-3 is referred to from line 105.
https://github.com/mdn/html-examples/blob/2bc2ad434507fef4359d43c48d464496d90ceaa7/aria-annotations/index.html#L105


Add ability to reload sensor config while running

To allow for easier renaming of sensors without having to restart the service or docker container, add a topic and subscription that will reload the sensor config while the service is running.

Would be nice also if the docker image didn't require logging, sensor and config present when starting up the first time.

Hi @onedr0p.
I'll take a look at if we can do anything with docker. But without a web UI to configure things, there is nothing to start in docker without the config.yaml file in place. the sensors one will just build itself, but the config file tells it how to connect to MQTT, and without that nothing would really happen. So what would you want to docker container to do if that file isn't present? Just loop looking for it until one is put in place?
On the logging front, I was mostly just experimenting with Python logging. I learned Python for this project, and so wanted to dig in more than one might when trying to do something quick. Since I got the dynamic logging using dicts working, I figured there was no reason to remove it, but also defaulted that so that no one needed to modify it if they didn't want to.

I was actually thinking a web UI would be great, even if it was a white page with a few inputs and textboxes to configure devices. Maybe a project in the future if I can ever get to it... haha.
I didn't know their was a default for logging, I thought I had to include it in my volume mount.
What about a single config file for everything? Something like:
mqtt:
  host: <host>
  port: 1883
devices:
  - name: Front Door
    mac: 'XXXXXX'
    location: Foyer
  - name: Patio Door
    mac: 'XXXXXX'
    location: Patio

That would make configuration much easier, I'll open up a separate issue if you think that's good :)

@onedr0p Definitely some good ideas in here. I've already got an issue logged for a web GUI, though I don't have the skills for that, but am asking some developer friends for any framework recommendations or anything else they could help with there.
On the config files, for the moment I'd like to keep them separate. The sensors config is especially what I'd like to see editable in a web UI, but it is also dynamically built with defaults by the script. If I merge it, everything has to be ready and able to write out the complete configuration or risk breaking stuff. Right now if the sensors file blows up, things should get rebuilt (without customizations), but things will still work. If the MQTT settings get broken though, then everything grinds to a halt.
I did just add issue #28 (and the code) to automatically copy a default config.yaml and logging.yaml if they don't exist. So Docker runs will now put them in the config folder waiting to be modified as needed.
As for Docker ENVs, I'll happily take new issues for that. I want to get 1.1 released before digging into the Docker stuff more, but could look at it for 1.2. I'm thinking ENVs for the MQTT host, port, username, and password would be good, as then you could get away without ever having to touch config files for Docker. And an eventual UI to edit things after the fact would take care of the rest. And I think that's ultimately what you're looking for. I'd love you to log this one though, as having more folks involved in this has helped keep my interest going and know I'm not just tweaking things for myself. :)
I'll also definitely take a look at click. If nothing else I think that would be great for the cli tool to interact with the bridge, but to your points above might also help with some of the configuration.
Thanks again for all the feedback.


Fix Unit test cases

The syntax.sln had two compiler errors. I have fixed them and updated the expected output of the UTs.

Hello @olafurpg and sorry for pinging you here directly.
Could you please take a look at this PR?
It is a small cleanup and it is also the first 4 commits of this PR that adds VisualBasic support. If this one gets the thumbs up and gets merged, I will rebase the other PR to make it easier to review.

The failing ubuntu job is a known issue that's unrelated to this PR. I don't know why this issue keeps reproducing in ubuntu. Merging anyways. https://github.com/sourcegraph/scip-dotnet/issues/18


Fix non-determinism with new feature resolver.

This fixes a problem where Cargo was getting confused when two units were identical, but linked to different dependencies. Cargo generally assumes Unit is unique, but the new feature resolver can introduce a situation where two identical Units need to link to different dependencies. In particular, when building without the --target flag, the difference between a host unit and a target unit is not captured in the Unit structure. A dependency shared between normal dependencies and build dependencies can need to link to a second shared dependency whose features may be different.
The solution here is to build the unit graph pretending that --target was specified. Then, after the graph has been built, a second pass replaces CompileKind::Target(host) with CompileKind::Host, and adds a hash of the dependencies to the Unit to ensure it stays unique when necessary. This is done to ensure that dependencies are shared if possible.
I did a little performance testing, and I couldn't measure an appreciable difference. I also ran the tests in a loop for a few hours without problems.
An alternate solution here is to assume --target=host if --target isn't specified, and then have some kind of backwards-compatible linking in the target directory to retain the old directory layout. However, this would result in building shared host/normal dependencies twice. For most projects, this isn't a problem. This already happens when --target is specified, or --release is used (due to #8500). I'm just being very cautious because in a few projects this can be a large increase in build times. Maybe some day in the future we can be more bold and force this division, but I'm a little hesitant to make that jump.
Fixes #8549

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

I can't say how many times I've flip-flopped on which approach to take. This isn't awful, but it's not great.

It sounds good from the description. :-)

I agree that this isn't the greatest solution, but I can't think of anything better. The best alternative I can think of is to silently translate the output directory for --target=$host as the target/debug/deps folder, and then assume the lack of --target is --target=$host. That runs into the same issue though where at the unit level the two graphs are still disjoint since build deps and final artifacts have different kind flags.
One thing I wanted to make sure of though, this is hashing dependencies and to confirm, our lists of dependencies are deterministic right? That is, the hashes are still deterministic? I know we need to be careful with all the HashMap instances in play, but this seems like it should be correct on the surface at least.

our lists of dependencies are deterministic right?

I believe so, did you have specific thoughts of what could be a potential source of non-determinism?  I think features is the only value in the Unit that can vary.  With the new resolver, it is always sorted, and having different values is the whole reason this PR needs to exist.  I believe when using the "legacy" features, they should also be stable.
As for the list of which dependencies to use, if that was not stable, there would be bigger problems.  The order is always sorted.

Oh I was mostly worried about the hash field which is also hashed. We'll need to hash things always in the same order, but I think that's always true because all the dependencies are always sorted.
@bors: r+

:pushpin: Commit 9efa0d55265a740d850ef2d5e6bec72014d497eb has been approved by alexcrichton

:hourglass: Testing commit 9efa0d55265a740d850ef2d5e6bec72014d497eb with merge 7f44ba46d3de2e72da2b43ff42524db36326c700...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 7f44ba46d3de2e72da2b43ff42524db36326c700 to master...


update README to include variables for MPI

Setting USE_MPI=1 alone does not configure Legion to use the MPI
backend. It must be coupled with REALM_NETWORKS=mpi.

The README currently does not mention the existence of the REALM_NETWORKS variable. That documentation is hidden in the CHANGES.txt file.

I agree that the README should probably talk about MPI network layer, but that's not what USE_MPI=1 does.  USE_MPI=1 enables the MPI compatibility logic in Legion and Realm.  Is that what you're trying to get, or did you actually want the MPI
network layer in Realm?

I see. I want to actually use the MPI backend in Realm.
Is it possible to use the MPI network layer with just REALM_NETWORKS=mpi and without USE_MPI=1 ?

Is it possible to use the MPI network layer with just REALM_NETWORKS=mpi and without USE_MPI=1 ?

Yes, REALM_NETWORKS=mpi should be sufficient on its own.

Got it, I have updated the PR to reflect the availability of the REALM_NETWORKS variable

Thanks.  Rather than taking this little change as is, I'm inclined to use this PR as a forcing function to do a larger update of those docs to include all the other build switches we've been bad at documenting over the years.  :)

Sounds great :)


Unable to merge xamarin application.

I apologize if I am doing something silly, this is the first time I am trying to use a tool like ILRepack or ILMerge. I have created a service "app" with xamarin in vs2015 that I am going to use in several other applications. The issue is that this service app contains references to two external libraries. Since I want to have a single point of contact for my other apps using this service I figured I might be able to merge these libs into my own. I am using the ILRepack version found n NuGet and the following post build command.
if $(ConfigurationName) == Release (
    cd "$(TargetDir)"
    ren "$(TargetName).dll" "$(TargetName).premerge.dll"
    "$(SolutionDir)\packages\ILRepack.2.0.10\tools\ILRepack.exe" /verbose /internalize /out:"$(TargetFileName)" "$(TargetName).premerge.dll" "a.dll" "b.dll"
)

However, the build fails with the following error:
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Mono.Android, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
1>     at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
1>     at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
1>     at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
1>     at Mono.Cecil.TypeReference.Resolve()
1>     at ILRepacking.ReferenceFixator.FixReferences(Collection`1 attributes)
1>     at ILRepacking.ReferenceFixator.FixReferences(MethodDefinition meth)
1>     at ILRepacking.ReferenceFixator.FixReferences(TypeDefinition type)
1>     at ILRepacking.ReferenceFixator.FixReferences(TypeDefinition type)
1>     at ILRepacking.Steps.ReferencesFixStep.Perform()
1>     at ILRepacking.ILRepack.Repack()
1>     at ILRepacking.Application.Main(String[] args)

Before spending more hours trying to tear my hair at this I figured I might ask if ILRepack even works for xamarin applications first?

Cant really tell if merging a Xamarin app will be ok, never done one myself.
But ILRepack operates at IL level, so it mostly works fine with anything but nasty (non-plain-string) reflection.
Regarding your error, you nee to provide hint paths where ILRepack can find referenced libraries, when they aren't in the current folder, you can do that using /lib:PATH_TO_FOLDER
Happy repacking !

Ahh, I set the copy local field to yes for the Mono.Android reference so it is present in the current folder and now the repacking proceeds as it should. Thanks!

Hmm, I am unable to use the repacked .dll however.
When including it in a project and starting the service contained within, a bunch of classes tries to use the .dlls that I repacked into the main .dll. Leading to a bunch of "package does not exist" errors.
The service works as it should before repacking but when trying to use the repacked file from another application it is unable to actually use the .dlls contained within. Is there some special convention I need to follow when using referenced libraries that are later repacked?

Your repacked dll should no longer have any reference to the merged ones, you can inspect assembly references with ILSpy for instance, do you see a/b under References ?

You are of course entirely correct. I used ILSpy to check the repacked .dll and the references are gone, replaced with the actual classes from the referenced libraries instead. It turned out to be a regular VS2015 issue as when I restarted the IDE everything worked as it should.
Thank you once again for the quick replies!


im runnig llama 2 llm on local server  through Lm studio after i add custom llm url in the config.toml :

Describe the bug
Steps to Reproduce
1.
2.
3.
Expected behavior
Actual behavior
Additional context

@SaimNadeemdev we need more information here if you want help. I'm going to close this, but feel free to open a new issue, with the template fully filled out


[WIP] Don't cache message list for all messages view.

Mainly the last commit is the hard to look at but other commits are relevant too. Some are common in #29190.

Should we replace msg_list.narrowed checks with msg_list.data.filter.is_in_home() or just rename the narrowed property to be say is_all_messages_view? Both sound equally good to me. For the later approach we could reduce is_in_home() checks in other parts of the app too so maybe I am leaning towards that.

I think the idea of replacing narrowed with an is_all_messages_view boolean; that's much more directly saying what we mean. Could do that as a preparatory PR since it should involve no functional changes.

Yeah, we can do it after this PR.

Closing in favour of #29740


ocm tranfer ctf --overwrite not working on resource input property changes

What happened:
ocm transfer ctd -f|--overwrite refuses to overwrite an already existing component version when only a property o a resource input is changed.
What you expected to happen:
The exiting component version shall be overwritte.
How to reproduce it (as minimally and precisely as possible):
Assume a component with a resource like this:
- name: my-chart
   type: helm.io/chart
   version: v0.1.0
   input:
     type: helm
     helmRepository: https://my-helm.repo
     path: my-chart
     version: v0.1.0
     repository: charts/my-chaaaaaaaart

create a component version:
ocm add componentversions --create --file ....

transfer it
ocm transfer ctf --copy-resources ...

Change a property of the resource input:
- name: my-chart
   type: helm.io/chart
   version: v0.1.0
   input:
     type: helm
     helmRepository: https://my-helm.repo
     path: my-chart
     version: v0.1.0
     repository: charts/my-chart

create a component version (identical version):
ocm add componentversions --create --file ....

transfer it and specify the force overwrite flaf (-f, --overwrite)
ocm transfer ctf --copy-resources --overwrite ...

The transport is being skipped:
transferring component ..
  transferring version ...
    version ... already present -> skip transport

Environment:
ocm version
{"Major":"0", "Minor":"6", "Patch":"0", "PreRelease":"", "Meta":"", "GitVersion":"0.6.0", "GitCommit":"dfcf27e5f22d83feac7869e0f303c6e6e66f1e8d", "GitTreeState":"", "BuildDate":"2023-12-29T14:31:58Z", "GoVersion":"go1.21.5", "Compiler":"gc", "Platform":"darwin/arm64"}

That is difficult, the access attributes are ignored during the transport while detecting the transport mode.
In the target the access method/spec could have changed in way dependent on the attributes of the original spec.
It is not possible toi decide, if for a re transport the same target access method will be created without executing the actual
value transport.
Therefore, this case cannot be handled correctly. Instead it would be possible to introduce a transfer option, which completely
ignores an already existent version in the target environment.


v8pp and json

It will be very useful to add conversion between json and v8pp (https://github.com/pmed/v8pp)
What do you think about?

I am not sure what you mean. Could you provide an example for which input which output should be generated?

Hi @vinnitu, I am not sure what you mean. Could you provide an example for which input which output should be generated?


automatic tags in export

Export of items to BibLaTeX results in inclusion of the following bogus line:
keywords = {⛔ No DOI found},
Application: Zotero 5.0.74 en-US
Platform: MacIntel Intel Mac OS X 10.14
Addons: Better BibTex for Zotero (5.1.136, extension)

The item to be exported is the following.
NorGramBank: A `Deep' Treebank for Norwegian
Type 	Conference Paper
Author 	Helge Dyvik
Author 	Paul Meurer
Author 	Victoria Rosén
Author 	Koenraad De Smedt
Author 	Petter Haugereid
Author 	Gyri Smørdal Losnegaard
Author 	Gunn Inger Lyse
Author 	Martha Thunes
Editor 	Nicoletta Calzolari
Editor 	Khalid Choukri
Editor 	Thierry Declerck
Editor 	Marko Grobelnik
Editor 	Bente Maegaard
Editor 	Joseph Mariani
Editor 	Asunción Moreno
Editor 	Jan Odijk
Editor 	Stelios Piperidis
URL 	http://www.lrec-conf.org/proceedings/lrec2016/summaries/943.html
Pages 	3555-3562
Date 	2016
Extra 	Citation Key: Dyvik16 bibtex*[organization=ELRA;isbn/issn=978-2-9517408-9-1] event-place: Portorož, Slovenia
Proceedings Title 	Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16)
Date Added 	25/02/2019, 22:04:13
Modified 	14/03/2019, 01:56:56
Tags:
    ⛔ No DOI found

It seems that tags are exported as keywords, but that does not seem correct. In any case, the message about "No DOI found" is not a keyword.

You're the first to say that exporting tags as keywords is not correct. I don't control what people put in their tags, so I can't judge what is or isn't supposed to be a keyword. If you don't want keywords at all, you can have BBT omit the field.
If you export a debug report as requested above, I can see if I can distinguish between the kinds of tags the doi manager puts in and others.

To be fully clear, I did not add the tag about "No DOI found" to the item. It seems to be generated automatically. I DO want keywords in the bibliographic sense, but this is definitely not one.
I submitted a debug report with ID 36UVGIIG-euc

I understand that, but the DOI manager did so on your behalf -- the tag is there. I'm going to see if I can distinguish between such tags and the ones you create manually; the DOI manager might have labelled them as automatic tags, and then I can make it so that BBT doesn't export those.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>22 ("keep tag types")
Install in Zotero by downloading test build <IP_ADDRESS>22, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

* If your issue relates to how BBT behaves around a **specific reference(s)**, such as citekey generation or export, select at least one of the problematic reference(s), right-click it, and submit an BBT debug report from that popup menu. If the problem is with export, please do include a sample of what you see exported, and what you expected to see exported for these references.

I need a debug report generated by this procedure, not the one from the help menu.
Can you install 4622 that @blip-bloop just announced above and send a new debug report uding the above procedure?

I've tried it myself but the tags from the DOI manager show up as user-entered tags, so I cannot distinguish them from the ones you entered manually. I've opened an issue on the shortdoi manager (https://github.com/bwiernik/zotero-shortdoi/issues/16) but until that is changed, I can't really do anything.

Thanks so far. Tags added as notifications by the system are logically very different from keywords added by the user describing the content of the item for indexing purposes, so I hope a solution will be found to keep them apart.

There is a solution to keep them apart (tags can be marked as automatic and BBT can see whether they are), but in this case, ShortDOI doesn't yet mark them this way.
I'm waiting for the UI translations to come in but then I'll release a BBT version that allows you to select whether you want automatic tags in the export or not -- that's all I can do because I can't tell anything else about the tags other than their text and whether they're automatic or not.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>34 ("tests for #1270")
Install in Zotero by downloading test build <IP_ADDRESS>34, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".


Add FIXME supported

FIXME is a very useful label as is TODO.
So how about waring FIXME?

@KevinZonda
There are already config options that will allow you to do this.

Create a file called todo-warn.config add it to the project and set the build action to AdditionalFiles

A todo-warn.config file can also be specified in your user's ApplicationData directory. (You can get to this by entering %appdata% in the File Explorer address bar.) Project-level configurations will override the user level configuration if they exist.

In that file, set the contents like this:
[WARN][STARTS(TODO)]
[WARN][STARTS(FIXME)]

Ignore the red squiggles added by Visual Studio.
Any comments starting FIXME will then show up in the warnings. Like this:

You can read more about configuration options at https://github.com/mrlacey/WarnAboutTodos/blob/master/README.md#configuration

Does this give you everything you need?

Fantastic! Thanks a lot!

Fantastic! Thanks a lot!

Glad this helps. You can help me spread the word so others can find this tool too, by leaving a review in the marketplace. :)


Python Quickstart docs improvement

Updates

Pip installs as a copyable command chunk
Misplaced instruction about copying server port

Fix will be available in the next upcoming documentation update.


Deprecate prometheus-image-username and prometheus-image-password

Evaluate whether we can retire these options, and whether that would break existing customers that upgrade the charm. If not much breakage is expected, drop these legacy config options.

Removed in https://github.com/canonical/prometheus-operator/pull/50

Done.


Support dynamically generating headers for each client request

I would like to use the headers for token-based authentication, e.g. oAuth2. In this case, tokens may expire and need to be refreshed.
However, opamp-go currently only allows specifying a fixed set of headers in the start settings for the client.
Instead, it would be useful to provide a function that can dynamically determine headers, so that tokens could be refreshed for authentication, e.g.:
// StartSettings defines the parameters for starting the OpAMP Client.
type StartSettings struct {
  // Current settings remain unchanged ...

  HeaderFunc func(base http.Header) http.Header
}

Here, HeaderFunc is a function that takes in the "base" static headers, and outputs a set of new headers. This would be called on every request sent to the server, and would allow for dynamic authentication headers in case of token refresh, for instance.

This proposal looks reasonable to me.

I am a bit worried that we need to add more and more connection options to StartSettings.
Would it be better if client API allowed supplying http.Client in StartSettings? You could then achieve this dynamic header functionality by providing your own RoundTripper in the Client.
We had a similar discussion in this thread: https://github.com/open-telemetry/opamp-go/pull/269#discussion_r1567851713 so it seems this may be useful in more than one use case. It would be also similar to how we allow supplying your own http.Server in the Server API.
What do you think?
cc @andykellr

I have similar concerns. Being able to specify a the whole client is something I would really like, and it would solve a few issues for us.
However, my concern with that is how we will support websockets, which is our main use-case right now (e.g. every websocket disconnect/reconnect, I'd want to potentially refresh my token).
The gorilla websocket library does not support specifying your own http client. There is another library that does (https://github.com/coder/websocket), but I believe we had concerns about switching libraries at this point.

However, my concern with that is how we will support websockets, which is our main use-case right now (e.g. every websocket disconnect/reconnect, I'd want to potentially refresh my token).
The gorilla websocket library does not support specifying your own http client. There is another library that does (https://github.com/coder/websocket), but I believe we had concerns about switching libraries at this point.

Yeah, that's pretty unfortunate :-(
We can try to offer to gorilla websocket to add ability to supply http client. Gorilla seems to be maintained again (good news!), maybe they will add it.
In the meantime I guess we will have to do our own thing to abstract away transport differences. I don't want to expose different APIs for different transports.

We can try to offer to gorilla websocket to add ability to supply http client. Gorilla seems to be maintained again (good news!), maybe they will add it.

@BinaryFissionGames would you be able to make a proposal to Gorilla?

Yeah, I can go ahead and do that.


Dynamic User Context in AI Agent Interactions

In the current PydanticAI example for a bank support agent (https://github.com/pydantic/pydantic-ai/blob/main/pydantic_ai_examples/bank_support.py), the customer_id is hardcoded:
deps = SupportDependencies(customer_id=123, db=DatabaseConn())

However, in real-world web applications, the customer_id is typically dynamically retrieved after user authentication
and saved in a user session.
What are the recommended patterns for dynamically injecting user-specific context into AI agents?
General overview of the problem based on web applications:
There are three critical context layers in web applications. They contain data that can be initialized at specific phases
of the application lifecycle.

Application Server Startup Context (Global/Static Resources)

Database connection pools
Configuration settings
Shared service clients
Authentication and authorization providers

Session Context (User-Specific Persistent Data)

User ID after authentication
User preferences
Shopping cart contents
Previous interaction history

HTTP Request Context

Current request parameters
Form submissions
Query parameters
Authentication tokens
IP address
User agent information

Currently the support agent object is created in the first initialization phase, but the database connection is passed to it only at the user query time - together with the user name (which would normally be initialized from the session data) and the current user query.

The whole point of the dependency system is that you can  create and pass the dependencies within the request not in at module import time (what you call "Application Server Startup Context (Global/Static Resources)").
Unless I'm missing something, this is a solve problem.