[FEAT] CBH - Organization Dashboard and Management Page

🎨 Fat-marker Sketch
🧑🏫 Places and Affordances

Not sure what a fat-marker sketch and places & affordances drawing is? Please see this page for more info!

This is the Organization Dashboard and Management Page, where CBH (Community of Big Hearts), the owner of application, is able to manage their customers.
The organization dashboard shows the list of organizations (both active and inactive ones), where CBH can access and edit organization information and employees in the organization.
This page can only be viewed by users who logged in as CBH.

🤔 What problems does this solve?

Help CBH manages customers.

🤖 Technologies focused on in this feature

React
Tailwind
Shadcn
Some PayloadCMS
Some NextJS
Some Supabase/PostGreSQL

🍕 Related Pieces

[x] #33
[ ] #34
[ ] #35
[ ] #36
[ ] #37

I want to work on this

I will be working on the [BUG] styling fix for this feature @puma


[ECARD SETTINGS] Expiration date in card details is using the wrong format

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

Issue reported by: @kevinksullivan
Slack conversation: https://expensify.slack.com/archives/C05DWUDHVK7/p1705442308576449
Action Performed:

Set >$0 limit on card
Navigate to settings > wallet > virtual card > view details

Expected Result:
The expiration date should be in the format MM/YYYY
Actual Result:
The expiration date format is in MMYY

@kevinksullivan @grgia does this need the external label?

@abekkala not yet, I am triaging all the card bugs today/tomorrow first

@AnshuAgarwal24 thank you for your proposal. I am taking this internally as there are a few issues on this page with style/formatting that I decided to group together.
For next time, it's helpful to look for issues labeled with Help Wanted as those are actively reviewing proposals. It is also helpful if you post where in the code base you plan on making these changes, as your proposal on this PR repeated the expected result section, but did not go into depth on how you would make those changes.
Thanks again, let me know if you have any questions or need help finding an issue to work on!

@abekkala This is ready for payout. Can you please post a payout summary?
We don't have any offending PR for this one, and this was linked with two issues on design changes. I don't think we need regression steps for this one. @grgia wdyt?

PAYMENT DUE:

PR Review: @mananjadhav $500

$500 payment approved for @mananjadhav based on summary above.

@mananjadhav before I close this out can you confirm that you've requested payment in NewDot?

@abekkala Yes I've requested and it is approved.

@abekkala I think we can close this one out


Consider using SemVer for versioning

It would be helpful to use semver for Luau's version as this allows for meaningful major (breaking)/minor (feature)/patch (fix) versions and is quite familiar to most developers in the industry.
This would open up the possibility for those using Luau to specify version ranges which gives better expectations over what a project is consuming. For example, if my project consumed Luau ^1.0.0, I would have certainty that I could update Luau and not worry about automatically consuming breaking changes since I would be locked to 1.x.x.
I imagine that given our policy at Roblox, Luau will always be backwards compatible so major versions would likely have a different meaning, however it would be helpful to at least have meaningful minor and patch releases that can be compared between each other.
See this NPM blog post for more info.

FWIW right now our plan is to follow Roblox version releases, as this is where the majority of the changes are going to come from. It's essentially major.minor where major is always zero.

SemVer, if implemented, would most likely be for header file / ABI compatibility, not for Luau source code compatibility. I don't think Luau needs SemVer, personally. I think the current strategy of following Roblox releases is the best one, especially since it doesn't discourage contributors from making breaking changes to the API for soundness reasons or refactoring (method signatures and etc.)
Right now the main usage of Luau is in Roblox, maybe once luau-rs is out it'll become more accessible to other applications, but the goal is that even if Luau changes out from underneath, those changes won't bubble up to the public API unless they're pretty darn big. luau-sys contains all the unsafe, raw bindings, and luau consumes them and smooths over them with a consistent & safe Rust layer.
I don't see breaking changes hurting my library too much, as I can simply update; maybe others have some thoughts on this too, it might take a bit for them to show up again after interactions became re-enabled on the repository.

I think the conclusion here is that for now, semver as in "non-0 major version" is too early for us to decide on and switch to. When the language matures we could choose to bump the major version, but we'd need to decide what exact compatibility guarantees that provides (including embedding APIs etc.). We're unlikely to get there in the next year or so so I'm going to close this for now.


[AIRFLOW-651] Hotfix setup.py

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-651

This is to address https://github.com/apache/incubator-airflow/commit/dedc54eeafe8ee51fe05d143d0ec62af01c72b52#commitcomment-19935900
Testing Done:

N/A

@zodiac

whoops


⚠ Bofrost.fr has degraded performance

In 5c12e43, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1069 ms

Resolved: Bofrost.fr performance has improved in d7ef4d3 after 310 days, 5 hours, 11 minutes.


Add --ci mode to uv cache prune

Summary
Users can now run uv cache prune --ci (open to feedback on the name of that flag) to remove all pre-built wheels from the cache, leaving behind zipped, built wheels (which tend to be the most expensive assets to re-create). This should greatly increase cache performance in CI environments, since uploading unzipped wheels can actually hurt performance if you're persisting the uv cache.
Closes https://github.com/astral-sh/uv/issues/5282.

Would you be interested in adding documentation for this to:

docs/cache.md
docs/integration/github.md

It could be brief.

Yeah I can.


first draft of Bulk API and retrieve tests

Good stuff, nice progress! How could we keep this aligned (to a sensible degree) with the TypeScript implementation?

Good stuff, nice progress! How could we keep this aligned (to a sensible degree) with the TypeScript implementation?

By running the tests against it

Nice!  We should be able to run this client against the typescript-repository as well. Just need to make sure the calls are exactly the same.

I played with the idea of making the code in https://github.com/Strumenta/starlasu-lionweb-repository-client implement the interfaces exposed by this PR. The first issue I ran into is that the code in my client is asynchronous (I used Kotlin's coroutines) while this code is synchronous. I can make the asynchronous code synchronous, like this:
    // this is what I had before, notice the suspend keyword. I think it similar to state that the
    // method return Promise<List<String>>
    suspend fun getPartitionIDs(): List<String> {
        val response: HttpResponse = client.get("http://$hostname:$port/bulk/partitions")
        val data = response.bodyAsText()
        val chunk = LowLevelJsonSerialization().deserializeSerializationBlock(data)
        return chunk.classifierInstances.mapNotNull { it.id }
    }

    // This is how I could adapt the code to implement the IBulkLowLevel interface
    override fun partitions(): IPartitionsResponse {
        // basically I wrap the same code as before in a runBlocking and add some code to
        // build the IPartitionsResponse instance
        return runBlocking {
            val response: HttpResponse = client.get("http://$hostname:$port/bulk/partitions")
            val data = response.bodyAsText()
            val chunk = LowLevelJsonSerialization().deserializeSerializationBlock(data)
            object : IPartitionsResponse {
                override fun isOk(): Boolean = true

                override fun getErrorMessage(): String {
                    TODO("Not yet implemented")
                }

                override fun getResult(): SerializedChunk {
                    return chunk
                }

            }
        }
    }

But this raised the question: would it make sense to have the interfaces implement asynchronous methods and then have a wrapper that makes those calls synchronous for clients who prefer synchronous APIs?
My logic is that asynchronous interfaces are more generic, as they can be made synchronous, while synchronous interfaces cannot be made asynchronous. Does this make sense?
While in Java there are no coroutines one could use promises, futures, or callbacks (not really an expert in async programming).

But this raised the question: would it make sense to have the interfaces implement asynchronous methods and then have a wrapper that makes those calls synchronous for clients who prefer synchronous APIs?

Maybe the other way around: define a synchronous API, and (re-)wrap that in an asynchronous one, and always use and implement the latter.

My logic is that asynchronous interfaces are more generic, as they can be made synchronous, while synchronous interfaces cannot be made asynchronous. Does this make sense? While in Java there are no coroutines one could use promises, futures, or callbacks (not really an expert in async programming).

Uhm, synchronous can be made asynchronous but not the other way around. (“Asynchronicity is viral.”) I think it's an inherent property of distributed systems that calls are inherently asynchronous.

I agree with Meinte, the code should stay synchronous. Java allows wrapping in both directions, but the API is cleaner in the sync variant, and it is a lot easier to debug.


Custom key bindings are not presented in UI

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
If You change default key bindings in project panel, the custom key bindings are not presented in context menu (default values are presented instead).
[
  {
    "context": "ProjectPanel",
    "bindings": {
      "enter": "project_panel::Rename"
    }
  }
]

Environment
Zed: v0.93.4 (stable)
OS: macOS 13.4.1
Memory: 16 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

That should come with Zed 0.97


Feature Request: swiping up in the assistant to maximize its vertical space

That would allow the assistant app to take more space. That would be useful because otherwise the LLM streaming text jumps every time a new line is added until you have enough text to manually scroll, which makes the scrolling unlocked from the text streaming, so no more jumping

This feature makes no sense becaouse of the following reasons:

If assistant output is large the text will still jump. I added feature that unlocks scrolling specially for this .
Chat list is scrollable element so BottomSheetDialog will not handle the scroll event. Or if I use the scroll event inside chat list it will break layout and sometimes make chat unscrollable.


Bug #5807 - Fix an ArrayIndexOutOfBoundsException on HTTP parameters …

… line on special case when key and value are empty, i.e.: "k1=v1&=&k2=v2"
Description
Fix parsing issue on special case when key and value are empty, i.e.: "k1=v1&=&k2=v2"
Motivation and Context
Related to https://github.com/apache/jmeter/issues/5807
How Has This Been Tested?
Run the provided test case from https://github.com/apache/jmeter/issues/5807 and followed the instructions given there.
Screenshots (if appropriate):
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[X] My code follows the [code style][style-guide] of this project.

@FSchumacher  should be better to fix the issue
In attach a new manual test file

JMX file

github_issuer_5807.zip

Thanks @FSchumacher for review, and good catch for Syso debug line.
I create a new PR #5812


Release Google.Cloud.Dialogflow.Cx.V3 version 2.8.0

Changes in this release:
New features

Added include_bigquery_export_settings to ExportAgentRequest (commit d127ca2)
Added session_ttl to SessionProto (commit d127ca2)
Add support for flexible webhook (commit 79c2a12)

Documentation improvements

Update synthesize speech configs's documentation (commit 79c2a12)

Created release for Google.Cloud.Dialogflow.Cx.V3-2.8.0


Only allow specified file types in file uploads on submissions

@danblah The image field seems to only allow image files but the file and multiple files fields on submissions accepts anything from what I can see.
What extensions should be accepted? How about this list?

doc
docx
odp
ods
odt
pdf
ppt
pptx
rtf
txt
xls
xlsx

I would like a setting in base.py where the allowed extensions can be listed with some sensible default (pdf, rtf, txt). Similar to BLEACH_ALLOWED_TAGS.
Django/wagtail then use this list to validate file uploads server side.
Would be really neat to also implement HTML5 accept attribute so the user gets quick feedback.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-accept
Each instance of an upload field should list the allowed file types as well.

