online / offline detection in offline course sites

Pre-Flight checklist

[ ] Screenshots and design review for any changes that affect layout or styling

[ ] Desktop screenshots
[ ] Mobile width screenshots

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
Closes https://github.com/mitodl/ocw-hugo-themes/issues/847
What's this PR do?
In https://github.com/mitodl/ocw-hugo-themes/pull/832, we added a theme for rendering course sites offline for download. This PR expands on that and adds a number of features for detecting if the user is online or offline while viewing the downloaded site. Search links are stripped from text in the course info drawers, some links in the header and footer are hidden entirely, and a message is shown on video pages indicating that an internet connection is required to view the videos.
How should this be manually tested?

Clone ocw-hugo-themes on this PR branch, ocw-hugo-projects, and https://github.mit.edu/mitocwcontent/18.01sc-fall-2010
Set the following .env variables:

STATIC_API_BASE_URL=https://ocw.mit.edu/
COURSE_HUGO_CONFIG_PATH=/path/to/ocw-hugo-projects/ocw-course-v2/config-offline.yaml

Run the following command: npm run build -- /path/to/mitocwcontent/18.01sc-fall-2010 /path/to/ocw-hugo-projects/ocw-course-v2/config-offline.yaml
Browse to /path/to/mitocwcontent/18.01sc-fall-2010/dist and double click on index.html to open the course site using some variant of Chrome so we can simulate being offline easily
In online mode, verify that:

Clicking the "about OCW" etc. links in the header goes to production OCW
Clicking any of the search links in the course info drawer on the course home page goes to the search result on production OCW
Verify the same thing for the course info drawer in a sub page (syllabus, etc.)
Browse to one of the many video pages in 18.01sc and verify that the video plays back and the transcript works

Open the developer console, go to the network tab and in the throttling dropdown select "offline" then verify the following

On the course home page, links that would normally go somewhere online in the header and footer are hidden
The search links in the course info drawers on the course home page as well as sub pages are rendered as plain text
On video pages, you should see a message saying "Viewing videos requires an internet connection"

Repeat the above with mobile simulation enabled in developer tools

Where should the reviewer start?
Check out the newly overridden partials in the course-offline theme as well as the links that are hidden in the header and footer. Comment on what you think makes sense to show or hide here when the user is detected as offline. Check out JS functionality that strips links and hides and shows content if you are offline / online in the new partial hide_offline_links.html.
Any background context you want to provide?
This PR and the ones before it relating to the course-offline theme are part of work that will restore downloading a version of an OCW course that is browseable locally on any device. ZIP archives of each course will be generated by a pipeline in Concourse and a future PR will write in links to these ZIP files on the live course sites to make theme available for download.
Screenshots (if appropriate)

@abeglova FYI based on discussion in a meeting this morning I'm going to be reverting the header / footer changes from this for now to wait on some design questions.


compile twice in watchMode with options: { fix: true }

Operating System: macOS Mojave 10.14.6 (18G95)
Node Version: v12.9.1
NPM Version: 6.10.2
webpack Version: 4.41.0
eslint-loader Version: ^3.0.2

Expected Behavior
should not compile twice in watchMode with options: { fix: true }
Actual Behavior
compile twice in watchMode with options: { fix: true }
Code
https://github.com/iamolegga/eslint-loader-compile-twice-demo
How Do We Reproduce?
https://github.com/iamolegga/eslint-loader-compile-twice-demo

Hi @iamolegga
Thanks for reporting, sorry for the late reply
I followed the step by step, but I couldn't reproduce

Can you please provide logs of webpack?

Compilation  starting…

webpack is watching the files…

Compilation  finished

Hash: 92ff8cde8bef5080692c
Version: webpack 4.41.0
Time: 303ms
Built at: 2020-02-28 14:22:06
    Asset      Size  Chunks             Chunk Names
bundle.js  4.21 KiB    main  [emitted]  main
Entrypoint main = bundle.js
[./src/index.js] 57 bytes {main} [built]

Compilation  starting…

Compilation  finished

@ricardogobbosouza do you repeat this steps:

when webpack started clear console (cmd + K)
open src/index.js
remove quotes from object property and save

just tried again and got 2 builds as expected:
Compilation  starting…

Compilation  finished

Hash: 90a67c6e23dc77a6f06b
Version: webpack 4.41.0
Time: 42ms
Built at: 02/28/2020 9:34:57 PM
    Asset     Size  Chunks             Chunk Names
bundle.js  4.2 KiB    main  [emitted]  main
Entrypoint main = bundle.js
[./src/index.js] 55 bytes {main} [built]

Compilation  starting…

Compilation  finished

Hash: 92ff8cde8bef5080692c
Version: webpack 4.41.0
Time: 18ms
Built at: 02/28/2020 9:34:58 PM
    Asset      Size  Chunks             Chunk Names
bundle.js  4.21 KiB    main  [emitted]  main
Entrypoint main = bundle.js
[./src/index.js] 57 bytes {main} [built]

This behaviour is explained (as I understand it) in same issue of another loader here. Also there are more links in last comment to another loaders/plugins with same behaviour, maybe it could help

@iamolegga try to use eslint-webpack-plugin
And let me know if the error persists

Please use eslint-webpack-plugin. eslint-loader will be deprecated.


Set up Kanban Board

Project board: https://github.com/hernandanielzamora/Ruby-Capstone/projects/1
Team members: 3
Team member 1: @hernandanielzamora
Team member 2: @dazehinn
Team member 3: @elad237

Hi @hernandanielzamora, @dazehinn @elad237,
APPROVED 🟢
Highlights
✔ Descriptive tasks
Great implementation of all the requirements in this milestone. 👏
You have done an amazing job 👍
Your project is complete!  There is nothing else to say other than... it's time to merge it. :shipit:
Congratulations! 🎉
CHEERS AND HAPPY CODING!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Random Wifi & Cellular Disconnects 3.0.0~b38

Describe the bug
Random Wifi & Cellular disconnects using unc0ver.
Where the bars of signal are they just disappear and drop to flat (0)
and when you are on a facetime call or using wifi/cellular service it makes the call reconnect
the bug is being consistent to the point it's annoying
Screenshots
No screenshots
Device (please complete the following information):

iOS Version: 12.1.1
iOS Device: iPhone X
unc0ver Version: 3.0.0~b38

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

This is the same bug persistent in https://github.com/pwn20wndstuff/Undecimus/issues/640

Happening to me also but only for WiFi connection. Without jailbreak all works fine

It could be due to RocketBootStrap. Try uninstalling it and tweaks depending on it and see what happens


Default GraphvizServerEngine is useless

The default engines always contains a GraphvizServerEngine instance:
https://github.com/nidi3/graphviz-java/blob/efa069f764046117f92c84fedac82bcd00f23d35/graphviz-java/src/main/java/guru/nidi/graphviz/engine/Graphviz.java#L80
However, as GraphvizServerEngine#useEngine is not called by default, it's internal engines list is empty. Because of this, it always errors with a timeout exception. This only happens if neither V8 nor Dot is available. The Jdk engine is never reached unless explicitly specified with Graphviz.useEngine(new GraphvizJdkEngine()).

There's no timeout when there's already a GraphvizServer running. This is the idea behind the Server Engine: keep a process running to avoid initialization cost.
But it's probably a special case which is better not in the default engines list.


Typescript ControlProps UpdateOn/ValidateOn Fixes

UpdateOn and ValidateOn also allow an array of change, blur and/or focus.

Thank you!


Add setting option to use system proxy settings

@zulipbot claim.

I think we can get the system proxy settings from main using session.resolveProxy, and then we can update the proxy values using configUtil.
@akashnimare What do you think about this approach?

@zulipbot claim

@zulipbot yup I am working, there is a PR open that is awaiting review :)


ARGO_INSTANCEID in GHA

Duplicate , need merge this PR
https://github.com/CloudGeometry/cg-devx-wl-cnask/pull/2


Use / Don't Use PE Feature for PD Protocols after 6.0

for 5.1 release, we'll want a PD feature to "use PE/not use PE" (output v6/v5 protocols behind the scenes) so folks can switch their PD protocols back and forth

Stale. Protocol Designer always outputs Protocol Engine commands now. As far as I know, there is no downgrade option.


[Bug]: Typo in comments for clean_download

Feature id and version
Lots of them
Devcontainer base Image
No response
What happened?
There is a minor typo in the clean_install comments:

minimal impact on contaier layer size

instead of

minimal impact on container layer size

Relevant log output
No response

Fix in https://github.com/devcontainers-contrib/features/pull/488

This project is not associated with the devcontainer project and appears to have been abandoned https://github.com/devcontainers-contrib/features/issues/628 . The official project has removed all devcontainer-contrib features from their listing. https://github.com/devcontainers/devcontainers.github.io/issues/451. There is a fork that is being worked on to update and maintain the features https://github.com/devcontainers-extra/features

Thanks @evilhamsterman  for the heads up and the work to tidy things a bit for the community. 👍🏻


Concerning logs linked to networking.interfaces.<name?>.tempAddress

Describe the bug
The following logs are produced in my server. In particular, the last 2 logs seem to indicates something is wrong.
# journalctl SYSLOG_IDENTIFIER=systemd-sysctl -b
-- Logs begin at Fri 2020-01-31 09:26:25 UTC, end at Mon 2020-05-04 11:00:47 UTC. --
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
May 04 09:38:34 myhostname systemd-sysctl[901]: Couldn't write '2' to 'net/ipv6/conf/eno1/use_tempaddr', ignoring: No such file or directory
May 04 09:38:34 myhostname systemd-sysctl[901]: Couldn't write '2' to 'net/ipv6/conf/eno2/use_tempaddr', ignoring: No such file or directory

My configuration have the following values:

networking.interfaces.eno1.tempAddress = "default"
networking.interfaces.eno2.tempAddress = "default"
networking.enableIPv6 = true

