Tile component.

Probably a question for upstream, but what's happening with the Tile component?
For example scroll down the page a bit at the demo usage: https://www.carbondesignsystem.com/components/tile/usage and we see examples with media, title, description, icons, selectable, call to action, but the actual component has zero support for any of these items via props or slots.
Also it could be argued that radioTile and selectableTile should be configurable options of a greater Tile component?
Personally I think material have a good model for this type of component: https://material.io/components/cards#anatomy

Also it could be argued that radioTile and selectableTile should be configurable options of a greater Tile component?

There's little overlap in business logic between RadioTile and SelectableTile. It's better to keep them separate than as variants of the read only Tile.
As a consumer, if I just want to use Tile, I don't want to have to include logic from RadioTile, SelectableTile, and TileGroup (which RadioTile depends on) in my app.

For example scroll down the page a bit at the demo usage: https://www.carbondesignsystem.com/components/tile/usage and we see examples with media, title, description, icons, selectable, call to action, but the actual component has zero support for any of these items via props or slots.

It would be nice to support a Card component. I wonder how much could be achieved by composing existing components?
<Tile>
  <AspectRatio ratio="16x9" style="margin: -1rem">

  </AspectRatio>

description

  <Link href="#">Call to action</Link>
</Tile>

Also it could be argued that radioTile and selectableTile should be configurable options of a greater Tile component?

There's little overlap in business logic between RadioTile and SelectableTile. It's better to keep them separate than as variants of the read only Tile.
As a consumer, if I just want to use Tile, I don't want to have to include logic from RadioTile, SelectableTile, and TileGroup (which RadioTile depends on) in my app.

Yh, I suppose the radio has to be wrapped, also perhaps I'm conflating the docs with the internal designs. For example, RadioTile, SelectableTile are scattered in the docs hierarchy. Whereas for example DataTable, or ComposedModal, once you land on theses items, you discover the component parts - and Tiles being Tiles and all that, just with different modus operandi.
Anyway - the Card component - are you suggesting that this is left to userland, or you would create such a component in the library?
I would really like to be able to contribute - but not sure if that would be possible or indeed desirable.
Adding a new component seems like a big deal in such a tightly managed domain. Would the design / spec need to start upstream?

Yes, start upstream. See if there's anything in the works – but it shouldn't stop a user from building their own.


Fix python package import and C++ run dependencies

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This PR is supposed to fix outputing of C++ (a head-only library) and the Python binding simultaneously:

In the current version, The Python library is installed but cannot be imported, and I cannot see the package name "pyfoamalgo" after typing "conda list".

For the C++ part, the dependencies are added. It is required when users build their own library using the head-only library.

In the very first PR, I gave up using outputs because of some werid errors.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin

Hi @marcelotrevisani Can I merge this kind of change without the review from an administrator?
By the way, I guess there may be a bug in outputs. I must put even a single line of script
$PYTHON -m pip install . --no-deps -vv

In a file. Otherwise, it raises error because of some command cannot be copied.

Hi @marcelotrevisani Can I merge this kind of change without the review from an administrator?
By the way, I guess there may be a bug in outputs. I must put even a single line of script
$PYTHON -m pip install . --no-deps -vv

In a file. Otherwise, it raises error because of some command cannot be copied.

Yeah, you need to add a script with just that command when using outputs, it is a point of improvement on conda-build
Sure, you can merge it, you are the maintainer of this package now, but if you have any problem/question please feel free to ping conda-forge/core  , I will be notified as well. You can also ping me directly
Cheers!

@conda-forge-admin , please rerender

We also have a documentation to guide you in maintaining packages
https://conda-forge.org/docs/maintainer/updating_pkgs.html

Thanks a lot! Now I know how to use @conda-forge-admin , please rerender correctly :-)


[TML-26]: Separate http/logger to separate package

Summary by CodeRabbit

New Features

Introduced classes for handling paginated data retrieval and basic CRUD operations in mobile app.
Implemented classes for user authentication, preferences management, and user details in mobile app.
Added Protocol Buffers files for defining user, authentication, and preferences messages and services.

Enhancements

Simplified mobile app structure for better readability.
Enhanced HTTP client functionality with new classes for request and response interception and logging.

Documentation

Updated README with minor formatting and content adjustments.

Dependencies

Updated dependencies across various packages for improved stability and performance.

@coderabbitai review


DACT-362 : add a remove directors page

https://companieshouse.atlassian.net/browse/DACT-362
Add a skeleton page for removing a director. Continue link from active directors and back link on remove a director page are currently hard coded. The logic for building dynamic links which retain transaction ID/ submission ID/ Company number will be addressed when the page logic is implemented.

The back link could probably have been dynamically generated as it looks like we have things such as submissionId, TransactionId etc set in request. I'll test this on https://companieshouse.atlassian.net/browse/DACT-363 and if it works make the change for this skeleton page as well under the next PR.


Bind in implicit function call

@@foo works, but f @@foo fails to parse

This is a compromise due to some overlap with decorator syntax but we may be able to be more precise about it.
See: https://github.com/DanielXMoore/Civet/blob/7d6e6c30227625396727ef2c3c1695c919a5a41d/test/class.civet#L658-L672

Ah, right, I forgot. This definitely makes sense at the start of the line, but f @@foo can't possibly be a decorator, right? Indeed, it fails to parse now... Will need to investigate.

I understand the conflict now. Implicit function calls are forbidden when the argument starts with @@, because it can be the start of a new decorator.
Currently we support these forms:
@@dec1 @@dec2 class Foo // reasonable

@@dec1 arg, arg @@dec2 arg, arg class Foo // unreasonable?

@@dec1 arg, arg
@@dec2 arg, arg
class Foo  // reasonable

I think it would be reasonable to only allow multiple decorators in a row when they have no implicit function calls. I'm not sure that makes it easier to parse though (unless we add another flag for whether implicit calls are allowed).
By the way, it looks like we don't support decorators on class methods or fields, unlike the TC39 spec. The following transpiles into the wrong thing, and without the final x it doesn't even parse:
class Foo
  @@dec x = 5
  @@dec f(x)
    x


[Color Picker] Adjust Color Not Updating after Select

Microsoft PowerToys version
"v0.49.1"
Running as admin

[X] Yes

Area(s) with issue?
ColorPicker
Steps to reproduce

Open Color Picker

Open Adjust Color

Paste (ctrl + v) Desired Hex code

✔ Expected Behavior
I expected the result to change into my desired color

❌ Actual Behavior
It seems like the change did not respond from pasting the code or perhaps because of its case-sensitivity.

Other Software
No response

Confirmed on 0.49.1. It shouldn't be case sensitive.

@stefansjfw
Does the PR fixes #14160 too?

@stefansjfw
Does the PR fixes #14160 too?

@stefansjfw
I saw that it doesn't fix it.

No, I didn't see this one. I'll fix it separately

This is fixed in 0.51.  Please head over to our releases and get the update!  https://aka.ms/installpowertoys


[Question]: Unraid App Store Image Indicates no BTRFS support. Is this still true?

Is your question not already answered in the FAQ?

[X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

[X] I am sure my question is not about a technical issue.

Question
Only just getting back to playing around with this container and noted that the Unraid App Store Image details says:

IMPORTANT: Does not work with BTRFS filesystems on Unraid. See the FAQ on the Github page for support.

Checking the FAQ page in this repo though, there's no such mention.
Is this still an issue?
Reason I ask, is my Unraid box has:

Array of 6 x HDDs formatted as XFS -- My Bulk Storage
Pool of 2 x NVMe in RAID1 formatted as BTRFS -- My App Cache
Pool of 1 x SATA SSD formatted as BTRFS -- My Write Cache

Ideally I don't really want to run my Windows "VM" from the slower bulk storage, as I run any "apps" from the NVMe pool.
Thanks

Just an Idea and for me the installation worked with that on a btrfs:
Since this is using images heavily, you should disable COW.
To do this

Create a storage folder mkdir storage
Execute chattr +C storage
mount the storage into docker:

services:
  windows:
    image: dockurr/windows
    container_name: windows
    environment:
      VERSION: "11"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    volumes:
      - ./storage:/storage
    stop_grace_period: 2m

https://wiki.archlinux.org/title/Btrfs#Disabling_CoW
Also this is hinted as warning in this section:
https://wiki.archlinux.org/title/QEMU#Creating_a_hard_disk_image
Could this be tested by someone else?


Add Trickest wordlists

Inventory subdomains
This wordlist is based on the subdomains dataset of ~70 public bug bounty programs collected on Inventory.
Robots
This one contains the raw data of 100, 1000, and 10000 websites' robots.txt files. [^1]
Technologies
These wordlists are based on the source code of the technologies listed here.
There are two versions of each wordlist:

Base
Lists the full paths of each file in the repository

webapps/examples/WEB-INF/classes/websocket/echo/servers.json

All levels
Includes all directory levels of the files in the base wordlist. This wordlist will be larger than the base wordlist, but it accounts for cases where the directory structure of the repository isn't mapped perfectly on the target.

webapps/examples/WEB-INF/classes/websocket/echo/servers.json
examples/WEB-INF/classes/websocket/echo/servers.json
WEB-INF/classes/websocket/echo/servers.json
websocket/echo/servers.json
echo/servers.json
servers.json

The wordlists are sourced from trickest/wordlists.
[^1]: Credit to the RobotsDisallowed and RAFT projects for the original concept.

Nice addition! But could you rename the files so they have more descriptive names? It should be immediately obvious what a wordlist is for just by looking at its filename, otherwise this repo becomes a mess very quickly

All set, @ItsIgnacioPortal 🙂

whats a worldless file please help

whats a worldless file please help

This isn't google


Doh539 patch 1   pipelines java

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: doh539 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Results Review

Hi Nathan, could you review the results chapter for me?  I'll include the pdf here.  The figures definitely need formatting adjustment, so if you have any suggestions, feel free to include those when you look over the text!
I also think it could stand to be a bit longer, so if there's anything you think I should expand on/isn't clear, definitely let me know.  The sensitivity test section in particular is a bit brief - there are probably things I took for granted and didn't include that aren't as clear to the person that didn't run them.
Thanks so much for all your help, and have a happy weekend!

Also, @munkm :)

