[otbn] Overwrite DMEM contents using new scrambling key before RMA entry

Description
As suggested in https://github.com/lowRISC/opentitan/issues/17944#issuecomment-1516533570 and agreed in a meeting on THU Apr 20, we want to change the RMA entry routine of OTBN medium term to not only switch the scrambling key as during regular secure wipe, but to also overwrite the current DMEM contents using the new scrambling key. This helps to improve security. For a detailed analysis from a security viewpoint, refer to https://github.com/lowRISC/opentitan/issues/17944#issuecomment-1516233498.
Notes:

This is not strictly required for M2.5 but we would like to add this soon after. For now, I've assigned myself and @andreaskurth to make sure we don't forget about it.
Overwriting with anything, even a fixed value should be fine.
We were also thinking about adding the overwrite routine to the scrambled memory primitive together with a 4-phase handshake protocol.
It is understood that we the regular secure wipe shouldn't get any slower because it's used very frequently. The goal is really to just trigger this overwrite upon RMA entry. For details, see https://github.com/lowRISC/opentitan/issues/17944#issuecomment-1517488373.

@msfschaffner @johannheyszl @moidx @alphan @GregAC

Thx.
Later and before a change, it might be worth checking, how likely or feasible it is that OTBN has executed crypto on private keys last before the RMA-triggered wipe.

The topic was also discussed in #13546

as per offline discussion with @vogelpi:

Even the best possible attack (here) is not effective. Only parts of the last DMEM content before rma ENTRY can be recovered with high effort and only with possession of RMA tokens.
We recommend closing the issue

Thanks for the analysis - closing as per recommendation.
CC @moidx


Remove agent status field in database

Remove status field in database and get it from hazelcast distributed map

LGTM


[BUG] Joystick not appearing in correct location when used in the svelte framework

Describe the bug
When nipplejs is used in svelte, the joystick does not appear in the correct div "zone". Instead is appears on the top left of the page.
To Reproduce

create a svelte project
import nipplejs into svelte
add a div inside of the page
attempt to attach the "zone" using bind:this on the desired svelte component within onMount

Expected behavior
I would expect the joystick to appear where the click occurs
Screenshots, Codepen or JSFiddle
I created a REPL replicating the issue here by manually copying each file in nipplejs.
https://svelte.dev/repl/202b5c890c9849b5be8e8ec13b36532d?version=3.46.4

Desktop (please complete the following information):

OS: [windows]
Browser [chrome]
Version [98.0.4758.102 (Official Build) (64-bit)]

Additional context
I am new-ish when it comes to svelte so maybe there's a better way to link to elements.