To Reproduce
N/A
Expected behavior
No concerning logs should be produced.
Additional context
Maybe issue #75311 has something to do with this.
Notify maintainers
@rnhmjoj
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.35, NixOS, 20.09pre-git (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixos modules affected by the problem
module:
  - networking.interfaces

So, I tried reproducing the error on 20.03 and nixpkgs master: The only way I can see this happening is if the interface doesn't exist.
If you are sure the interfaces do exist and the name is correct then it's possible they are not yet available by the time sysctl is run. If that's the case it doesn't matter because NixOS (besides the sysctl setting) adds a udev rule to configure any later interface as soon as is detected.
Also note that if IPv6 is enabled (which should be the default) then tempAddress = "default" is the default setting for all IPv6 interfaces. So, if you previously had these lines in your config you can removed them as they are redundant since, I think, NixOS 20.03.

I am positive the interface exists. I also tested the same configuration on a VMware virtual machine and the same message is logged with the interface named ens33.
I am in the process of a whitelisting all logs in my server with services.journalwatch and I want to make sure I don't whitelist message that are actual problems. If you tell me it is OK, I will take your word for it and whitelist this log message.

If you want a confirmation you can check the result of sysctl net.ipv6.conf.eno1.use_tempaddr: if it's 2 the setting was applied correctly.


[varLib.interpolatable] Support discrete axes in .designspace

Fixes https://github.com/fonttools/fonttools/issues/3597
Hummm. Only manually tested.

@behdad looks like it works for me!
A minor issue is that when the error is just for one source (like if a glyph is missing), the source name gets "joined" together:
Glyph A was not compatible:
  Masters: T, e, s, t, F, a, m, i, l, y, -, S, o, u, r, c, e, _, 1, 0, 0, 0, _, 0:
    Glyph was missing in master TestFamily-Source_1000_0

The issue seems to be here:
https://github.com/fonttools/fonttools/blob/64853921508940c3788e215d4aef7907b05648dc/Lib/fontTools/varLib/interpolatable.py#L947-L953

A minor issue is that when the error is just for one source (like if a glyph is missing), the source name string gets "joined" together:

Fixed. Thanks!


Request: change cfg from JSON to INI for easier self-editing

Probably better to take this argument out of discord and put it here. I understand that modern AAA games don't expect users to configure with text files. However many pc gamers are used to finding config.ini and do not want to see the ingame menus of every old console game awkwardly modded like sm64ex did. Anyway, the arguments are these:

JSON has a lot of indentation and bracketing, this makes it not ideal for regular users to find and edit values without mistakes.
if the default driver values are crashing the app, the menu won't be accessible and cfg editing becomes necessary. See: https://github.com/HarbourMasters/Starship/issues/75
some people are less comfortable with a menu because
----a. it does not let you preconfigure the app before first run
----b. to achieve the "full" nature of "fullscreen", it needs to be hidden, and that requires knowing the hotkey to hide it which is naturally unclear. if you hide it by default, people won't know it exists. It's a double edged sword. soh overlaid helper text at startup to stem the flood of complaints, but this affects presentation.
----c. fear of losing progress from enabling a bugfix/debug option at the wrong time
----d. many people who own keyboards or laptops without f-keys don't understand that fn+f1 is how to toggle the menu. I've heard that this is being changed to "esc" and will no longer be a problem, though some people might expect "esc" to be the way to exit fullscreen.
----e. people accidentally enable "menu controller navigation" and then lose controls ingame without knowing why
----f. complex interactions between specific backends have created issues, making people think they can't bind their keyboard

These are just some of the many examples I found of these issues

Examples of 3e

Example of 3f

example ini
[Drivers]
# DirectX or OpenGL, default is DirectX
Video=DirectX
# Windows or SDL, default is Windows
Audio=Windows

[Video]
StartInFullscreen=0
FullscreenWidth=1920
FullscreenHeight=1080
WindowedWidth=1600
WindowedHeight=900
ResizeableWindow=0
Interpolation=1
InterpolatedFPS=60
VSync=1
# 0=none, 1=2x, 2=4x, 3=8x
MSAA=0
# 0=none, 1=linear, 2=three-point
TextureFilter=2

[Audio]
MusicVolume=100
VoiceVolume=100
SoundEffectsVolume=100

[Input]
# 0 to 200, 100 default
StickSensitivity=100
# 0 to 100, 20 default
Deadzone=20
# 0 to 45, 0 default
NotchSnapAngle=0
Rumble=0

[Bindings]
Stick_Up=W
Stick_Down=S
Stick_Left=A
Stick_Right=D
B=C
A=X
Z=Z
Start=Space
L=E
R=R
C_Up=Up
C_Down=Down
C_Left=Left
C_Right=Right
DPad_Up=T
DPad_Down=G
DPad_Left=F
DPad_Right=H

[Hotkeys]
Reset=Backspace
ToggleFullscreen=F11

[Enhancements]
DisableLOD=1
AlwaysDrawPilotHeads=1

[Bugfixes]
FixMacbethEndingCutsceneCamera=1

[Cheats]
InfiniteLives=0
Invincible=0
UnbreakableWings=0
InfiniteBombs=0
HyperLaser=0
SelfDestructButton=0
StartWithFalcoDead=0
StartWithSlippyDead=0
StartWithPeppyDead=0
ScoreEditor=0

[Debug]
DebugMode=0
LevelSelector=0
SkipBriefings=0
ExpertMode=0
SFXJukebox=0
DisableStarfieldInterpolation=0
SpawnerMod=0
JumpToMap=0
LToWarpZone=0
LToLevelComplete=0
LToAllRangeMode=0
DisableCollision=0
SpeedControl=0
DebugEnding=0

I appreciate your comments but thats something from the libultraship library that we can't change on the port, so im closing this issue

Dang that took like 30 minutes to write up. I can post it on the LUS issue tracker, or just let Kenix know next time he posts. But I'm guessing he's just going to say that it requires too many code changes or something and it's too far gone.

@FitzRoyX  I don't think anyone means to discount your opinion, but I think the majority of the Project Leads (the people who make the decisions on a per-port basis) are comfortable with JSON being the underlying storage mechanism for the config. I think effort would be better spent fixing the UX/implementation issues of our menus than making it easier for people to not use them personally.
All of that being said, it is a public repo, you could probably hack together a proof of concept that loads a .ini file like you proposed and overwrites the current configuration on boot for you and anyone else that shares this desire.


Missed some spaces in some Artisan commands with new look

Laravel Version: 9.23.0
PHP Version: 8.1.8
Database Driver & Version:

Description:
Thanks @nunomaduro for a great work at #43065, I already like it, but I found some places that make me uncomfortable...
The places that the red arrow point at, I think that there should be the additional space.

Steps To Reproduce:
run artisan migrate / artisan migrate:refresh --step=3 --seed / artisan db:seed / artisan migrate:rollback / artisan migrate:fresh

I don't see any reason to have a space after the output

Not sure I see a real bug here but rather an improvement. Feel free to attempt a PR if you like 👍


Chrome cuts off printing after a few pages with lots of div class="row"s in bootstrap v3.3.7

This is a really odd bug and it may be a bug in Chrome rather than Bootstrap v3.3.7 but I'm posting here in case you have a suggestion as to what could be the issue.
Printing works fine in firefox and IE but chrome cuts it off after a few pages. Here is an example. http://awrconference.com/test1.htm Press print and look at the preview. The preview won't show as many lines as the webpage. It stops midway through the 3s instead of going all the way to the 5s. I have 20 of each number.
I'm using this structure which when you print it, it comes out as rows rather than 3 columns
<!DOCTYPE html>

	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<title></title>
	<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />

		1a

		1b

		1c

this structure is repeated until you fill about 1000 lines

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.


SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.

I am using boto3 which does not have generate_url so I am using generate_presigned_url as follows. However, it is causing signature mismatch. Can you help me as what additional parameters need to be included when computing signedUrl on server side component?  I am using flask[python] with boto3. Thanks.
signedUrl = self.client.generate_presigned_url(
ClientMethod='put_object',
Params={
'Bucket': 'cogmeta-campaign-images',
'Key': "%s/%s" % (clientID,objectName),
'ContentType': contentType
}
)

I think what you are looking for is to generate a presigned_post. From what I gather in the documentation, the generate_presigned_url method is mainly for read requests.


Laravel 10.45.1 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.45.1 branch.
Before merging, you need to:

Checkout the shift-ci-v10.45.1 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:x: Shift was unable to run composer update. Please be sure to run composer update before merging to ensure your dependency changes are fully compatible and reflected in your composer.lock file.


threat-model: add initial document

This is a starting point, and could use a bit of help and
review from the community. This focuses on the devices / interfaces
with the virtual machine, and ultimately to the container itself.
We then discuss how these devices/interfaces vary by VMM/hypervisor.
Initial threat model drawing, created via sketches, is based on QEMU.
Next steps:

[ ] reference from high-level doc
[ ] discuss the trust boundaries drawn
[ ] create Firecracker threat model svg
[ ] create Cloud Hypervisor threat model svg
[ ] create Cloud Hypervisor hard multi-tenancy configuration threat model svg

Fixes: #572
Signed-off-by: Eric Ernst<EMAIL_ADDRESS>

@gnawux Can you help review this PR as well?

@amshinde sure. :)

/me wonders if @gnawux @egernst @amshinde have made any progress here ;-)

Its 2020, and I still managed to submit an update.
For some of the open areas (particular virtiofs), I think it'd be helpful to suggest edits, or otherwise take as is and fix in follow up PRs.

I agree that this document is needed anyway. We can improve it later. I'd rather have a git history than never-ending comments hoping for a never-achievable perfection.

IMO, I think this is more useful to have in the repo in a state close to what it is now, rather than be lacking any threat discussion. I'd like to have a baseline that we can then discuss and improve. If this doesn't work, then we should look @ opening a g-doc where folks can collaborate/contribute directly.

Agreed.
I will approve with that intent. That being said, there are still trivial CI failures (patch format) that you will need to fix first.

@egernst Just a couple of comments. Can you address those, and I'll be more than happy to merge this in.

ping @egernst

Thanks @amshinde  -- updated -- PTAL!

@egernst Please squash the two commits, that should resolve travis as well as it cant find subsystem in the second commit.

/test


pumpAndSettle should ignore items with an opacity of 0