Sure thing, almost done with this one!

Thanks!  I know this chapter is a longer one.

I received the pdf via slack, thanks!


vagrant: Bump net-next Vagrant box version

This new version includes updates for the kernel, Ubuntu, and Docker images.

/test-1.23-net-next

/test-runtime

/test-runtime

/test-1.23-net-next

Some issue with vboxsf...

/test

/test-1.23-net-next

Net-next is still blocked on the vboxsf issue. I will close this so I can update the other VM images.


[Cherry-pick][Branch-2.2]Support 4 phase aggregate for group by constant (#6219)

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

run starrocks_fe_unittest

run starrocks_be_unittest


UnicodeDecodeError after running installer

Hello, I've got an error when running djangocms -p . my_demo:
Traceback (most recent call last):
  File "/…/bin/djangocms", line 11, in <module>
    sys.exit(execute())
  File "/…/lib/python2.7/site-packages/djangocms_installer/main.py", line 15, in execute
    config_data = config.parse(sys.argv[1:])
  File "/…/lib/python2.7/site-packages/djangocms_installer/config/__init__.py", line 144, in parse
    [path for path in os.listdir(args.project_directory) if not path.startswith('.')]):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 3: ordinal not in range(128)

Regards,
Maciej

Could you please open this on https://github.com/nephila/djangocms-installer and provide the full set of options you provided to the installer?

Sure, there it is.


Does it support windows PC?it seems not to work  -_-//

Yes, your commands should all work using "ctrl." Have you tried restarting the editor or re-installing the package? Are you getting any errors? Can you send any screenshots of what you mean by it not working?

I reinstalled the package and then restart atom.There's no any error.I'm not sure if the keys confli

ct.
For example,when I pressed ctrl-enter keys,cursor go to a new line instead of tasks working.

In the editor, try hitting ctrl-. which will turn on the hotkey visualization. When you then hit ctrl-enter, what command is highlighted in green at the bottom?

I pressed ctrl,but there isn't hotkey visualization.But when I pressed ctrl-shift-P and input "task",I see operations.
It is so pitty without hot key T_T

Agreed! Hotkeys should definitely be working! So try ctrl-shift-P and search for "Keybinding resolver: toggle" and hit that. It should open a panel at the bottom of the screen that will show you what a key combination you type corresponds with. My guess is that another plugin might be vying for attention. Can you toggle the keybinding resolver and then screenshot after hitting ctrl-enter in a tasks file?

Very odd! Looks like something is failing to match for the proper hotkey to fire. Do any of the other hotkeys work? I'm not at a windows machine right now, but i can check later today to see if i can reproduce the issue.

Other package's hot key can work~All this package's keys don't work.
atom version: 1.54
system version: windows 10
thx~

I tested on my own machine and i can't seem to reproduce the issue. This is pretty tough for me to debug! No hotkeys for this package work? It might be a conflict with another package you have installed. Can you send a list of other packages you are running so i can take a look?

 Thanks for sending that over. It may take me a bit to track down any potential conflicts since that's a big list. If you have the capacity you could try disabling a few of them at a time and see if any of them directly cause Tasks to stop working :)

The list includes two kinds of packages:the first part packages are atom origin packages,the second are installed by me~I suspect these customized~

I had a similar issue and can confirm a conflict with the graphviz-preview plugin. I've raised an issue as in that particular case the keymaps aren't limited to a data-grammar (see: Issue #17).
In your case, you don't have the graphviz-preview plugin installed but I strongly suspect the issue is going to be similar.

Ctrl-Enter is a default key bind for 'newline below' it's just conflicting with the base key bindings. This won't work unless ToDo list uses different keybindings unfortunatly

It should automatically select the grammar based on file type! But it is possible there is a keymap collision somewhere :)

Going to close this for now :) Feel free to re-open if the issue persists


(maint) revert schema increment and new value added to cached_catalog_status (cherry-pick from 5.5.x)

While fixing ignore_plugin_errors/usecacheonfailure interaction
a new specific value was added for cached_catalog_status. This new
value does not bring enough benefit vs complexity, reverting to
using generic on_failure value
5.5.x PR: https://github.com/puppetlabs/puppet/pull/8362

failing test is the known openssl issue, should be good to merge


Modifiy menu_walker.php in child theme

How can I edit the menu_walker.php in a child theme, my goal is to remove the dividers. It does work to change the code directly in the parent theme folder.
Thanks.

How about
.divider {
    display: none;
}


Hot reload for the ServeGradio component

🚀 Feature
It would be great if Lightning apps supported the hot reload feature. For example, it could be beneficial when you are developing an interface with the ServeGradio component.
Motivation
When I change my code, I need to shut down an app and restart it again. It's a repetitive activity, and I feel like I spend too much time on it.
Submission
If I create an interface with the ServeGradio component, I want my interface to rebuild automatically.

I would love this too. It would be great to have hot reload enabled by default for all UI components and optionally enable it for all other ones.
@awaelchli, do you know if this is something we consider adding anytime soon?

@yurijmikhalevich @KogayIrina That would be nice yes, I just don't know how to realize it. Gradio has some notes here about hot reloading.

They require the code to be run with the gradio command
They require that you name a variable in your code as "demo"

I'm mainly unsure what to do about 1. The way we implement gradio interfaces in the app is through a work. A work get's launched in a subprocess, which is a fixed command that the user has no control over. The only way I see to do it currently is to have the gradio app in a separate file and then call
def run(self):
    subprocess.Popen(["gradio", "my_gradio_app.py"])
    # wait forever
    ...

@awaelchli, I wonder if, as an MVP of this feature, we can implement the following:

Add a watchman that will be looking at whether the gradio component files were changed.
Restart the gradio component subprocess.

This implementation isn't perfect because a reload will take some time, and the user will experience UI downtime. But it's better than not having an auto-reload at all. Step two should happen with a delay after step one to allow for bursts of a few small consecutive file edits.
As a follow-up, we should be able to improve it by:

When the code changes, start a new gradio subprocess.
Detect the FE that it started, load the FE changes in the background, and seamlessly refresh the FE. Signal to the BE that the FE is refreshed.
Framework stops the old gradio component.

The reload time will be about the same as the first solution, but the experience will be smoother because the user won't experience UI downtime during the FE reload. Also, if done right, this approach can be applied to any kind of UI hot reload.

@yurijmikhalevich This is a nice suggestion.
Please note that what you refer to as "the gradio component subprocess" is literally the entire lightning work process that runs. Hot reloading this means we would be restarting the work. Just clarifying this in case this wasn't clear.
@tchaton What do you think of @yurijmikhalevich's proposal?


deprecation: tbl_islist is deprecated

Did you check the docs?

[X] I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.
On nvim 0.11 this warning shows on :checkhealth vim.deprecated
- WARNING vim.tbl_islist is deprecated. Feature will be removed in Nvim 0.12
  - ADVICE:
    - use vim.islist instead.
    - stack traceback:
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/utils/init.lua:47
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/border.lua:135
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/border.lua:461
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/object/init.lua:132
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/init.lua:154
        /home/zeioth/.local/share/nvim/lazy/nui.nvim/lua/nui/object/init.lua:132
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/view/nui.lua:128
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/view/nui.lua:307
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/view/init.lua:155
        [C]:-1
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:149
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/view/init.lua:162
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/message/router.lua:223
        [C]:-1
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:149
        /home/zeioth/.local/share/nvim/lazy/noice.nvim/lua/noice/ui/init.lua:109

Not a big deal yet because the plugin works correctly on nvim 0.11 without errors. But good to keep in mind.
Describe the solution you'd like
x
Describe alternatives you've considered
x
Additional context
No response

Sorry for the retardeness, thank you folke.


Hidden Rows in some months

On a device as samsung Note 5 , I have some weeks hidden in months like June and September (In June I get only 4 rows) , note that I am using the calendat in a fragment and the calendar is match_parent in width and wrap_content in height

I would suggest making a sample activity within the calendar so we can better plan a fix for it. Maybe check your layout?


i3wm mod key doesn't work

Hello~
The inkscape-figure works pretty well. But after I installed shortcut manager, the file watcher doesn't work. In addition, all shortcuts for my i3wm doesn't work after I launch inkscape.
I'm looking for your help
Thank you.

Hi!
I know this is really not an answer, but I wanted to contribute with my experience on this.
I usually have the Alt key configured as the mod key in i3wm. In my case, too, it stopped working when I focused on an Inkscape window.
But after changing the i3wm mod key to the Windows key everything started working again, so my guess is that the portion of main.py  concerned with "ungrabbing" mod keys doesn't recognize Alt for some reason. I maybe wrong, and in any case as of now I still don't know anything about Xlib, so I wouldn't know how to fix this, but maybe this will be of some use to others.
PS: Gilles, thank you so much for this, and more generally for the awesome vim/LaTeX/Inkscape setup you detailed in your blog. It cascaded into me learning a lot of new amazing stuff. Is there a way to buy you a coffee without using a credit card? Like PayPal, I have some credit there.

Hi @yhao21 and @isaiaismaele. The solution provided by @isaiaismaele should indeed fix this. I'm sorry for getting back on this so late. I will update the code to reflect this solution.
(PS: If you wish, you can donate via paypal here: castel.dev/paypal)


S3 test failing

s3 reading and writing files failing

S3 test working, ran twice in github actions and passed
the issue seems to be coming from openpyxl. Will monitor to see if this occurs again