The list you posted above @frjo is good! cc @Parbhat

PR #1113


feat: LSDV-3788: Config autocomplete

Autocomplete for CodeMirror, used as a Config editor for LS.
It's based on simple addon xml-hint, but highly reworked. Scheme is generated from tags JSDocs, so it shows all documented attrs.
Autocomplete is triggered by Ctrl+Space or by typing triggering symbol: < for tags, space for attributes, " for values (works only for enum values).
PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

[x] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend

Describe the reason for change
Long-lasting request to drastically improve UX of config editing. Autocomplete will help to see and use available attributes, making editing easier and learning users about new possibilities (and we have them a lot!)
What libraries were added/updated?
All used libraries were already added:

codemirror
its xml-hint addon

Does this change affect performance?
nope
Does this change affect security?
nope
What alternative approaches were there?
(briefly list any if applicable)
What feature flags were used to cover this change?
(briefly list any if applicable)
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[x] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
Code Editor

/help

/frontend help

/git merge develop


Can't move images

Hi,
If the plugin is activated, I can't move images anymore.

I just pushed a few commits that should resolve this issue for you. In the future, please make sure to include relevant information about your Froala setup, including version number, so I can more easily test the issue. Let me know if you still have issues after trying the latest version of the plugin.

Yes sorry, you're right, I didn't send you enough information. I use last froala release version, 1.2.5
I'll try your commits tonight.
Thank you for that


Writing binary is no longer executable

WSL2 Ubuntu 22.04.2 LTS
NVIM v0.10.0-dev
I followed the exact steps as the gif in the README and attempting to write the buffer makes the binary no longer executable.
Resulting an error of either exec format error: ./a.out or Segmentation fault.
This occurs without any modification to the data, simply writing the buffer after opening a.out had the same result.

Writing the buffer triggers a binary "rebuild" from the hex dump using xxd.

Are you sure your xxd is properly working? (try using it to dump and revert a binary file)?
Does this occur with other file types such as a png file?

I did some tests to find if there was any discrepancies.
So far, I experience the issue only when my CWD is ~/.config/nvim.
If I do the same exact steps somewhere else like a /tmp folder, the issue doesn't occure.

I did test a image file located at ~/Downloads/image.jpg without issue.
I'm not sure if you or someone else could reproduce but it seems like some obscure behaviour that the rebuilding would not work in neovim config directory.
cd ~/.config/nvim
nvim -u minimal_config.lua
# Write hello.c
$ gcc hello.c
$ ./a.out
Hello, World!

# Modify and write hex
$ ./a.out
exec format error: ./a.out


[✨] logError prevents proper Sentry error capturing

Is your feature request related to a problem?
I have hooked up Sentry alert monitoring on top of my Qwik app. As part of that, I needed to use their CaptureConsole integration because of the logError implementation here: https://github.com/BuilderIO/qwik/blob/70880b71995361202ae0b4725454cb2bd008ab2d/packages/qwik/src/core/util/log.ts#L10-L16
Because of this, I can't pass the raw error to Sentry and we can't get niceties like stack trace remapping via sourcemap.
Describe the solution you'd like
I would like a configuration for production builds to either tap into logError (e.g. a callback) or for production builds to just re-throw errors in logError (which Sentry will catch).
Describe alternatives you've considered
n/a
Additional context
No response

@jessezhang91 did you find a solution to this and manage to get sentry working properly?

I'm also interested with a good way to setup Sentry on the browser-side (and maybe on the server side?)

@DustinJSilk @Kocal we hacked around it by modifying something like: https://github.com/getsentry/sentry-javascript/blob/master/packages/integrations/src/captureconsole.ts
class CaptureQwikError implements Integration {
  static id = 'CaptureQwikError';
  name = CaptureQwikError.id;

  setupOnce(_: unknown, getCurrentHub: () => Hub): void {
    fill(GLOBAL_OBJ.console, 'error', (originalConsoleMethod: Console['error']) => (...args: any[]) => {
      if (args[0] === '%cQWIK ERROR') {
        const hub = getCurrentHub();

        if (hub.getIntegration(CaptureQwikError)) {
          hub.withScope((scope) => {
            scope.setLevel('error');
            scope.addEventProcessor((event) => {
              event.logger = 'qwik-error';
              return event;
            });
            hub.captureException(args[2], { originalException: args[2] });
          });
        }
      }

      if (originalConsoleMethod) {
        originalConsoleMethod.apply(GLOBAL_OBJ.console, args);
      }
    });
  }
}

it gets us close enough but it's definitely missing stacktrace/etc.
i'm happy to attempt a PR but not sure if the core team has any thoughts on how to tackle this already. my thought is to expose some global qwik configuration options that the logError can call but that would definitely introduce new concepts/conventions that i'm not sure if the core team wants/etc.

Thanks for sharing your code @jessezhang91 :)
Indeed that's not perfect, but that's better than nothing


MapyCz service - place ID

If there is used id=??? as integer in link from MapyCz, that is probably some place ID which might be in different location than different than x=xxx and y=yyy which refers to position of map.
For example, in this case, location of ID is the same as coordinates:
https://en.mapy.cz/zakladni?x=16.1559058&y=50.5331523&z=17&source=base&id=2258106 -> 50.533152,16.155906
But in this case coordinates are little bit off as user in browser moved map a little bit so result location is somewhere else:
https://en.mapy.cz/zakladni?x=16.1493719&y=50.5321566&z=17&source=base&id=2258106 -> 50.532157,16.149372
If you are sending location to some point, that is not place, there are coordinates in id=yy,xx which is correctly processed even if map itself is little bit off as previous link:
https://en.mapy.cz/zakladni?x=16.1549563&y=50.5331455&z=18&source=coor&id=16.155578570500182%2C50.53311479225323 -> 50.533115,16.155579
Options:

resolve ID to coordinates. Currently there is no official backend API so only way to simulate frontend requests - tried, it is probably possible but hard since they are using some custom Fast RPC. Sources:

https://stackoverflow.com/questions/48810020/call-fastrpc-as-xmlhttprequest-encoded-in-base64-in-c-sharp
https://github.com/seznam/JAK/blob/master/util/frpc.js

add warning, that coordinates from MapyCz might be inaccurate if id=?? is available and it's not coordinates (temporary solution of course)

Created issue #4 for rewriting to PHP to remove this workaround.


Bug: Copy-paste extraction error

Description
When I try to copy a file inside a .zip file (or any compressed file) and paste it somewhere else, nothing happens, even though the status center tells me that the copy has been made.
Steps To Reproduce
Open a .zip file
Copies a file contained in this .zip file to the clipboard
Paste it outside of the .zip file
nothing happens... ┐(￣ヘ￣;)┌
Requirements
The file should be extracted and pasted where I tried to paste it.
Files Version
<IP_ADDRESS>
Windows Version
10.0.23601.1000
Log File
debug.log

Thanks for the report, I've added this to the project board.

This issue should be fixed in the next release.


Add cflocal 0.8.0

Do you mind if I setup a pipeline to update my plugin version automatically?
I'm cutting releases every day right now.

Thanks!


Update v1.2.0-rc release note.

I got the doc link from @tallclair. https://github.com/kubernetes/website/blob/release-1.12/content/en/docs/concepts/containers/runtime-class.md
I previous link is the proposal link.
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

LGTM

LGTM


[libs/movex] The Resource Subscribers don't get removed once they drop the connection

This is more of a question into what should happen when someone's connection to movex drops.

Become idle?
Become idle and after a buffer time get removed automatically?
Get removed automatically right away?

Closing this as I opened a new discussion #226


Highlighting applies to whole signcolumn?

Are the highlights supposed to be applied to the whole signcolumn or just the text? It looks like in the gif of the readme just the text are colored. My situation has the whole sign column highlighted.
To Reproduce
init.vim:
let $PLUGIN_DIRECTORY = '~/.config/nvim/bundle'
set runtimepath^=$PLUGIN_DIRECTORY/plenary.nvim
set runtimepath^=$PLUGIN_DIRECTORY/gitsigns.nvim

lua << EOF
require('gitsigns').setup {
  signs = {
    add          = {hl = 'DiffAdd'   , text = '│', numhl='GitSignsAddNr'},
    change       = {hl = 'DiffChange', text = '│', numhl='GitSignsChangeNr'},
    delette       = {hl = 'DiffDelete', text = '_', numhl='GitSignsDeleteNr'},
    topdelete    = {hl = 'DiffDelete', text = '‾', numhl='GitSignsDeleteNr'},
    changedelete = {hl = 'DiffChange', text = '~', numhl='GitSignsChangeNr'},
  }
}
EOF

The above config is just copied from the default in the readme. I have tried defining it and and letting the defaults kick in. Same result.

Additional context
System: Linux
Neovim version: 0.5.0-dev+1059

Immediately after posting this I figured out the issue. Putting solution here for anyone else who stumbles like I did. The hl option that you pass to the config is an entire highlight group and will grab its fg bg ect. Its not just the fg highlight. I was using DiffAdd as my highlight which is configured to do a green background and black foreground. By switching to a highlight like GitGutterAdd (lots of themes have git gutter support) I was able to get what I wanted since that highlight has the fg and background configured correctly.

Thanks for the feedback. You're not the only person to stumble on this. I'll create an FAQ to address this.

Added FAQ: https://github.com/lewis6991/gitsigns.nvim/commit/317750d66a572588eef9a23fefce4aff1cbcad94


Problems about './store/model.h5'

When I read “boss_train.py”,I found a constant named "FILE_PATH".I can't find its value "./store/model.h5" in any folders.Is it a forein file?