Use case
I have tests that make calls to WidgetTester.pumpAndSettle(). I also have a view that has a circular progress indicator that will animate to an opacity of 0 if things are done loading. Because that indicator is always there technically even though you cannot see it, the pumpAndSettle will fail every time with that. This makes animating the showing of the indicator difficult as I have to make sure it is not there when the opacity is 0 but also make sure its there before I start animating it. It would be nice if pumpAndSettle did not look at things with an opacity of 0.
Proposal
Have pumpAndSettle not check for things with an opacity of 0. It could even be put behind an optional parameter if that makes it better.

It's probably a good idea to just remove the spinner if it is not visible. If it's still spinning with an opacity of zero you're still burning CPU cycles and using battery.
pumpAndSettle doesn't (and shouldn't) know anything about opacity. It pumps until there are no more frames scheduled.

I guess you have a point.


[Method 2] Successfully enabled Apple Intelligence  by editing /private/var/db/eligibilityd/eligibility.plist

Additional Information
set os_eligibility_answer_t to  4 and OS_ELIGIBILITY_INPUT_DEVICE_REGION_CODE to 3 in the OS_ELIGIBILITY_DOMAIN_GREYMATTER field, after execute override_xcodellm.sh

Expected.
The method 2 only contains override date for Xcode LLM not for Apple Intelligence.
You should use method 1 or modify the eligibility.plist to make it work.


ReLU is not differentiable

In Video 2, at around minute 9.
Activation functions are introduced and the two requirements (differentiable and nonlinear) given.
Sigmod and ReLU shown as examples.
But ReLU is not differentiable everywhere.
Perhaps say a word about this or link to somewhere, e.g.
https://medium.com/@kanchansarkar/relu-not-a-differentiable-function-why-used-in-gradient-based-optimization-7fef3a4cecec
Thanks,
Simon

@akreshuk could you maybe add it as a commend in the video description on youtube?

I added a comment in Video 2. And a bunch of smaller comments to where I thought the slides were incorrect.

Thank you, Simon!


[core] Google Reader API Integration

Is your feature request related to a problem? Please describe
No problem fundamental to the app. It's more of an extension of being able to use self-hosted software.
Describe the solution you'd like
The ability to use Google Reader API integration so that self-hosted applications like FreshRSS can be used with the app.
Describe alternatives you've considered
Fluent Reader is likely the closest alternative to this application that has Google Reader API support.
Additional context
N/A

Hi @luckycold and thanks for your feature request 🙂.
I'm on vacation for the next two weeks, but will look into it afterwards.


Use correct dateTimeFormat to merge Date and Time formats

In 1.0.0, it uses max(date-format-length, time-format-length) to determine the length of the dateTimeFormat to use to join them. According to section 2.6.1 of TR35, it should just use the date-format-length.

Fixed in version 2.0.0


[Item] use /assets/{asset_id} endpoint for assets?

Right now we use query parameter to pass the asset we want to visualize
/collections/{collection_id}/items/{item_id}/preview.png?assets={asset_id}&asset_bidx={asset_id}|1,2,3

but in theory we could do something like
/collections/{collection_id}/items/{item_id}/assets/{asset_id}/preview.png?&asset_bidx={asset_id}|1,2,3
/collections/{collection_id}/items/{item_id}/assets/{asset_id}/preview.png?bidx=1,2,3

It kinda make sense to have the /assets/{asset_id} suffix for one asset but what if we want to combine more than one?

/collections/{collection_id}/items/{item_id}/assets/B01,B02,B03/preview.png

I'm not sure about using , as assets delimiter. what are other options?

what about expression?

This is tricky but we could keep the same structure and add an expression=True parameter
/collections/{collection_id}/items/{item_id}/assets/B01+B02/preview.png?expression=True

we could also do something like:
/collections/{collection_id}/items/{item_id}/expression/B01+B02/preview.png

/collections/{collection_id}/items/{item_id}/assets/B01,B02,B03/preview.png feels like it's overloading REST concepts.
/collections/{collection_id}/items/{item_id}/assets/{asset_id}/preview.png?bidx=1,2,3 makes sense for previewing one asset.
What would follow for me would be:
/collections/{collection_id}/items/{item_id}/assets/preview.png?asset_bidx={asset_id},{asset_id},{asset_id}

🙏 thanks @drwelby

/collections/{collection_id}/items/{item_id}/assets/preview.png?asset_bidx={asset_id},{asset_id},{asset_id}

We tend to use assets={asset_id}&assets={asset_id}&assets={asset_id} instead of , delimited values for query-string, which is why I though that using /assets/{asset_id},{asset_id},{asset_id}/preview.png notation.
We also have to keep in mind that:

users might want to mix assets and select specific bands from assets
assets can be one bands
expression can be for one asset or multiple assets (and we can use the asset_as_band=True option)

😅 just realizing that we can already do most of this
from starlette.requests import Request
from titiler.pgstac.dependencies import get_stac_item
from titiler.core.factory import TilerFactory
from typing_extensions import Annotated
from fastapi import FastAPI

def ItemPathParams(
    request: Request,
    collection_id: Annotated[str, Path(description="STAC Collection Identifier")],
    item_id: Annotated[str, Path(description="STAC Item Identifier")],
    asset_id: Annotated[str, Path(description="STAC Asset Identifier")],
) -> str:
    """STAC Item dependency."""
    item = get_stac_item(request.app.state.dbpool, collection_id, item_id)
    asset_info = item.assets[asset]
    return asset_info.get_absolute_href() or asset_info.href,

app = FastAPI()
asset = TilerFactory(
    path_dependency=ItemPathParams,
    router_prefix="/collections/{collection_id}/items/{item_id}/assets/{asset_id}",
)
app.include_router(
    asset.router, tags=["STAC Asset"], prefix="/collections/{collection_id}/items/{item_id}/assets/{asset_id}"
)

☝ will not allow mixing assets but for this you'll want to go the /item way 🙏


Added new post (Run Linux On Win10 For PC Simulator With WSL+XLaunch)

Hi,
I just added info dicussed here.
I hope everything is fine. Feel free to change anything does not fit you and don't hesitate to contact me if you have any question ;)
Best regards!

Merged! Thank you very much! :)


Update documentation

Split up readme (several documents, but not Wiki, to stay in sync with code)
add Tag tag
https://github.com/npruehs/ue4-rts/community

Added in commit aa07f04f3de700a2710be346282ab7b2d4245d4a.


KAFKA-16698 : Add timeout to alterClientQuotas

Resolves https://issues.apache.org/jira/browse/KAFKA-16698
My hunch is that adding a timeout to alterClientQuotas, could fix the timeout issue happening here in next step connectionRateForIp. Though am not very sure of this.
Committer Checklist (excluded from commit message)

[X] Verify design and implementation
[X] Verify test coverage and CI build status
[X] Verify documentation (including upgrade notes)

@chia7712 would you like to take a look ?


Firewall - Shaper - Status: incorrect view

Describe the bug
In Firewall - Shaper - Status view, with 'Show active flows' enabled, only part of the traffic is shown.
This particularly seems to happen with setups that don't use queues. I have traffic shaping setup in a way where a rule points to a pipe, and queues are not used
Expected behavior
All traffic is visible
Screenshots

Environment
FreeBSD haanjdj.ddns.net 11.2-RELEASE-p20-HBSD FreeBSD 11.2-RELEASE-p20-HBSD  07ef86ce9ca(stable/20.1)  amd64
HW is a Barracuda F18

Has anyone had a chance to follow up on this presentation issue? I'm not literate in the programming language myself.

For me whole Current activity is not showing up...

So is a more accurate statement of this issue that "Show active flows does nothing if FlowQueue-CoDel is selected"?

@MikeBishop yes

So is a more accurate statement of this issue that "Show active flows does nothing if FlowQueue-CoDel is selected"?

Yes

The underlying reason for flows not being displayed when using
FQ-CoDel, is probably that the command line output doesn't show it
either:
q75537  50 sl. 0 flows (1 buckets) sched 10001 weight 0 lmax 0 pri 0 droptail
sched 10001 type FQ_CODEL flags 0x0 0 buckets 1 active
FQ_CODEL target 5ms interval 100ms quantum 1514 limit 10240 flows 1024 ECN
Children flowsets: 10000
0 ip           <IP_ADDRESS>/0             <IP_ADDRESS>/0        1       52  0    0   0
Met vriendelijke groet,
Derkjan de Haan
Op vr 23 aug 2024 om 09:36 schreef dmindfuse @.***>:

So is a more accurate statement of this issue that "Show active flows does nothing if FlowQueue-CoDel is selected"?
Yes
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Feature/ij 28 homepage

A Basic homepage, I will add another ticket on Jira to take notes on what improvements to be made:

Explaining about the app
Main features
Useful links

So when the user or team member hits the homepage they'll need to be able to navigate to the relevant login screen, could we have 2 buttons side-by-side for 'Include UK Staff' and 'User' (with icons?) that redirects them to /team_members/sign_in and /users/sign_in?

So when the user or team member hits the homepage they'll need to be able to navigate to the relevant login screen, could we have 2 buttons side-by-side for 'Include UK Staff' and 'User' (with icons?) that redirects them to /team_members/sign_in and /users/sign_in?

Yep, great idea!


How to infer with a video?

Hey, I want to use test my video, is it possible?

I also want to know it!

I also want to know it!

Hey guys,
I started writing some inference code on another repo
https://github.com/indicium15/wasb-sbdt-inference
Feel free to check it out! I'll add a PR to this repository too after I figure out how to integrate it with the existing config files.


Set up Deploy stage in CI/CD pipeline on IBM Cloud

As a developer
I need the automated CI/CD pipeline to run a deployment to the dev namespace every time I push changes to IBM Cloud
So that I can test that the application still deploys properly and is set up for BDD tests before deploying any changes to production
Details and assumptions

This story is part of coverage for #55; assumptions from that story apply here as well.
The deploy stage should deploy our microservice to the dev namespace on IBM Cloud

Acceptance criteria
Given the deploy stage is set up
When I push changes to the application
Then the deploy stage of the pipeline will deploy the application to the `dev` namespace on IBM Cloud