Task need a Priority field

Feature request:
Task  struct need a priority field to indicate the scheduler how important this task is. Scheduler will schedule according to priority when the resources are limited.
There are three limited resources in a p2p cluster:

Ability to backsource.
Sometimes the image source bandwidth is limited, so the concurrent backsource count should be limited to get better performance.
Ability to trigger SeedPeer
Comparing with normal dfdaemon peer, the SeedPeers usually have larger storage disk, longer task expire time and larger bandwith. But the resource of SeedPeer is also limited. When there is too many concurrent task, scheduler need to dicide which task is more important to get the ability to trigger seedPeer.
The GC priority in seedPeer storage
SeedPeer's storage is also limited. When the disk is full, SeedPeer need to GC less important task first.

I designed these priorities assocaited with different strategy with the above resources：

priority Number
Priority Name
Back Source Ability
Seed Peer Trigger Strategy
Seed Peer Store Priority

0
DisableBacksource
disable
disable
disable

1
BackSourceLow
dynamically Judge
disable
disable

2
BackSourceMust
enable
disable
disable

3
SeedPeerLow
enable
dynamically judge
low

4
SeedPeerMid
enable
dynamically judge, but suggest to trigger
low

5
SeedPeerHigh
enable
dynamically judge, but Strongly suggest to trigger
low

6
SeedPeerMust
enable
enable
low

7
SeedPeerStoreLow
enable
enable
low

8
SeedPeerStoreMid
enable
enable
mid

9
SeedPeerStoreHigh
enable
enable
high

10
SeedPeerStoreReserve
enable
enable
other strategy

Use case:
Priority can be passed with a --priority xxx flag through dfget command or with X-Dragonfly-Priority header through http proxy mode.
If the priority is not set with task, use the DefaultPriority which can be set in dfget.yaml

The application table adds a priority field, using the json type.


Update tests to Sepolia

Fix #573

Let's also update the rpc/test/contracts to use sepolia classes


Authentication via WorkloadIdentityFederation

Hi Kamil,
I recently implemented the publish tool for a CICD pipeline running in Azure Devops and it was very smooth. Thanks for your hard work!
I have a quick question in regards to authentication methods when implementing through Azure Devops. Currently it seems that only the service principle approach or managed service identity works - I tried setting up a service connection using Workload Identity federation and encountered this error:

Since Azure is now recommending workload identity federation are there any plans to make different authentication approaches viable? My company is trying to move away from managing service principles and having to recycle secrets.
Kind regards!

Error message (for searchability):
##[error]Unsupported authentication scheme 'WorkloadIdentityFederation' for Azure endpoint.

Hi @NowinskiK,
any progress on this?
We're having the same issue.

Hi, we are experiencing the same issue. We would love to use the recommended authentication method for it - as a workaround we reverted to a SP auth.

I hope very soonish...

Good news: I finally overcame all obstacles and errors related to the development of this feature.
Currently, it's in tests. If you want to have access to Private Preview let me know. It should be deployed in a few days.

Released in v.1.34