I found a resolution by calculating the bounding box of the parent.
This was done by changing lines ~125-130 of collection.js in function createNipple :
    var zone = self.options.zone;
    var parentRect = zone.getBoundingClientRect();
    console.log(parentRect.top, parentRect.right, parentRect.bottom, parentRect.left);

    if (position.x && position.y) {
        toPutOn = {
            x: parentRect.left + position.x -
                (scroll.x + self.box.left),
            y: parentRect.top + position.y -
                (scroll.y + self.box.top)
        };

Before I go through the effort of making a pull request, I just want to check in with people who know this project better than me to make sure this is a sensible solution that won't cause weird edgecases. I don't really understand the expected behavior or when position.x and position.y will be falsy so I don't know if parentRect.left & parentRect.left should be added in the other cases as well.
Here's a repl of the full code with changes working as expected: https://svelte.dev/repl/bbd65fbe0e5b4898a291e924dfb51db0?version=3.46.4

Thanks for the details and the repro!
The issue with your solution is that we're computing and using parent's position twice (see parentRect.top and self.box.top).
I think everything resides on how the position of the zone is computed by the browser, due to display: flex.
Basically, if you removes the + self.box.top and + self.box.left from the initial code, you'd fix the issue in your context.
But, we have to understand why it's doing that when using display: flex.
I'm checking a bit more.

Create https://github.com/yoannmoinet/nipplejs/pull/182, let me know if that fixes your issue.

Released in v0.9.1

this still doesnt solve the problem unfortunately


Is Argus PT working?

I doesnt find anything to the Argus PT Camera.
Is with Solar and works with android app. But i dont get access to it with the local IP Address that i find in my fritzbox

not supported, sorry.


Use typography from ThemeData in SnackBar

Eliminates hardcoding of Typography.white in favour of picking up the
platform default typography from ThemeData.


Dynamic refreshing of question content in question lists

Previously, if the question text or select options for one question in a question list were dependent upon the answer to a prior question in the group, the question text / select options would NOT get updated when a user changed their answer to the prior question. This fixes that.
cross: https://github.com/dimagi/commcare-odk/pull/762

@amstone326 this looks fine to me. Left a question in the android PR and can pull afterwards


Typoの修正

Deploy preview for js-primer ready!
Built with commit 53901a5deb20980abd68cd1c68ee16d4a40c9b66
https://deploy-preview-414--js-primer.netlify.com


[zh] translate blog "Don't Panic: Kubernetes and Docker"

translate /blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md
close #26502

A few small suggestions - I hope these are useful.

sure, it helps me. Thanks a lot.

Good job ! Thank you for your contribution and a little suggestion for you.

review的非常详细，谢谢你的建议。

/lgtm
thank.


Element-wise product

I think you're forgetting the element-wise product in the IQN paper, am I wrong? At the end of the first paragraph of section 3.1

Please refer here.
https://github.com/ku2482/fqf-iqn-qrdqn.pytorch/blob/11d70bb428e449fe5384654c05e4ab2c3bbdd4cd/fqf_iqn_qrdqn/network.py#L173


ci: configure Windows+CMake build

Use vcpkg overlays to define our own versions of protobuf, googleapis,
and google-cloud-cpp-common, as the versions currently in vcpkg are too
old to develop Cloud Pub/Sub. As vcpkg gets recent enough versions of
these packages we can remove the overlays from our code.
This is part of the work for #12

This change is

Ping.


Reenable occlusion in the directory table once it's out of beta

The occlusion feature is causing issues with custom cell components not updating correctly. It's still in beta so once it's fully released, we can try reenabling it.

https://github.com/yavin-dev/framework/blob/044b09d877ad48d4f3cbf5a0cf9f4bf5505b961f/packages/directory/addon/components/dir-table.hbs#L7


Fix responsive mobile breakpoint graphs in Analysis

In this PR I have solved the problem commented in my last PR (#2360) related to Analysis.
Now, when we resize the screen using the mobile breakpoint, the graph height will adapt to the window.

@brifemu
I have verified this successfully! 👍🏻
In Google Chrome with the browser window full height and 1/3 screen width:

Open http://localhost:8000/en/analysis/
Scroll down to Downloads
Click full-screen icon
Graph fills window and displays correctly. There is no vertical scroll-bar.
Drag bottom of window upwards to resize to smaller height.
The graph resizes and displays correctly.

Link back to issue #2321.


tfsec: init at 0.12.2

Motivation for this change
Add https://github.com/liamg/tfsec
Things done

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

[X] NixOS
[X] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

Builds, binary works, macos 10.13


Modify the effective detection range of the depth camera

The current effective detection distance of the depth camera is 1000m, and I need to modify the maximum detection distance of the depth camera to 5000m in the scene I built myself, how should I change it? I didn't find the corresponding algorithm logic in the depthcamera.cpp of the Carla source code, where should I make the corresponding changes?

DepthCamera uses the depth buffer of Unreal Engine itself. You can find depth values in post process materials at
/Carla/PostProcessingMaterials/DepthEffectMaterial


Sections for channel

Instead of having to scroll through each message, would it be possible to have sections within the channel

You can send general suggestions at https://suggestions.telegram.org/.


Adding in new ticket redirect

Adding in a new redirect link to go to the ticket website for the new charlie and the internship lottery
https://www.iticket.co.nz/events/2022/aug/charlie-internship-lottery

tested on deployed and redirect worked


Postgres default value parsing regression

https://github.com/propelorm/Propel/commit/e2067a8c#L1R225
Introduces a regression bug in postgres "reverse" whereby:
phone        | character varying(20)    | default ''::character varying

turns into
<column name="phone" phpName="Phone" type="VARCHAR" size="20" required="false" defaultValue="'"/>

Notice the ' as the literal default value.
The bug was introduced when this bug was fixed (from trac) http://trac.propelorm.org/ticket/1150.
I'm not familiar with that situation so I can't even regression test a fix to be sure it doesn't break his.

Regression introduced in http://trac.propelorm.org/changeset/2022. Can a Propel dev with a pgsql install take a look?

By the way, the quoted changeset doesn't include unit tests. This is typically something that we must avoid.

Fixed.


[Discussion] Windows Support

Hello @rafaelsetragni. I'm opening this issue to start a discussion about what would be a minimally necessary implementation of a Desktop Windows version of this plugin.
I already got a lot working, but I want to know what would and what would not make sense to port as a first starting point.
This is the branch that I have that has most of the Android code ported to C++:
https://github.com/azchohfi/awesome_notifications/tree/windowsSupport
I'm using the Windows App SDK 1.1's ability to send notification (https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/preview-channel#notifications). This is still in preview, so we would only be able to merge this whenever WAS 1.1.0 is shipped as stable, but I already got some basic notifications working, on both packaged (leveraging the MSIX package) as well as unpackaged scenarios (simple exe).

Hi! I didn't research anything about notifications for desktop platforms (mainly windows), but i know it's possible. I was planning to start it only after the first 1.0.0 version be live (considering 0.7.X the last ones in development).
Share with me your current implementation and i will be able to evaluate what you did.

The code is all here:
https://github.com/azchohfi/awesome_notifications/tree/windowsSupport
I've ported the sample as too, so you can use it to test this out. Stick with unpackaged scenarios since there is still some work left on the msix extensions that needs to be completed in order for this to work. It is also much simpler to test. just run flutter run -d windows and it should work. Again, not everything is ported, but the basics are there.

Hello @rafaelsetragni. Did you have time to look at the code? Thanks in advance.

Ill take a look right now.

Hi! Sorry for taking so long to respond to your issue on GitHub. I was focused on releasing the new 0.7.0 version of awesome_notifications and awesome_notifications_fcm and i didn't had time enough to do both. But now I can answer all your questions.
So now i'm asking you to recreate this topic using the new issue template. There's a lot of missing informations that i need to understand your problem, and all the instructions are already in the new issue template. Also, remember to check beforehand if your issue was posted by another user.
So I will automatically close all previous issues so far.
Sorry for the inconvenience and i will be waiting for your new issue request.
Thank you so much for your support!

Looking forward to windows version support

We are waiting for this feature!


Expose a new externally-driven interface to the Planner

This is how you use it: given a planner: Planner<R>, loop through all its requests, fulfilling them and continuing onwards until it indicates that it is finished:
let mut step = planner.step_by_step(&chain_params, &fmd_params, fvk, source)?;
loop {
    match step {
        Step::Finished(mut plan) => return Ok(mem::take(&mut plan)),
        Step::Request { request, respond } => {
            let response: Vec<SpendableNoteRecord> =
                unimplemented!("get response for request"); // <-- USER OF API: FILL THIS IN
            step = respond.with(response)?;
        }
    }
}

Closing in favor of #1861.


createMiddlewareSupabaseClient does not return Session in Next.js middleware.

This boilerplate code does not currently work: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#auth-with-nextjs-middleware, with createMiddlewareSupabaseClient writing this error to terminal:
Failed to parse cookie string: [Error: The edge runtime does not support Node.js 'buffer' module. Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime]
In my project, which is currently using the most basic boilerplate from the docs and Auth UI, I can confirm that the session is being created on login, stored in a cookie, and accessible by other means such as useUser.

Duplicate of #497


Revert "App services sdk 0.17.0"

Reverts bf2fc6cc711aee1a0c2a/e2e-test-suite#305

Still not working will revert it again


Segmentation Fault in L3 microbenchmark

Hi, I am starting to use iBench, however when I run l3 microbenchmark, it gives segmentation fault  on an Intel machine at line 111 i.e.:
memcpy(block, block+CACHE_SIZE/2, CACHE_SIZE/2);

This is the error message when debugged:
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152

The program works fine on AMD machine.

Having the same problem here as well. Relevant CPU and kernel information below:

Having the same problem here as well. Relevant CPU and kernel information below:


Raspberry Pi buildsystem config

Adds build system configuration for Rpi2.
Still TODO is an automatic upload script based on SCP/rsync to push the executable to the RPi over the network in case of cross-compilation. The ADB way isn't working out since the RPi 2 doesn't emulate a USB gadget when connected to a PC.
Docs  :

http://dev.px4.io/starting-installing-linux.html
http://dev.px4.io/starting-building.html

posix_rpi2_default

triggers native build.
posix_rpi2_release

triggers cross-compiled build

I still need to do the RPi2-hardware page over at Devguide, so just hold on till tomorrow for that. It will include the OS image stuff and the native build dependency solutions.

Comprehensive docs are up : http://dev.px4.io/hardware-pi2.html

Awesome, thanks!

Cherry picked to master, great!


Evaluate register spill in SYCL kernel

🚀 The feature, motivation and pitch
The issue is about performance evaluation. A common performance tuning is to trad-off register usage and concurrency. From SYCL compiler log, we find some warnings about register spill. Need evaluation,

It is the last mile of performance. When we start to pursue peak performance, we should deep dive for it. So far, it is a low priority task.


generate audio file

Hello, good to see this repo! May I ask do you have a plan to incorperate a tool to generate audio file from text representation?

Currently, there is no plan for that but we are open to any suggestions or contributions.

Currently, there is no plan for that but we are open to any suggestions or contributions.

I am working on a python script to convert the output of this program into ABC notation which can be used to create midi files using the program abc2midi


Cross compiling for TARGET=VORTEX fails

getarch.c:1258:2: error: "The TARGET specified on the command line or in Makefile.rule is not supported. Please choose a target from TargetList.txt"

Thanks. Vortext is indeed missing among the FORCE_target defines, I'm preparing a PR already.


Querying blueprint downs my SailsJS API  - RangeError Maximum call stack exceeded

I have a SailsJS instance with blueprint actions on a few models running on top of Postgres.
I have a problem with one model in production that I don't have in development. I haven't yet tried to reproduce this with another DB or isolate this further but wanted to check here first with the community.
My location model is defined as follows
module.exports = {
  attributes: {
  	name: {
  		type: 'string'
  	},
    notifications:{
      collection: 'notification',
      via: 'locations'
    },
    topics:{
      collection: 'topic',
      via: 'location'
    },
    organization:{
        model:'sender'
    },
    subscriptions:{
      collection: 'subscription',
      via: 'location'
    },
    //we create the tree structure by defining superlocation attribute
    // which in turns makes a location the sublocation of it's superlocation
	  sublocations: {
	    collection: 'location',
	    via: 'superlocation'
	  },
	  superlocation: {
	    model: 'location'
	  }
  }
};

The queries are: /location?organization=1&populate=topics  or   /location?organization=1&populate=notifications
I get the following error a few dozen times and then my SailsJS crashes.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
RangeError: Maximum call stack size exceeded
However I don't get this error when I don't include the populate=topics parameter.
This is running on a 2 gigabyte ram VPS host (digital ocean) and I've validated that the memory usage is ~100 megabytes when SailsJS crashes.
So I am wondering. What could be recursive in regards to the "populate" command?
I don't suppose this is related to postgres since I am also running that in development.

Do you have populate=true in your config?

On Oct 22, 2015, at 10:25 AM, arnthorsnaer<EMAIL_ADDRESS>wrote:
I have a SailsJS instance with blueprint actions on a few models running on top of Postgres.
I have a problem with one model in production that I don't have in development. I haven't yet tried to reproduce this with another DB or isolate this further but wanted to check here first with the community.
My location model is defined as follows
module.exports = {
attributes: {
name: {
type: 'string'
},
notifications:{
collection: 'notification',
via: 'locations'
},
topics:{
collection: 'topic',
via: 'location'
},
organization:{
model:'sender'
},
subscriptions:{
collection: 'subscription',
via: 'location'
},
//we create the tree structure by defining superlocation attribute
// which in turns makes a location the sublocation of it's superlocation
sublocations: {
collection: 'location',
via: 'superlocation'
},
superlocation: {
model: 'location'
}
}
};
The queries are: /location?organization=1&populate=topics or /location?organization=1&populate=notifications
I get the following error a few dozen times and then my SailsJS crashes.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
RangeError: Maximum call stack size exceeded
However I don't get this error when I don't include the populate=topics parameter.
This is running on a 2 gigabyte ram VPS host (digital ocean) and I've validated that the memory usage is ~100 megabytes when SailsJS crashes.
So I am wondering. What could be recursive in regards to the "populate" command?
I don't suppose this is related to postgres since I am also running that in development.
—
Reply to this email directly or view it on GitHub https://github.com/balderdashy/sails/issues/3321.

No, populate: false

Solved this, I was running Node 0.10.25 in production and Node 0.12.7 in development. Upgrading to 0.12.7 solved this.

@arnthorsnaer as strange as this sounds, I think this might be related to Grunt.  Not exactly sure what would have been going on re: the timing, but just wanted to add that in case it helps anyone.  (could also be complete coincidence).
If anyone sees something like this again, please open a new issue and I'll take a closer look.


NGINX: use $remote_addr instead of $proxy_add_x_forwarded_for.

We don't terminate trusted client, so we shouldn't use client's
"X-Forwarded-For" header.

We don't terminate trusted client ...

We're terminating SSL traffic. Can you help me understand this comment better? Also, according to
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For X-Forwarded-For is recommend to retain original source IP when using LB

We're terminating SSL traffic. Can you help me understand this comment better?

Our NGINX instances are terminating traffic from the Internet (i.e. act as edge proxies), so we cannot trust value of the X-Forwarded-For header in incoming requests, since there is nothing stopping clients from sending requests with X-Forwarded-For: <IP_ADDRESS> header, and it's trivial for clients to spoof source IP this way.
If we propagate this value to the backends ($proxy_add_x_forwarded_for appends connecting IP to existing X-Forwarded-For value), then we're vouching for it, and all backends that trust us would accept this value and use <IP_ADDRESS> as client's IP.
That's why you always set this value at the edge, and append to it internally, when talking to trusted proxies.

Also, according to
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For X-Forwarded-For is recommend to retain original source IP when using LB

Yes, and we still send it.
Having said that, I'm pretty sure that none of the backends "trust" our instances, so this value is most likely ignored anyway.


feat: add spans to Trace::ExportError

This adds a spans attribute to SDK::Trace::ExportError, containing the array of spans that could not be exported. It refactors the BSP a little to ensure an array of Span rather than (sometimes) an array of SpanData is wrapped by the exception.
The intent is to allow a pluggable error handler to recognize the error type, retrieve the array of spans, and (for example) report more detailed information (such as the trace IDs of the spans that are dropped).

Proving to myself that you can do instance vars + attr_reader on an exception
class FooError < StandardError
  attr_reader :str
  def initialize(str)
    super("str")
    @str = str
  end
end

begin
  raise FooError.new("hi")
rescue FooError => e
  pp "in rescue block"
  pp e.str
end

ruby foo.rb
"in rescue block"
"hi"


I can't use annyang api before 4pm.

Hi, I am a student living in South Korea, and I'm using annyang api on my raspberry pi.
But there's a problem.
I can't use annyang api before 4pm......
After 4pm, it works perfectly. And there is no problem when I run my web page with chrome on my desktop even before 4 pm!!.... How can I solve this problem??
(I think this problem is related to local time.)
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Version used:
Browser Name and version:
Operating System and version (desktop or mobile):
Link to your project:

Hi @ptytoo,
annyang uses the browser's speech recognition engine... In Chrome this relies on Google's speech recognition which is done in the cloud. Unlike Chrome, other programs that use the same API (like Chromium, which is probably what you are using) use their own API keys to access the speech API, and are limited to a certain number of requests per day.
Your 4 pm is probably when the daily quota starts and so the API works, once it runs out, it returns an error.
There is some more information about this in the FAQ


Problem Solving Proposal

Please leave feedback.
Rendered document can be seen here.
TODOs:

[x] ~ask TimToady if they can be added as a responsible dev to the language label~ – they can add themselves later
[x] ~find people for labels with no responsible devs~ see https://github.com/perl6/problem-solving/pull/2#issuecomment-467207869
[ ] describe directory structure and naming conventions of the documents

In order to reduce the issue spam required to populate the list of reviewers, please simply react with :eyes: to this comment and I'll add you to the list of reviewers. If you have a commit bit, you should probably be on that list.

@JJ, @coke, documentation label currently has no responsible devs, please consider volunteering.
@ugexe same goes for modules, though I'm not sure what'd be the scope of that label. If you have some ideas, let me know. That said, there's no need to create all of the labels ahead of time, so we can delay some of that stuff until at least one ticket is created.

Yep, count me in for documentation.

I'd like to participate in modules also.

I agree we need a categorization of our SME (Subject Matter Experts). This should not be done in an opt-in way -- such a list should be available as a resource regardless. If some area is stuck because there is no associated SME or that SME is not participating then there should probably not be any significant changes made until someone learns the area to an acceptable degree such as to become an acting SME.

This should not be done in an opt-in way

I'd love to agree but I don't see how we can force people to do work. What's the alternative?

If some area is stuck because there is no associated SME or that SME is not participating then there should probably not be any significant changes made until someone learns the area to an acceptable degree such as to become an acting SME.

So there is no forcing the SME to do anything. The only time force is required is when the person making a proposal has no SME participating -- in this case the proposer is forced to learn significantly more to become a SME if they wish to further their proposal.

@ugexe OK, I see. That makes sense, thank you.

This PR is not getting appropriate attention, and one of the reasons for that could be that it is a new repo and people are no longer subscribed to new repos automatically. So I'm going to ping some people in order to make sure that everyone is aware of this.
Please keep in mind that if you don't react with :eyes: your name won't be added to the list of reviewers, and in future you won't be notified about soon-to-be-merged proposals and your confirmation won't be required (which is totally fine if you're not interested in this, but if you're actively working on something related to the perl 6 project it's better to be on the list to make sure that upcoming changes will not disturb your efforts in unwanted ways).
@Benabik @FCO @FROGGS @Infinoid @MasterDuke17 @Mouq @TimToady @Util @arnsholt @bdw @bingos @clarkema @coke @colomon @cxreg @diakopter @gerdr @hankache @hoelzro @ingydotnet @japhb @jdhore @jnthn @kjs @kyleha @labster @lizmat @masak @mathw @mberends @moritz @niner @nunorc @particle @patrickas @peschwa @pmichaud @pmurias @retupmoca @samcv @sergot @sorear @stmuk @szabgab @tadzik @tbrowder @tene @usev6 @zhuomingliang

@ugexe I have thought about the terminology, but I don't think that “subject-matter expert” or “domain expert” describes people on these lists accurately. Of course, to be on that list, you most likely need to be an SME, but in my opinion that's not enough. There could be many rakudo experts, but in my view only one should be providing the direction where things should be going. Of course, they are free to delegate PRs, and they can also add more people if that is wanted. But just knowing a lot about a subject shouldn't be a reason to be added to the list. Does that make sense?
That being said, I'd love to use some existing term for that.

@zoffixznet, by any chance, can you take a look at it? What do you think, does it solve any problems? Or, more importantly, what does it not solve that needs to be solved?

Current plan: look at how things go with https://github.com/perl6/problem-solving/issues/3, make adjustments to the doc if needed and move to the review step on this PR asap.

OK, there are already some issues and it looks like we'll get even more once we merge this. Let's get this thing going then.

About 7 days left to leave your reviews. Without any opposition it will go as is :)
@JJ @masak @timo @jnthn @ugexe @MasterDuke17 @samcv

It has been 15 days now, therefore merging it now. Thanks!


openssl-1.1.1t, when i input ./config,the tips come out.

my environment: OpenSSL 1.0.2g  1 Mar 2016
what should i do?
but when i use openssl-3.0.8,if i input  ./config，the tips like this

I find "Configuring OpenSSL version 1.1.1t (0x1010114fL) for linux-x86_64-" and "Configuring OpenSSL version 1.1.1t (0x1010114fL) for linux-x86_64",it seems the "linux-x86_64-" not match tips?


Update  documentation for SMARTS

The following sections need to be updated:

Ket specification
Context menu
Copy, cut, paste
Hot keys
S-Group tool

https://kb.epam.com/display/EPMLSOP/Ket
https://kb.epam.com/display/EPMLSOP/Context+menu
https://kb.epam.com/display/EPMLSOP/Copy%2C+cut%2C+paste
https://kb.epam.com/display/EPMLSOP/Hotkeys
https://kb.epam.com/display/EPMLSOP/S-Group+Tool

Done


Migrate cratedb_sqlparse from javascript to typescript

Right now cratedb_sqlparse does not support typescript, so every typescript project that wants to use this library needs to define their own types, leading to possible type error(s). We should migrate it to typescript (since it is also compatible with plain javascript).

Honestly I have never liked the typescript DX, I would much rather generate the typescript types from javascript, so users get the benefit of typescript and not port the project to ts.
Give me a few days while I finish the lats updates #38, I'll try to generate all the types, if I don't manage to create something that satisfy you, I'll give in and migrate to/learn typescript.


multiple mdat

if the mov/mp4 contains multiple mdat qt-flatten keep all mdat instead of one.
test.mov.zip

qt-flatten doesn't currently modify mdat atoms at all - it only moves the moov atom to the front of the file. It would be a nice enhancement to rewrite the mdat, discarding any redundant data and unused mdat atoms.


Segmentation fault (core dumped)

when i run the command:
python gen.py --outdir example --check_point ./ckpt/surfgen.pt --ply_file ./example/3cl_pocket_8.0_res_1.5.ply
there is an error:
Segmentation fault (core dumped)
how to solve it?

just the same. I'm trying to use a general solution from blogs on the web.

I guess the problem may be attributed to the CPU limitations, I did not meet the same problem. Could you send me your CPU and GPU information?


Updates test vectors to draft-v20.

@lukevalenta Nah, -20 is just an editorial change.

Thanks for the review, I just updated the references to v20.


Remove unused name parameter from Router.execute

The name parameter isn't ever used. Removing it reduces confusion.

name can be used by Router.execute overrides to provide custom functionality based on route (although we have no unit test coverage for it right now). I've seen it used in some Router extensions
See http://backbonejs.org/#Router-execute

Should we add a comment because this keeps popping up? We also should put in a test for this to catch anyone ahead of time.


[Bug] Error when using lua require("renamer").rename()

Describe the bug
When I try to use this command I get an error, it won't let me change the name of a function.
To reproduce
Use version 0.7.0 of neovim, try to use that command and then, at least for me, it gives error.
Expected behavior
It is expected to perform the rename action after pressing enter.
Environment

Renamer: [I don't know how to know the version, but yesterday I updated the plugins.]
Neovim: [v0.7.0]
OS: [Fedora Linux], version: [5.17.6-300.fc36.x86_64]

Screenshots

Hi, thanks for reporting the bug! I have started work on fixing this and GH-117 in GH-122, which should ensure a more stable future-proof plugin.

Thanks for replying, it's a great plugin, I find it very useful.

Of course, after all it's made for others, so I value all feedback! :grin:


feat: added the error state for resource explorer tables

Overview
This PR is for ticket (a few sub tasks are covered here(3, 4 & 5)) #2242 and to update error state in Resource explorer tables

added error state for browse assets table
added error state for browse data streams table
added error state for search data streams table

Verifying Changes
Assets table error state:

Browse data stream table:

Search data stream table:

Legal
This project is available under the Apache 2.0 License.

The header above the Alert is missing in this CR ? --> "Search Result for "Query"" or is it not part of AC in the sub tasks ?

updated.


0.4.4. Release binariy archives broken

The release archoves in the 0.4.4 release are broken https://github.com/eclipse-kuksa/kuksa-databroker/releases/tag/0.4.4
They are for some reasons "tar.gz" inside of zip, but the bigger issue is, contents is wrong, it misses third party infos and has a dist folder inside.
This is how it looks in current release, i.e.
scs2rng@RNG-C-001JT Downloads % ls databroker-arm64.tar.gz.zip
databroker-arm64.tar.gz.zip
scs2rng@RNG-C-001JT Downloads % unzip databroker-arm64.tar.gz.zip
Archive:  databroker-arm64.tar.gz.zip
  inflating: databroker-arm64.tar.gz
scs2rng@RNG-C-001JT Downloads % tar -ztvf databroker-arm64.tar.gz
drwxr-xr-x  0 runner docker      0 Apr  3 21:02 dist/
drwxr-xr-x  0 runner docker      0 Apr  3 21:02 dist/arm64/
-rwxr-xr-x  0 runner docker 4449544 Apr  3 21:02 dist/arm64/databroker
scs2rng@RNG-C-001JT Downloads %

Correct would be
https://github.com/eclipse/kuksa.val/releases/download/0.4.1/databroker-arm64.zip
containing
scs2rng@RNG-C-001JT Downloads % unzip databroker-arm64.zip
Archive:  databroker-arm64.zip
scs2rng@RNG-C-001JT Downloads % tar -ztvf databroker-arm64.tar.gz
drwxr-xr-x  0 kuksa  kuksa       0 Oct 30 21:25 ./
drwxr-xr-x  0 kuksa  kuksa       0 Oct 30 21:25 ./databroker/
drwxr-xr-x  0 kuksa  kuksa       0 Oct 30 21:25 ./databroker/thirdparty/
-rw-r--r--  0 kuksa  kuksa       0 Oct 30 21:19 ./databroker/thirdparty/BSD-3-Clause.txt
-rw-r--r--  0 kuksa  kuksa   11356 Oct 30 21:19 ./databroker/thirdparty/Apache-2.0.txt
-rw-r--r--  0 kuksa  kuksa    1337 Oct 30 21:19 ./databroker/thirdparty/BSL-1.0.txt
-rw-r--r--  0 kuksa  kuksa    1552 Oct 30 21:19 ./databroker/thirdparty/BlueOak-1.0.0.md
-rw-r--r--  0 kuksa  kuksa    1210 Oct 30 21:19 ./databroker/thirdparty/Unlicense.txt
-rw-r--r--  0 kuksa  kuksa    2314 Oct 30 21:19 ./databroker/thirdparty/Unicode-DFS-2016.txt
-rw-r--r--  0 kuksa  kuksa    1068 Oct 30 21:19 ./databroker/thirdparty/MIT.txt
-rw-r--r--  0 kuksa  kuksa   70116 Oct 30 21:19 ./databroker/thirdparty/thirdparty_components.txt
-rw-r--r--  0 kuksa  kuksa     709 Oct 30 21:19 ./databroker/thirdparty/ISC.txt
-rw-r--r--  0 kuksa  kuksa   10125 Oct 30 21:19 ./databroker/thirdparty/ring.LICENSE.txt
-rwxr-xr-x  0 kuksa  kuksa 4859160 Oct 30 21:25 ./databroker/databroker

The changes seems quite intentional, I will check with @argerus on the background.

0.4.4. release removed. After  long discussion with Johan and Sebastian a proposal for fix exists in https://github.com/eclipse-kuksa/kuksa-databroker/pull/10

PR merged, closing this one


Fixed bugs in controller for non-existing(models/crud) folders

This pull request addresses an issue where creating a file in a non-existing folder was resulting in errors.
Changes Made:
Added logic to check if the target directory exists before creating the file.
If the directory does not exist, the code now creates it.
After ensuring the directory exists, the file creation process proceeds without errors.
Before
python main.py --file <input_schema.json>
Error: File not found. [Errno 2] No such file or directory: 'models/demo_model.py'
&
Error: File not found. [Errno 2] No such file or directory: 'models/demo_model.py'
After
python main.py --file <input_schema.json>
Files created successfully.
Generating Model ....
Model generated.
Generating CRUD ....

@luli0034 , thanks for pointing this out, this was long pending.
Can you add these folder names in a  config file example a cofig.ini or cofnig.json


Supporting CP-member

@chinmayb just review this. For now we have add '_proxy_search' in go-client because there is no other way to pass this from caller of this go-client. During our restructure of go-client we can accommodate this things so that caller can decide when to use  '_proxy_search' and when not.

Sure.


change aspect ratio

Is there a config option to make the camera appear like the default camera? (aspect ratio 4:3 I believe)
I don't need all the buttons - just wanted the default sizing/aspect ratio
The camera-preview appears to use the full screen

There isn't, but I like the idea of adding this as an option.

If you are coming from https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview, you may notice on iOS that your photos are not in the correct aspect ratio. You may want 16:9 but if you, like me, want the wider 4:3 pictures, there is a simple fix.
Adding this to CameraContoller.swift->prepare()->configurePhotoOutput():
if captureSession.canSetSessionPreset(.photo) {
    captureSession.sessionPreset = .photo;
}

...right after the captureSession is created will clue the capture session in to the fact that your intent is to take a photo. This will ensure that the proper output is provided.
@jcesarmobile If you have a preferred way of adding this into the plugin, I'd be happy to craft a PR for it. The thing I was consider was adding an intent parameter to the start() method which takes "photo" | "video" as parameters. This would be an iOS-only parameter.
Note that on Android we haven't experienced this issue yet.


Feature Request: button for facades

Hey is it possible to make a button (switch) on facades so it can act as redstone switch ?
prefer also a red to green icon with a normal color and light (like project red)
thnx in advance :)

You can simply place a vanilla button on a facade.
About the rest: Sorry, I don't understand what you want.

The mod project red adds lights to MC, they also a have a button that emits light when active or pressed ON.
So my question is, can you add a button that makes the button glow (emit light) green when active (on) and red when deactivated (off)
Now you might ask why add this when project red has them, well first off all that means i need to add another mod just for a button and besides that, project red is very laggy. people say the core is a lag source. and my fps drop drop from 50 to 10 just by having that mod in my modpack and starting a new world let alone when i use a bunch of their stuff :(

Ok, that I understand. I'd like such a button myself, too.

Yay :) that would be totally awesome so all machine setups are clean and nice lookin :)

If you're moving ahead with this, can I toss in the idea that you make a toggle-type button in addition to the vanilla momentary-on button? (push on / push off)

Yeah that was the idea. Thnx for adding that info haha totally slipped my mind :o

Um, yeah. A push button that lights up while you press it isn't really useful ;)

Maybe for the compulsive ppl under us ;)

#1097 is very similar to this. It being a facade is a logical extension of the idea.


Clean up button lists

Maybe wait until syntax doesn't change anymore

decide which buttons to include in lists and their types
decide order of buttons
fix possible mistakes in button definitions
document behaviour in manual
consider which environment button presentation form should be in \[ \] \( \) or nothing. If it's just a symbol like ‰ that
is not a latex symbol then wrapping it in latex is not useful probably

LaTeX-incompatible input and strict mode is set to 'warn': Unrecognized Unicode character "‰" (8240) [unknownSymbol]

‰ antaa errorin ilman wrappingia jos sitä painaa kaavaeditorin latex-syötealueessa, en tiedä onko tätä edes mahdollista välttää. ainakaan ei tule erroria kun sivun lataa


npm learnyoureact issue

Hi,
I have node version 0.12.7 and npm version 2.11.3 installed in my machine, but after that if I install learnyoureact using the command npm install -g learnyoureact . I see an error which says learnyoureact  not found in npm registry.
Can you tell me how to fix it.
Thanks

Is there any error logs when you run npm install -g learnyoureact?
Please show all the error log which says learnyoureact not found in npm registry if you can.

Hey,
Thanks for your reply, I think below screenshot should help you out

Attaching you the latest version too

Please try sudo npm install -g learnyoureact.
You will have to input the password of your PC after run this command.

yeah it works fine now

hey sudo command is not working in windows environment, but it worked in mac.
can you tell me how to fix in windows.

I think you need to run cmd.exe as adminitrator.(Right click, run as admin)
I couldn't try because I don't have windows.

@tako-black I ran as administrator but still I was not successful

@rk08 What the error seems to say? EACCESS?


KAFKA-7165: Retry the BrokerInfo registration into ZooKeeper

The following is a proposal when the ZooKeeper session has changed and the Broker tries to register himself into ZooKeeper.
Currently, this throws a NodeExistsException since a Broker with the same id got registered previously into Zookeeper.
Assuming Broker id = 1

If a Broker using this patch retries to register himself into ZooKeeper and the previous ZooKeeper session was not the one that registers the Broker (another Broker with the same id did), the Broker won't be allowed to register and a NodeExistsException will be generated.
If a Broker using this patch retries to register himself into ZooKeeper and the previous ZooKeeper session was the one that registers the Broker, the ephemeral node will be deleted from ZooKeeper and re-created by the Broker.
If a Broker not using this patch retries to register himself into ZooKeeper and the previous ZooKeeper session was not the one that registers the Broker (another Broker with the same id did), the Broker won't be allowed to register and a NodeExistsException will be generated.

Committer Checklist (excluded from commit message)

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

Hello @ijuma @junrao

retest this please

@jonathansantilli : Thanks for the patch. About the approach. I am not exactly sure about the impact of explicitly deleting an ephemeral node whose session is about to expire. For example, I am not sure if the following can happen: (1) ZK session 1 expires and the ZK leader changes; (2) new ZK leader retains the ephemeral node from session 1 and is about to expire session 1; (3) ZK session 2 deletes and recreates the ephemeral node; (4) ZK leader expires session 1 and deletes the ephemeral node created by session 2. If this can happen, it will create a weird problem in Kafka.
An alternative approach is to retry the creation of the ephemeral node up to sth like twice the session timeout. It may take a bit long for the broker to be re-registered. However, it seems it's a bit safer and simpler, until ZOOKEEPER-2985 is fixed.

Hello @junrao thanks a lot for your comment.
Am pretty sure you know way better than me how Kafka + Zookeeper interaction works.
I just want to point out that ephemeral node gets created immediately after deleting the one created by the previous session (which belongs to the Broker who creates it).
Do you mind If I move the conversation to the JIRA issue and there we can elaborate your alternative approach? I would like to continue working on this.

Hello @junrao, I would like to continue working on this bug, hope you can have some time to elaborate a little bit more your proposal here: https://issues.apache.org/jira/browse/KAFKA-7165?focusedCommentId=16661931&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16661931
Cheers!

Hello @junrao I have done the suggested changes, please take a look when suitable for you 😄

please test this

retest this please

retest this please

Hello @junrao I have done the suggested changes, please take a look. Cheers!

retest this please

Hello @junrao, I have done the suggested changes, please take a look. Cheers!

Hello @junrao, I have added the changes as suggested.

@junrao please let me know what's the process to merge this PR, please :)

Good day all, This is not yet included in any release, right? How to work around it?

Hello @pabloa502 although this has been included into the trunk branch, is not yet released.
Here are the release notes of the current stable version (at the moment am writing this) https://www.apache.org/dist/kafka/2.1.0/RELEASE_NOTES.html


Update Slack.app uninstall/zap stanzas

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Thank you.


APP-1342-Incorrect status code on Integration Bridge Authorization API

Added status code to OAuth1Exception

Codecov Report

Merging #121 into dev will decrease coverage by 0.14%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##              dev    #121      +/-   ##
=========================================
- Coverage   87.84%   87.7%   -0.15%
=========================================
  Files         131     131
  Lines        2362    2366       +4
  Branches      275     275
=========================================
  Hits         2075    2075
- Misses        172     176       +4
  Partials      115     115

Impacted Files
Coverage Δ

...ration/authorization/oauth/v1/OAuth1Exception.java
50% <0%> (-50%)
:arrow_down:

Continue to review full report at Codecov.

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


Add elementary matrices constructors

As defined by Aitchison 1986.
Notes about this new PR:
A single abstract class was used to define the multiplications and additions: AbstractElementaryMatrix. This choice shrunk the code significantly.
Note that the ring operations only work when one of the members are subtypes of AbstractArray, ie, that have size.
Multiplication by scalar isn't yet implemented. This isn't a hard task, but we would probably need to think about new names to represent the structures.
With the exception of F, the matrices are symmetric => commutative multiplications => we could represent the composition of ring operations reasonably efficiently. But this is probably too much code for little in return.

Please don't start PRs from scratch erasing all the discussion we had previously. We are loosing track of what was agreed and the simple changes that were suggested. I will review this one again but it is not productive to keep revisions separate like this. Just push more commits to the same branch and GitHub will update the PR.

Oh, I forgot to mention about the tests.
The old ones remain the same, and more were added to test the abstract operations.

Roger that.

Codecov Report

Merging #22 (4389bfa) into master (54c3f44) will increase coverage by 2.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   82.10%   84.25%   +2.15%
==========================================
  Files           3        4       +1
  Lines          95      108      +13
==========================================
+ Hits           78       91      +13
  Misses         17       17

Impacted Files
Coverage Δ

src/matrices.jl
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Do you want me to try implement one of them as an example? We are walking in circles here...

keep it simple:
# define the type
struct JMatrix{T} <: AbstractMatrix{T} end

# define the operations for this *specific* matrix type
*(::Jmatrix, x::AbstractVector) = Fill(sum(x), length(x))
*(x::AbstractVector, ::JMatrix) = A*x

No need for abstract parent class. It doesn´t help here. You need to exploit the specifics of each definition.

The only problem of substituting the Fills for I(d)s and J(d)s is that we loose de ability to control the matrix type. This could be important for numerical stability tests.
I'll see if I can fix the allocation problems without the aforementioned loss.

Amazing start!


Use nativewind

Why
New PR for https://github.com/showtime-xyz/showtime-frontend/pull/1174
How

Installed nativewind@next
TODO: replace twrnc

Test Plan
Run the apps

Yo @intergalacticspacehighway and @alantoa -- can you try running the Expo app please? You might need to compile the Bit packages before and maybe run yarn start:dev-client:clear. I'm getting a weird error after adding Nativewind babel plugin and I want to check if you are getting the same. Thanks guys 🙏


Development

Codecov Report

Merging #41 (2606761) into main (68958c7) will increase coverage by 1.99%.
The diff coverage is 87.76%.

@@             Coverage Diff              @@
##               main      #41      +/-   ##
============================================
+ Coverage     85.27%   87.27%   +1.99%
- Complexity        0      162     +162
============================================
  Files            23       24       +1
  Lines           292      385      +93
  Branches         39       28      -11
============================================
+ Hits            249      336      +87
+ Misses           24       19       -5
- Partials         19       30      +11

Impacted Files
Coverage Δ

src/main/scala/HearthstoneMini.scala
0.00% <ø> (ø)

src/main/scala/controller/Gamestate.scala
50.00% <ø> (ø)

src/main/scala/model/Move.scala
0.00% <ø> (ø)

src/main/scala/util/CardProvider.scala
100.00% <ø> (ø)

src/main/scala/util/UndoManager.scala
77.77% <ø> (ø)

...main/scala/model/manaComponent/manaImpl/Mana.scala
71.42% <33.33%> (ø)

...ointsComponent/healthpointsImpl/Healthpoints.scala
66.66% <66.66%> (ø)

src/main/scala/model/commands/AttackCommand.scala
72.00% <72.00%> (ø)

src/main/scala/controller/Strategy.scala
75.00% <75.00%> (ø)

...ain/scala/model/commands/DirectAttackCommand.scala
80.00% <80.00%> (ø)

... and 17 more

Continue to review full report at Codecov.

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


IMAP server error (himalaya command)

my config in  ~/.config/himalaya/config.toml
name = "my name"
downloads-dir = "/Users/name/Downloads"
signature = """
--
Regards,
"""

[gmail]
default = true
email =<EMAIL_ADDRESS>
imap-host = "imap.gmail.com"
imap-port = 993
imap-login =<EMAIL_ADDRESS>imap-passwd-cmd = "mypassword"

smtp-host = "smtp.gmail.com"
smtp-port = 465
smtp-login =<EMAIL_ADDRESS>smtp-passwd-cmd = "mypassword"

and I'm still getting this error in the teminal
Could not login to IMAP server
↳ No Response: Empty username or password. j5mb120609005wru
what am I missing?

What application is called mypassword?

Shoudn’t I have to put my gmail password? in the filed mypassword?

I invite you to read the wiki:

notify-cmd: shell command used to notify user when receiving a new message [string]

Also this could help you if you have trouble with Gmail. Let us know.

thanks a lot

@soywod I actually totally don't understand the purpose of this parameter. At least provide tools to use for this param.. where do I store my password? I have no idea how to configure this software with my gmail.

I actually totally don't understand the purpose of this parameter.

As I already explained in the thread, it is for security purpose. It is not safe to store your password as a clear string in a config file. If you want so badly do it, you can write imap-passwd-cmd = "echo your-password".

At least provide tools to use for this param..

This is not the role of the tool and it does not fit the Unix philosophy. It exists plenty of tools to manage passwords in CLI. Anyway, I planned to update the doc and add more examples, it will be a good occasion to show different example with different password manager.

I have no idea how to configure this software with my gmail.

New examples will come in the doc, I will let you know when it is ready!

As for unix philosophy there are ENV VARS. Which are perfectly fits with unix philosophy when you use them :)
CLI password vaults are real pain, been using it for a while then I've dropped it. Backing up database, then version changes, old db doesn't work. Integrating this with bitwarden or similar might be nice to have, but this probably a really far away future to request.
Regarding gmail... I've had a huge problem to set it up for 3rd party app. Google changing their dash a lot, I couldn't find how to add password for 3rd party app (I don't have such option at all), but I've managed  to find an option which enables any 3rd party to login with a simple acc password.
And for the offtopic: I really thought that TUI will be  available within this app. Managing mails purely from cli without tui is real pain, so pardon my irritation, I went to a wrong garden.. Couldn't find how to render html, even when specifying mime, or by using vim plugin, it just shows html tags. I believe your use case for developing this tool might be to use it with vim, but even there I've got such a lag that it's barely usable. This would require  5 separate QA tickets, so don't mind me, won't bother you anymore.

CLI password vaults are real pain

I am personally using pass for years and I am very happy with.

Regarding gmail... I've had a huge problem to set it up for 3rd party app. Google changing their dash a lot, I couldn't find how to add password for 3rd party app (I don't have such option at all), but I've managed  to find an option which enables any 3rd party to login with a simple acc password.

Yeah, it is really hard to keep up to date with their changes. That's why I plan to create different sections in the wiki about how to configure Himalaya with the main providers.

I really thought that TUI will be  available within this app

Nop, there is an open issue for that. A TUI is planed but not for now, I prefer first to have a fully functional lib before investing time in interfaces.

Managing mails purely from cli without tui is real pain, so pardon my irritation, I went to a wrong garden..

No need to be sorry, this project is very young and is not ready for production usage yet. Just need to be patient ;)

Couldn't find how to render html, even when specifying mime, or by using vim plugin, it just shows html tags. I believe your use case for developing this tool might be to use it with vim, but even there I've got such a lag that it's barely usable. This would require 5 separate QA tickets, so don't mind me, won't bother you anymore.

You do not bother me :rofl: Issues are made for it, please feel free to open them. As I said, this project is really young and experimental. If you are just looking for a production-ready TUI then see alternative tools like aerc, mutt, neomutt, meli etc. With Himalaya I try to extract a Rust lib for managing emails, this way you can build any kind of client at the top of it. But I need time to make it production-ready. Once this stage reached, I will be able to focus on UIs!

A lot of applications use a password command (most CLI email, mbsync, vdirsync, senpai, matterhorn, etc.). I think it's pretty intuitive and switching to pass I now have it synced to other devices via git.
I wish the best advice would be to suggest that for your personal privacy, just don't use GMail, but literally all employers and contracts I've taken in the last 7 years have exclusively GSuite so if you want a tool that is for work and your actual private mail, you still have to support the goliath G. Google has not been making this any easier on any project though.
The Neovim plugin can act like a TUI, but it can be a bit cumbersome to use versus a TUI that opens Neovim to write mail because the controls are built to edit text more than navigate menus. But you can, as noted in the docs, run nvim +Himalaya if you need something TUI-like.


add GetAllKeys -- GetSetKeys/ GetListKeys/ GetHashKeys/GetZSetKeys

Add GetAllKeys

List, Hash, Set, ZSet

refactor Expire() and TTL() method to compatible with all data structure

add new error ErrExpiredKey

fix sets.go  SIsMember() and sMembers() method bug while set key has expired time.

Thanks.
You can create a new PR of TTL and Expire.

since TTL and Expire highly related GetAllKeys, so I create one PR.
However, how to split this PR to two currently? I doesn't get a method.

since TTL and Expire highly related GetAllKeys, so I create one PR. However, how to split this PR to two currently? I doesn't get a method.

You can assume that there is no expiration time for List, Hash, Set and ZSet(GetStrsKeys is already existed), just get all keys directly.
After you add expiration time for all data types, then you can filter the expired keys when getting them(Another PR).

Can you link the issue with this PR? It makes it easier to navigate between PR and issue.


[feat] extract and export types from create-svelte

Export types from create-svelte package.
Closes #7053.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you


logs: optimization and fixes to toValidUtf8

What does this PR do?
This PR:

fixes an issue with utf8 validation, where a multi-byte rune would be decoded completely but the cursor would be moved to the next byte instead of after the rune
uses a strings.Builder allowing to skip the []byte -> string copy when returning the final string

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Exporting large number of documents cause memory problem

Hello!
I'm trying to export a large number of documents. But getting memory exhausted error. What I'm doing wrong? Do I need to clear something on each iteration?
let documents: MongoKitten.CollectionSlice<BSON.Document> = try collection.find(query)

for document in documents {

   fileHandle.write((document.makeExtendedJSON(typeSafe: true).serializedString() + "\n").data(using: String.Encoding.utf8))
}

What is the size of a single document? Does it contain Binary data? These will factor in when converting to JSON.

Hi, @Joannis!
Document size (avgObjSize) is 775 Bytes. It doesn't contain Binary data.
Document example:

I have about ~224K of such documents. Application memory usage is about ~2GB before a crash (OOM).

Oh, that's bad. Is there any way you can reproduce this scenario? Or see what is consuming the memory?

Hello @Joannis!
Looks like memory leaks in makeExtendedJSON(typeSafe: true).serializedString().

I see that app allocates a lot of memory with this call stack:

Ah :| Thanks so much! I'll be onto this now

Could you try this with the latest BSON version? I think there was a memory leak there.

Hello @Joannis,
it's still leaks:

Used memory is released only after the completion of the loop over documents.

You can reproduce this scenario using the following code (using large images collection on my test server):
func testExport() {

    let server = try! Server("mongodb://<IP_ADDRESS>:27017")

    let database = server["test-db"]
    let collection = database["images"]

    let documents: MongoKitten.CollectionSlice<BSON.Document> = try! collection.find()

    for document in documents {

        print("DOC: " + document.makeExtendedJSON(typeSafe: true).serializedString())
    }

    print("Done")
}

That makes sense! Images (binary) will be converted to Base64 in ExtendedJSON. That takes an insane amount of memory probably.

There are no binary fields in the image collection, strings and numbers only.

Hah. I'm still diving in anyways. Even with Base64 the RAM usage would be insane. This isn't making it any better. I don't know how it can rise 600MB even.

I found some improvement points. But I'm still struggling to find out the exact cause.

There were memory leaks, so your memory leak checks are correct. But the huge amount of memory being used isn't leaking. It's the conversion from BSON->JSON that's slow. Conversion can't become any faster, but I can write a specialized serialization algorithm.

The latest version on master has a new API for extendedJSON. It's not tagged yet, we're going to run this version of MongoKitten on production systems before tagging this. It's working, but MongoKitten has had 2 of the lowest internal functions reworked, so taking extra care is important.
It's tested to be fine, so if you want you can run swift package edit MongoKitten --revision mongokitten4 and it'll make your project use the latest version of MongoKitten 4 (non-tagged). From here you'll experience both an improvement to all operations as well as extremely low memory-usage and high-performance extendedJSON serialization. Deserialization is still the same performance and memory usage, but I don't think there's a big issue in that.
The API you're looking for is this: https://github.com/OpenKitten/MongoKitten/blob/mongokitten4/Sources/ExtendedJSON/ExtendedJSON%2BEfficientSerialization.swift#L55

Great, I will test new extendedJSON soon. Thanks!

Sad news, unfortunately, new API was not solved memory problem. But also application doesn't release all memory after loop finished...
I used new extendedJSON function:
document.makeExtendedJSONString(typeSafe: true)

Oh man.. is this a new issue? The memory not being released?
I don't know what could possibly be causing this.
You're still running this with the testExport function described above, right?

I can't even start to imagine this happening. Locally it reduced the memory usage by 95%.
I feel like there's something off about your documents or code that I can't foresee.

My test function (I updated descriptino as well):

Memory is not released after "Done" is printed:

Did you able to reproduce it with my testExport function?

I was able to reproduce high memory usage and tiny memory leaks. Nothing significant. If you want to help me accelerate the solution you could join my slack https://slackpass.io/openkitten

I can confirm that my issue is resolved.
Fixed in: https://github.com/OpenKitten/MongoKitten/commit/1973a4751d0197538251b9353c618a0edfbfa737


Is fetchTask from URL supported/working in mobile?

I'm currently developing a Messaging Extension that uses fetchTask to launch a Task Module.
Short version: mobile doesn't seem to load URL fetchTasks for me.  The Microsoft Praise App however does seem to load a properly in mobile/web via https://kudos.teams.microsoft.com/KudosWeb/compose/badgepicker
Are mobile/desktop views something only Microsoft apps support via URL?  Or is something missing from the docs to make this happen?
URL only works in desktop (but mobile does make a request to the server!):
{
   "task":{
      "type":"continue",
      "value":{
         "title":"Task module title here",
         "url":"[...]/api/v1/microsoft_bots/recognition/compose.html"
      }
   }
}

AdaptiveCard works in mobile/desktop:
{
   "task":{
      "type":"continue",
      "value":{
         "title":"Submit Data",
         "width":"large",
         "height":"large",
         "card":{
            "contentType":"application/vnd.microsoft.card.adaptive",
            "content":{
               "body":[
                  {
                     "text":"Line 1",
                     "type":"TextBlock"
                  },
                  {
                     "id":"0",
                     "isMultiline":true,
                     "maxLength":5000,
                     "placeholder":"Enter text",
                     "type":"Input.Text"
                  },
                  {
                     "text":"Line 2",
                     "type":"TextBlock"
                  },
                  {
                     "id":"1",
                     "isMultiline":true,
                     "maxLength":5000,
                     "placeholder":"Enter text",
                     "type":"Input.Text"
                  },
                  {
                     "text":"Line 3",
                     "type":"TextBlock"
                  },
                  {
                     "id":"2",
                     "isMultiline":true,
                     "maxLength":5000,
                     "placeholder":"Enter text",
                     "type":"Input.Text"
                  }
               ],
               "type":"AdaptiveCard",
               "version":"1.0",
               "$schema":"http://adaptivecards.io/schemas/adaptive-card.json"
            }
         }
      }
   }
}

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

ID: 86441a60-584c-73d1-d678-1c3a2c38a872
Version Independent ID: 35ca31ef-620b-7ff4-d91c-e4aa9eacf5a1
Content: Overview of Microsoft Teams Task Modules - Teams
Content Source: msteams-platform/concepts/task-modules/task-modules-overview.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

It’s not quite working yet but very close to release on mobile.

Thanks for the quick response @billbliss!
We're aiming for a Q4 2019 release.  Would I be safe in suggesting to the higher ups we go ahead with a iFrame solution knowing it will be mobile supported by then?

Just checking back on this one - any update?


issue with tweaks when placed under a category

hi @moudey i have made atweak to restart explorer and placed under context menu
when its not placed under any category it works fine like this

but when i place it under a category with
item(find='restart exlorer ' pos=0 sep='bottom' menu="Misc Tools")
the further menu doesnt appear

Also I am trying to remove vlc

commands i used
item(find='add to vlc media player's playlist' find='add to vlc media player's playlist' vis=vis.remove)
item(find='play with vlc media player' find='play with vlc media player' vis=vis.remove)

but still they are intact...thankyou very much

Is this "restart explorer" item static or dynamic?

Also I am trying to remove vlc

Use double quotes if the text contains single quotes or vice versa
item(find="add to vlc media player's playlist" vis=vis.remove)
item(find="play with vlc media player" vis=vis.remove)

Or use | sign. To search for more than one phrase
item(find="add to vlc media player's playlist | play with vlc media player" vis=vis.remove)

Or through this command it removes all items that contain "vlc media player".
item(find='vlc media player' vis=vis.remove)

Is this "restart explorer" item static or dynamic?

Also I am trying to remove vlc

Use double quotes if the text contains single quotes or vice versa
item(find="add to vlc media player's playlist" vis=vis.remove)
item(find="play with vlc media player" vis=vis.remove)

Or use | sign. To search for more than one phrase
item(find="add to vlc media player's playlist | play with vlc media player" vis=vis.remove)

Or through this command it removes all items that contain "vlc media player".
item(find='vlc media player' vis=vis.remove)

i am not sure if its dynamic or static ...how can i check this sir ?
also when i right click on a folder there are shortcuts for even apps that i uninstalled...i think thats creating issue with removinf the vlc
anyhow i can reset the context menu sir ?

This item appears on the desktop only, so we define the type and search by matching the name of the item with double quotes inside find property
item(type='desktop' find='"restart explorer"' pos=0 sep='bottom' menu="Misc Tools")

you are simply the best sir , amazingggg :)