Now I see, it`s a path to save model. Shit.


[CELEBORN-151][K8S] Celeborn should run as celeborn instead of root in container

What changes were proposed in this pull request?

new args celeborn_uid and celeborn_gid for Dockerfile
add busybox to docker image
updated outdated configurations for helm charts

Why are the changes needed?
For security, we should avoid using root to run image.
Does this PR introduce any user-facing change?
No, it's not officially released
How was this patch tested?
Run helm templates celeborn docker/helm

cc @FMX @zwangsheng


Add support for ValueCastable formatting

Currently (or, once RFC 50 is implemented), Values can be formatted and printed using the Format + Print mechanism. However, there is no support for pretty-printing custom ValueCastable  such as data.View or Amaranth Enum. A mechanism for such should be designed and proposed via the RFC process.

Should this be on 0.5 roadmap or not?

Should this be on 0.5 roadmap or not?

shrug I don't really know. I think yes iff we can pull this off for lib.data + lib.enum without eg. getting blocked on support on the yosys side.

OK, leaving off milestone for now.


Fix Mem2Reg for enum stack locations

We complete lifetimes of enums in mem2reg since address forms may be incomplete on non payloaded paths and promoting them to value form can cause ownership verification errors. This was done per stack allocation. This is an issue since same value maybe stored on multiple stack locations and can use insertion of the lifetime end on blocks where the lifetime was previously completed by the utility.
Move lifetime completion to the end of mem2reg to not run into this.

@swift-ci test

@swift-ci test

This change is problematic when an  enum value in initializationPoint of a stack allocation is stored and loaded from another stack allocation that will also be deleted by mem2reg.


Provide command line options for the report location and report file name

The prowler main command does not provide a mean for user to specify the report location and report file name currently. By default, "output" directory would be the location, "prowler-output-${ACCOUNT_NUM}-${OUTPUT_DATE}" would be the report name.
It would be ideal that user has the options to overwrite the above default behavior.

Hi @toniblyx the file name option was sent to branch 2.5. Please review when you have the chance.

Hi @toniblyx the file name option was resent to branch 2.5. Please review it again when you have the chance. Best


I want to play a game... beat the high scores

I'll start:

For the record:

uBO: I started with a new clean stat-empty uBO around FF56/FF57 during the switch to web extensions. At the same time I ditched NoScript. NS blocked most things before uBO even saw them, and my legacy uBO had a percentage at 10% and about 1.5 million.
clearURLs: Not sure when I started using this: I suspect some time just after Quantum.
Decentraleyes is one where the switch to web extensions meant I didn't lose any stats: no idea how long I've been using it.

That and the eleventy-two gajillion zillion thousands of requests to store cookies and other persistent storage that were all blocked with my master strategy (sssh, yet to upgrade to 69, so don't mention the FPI permissions thing)
What massive scores on various extensions have you lot got?
PS: Bring it on, bro .. beat my score!
PPS: If the scores are tied, we'll have a dance-off!

I’m far from those scores, because uMatrix blocks most things way before those extensions are involved.

I have uM as well: in super hard mode I only allow 1st party images and css by default


Minimize to tray

[x] Test on Linux
[ ] Test on Windows
[ ] Test on Mac

@feross

Mac should be totally unaffected. No tray icon there.

Looks good on Mac!

@dcposch Not working, any idea?

Standard Ubuntu w Unity, or are you running a different window manager?
On Mar 29, 2016 10:16, "Ayhan"<EMAIL_ADDRESS>wrote:

@dcposch https://github.com/dcposch Not working, any idea?
[image: ekran goruntusu - 2016-03-29 20 14 41]
https://cloud.githubusercontent.com/assets/2834954/14116956/055167c4-f5eb-11e5-9a59-9f49d7bb13c6.png
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/feross/webtorrent-desktop/pull/269#issuecomment-203006800

@dcposch
actualy already installed libappindicator1  but not working.. anyway

Looks like you're running this? https://elementary.io/
Sorry man, I have no idea. Desktop Linux is fragmented enough that it's impossible to test on all of them.
I want to make sure it works on a vanilla Ubuntu setup, both LTS and stable.

We will add a prefs window, though, so that you can at least disable "minimize to tray".
Do you see no tray icon at all, but WebTorrent is still running after you click X?
Or is the tray icon showing up, but you can't select any of the commands?

I opened a new issue to track this: https://github.com/feross/webtorrent-desktop/issues/303

@feross not seen tray icon, stil runnig webtorrent. thanks for this issue :+1:


Integrate pipe pressure loss and heat transfer correlations

Reported by kproelss on 28 Mar 2010 19:46 UTC
Pressure drop and heat transfer correlations for turbulent and laminar pipe flow are added to Modelica.Fluid in MSL 3.2 with the new package Dissipation. In order to make them available as choices in the pipe models already existing in Modelica.Fluid several changes have to be made to these models. The main challenges are:

Current correlations combine pressure changes due to friction and to static head, while the dissipation correlations only cover friction losses.
All pressure drop or heat transfer choices require the same variable input (replaceable functions) or a common set of variable modifications (replaceable models).
All pressure drop or heat transfer choices require the same parameter input (replaceable functions) or parameter modifications are applied to the redeclared model (and disappear if another choice is made)
How can non-matching choice combinations be avoided, e.g. a two-phase pressure drop correlation and one-phase medium package?
Robustness at flow reversal
Redundant correlation choices must be avoided, while still maintaining backwards compatibility or at least conversion to equivalent physical behavior.

Migrated-From: https://trac.modelica.org/Modelica/ticket/344

Modified by fcasella on 14 Dec 2015 22:42 UTC

Changelog removed by fcasella on 14 Dec 2015 22:42 UTC


feat: add links to dust app logs in poke

Description
fixes https://github.com/dust-tt/tasks/issues/412
Hide whitespace changes for extra fun.

Risk

Deploy Plan

@fontanierh can you add a screenshot please? I am having a hard time getting it.

@fontanierh can you add a screenshot please? I am having a hard time getting it.

@lasryaric  I can recommend a great optometrist if needed :)

We don't have access to other workspaces logs do we? or did we implement super user support there?

We don't have access to other workspaces logs do we? or did we implement super user support there?

As per IRL, we do as super users


OTP Code Reuse Possible

The google authenticator PAM module allows OTP code reuse.
Example:

Log into server via SSH with code valid code: 111111
Log in again to same server (within time window) with code 111111
Allows login from both if within the time window set

Note that a prover may send the same OTP inside a given time-step
window multiple times to a verifier.  The verifier MUST NOT accept
the second attempt of the OTP after the successful validation has
been issued for the first OTP, which ensures one-time only use of an
OTP.

https://tools.ietf.org/html/rfc6238
Tested on Ubuntu with sshd pam configuration set to use google-authenticator-libpam

Hmm, that's not right. The tool even asks you:
Do you want to disallow multiple uses of the same authentication
token? This restricts you to one login about every 30s, but it increases
your chances to notice or even prevent man-in-the-middle attacks (y/n) y

Did you say n to that?
I'm unable to reproduce your problem. Could you provide way more details, such as how you generated the config, and what your PAM config looks like?

You are using time-based tokens, right? Do you have DISALLOW_REUSE in your ~/.google_authenticator?

Thanks for the follow up. I just went through my installation again (using
ansible) with the same results (reuse accepted even after selecting not
to). But trying manually on a Debian and Centos install it works as
expected. Looks like something on my end. Sorry for the false positive.
On Fri, Apr 19, 2019, 11:46 AM Thomas Habets<EMAIL_ADDRESS>wrote:

You are using time-based tokens, right? Do you have DISALLOW_REUSE in
your ~/.google_authenticator?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/google-authenticator-libpam/issues/130#issuecomment-484937088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIRHR7QJ4GDGKNWYZZEJRLPRHSNVANCNFSM4HHEU23Q
.


Need ability to ERD of entire database and not only one schema at a time

Is your feature request related to a problem? Please describe.
Need ability to ERD of entire Database and not only one schema at a time
Describe the solution you'd like
Select a database and then view its entire ERD for all the schemas in the database.
Describe alternatives you've considered
N/A
Additional context
database here is Postgres' definition, and schema is also Postgres's definition of a schema.

Hello @haisamido
Please follow these steps:
File -> New -> DBeaver -> ER Diagram -> Choose a name for a new diagram and your database.
Or you can find the Diagrams folder in your project and click on it to create a new diagram.

Hello @haisamido
Please follow these steps:
File -> New -> DBeaver -> ER Diagram -> Choose a name for a new diagram and your database.
Or you can find the Diagrams folder in your project and click on it to create a new diagram.

Thank you for your reply. That works, but curious why is it not readily available by right mouse clicking on the database as is the case for a schema?

One of the reasons is potential misclicking. You can misclick on this tab in your databases tabs. Then, DBeaver can get stuck during metadata loading for the entire database.
So, database ERD creation should be intentional.


Handle updates immediately when registered

Handle updates immediately when registered and give priority to update request over the main workflow coroutine if a handler is registered. Now when no update handlers have been registered instead of yielding the update coroutine we queue the update request and only create the coroutine when the handler is registered or there is no more coroutines to run. All update coroutines are now created at the front of the scheduler so they run before the root coroutine.
This change is a major change to how the Go SDK handles updates, it should be backwards compatible in the sense old workflows should continue to run, but new workflows will behave observably different to users.
closes https://github.com/temporalio/sdk-go/issues/1297

Great, that second modification to the loop was pretty clean. So my only remaining question here is about backwards compatibility: suppose that we decide that we are interested in guaranteeing that updates execute in the order supplied by sdk-core, rather than the order of handler registration. If we were to release this now, would that make such work more difficult than it would be without having released this change?


Mkl kernels

Adding MKL support for conv_ops

Can one of the admins verify this patch?

@petewarden / @josh11b could one of you take a look?

Looks good, but please address my comments above before committing.

@tensorflow-jenkins test this please

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

Can you address the build failure:
ERROR: /workspace/tensorflow/core/kernels/BUILD:2374:1: in deps attribute of cc_test rule //tensorflow/core/kernels:immutable_constant_op_test: target '//tensorflow/core/kernels:mkl_ops' does not exist. Since this rule was created by the macro 'tf_cc_test', the error might have been caused by the macro implementation in /workspace/tensorflow/tensorflow.bzl:346:23.
ERROR: Analysis of target '//tensorflow/core/kernels:immutable_constant_op_test' failed; build aborted.

Code review comments should be addressed now, and the immutable op test failure should be fixed.

@tensorflow-jenkins test this please

The failure here seems unrelated to our work (likely a setup issue):
15:48:16 Traceback (most recent call last):
15:48:16   File "C:/tf_jenkins/home/workspace/tensorflow-pr-win-cmake-py/tensorflow/python/debug/cli/readline_ui_test.py", line 24, in <module>
15:48:16     from tensorflow.python.debug.cli import readline_ui
15:48:16   File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\debug\cli\readline_ui.py", line 20, in <module>
15:48:16     import readline
15:48:16 ImportError: No module named 'readline'

@cais do you recognize this failure?

@martinwicke I believe you pinged the wrong person ...

Ah, sorry, I did!
@caisq, do you recognize this failure?

@martinwicke Yes, this is probably because pyreadline (the Windows equivalent of readline), which is a dependency of tfdbg on Windows, is not installed on the particular Windows machine (win1-slave). I'll install it. This error shouldn't block this PR.

Thank you!


[Feature request] Subtabs/submenus

It would be really nice to have a tab that is accessed with a button inside another tab. This would allow for further sorting of mod options without mods having to make several tabs that clog the list. Another idea i have would be to have a list of settings menus on one side (including vanilla) and then the tabs within them on a bar on the other side.

Thanks for the suggestion! I like the idea of this, I’ll start looking into it.


Missing icon

When you set up you file association, what did you choose?

This is happening inside the jar.

And I found that the icon of this dll is the same.

Hmm, it looks like that was done on purpose by the platform for files it does not recognize.
Let me see what I can do to implement custom icon associations, so you can choose what Icon you would like associated. I've got a couple of things I want to finish before I start this feature though, so it may be a while.


CloudFormation Stack fails while creating Autoscaling Group

The Stack fails with a timeout while creating the auto-scaling group
The role back deletes all logs preventing diagnoses of problem

Building on this...
In gitlab-runner.yaml:
            09ConfigureDockerExecutor:
              command: !Sub
                - |
                  for GitlabGroupToken in `aws ssm get-parameters --names /${AWS::StackName}/ci-tokens --query 'Parameters[0].Value' | sed -e "s/\"//g" | sed "s/,/ /g"`;do
                      sudo gitlab-runner register \
                      --non-interactive \
                      --url "${GitlabServerURL}" \
                      --executor "docker" \
                      --docker-image "${DockerImagePath}" \
                      --description "Gitlab Runner with Docker Executor" \
                      --locked="${isLOCKED}" --access-level "${ACCESS}" \
                      --docker-volumes "/var/run/docker.sock:/var/run/docker.sock" \
                      --tag-list "${RunnerEnvironment}-${RunnerVersion}-docker"
                  done
                - isLOCKED: !FindInMap [GitlabRunnerRegisterOptionsMap, !Ref RunnerEnvironment, isLOCKED]
                  ACCESS: !FindInMap [GitlabRunnerRegisterOptionsMap, !Ref RunnerEnvironment, ACCESS]

cfn-init tries to register GitLab runner using gitlab-runner register command but fails with:

/var/log/cfn-init.log

FATAL: Runner configuration other than name and executor configuration is reserved and cannot be specified when registering with a runner token. This configuration is specified on the GitLab server. Please try again without specifying those arguments.

Because this command fails, the EC2 instance does not send back signal to CFN ASG, causing the stack to rollback:

/var/log/cloud-init-output.log

[   45.675702] cloud-init[1751]: Error occurred during build: Command 09ConfigureDockerExecutor failed
[   45.720475] cloud-init[1751]: 2023-07-06 14:18:25,864 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
[   45.728016] cloud-init[1751]: 2023-07-06 14:18:25,872 - [util.py ](http://util.py/)[WARNING]: Running module scripts-user (<module '[cloudinit.config.cc ](http://cloudinit.config.cc/)_scripts_user' from '/usr/lib/python3.9/site-packages/cloudinit/config/cc_scripts_user.py'>) failed

The issue is related to this breaking change in GitLab: https://gitlab.com/gitlab-org/gitlab/-/issues/380872
I have updated the readme to add a link to a vendor supported solution.


Added my data !!

There are some merge conflicts can you please resolve the and update the PR? @pman47

Congrats @pman47  🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

How will i be eligible for swags from clueless website ?
Also can you add Hacktoberfest-accepted label to my pr ?

This is my profile url : https://www.clueless.tech/profile/admin/116529206634136025482


Edit commands not being sent to server

First, thanks so much for resurrecting this project, and for the work in releasing 2.0.
I'm using monaco-languageclient in an Angular app (using @materia-ui/ngx-monaco-editor).
I've just upgraded to monaco-languageclient 2.0.2, and got everything compiling again.
Now, when I launch my app, I see the languageclient establish a connection with the language service correctly.
However, when editing inside the editor, there are no edits being sent back to the server.  Requests for code hints aren't sent either.
As a result, even though the editor and the language server are both working correctly, there's nothing happening between them.
It feels as though my monaco editor instance isn't connected to the MonacoLanguageClient.  I'm not sure how this is supposed to work, as looking through the examples, I can't see anything that connects an instance of the editor to the MonacoLanguageClient.
I appreciate this is a little vague of a question, but I'm not really sure where to start debugging.
Below is the code, but it's pretty much just the example:
  private createMonacoEditor(): void {
    this.monacoLoaderService.isMonacoLoaded$.pipe(
      filter(isLoaded => isLoaded),
      take(1),
    ).subscribe(() => {
      monaco.editor.onDidCreateModel(model => {
        console.log('on did create model');
        this.monacoModel = model;
        monaco.editor.setModelLanguage(model, TAXI_LANGUAGE_ID);
        MonacoServices.install();
        this.startLanguageService();
      });
      monaco.languages.register({ id: TAXI_LANGUAGE_ID });
    });
  }

  createLanguageClient(id:string) {
    const wsUrl = this.websocketService.getWsUrl('/api/language-server');
    const webSocket = new WebSocket(wsUrl, []);

    // Implemented following the example here:
    // https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/client/src/client.ts#L56
    webSocket.onopen = () => {
      const socket = toSocket(webSocket);
      const reader = new WebSocketMessageReader(socket);
      const writer = new WebSocketMessageWriter(socket);

      const transports = {reader,writer}

      this.monacoLanguageClient = new MonacoLanguageClient({
        name: 'vyne-taxi-language-client',
        clientOptions: {
          // use a language id as a document selector
          documentSelector: [TAXI_LANGUAGE_ID],
          // disable the default error handler
          errorHandler: {
            error: () => ({ action: ErrorAction.Continue }),
            closed: () => ({ action: CloseAction.DoNotRestart })
          }
        },
        // create a language client connection from the JSON RPC connection on demand
        connectionProvider: {
          get: () => {
            return Promise.resolve(transports);
          }
        }
      });
      this.monacoLanguageClient.start();
    }
  }

Hello,
This kind of issues are often related to dependency conflicts, if monaco-editor is duplicated in your node_modules.
What is the result of npm list monaco-editor? if there is more than 1 result, you have a problem

Oh I read it too fast, you're using @materia-ui/ngx-monaco-editor, so it's probably related to https://github.com/TypeFox/monaco-languageclient/issues/387#issuecomment-1162877102

Ok - I ditched ngx-monaco-editor, and things are working well -- thanks for the advice.
However, I still don't understand what wires these things together.  i.e., what connects the editor to the MonacoLanguageClient.
Is it anything to do with the documentSelector that gets passed in?  (Not an issue, but just for my own intellectual curiousity).

The Language Client is calling monaco editor feature registration, that's all. Maybe I didn't understand your question ?


Beta: Fix Feedback being shifted down to invisible

<SocialBanner/> shifted <Feedback /> down to 40px on >lg screen.

This diff fixed it by using calc. Not sure if there is a better way but it works

:

https://github.com/reactjs/reactjs.org/pull/4451 I raised a pr for the same with same fix. 😅

I've merged the PR that had the same fix that was raised yesterday. So closing this PR. 😅


Error in init.py

I get this output:
hypergan train ~/hgan_dataset/ -f jpg -b 8 --config hej --device '/cpu:0'
[hypergan] Welcome back.  You are one of<PHONE_NUMBER>0000  possible configurations.
Traceback (most recent call last):
File "/Users/goransandstrom/anaconda/bin/hypergan", line 5, in
run(args)
File "/Users/goransandstrom/anaconda/lib/python3.5/site-packages/hypergan/init.py", line 311, in run
other_config = copy.copy(config)
File "/Users/goransandstrom/anaconda/lib/python3.5/copy.py", line 97, in copy
rv = reductor(4)
TypeError: 'NoneType' object is not callable

Hey, thanks for the bug report.  I found the problem and published a fix.  Upgrade with:
  pip3 install hypergan --upgrade


Issue when using coroutines 1.3.9-mt (multithreaded coroutines)

Summary
The apollo library overwrites the coroutine 1.3.9-mt version specified in a KMM project (expected behaviour) but the suggested way in the KMM docs of getting around this doesn't work.
Version
2.4.1
Description
1.3.9-mt is used for multithreading. It has a few edge cases so hasn't been merged into the main coroutine branch, but it is actively maintained and used by a few projects (it's currently suggested in the KMM docs).
1.3.9 is technically a newer version than 1.3.9-mt. So gradle resolves 1.3.9 as the coroutine version for the project. The KMM docs suggest using the following to get around the current restriction (which doesn't work and causes a build error in kotlin native when used in tandem with apollo):
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9-native-mt"){
    version {
        strictly("1.3.9-native-mt")
    }
}

But the following works:
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9-native-mt"){
    isForce = true
}
implementation("apollo-library)

It's probably not worth fixing, as multithreaded coroutines should come to the main coroutine branch in the near future. But could be useful to add a section to the KMP docs on apollo?
Also, best I could figure is that the reason strictly doesn't work with apollo is that apollo-runtime-kotlin-jvm is internally fetched using strictly which seems to also effect transitive dependencies within apollo-runtime-kotlin-jvm? I get this when running a dependency check.
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:{strictly 1.3.9-native-mt} -> 1.3.9-native-mt
\--- releaseCompileClasspath

org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.3.9-native-mt
\--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9-native-mt
     +--- releaseCompileClasspath (requested org.jetbrains.kotlinx:kotlinx-coroutines-core:{strictly 1.3.9-native-mt})
     \--- com.apollographql.apollo:apollo-runtime-kotlin-jvm:2.4.1 (requested org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9)
          +--- releaseCompileClasspath (requested com.apollographql.apollo:apollo-runtime-kotlin-jvm:{strictly 2.4.1})
          \--- com.apollographql.apollo:apollo-runtime-kotlin:2.4.1
               \--- releaseCompileClasspath

Hi! Thanks for reaching out!

It's probably not worth fixing, as multithreaded coroutines should come to the main coroutine branch in the near future

Indeed, as replied in https://github.com/apollographql/apollo-android/issues/2619, there's little value for Apollo Android to do anything there and tweaking dependencies resolution with Gradle is the way to go 👍

But could be useful to add a section to the KMP docs on apollo?

Good idea. The multiplatform getting-started could use something like this. Do you want to open a PR?

Also, best I could figure is that the reason strictly doesn't work with apollo is that apollo-runtime-kotlin-jvm is internally fetched using strictly which seems to also effect transitive dependencies within apollo-runtime-kotlin-jvm

I don't think we do anything like that.


Could lm_eval run on AMD gpu?

Could lm_eval run on AMD gpu?

Yes, HF Transformers and vLLM should both support AMD gpus, the former without any code change, as far as I am aware: https://huggingface.co/blog/huggingface-and-optimum-amd


Add single column to the right feature

I added an option of a single column to the right and updated the documentation.

Hello,  this feature would be very useful and I'd like to use it, could you please accept this merge request?

I'm waiting modification to keep backward compatibility.

See #80


es_bulk has bug with update

If we see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
{ "update" : {"_id" : "1", "_type" : "type1", "_index" : "index1", "_retry_on_conflict" : 3} }
{ "doc" : {"field" : "value"} }

If es_bulk will see this lines he generate event with key "doc".
But should generate event with key "field" and value "value". Because elasticsearch-output already wraps  fields to "doc" on update.

#6


Finished Dashboard MVP

still need to decide what we want to do w/ the username when they log-in
still need to update individual links for individual refreshr cards
spent a lot of time on the styling, feel like it could still be greatly improved upon

Looks great!


"cp /dev/null foo" is failing

Just like with https://github.com/uutils/coreutils/pull/1646, cp is failing while copying "/dev/null":
./target/debug/coreutils cp /dev/null fooazeazeza
cp: error: '/dev/null' -> 'fooazeazeza': the source path is not an existing regular file

More: https://github.com/rust-lang/rust/issues/79390
I will replicate the workaround (that I don't like either)

Yeah, it is used:
https://sources.debian.org/src/texlive-bin/2020.20200327.54578-5/texk/texlive/linked_scripts/texlive/mktexlsr/?hl=85#L187


Options  --ssl, --ssl-key and --ssl-cert have no effect. Serving over HTTPS does not work

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Linux Mint 17.3

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: local (v1.0.0-beta.11-webpack.2, branch: master)
node: 6.2.2
os: linux x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

Try to launch ng serve with ssl:
ng serve --ssl true --ssl-key ./sslcert/privkey.pem --ssl-cert ./sslcert/fullchain.pem

The log given by the failure. Normally this include a stack trace and some
more information.

Mention any other details that might be useful.

My app needs access to GeoLocation services but chrome will only provide them to pages loaded over HTTPS.

Thanks! We'll be in touch soon.

See also related #1576

Dupe of https://github.com/angular/angular-cli/issues/1576


Cleaning up publisher on shutdown

This adds logic to shutdown to cleanup the plugin's publishers.

Please describe a reproducible example which fails to destroy the publishers without a patch and cleans them up correctly with the patch.

For the record: this is a follow up of https://github.com/ros-visualization/rqt_publisher/pull/4#discussion_r241209940

Thanks for the quick update.


Issue using multiple eosio::on_notify

I'm running into an issue where if I specify multiple eosio::on_notify it excludes the wildcard "*" on notifications contracts.
My Scenario
Need to listen on all incoming transfer for multiple tokens & retire for mytoken
[[eosio::on_notify("*::transfer")]]
void on_transfer( ... );

[[eosio::on_notify("mytoken::retire")]]
void on_retire( ... );

❗ Issue
Now eosio::on_notify("*::transfer") does not monitor mytoken::transfer since it only monitors mytoken::retire
Work around
This seems like a functional work around for integrating multiple on_notify with specified contracts.
[[eosio::on_notify("*::transfer")]]
void on_transfer( ... );

[[eosio::on_notify("*::retire")]]
void on_retire( ... ) {
  if ( get_first_receiver() != "mytoken"_n ) return;

This was fixed in 1.6.3 cdt and verified in PR #9244. Please let us know if this is still an issue for you.


Cope with Uno.Time being internal, using Uno.DateTime instead

Needed when we take new stuff from https://github.com/fusetools/uno/pull/1258
This PR contains:

[-] Changelog - The Uno repo has the changelog for this
[-] Documentation - No public fuselibs APIs changed
[-] Tests - No fuselibs behavior changed

Outdated

Closing due to https://github.com/fusetools/uno/pull/1258 being closed (superceded by https://github.com/fusetools/uno/pull/1263 and https://github.com/fusetools/fuselibs-public/pull/314)


How to run model after building flashlight with Docker from Source

I'm trying to train a model from scratch using flaslight. So I've tried building flaslight using docker from source following this link.
flaslight

But after the docker is build, how should I run the docker for further use. Can anyone please instruct.

Here is the docs on starting container https://github.com/facebookresearch/flashlight/tree/master/.docker, for example with CUDA backend
sudo docker run --runtime=nvidia --rm -itd --ipc=host --name {container name} {built image tag}

this starts container and then you can go to bash of the container
sudo docker exec -it {container name} bash

there you can find flashlight in the /root/flashlight with binaries in the /root/flashlight/build/bin.

Here is the docs on starting container https://github.com/facebookresearch/flashlight/tree/master/.docker, for example with CUDA backend
sudo docker run --runtime=nvidia --rm -itd --ipc=host --name {container name} {built image tag}

this starts container and then you can go to bash of the container
sudo docker exec -it {container name} bash

there you can find flashlight in the /root/flashlight with binaries in the /root/flashlight/build/bin.

Hi @tlikhomanenko , thanks for your quick reply. You've been always so helpful with our doubts. I'm actually using flashlight docker with CPU, but I'm able to build it now and I've moved few step forward.
I'm trying to fork the  asr model with below steps -->
build/bin/asr/fl_asr_train fork /root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.bin --tokens=/root/flashlight_explore/w2l/am/tokens.txt --arch=/root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.arch --rundir=/root/flashlight_explore/save_model/ --train=/root/flashlight_explore/w2l/lists/train-clean-10.lst --valid=/root/flashlight_explore/w2l/lists/dev-clean-10.lst --batchsize=1 --lexicon=/root/flashlight_explore/w2l/am/lexicon.txt --enable_distributed=false --lr=0.0001 --lrcrit=0.0001 --logtostderr=1
Getting below error -->

I0122 12:58:33.029825 12636 Train.cpp:428] [Network Params: 70498735]
I0122 12:58:33.029917 12636 Train.cpp:429] [Criterion] ConnectionistTemporalClassificationCriterion
I0122 12:58:33.128959 12636 Train.cpp:462] [Network Optimizer] Adagrad (epsilon=1e-08)
I0122 12:58:33.128989 12636 Train.cpp:463] [Criterion Optimizer] Adagrad (epsilon=1e-08)
I0122 12:58:33.203048 12636 Train.cpp:1000] Shuffling trainset
I0122 12:58:33.203301 12636 Train.cpp:1007] Epoch 1 started!
F0122 12:58:44.604282 12636 Train.cpp:1089] Loss has NaN values.  Conformer.
Can you please look into it. Thanks in advance.

Hi @tlikhomanenko , thanks for your quick reply. You've been always so helpful with our doubts. I'm actually using flashlight docker with CPU, but I'm able to build it now and I've moved few step forward.
I'm trying to fork the  asr model with below steps -->
build/bin/asr/fl_asr_train fork /root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.bin --tokens=/root/flashlight_explore/w2l/am/tokens.txt --arch=/root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.arch --rundir=/root/flashlight_explore/save_model/ --train=/root/flashlight_explore/w2l/lists/train-clean-10.lst --valid=/root/flashlight_explore/w2l/lists/dev-clean-10.lst --batchsize=1 --lexicon=/root/flashlight_explore/w2l/am/lexicon.txt --enable_distributed=false --lr=0.0001 --lrcrit=0.0001 --logtostderr=1
Getting below error -->

I0122 12:58:33.029825 12636 Train.cpp:428] [Network Params: 70498735]
I0122 12:58:33.029917 12636 Train.cpp:429] [Criterion] ConnectionistTemporalClassificationCriterion
I0122 12:58:33.128959 12636 Train.cpp:462] [Network Optimizer] Adagrad (epsilon=1e-08)
I0122 12:58:33.128989 12636 Train.cpp:463] [Criterion Optimizer] Adagrad (epsilon=1e-08)
I0122 12:58:33.203048 12636 Train.cpp:1000] Shuffling trainset
I0122 12:58:33.203301 12636 Train.cpp:1007] Epoch 1 started!
F0122 12:58:44.604282 12636 Train.cpp:1089] Loss has NaN values.  Conformer.
Can you please look into it. Thanks in advance.

Please add the empty flag --flagsfile= to reset it from the forked model

Please add the empty flag --flagsfile= to reset it from the forked model

Thanks for the reply @tlikhomanenko . So I changed my command to this -->
build/bin/asr/fl_asr_train fork /root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.bin --flagsfile= --tokens=/root/flashlight_explore/w2l/am/tokens.txt --arch=/root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.arch --rundir=/root/flashlight_explore/save_model/ --train=/root/flashlight_explore/w2l/lists/train-clean-10.lst --valid=/root/flashlight_explore/w2l/lists/dev-clean-10.lst --batchsize=1 --lexicon=/root/flashlight_explore/w2l/am/lexicon.txt --enable_distributed=false --lr=0.0001 --lrcrit=0.0001 --logtostderr=1
Not getting the previous error anymore, but now the code is breaking after giving this message:

I0124 05:58:27.639622 12682 Train.cpp:428] [Network Params: 27736863]
I0124 05:58:27.639755 12682 Train.cpp:429] [Criterion] ConnectionistTemporalClassificationCriterion
I0124 05:58:27.680217 12682 Train.cpp:462] [Network Optimizer] Adagrad (epsilon=1e-09)
I0124 05:58:27.680240 12682 Train.cpp:463] [Criterion Optimizer] Adam
I0124 05:58:27.759284 12682 Train.cpp:1000] Shuffling trainset
I0124 05:58:27.759552 12682 Train.cpp:1007] Epoch 1 started!
F0124 05:58:34.336992 12682 Train.cpp:1089] Loss has NaN values. Samples - train-clean-100-103-1240-0007
*** Check failure stack trace: ***
@     0x7fdac0b5e0cd  google::LogMessage::Fail()
@     0x7fdac0b5ff33  google::LogMessage::SendToLog()
@     0x7fdac0b5dc28  google::LogMessage::Flush()
@     0x7fdac0b60999  google::LogMessageFatal::~LogMessageFatal()
@     0x55e01f31e124  (unknown)
@     0x55e01f324541  (unknown)
@     0x7fdab47f6bf7  __libc_start_main
@     0x55e01f31913a  (unknown)
Aborted (core dumped)

Is there any error in the flags I'm passing cause I've tried changing files but every time it will show some other file name and will break again.
Please have a look in this.

Thanks for the reply @tlikhomanenko . So I changed my command to this -->
build/bin/asr/fl_asr_train fork /root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.bin --flagsfile= --tokens=/root/flashlight_explore/w2l/am/tokens.txt --arch=/root/flashlight_explore/am_conformer_ctc_stride3_letters_25Mparams.arch --rundir=/root/flashlight_explore/save_model/ --train=/root/flashlight_explore/w2l/lists/train-clean-10.lst --valid=/root/flashlight_explore/w2l/lists/dev-clean-10.lst --batchsize=1 --lexicon=/root/flashlight_explore/w2l/am/lexicon.txt --enable_distributed=false --lr=0.0001 --lrcrit=0.0001 --logtostderr=1
Not getting the previous error anymore, but now the code is breaking after giving this message:

I0124 05:58:27.639622 12682 Train.cpp:428] [Network Params: 27736863]
I0124 05:58:27.639755 12682 Train.cpp:429] [Criterion] ConnectionistTemporalClassificationCriterion
I0124 05:58:27.680217 12682 Train.cpp:462] [Network Optimizer] Adagrad (epsilon=1e-09)
I0124 05:58:27.680240 12682 Train.cpp:463] [Criterion Optimizer] Adam
I0124 05:58:27.759284 12682 Train.cpp:1000] Shuffling trainset
I0124 05:58:27.759552 12682 Train.cpp:1007] Epoch 1 started!
F0124 05:58:34.336992 12682 Train.cpp:1089] Loss has NaN values. Samples - train-clean-100-103-1240-0007
*** Check failure stack trace: ***
@     0x7fdac0b5e0cd  google::LogMessage::Fail()
@     0x7fdac0b5ff33  google::LogMessage::SendToLog()
@     0x7fdac0b5dc28  google::LogMessage::Flush()
@     0x7fdac0b60999  google::LogMessageFatal::~LogMessageFatal()
@     0x55e01f31e124  (unknown)
@     0x55e01f324541  (unknown)
@     0x7fdab47f6bf7  __libc_start_main
@     0x55e01f31913a  (unknown)
Aborted (core dumped)

Is there any error in the flags I'm passing cause I've tried changing files but every time it will show some other file name and will break again.
Please have a look in this.

Now the problem that loss is Nan, you need to tweak the optimization parameters, try lower lr for example. Also could you post all log output (where flags are printed)?

Now the problem that loss is Nan, you need to tweak the optimization parameters, try lower lr for example. Also could you post all log output (where flags are printed)?

@MrityunjoyS any progress?

Sorry @tlikhomanenko , actually shifted my work on wav2vec2.0. Have kept this on hold for a while.


Implement DTLS restart

https://github.com/pion/srtp/pull/148 is needed before being able to merge
The unit test needs https://github.com/pion/transport/pull/141
Fixes #1636
I'm not sure about if t.state != DTLSTransportStateNew && t.state != DTLSTransportStateClosed, one other option would be to set the state to New before restarting, but I don't want to trigger a StateChanged event – which could be wrong.
Turns out that's what libwebrtc does
Also the condition on which DTLS is restarted might be too permissive – but it doesn't seem to break any test so far.

@Antonito This is absolutely amazing work, your PRs are the best I have seen in months. Gives me the energy to get back into it :)
I think we could make the test a lot simpler.

Create two PeerConnections and connect them.
Send one RTP packet
Create a new PeerConnection and generate an offer, and send it to one of the PeerConnections in the first flow.
Send one RTP packet

I think that gets us the coverage we need and keeps the LoC low still? Push back if I am wrong!

@Antonito This is absolutely amazing work, your PRs are the best I have seen in months. Gives me the energy to get back into it :)
I think we could make the test a lot simpler.

Create two PeerConnections and connect them.
Send one RTP packet
Create a new PeerConnection and generate an offer, and send it to one of the PeerConnections in the first flow.
Send one RTP packet

I think that gets us the coverage we need and keeps the LoC low still? Push back if I am wrong!

So, I tried to rewrite the unit test in a simpler way, and it uncovered several problems. I'm not sure if there are caused by the DTLS restart or were already there (I'm thinking the later, for most of them).

Sending a single RTP packet doesn't trigger an OnTrack event on the other peer. Sending two in a row doesn't either, but sending 1 / waiting a few ms / sendign another one works.
When ran multiple times in a row, the test sometimes logs pc ERROR: 2021/06/28 13:30:33 Incoming unhandled RTP ssrc(1595441956), OnTrack will not be fired. single media section has an explicit SSRC. I initially thought this was a difference in behavior with the test I already pushed (since with your method, the first peer connection doesn't go to disconnected or failed before the other one connects), but turns out it's also happening with this one – I just had lucky runs. It doesn't seem to be a race condition, tsan didn't detect anything.
I found out weird behaviors with DataChannels

I added a call to CreateDataChannel, behavior unchanged (as expected)
I then set an empty OnDataChannel callback -> this causes the test to sometimes hang (again I'm not doing anything more with DataChannels here)
I then tried to send data from ClientB and read with ClientA1 and ClientA2, sometime it hangs, but when it doesn't:

As expected, ClientA1 can read
After ClientA2 connects, ClientB tries to send data – which causes a io: read/write on closed pipe error log
ClientA2 can't read, since ClientB can't send anything (this is most likely an issue with DTLS restart)

I rewrote the unit test without pion/transport, and split it in two very similar tests, for debugging purpose:

TestPeerConnection_DTLS_Restart_MediaOnly
TestPeerConnection_DTLS_Restart_MediaAndDataChannel

Before merging, we should only keep TestPeerConnection_DTLS_Restart_MediaAndDataChannel.
SCTP restart is now implemented and DataChannels are re-opened, if needed.
There seems to be some kind of race condition, but I really don't think it's related to the stuff this PR modifies – I think the unit tests just show an already existing problem.
It's what I was describing above, and now have a bit more validation of what's really happening.
The TestPeerConnection_DTLS_Restart_MediaOnly behaves correctly, in go test. To make it work with tsan, I had to add an extra: https://github.com/pion/webrtc/blob/0d1e50c3d6cc904f52b596f9f8cd6906eb6e10c9/peerconnection_media_test.go#L1329
I think this is a consequence of the first point I was developing in my previous message (about RTP packets).
TestPeerConnection_DTLS_Restart_MediaAndDataChannel behaves correctly with go test, but hangs with tsan. I also tried to add a few extra RTP packets, but it doesn't change any thing. Somehow, the hang seems to be caused by the simple fact of calling CreateDataChannel and OnDataChannel.

Following up discussion with @davidzhao, I updated both this PR and https://github.com/pion/srtp/pull/148.
In order to get some progress on this, I think we should first focus on merging https://github.com/pion/srtp/pull/148 – we need to figure out @Sean-Der 's concerns about rolloverCounter and lastSequenceNumber. I was careful and really don't think this one introduces any security issue, but wouldn't mind a second opinion :)
As for this PR, it requires a bit more work, there are still issues with TestPeerConnection_DTLS_Restart_MediaAndDataChannel, and I'm far less confident about security issues here. Unfortunately I don't have much time to dedicate to this for now, I'd gladly welcome any help 😁

Thanks for picking this back up @Antonito! We'd love to collaborate on this. Will have a look in a few weeks.

hey @Antonito, do you still want to work together to get this in?


npm install vite dependency issue

It looks like this isn't currently compatible with Vite v5 which is what I got setup when using create-qwik.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-qwik-site-with-visual-cms@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/vite
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR<EMAIL_ADDRESS>npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!     peer @builder.io/qwik@">= 0.14.1" from<EMAIL_ADDRESS>npm ERR!     node_modules/styled-vanilla-extract
npm ERR!       styled-vanilla-extract@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^4" from<EMAIL_ADDRESS>npm ERR! node_modules/styled-vanilla-extract

should be ok in 0.5.13


New icons

Divided original logo image into:

background (just purple)
foreground (letter 'F' in vector format)
monochrome (for android 12+ themed icons)

And regenerated all icons using new layers.

Great!

Danke!!!


ImportError: No module named paths

raceback (most recent call last):
File "laser.py", line 78, in
from inkex.paths import CubicSuperPath  # noqa
ImportError: No module named paths
this is the error what i have
Originally posted by @jithivk in https://github.com/JTechPhotonics/J-Tech-Photonics-Laser-Tool/issues/2#issuecomment-653009725

If anyone encounteres this error, you are probably running running the latest version of the extension on an old version of Inkscape (0.9 or below). If upgrading Inkscape or downgrading the extension does not resolve the error you can open a new issue. If you don't know what to do it's okay to comment here and someone will help you out.


[SQL-DS-CACHE-24][POAE7-893] HCFS library for cache locality in APE

What changes were proposed in this pull request?
add a HCFS (Hadoop Compatible File System) library which wraps HDFS data accessing and provides locations of cached data.
How was this patch tested?
integration tests

@winningsix @jikunshang @xieqi Please take a review, thanks.


Audio guides: Readying prototype for testing

Background
Creating a live prototype to align the online and offline experience for those visiting exhibitions. The prototype needs to be able to demonstrate different exhibitions and different tour types within those exhibitions.
The prototype will show 4 different tour types :

An audio tour without descriptions
An audio tour with additional audio descriptions
BSL content
Gallery captions and transcriptions of gallery content

Prototype goals
We need to confirm whether the language used to describe tour types is understandable to users
Confirmation that the journey makes sense to users
That visitors would want the content described within the prototypes
That the prototypes make sense to those using accessibility tools

Waiting for testing results to come in.


Unable to install Toolbar Controller

Pinged HebaruSan in the forum already but for the sake of completenes, here is the actual issue:
Background
CKAN Version:
1.25.4
KSP Version:
1.6.1
Operating System:
Win10 x64 Pro
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Affected mods and mod versions:
Toolbar Controller <IP_ADDRESS>
Problem
What steps did you take in CKAN?
I've tried to install Toolbar Controller
What did you expect to happen?
CKAN should install the mod
What happened instead?
CKAN throws an error:
CKAN.InvalidModuleFileKraken: ToolbarController 1:<IP_ADDRESS>: C:\Users\cheesecake\AppData\Local\Temp\tmpA27A.tmp has length 103767, should be 103763
bei CKAN.NetModuleCache.Store(CkanModule module, String path, String description, Boolean move)
bei CKAN.NetAsyncModulesDownloader.ModuleDownloadsComplete(NetModuleCache cache, Uri[] urls, String[] filenames, Exception[] errors)
Background
Toolbar Controller got an update to fix an issue with the .version file. If I understood it correctly, the previous version didn't got a full release but just an .version file update to support KSP 1.6.0 so basically, it was still version <IP_ADDRESS> but the .version file said it is <IP_ADDRESS>.
Now, Toolbar Controller actually got a full release, still listed as version <IP_ADDRESS> but with different content.
Forum posts related to this issue:
https://forum.kerbalspaceprogram.com/index.php?/topic/169509-151-toolbar-controller-for-modders/&do=findComment&comment=3542866

Unfortunately this isn't something I have access to fix.
@techman83 , can you please purge this file from the bot's cache?

3BCE0BBA-netkan-ToolbarController.zip

Done!

Thanks! Latest data looks good.
https://github.com/KSP-CKAN/CKAN-meta/commit/633fb804f4bab9f520cf474462f90788247a979d


Blog - Markdown command on the blog preview

On the blog preview, you can see the Markdown command.
After the sentence in italic, you can see [ *Yemen ....
[ *  this is part of the markdown command to have a link in italic

@ValeErre87 : Thanks for pointing it out. I have fixed this with a rather hacky way. (Added as many "new lines" before the violating block of markdown as there characters that appear on screen) . I will soon push a better and more general fix for this which solves this and a few other problems that I know this might cause in the future. Lets have this issue open till then.

Thanks Mohanty, and sorry if I got back to you so slowly!


Top repository ranking is wrong order.

Hi. your widget is great!!
But I think the top repository ranking logic has a bug...
This is my HP with your widget.
http://atsushisakai.github.io/
You can see the top repository is cpp, and it's star number is 18.
However, I have a repository that have 27 stars..
https://github.com/AtsushiSakai/MATLABRobotics
I think the repo should be the top of the ranking.
Thanks.

@AtsushiSakai Does #21 resolve this issue?

@andrewgaul
Oh. Thanks you for your comment.
You are right. If the code in GitHub is used, it works correctly.
I think the code on CDN is not updated...
<EMAIL_ADDRESS>Thank you for your help!!.
Atsushi


Feat: Page history and page forward/back actions

Added page history so that each time a device changes page it is recorded. Also added a Back and Forward option to the set page action, this allows traversing back/forward through that history on the current device, or another selected device.
Currently the history limit is set to the last 100 pages, this is just an arbitrary number set to prevent the history array growing without limit and can be adjusted as needed.
Resolves https://github.com/bitfocus/companion/issues/1330

Amazing work, thank you so much on behalf of the community & operators!


Display seconds in SMB wait time

Because x.y minutes bugs me :P
Still need to check the regex stuff works properly and sort out tabs vs spaces - don't merge yet, I created this PR already in case anyone wants to comment.

Ready to test and merge now?

Think so, yup.


Optimization for batched processing

Extract the batched processing loop to a new function (e.g. compute_stats_batched), and decide the function branch to be called when processing data.
Pros:

No need to modify each OP to support batched processing. Only need to set the arg _batched_op to True for each OP.
Developers can add new OPs in a single-sample-dict way, which is more friendly.

Cons (for now):

Slightly slower data processing: 4 scenarios were tested and the results are shown below:

Scenario
OPs
Before
After

Simple Filter
text_length_filter
4.850s
5.340s (+10.10%)

Simple Mapper
whitespace_normalization_mapper
12.145s
12.575s (+3.54%)

With context (OP fusion)
word_num_filter & word_repetition_filter
80.456s
87.315s (+8.53%)

With rank (Model-based OPs)
image_text_similarity_filter
562.586s
590.502s (+4.96%)

Please sync the main branch.


upgrade from xgboost0.4a to xgboost0.47

Hello Experts,
Hope you are doing well....
Need a help in upgrading xgboost 0.4a to xgboost0.47 (as in my current version xgboost.cv doesnt have elapsed time and some important parameter) on windows 10 64 bit python 2.7. I tried to update but i loop back to same version. Please let me know how to upgrade

please manually remove the pip installed xgboost 0.4a by deleting files like ./anaconda/lib/python2.7/site-packages/xgboost*


Support for GEOFILTER

Hi,
Would like to have support for GEOFILTER while doing search.
Thanks,
Giri

Thanks for the contribution. I'll add this to Mesclun which is where the lettusearch client lives now: https://github.com/redis-developer/mesclun


Issue marked.js

Error when importing and viewing in the browser:
Error compiling: Could not resolve import "marked/lib/marked.esm.js" in "./node_modules/api-viewer-element/lib/lib/markdown.js".
It seems that there is only the marked.js

Are you using any development server that handles ES modules, like es-dev-server?
If not, you would need one to use this component. The component is using bare module imports, which need a transform in order to run in browser. And es-dev-server is doing exactly that.

yes I was using es-dev-server with the node-resolve / watch / followsymlink parameters

Could you please provide a version that you have installed?  You can check it like this:
$ npm list marked
<EMAIL_ADDRESS>/Users/sergey/cf/api-viewer-element
└──<EMAIL_ADDRESS>
The api-viewer-element depends on marked 0.8.0 which contains ES module version.

Starting from 0.5.0 we use a version of marked which has "module" entrypoint so it should work. Closing.


Remove TF2 model

This removes the TF2 model.  To access the TF2 model at its last working commit, use the branch tf2.
I removed the tf2 directory, all the old tf2 testing code, any tf2 code in the predict server, the g2t-train entry point, and a number of python dependencies which are no longer needed.
I checked that the tests still work, and that the g2t-server still works (on the tfgnn model).   Nonetheless, it is possible I deleted some transitive dependency that is used in some obscure part of the code, so if we notice that, we can add it back into setup.py.  I didn't touch the notebooks, since I think we have decided they are not worth keeping up-to-date.

Perhaps it's a good idea to tag the tf branch, so that we can always find ourselves back to a working state of it?

Perhaps it's a good idea to tag the tf branch, so that we can always find ourselves back to a working state of it?

Should we call the tag tf2, or do you have a suggested naming scheme?

I'd say something like last-working-tf2. Whatever. And perhaps also document somewhere (perhaps in the tag commit message) what the known working commit of coq-tactician-reinforce is.

Also, the README is in need of updating.


Fix Suricata rules Download links

Hello,
From:https://github.com/secureworks/dalton/blob/master/app/dalton.py#L124
Link: https://rules.emergingthreats.net/open/suricata-1.3/emerging.rules.tar.gz

should be: https://rules.emergingthreats.net/open/suricata-4.0.0/emerging.rules.tar.gz

this link not working

Thanks.  This functionality and download is provided as a convenience so that there are rulesets when someone starts up Dalton for the first time.  Ultimately, users should be populating and curating the rulesets according to their needs; see https://github.com/secureworks/dalton#adding-rulesets.
I'll update to use the suricata-2.0 ruleset since that is the new lowest common denominator. See #78


Register version v0.4.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/48328
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.0 -m "<description of version>" eacb8d535346360e3ca0408b0bb16a4038c232ed
git push origin v0.4.0


New cilium encrypt subcommands for managing keys

In our IPSec documentation, we tell users that they should rotate their keys, and provide a handy but ugly shell script to do that.
It would be better if we had a command like: cilium encrypt rotate-keys that took care of this for the user.
Additionally, although perhaps less important, it would also be good to have cilium encrypt key-status that would print the data of the keys in use rather than having to use commands like kubectl get secret -n kube-system cilium-ipsec-keys -o go-template --template={{.data.keys}} | base64 -d.

Hi, Can i pick up this issue?
/assign @chaunceyjiang

This should actually have been in the cilium repo, as cilium encrypt is part of the in-agent cilium cli, rather than the external cilium cli. Sorry about the confusion.

Hi @aanm @margamanterola, I have a question. Why can't we add this command in external cilium cli? Instead, why do we need to add it in the in-agent cilium cli?
From the official documentation, it seems like this sub command is meant to be used external cilium cli .
https://docs.cilium.io/en/stable/security/network/encryption-ipsec/#key-rotation.
KEYID=$(kubectl get secret -n kube-system cilium-ipsec-keys -o yaml | awk '/^\s*keys:/ {print $2}' | base64 -d | awk '{print $1}')
if [[ $KEYID -ge 15 ]]; then KEYID=0; fi
data=$(echo "{\"stringData\":{\"keys\":\"$((($KEYID+1))) "rfc4106\(gcm\(aes\)\)" $(echo $(dd if=/dev/urandom count=20 bs=1 2> /dev/null| xxd -p -c 64)) 128\"}}")
kubectl patch secret -n kube-system cilium-ipsec-keys -p="${data}" -v=1

cc @cilium/sig-encryption

@chaunceyjiang A Cilium CLI command would be more appropriate in my opinion as well.

@chaunceyjiang Because external cli relies on external binaries which may behave unexpectedly on different platforms. For example, macOS awk vs GNU/awk.

Sorry, I had drafted an answer to this last week, but forgot to hit send. Yes, a command in the external CLI would be nicer (that's why I had originally filed this issue there), but currently only the internal one has the encrypt subcommand.
I guess we could add a new encrypt subcommand to the external CLI. We probably also want an encrypt status subcommand there, that covers the status of the overall encryption feature (although that's a separate work item).
And Grey does have a point that we would need to figure out how to do the key rotation in a way that works regardless of the OS.

I guess we could add a new encrypt subcommand to the external CLI. We probably also want an encrypt status subcommand there, that covers the status of the overall encryption feature (although that's a separate work item).

+1

Yes, that's on the list of retrospective items from recent IPsec bugs. I'll probably get to it in the coming weeks if nobody does before.

I think we should open a new issue for this task, and I can attempt to complete it.

I've raised PR to address the issue: https://github.com/cilium/cilium-cli/pull/2266
CC: @margamanterola

Thanks for getting this done, Viktor! :tada:


Fix Maven API calls to include organization in package name

Change the default behavior of the Maven external ref parser to use the organization name in the OSV package name
Signed-off-by: Gary O'Neall<EMAIL_ADDRESS>

Note: This PR also fixes a bug where a . was used instead of : to separate the org from package in the maven package name.


Properly Handle Duplicate Kwargs

def print_kwargs(**kwargs):
    print(kwargs)

print_kwargs(**{'a': 'a', 'a': 'b'})

This works in python, but not when compiled with Cython. I think it might have something to do with the way kwargs are unpacked.
It's good to point out that this is illegal in python, and will raise a SyntaxError(keyword argument repeated):
print_kwargs(a='a', a='b')
Also worth pointing out that, Interestingly enough, this works the same in python as in cython:
print({'a': 'a', 'a': 'b'})
printing {'a': 'b'}

One one hand, I believe I've run into this issue in another function call in my own code that's basically as follows:
objecttype(**{**parameterdict, 'overwrittenparameter': x})

TypeError: function() got multiple values for keyword argument 'overwrittenparameter'
But on the other hand, I can't seem to reproduce it using an inline Cython version of the example in the OP:
>>> cprint_kwargs=cython.inline("def f(**kwargs):\n print(kwargs)\nreturn f")
>>> cprint_kwargs(**{'a': 'a', 'a': 'b'})
{'a': 'b'}

I wonder if Python is handling the kwargs before calling the the function? Can you inline a call to the function?

Ah, yeah. The dictionary and keyword arguments would have probably been processed and consolidated completely by CPython before being passed into the Cythonized bits.
Inlining the function call does produce the broken result:
>>> cython.inline("def f(**kwargs):\n print(kwargs)\nreturn f(**{'a': 'a', 'a': 'b'})")
TypeError: function() got multiple values for keyword argument 'a'

Wrapping the dictionary in any kind of code that constructs a new dictionary does make it work however:
>>> cython.inline("return (lambda **kwargs: kwargs)(**{'a': 'a', 'a': 'b'})")
TypeError: function() got multiple values for keyword argument 'a'
>>> cython.inline("return (lambda **kwargs: kwargs)(**dict({'a': 'a', 'a': 'b'}))")
{'a': 'b'}

But I do find this a little strange, as I'd naively expect the original example to just call the dictionary constructor and unpackers?

print_kwargs(**{'a': 'a', 'a': 'b'})

You didn't say what kind of error you got for this, but my quick guess is that Cython detects that this is redundant and replaces it with (essentially)

print_kwargs(a='a', a='b')

which then is illegal. I'm wondering, though: what is the use case for this?

It was the TypeError: function() got multiple values for keyword argument 'a'
I hit it with an external library where one class called super and set a kwarg. The parent class then called super as well, trying to set the same kwarg, if one wasn't set already. Instead of using setdefault, it did something like super(**{'a': 'a', **kwargs}), but since that works in cpython, there's no need for the author to have thought twice about their implementation.

Thanks for the detailed bug report. I deoptimised this case since it wasn't a correct transformation.


Move JSON utils into their own library

Towards https://github.com/GoogleCloudPlatform/functions-framework-dart/issues/100

I think we should be able to handle different content types like "application/json+cloudevent", that is seen some places, otherwise lgtm

Oh! Uh...wanna file an issue for this?
application/jsonthewire is not good though, right? It should only be application/json?:(\+[^\s]) or...something

The spec has more details
https://www.github.com/cloudevents/spec/tree/v1.0.1/http-protocol-binding.md
3.2.1

https://github.com/GoogleCloudPlatform/functions-framework-conformance/issues/61
On Fri, Dec 18, 2020 at 9:02 AM Grant Timmerman<EMAIL_ADDRESS>wrote:

The spec has more details
https://www.github.com/cloudevents/spec/tree/v1.0.1/http-protocol-binding.md
3.2.1
@kevmoo https://github.com/kevmoo
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/functions-framework-dart/pull/99#issuecomment-748206606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEFCQFRAPLXARKYNBG3N3SVODLLANCNFSM4VBKEW3Q
.


Statement-level callbacks: before, after and after error

As I've been unable to find a way to process multiple queries with a single Statement in Oracle with JDBC, I assume that for Oracle somewhere in Flyway each *.sql file is parsed into a Collection of Statements before being executed one-by-one (in JdbcTemplate oder?).
If that is the case, it would be nice to have yet another pair of FlywayCallback methods...
before/afterEachMigrateStatement, say
...to handle each Statement.
The signature should be something like:
void beforeEachMigrateStatement(Connection con, MigrationInfo info, ?String? statement);
A Statement-level Error Callback similar to that described in Feature Request #1283 would then be quite useful too...

What exactly is your use case for this?

Unfortunately it's nearly 2 years since I submitted the request & I haven't worked with flyway since.
As far as I recall, the main use I had at the time was Logging.
But I can imagine there may well be other use cases.

@DanskerDave Thanks. I'm closing this now since there hasn't been anybody else in this time needing this.

This has now been implemented with 6 new callbacks:

beforeEachMigrateStatement
afterEachMigrateStatement
afterEachMigrateStatementError
beforeEachUndoStatement
afterEachUndoStatement
afterEachUndoStatementError

They allow for

statement validation against rules (no grants for example)
regular maintenance after specific statements
overriding errorhandling of specific statements


Serial debug not working in blinky example

The serial console is not initialized/working in the blinky example.
This is very important, because the blinky is the baseline project
for most projects one might start.
Would be great if it also printed "Blink!" on the serial console.

Yes it can be improved like in your proposal
Note: I plan a refactor of log_xxx API too see https://github.com/hydrausb3/hydrausb3_fw/issues/4
In future I want to push more towards SerDes for traces which is unique feature to avoid slow UART
So it can be added with UART today(especially in HydraUSB3_Blink_ULED example) and write other examples with traces over USB3, SerDes or even HSPI

PR is welcome (like that you can do like you wish thanks to keep it simple)

Fixed in commit https://github.com/hydrausb3/hydrausb3_fw/commit/efb70146722aece07f14af2266381314ba90f7cc any feedback is welcome


Profile of Logged in User (html)

I can make it similar to the react js branch. Check issue #22 for template.

Okay you can work on this


Flutter engine should use CPU affinity on Android for better performance

Even on simple apps on Android (like the inappropriately named complex_layout), we seem to occassionally drop frames on the UI thread every so often (Impeller or Skia).
At first I thought it might be a GC or something like that, but looking at perfetto traces I can see that some times the UI thread ends up running on the slow cores of the Pixel 6 Pro 2.80 GHz -> 1.80 GHz . For the scrolling apps that seems to be OK sometimes, unless perhaps some new item needs to be laid out and rendered and then we end up dropping the frame.
Perfetto Trace

Release Mode Performance Overlay

The Pixel 6 Pro that I'm using, and many other Android devices use the Arm Big.LITTLE CPU architecture: About half of the cores are "efficiency" cores and are significantly slower ~50% than the other half of the "performance" cores. While the Flutter engine does set priorities of its worker threads to appropriate levels, this does not seem sufficient to ensure that UI/raster workloads are only run on the performance cores.
Furhtermore, the engine uses the concurrency level in many places (IO/Raster worker count) where it would be more appropriate to use the number of fast/slow cores - or about half the concurrency level. This may ultimately be the cause of issues like https://github.com/flutter/flutter/issues/132690 and https://github.com/flutter/flutter/issues/129392 , but this needs more investigation.
CPU/Thread Affinity Masking
We can force the UI/Raster threads to only run on certain CPUs via
in android_shell_holder.cc
      cpu_set_t set;
      CPU_ZERO(&set);
      CPU_SET(6, &set);
      CPU_SET(7, &set);
      if (sched_setaffinity(gettid(), sizeof(set), &set) != 0) {
        FML_LOG(ERROR) << "Failed to set affinity";
      }

This takes advantage of the fact that I can 1) get the CPU count from sched_getaffinity and 2) am making an assumption that the large CPU indexes are the faster cores. The result of making this change to both Raster/UI threads is that the max UI thread time reported on complex_layout app is about 1/3rd what it used to be:

The Dart VM is already parsing cpuinfo here: https://github.com/dart-lang/sdk/blob/main/runtime/vm/proccpuinfo.cc
Maybe we can use this to pull out CPU frequency and select the high frequency cores?

I looked into the image decoding issue and found that the I/O tasks are often running on the fast cores. This might be due to the fact that we schedule 8 concurrent, where there are only 4 slow cores, and then never set thread affinity for them.

https://screenshot.googleplex.com/4FHurYtKmyrWB57

1|cheetah:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
1803000
cheetah:/ $ cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq
1803000
cheetah:/ $ cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq
1803000
cheetah:/ $ cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq
1803000
cheetah:/ $ cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq
2348000
cheetah:/ $ cat /sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_max_freq
2348000
cheetah:/ $ cat /sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_max_freq
2850000
cheetah:/ $ cat /sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_max_freq
2850000

Oooooooh

This has landed an led to substantial 90, 99, and worst frame time improvements across the board:
https://flutter-flutter-perf.skia.org/e/?keys=Xd5c51a50276b0fa3f7e3cc3a8df4333a&selected=commit%3D36921%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DPixel_7_Pro%252Cdevice_version%253Dnone%252Chost_type%253Dlinux%252Csub_result%253Daverage_frame_build_time_millis%252Ctest%253Dimagefiltered_transform_animation_perf__timeline_summary%252C&xbaroffset=36927

Reopening as there is p


Add /etc/hosts bot

/etc/hosts bot is a static dns generator bot. Used for some countries that has firewall blocked the domain.

Oops. A false approve. But I think I can handle it.


FE: browse page still exists

The browse page still exists (you can get there from a mint), but it does not match up with the cards UI.

Ahh, good catch.


Unable to build on Windows 11

I have tried these steps,

Getting this error
MSB4018: The task failed unexpectedly

Can you please help me with the steps to resolve this?

I have retargetted the solution to the latest versions and got into this error now

What version of Visual Studio are you using? It might be related to #8
The current packaging method is a little bit tricky, so the latest version of Visual Studio might not work.
Last tested working Visual Studio versions are v16.9 and v17.0 (preview 4.1)
I am recently working on #9, which will refactor the project into a single Win32 app and solve #8.

@BestOwl Thank you for the update. Any timeline for #9 ?
Also I want to contribute to this repo, any guidelines or documentations to begin with?

@BestOwl Thank you for the update. Any timeline for #9 ? Also I want to contribute to this repo, any guidelines or documentations to begin with?

I will try to prepare some documents tonight.

For #9, maybe mid June.

@pvsvamsi I just updated the README in the 9-win-app-sdk branch, you may now follow the guide to build this project.

@BestOwl I'm getting this error now

You need to install the single project MSIX VS extension
https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/single-project-msix?tabs=csharp#install-the-single-project-msix-packaging-tools

@BestOwl It's working now. Thank you

For #9, maybe mid June.

Forget about this timeline. I spent some time working on this over the past few days. By now, all existing features from the original UWP app have been implemented.

Since the problem has been resolved, this issue will be closed.
BTW, I just added a GitHub Action CI to ensure the app can be built successfully.

Call functionality is not working from the UI (tried from Call tab, Debug mode) with ios 15.4.1
How to generate the executable file from this repo?

In debug mode, do you see any phone line GUIDs?

If so, please select one, and then press the call button below

When you build, executable will be generated in MyPhone\bin\x64\Release\net6.0-windows10.0.19041.0\win10-x64.
However, you can not launch the executable directly because WinUI 3 apps currently need to run inside the MSIX app container.

In debug mode, do you see any phone line GUIDs?
If so, please select one, and then press the call button below

I'm not able to see any phone line GUIDs

In debug mode, do you see any phone line GUIDs?
If so, please select one, and then press the call button below

Not it's not visible. But call are getting connected from the PC if directly initiated from the mobile

When you build, executable will be generated in MyPhone\bin\x64\Release\net6.0-windows10.0.19041.0\win10-x64. However, you can not launch the executable directly because WinUI 3 apps currently need to run inside the MSIX app container.

Any other way to share the build with other pc?

To share a build with other PC, you have two options:

In Visual Studio, right click the MyPhone project, then click Package and Publish > Create App Packages
Download CI build directly from Github Action in this repo. For example, open the latest action run here https://github.com/BestOwl/MyPhone/actions/runs/2324753782, then scroll down to the bottom and download the artifact

@pvsvamsi Sorry, I didn't have time to provide a complete contributing guideline and document, I am currently busy working on the first beta release. Anyway, which feature would you like to contribute? If you have any questions regarding contributing, I can answer them right now.

@BestOwl I don't have experience in developing windows applications. Can you point me towards starter guides for the same?

@pvsvamsi You will need to learn the following to get started:

C#
WinUI 3 / XAML
Here is a book https://www.packtpub.com/product/learn-winui-3-0/9781800208667
You can also refer to UWP, WPF, or Xamarin guide because they use similar XAML to create UI.
MVVM pattern
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/enterprise-application-patterns/mvvm


chore: dedupe project entries in oss-directory

What is it?
A few duplicates seem to have popped up in OSSD after recent bulk imports:
with cte as (
  select
    artifact_id,
    array_agg(distinct(project_name)) as projects,
    count(distinct project_name) as num_projects
  from `oso.artifacts_by_project_v1`
  where artifact_source = 'GITHUB'
  group by 1
  order by 3 desc
)
select * from cte where num_projects > 1

Here is an export from this query.

https://github.com/opensource-observer/oss-directory/pull/595