This feature has been reverted from ver.1.x and released in a new major version 2.0, due to backwards incompatibility of related Az.* modules. (Issue #164)


Interface hangs while making work coordinates Zero with g2core edge

CNCjs shopfloor tablet problem:
Hi Mitch, I am using latest shopfloor tablet. I noticed, while making X=0 or Y=0 or Z=0, the interface hangs with latest edge build of g2core.
CNCjs universal problem:
When limit switches (I use NC swithces on both side of each axis) operate, the console shows limit hit but doesn't generate alarm as in the case of master branch. Even if the limit hits, it lets the machine run normally. Anything you suggest trying in settings_default.h file?

Have a look at this https://github.com/synthetos/g2/issues/367 .  Down near the bottom there is a PR that fixes it.  As with all good code mods, it works by deleting one line :-).
The fact that the g2core authors have not acted on it is is evidence of the hypothesis that g2core is not high on their priority list ATM.
WRT the limit switch problem, I think there have been some changes to state logic between master and edge but I didn't study it in depth, or if I did, I don't remember the details.
When you change to a different version of g2core, it is a good idea to check the cncjs console for error reports during the initial startup sequence.  Sometimes g2core changes the names of certain json properties and then when cncjs issues a configuration command, g2core chokes on the names it no longer recognizes.  g2core does a poor job of backwards compatibility.

Thanks for the hint Mitch..


[major, blocking] push declined due to user privacy reasons

repro:

configure GH settings such that on https://github.com/settings/emails under your primary email it says something like this
Not visible in emails

This email will not be used as the 'from' address for web-based Git operations, e.g., edits and merges. We will instead use<EMAIL_ADDRESS>
I believe it's these settings:

open a PR (to do work on) via pr.new/github.com/stackblitz/docs/tree/BRANCH-NAME
docs: https://developer.stackblitz.com/codeflow/using-pr-new

make some changes

try pushing

see that it hangs forever

use CLI

observe:
~/NullVoxPopuli/ember-page-title/test-types add-types ⇡ 1s
❯ git push
To https://github.com/nullvoxpopuli/ember-page-title.git
 ! [remote rejected] add-types -> add-types (push declined due to email privacy restrictions)
error: failed to push some refs to 'https://github.com/nullvoxpopuli/ember-page-title.git'

I believe the email privacy reasons are why stackblitz doesn't push via the sync changes button

To resolve, I tried the CLI:
git config --global user.email<EMAIL_ADDRESS># but no difference occurred in git push outcome
git config user.email<EMAIL_ADDRESS># but no difference occurred in git push outcome

this tells me that the git client in stackblitz does not read any git config, and instead uses the email for oauth, making it impossible to use pr.new to make changes if you have privacy settings turned on.
In the CLI,
❯ git config -l

init.defaultBranch=main
user.name=NullVoxPopuli
<EMAIL_ADDRESS>core.repositoryformatversion=1
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/nullvoxpopuli/ember-page-title.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.promisor=true
remote.origin.partialclonefilter=blob:limit=1024
branch.add-types.github-pr-owner-number=ember-cli#ember-page-title#272
branch.add-types.remote=origin
branch.add-types.merge=refs/heads/add-types
remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
remote.upstream.url=https://github.com/ember-cli/ember-page-title.git
pull.rebase=true

oh, no my conclusion is probably the wrong, the commits made using the UI have my actual email, I need to amend them.
❯ git rebase -i HEAD~2
git: 'rebase' is not a git command. See 'git --help'.

oh no. lol
not that rebase is a new command, but why is the git version behind so far?
❯ git --version
git version 2.32.0

current is 2.43 (nov 19, https://github.com/git/git/releases/tag/v2.43.0)
but stackblitz is using 2.32.0, which is from June 2021
other techniques to try to delete commits, but keep their changes:
❯ git reset HEAD^
fatal: ambiguous argument 'HEAD^': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

however, doing
❯ git reset most-recent-sha
❯ git reset second-most-recent-sha

seems to do the trick.
Another goofiness... could/should probably be a separate issue
git commit -am"Add test-types project"
hint: Waiting for your editor to close the file...

opening an editor shouldn't happen if m is provided
And then!!!
git push succeeded. yay!
However
the UI is now out of date

so I will refresh the page

Closing in favour of https://github.com/stackblitz/webcontainer-core/issues/933.
We have an internal ticket to track this and it is on our list to fix in the coming weeks. Thanks for the report and for letting us know how important this feature is for users 🙏 !


Sprint 2 full pipeline

Changed ValidateHpoFiles function to do the following:

Run validation (old feature)
Check if all 6 main cdm tables exist and run Achilles and Achilles Heel
If Achilles and Achilles Heel run without errors, run export-to-json for curation report.

Validation test takes a long time now.

@aahladmanas this has been squashed and merged to all-of-us/site_achilles. Please base any working branches on all-of-us/site_achilles.


ubuntu-latest should point to ubuntu-20.04

Tool information

Tool name: ubuntu-latest image
Desired version: 20.04

Question, Bug, or Feature?:
Bug
Virtual environments affected

[x] Ubuntu 20.04 LTS

The ubuntu-latest alias currently points to ubuntu-18.04 and should be updated to ubuntu-20.04 to point to the latest version. https://github.com/actions/virtual-environments/issues/228#issuecomment-637362224 mentions the alias was not switched yet because of missing tools, I wonder if those have been resolved yet.

Hello @silverwind , as it is mentioned in documentation, ubuntu-20.04 is still in preview:
Note: The Ubuntu 20.04 virtual environment is currently provided as a preview only.
The ubuntu-latest YAML workflow label still uses the Ubuntu 18.04 virtual environment.

Sorry, for now I can't provide ETA when it will go out of preview but thank you for raising this point. We will discuss and return back with update.

Yeah, I'm aware. I just thought to open a tracking issue as there does not seem to be one yet 😉

Thanks for opening this issue. It happened to me that a C project was failing to compile to ubuntu-latest that is based on 18.04 atm while locally (I have 20.04) it was running fine. It would be ideal if the GitHub Action documentation points to the exact version of what ubuntu-latest means, so there is no confusion.

@drpaneas , GitHub documentation contains information about meaning ubuntu-latest tag. Please check documentation.

Closing this in favor of https://github.com/actions/virtual-environments/issues/1816 which seems to contain a plan for the switch.

Why don't just ubuntu-stable for stable (18.04 now, 20.04 later). And ubuntu-latest for latest?


bump-formula-pr: Replace hub with GH API calls

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Replace hub in bump-formula-pr with calls to GH API to fork and to open pull request.

@MikeMcQuaid Addressed comments and updated the PR.

Thanks again @GauthamGoli!


EPIC: Architecture design MFE carrier app

Design architecture for MFE carrier app for operator dashboard apps.
Requirements:

Deployable app that acts as the carrier for microfrontends
MFE's are client side only
All-in-one deployment: the deployment contains all MFEs, dependencies and import map bundled together so that app and deps can be loaded from the same webserver and there is no additional outside dependency (like a CDN)

Decisions needed:

Carrier app: only client side or client + server architecture? --> POC
Can we design the architecture such that both all-in-one deployment and dynamic loading of deps and/or MFEs from a CDN

Tasks:

[ ] POC: all-in-one deployment for Greenhouse

Superceded by #102


aya-bpf/helpers: add documentation and implement more bpf_probe_read_* wrappers

This patch adds some documentation to aya-bpf/helpers and adds documentation
for the module itself and for all of the wrappers currently defined in the module.
It also implements the rest of the bpf_probe_read_* wrappers that were missing from this
file. In the future, it probably also makes sense to add some bpf_probe_read_* wrappers
that can read directly into a map pointer, avoiding the BPF stack altogether. I'm going to
call this out of scope for this PR, but plan to submit a subsequent one that addresses
this use case.

it probably also makes sense to add some bpf_probe_read_* wrappers that can read directly into a map pointer, avoiding the BPF stack altogether. I'm going to call this out of scope for this PR, but plan to submit a subsequent one that addresses this use case.

Yes we should add wrappers that read into a user provided slice, like bpf_probe_read_user_str does.

bpf_get_current_pid_tgid

Maybe have BpfContext::current_pid_tgid() return a tuple?

@alessandrod I've addressed your comments. Let me know what you think.
Also, I was thinking it might make more sense to just export gen instead of gen::*. This would help clearly separate our wrappers from the generated helpers and also makes the documentation look much cleaner. WDYT?

🙏🙏🙏


[stable/grafana] Add annotation to PVC

Is this a request for help?: Yes
Version of Helm and Kubernetes: Kubernetes v1.9.0, Helm 2.8.2
Which chart: stable/grafana
What happened:
I'm trying to add an annotation to the Grafana storage PVC so that I can use GlusterFS on my baremetal cluster for dynamic PVC provisioning. Creating a test PVC works fine, and it seems the key is to add an annotation to the PVC.
I've tried specifying this in the values.yaml file in as many ways as I can think of, and each time I cannot get Helm to add the annotation to the generated PVC. What am I doing wrong?
Here's the relevant section of my values.yaml:
persistence:
  enabled: true
  storageClassName: gluster-heketi
  accessModes:
    - ReadWriteOnce
  size: 1Gi
  annotations: {volume.beta.kubernetes.io/storage-class: "gluster-heketi"}
  # subPath: ""
  # existingClaim:

And another format I tried:
persistence:
  enabled: true
  storageClassName: gluster-heketi
  accessModes:
    - ReadWriteOnce
  size: 1Gi
  annotations:
    - volume.beta.kubernetes.io/storage-class: "gluster-heketi"
  # subPath: ""
  # existingClaim:

I've also tried various combinations of quoting/unquoting the annotation and its value, including:

Both quoted
Both unquoted
Only the value quoted

Here is the output from kubectl get pvc -o yaml:
apiVersion: v1
items:
- apiVersion: v1
  kind: PersistentVolumeClaim
  metadata:
    creationTimestamp: 2018-05-06T23:18:38Z
    labels:
      app: inky-squid-grafana
      chart: grafana-0.6.1
      component: grafana
      heritage: Tiller
      release: inky-squid
    name: inky-squid-grafana
    namespace: default
    resourceVersion: "12433756"
    selfLink: /api/v1/namespaces/default/persistentvolumeclaims/inky-squid-grafana
    uid: ce91ebbc-5183-11e8-b6c7-000c29a604a3
  spec:
    accessModes:
    - ReadWriteOnce
    resources:
      requests:
        storage: 1Gi
  status:
    phase: Pending
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

As you might expect, the PVC hangs on "Pending" because a request is never fired off to GlusterFS.
What you expected to happen:
An annotated PVC should be created.
How to reproduce it:

Install a GlusterFS cluster
Follow GlusterFS guide to setup Gluster storage class
Follow GlusterFS guide to confirm that a test PVC works
Attempt to add volume.beta.kubernetes.io/storage-class annotation to stable/grafana values.yaml

Anything else we might need to know:
Output of kubectl get storageclass:
kubectl get storageclass
NAME             PROVISIONER               AGE
gluster-heketi   kubernetes.io/glusterfs   1h

I think the correct overrides are:
persistence:
  enabled: true
  annotations:
    volume.beta.kubernetes.io/storage-class: gluster-heketi

I see the annotation when I do helm template with the overrides from above
# Source: grafana/templates/pvc.yaml

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: RELEASE-NAME-grafana
  labels:
    app: grafana
    chart: grafana-1.3.0
    release: RELEASE-NAME
    heritage: Tiller
  annotations:
    volume.beta.kubernetes.io/storage-class: gluster-heketi

spec:
  accessModes:
    - "ReadWriteOnce"
  resources:
    requests:
      storage: "1Gi"
  storageClassName: gluster-heketi

This works using helm template but not helm install, it seems like it might be a bug. Upgrading to v2.9.0 on client and server doesn't seem to fix the issue.


Saving an Excel file on Web

I used universal_io as alternative for dart:io
and I used path package to have the join method
  static void initExcel(){
    var excel = Excel.createExcel();
    excel.rename("Sheet1", "Andrew");
    excel.encode().then((onValue) {
      File(join("excel.xlsx"))
        ..createSync(recursive: true)
        ..writeAsBytesSync(onValue);
    });
  }

The following code produces an error. I imagine it's the use of File...
Docs don't currently have any indication on how to save excels for web...

I have the same question, any information on how to export the file in flutter web?

I hope it might work for you !!
Import
import 'dart:convert';
import 'dart:html' as html;

Code
excel.encode().then((onValue) {
   final blob = html.Blob([excel bytes]);
   final url = html.Url.createObjectUrlFromBlob(blob);
   final anchor = html.document.createElement('a') as html.AnchorElement
     ..href = url
     ..style.display = 'none'
     ..download = 'excel_file_name.xlsx';
   html.document.body.children.add(anchor);

   // download the file
   anchor.click();
 });

// cleanup
// html.document.body.children.remove(anchor);
// html.Url.revokeObjectUrl(url);

Do let me know, if this works out for you ??

I hope this might work for you !!
Import
import 'dart:convert';
import 'dart:html' as html;

Code
excel.encode().then((onValue) {
   final blob = html.Blob([excel bytes]);
   final url = html.Url.createObjectUrlFromBlob(blob);
   final anchor = html.document.createElement('a') as html.AnchorElement
     ..href = url
     ..style.display = 'none'
     ..download = 'excel_file_name.xlsx';
   html.document.body.children.add(anchor);

   // download the file
   anchor.click();

   // cleanup
   // html.document.body.children.remove(anchor);
   // html.Url.revokeObjectUrl(url);
 });

Do let me know, if this works out for you ??

If it wasn't too much trouble, could you show a small example of how to convert excel to bytes?

import 'dart:convert';
import 'dart:html' as html;

thank you it worked for me....

I hope this might work for you !!
Import
import 'dart:convert';
import 'dart:html' as html;

Code
excel.encode().then((onValue) {
   final blob = html.Blob([excel bytes]);
   final url = html.Url.createObjectUrlFromBlob(blob);
   final anchor = html.document.createElement('a') as html.AnchorElement
     ..href = url
     ..style.display = 'none'
     ..download = 'excel_file_name.xlsx';
   html.document.body.children.add(anchor);

   // download the file
   anchor.click();

   // cleanup
   // html.document.body.children.remove(anchor);
   // html.Url.revokeObjectUrl(url);
 });

Do let me know, if this works out for you ??

If it wasn't too much trouble, could you show a small example of how to convert excel to bytes?

your onValue is excelBytes.

Thank you bro it worked for me....
On Sat, Dec 5, 2020, 12:44 AM Kawaljeet Singh<EMAIL_ADDRESS>wrote:

Closed #54 https://github.com/justkawal/excel/issues/54.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/justkawal/excel/issues/54#event-4074100326, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ65CBIE44J4C2AY3MIML5DSTEYJ3ANCNFSM4S5745YA
.

Thank you so much @justkawal it helps me

Thank you so much @justkawal it helps me

Anytime ✌🥳

Hi Kawal, above solution works for me while in flutter web debug mode, but when I do run flutter build web, the file extension were overwritten into txt. For example:
`excel.encode().then((onValue) {
final blob = html.Blob([excel bytes]);
final url = html.Url.createObjectUrlFromBlob(blob);
final anchor = html.document.createElement('a') as html.AnchorElement
..href = url
..style.display = 'none'
..download = 'report.xlsx';
html.document.body.children.add(anchor);
// download the file
anchor.click();
// cleanup
// html.document.body.children.remove(anchor);
// html.Url.revokeObjectUrl(url);
});`
It will create file named report.txt. While on debug mode, it successfully create file named report.xlsx.
Any clue?

Hi Kawal, above solution works for me while in flutter web debug mode, but when I do run flutter build web, the file extension were overwritten into txt. For example:
`excel.encode().then((onValue) {
final blob = html.Blob([excel bytes]);
final url = html.Url.createObjectUrlFromBlob(blob);
final anchor = html.document.createElement('a') as html.AnchorElement
..href = url
..style.display = 'none'
..download = 'report.xlsx';
html.document.body.children.add(anchor);
// download the file
anchor.click();
// cleanup
// html.document.body.children.remove(anchor);
// html.Url.revokeObjectUrl(url);
});`
It will create file named report.txt. While on debug mode, it successfully create file named report.xlsx.
Any clue?

Never mind, it seems my Chrome extension Chrono Download Manager overwrite those file extension.
It works in debug mode because the Chrome window didn't come with any extension.

Never mind, it seems my Chrome extension Chrono Download Manager overwrite those file extension.
It works in debug mode because the Chrome window didn't come with any extension.


Added get current user's playlists function

@thelinmichael Would be great to see this one merged.
Thanks

Thanks for the PR @vinialbano. In the client-side JS wrapper I did this in a slightly different way https://github.com/JMPerez/spotify-web-api-js/blob/master/src/spotify-web-api.js#L597
To be honest, both approaches are equally good, though I was wondering whether we want to keep consistency between both projects.

Better late than never, I hope! @vinialbano, thanks for sending this PR! I've merged #69 which is the same functionality but with a different method signature. We've kept the JS and the Node clients the same for all other methods.


Call out instructions for GKE autopilot

Tried installing today.
Node Exporter does not deploy:
{
  "[denied by autogke-disallow-hostnamespaces]": [
    "enabling hostPID is not allowed in Autopilot.",
    "enabling hostNetwork is not allowed in Autopilot."
  ],
  "[denied by autogke-no-host-port]": [
    "container node-exporter specifies host ports [9100], which are disallowed in Autopilot."
  ],
  "[denied by autogke-no-write-mode-hostpath]": [
    "hostPath volume proc used in container node-exporter uses path /proc which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].",
    "hostPath volume sys used in container node-exporter uses path /sys which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].",
    "hostPath volume root used in container node-exporter uses path / which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."
  ]
}

+1
Failures I see are similar
"grafana" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "grafana" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "grafana-k8s-monitoring" does not exist. Installing it now.
W1003 07:39:30.640711    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated DaemonSet default/grafana-k8s-monitoring-grafana-agent-logs: defaulted unspecified resources for containers [grafana-agent, config-reloader] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.640806    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated DaemonSet default/grafana-k8s-monitoring-prometheus-node-exporter: defaulted unspecified resources for containers [node-exporter] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.739594    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated Deployment default/grafana-k8s-monitoring-kube-state-metrics: defaulted unspecified resources for containers [kube-state-metrics] (see http://g.co/gke/autopilot-defaults)
W1003 07:39:30.741597    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated Deployment default/grafana-k8s-monitoring-opencost: adjusted resources to meet requirements for containers [grafana-k8s-monitoring-opencost] (see http://g.co/gke/autopilot-resources)
W1003 07:39:30.846097    2068 warnings.go:70] autopilot-default-resources-mutator:Autopilot updated StatefulSet default/grafana-k8s-monitoring-grafana-agent: defaulted unspecified resources for containers [grafana-agent, config-reloader] (see http://g.co/gke/autopilot-defaults)
Error: 2 errors occurred:
	* admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-no-write-mode-hostpath]":["hostPath volume dockercontainers used in container grafana-agent uses path /var/lib/docker/containers which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]}
Requested by user: '(email)', groups: 'system:authenticated'.
	* admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-disallow-hostnamespaces]":["enabling hostNetwork is not allowed in Autopilot.","enabling hostPID is not allowed in Autopilot."],"[denied by autogke-no-host-port]":["container node-exporter specifies host ports [9100], which are disallowed in Autopilot."],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume proc used in container node-exporter uses path /proc which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume sys used in container node-exporter uses path /sys which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume root used in container node-exporter uses path / which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]}