deploy stage is now passing with custom script to deploy into dev at port 31001 courtesy of professor Rofrano

Sounds good, is this the final port for dev ?

indeed it is :) when we set up prod we can presumably use a similar script, just need to change the namespace and specify the nodeport as 31002; currently stuck on the test stage of the CI/CD pipeline though


Assembly

One concern for me is if these tasks end up taking a very long time on the idseq-himem queue, they will prevent jobs from starting stage 1.   May be a good idea to give the assembler its own queue, 'idseq-assembly' and back that by a the standard compute environment or one that has like 1 guaranteed machine and room to grow.
Another question I have about this, is there a concept of lazyness, so if it crashes can you rerun so it will resume from where it crashed?

Ok, I will create a new queue with lower priority than stage 1. I’m also planning to benchmark how long fastas of various sizes take to assemble and just skip assembly for anything that could potentially take too long, for now.


CANBus and vehicle chassis adaptation?

Hello the apollo team I have a few questions about the adaptation of the CANBus and the chassis.
I would like to use a car that is not referenced on the Apollo certification platform but I don't have a list of essential/necessary signals to control a vehicle.
I noticed that this adaptation is done with a DBC file which contains the characteristics of the signals (ID, sizes, format, unit ....). To concervoir this DBC file we must be based on the chassis of the vehicle on which we have the motors, actuator and variators ...
Can you give me some tracks or models of equipment compatible with the DBC file format (For example an inverter which forns signals in DBC file format?).
What does Apollo use as equipment on DevKit vehicle chassis?
Thanks in advance for the help.

I don’t know how the DBC file is generated.
But if you want to adapt to the chassis, you can directly write the code according to the vehicle type in the canbus to adapt.

Hello @daohu527 thanks for your feedback but what are you talking about when you say to write the code according to the type of vehicle in the canbus to adapt ??
Apollo wants us to use the DBC file first to generate the communication protocol and the canbus adaptation code, then we need to modify the vehicle controller to get better results.
I don't have the DBC file for my vehicle, I would like to buy equipment (motor, variators .....) and mount it on a tricycle to make it work with Apollo. Any help/ideas are welcome

You can write the code yourself, if there is no dbc file, it is actually not very difficult.
You ref to "modules/canbus/vehicle" and have a try

Even if you use dbc, you can only generate protocol files. The files in these directories are used to read chassis information from canbus.
You have also need to complete some code by yourself, for example "zhongyun_controller.h zhongyun_message_manager.h".
This is difficult to explain clearly in a few words, I suggest you look at the code first, and then ask for help! Because there is no detailed tutorial at the moment

Exactly it's not easy to explain it in a few words as you say but I need a little help regarding the generation of the protocol files for reading the informations on the canbus.
Then I will develop the part of the code for the control logic (control logic, activation control signal, control signal function ...) in the corresponding directories.

Hello, I am also engaged in chassis adaptation of non officially certified vehicles recently. May I ask you some questions?


[BUG] {Luxonis spatial coordinates are very inaccurate}

Check if issue already exists
Some discussion was found however it seems like people claim the depth has only about 3% variance: https://discuss.luxonis.com/d/343-accuracy-of-spatial-detection-and-possible-improvements. However this does not match my results.
Describe the bug
The spatial coordinate output of the Mobilenet SSD spatial detection network is very inaccurate. Especially at very close distance (z < 3m) and very far distance (z > 7m) it gets very inaccurate. Moreover, when z > 1m the depth is always greater than the ground truth depth.
What I did to test this was walk backward along z-axis from the luxonis camera within a range of 0m to 10m, and after every meter moved backwards I move +0.5m and -0.5m sideways (along the x-axis). See screenshot below for recorded output.
Is this just an inherent limitation of the inbuilt spatial detection network? Would a host-side computation perform better?
To Reproduce
Run Mobilenet spatial detection network. Here is the relevant part of the config code.
pipeline = dai.Pipeline()
camRgb = pipeline.create(dai.node.ColorCamera)
spatialDetectionNetwork = pipeline.createMobileNetSpatialDetectionNetwork()
monoLeft = pipeline.create(dai.node.MonoCamera)
monoRight = pipeline.create(dai.node.MonoCamera)
stereo = pipeline.create(dai.node.StereoDepth)

xoutRgb = pipeline.create(dai.node.XLinkOut)
xoutNN = pipeline.create(dai.node.XLinkOut)
xoutBoundingBoxDepthMapping = pipeline.create(dai.node.XLinkOut)
xoutDepth = pipeline.create(dai.node.XLinkOut)

xoutRgb.setStreamName("rgb")
xoutNN.setStreamName("detections")
xoutBoundingBoxDepthMapping.setStreamName("boundingBoxDepthMapping")
xoutDepth.setStreamName("depth")
camRgb.setPreviewSize(300, 300)
camRgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_1080_P)
camRgb.setInterleaved(False)
camRgb.setColorOrder(dai.ColorCameraProperties.ColorOrder.BGR)

monoLeft.setResolution(dai.MonoCameraProperties.SensorResolution.THE_400_P)
monoLeft.setBoardSocket(dai.CameraBoardSocket.LEFT)
monoRight.setResolution(dai.MonoCameraProperties.SensorResolution.THE_400_P)
monoRight.setBoardSocket(dai.CameraBoardSocket.RIGHT)

stereo.setDefaultProfilePreset(dai.node.StereoDepth.PresetMode.HIGH_DENSITY)
stereo.setDepthAlign(dai.CameraBoardSocket.RGB)
stereo.setOutputSize(monoLeft.getResolutionWidth(), monoLeft.getResolutionHeight())
spatialDetectionNetwork.setBlobPath(
    blobconverter.from_zoo(name="mobilenet-ssd", shaves=6)
)
spatialDetectionNetwork.setConfidenceThreshold(0.5)
spatialDetectionNetwork.input.setBlocking(False)
spatialDetectionNetwork.setBoundingBoxScaleFactor(0.5)
spatialDetectionNetwork.setDepthLowerThreshold(100)
spatialDetectionNetwork.setDepthUpperThreshold(30000)

Expected behavior
I expect the coordinates to match roughly with ground truth.
Screenshots
Below, the z-axis is between 0 meter to 20 meters and the x-axis -5 meters to +5 meters. If the output from the network was correct, the max depth (max z-axis) should be 10 meters, and after each 1 meter there should be a line between +0.5 meters and -0.5 meters at the current depth. Disregard the title.

@Cupcee for long-range you should set monoLeft and monoRight to THE_720_P (not available on OAK-D Lite!) and stereo.setSubpixel(True)
Also you should set: camRgb.initialControl.setManualFocus(135);
You can read more about what subpixel is here
We will add a small troubleshooting info about how Stereo should be used for different use-cases.

@Cupcee for long-range you should set monoLeft and monoRight to THE_720_P (not available on OAK-D Lite!) and stereo.setSubpixel(True) Also you should set: camRgb.initialControl.setManualFocus(135); You can read more about what subpixel is here We will add a short how-to about how Stereo should be used for different use-cases.

Alright, thanks for the response. Will try these are report back!

@szabi-luxonis Added these settings, but it seems like nothing changed (I also tried reducing the bounding box scale factor to 0.2). FYI, I measured the first 5 ground truth meters from the camera, here is the results (approx, converted from millimeters to meters):
1m = 1.5m luxonis
2m = 2.8m luxonis
3m = 4.3m luxonis
4 = 6.1m luxonis
5 = 8.4m luxonis
What I'm doing at the moment, is using a scale factor of 0.67 to convert the Luxonis distance to the real world distance, but obviously this isn't optimal.
Here is the new config:
syncNN = True

# Create pipeline
pipeline = dai.Pipeline()

# Define sources and outputs
camRgb = pipeline.create(dai.node.ColorCamera)
spatialDetectionNetwork = pipeline.createMobileNetSpatialDetectionNetwork()
monoLeft = pipeline.create(dai.node.MonoCamera)
monoRight = pipeline.create(dai.node.MonoCamera)
stereo = pipeline.create(dai.node.StereoDepth)

xoutRgb = pipeline.create(dai.node.XLinkOut)
xoutNN = pipeline.create(dai.node.XLinkOut)
xoutBoundingBoxDepthMapping = pipeline.create(dai.node.XLinkOut)
xoutDepth = pipeline.create(dai.node.XLinkOut)

xoutRgb.setStreamName("rgb")
xoutNN.setStreamName("detections")
xoutBoundingBoxDepthMapping.setStreamName("boundingBoxDepthMapping")
xoutDepth.setStreamName("depth")

# Properties
# camRgb.setPreviewKeepAspectRatio(False)
camRgb.setPreviewSize(300, 300)
# camRgb.setPreviewSize(1300, 800)
camRgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_1080_P)
camRgb.setInterleaved(False)
camRgb.setColorOrder(dai.ColorCameraProperties.ColorOrder.BGR)
camRgb.initialControl.setManualFocus(135)

monoLeft.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P)
monoLeft.setBoardSocket(dai.CameraBoardSocket.LEFT)
monoRight.setResolution(dai.MonoCameraProperties.SensorResolution.THE_720_P)
monoRight.setBoardSocket(dai.CameraBoardSocket.RIGHT)

# Setting node configs
stereo.setDefaultProfilePreset(dai.node.StereoDepth.PresetMode.HIGH_DENSITY)
# Align depth map to the perspective of RGB camera, on which inference is done
stereo.setDepthAlign(dai.CameraBoardSocket.RGB)
stereo.setOutputSize(monoLeft.getResolutionWidth(), monoLeft.getResolutionHeight())
stereo.setSubpixel(True)
# detection_nn.setBlobPath(blobconverter.from_zoo(name="mobilenet-ssd", shaves=5))
spatialDetectionNetwork.setBlobPath(
    blobconverter.from_zoo(name="mobilenet-ssd", shaves=6)
)
spatialDetectionNetwork.setConfidenceThreshold(0.5)
spatialDetectionNetwork.input.setBlocking(False)
spatialDetectionNetwork.setBoundingBoxScaleFactor(0.2)
spatialDetectionNetwork.setDepthLowerThreshold(100)
spatialDetectionNetwork.setDepthUpperThreshold(10000)
# Use ImageManip to resize to 300x300 with letterboxing
# manip = pipeline.create(dai.node.ImageManip)
# manip.setMaxOutputFrameSize(270000)  # 300x300x3
# manip.initialConfig.setResizeThumbnail(300, 300)
# camRgb.preview.link(manip.inputImage)