This command is correct and should be work. Restart the explorer to load the settings changes

You can add these commands directly to Shell instead of adding them to the registry
menu(title='Restart Explorer' image='explorer.exe')
{
    item(title='Restart Explorer Now' cmd args='/c taskkill /f /im explorer.exe & start explorer.exe')
    item(title='Restart Explorer with Pause' cmd args='/c @@echo off & echo. & echo Stopping explorer.exe process . . . & echo. & taskkill /f /im explorer.exe & echo. & echo. & echo Waiting to start explorer.exe process when you are ready . . . & pause && start explorer.exe && exit')
}

menu(title='System File Checker' image='WmiPrvSE.exe')
{
    tem(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
    item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
}

You can add these commands directly to Shell instead of adding them to the registry
menu(title='Restart Explorer' image='explorer.exe')
{
    item(title='Restart Explorer Now' cmd args='/c taskkill /f /im explorer.exe & start explorer.exe')
    item(title='Restart Explorer with Pause' cmd args='/c @@echo off & echo. & echo Stopping explorer.exe process . . . & echo. & taskkill /f /im explorer.exe & echo. & echo. & echo Waiting to start explorer.exe process when you are ready . . . & pause && start explorer.exe && exit')
}

menu(title='System File Checker' image='WmiPrvSE.exe')
{
    tem(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
    item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
}

sir restart explorer works great but there is something wrong in system file checker it sets the conext menu back to normal

sir restart explorer works great but there is something wrong in system file checker it sets the conext menu back to normal

Sorry
menu(title='System File Checker' image='WmiPrvSE.exe')
{
    item(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
    item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
}

sir restart explorer works great but there is something wrong in system file checker it sets the conext menu back to normal

Sorry
menu(title='System File Checker' image='WmiPrvSE.exe')
{
    item(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
    item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
}

ur the best sir works flawlessly thankyou so much sir ... my pay day is near for some coffees <3

sir restart explorer works great but there is something wrong in system file checker it sets the conext menu back to normal

Sorry
menu(title='System File Checker' image='WmiPrvSE.exe')
{
    item(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
    item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
}

one last thing sir
is it possible to move these under like this

Paste these items inside the "Misc Tools" items as in the following example:
dynamic
{
    ...
    menu(title="Misc Tools")
    {
        menu(title='Restart Explorer' image='explorer.exe')
        {
            item(title='Restart Explorer Now' cmd args='/c taskkill /f /im explorer.exe & start explorer.exe')
            item(title='Restart Explorer with Pause' cmd args='/c @@echo off & echo. & echo Stopping explorer.exe process . . . & echo. & taskkill /f /im explorer.exe & echo. & echo. & echo Waiting to start explorer.exe process when you are ready . . . & pause && start explorer.exe && exit')
        }

        menu(title='System File Checker' image='WmiPrvSE.exe')
        {
            item(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
            item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
        }
    }
}

Don't forget to delete these items from the registry to avoid duplicating them
reg delete "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer" /f
reg delete "HKEY_CLASSES_ROOT\DesktopBackground\Shell\SFC" /f

Paste these items inside the "Misc Tools" items as in the following example:
dynamic
{
    ...
    menu(title="Misc Tools")
    {
        menu(title='Restart Explorer' image='explorer.exe')
        {
            item(title='Restart Explorer Now' cmd args='/c taskkill /f /im explorer.exe & start explorer.exe')
            item(title='Restart Explorer with Pause' cmd args='/c @@echo off & echo. & echo Stopping explorer.exe process . . . & echo. & taskkill /f /im explorer.exe & echo. & echo. & echo Waiting to start explorer.exe process when you are ready . . . & pause && start explorer.exe && exit')
        }

        menu(title='System File Checker' image='WmiPrvSE.exe')
        {
            item(title='Run System File Checker' admin=true cmd='PowerShell' args="-windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/k, sfc /scannow' -Verb runAs\"")
            item(title='System File Checker log' cmd='PowerShell' args='(sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"$env:userprofile\Desktop\sfcdetails.txt\"')
        }
    }
}

Don't forget to delete these items from the registry to avoid duplicating them
reg delete "HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer" /f
reg delete "HKEY_CLASSES_ROOT\DesktopBackground\Shell\SFC" /f

Will try and update u sir thankyou so much again

@moudey sir i am trying to add a exe file in shell
item(title='app'  "Z:/Pc Stuff/Install/More Apps/Must Have Free Apps and Alternatives/Keyboard.exe"')
what argument i need to pass to make it work ?

You forgot to add the command property
item(title='app' cmd='Z:/Pc Stuff/Install/More Apps/Must Have Free Apps and Alternatives/Keyboard.exe')

cmd=

thankyou sir , i am assigning icons but somehow they are acting strange

What type of image (png, ico, svg)?
Did you change the font or image size in shell.nss?
Did you change the display scale?

What type of image (png, ico, svg)? Did you change the font or image size in shell.nss? Did you change the display scale?

this is the shell script haven't touched many things as windows is fresh... also i just noticed another thing
see icon on desktop

see icon on explorer right click

shell
{
	var
	{
		isw11=sys.is11
	}

	set
	{
		theme
		{
			name="modern"
			background
			{
				//opacity=85
				//effect=1
			}
			image.align = 2// 0 = checked, 1 = image, 2 = both
		}

		tip
		{
			enabled=1
			opacity=100
			width=400
			radius=1
			time=1.25
			padding=[10,10]
		}

		exclude.where = !process.is_explorer
		showdelay=200
	}

	images import 'imports/images.nss'

	static
	{
		import 'imports/static.nss'
		item(where=this.title.length > 25 menu=title.more_options)
	}

	dynamic
	{
		menu(mode="multiple" title="Pin/Unpin" image=icon.pin) { }
		menu(mode="multiple" title=title.more_options image=icon.more_options) { }
		item(title='app'  image=[\uE22B, #f00] cmd='Z:\Pc_blocker.exe')

		import 'imports/terminal.nss'
		import 'imports/file-manage.nss'
		import 'imports/develop.nss'
		import 'imports/goto.nss'
		import 'imports/taskbar.nss'
	}
}

@moudey its still shows over sized icons sir

Did you change the display scale?

Did you change the display scale?

Did you change the display scale?

i just saw the display drivers set scale to 150% as recommeded for my display as on 100% icons are too small and hard to see

It may work fine after pressing CTRL + RIGHT-CLICK

yes works this way but isnt there any fix to this sir ?

I will fix this issue soon

I will fix this issue soon

thankyou so much sir , have a greta day

item(title='cache clean' image=\uE1A8 pos=3 sep='bottom' menu="My Scripts" admin=1 cmd args='/k "D:\cache.bat"')


system_log improvements

Description:
System log improvements:
Look for file causing the log under homeassistant, under custom_components, and under netdisco.
If all that fails return the logging file path instead of 'unknown'.
Checklist:
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

@postlund

LGTM

Looks good 😊


Question about dloss_a

Hello Hong Liu:
This approach has an exactly high practical impact and inspires me a lot. However, I am confused with the dloss_a in the following code:
https://github.com/thuml/Transferable-Adversarial-Training/blob/794f53fb5e0e3572c4297efd3950f0f453270d06/pytorch/Visda.py#L102-L103
Notice that domain_prob_fooling_c are detached here, so dloss_a may not influence the backward process. I wonder what's the use of dloss_a here. Looking forward to your reply, and it will help me a lot!
Thanks and regards,

@cvloverrrrrr
Hi, I noticed the same problem, the dloss_a has no impact on weights.
Any chance you figured that out? is it because the code is not complete...?


takeLastBuffer method

Hello.
There is a method in rxjs4 takeLastBuffer
docs
Are there any reasons why it's not implemented in 5th version? I'm very new to rx and looks like the only way to do the same is writing my own queue and pushing to it in subscribe?

v5 version aims reduced core api surface, makes some breaking changes including dropping few operators. With 5.5's pipe operator, it is easier to create custom operators and we do welcome to publish custom operators core api set doesn't cover.


Improve patchComponent script

Impact of the new feature
Operations
Is your feature request related to a problem? Please describe.
While working with this issue: https://github.com/dmwm/WMCore/issues/11157 I had to patch my WMAgent back and forth multiple times with several patches, in order to test the newly provided changes. In general for such purpouses I use the following script:  https://github.com/dmwm/WMCore/blob/master/bin/patchComponent.sh But this script

Works unidirectional  - does not provide an option to revert  an already applied patch
Does not account for the version of the currently installed agent/component so that it may assist in fetching the proper original files from source
Cannot deal with partially applied changes - meaning if a PR gets a further update ( a new Commit) and the patch needs to be re-aplied it cannot reflect only the new changes and then apply only them (i.e. does not work on Commit basis, but rather on PR basis only) instead the original file needs to be fetched from source and put on the right place and only then the patch to be re-aplied from scratch.

All this requires a lot of operational effort especially when it needs to be done on the agent multiple times and it is extremely error prone an difficult to keep track of what is patched at what moment.
Describe the solution you'd like
Add the above described features
Describe alternatives you've considered
Manually do the work every time and risk to break the component during development or loose track and not being aware of what exactly is currently under test
Additional context
none

@todor-ivanov I think you have worked on this script this quarter, didn't you? Should we close this issue out? If your changes to patchComponent.sh already closed an issue, then please close this one as "Not Planned"

BTW thanks for digging this out - I have forgotten this was materialized as an issue, but I'd let you do the issue classification, such that I do not get this wrong this time.

only now I realize the wmcore-tools repo is in gitlab. Alan, is there any particular reason for that?


Utils.getVectorModel

Hi @jaysondc
Utils.getVectorModel(this, resourceId); not found, is there any missing me?

@GauravCreed,
Not sure why I'm mentioned in this issue but you'd need to provide more detailed information before we can help.


[Documentation] Remove download count badge

Remove the total download count badge from the README.md file.

It would be nice to replace it with a Download Now button.
Download Now


sshd: revisit default enabled KexAlgorithms, MACs, Ciphers, and hostkeyalgorithms

Describe the bug
While looking at https://github.com/SchoofsKelvin/vscode-sshfs/issues/240, I started looking into NixOS's sshd settings. (The summary:

a VS Code extension had to disable diffie-hellman-group-exchange due to some electron bug
the SSH lib used in nodejs has a list of key exchanges that it will try by default
after disabling diffie-hellman-group-exchange, there was no intersection between the nodejs ssh client's default key exchange options and the server's allowances (aka NixOS sshd's default allowances).

It looks like, based on the comments in the sshd module, that maybe some of these defaults are based on articles that are quite old (5+ years) at this point.
Further, when I google for some of these things, I get newer articles that make me think some newer options for these settings might be safe to enable.
resources:

https://farrokhi.net/posts/2020/05/securing-sshd-configuration/
https://www.ssh.com/ssh/sshd_config/
https://www.ssh.com/manuals/server-zos-admin/65/ConfiguringPublicKeyAlgorithms.html
https://cryptsus.com/blog/how-to-secure-your-ssh-server-with-public-key-elliptic-curve-ed25519-crypto.html

Current defaults:
kexAlgorithms = [
  "curve25519-sha256"
<EMAIL_ADDRESS>  "diffie-hellman-group-exchange-sha256"
];
macs = [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  "hmac-sha2-512"
  "hmac-sha2-256"
<EMAIL_ADDRESS>];
ciphers = [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  "aes256-ctr"
  "aes192-ctr"
  "aes128-ctr"
];
hostKeys = [
  { type = "rsa"; bits = 4096; path = "/etc/ssh/ssh_host_rsa_key"; }
  { type = "ed25519"; path = "/etc/ssh/ssh_host_ed25519_key"; }
];

Tbh I was expecting that our defaults would be outdated but from a quick glance they look quite good/reasonable to me.
Some other links that might be useful:

https://infosec.mozilla.org/guidelines/openssh.html
https://sshcheck.com/server/test.rebex.net/
https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/TechGuidelines/TG02102/BSI-TR-02102-4.pdf (2020-04-02 - Personally I don't like that they don't seem to even mention Ed25519, I guess they're following NIST here)
https://www.keylength.com/ (not specific to SSH but might be useful regarding the algorithms and parameters)

Always with looking at some other modern distros to compare notes too!

Also, ping @davidak just in case he has something to add.

Using this tool NixOS gets 81/100 by default: pretty good.
The only "problems" are that:

OpenSSH enables the<EMAIL_ADDRESS>cipher (the post-quantum NTRU Prime thing), which is a pretty controversial choice and it's not well understood.

diffie-hellman-group-exchange-sha256 (2048-bit) which should be replaced with something with >3072 bits.

a bunch of encrypt-then-MAC instead of MAC-then-encrypt MAC which are theoretically weaker.

IMHO 1. should be really disabled, the other points are pretty weak and not worth the loss of client/server compatibility.


remove realsense related repos from Dashing, Foxy, and Rolling

All realsense related builds have been failing since they have been added and the maintainers are not responsive. To get rid of the jobs failing on a daily base this PR removes the repos from all active ROS 2 distros.
See https://github.com/ros/rosdistro/pull/24528#issuecomment-645452181
@sharronliu @doronhi FYI

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-dashing-sync-and-patch-release-2020-07-14/15287/5

I reverted the changes to Dashing since I'm attempting to revert to a working release before removing it entirely https://github.com/ros/rosdistro/pull/25837

@jacobperron Can you please comment / approve since you are in charge of Foxy.

@sharronliu @doronhi Please feel free to open new PRs to re-add the repositories for Foxy and Rolling whenever you have a working version.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/new-packages-for-foxy-fitzroy-2020-07-23/15570/1

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/best-practices-standards-for-ros-2-camera-drivers-request-for-depth-camera-recommendations/15983/1


The serverless fast_api endpoint does not support GET for /status/{job_id} endpoints

Describe the bug
The status endpoint over the serverless fast api endpoint does not support HTTP GET requests.
As can be seen here: https://github.com/runpod/runpod-python/blob/df771026ebe8baf99a7e6bff319a1a01a63ce858/runpod/serverless/modules/rp_fastapi.py#L257C1-L265C10
Only POSTs are allowed. Given that the "real" API supports GET requests, and it is more suitable this should be fixed.
To Reproduce
Steps to reproduce the behavior:

Create an async job using the /run/ endpoint.
Retrieve a request id from the above call, e.g. test-c9c63e7b-7931-4a82-a336-40668bac2f00
Try to check the status http://localhost:8000/status/test-c9c63e7b-7931-4a82-a336-40668bac2f00 in your browser url simply using curl, without using a POST request.
Receive a {"detail":"Method Not Allowed"} error, instead of the status.

Expected behavior
The same behavior as the real API.

In the mean time I am running
sed -i 's#\["POST"\]#\["GET","POST"\]#g' "$(pip show runpod | grep Location | cut -d " " -f 2)/runpod/serverless/modules/rp_fastapi.py"


Self-verification with QR code does not work on the new session

Sign in a new session on iOS
Another bootstrapped session scans this new session
-> Both say the verification succeeded

But the new sign-in see all user's device as red including itself

Having new checks pass in testVerifyingAnotherUserQRCodeVerificationFullFlow should help to fix the issue:
https://github.com/matrix-org/matrix-ios-sdk/blob/4d741d0bc83f3c23c01a5dc717413ea52d3a1f8e/MatrixSDKTests/MXCrossSigningVerificationTests.m#L703
https://github.com/matrix-org/matrix-ios-sdk/blob/4d741d0bc83f3c23c01a5dc717413ea52d3a1f8e/MatrixSDKTests/MXCrossSigningVerificationTests.m#L705


Any plans for 1.16?

Apologies if this is the wrong place but do you have any plans to update this mod to 1.16? Seems like a really cool mechanic

When I get to it

Would love to see this for 1.16+ :)
Also thought it would be cool if there was some form of generic damage (e.g. player taking damage when out in the sun, or when near a certain block, etc) - and being able to define these similar to how you define things in the in-control mod.

yes, I do plan on porting this eventually

up ;) i super love this mod and i think it makes really a difference in packages!

It I port this it will be to 1.18 and 1.19. 1.16 is too old
Op di 2 aug. 2022 15:47 schreef Luca Alessandri @.***>:

up ;) i super love this mod and i think it makes really a difference in
packages!
—
Reply to this email directly, view it on GitHub
https://github.com/McJtyMods/needtobreath/issues/11#issuecomment-1202606499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6PEODO4O5JDO2QCIDJK53VXERILANCNFSM4Z47JWAA
.
You are receiving this because you commented.Message ID:
@.***>


Dark mode placeholder image ?

Is your feature request related to a problem?

those white placeholder images are killing my eyes

@exezbcz  can we get a dark mode variant ?
thanks

of course we have

https://github.com/kodadot/nft-gallery/issues/8029#issuecomment-1808795833

👋

👋

I think this issue is closed already by solving by Temidayo32. right? if not, I want you to explain this issue more exactly so that i can get down with this issue.

@leo-1228 he did not solved it
afaik, its free to be picked up
maybe @hassnian would know more if its already implemented?

how can i talk with hassnian?
can you let me know his telegram id?

@leo-1228 github is the main source of communication

can you show me the @hassnian?

afaik, its free to be picked up

@leo-1228  yep

can you explain why Temidayo's contirbute is faild?
I think he fixed this issue.

what do i have to do instead of him?

#10415 completed?

seems like yes
light

dark

but some don't have the placeholder


Support Azure AD with OIDC Proxy using private_key_jwt authentication

Initial isssue https://github.com/cloudfoundry/uaa/issues/1933. During https://github.com/cloudfoundry/uaa/pull/2106 found problem with interop towards Azure AD
Azure relys on this claim, e.g.
https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-certificate-credentials
UAA uses raw keys not X509 for JWT RS256, and therefore a x5c , x5t etc cannot be calculated on a real key.
What version of UAA are you running?
develop
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew
as part of a commercial Cloud Foundry distribution

What did you do?
Setup OIDC provxy to Azure AD
What did you expect to see? What goal are you trying to achieve with the UAA?
Successfull OIDC proxy authentication through Azure AD towards UAA
What did you see instead?
Please include UAA logs if available.
Exception from Azure
There was an error when authenticating against the external identity provider: 400 Bad Request: "{"error":"invalid_request","error_description":"AADSTS5002726: Invalid JWT token. Found unsupported token header. Supported headers are: 'alg','typ','x5t','x5c','kid','use','enc','ctx','nonce','rh','kdf_ver'\r\nTrace ID: 953b0bd4-3a8f-4e9a-8fd5-b941c7c35f00\r\nCorrelation ID: 6aec6815-90f0-49ea-8e37-19daa41e4d21\r\nTimestamp: 2023-03-29 12:53:10Z","error_codes":[5002726],"timestamp":"2023-03-29 12:53:10Z","trace_id":"953b0bd4-3a8f-4e9a-8fd5-b941c7c35f00","correlation_id":"6aec6815-90f0-49ea-8e37-19daa41e4d21"}"

Steps to reproduce:

configure OIDC proxy in UAA , use your AAD application
Example yaml config in uaa.yml

login:
  oauth:
    providers:
      azure.proxy:
        type: oidc1.0
        passwordGrantEnabled: true
        discoveryUrl: https://login.microsoftonline.com/<your-AAD-tenant-id>/v2.0/.well-known/openid-configuration
        issuer: https://login.microsoftonline.com/<your-AAD-tenant-id>/v2.0
        scopes:
          - openid
          - email
          - profile
          - offline_access
        linkText: Login with Azure Proxy
        relyingPartyId: <your-AAD-application-client-id>
        groupMappingMode: AS_SCOPES
        jwtclientAuthentication: true
        attributeMappings:
          family_name: last_name
          given_name: first_name
          email: email
          user_name: email
          external_groups:
            roles
        showLinkText: true

Register the certificate of your JWT singing key into Credential Configuration in your App registrations, Section: Certificates & secrets, subsection. Certificate, e.g. https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-certificate-credentials
Login and then you see the exception

2 Issues
a) jku header is not allowed and from OIDC standard that makes sense because private_key_jwt in context of OIDC should not use OAuth stuff like jku
b) x5t header cannot be created within UAA. A solution would be that UAA allows to configure a X509 certificate as singing-cert because with that a x5t could be calculated.


Restore CFA tests

[x] validate CFA are executed at time of deferred not when executed
[x] validate CFA don't have access to stateful APIs

hi, I've made a pull request #2704 to fix the issue and add unit test cases. Please review.

Follow up issue: https://github.com/EOSIO/eos/issues/2388


How do I handle a Tree that could be any length

So I have the following grammar for my (minimal) programming language:
?start: value
?value: WORD
      | ifexpr
      | expr
ifexpr: "if(" [value stmt value] ")"
stmt: "is=>"
expr: add
    | subtract
    | divide
    | multiply
    | NUMBER
add:  expr "+" expr
subtract: expr "-" expr
divide: expr "/" expr
multiply: expr "*" expr

%import common.NUMBER
%import common.WORD
%ignore " "

How would I handle this input and solve 1+6*7 through what p.parse('1+6*7') returns.

Did you take a look at https://github.com/lark-parser/lark/blob/master/examples/calc.py? If yes, what exactly do you not understand?

I don't understand how I could implement the Transformer inheriting class. Also, what do the -> symbols do?
Thanks in advance.

I would suggest you read through json tutorial Both your question will be answered there better than I could here.

I don't understand how to implement that class. Can you help?
Thanks in advance.

Okay so I implemented the class but it outputs -3.0 for 1+2-1+1.
My code:
p = Lark(psl_grammer, parser='lalr')

prsd = p.parse('1+2-1+1')
print(prsd)

class PSTransformer(Transformer):
    def expr(self, numbers):
        tsum = 0
        addo = []
        subo = []
        mulo = []
        divo = []

        try:
            print(numbers)
            return float(numbers[0])
        except:

            print(numbers[0].children)
            if numbers[0].data == 'add':
                for i in numbers[0].children:
                    addo.append(float(i))
            elif numbers[0].data == 'subtract':
                for i in numbers[0].children:
                    subo.append(float(i))
            elif numbers[0].data == 'multiply':
                for i in numbers[0].children:
                    mulo.append(float(i))
            else:
                for i in numbers[0].children:
                    divo.append(float(i))
            for i in mulo:
                tsum = tsum * i
                print(tsum)
            for i in divo:
                tsum = tsum / i
                print(tsum)
            for i in addo:
                tsum = tsum + i
                print(tsum)
            for i in subo:
                tsum = tsum - i
                print(tsum)
            print(subo)
            print(addo)
            print(mulo)
            print(divo)
        return tsum

print(PSTransformer().transform(prsd))

Can you help? Thanks in advance.

Found the answer, here is my code and I'll explain each line:
p = Lark(psl_grammer, parser='lalr')

prsd = p.parse('1+2+1+1-2*2/2')
print(prsd)

class PSTransformer(Transformer):
    def __init__(self):
        self.tsum = 0
    def expr(self, numbers):

        addo = []
        subo = []
        mulo = []
        divo = []

        try:
            print(numbers)
            rt = float(numbers[0])
            print(rt)
            #return rt
        except:

            if numbers[0].data == 'add':
                self.tsum = numbers[0].children[1] + numbers[0].children[0] #Embrace the communitve property!
            elif numbers[0].data == 'subtract':
                self.tsum = numbers[0].children[0] - numbers[0].children[1]
            elif numbers[0].data == 'multiply':
                self.tsum = numbers[0].children[1] * numbers[0].children[0] #Embrace the communitve property!
            if numbers[0].data == 'divide':
                self.tsum = numbers[0].children[0] / numbers[0].children[1] #Embrace the communitve property!
            rt = self.tsum
        return rt
print(PSTransformer().transform(prsd))

First:
try:
            print(numbers)
            rt = float(numbers[0])
            print(rt)

That means, if it is a NUMBER token, then convert it to a float.
 except:

            if numbers[0].data == 'add':
                self.tsum = numbers[0].children[1] + numbers[0].children[0] #Embrace the communitve property!

That means, if it is a Tree and if it is an addition problem than the value to return should be a+b or in the scenerio of the test, 1+2,


Added support for off-diagonal S elements

Added support to LQDynamicData and LQDynamicModel to handle non diagonal S matrix in the objective function. LQDynamicData now has an attribute for S, and LQDynamicModel now incorporates S into the construction of H for both sparse and condensed forms. Also updated sparse_lq_test.jl so that the JuMP formulation includes the S matrix and added a new test for the addition of the S matrix. Also changed type variable in source code so that it uses V in place of S (e.g., LQDynamicData{T, S, M} is now LQDynamicData{T, V, M}.

Codecov Report

Merging #18 (186a513) into main (1c82649) will increase coverage by 0.07%.
The diff coverage is 97.50%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   93.95%   94.03%   +0.07%
==========================================
  Files           1        1
  Lines         331      352      +21
==========================================
+ Hits          311      331      +20
- Misses         20       21       +1

Impacted Files
Coverage Δ

src/DynamicNLPModels.jl
94.03% <97.50%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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