Requested by user: '(email)', groups: 'system:authenticated'.

some related discussions in a 3rd party repo that might be of interest:
https://github.com/lensapp/lens/issues/7126


Lag disabled when DT shifted ticks

Fedoraware's chams did not render any of my fake lag chams when i have my DT shifting ticks

Ok?

How to fix it?

What is there to fix?

I can't see my fakelag chams if i set the DT To 22

I don't understand what your issue is

You can't fakelag while shifting ticks, retain fakelag ONLY works if you have space (delta between your ticks and 22) and will only allow you to fakelag until that space is filled.


Auth options for -m screen & diff

url, login, path in options and login logic in selenium set up code

#6


feat(TXs Implementation): complete Stock TXs implementation on WEB-2

What?
WEB 2 cover  of TXs implementations of vmimo/test-refactor-methods
Why?
These changes complete the TXs on WEB-3
Screenshots (optional)

@victormimo please merge this PR first before #53


Adds simple healthcheck

Adds a simple healthcheck endpoint at each of the ports that is allowed through the SignifyTS header check.
This is not a fully involved healthcheck that has useful statistics on the Habery, Habs, or other things related to the witness. That would be cool and will happen in a future evolution of the healthcheck. This endpoint is just to support a simple runtime status reporting that the application is running.
This is useful for Kubernetes readinessProbes and livenessProbes.

Addresses #565

I believe you intend this for witnesses and I don't think its necessary.  Why not just use the blind OOBI?

I don't yet know how to use the blind OOBI. How would I use that? Is it just a GET to https://witness_host:port/oobi?
What I'm wanting is something that Kubernetes can call without knowing anything particular about an AID. I see the OOBIEnd.on_get and it looks like it would work for a healthcheck. Will the default AID always be set for a witness as shown below? If so then this would work as a healthcheck.
class OOBIEnd:
        def __init__(self, hby: habbing.Habery, default=None):
        """ ...
            default (str) qb64 AID of the 'self' of the node for
        """
        self.hby = hby
        self.default = default

    def on_get(self, req, rep, aid=None, role=None, eid=None):
        if aid is None:
            if self.default is None:
                rep.status = falcon.HTTP_NOT_FOUND
                rep.text = "no blind oobi for this node"
                return

            aid = self.default
    ...

As discussed on 12/14 closing.
Thanks @kentbull !


TP, FP, FN

hi, I'm using mask rcnn. How can I get the total TP, FP, FN in every epoch's validate when I training it. thanks

You need to read the source code of evaluate function of CocoDataset.  https://github.com/open-mmlab/mmdetection/blob/a7a16afbf2a4bdb4d023094da73d325cb864838b/mmdet/datasets/coco.py#L513

Feel free to reopen the issue if there is any question.


Upgrade govuk-frontend

Other than the alpha button changing style a bit, I don't notice any behavioral changes.
You'll need to npm i; npm run setup-govuk locally after this is in
Full changelog in https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md. I skimmed through and didn't spot anything that should affect us

Two tests broke, so not ready for review yet

Alright, should be good now. For checkboxes, the Playwright locator directives are a little different with new govuk. I've never been super clear on the difference between these selectors.


Issue new release tag

While the build error for DUB is fixed in master, it's not in the tagged version for DUB.

Hi! I'll check it out tonight. In the meantime, can you provide more details?
Cheers!

Sure, sorry for the short notice. I just came across your nice tool and wanted to install it via dub dub fetch  avgtime && dub run avgtime which yields an already fixed error. However building directly worked fine, so all you need to do is to add a new git tag

Simply create a tag (git tag v0.5.1) and push it to your repo (git push origin v0.5.1), then dub will update the latest available version after some time. You can also login to code.dlang.org and click trigger manual update on http://code.dlang.org/my_packages/avgtime.


Add custom message to queue page

This PR lets queue staff write custom Markdown-formatted messages that will be visible to students. These messages can be toggled on and off, and messages are synced in real time across all clients.
Staff view:

Student view:

Fixes #147

This is amazing!


Use apt-cacher-ng to speed up the initialization

Just ideas, but usually users will install some libraries based on their own needs.
For me they are so many that each compute node sometimes requires ~30min to initialize.

sorry, only on ubuntu

I'm sorry, I don't quite understand the issue. Could you explain what issue you are experiencing or feature request you are requesting?

apt-cacher-ng provides a proxy for apt-get. If you set it up on MasterServer and points ComputeFleet to use the proxy provided by MasterServer, it would improve the spin up time of ComputeFleet because generally the distance between the nodes (all placed in the same availability zone) is shorter than the distance to aws-provided apt server (e.g. http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/).
I tested this and it works fine.
https://github.com/guicho271828/torque-utils/blob/master/setup/post_install.sh#L31
but this implementation is not ideal. Since it is in the post_install script, it does not cache the default apt packages installed by cfncluste in here (although the effect may be negligeble)

The Ubuntu repositories are hosted in the same region as the instances, so
there should be no difference.
Thanks for the example and I think right now, it's probably best as a
customer specific post_install.
On Wednesday, June 1, 2016, Masataro Asai<EMAIL_ADDRESS>wrote:

apt-cacher-ng provides a proxy for apt-get. If you set it up on
MasterServer and points ComputeFleet to use the proxy provided by
MasterServer, it would improve the spin up time of ComputeFleet because
generally the distance between the nodes (all placed in the same
availability zone) is shorter than the distance to aws-provided apt server
(e.g. http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/).
I tested this and it works fine.
https://github.com/guicho271828/torque-utils/blob/master/setup/post_install.sh#L31
but this implementation is not ideal. Since it is in the post_install
script, it does not cache the default apt packages installed by cfncluste
in here
https://github.com/awslabs/cfncluster-cookbook/blob/dd56aa7758a26377444062396c9043645cfa9d94/packer_ubuntu1404.json#L66
(although the effect may be negligeble)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/cfncluster/issues/108#issuecomment-223174816,
or mute the thread
https://github.com/notifications/unsubscribe/ACUVinn7smy_ZSOui-9UvQ2HVZ2l51dkks5qHjaVgaJpZM4IpPFB
.