# Linking
monoLeft.out.link(stereo.left)
monoRight.out.link(stereo.right)

# manip.out.link(spatialDetectionNetwork.input)
camRgb.preview.link(spatialDetectionNetwork.input)
if syncNN:
    spatialDetectionNetwork.passthrough.link(xoutRgb.input)
else:
    camRgb.preview.link(xoutRgb.input)

spatialDetectionNetwork.out.link(xoutNN.input)
spatialDetectionNetwork.boundingBoxMapping.link(xoutBoundingBoxDepthMapping.input)

stereo.depth.link(spatialDetectionNetwork.inputDepth)
spatialDetectionNetwork.passthroughDepth.link(xoutDepth.input)```

Also, I'm wondering if there is any way to make the spatial detector network to work with a wider resolution than 300x300 properly? I tried it with black bars and stretching but this screws up the spatial calculations.

Hello @Cupcee , Could you also share screenshot of the color+depth/disparity+rectified mono frames of the test setup? As from our test setup, we have measured better depth accuracy (see docs here).
Thanks, Erik


[WIP][AMORO-1720] Arctic Mixed Format KeyedTable support getting optimizedSequence from snapshot level

Why are the changes needed?

resolve #1720
Brief change log

using Puffin file to store optimizedSequence

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

I would open another PR to change the project version to 0.6.0-SNAPSHOT, so you can rollback the version change here.

Title Arctic had renamed to Amoro

@zhoujinsong I make some refactoring to PuffinUtil, and now its name has changed to StatisticsFileUtil. You could take another look at your convenience.


How do you stop an item from being auto-refilled?

E.G. on my server, inv-tweaks is banned because you can auto-refill a sword that broke, a throw able health pot... etc. I want to disable refill pots, swords and armor, for pvp, if possible. I tried messing with the code, but the sorting hurts my head :(

There are no server-side controls. For the most part, the mod appears to the server exactly as if the player had done things themselves, just faster.

I know there are none, I'm a mod on the server and trying to catch people using it is hard. So, I want to try put together a custom inv-tweaks that I can distribute for the server, if possible. I know many people on pvp servers where this mod is banned that would much appreciate it.


ansible 2.8 deprecation warning in dashboard

[DEPRECATION WARNING]: evaluating dashboard_enabled as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

this doesn't show up only in dashboard afaik.
@hoerup If you want to submit a PR for this that would be great :relieved:
otherwise, I think @rishabh-d-dave can take care of this.

should be addressed by #4025

we shouldn't close issues until PRs fixing them are actually merged


Update lenovo/thinkpad/p16s/amd/gen1

Description of changes

Use linux kernel 6.1
Import CPU and GPU modules
Import acpi_call

Things done

[x] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

Marking as draft.

Closing because it seems stalled. Please re-open this PR if you want to continue working on this.


Android build re-downloads OpenCV on every rebuild

CMake forces download of OpenCV on every rebuild, even if nothing has changed, slowing the build down considerably for no reason.
A simple solution would be to pre-download all such dependencies in the configure.cmd and configure-gui.cmd batches instead, working around the CMake issues.

So this really was an issue in https://github.com/OSVR/OSVR-Android-Build rather than this project, but no matter. Some weirdness in the ExternalProject.cmake stuff, potentially related to the uppercase nature of my SHA hash (!) but I could simplify. I solved this (wrote my own downloader CMake script that is considerably more polite in trying to avoid downloads, and copies a valid download back into the source tree where it is gitignored, so it can be shared between builds) in the commits I pushed yesterday.
I also improved and documented those (optional) build batch scripts. I now highly recommend using Ninja, and there's a build script that will "do the right thing" if run in a Visual Studio command prompt, no need for MinGW to use the automated scripts like there was before.

Ah sorry, I filed it on a wrong project.  Thanks for fixing this, it was a really annoying problem.
BTW, careful about ninja - I had some bad experience with it breaking/doing wrong things in case of parallel builds.

Yeah, I had a few minor issues related to the custom download step, and I've had projects it won't build right before, but it does build this just fine, and in any case, changing away from it for child projects is just a drop-down menu in the CMake GUI (or a command-line argument). And, if you're really nervous, there's now even a script to use nmake. (Mind you, basically all the configure scripts besides the mingw one are trivial, since they don't have to specify the path to their build tool, but...)


[MM-29493,  MM-29494] Migrate changeCSS() to CSS variable in utils/ut…

Summary
ApplyTheme Campaign: This PR completes the merge of the theme.onlineIndicator commits from the campaign branch.
Dev approval for the changes was completed on the original PR(s), so we are just looking for rubber stamp approvals by dev's to satisfy merge requirements.
As QA was skipped on PR merges into campaign branches, this PR will need proper QA before merging. See below for details on what to QA for this PR.
Ticket Link

https://github.com/mattermost/mattermost-server/issues/15881
https://github.com/mattermost/mattermost-server/issues/15882

Related Pull Requests
See tickets for related pull requests

@jgilliam17, this is is like the away indicator but for online indicator 🙂

@jgilliam17, this is is like the away indicator but for online indicator 🙂

This is going to need a merge since the away indicator one touches the same files

This is going to need a merge since the away indicator one touches the same files


use of GeneralizedGenerated in OrbitalTrajectories.jl

Hello Dan,
GeneralizedGenerated has just released 0.3.0: https://github.com/JuliaStaging/GeneralizedGenerated.jl/pull/60
You don't have to upgrade so far, but 0.3.0 can produce much better scalability and significantly reduce the latency and memory usage(though no performance gain in execution).
I can help you if there is any GG-related problem.

Hi Taine, thanks very much for the heads up! I will look into adding support for 0.3.0 over the next few days. I'll let you know if I have any questions! Cheers! :)


Example with kafka + Oauth2 needs the stimzi Oauth client

Add the needed extension for the example, as explained here https://quarkus.io/guides/kafka#authenticating-with-oauth

something's weird if I get the oldest version of kafka-oauth-client : https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/Kafka.20oauth.20authenticating

something's weird if I get the oldest version of kafka-oauth-client : https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/Kafka.20oauth.20authenticating

that was fixed in the bom of camel-quarkus 2.1.0

wait for work here :  quarkus-18998

I've opened these 2 PRs to bump versions from Quarkus BOM

Nimbus: https://github.com/apache/camel-quarkus/pull/3309
stimzi kafka-oauth-client : https://github.com/apache/camel-quarkus-examples/pull/62

Working on a proper integration test


updated autoinstrumentation description to match other languages

And be more precise in wording to indicate that instrumentation libraries are shipped rather than detected.
This addresses an issue described here: https://github.com/open-telemetry/opentelemetry-operator/issues/2559

thank you @sy-bee


feat(plugin-document-load): new plugin for document load for web tracer

Fixes #405
Fixes #438

I have added some performance metrics based on this article
https://developers.google.com/web/fundamentals/performance/navigation-and-resource-timing

I have added ConsoleExporter as discussed in #405 - if you think it is not needed I can remove it - however it was much easier for me to develop new plugin and to have easy way of seeing result in console. if you against it maybe we can consider keeping it until there is an easy way of using zipkin with the Web Tracer, as now I wasn't able to easily have something like this.

As it wasn't really decided in which namespace the plugin should be I added this as other plugins plugin-*

Updated example of using WebTracer

/cc @draffensperger

Codecov Report

Merging #433 into master will decrease coverage by 1.1%.
The diff coverage is 4.16%.

@@            Coverage Diff             @@
##           master     #433      +/-   ##
==========================================
- Coverage   95.88%   94.78%   -1.11%
==========================================
  Files         108      108
  Lines        5347     5137     -210
  Branches      433      431       -2
==========================================
- Hits         5127     4869     -258
- Misses        220      268      +48

Impacted Files
Coverage Δ

packages/opentelemetry-web/test/WebTracer.test.ts
0% <0%> (ø)
:arrow_up:

packages/opentelemetry-web/src/WebTracer.ts
0% <0%> (ø)
:arrow_up:

...etry-exporter-console/test/ConsoleExporter.test.ts
0% <0%> (ø)

packages/opentelemetry-core/src/common/time.ts
96.55% <100%> (-0.06%)
:arrow_down:

...ges/opentelemetry-tracing/src/NoopSpanProcessor.ts
75% <0%> (-25%)
:arrow_down:

...ages/opentelemetry-plugin-http/test/utils/utils.ts
33.33% <0%> (-23.81%)
:arrow_down:

...-plugin-http/test/functionals/http-package.test.ts
95.45% <0%> (-4.55%)
:arrow_down:

...opentelemetry-base/test/resources/resource.test.ts
100% <0%> (ø)
:arrow_up:

packages/opentelemetry-tracing/src/config.ts
100% <0%> (ø)
:arrow_up:

... and 13 more

Seems like this is coming together. I think there are a couple comments still outstanding. My main comment is around making the initial HTML fetch be a single span with timed events rather than multiple spans for the different request parts. I think that will make it clearer once that span can be the parent of a server-side span.
What do you think of that? Did folks discuss this at all at the SIG?

Dave currently the Span Event doesn't have possibility of adding the time.
https://github.com/open-telemetry/opentelemetry-js/blob/c2a7febfaa1f2ab5fdc4b9d64c63d564bb5efe05/packages/opentelemetry-types/src/trace/span.ts#L66
Not sure what would be the benefit to have just one span only. I create first span and then all other spans are children of that span, the last thing is to end the first (main span). Each span will have 2 events which will describe which performance metric has been used to add and end them.
Then looking on graph my understanding is that they should look like more less like this
|---------------------------------------------------| document load
|-----|                                                                          domain lookup
|----------------|
                                        |-------------------------| response time

and with events
fetch start                            load event start
|----------------------------|

In terms of events not supporting timestamps, I think we just need to get that fixed. Mayur is tracking that in this issue. My suggestion would be to simply add spans for the overall load, and a single child span for the initial HTML fetch, and then add the richer timed events for DNS lookup, SSL start/end, and request start/end once the timed events are available.
Why do I recommend a single span for the HTTP call for the initial fetch (that would be a child of the overall load span) with timed events vs. multiple spans for the parts of the request? Well, the initial HTML load is the browser making an HTTP call, so in my opinion, it should be formatted like one, and on the server side we format the client side part of an HTTP request as a single span. For gRPC, there are even message events that get attached to a span, which I think would be analogous to timed events.
The other reason for making it a single span with timed events, is that it can be analogous to resource timing spans for CSS, images, etc. If those all have multiple spans, then the trace starts to get really busy. But if they are separate spans, then you can sort of understand it well, but then a trace UI tool can allow you to drill down and see more.
Here are what some traces look like in this format (based on OpenCensus Web):
In this Zipkin trace, you can see a large parent span for the overall load event, and then a "/" span for the client side of the HTML fetch, and then a "/" span for the server side of the HTML fetch as well as some custom spans on the server side for that HTML rendering. There are circles for the timed events for DNS lookup, etc. The user can mouse over them to see the details, but the spans give an overall view. Similarly for the resource timing spans:

Here is a similar trace in Stackdriver Trace with the timed events collapsed that shows that nice overview:

Then you can expand the timed events to see the details of the communication events:

I would be open to being convinced the other way on this though ... but wanted to make sure I shared some more detail on what I was thinking!

@draffensperger thank you for this detail explanation, it is becoming more obvious now for me.

@draffensperger @mayurkale22 updated code to use events instead of spans now, please have a look again

@open-telemetry/node-approvers and @open-telemetry/node-maintainers  Please review and approve when you get a chance, thanks :)


VDS-1598 Organizations import preview

https://github.com/VirtoCommerce/vc-module-customer-export-import/pull/34

Already brought on a Demo with another PR


Push notification to native app

Hi,
I am new to meteor, this could be a basic question, but i wanted to know for sure.
Can this api(raix) push notification to an app that is build using native iOS?

yes if you report in the push id via ddp


⚠ Samsung has degraded performance

In d1b3f38, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2472 ms

Resolved: Samsung performance has improved in 74eeb10.


Academycraft Chapter  the recipe for the normal ability developer is off

It appears to want the charged version of the portable developer instead of teh uncharged one shown in NEI.   Also the next quest to build the portable developer seems to want the charged one also and you cannot craft a charged portable developer.

-mumbles grumbles- time to change them to Fuzzy.

fixed


Incomplete reception of response messages

For GNTP response messages, only the first package would be received and
parsed. In practice, this would usually cut off the (mandatory)
'Response-Action' header, which would arrive in the second package.
This, in turn, would cause GNTPOK.validate() to throw an exception
because of the missing header.
The correct behaviour is to continue reading from the socket until the
response ends with , indicating the proper end of the
message. As the standard states:

A GNTP request must end with  (two blank lines). This
indicates the end of the request to the receiver.

I think this is directly connected to the issue pointed out by jonschoning:
https://github.com/jonschoning/gntp/commit/daf90d843cd7c1b6dfa64ca2cf46892459497495

I think his error was something a bit different but thanks for the fix :)


CQWG:instrumentation

Parameter writer lock.
FMU RC - Real time Requirement on V4
SPI, I2C Jitter
Interrupt off time
What are the ramification MS5611 is using HPWORK on SPI
FD left free
HPWORK
a. What is running?
b. what are the Runtimes (percounter).
Look at dispatch - HW Probes - capture longest.  Then add threshold and snapp addresses
hrt dispatch - HW Probes - capture longest.  Then add threshold and snapp addresses

Are IOCTl all thread safe?

Possibly broader scope, but should we consider bringing the work_queue within PX4? Then we could easily add instrumentation (some on by default) and build it into a base class that eliminates most of the boilerplate for current users.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


Mobile Work

input password page update - full functional
update navbar, receive page
implement restore workflow and set logout param to -1
make transactions page, transaction details page full functional
fix help dlg margin issue

dropdown style update


8/02 Publish for azps-8.2.0

Docs Build status updates of commit 6b971c7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

azps-8.2.0/Az.Network/Get-AzRoutingIntent.md
:warning:Warning
View (azps-8.2.0)
Details

azps-8.2.0/toc.yml
:warning:Warning
View (azps-8.2.0)
Details

azps-8.2.0/Az.Automation/Start-AzAutomationDscCompilationJob.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Get-AzGalleryApplication.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Get-AzGalleryApplicationVersion.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Get-AzVMRunCommand.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Get-AzVmssVMRunCommand.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/New-AzVmss.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Remove-AzGalleryApplication.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Remove-AzGalleryApplicationVersion.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Remove-AzVMRunCommand.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Remove-AzVmssVMRunCommand.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Update-AzGalleryApplication.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Compute/Update-AzGalleryApplicationVersion.md
:bulb:Suggestion
View (azps-8.2.0)
Details

azps-8.2.0/Az.Accounts/Add-AzEnvironment.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Az.Accounts.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Clear-AzConfig.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Clear-AzContext.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Clear-AzDefault.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Connect-AzAccount.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Disable-AzContextAutosave.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Disable-AzDataCollection.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Disable-AzureRmAlias.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Disconnect-AzAccount.md
:white_check_mark:Succeeded
View (azps-8.2.0)

azps-8.2.0/Az.Accounts/Enable-AzContextAutosave.md
:white_check_mark:Succeeded
View (azps-8.2.0)

This comment lists only the first 25 files in the pull request.

azps-8.2.0/Az.Network/Get-AzRoutingIntent.md

Line 0, Column 0: [Warning: file-not-found - See documentation] Invalid file link: './Update-AzRoutingIntent.md'.

azps-8.2.0/toc.yml

Line 4721, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#import/export' in 'azps-8.2.0/Az.ImportExport/index.yml', did you mean '#import-export'?

azps-8.2.0/Az.Automation/Start-AzAutomationDscCompilationJob.md

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'NodeName' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

azps-8.2.0/Az.Compute/Get-AzGalleryApplication.md

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

azps-8.2.0/Az.Compute/Get-AzGalleryApplicationVersion.md

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

azps-8.2.0/Az.Compute/Get-AzVMRunCommand.md

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

azps-8.2.0/Az.Compute/Get-AzVmssVMRunCommand.md

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MinorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'Patch' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'MajorVersion' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add types to sentinelhub.download

Sadly not all of the methods type easily, due to over-generalisation. I feel like this is not the time to refactor the code too much, so I mostly added some additional guards.

Codecov Report

Merging #276 (c553430) into develop (69a5bcc) will decrease coverage by 0.36%.
The diff coverage is 81.81%.

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

@@             Coverage Diff             @@
##           develop     #276      +/-   ##
===========================================
- Coverage    88.60%   88.24%   -0.37%
===========================================
  Files           48       49       +1
  Lines         4249     4322      +73
===========================================
+ Hits          3765     3814      +49
- Misses         484      508      +24

Impacted Files
Coverage Δ

sentinelhub/io_utils.py
78.18% <ø> (ø)

sentinelhub/api/batch.py
61.00% <54.54%> (-2.03%)
:arrow_down:

...inelhub/download/sentinelhub_statistical_client.py
54.05% <55.55%> (-1.17%)
:arrow_down:

sentinelhub/api/byoc.py
91.80% <85.18%> (-2.70%)
:arrow_down:

sentinelhub/download/client.py
97.34% <90.62%> (-2.66%)
:arrow_down:

sentinelhub/download/sentinelhub_client.py
93.47% <93.33%> (-0.78%)
:arrow_down:

sentinelhub/download/handlers.py
73.13% <95.00%> (+4.04%)
:arrow_up:

sentinelhub/api/base.py
85.07% <100.00%> (+0.22%)
:arrow_up:

sentinelhub/download/rate_limit.py
98.30% <100.00%> (+0.05%)
:arrow_up:

sentinelhub/download/request.py
98.36% <100.00%> (+0.02%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


feat(@netlify/remix-edge-adapter): support Hydrogen Vite sites

Description
It appears to be (nearly?) impossible to provide an out-of-the-box Netlify experience for Hydrogen sites that use Remix Vite. This is in part because our Remix Vite (edge) adapter builds an SSR entrypoint that is not compatible with Hydrogen Vite. It seems impossible (or at least very difficult) to provide an alternative Hydrogen SSR entrypoint due to the directionality of configuration (I won't get into that rabbit hole here, but is user-land code, framework-land code, meta-framework-land code, and platform-land that all need to interact in complex ways and our Remix adapter approach just don't play nicely with this flow at all.)
We may be able to solve for this at some point, but for now our only option is to expect these sites to contain a server.ts (or similar) file at the root and use that as a custom SSR entrypoint. Hydrogen templates include such a file and so will the Netlify Hydrogen template, so this seems ok, though a bit on the magical side. I did make sure to fail the build with an actionable error for misconfigured Hydrogen sites.
This also seems to be in line with Remix's philosophy: https://remix.run/docs/en/main/guides/deployment. 🤷🏼♂
(There may be value in supporting this for non-Hydrogen Remix sites as well, but I haven't heard of a use case so I didn't bother supporting it here.)
Refactors
I also refactored a bit in a separate commit. I mostly improved naming and inline documentation. This space is very complicated.
Future improvements
As a next step, we could probably trim down our template's server.ts by about half or so by providing helper functions from this package (or a new Hydrogen package) that abstract out the platform-specific parts.
Related Tickets & Documents
See https://github.com/netlify/hydrogen-template/pull/4.
QA Instructions, Screenshots, Recordings
I added e2e tests for a working Hydrogen Vite site (from the updated template in https://github.com/netlify/hydrogen-template/pull/4, with a bit of fat trimmed) and a misconfigured one without a server.ts. I've also done extensive testing. This repo also already has existing Remix e2e tests.

Just checking about Hydrogen and non-edge variant - this part still doesn't work, correct? Should we maybe add checks to non-edge variant to fail with actionable message to use edge variant? (and if so, this doesn't need to be part of this PR and could be another item for "Future improvements")


empty public key found in cache

please implement a retry mechanism instead of throwing
errEmptyPubKeyFoundInCache
in the jwt resolver class.
thank you

There is a retry mechanism. Can you expand a bit?


Import_Excel returns weird value for DateTime from excel column

$reminders = Import-Excel -Path $remindersFilePath -HeaderName "Created Date"  -StartRow 2
This code return something like a1G5g100001CyvmEAC. It changed the actual datetime.
If I want to specify header name and convert to datetime, what can I do?

Please post a reprint, including sample script and data


Redirected urls

This update was done using:
cat ../redirects.txt | while read line; do from=$(echo $line | awk -F \" '{print $2}'); to=$(echo $line | awk -F \" '{print $4}'); echo $from $to; grep -l $from -r * | grep -v bak | while read file; do echo From: $from To: $to in: $file; sed -i.bak "s^$from^$to^g" "$file"; done; done

Spot checked most of the links - they work


NO-JIRA: Revert "Merge pull request #4661 from jparrill/bp-4.14/OCPBUGS-24308"

This reverts commit ab18b17d053050a413afcc54623393dacf6cffa6, reversing changes made to da98ec4381a6a5d0db7dc6279761150103ce0c92.

/lgtm

This revert does not make sense. After talking with other team members, we clarified that we need the backport and I will restore it ASAP.


GzipDecoder assume the input contains only one member

gzip files have a property that if you concatenate two gzip files, the result is still considered a gzip file:
$ echo hello > a
$ echo world > b
$ gzip a
$ gzip b
$ cat a.gz b.gz > c.gz
$ zcat c.gz
hello
world

Since they are still considered a correct gzip file, we should expect such files of "multiple members" to be returned by web requests.
When you use zlib to decompress the result, you need special precaution:
$ cat pyunzip
#!/usr/bin/env python
import zlib

obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
with open('c.gz') as fin:
    while True:
        data = fin.read(1024 * 1024)
        if data == '':
            break
        inlen = len(data)
        data = obj.decompress(data)
        print inlen, len(data)
$ ./pyunzip
56 6

The result is 6 bytes, i.e., only contains the "hello" part, without the "world" part.  When a web request returns such a file, you end up having a "truncated" file as output: the output contains only the first member of the gzip file. You can detect this by the "unused_data" member of the decompress object:
$ cat pyunzip
#!/usr/bin/env python
import zlib

obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
with open('c.gz') as fin:
    while True:
        data = fin.read(1024 * 1024)
        if data == '':
            break
        inlen = len(data)
        data = obj.decompress(data)
        print inlen, len(data), len(obj.unused_data)
$ ./pyunzip
56 6 28

We need to detect the case in the code in order to get the file fully:
$ cat pyunzip
#!/usr/bin/env python
import zlib

obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
with open('c.gz') as fin:
    while True:
        if obj.unused_data:
            obj, data = zlib.decompressobj(16 + zlib.MAX_WBITS), obj.unused_data
        else:
            data = fin.read(1024 * 1024)
        if data == '':
            break
        inlen = len(data)
        data = obj.decompress(data)
        print inlen, len(data), len(obj.unused_data)
$ ./pyunzip
56 6 28
28 6 0

So we need similar code in response.py of urllib3 to support such files.  I tried the following which seemed to work (Python 2.7):
    def decompress(self, data):
        if not data:
            return data
        ret = self._obj.decompress(data)
        if self._obj.unused_data:
            self._obj, data \
                = zlib.decompressobj(16 + zlib.MAX_WBITS), self._obj.unused_data
            ret += self._obj.decompress(data)
        return ret

@cpfs-clustertech, thanks for bringing this up! We'd welcome a PR to handle this edge case in combination with the appropriate regression tests.

I absolutely agree with @haikuginger. This is something I wasn't aware of, and definitely not something I'd have known to check for otherwise. Thanks for writing this up in a comprehensible way with a minimal reproducible example to toy with. 💯

After a second thought, the second "if" in my fix really needs to be a "while".

See https://github.com/shazow/urllib3/pull/1289.

Closed by #1289


Bug: Do not inlcude .gitignore from parent git repository

My setup may be not exactly standard, but deptry is the only tool that has a problem with it:
Up in my filesystem hierarchy there lingers a Git repository which ignores everything (*) and only a few files/directories are excluded from this catch all ignore. This works 100% fine with VSCode Git, command line Git and every other Git related tool I can think of.
Only deptry refuses to find any file with this setup, as it somehow climbs up in hierarchy to find my .gitignore->
Scanning 0 file...

Is there a way to fix this gracefully?

Agree that we should avoid reading .gitignore from parents directories outside the path where deptry is invoked. We could disable parents when constructing the directory iterator here.
But testing a bit the changes, this made me realise that we probably don't handle .gitignore properly today. If we disable reading parents, given the following structure:
.
├── requirements.txt
└── src
    └── foo.py

where .gitignore contains *.
$ deptry .
[...]
Scanning 0 file...
[...]

$ deptry src
[...]
Scanning 1 file...
[...]

Reading .gitignore file is relative to the directory passed as a positional argument, which is probably not what we want. Seems to me that reading the file from the location deptry itself is invoked would make more sense, although we should likely also respect .gitignore in sub-directories (which is probably something that the library we use does automatically).

Tiny addition: There must be some kind clever library at work, as even if I move the git ignore patterns from .gitignore to .git/info/exclude, they get still get found in the git repository up in the parent hierarchy.

Implemented changes in https://github.com/fpgmaas/deptry/pull/908 that should prevent deptry from finding parent .gitignore in your use case. If you have Rust and uv on your system, you should be able to test this with:
uvx \
  --from git+https://github.com/fpgmaas/deptry@4217bf7bee14f7558f9ad5f22f215f5703ac4f4b \
  deptry .

(since this won't install dependencies in your project, you'll probably have many errors, but this should still show if files are now scanned or not)


Remove unused category in ClassDoc

According to the comment, this String was used by VisualScriptPropertySelector on accident. But since Visual Scripting has been completely stripped away, this is now safe to remove.

That will break https://github.com/godotengine/godot-visual-script.
It still needs to be fixed there before we drop this property.


Is it possible to not display a specific date and time?

Can you tell me if it is possible to make the calendar appear without a specific date and time? And is it possible to make start_date together with time?

Hello, @Ks-Andrey)
I don’t quite understand the question, can you be more specific?

I'm making a tg bot for doctor's appointments. I need to make the selected date disappear from the calendar, can this be implemented?

Great idea)
Not implemented at the moment, but I will try to release an update tomorrow/the day after tomorrow with the possibility of excluding certain dates/times.

Thank you very much. Please make it possible to put not only date but also time in start_date)

Wouldn't the time_range parameter instead of start_time work for you?

Nope(
I want to do it this way. You can't book for a time that has already passed.

@Ks-Andrey , the functionality is implemented, you can update to 1.7.0 or 2.1.0)))

@Ks-Andrey, Can I close the issue?


Checkpointing and consumer groups

Referring to this paragraph under Checkpointing:

If a reader disconnects from a partition, when it reconnects it begins reading at the checkpoint that was previously submitted by the last reader of that partition in that consumer group. When the reader connects, it passes the offset to the event hub to specify the location at which to start reading. In this way, you can use checkpointing to both mark events as "complete" by downstream applications, and to provide resiliency if a failover between readers running on different machines occurs.

The first sentence is a bit unclear on which component does what. What has been submitted, by whom, and to where? This seems to imply that the readers submit (or can submit) their state to the Event Hub; as a consequence, if two readers read the same consumer group without being aware of each other, they could unknowingly miss messages.
If checkpointing is always a reader-side operation and Event Hub only provides the necessary data (offsets etc), then this IMHO should be stressed more in the documentation, maybe even refer to the Event Hub .NET SDK and note that, while from the SDK user's point of view checkpointing seems like it were Event Hub's own functionality, it is not really.
I came across this issue when trying to figure out whether I can safely read Event Hub from two different Spark applications using the Spark Event Hub connector and the same CG for both applications, without the applications interfering with each other (i.e. not causing inadvert data loss – performance was not the issue).

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

ID: 71adf8e4-a51b-d20d-39e1-fd7551bc94b9
Version Independent ID: 3d26fbc0-b6ae-e0ca-089f-e4966c19ef22
Content: Overview of features - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-features.md
Service: event-hubs
GitHub Login: @ShubhaVijayasarathy
Microsoft Alias: shvija

@solita-tvoipio Thanks for the feedback! We have assigned the issue to the content author to investigate this and provide an update as appropriate.

@ShubhaVijayasarathy Could you please have a look at this? - Thanks!

Reviewing the old issue. Discussed with our lead dev. I will add the following text to the article.
"offsets are provided by service and it is client’s responsibility to checkpoint as the events processed"

The update will go live early next week.
#please-close


What needs to be done to achieve this?

Can something like this be implemented using sigma.js.
I know draggable nodes and force directed layout can be done. But my graph has >200 nodes, so ForceAtlas2 doesn't stabilize even for a long period of time. So, I found this and this was in d3.js.
Can anyone tell me if it is possible in sigma.js, if yes, what do I need to do?
I don't want how to do this but if anyone can tell what steps need to taken, do I need to implement a different layout algorithm in a plugin or what exactly should I do, it would be really helpful?

Good question.
I am also trying to get ForceAtlas2 to work with incremental additions (random x,y) of nodes. It seems to be disregarding the ones that were created after the initial startForceAtlas2().

@tsouk, you need to kill forceAtlas and restart it every time you add drop something from the graph. The reason why you must do this is that the layout algorithm is very low-level for performance reasons and works on a FloatArray that needs to be reconstructed if the graph's structure changes. In the future, we'll work this out for you through events.

Thank you for your quick reply @Yomguithereal!
Same goes for adding nodes, adding/removing edges?
Event listening for changes in the layout would be amazing.

Adding/dropping nodes/edges are the case where you need to reset the layout. Other cases should be safe (apart if you need to hide some nodes or change their position in spite of the layout).


syncer: Optimized nodes to join Xenon's logic and the cluster ready state. #316

What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #316
What this PR does?
Summary:

reconcileXenon is performed when each POD is ready.
check whether the leader-follower is legal.

Special notes for your reviewer?

LGTM

Unnecessary.


support for hdp <IP_ADDRESS>

support for hdp <IP_ADDRESS> and make it the default when 2 or 2.4 is specified

:+1: LGTM (assuming Travis passes)


logging:  remote_address and local_address incorrect?

Hi, my public IP is X.X.X.X in the log below.
So the logfile is always giving X.X.X.X/ as the remote_address, and 0:0:0:0:0:0:0:0/0 as the local_address.
I think that local_address should be X.X.X.X/<random port> and remote_address should be the IP/port of internet peers that spruned is connected to.  As it is, I see no way to find addresses of connected peers.
2018-07-25 03:51:57,390 - p2p - INFO - Connected to peer {'timestamp':<PHONE_NUMBER>, 'subversion': b'/Satoshi:0.15.1/', 'last_block_index': 533586, 'remote_address': X.X.X.X/49340, 'nonce':<PHONE_NUMBER>4282426299, 'relay': True, 'version': 70015, 'services': 13, 'local_address': 0:0:0:0:0:0:0:0/0}
2018-07-25 03:51:59,345 - p2p - INFO - Connected to peer {'timestamp':<PHONE_NUMBER>, 'subversion': b'/Satoshi:0.16.1/', 'last_block_index': 533586, 'remote_address': X.X.X.X/40804, 'nonce':<PHONE_NUMBER>404011381, 'relay': True, 'version': 70015, 'services': 1037, 'local_address': 0:0:0:0:0:0:0:0/0}
2018-07-25 03:52:07,598 - p2p - INFO - Connected to peer {'timestamp':<PHONE_NUMBER>, 'subversion': b'/Satoshi:0.16.1/', 'last_block_index': 533586, 'remote_address': X.X.X.X/36696, 'nonce':<PHONE_NUMBER>232150806, 'relay': True, 'version': 70015, 'services': 1037, 'local_address': 0:0:0:0:0:0:0:0/0}

Yes, this is the peer response, should be a debug log.
It's correct that at the INFO level should be logged the remote ip.

ok, yeah a related enhancement and very useful would be to add getpeerinfo RPC.
$ bitcoin-cli getpeerinfo
error: {"message":"Method not found","code":-32601}

Hi, in the commit cec598d I've fixed the logging inconsistency.
And spruned now implements a minimal getpeerinfo api since the commit 3ff825 :-)
Thanks for the suggestion: easy to implement and with a great value :+1:

Now also available in the latest pypi https://pypi.org/project/spruned/


cluster operation time out

my environment running ArangoDB
I'm using  ArangoDB version

[X] 3.3

Mode:

[X] Cluster

Storage-Engine:

[X] rocksdb

On this operating system:

[X] Linux
[X] other:centOS

I have a 3-node cluster.
node1，node2，node3
I did this:
#shutdown cluster
node1:
arangodb stop
node2:
arangodb stop
node3:
arangodb stop
#startup cluster
node1:
nohup arangodb &
node2:
nohup arangodb --starter.join node1 &
node3:
nohup arangodb --starter.join node1 &
After starting the cluster for a period of time, a cluster operation timeout error occurs using the WebUI create collection.
/home/arangodb/data/coordinator8529/arangod.log:
2018-05-28T23:32:49Z [8326] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5010032:/_db/ga/_api/collection/s5010032/count with status timeout
2018-05-28T23:32:49Z [8326] WARNING {queries} slow query: '\n    FOR doc IN @@value0\n    FILTER LEFT(doc.mount, 2) != "/_"\n    LET bundleExists = DOCUMENT(@@value1, doc.checksum) != null\n    RETURN [doc.mount, doc.checksum, doc._rev, bundleExists]\n  ', bind vars: {"@value0":"_apps","@value1":"_appbundles"}, took: 103.174719 s
2018-05-28T23:32:56Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:32:58Z [8326] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5010023:/_db/ga/_api/collection/s5010023/count with status timeout
2018-05-28T23:32:58Z [8326] WARNING {queries} slow query: 'FOR doc IN @@collection  RETURN doc', bind vars: {"@collection":"_routing"}, took: 103.114861 s
2018-05-28T23:32:58Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:32:58Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:33:05Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:33:15Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:33:26Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:34:19Z [8326] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5010023:/_db/ga/_api/collection/s5010023/count with status timeout
2018-05-28T23:34:19Z [8326] WARNING {queries} slow query: 'FOR doc IN @@collection  RETURN doc', bind vars: {"@collection":"_routing"}, took: 103.156761 s
2018-05-28T23:34:28Z [8326] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5010023:/_db/ga/_api/collection/s5010023/count with status timeout
2018-05-28T23:34:28Z [8326] WARNING {queries} slow query: 'FOR doc IN @@collection  RETURN doc', bind vars: {"@collection":"_routing"}, took: 102.702025 s
2018-05-28T23:35:18Z [8326] ERROR {cluster} ClusterComm::performRequests: got no answer from shard:s5010023:/_db/ga/_api/collection/s5010023/count with status timeout
2018-05-28T23:35:18Z [8326] WARNING {queries} slow query: 'FOR doc IN @@collection  RETURN doc', bind vars: {"@collection":"_routing"}, took: 102.611493 s
2018-05-28T23:36:26Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:36:35Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:36:45Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:36:55Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:37:06Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:37:15Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:37:25Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:37:35Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529
2018-05-28T23:37:45Z [8326] WARNING cannot contact coordinator CRDN-58813af6-be0d-49b4-be40-a242a75d3dc1 on endpoint tcp://<IP_ADDRESS>:8529

/home/arangodb/data/dbserver8531/arangod.log:
2018-05-28T11:11:50Z [8233] WARNING {heartbeat} synchronizeOneShard: long call to syncCollection for shard s11114314 {"barrierId":"1822042456","lastLogTick":"6055375972","collections":[{"id":"2010065","name":"s11114314"}]} start time:  Mon May 28 2018 19:07:13 GMT+0800 (CST) end time:  Mon May 28 2018 19:11:50 GMT+0800 (CST)
2018-05-28T11:11:50Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>
2018-05-28T11:11:51Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>
2018-05-28T11:21:52Z [8233] WARNING {httpclient} retrying failed HTTP request for endpoint 'tcp://<IP_ADDRESS>:8530' for replication applier in database 'ga' - retries left: 1
2018-05-28T11:21:54Z [8233] ERROR {replication} initial sync failed for database 'ga': got invalid response from master at tcp://<IP_ADDRESS>:8530: HTTP 404: Not Found
2018-05-28T11:21:54Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>
2018-05-28T11:21:54Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>
2018-05-28T11:21:54Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>
2018-05-28T11:31:55Z [8233] WARNING {httpclient} retrying failed HTTP request for endpoint 'tcp://<IP_ADDRESS>:8530' for replication applier in database 'ga' - retries left: 1
2018-05-28T11:31:57Z [8233] ERROR {replication} initial sync failed for database 'ga': got invalid response from master at tcp://<IP_ADDRESS>:8530: HTTP 404: Not Found
2018-05-28T11:31:57Z [8233] INFO {replication} connected to master at tcp://<IP_ADDRESS>:8530, id<PHONE_NUMBER>36676, version 3.3, last log tick<PHONE_NUMBER>

with the Availability of ArangoDB 3.7 I'm closing this as out of date.


New Weights for All Pallets

This PR updates all the Weights for the FRAME Pallets.

Everything else looks good

bot merge


Requirements file is empty

Would be great if you could update the requirements file to have the right version of the dependencies, currently I can't run this code:
b2c.stardist(image_path="./he.tiff",
             labels_npz_path="./he.npz",
             stardist_model="2D_versatile_he",
             prob_thresh=0.01
            )

As it gives an error
ImportError: cannot import name 'deserialize_keras_object' from 'keras.utils.generic_utils' (/mnt/work/RO_src/venv/stnav_venv/lib/python3.10/site-packages/keras/utils/generic_utils.py)

I tested a fresh install on the 24th of June and everything worked. Interesting. What package(s) did you have to install with what versions?

Hei, I tried with a fresh venv and it worked :) Thank you!


Add OpenDyslexic font option

GitHub token related functions are removed as they are no longer used
Fonts are now declared through stylesheets to avoid bugs in some cases

NOT tested on windows yet. please make sure it works there properly if you can.

wdym by backwards exactly? mirrored? written in the wrong direction? can you send a screenshot?

Like when the font is set to Inter, it uses OpenDyslexic (I think). Or, maybe it doesn't want to use OpenDyslexic and is defaulting to some font that I'm not sure of?
Correction: The latter appears to be true. Maybe it's because I don't have the OpenDyslexic font installed? If that's the case, probably not an issue.
Here's some screenshots:

@osfanbuff63 can you test this commit on windows? you'd have to run pyside6-rcc vanilla_installer/assets/fonts.qrc -o vanilla_installer/fonts.py in the root directory first. this would have to be added as a step in CI too.

Alright, can do. Won't be able to test for a few hours but I can do it when I can.

Alright - this works...mostly!
This is opendyslexic for sure:

For some reason, the font needed to be Inter Regular to work (not sure why tbh) - but given that this is included now I don't think it'll be an issue. Could someone on Linux test?

(also the commits are unverified because I forgot to change my email in git lol)

huh inter regular doesn't work on linux or at least not for me

Hmm - guess we'll need to pull a platform.platform() lol

I'm gonna try to see why the names are different on different platforms first.
If I couldn't find anything then we don't really have a choice

Someone should test this commit on mac. other than that it should in theory work properly on windows and linux.

(i'll test again before I merge though)

mostly merging this so that i dont have to set up more remotes in a new git repo xd


Nova 4 support

Are there any plans to support the new major release?

Would be great! Thanks ❤

+1

@rocramer Any news regarding this?


Computes correct override class and adds unit test for both Hadoop and System property configuration.

Closes #2416
Co-authored-by: Damon Brown<EMAIL_ADDRESS>

I was able to test this locally.