no, although they are hosted in the same region e.g. us-east-1, they may not be hotsted in the same availability zone e.g. us-east-1a, us-east-1b, us-east-1c. Distance to the nodes in a different availability zone is larger than within the same zone. Also, MasterServer and ComputeFleet are hosted within few hops, so the connection is much faster.
I measured the ping response time and the number of hops between us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com and masterserver, and those between masterserver and computefleet. (I didn't try the transfer rate, but I should in future.) Below is the result. So the connection between master and compute is much faster than between nodes and the shared repository.

route
ping latency
hops

compute-awsrepo
~81msec
>30

compute-master
~0.47msec
1

ubuntu@ip-172-31-18-55:~⟫ ping us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com
PING s3-1-w.amazonaws.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=1 ttl=38 time=84.2 ms
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=2 ttl=38 time=84.4 ms
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=3 ttl=38 time=84.6 ms
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=4 ttl=38 time=84.4 ms
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=5 ttl=38 time=76.1 ms
64 bytes from s3-1-w.amazonaws.com (<IP_ADDRESS>): icmp_seq=6 ttl=38 time=76.1 ms
^C
--- s3-1-w.amazonaws.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5002ms
rtt min/avg/max/mdev = 76.113/81.666/84.654/3.929 ms
130 ubuntu@ip-172-31-18-55:~⟫ ping ip-172-31-21-107.us-west-2.compute.internal
PING ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.383 ms
64 bytes from ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.474 ms
64 bytes from ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>): icmp_seq=3 ttl=64 time=0.533 ms
64 bytes from ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>): icmp_seq=4 ttl=64 time=0.504 ms
64 bytes from ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>): icmp_seq=5 ttl=64 time=0.490 ms
^C
--- ip-172-31-21-107.us-west-2.compute.internal ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.383/0.476/0.533/0.057 ms

ubuntu@ip-172-31-18-55:~⟫ traceroute us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com
traceroute to us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com (<IP_ADDRESS>), 30 hops max, 60 byte packets
 1  ec2-50-112-0-102.us-west-2.compute.amazonaws.com (<IP_ADDRESS>)  1.408 ms  1.437 ms  1.441 ms
 2  <IP_ADDRESS> (<IP_ADDRESS>)  1.035 ms <IP_ADDRESS> (<IP_ADDRESS>)  1.224 ms <IP_ADDRESS> (<IP_ADDRESS>)  1.399 ms
 3  <IP_ADDRESS> (<IP_ADDRESS>)  1.421 ms <IP_ADDRESS> (<IP_ADDRESS>)  1.481 ms <IP_ADDRESS> (<IP_ADDRESS>)  1.291 ms
 4  <IP_ADDRESS> (<IP_ADDRESS>)  0.600 ms <IP_ADDRESS> (<IP_ADDRESS>)  0.679 ms <IP_ADDRESS> (<IP_ADDRESS>)  0.681 ms
 5  <IP_ADDRESS> (<IP_ADDRESS>)  92.072 ms  92.084 ms <IP_ADDRESS> (<IP_ADDRESS>)  84.119 ms
 6  <IP_ADDRESS> (<IP_ADDRESS>)  78.424 ms <IP_ADDRESS> (<IP_ADDRESS>)  81.574 ms <IP_ADDRESS> (<IP_ADDRESS>)  81.850 ms
 7  <IP_ADDRESS> (<IP_ADDRESS>)  87.720 ms <IP_ADDRESS> (<IP_ADDRESS>)  92.041 ms <IP_ADDRESS> (<IP_ADDRESS>)  84.363 ms
 8  <IP_ADDRESS> (<IP_ADDRESS>)  92.906 ms <IP_ADDRESS> (<IP_ADDRESS>)  102.809 ms <IP_ADDRESS> (<IP_ADDRESS>)  95.651 ms
 9  <IP_ADDRESS> (<IP_ADDRESS>)  84.438 ms <IP_ADDRESS> (<IP_ADDRESS>)  84.263 ms <IP_ADDRESS> (<IP_ADDRESS>)  96.361 ms
10  <IP_ADDRESS> (<IP_ADDRESS>)  84.344 ms <IP_ADDRESS> (<IP_ADDRESS>)  87.523 ms <IP_ADDRESS> (<IP_ADDRESS>)  95.722 ms
11  <IP_ADDRESS> (<IP_ADDRESS>)  68.764 ms <IP_ADDRESS> (<IP_ADDRESS>)  99.763 ms <IP_ADDRESS> (<IP_ADDRESS>)  68.702 ms
12  <IP_ADDRESS> (<IP_ADDRESS>)  98.731 ms <IP_ADDRESS> (<IP_ADDRESS>)  97.174 ms <IP_ADDRESS> (<IP_ADDRESS>)  99.760 ms
13  <IP_ADDRESS> (<IP_ADDRESS>)  85.071 ms <IP_ADDRESS> (<IP_ADDRESS>)  85.256 ms <IP_ADDRESS> (<IP_ADDRESS>)  91.464 ms
14  <IP_ADDRESS> (<IP_ADDRESS>)  100.499 ms <IP_ADDRESS> (<IP_ADDRESS>)  92.024 ms <IP_ADDRESS> (<IP_ADDRESS>)  92.629 ms
15  <IP_ADDRESS> (<IP_ADDRESS>)  96.646 ms <IP_ADDRESS> (<IP_ADDRESS>)  107.862 ms <IP_ADDRESS> (<IP_ADDRESS>)  99.817 ms
16  * * *
17  * * *
18  * * *
19  * * *
20  <IP_ADDRESS> (<IP_ADDRESS>)  92.776 ms <IP_ADDRESS> (<IP_ADDRESS>)  100.326 ms <IP_ADDRESS> (<IP_ADDRESS>)  101.046 ms
21  * * *
22  * <IP_ADDRESS> (<IP_ADDRESS>)  85.842 ms *
23  * * <IP_ADDRESS> (<IP_ADDRESS>)  70.765 ms
24  <IP_ADDRESS> (<IP_ADDRESS>)  84.562 ms * <IP_ADDRESS> (<IP_ADDRESS>)  88.447 ms
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
ubuntu@ip-172-31-18-55:~⟫ traceroute ip-172-31-21-107.us-west-2.compute.internal
traceroute to ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>), 30 hops max, 60 byte packets
 1  ip-172-31-21-107.us-west-2.compute.internal (<IP_ADDRESS>)  0.634 ms  0.767 ms  0.791 ms

The CfnCluster team tries to minimize the amount of AMI customization we do, as it greatly adds to our development and support costs.  This feature, while interesting, isn't something that we're going to implement, since connectivity cross-AZ is generally very good and it's unclear that the change would noticeably change startup times.


Use file-like file type recognition instead of file extension

When publishing to LBRY with ./lbrynet publish, it detects the file type by the file extension, which can lead to errors, like if a file has the wrong extension or there is no extension. Instead it should use a Unix file (https://en.wikipedia.org/wiki/File_(command)) like approach.
Reproduction

Copy lbrynet binary to an empty directory.
cp lbrynet example.md
file example.md

example.md: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=277dc5acf4d7b9140218325bbc133b79cd3c998e, for GNU/Linux 2.6.32, stripped

./lbrynet publish --name=upload-for-bug-report --bid=0.001 --file_name=example.md

Output
...
"value": {
        "source": {
          "media_type": "text/markdown",
          "name": "example.md"
        },
...

Expected output
...
"value": {
        "source": {
          "media_type": "application/octet-stream",
          "name": "example.md"
        },
...

Version
$ ./lbrynet --version
lbrynet 0.106.0

Edit: Updated instructions to be more clear and tested on lbrynet v0.106.0

You are right, the current code essentially guesses the file type when the claim is created.
https://github.com/lbryio/lbry-sdk/blob/d19e07d66101c4e3ac9c0cb9030a6eb098cd51a1/lbry/schema/claim.py#L236-L241
The media types are defined here:
https://github.com/lbryio/lbry-sdk/blob/master/lbry/schema/mime_types.py

Hi. I would like to take this one as a "good first issue".
There is a number of libraries which can detect filetype by its content, mainly:
https://github.com/h2non/filetype.py which is a pure-python implmentation
and
https://github.com/ahupp/python-magic which is a binding to the libmagic, the same library which the mentioned file command uses.
Q: I would like to know what is the general approach in lbry regarding external dependencies (expecially native bindings vs pure-python implementations in this case).
Cheers!

Q: I would like to know what is the general approach in lbry regarding external dependencies (expecially native bindings vs pure-python implementations in this case).

I think if you use a pure Python library it's better. Just write your solution and submit it, then it will be reviewed.


Syncplay not starting on ubuntu

Compiled syncplay on ubuntu 14.04 64bit. it shows the app in the program menu but starting it does nothing. Tried lanuching it in terminal but it says
arun@arun-HP-ProBook-6560b:~$ syncplay Could not import GUI libraries. If you do not have PySide installed then you will need to install it for the GUI to work. Hostname can't be empty! Some necessary arguments are missing, refer to --help
With the help from some kind people from IRC, i also tried this:
python -c 'import PySide' and python3 -c 'import PySide'
output: Traceback (most recent call last):
File "", line 1, in
ImportError: No module named PySide
python -c 'import PySide'
output same as the one above
python -c 'import sys; print sys.path'
output:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages']
locate libpyside-python
output:
/usr/lib/x86_64-linux-gnu/libpyside-python2.7.so.1.2
/usr/lib/x86_64-linux-gnu/libpyside-python2.7.so.1.2.1
fixing python path?
export PYTHONPATH=$PYTHONPATH:/usr/lib/x86_64-linux-gnu/
did not work.

just going to reinstlal the distro, rip

Found myself having the same issue now almost 2 years later on Xubuntu 16.04 and found my own closed issue, heh. Well i just had to do "sudo apt-get install python-pyside" and it worked! I checked the software requirements at the apps website http://syncplay.pl/guide/install/ .


Request to enhance Welcome page grouping

When the number of RepositoryNode on the Welcome page exceeds one page, the RepositoryNode in the group cannot be moved to the root node. Maybe you can consider adding padding to the ListBox, or handle dragging outside the ListBox, or add the parent node option to the RepositoryNode edit popup.

In fact, you can move a child node from group to root by simply drop on the front of its icon, for example:
https://github.com/user-attachments/assets/7f8c9c3e-79bf-4049-8166-e8d1711a5ec7

I discovered that it can only be dragged in front of a child node, not in front of the other root nodes. . .

a context menu item has been added to help users moving repository nodes.

a context menu item has been added to help users moving repository nodes.

It seems good to me.


Android.mk:head_pose_det: non-system libraries in linker flags: -latomic

Hi, when i run %NDK_PATH%\ndk-build.cmd into "jni" folder , i get this error. Anyone can help me ?
C:\Users\android-hpe-library-master\android-hpe-library-master\jni>%NDK_PATH%\ndk-build.cmd Android NDK: WARNING:C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/jni/Android.mk:head_pose_det: non-system libraries in linker flags: -latomic Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK:     current module Android NDK: WARNING:C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/jni/Android.mk:head_pose_det: non-system libraries in linker flags: -latomic Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK:     current module [armeabi-v7a] Compile++ arm  : head_pose_det <= jni_head_pose_det.cpp [armeabi-v7a] Compile++ arm  : head_pose_det <= imageutils_jni.cpp [armeabi-v7a] Compile++ arm  : head_pose_det <= rgb2yuv.cpp [armeabi-v7a] Compile++ arm  : head_pose_det <= yuv2rgb.cpp [armeabi-v7a] Compile++ arm  : head_pose_det <= bitmap2mat2bitmap.cpp [armeabi-v7a] Compile++ thumb: dlib <= threads_kernel_shared.cpp [armeabi-v7a] Compile++ thumb: dlib <= entropy_decoder_kernel_2.cpp [armeabi-v7a] Compile++ thumb: dlib <= base64_kernel_1.cpp [armeabi-v7a] Compile++ thumb: dlib <= threads_kernel_1.cpp [armeabi-v7a] Compile++ thumb: dlib <= threads_kernel_2.cpp [armeabi-v7a] StaticLibrary  : libdlib.a [armeabi-v7a] Compile++ thumb: miniglog <= logging.cc [armeabi-v7a] StaticLibrary  : libminiglog.a [armeabi-v7a] SharedLibrary  : libhead_pose_det.so C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/libopencv_calib3d.a(fundam.cpp.o):fundam.cpp:function _GLOBAL__sub_I_fundam.cpp: error: undefined reference to 'std::ios_base::Init::Init()' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/libopencv_calib3d.a(fundam.cpp.o):fundam.cpp:function _GLOBAL__sub_I_fundam.cpp: error: undefined reference to 'std::ios_base::Init::~Init()' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/libopencv_calib3d.a(rho.cpp.o):rho.cpp:function std::vector<unsigned int, std::allocator<unsigned int> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, unsigned int, unsigned int const&): error: undefined reference to 'std::__throw_length_error(char const*)' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/libopencv_calib3d.a(solvepnp.cpp.o):solvepnp.cpp:function std::vector<cv::Point3_<double>, std::allocator<cv::Point3_<double> > >::_M_fill_insert(__gnu_cxx::__normal_iterator<cv::Point3_<double>*, std::vector<cv::Point3_<double>, std::allocator<cv::Point3_<double> > > >, unsigned int, cv::Point3_<double> const&): error: undefined reference to 'std::__throw_length_error(char const*)' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../libs/armeabi-v7a/libopencv_calib3d.a(solvepnp.cpp.o):solvepnp.cpp:function std::vector<cv::Point_<double>, std::allocator<cv::Point_<double> > >::_M_fill_insert(__gnu_cxx::__normal_iterator<cv::Point_<double>*, std::vector<cv::Point_<double>, std::allocator<cv::Point_<double> > > >, unsigned int, cv::Point_<double> const&): error: undefined reference to 'std::__throw_length_error(char const*)' tbb::internal::throw_exception_v4(tbb::internal::exception_id): error: undefined reference to 'std::invalid_argument::invalid_argument(std::string const&)' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../3rdparty/libs/armeabi-v7a/libtbb.a(tbb_misc.cpp.o):tbb_misc.cpp:function tbb::internal::throw_exception_v4(tbb::internal::exception_id): error: undefined reference to 'std::range_error::range_error(std::string const&)' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../3rdparty/libs/armeabi-v7a/libtbb.a(tbb_misc.cpp.o):tbb_misc.cpp:function tbb::internal::throw_exception_v4(tbb::internal::exception_id): error: undefined reference to 'std::range_error::range_error(std::string const&)' C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/third_party/OpenCV-android-sdk/sdk/native/jni/../3rdparty/libs/armeabi-v7a/libtbb.a(tbb_misc.cpp.o):tbb_misc.cpp:function tbb::internal::throw_exception_v4(tbb::internal::exception_id): error: undefined reference to 'std::invalid_argument::invalid_argument(std::string const&)' clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [G:/IT/AndroidStudioSdk/AndroidStudio/ndk/21.0.6113669/build//../build/core/build-binary.mk:725: C:/Users/Mohammad/Downloads/android-hpe-library-master/android-hpe-library-master/obj/local/armeabi-v7a/libhead_pose_det.so] Error 1

Hello, please refer to this https://github.com/beraldofilippo/android-hpe-library/issues/2. It is likely that recent tools have breaking changes and it is not possible to build with those.


Object detection model error

When running Object Detector consumer, we found there is an error that the API could now return the detected objects. It may be there is some delay for porters to move frames to S3, but we will wait for at most 15 seconds, and it could not be that long. So what's the problem here?

Currently, the problem is because of AWS API gateway's request limit.


Incorrect task count on dashboard

I have a few projects on dashboard with few tasks every. There are also few closed tasks in 'Done' column, but they are not counted in dashboard 'My Projects' -> 'Columns' summary (they are counted in project summary).

Only open tasks are displayed/counted on the dashboard. This is the expected behavior.

Ok. Thanks for answer ;)


Collect review for cookiecutter and new deployment

Description
Cookiecutter generates a new PyWPS service using a simplified deployment just relying on Werkzeug and Conda. A system installation can be done using Ansible. We need to see if users accept it :)

There seems to be a way to run the playbook in a virtualenv: https://stackoverflow.com/questions/20040141/ansible-command-from-inside-virtualenv
Is this something we want to support ?

In http://ansible-wps-playbook.readthedocs.io/en/latest/testing.html#docker
Where is the demo/ folder ?

Otherwise the docker install works like a charm.

@huard Thanks for review :)
I have cleaned up the docs (there is no demo) and added become: yes to the playbook.
The virtualenv would be an alternative to a conda env?
The idea of the Ansible playbook is to install the PyWPS app with dependencies in a Conda environment. Ansible, miniconda, nginx, supervisor, ... are installed in the system. Unlike with the buildout set-up  "sudo" privileges are required. But the birds can still be used without Ansible for demo and development with the familiar "make clean install start" step, just relying on Conda and Werkzeug.

Wow that retroaction loop is tight. Love to see that, great work both of you.

I meant conda env, not virtualenv. Sorry.
I also tried to make install and that still works fine.
Got it, so really geared toward containerization. Makes sense.
I know nothing about ansible, but is it good practice to set member:true to the whole playbook or it should split between system and user content ? Again, maybe irrelevant for docker.

The current ansible playbook is only meant for system installation. I haven't realy perpared a new docker deployment. Since we want to have micro-services and I can (hopefully) rely on configurable existing containers for nginx and postgres I might not need Ansible for a pywps container. I could just use a jinja template and an entrypoint.sh script to make it configurable.

There is a templates/ directory that is created in the bird with cookiecutter language. Is that expected ?
Changing the default.cfg for the server url does not seem to affect the babybird client. If I change the url, it does not get picked up by the get_host function in cli.py.

including a general link to the birdhouse Doc Top level ( https://birdhouse.readthedocs.io/en/latest/index.html )

include a user_guide section with birdy command and python syntax

done.


Update CONTRIBUTING.md + FAQ.md: small misprints

Fixed two small misprints.

Before: ‘You can check other issues to see how is being done!‘
After: ‘You can check other issues to see how it's being done!

Before: ‘I would say "simplicity" and "enjoyment" at a really low level of coding but actually is up to the user to discover it, to try it and to see if it fits their needs.’
After: ‘I would say "simplicity" and "enjoyment" at a really low level of coding but actually it is up to the user to discover it, to try it and to see if it fits their needs.’

(I suspect these errors are tied to how Spanish can work with implicit pronouns, by the way. ;))

@Mossieur-Patate Thanks for the reviews!


HttpClientConfigurableHttpConnectionFactory::getUrlWithPlaceholders incorrect behavior when hostname contains placeholder value

Describe the bug
Version: 2022.0.2
Observed behavior: we are moving our repositories to a different bitbucket server. This new bitbucket server is behind a proxy while the old one was not. We've noticed that requests for specific configurations result in http failures when the config-server is trying to access the repo.
Analysis:
We have a git url configured like this:
uri: 'https://foo.bar.com/config/{application}-config.git'

Now, when requesting a config for an application named bar, the HttpClientConfigurableHttpConnectionFactory will fail to find a builder, resulting in execution of the else branch here: https://github.com/spring-cloud/spring-cloud-config/blob/0a3636720840f4b2a88c5fcf07d62c457326e8a9/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/HttpClientConfigurableHttpConnectionFactory.java#L71-L82 This, in turn, will not use proxy settings, which in our scenario will result in failed http calls to the repo.
It looks like the failure to resolve the HttpClientBuilder is due to the logic in getUrlWithPlaceholders here: https://github.com/spring-cloud/spring-cloud-config/blob/0a3636720840f4b2a88c5fcf07d62c457326e8a9/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/HttpClientConfigurableHttpConnectionFactory.java#L134-L149 In this scenario, this will return a spec like https://foo.{application}.com/config/{application}-config.git, because spec.replace(...) will replace every occurrence.
A possible fix would be to only replace the last match of the placeholder instead of all.
Any suggestions for a workaround?

I've found a workaround for the issue: by using pattern matching in the configuration I can "force" the right url. Following the earlier example, the config with workaround:
uri: 'https://foo.bar.com/config/{application}-config.git'
repos:
  bar-workaround:
    pattern: bar/*
    uri: 'https://foo.bar.com/config/bar-config.git'

This will introduce another HttpClientBuilder which doesn't have placeholders, so it will be a direct match and the correct builder will be used.
It's pretty fragile as the users of this configserver deployment could at any time introduce a new repository which will trigger this bug again, but for now I'm unblocked.


nixos/hidpi: add xserver dpi

Motivation for this change
Addresses a TODO comment. More importantly, this should improve NixOS's out-of-the-box experience.
Some additions we may want to consider:
{
  services.xserver.displayManager.sessionCommands = ''
    ${pkgs.xorg.xrdb}/bin/xrdb -merge <<EOF
      Xcursor.theme: Vanilla-DMZ
      Xcursor.size: 32
    EOF
  '';
  environment.variables = {
    GDK_SCALE = "1.5";
    GDK_DPI_SCALE = "0.75";
    QT_AUTO_SCREEN_SCALE_FACTOR = "1";
  };
}

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

FYI, this doesn't really improve NixOS out-of-the-box experience. I just spent 1 hour figuring out why all UI widgets suddenly became oversized on my external screen after an update. The solution? Remove incorrect hardcoded DPI setting:
  services.xserver.dpi = null;

i'll revert it.


DNS entries for “proto” instance requested by Juan

Here are the DNS entries we need to create:
assets-proto.dev
ingest-proto.dev
workspaces-api-proto.dev
workspaces-ws-proto.dev
workspaces-pt-proto.dev

Once those are in place, Juan will tell PSC to generate the certs.

Update
here is what we have now for the sake of consistency, a bit different from what proposed earlier:
assets-proto.dev.hubmapconsortium.org               CNAME to hivevm198.psc.edu
ingest-api-proto.dev.hubmapconsortium.org           CNAME to hivevm198.psc.edu
workspaces-pt-proto.dev.hubmapconsortium.org        CNAME to hivevm198.psc.edu
ws-workspaces-api-proto.dev.hubmapconsortium.org    CNAME to hivevm198.psc.edu
workspaces-api-proto.dev.hubmapconsortium.org (the REST API goes through AWS API Gateway) with SSL cert that I already generated (no need for PSC to generate the cert), requests get proxied to http://hivevm198.psc.edu:5050/ eventually.

Due to the sub auth requests made from assets-proto.dev and ingest-api-proto.dev (on hivevm198.psc.edu) to the gateway auth https://gateway.dev.hubmapconsortium.org:8443/, as well as the routing for workspaces-api-proto.dev.hubmapconsortium.org, Shane (he did that for me previously) will need to add the PSC firewall rules to allow the following in addition to the regular 80/443

traffic to/from Elastic IP <IP_ADDRESS> on port 8443 (the AWS DEV VM that runs the gateway auth, separate from the AWS API Gateway service)
open port 5050 on hivevm198.psc.edu for gateway nginx <IP_ADDRESS> to proxy workspaces-api-proto.dev.hubmapconsortium.org


[BUG] Can't access remotely OpenShift Local (CRC) running on Win11 from rhel9 VM

General information

OS: Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop

CRC version
CRC version: 2.10.1+7e7f6b2d
OpenShift version: 4.11.7
Podman version: 4.2.0

CRC status
DEBU CRC version: 2.10.1+7e7f6b2d
DEBU OpenShift version: 4.11.7
DEBU Podman version: 4.2.0
DEBU Running 'crc status'
DEBU Checking file: C:\Users\andrefe\.crc\machines\crc\.crc-exist
DEBU Checking file: C:\Users\andrefe\.crc\machines\crc\.crc-exist
DEBU Running 'Hyper-V\Get-VM crc | Select-Object -ExpandProperty State'
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [C:\Users\andrefe\.crc\machines\crc\id_ecdsa C:\Users\andrefe\.crc\cache\crc_hyperv_4.11.7_amd64\id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output:<PHONE_NUMBER>6<PHONE_NUMBER>2 /sysroot
CRC VM:          Running
OpenShift:       Running (v4.11.7)
Podman:
Disk Usage:      16.66GB of 32.74GB (Inside the CRC VM)
Cache Usage:     18.06GB
Cache Directory: C:\Users\andrefe\.crc\cache

CRC config
- consent-telemetry                     : no

Host Operating System
Host Name:                 DESKTOP-HGKVRBI
OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          N/A
Registered Organization:   N/A
Product ID:                00330-80000-00000-AA876
Original Install Date:     05/10/2022, 22:53:24
System Boot Time:          29/10/2022, 10:42:33
System Manufacturer:       Microsoft Corporation
System Model:              Surface Book 3
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 126 Stepping 5 GenuineIntel ~1298 Mhz
BIOS Version:              Microsoft Corporation 15.11.140, 08/07/2022
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-gb;English (United Kingdom)
Input Locale:              pt;Portuguese (Portugal)
Time Zone:                 (UTC+00:00) Dublin, Edinburgh, Lisbon, London
Total Physical Memory:     32,353 MB
Available Physical Memory: 22,333 MB
Virtual Memory: Max Size:  32,353 MB
Virtual Memory: Available: 20,704 MB
Virtual Memory: In Use:    11,649 MB
Page File Location(s):     N/A
Domain:                    WORKGROUP
Logon Server:              \\DESKTOP-HGKVRBI
Hotfix(s):                 3 Hotfix(s) Installed.
                           [01]: KB5017271
                           [02]: KB5018427
                           [03]: KB5017233
Network Card(s):           10 NIC(s) Installed.
                           [01]: Fortinet Virtual Ethernet Adapter (NDIS 6.30)
                                 Connection Name: Ethernet 3
                                 Status:          Media disconnected
                           [02]: Fortinet SSL VPN Virtual Ethernet Adapter
                                 Connection Name: Ethernet 4
                                 Status:          Media disconnected
                           [03]: Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64
                                 Connection Name: Ethernet 5
                                 Status:          Hardware not present
                           [04]: VirtualBox Host-Only Ethernet Adapter
                                 Connection Name: VirtualBox Host-Only Network
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::1e52:1e1a:881:3279
                           [05]: Wintun Userspace Tunnel
                                 Connection Name: OpenVPN Wintun
                                 Status:          Media disconnected
                           [06]: TAP-Windows Adapter V9
                                 Connection Name: Local Area Connection 2
                                 Status:          Media disconnected
                           [07]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: WiFi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                           [08]: VMware Virtual Ethernet Adapter for VMnet1
                                 Connection Name: VMware Network Adapter VMnet1
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::779a:433d:2dfb:22c2
                           [09]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [10]: VMware Virtual Ethernet Adapter for VMnet8
                                 Connection Name: VMware Network Adapter VMnet8
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::11cb:1fa0:6150:b729
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

Setup CRC on win11
Add rule in firewall to allow connections
Create port forwarding rule to send connections to <IP_ADDRESS>:6443 where CRC is running
netsh interface portproxy add v4tov4 listenaddress=<IP_ADDRESS> listenport=9001 connectaddress=<IP_ADDRESS> connectport=6443
From the VM:
oc login -u developer -p developer https://<IP_ADDRESS>:9001

Expected
Remote access to OpenShift
Actual
[test@workstation ~]$ oc login -u developer -p developer https://<IP_ADDRESS>:9001
The server is using a certificate that does not match its hostname: x509: certificate is valid for <IP_ADDRESS>, not <IP_ADDRESS>
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
Error from server (InternalError): Internal error occurred: unexpected response: 412
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.
https://gist.github.com/aocferreira/dfddb62a21dc3e2d001619cc7090d5e2

Why do you use <IP_ADDRESS> ?
IIRC, that the Hyper-V virtual switches have forwarding disabled out of the box. This is also the reason why you are not able to connect from WSL to a VM.
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled

Might this be the reason?

rom the VM:

the VM is running on the same host, connected to the Virtual Switch (Default Switch), right?

Sorry, i should have said that on this setup I have the VM running on VMware workstation.
is it a problem connecting with CRC assuming its running on hyperV?

I am now very unclear of your setup.
You are running a nested virtualization setup, or is VMware running alongside of Hyper-V? I hope you understand that this kind of setup is not something we test. We can not reproduce anything involving VMware, so in that case you are responsible for your network configuration and settings. Perhaps someone in the community might be able to help.

Hi @gbraad
VMware was running alongside Hyper-V, but I will test now to have my VM also running on HyperV together with 'crc' VM.. You are saying this setup should work?
However i was checking and it seems this VM doesn't have external IP/network adapter and resolves only to <IP_ADDRESS> ... how should I be able to connect vrom my VM to CRC?
Any article that i can follow?
thanks.

i have now both VMs runing in HyperV and both of them connected to default Switch.
Connectivity is working between them.
[test@localhost ~]$ oc login -u developer -p developer https://<IP_ADDRESS>:6443
The server is using a certificate that does not match its hostname: x509: certificate is valid for <IP_ADDRESS>, not <IP_ADDRESS>
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
The connection to the server oauth-openshift.apps-crc.testing was refused - did you specify the right host or port?
Is this even suppose to work? Idea is to accomplish something similar as:
https://github.com/code-ready/crc/issues/3038
But as far as I can see that issue was not resolved.
Thank you.

i've managed to connect.
However, 'crc status' says that OpenShift is unreachable... Any idea why?

Not sure what the final setup looks like, but

However, 'crc status' says that OpenShift is unreachable

is based on a local query to the API. this might fail is things have moved around. If your environment works, reachable as intended by you, I would ignore the status value.

thanks for the help @gbraad .


Do not trigger mouse actions on button click

Done!
I also changed interaction check for any interaction.