Client parameters don't set body when model is an interface

Problem statement
I have a model like this:
package models
type Resource interface{}

And DepositResourceParams looks like this:
type DepositResourceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*JSON representation of the resource metadata.
	  Required: true
	  In: body
	*/
	Payload models.Resource
}

...

func (o *DepositResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {

	if err := r.SetTimeout(o.timeout); err != nil {
		return err
	}
	var res []error

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}

I would think that WriteToRequest would put the payload in the request, but it doesn't seem to do so.
Swagger specification
2.0
Environment
swagger version: 0.13.0
go version: 1.9.3
OS:   OsX

I also seem to be hitting this issue when the model is an enum. e.g.
type MyEnum string
...
const (
	// MyEnumCONNECTED captures enum value "CONNECTED"
	MyEnumCONNECTED MyEnum = "CONNECTED"
	// MyEnumDISCONNECTED captures enum value "DISCONNECTED"
	MyEnumDISCONNECTED MyEnum = "DISCONNECTED"
)
...
type PutStateParams struct {
	BodyParam models.MyEnum

	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
...

is also missing the SetBodyParam from the WriteToRequest.
Looks like there are some body parameters which are not being identified by this line in the template?
  {{ if or .Schema.IsInterface .Schema.IsStream (and .Schema.IsArray .Child) (and .Schema.IsNullable (not .HasDiscriminator)) }}if {{ .ValueExpression }} != nil {

Different type, but same cause as #1339

@jcoyne : should be fixed by #1508. Could you please confirm?

@fredbi doesnt fix the issue above with enums. Is there a readme somewhere which walks through compiling go-swagger locally? having some dependency/tooling issues when trying to compile master..

@stevecookform3 please open a dedicated issue for your problem, which might not be the same as the one reported by @jcoyne. Also please include your swagger spec (or a minimal spec which reproduces the problem) so it is easier to reproduce the problem and assert it is solved.
Regarding install/compile, there is not much to be said besides go getting the dependencies for your generated code to work (go-openapi packages and a few others). Look in the FAQ on the doc site (http://goswagger.io) or search similar questions in issues (label: "install & setup").

it looks like somebody broke our master compile by not adding the required dependencies to our vendor.
We'll fix it. @stevecookform3 we want the most default go toolchain (go get, go test ./..., etc) to work on go-swagger, thanks for letting us know.


[BUG] - AutoComplete error when items is an empty array

NextUI Version
2.2.10
Describe the bug
With an async filtering AutoComplete if the initial items array is an empty array [] or if the fetch returns an empty array [] we get a console error:
import.mjs:1290 Uncaught TypeError: Cannot read properties of null (reading 'contains')
    at eval (import.mjs:1290:33)
    at Array.some (<anonymous>)
    at MutationObserver.eval (import.mjs:1290:15)

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
In the example Async Filtering AutoComplete change the fetch so that if the search term is empty it returns [] and you will see the error, then see how if you type a term that returns empty you also get an error.
Expected behavior
Instead of an error we should get a zero state or at least not an error
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

@ybwai I couldn't reproduce the issue. Can you provide the code you've changed?

Sure, I've setup a new nextjs app here: https://github.com/ybwai/test/tree/main/nextjs-blog
If you launch and open on the browser and start typing you will see the errors on the console.
Hope that helps.
I am using react-query in this one, but same thing happens with asyncList

Okay. Now I can reproduce the issue. I think there is something wrong with allowsCustomValue. Without setting allowsCustomValue, it works fine.

ah good spot, you are right. however I do need allowsCustomValue as I want to be able to paste a link directly or search for one via auto complete.

what about setting allowsEmptyCollection to false?

what about setting allowsEmptyCollection to false?

that gets rid of the error but the AutoComplete no behaves oddly, it doesn't open and show when items are retrieved, opens only on focus

Same issue, I need to use allowsCustomValue to get AutoComplete items from user input.

Anyone found a work around for this issue yet? I need to use allowCustomValue.

@MinChanSike @TheJazzDev can you guys also share your code please? Somehow I couldn't reproduce the issue on storybook but the OP's repo. Still investigating - was doubting buttonProps from useComboBox.


Support for intellij-2018.2.*

The current release of the plugin only supports 2018.1.*
A few internal users at Two Sigma have requested we upgrade to 2018.2.5 due to various UI fixes.
We are currently unable to do so without building and packaging our own version of the plugin.

Closing as a dupe of #375. The next release will support 2018.2


Fix github CI

Something is wrong with the github CI. It currently fails in main/py3.8, although the same run did succeed previously:
Success:
https://pipelines.actions.githubusercontent.com/serviceHosts/0a5165d8-4fe3-4e35-ac8e-5e3bf98b1842/_apis/pipelines/1/runs/1516/signedlogcontent/2?urlExpires=2023-01-27T10%3A53%3A51.7033985Z&urlSigningMethod=HMACV1&urlSignature=t0y7Bkv26WGi2TAFf7873Om8DezMd3obV44gaVnHR4Y%3D
Failure:
https://pipelines.actions.githubusercontent.com/serviceHosts/0a5165d8-4fe3-4e35-ac8e-5e3bf98b1842/_apis/pipelines/1/runs/1536/signedlogcontent/2?urlExpires=2023-01-27T10%3A54%3A00.3499637Z&urlSigningMethod=HMACV1&urlSignature=AGiq7KJLQvYYlHfXrsrKwHdB4o3%2FdwV8WDwcOdrAxeA%3D
The error has to do with test_backend_slurm, and for this reason testing on github for open PRs #475 and #478 is less reliable.

Quoting from #480:

We found a major issue in the CI (thanks @ychiucco!), i.e. fractal-server install in docker container was pulling the fresh sqlalchemy 2.0 version (released yesterday), which introduces major changes and is not (yet) supported by our dependencies.
This is currently addressed by pinning to >=1.4,<2, and we should also come back to this later if a PR like https://github.com/fastapi-users/fastapi-users-db-sqlmodel/pull/13 is merged (I think this is the dependency which is currently holding us back at 1.4.35), to make sure that we would fetch more recent 1.4 versions if possible.
Meanwhile, another small issue (cfut_finished_jobs fixture missing in some tests, and its actual code being slightly different from the cfut=0.5 final version) surfaced, and is fixed here.

Closing this issue, let's open more specific ones if needed.


lora error in stage 1

use lora param in stage1
here is context:
deepspeed main.py \
   --lora_dim 8 --only_optimize_lora \
   --data_path wangrui6/Zhihu-KOL Cohere/miracl-zh-queries-22-12 Hello-SimpleAI/HC3-Chinese mkqa-Chinese \
   --data_split 10,0,0 \
   --model_name_or_path $MODEL \
   --per_device_train_batch_size 2 \
   --per_device_eval_batch_size 2 \
   --learning_rate 9.65e-6 \
   --num_train_epochs 16  \
   --deepspeed --seed 1234 --num_warmup_steps 0 \
   --lr_scheduler_type cosine \
   --output_dir $OUTPUT_PATH \
   &> $OUTPUT_PATH/training.log

add about lora
--lora_dim 8 --only_optimize_lora \
get error:
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

I met the same error. Is there any solution to this?

same error

Same error too. I've tried it in DeepSpeed Chat. But it's fine if I don't use  only_optimize_lora param.

Different model have different module_name. Your finetune model is different from the opt model. If you used the argument only_optimize_lora, you should set the argument lora_module_name to mark your optimized lord layer. You can load your own model and use python code "print(list(model.named_modules()))" to see your model modules. You can learn it from lora source code of deepspeed-chat. Lora source code path is "training/utils/module/lora.py".  Lord method usually use the linear layer to add additional lora net, you can see the official source code of lora paper. Official lora source code link : https://github.com/microsoft/LoRA/blob/main/loralib/layers.py. Hope it can help you.

here are my steps to add lora to deepspeed model:

copy lora.py to your own codebase:
lora.py

add LoRA to your own model:

model = BigModel() # define your own model

import lora # import your copied lora.py
lora_dim=6
lora_module_name = "xxx" # use the module name of your own model (e.g.: "model.layers.30.self_attn.q_proj")
only_optimize_lora = True

if lora_dim > 0:
    model = convert_linear_layer_to_lora(model, lora_module_name, lora_dim)
    if only_optimize_lora:
        model = only_optimize_lora_parameters(model)
        model.enable_input_require_grads() # this is added to avoid the error: RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn (ref: https://github.com/huggingface/peft/issues/137#issuecomment-1445912413)

# The following are normal operations just to show you the position of the above code:
optimizer_grouped_parameters = get_optimizer_grouped_parameters(xxx)
optimizer = xxx
lr_scheduler = xxx
model, _ = deepspeed.initialize(model, xxx) # deepspeed engine is defined here!
train(model)

Hope this helps :)


Unnecessary calculation in StretchedGrid::InsideGrid() method

The current implementation of StretchedGrid::InsideGrid() looks like:
bool StretchedGrid::InsideGrid(const DblArr3 &coords) const {

    // Clamp coordinates on periodic boundaries to reside within the
    // grid extents
    //
    DblArr3 cCoords;
    ClampCoord(coords, cCoords);

    // Do a quick check to see if the point is completely outside of
    // the grid bounds.
    //
    VAssert(GetGeometryDim() <= 3);
    for (int i=0; i<GetGeometryDim(); i++) {
        if (cCoords[i] < _minu[i] || cCoords[i] > _maxu[i]) return (false);
    }

    double xwgt[2], ywgt[2], zwgt[2];
    size_t i,j,k;   // not used
    double x = cCoords[0];
    double y = cCoords[1];
    double z = GetGeometryDim() == 3 ? cCoords[2] : 0.0;

    bool inside = _insideGrid(x, y, z, i, j, k, xwgt, ywgt, zwgt);

    return(inside);
}

which also identifies exactly which cell this queried position is in.
However, the cell indices and weights (variables i, j, k, etc.) are lost after this function finishes, meaning that unnecessary calculations are performed. It also happens that this calculation is fairly expensive, so a reasonable optimization is to eliminate this calculation, using only the bounding box information to determine if a position is inside of a StretchedGrid.

@shaomeng the current implementation is improved, but still makes unnecessary (and expensive) function calls to retrieve invariant information deep inside the execution kernel. As noted earlier this is particularly problematic with the call to getAGrid inside of VaporField::GetVelocity(), which can consume nearly 25% of the execution time. This can be seen by using Leigh's CM1 data (24Maycontrol), which are sampled on a regular grid, and therefore have very inexpensive grid access operations. Yes, there are inefficiencies in the Grid access methods, and these should be addressed, but they can be handled outside of this PR and will be beneficial elsewhere in the code. With regard to #2383 in particular, yes a bounding box check can (and should) be added, but this will not help with Curvilinear grids. Hence, VaporField::InsideVolumeVelocity() becomes an expensive call (consuming ~10% of execution time with regular grids) that should be avoided. Per my earlier comment I'd suggest having the advection kernels (e.g. _advectEuler) return a status code if the particle leaves the volume (i.e. if components of the velocity field are missing values) rather than having an explicit call to InsideVolumeVelocity()


failed to install on windows 10 64bit. Screenshot included

this is what i'm doing

the same error installation appear with different folder location (not in system32)

sorry my bad. i forgot npm init
1. npm ini
2. npm i --save puppeteer


[HxSearchBox] Search icon missaligned when used with label

Problem is that the search icon is absolutely positioned relative to the input container and that container contains both the input and the label.

@hakenr @Harvey1214 @alexax578 I believe this has been resolved and released. Has it?


Failure installing application

GET https://me.singly.com/registry/add/tylerstalder-moments 404 (Not Found)

cc @h3h

I saw this in the AM too, I think I know how to fix it, if nobody else has I'll try on my flight!
On Feb 17, 2012, at 1:09 PM, Kristján<EMAIL_ADDRESS>wrote:

GET https://me.singly.com/registry/add/tylerstalder-moments 404 (Not Found)
cc @h3h

Reply to this email directly or view it on GitHub:
https://github.com/LockerProject/Locker/issues/839

If it's one of our older servers, they seem to need a registry sync forced

Jason saw this today on prod, and saw it on sandbox recently as well

Pretty sure they cached ids when they didn't have a key to validate, I'm going to junk the caching logic to permafix this.
On Feb 17, 2012, at 3:18 PM, Matt<EMAIL_ADDRESS>wrote:

Jason saw this today on prod, and saw it on sandbox recently as well

Reply to this email directly or view it on GitHub:
https://github.com/LockerProject/Locker/issues/839#issuecomment-4027160

#849 is meant to address this, but not done yet...

all, check out https://github.com/LockerProject/Locker/pull/849 I believe it's ready for a pull!


Clarification on running older Ubuntu versions on a newer kernel

LXC v2.21
I suppose I could figure out the answer to this questions by doing extensive testing, but I am just another guy out here in userland and I figure you geniuses in here probably know this :)
With the impending Bionic Beaver release, I am considering how to handle upgrades for my live webserver containers. I have been aware that it is possible to grab various versions of Ubuntu from the official repository, and in my quick and dirty tests in the past I have gotten both newer and older Ubuntu versions to run on a stock 16.04 kernel (namely Zesty and Trusty)
Inside the container uname -r obviously reveals that the container is running on the host system kernel version, but my question here is simple, I suppose:
Is it safe to run an older Ubuntu distribution on a newer kernel?
Specifically I am planning to upgrade my hosts to 18.04 Bionic once it becomes available, but I am unclear on whether I need to do a dist-upgrade immediately in all my containers, or if it is OK that they run on top of the newer kernel and I can do a phased upgrade.
My guess is that the answer will either be

This is a bad idea. Your distribution should always match the host distribution due to unknown effects that may crop up

or

This is OK due to LXD black magic, or as long as the kernel is up-to-date or newer than what the distribution expects,  and there is nothing to worry about here

or

We are not sure, it all depends on whether the newer kernel has introduced changes that may or may not break stuff in the container.

or possibly

You have misunderstood / misattributed the importance of the kernel version in relation to the specific Linux distribution, and your distro will work on whatever kernel you throw at it (as long as it's not too old?)

So which is it? :grinning:

Running Ubuntu 16.04 containers on Ubuntu 18.04 will work perfectly fine. There's absolutely no need to rush container upgrades.
You're a lot more likely to run into problems when running very recent Linux distributions on an older kernel than the other way around. The Linux kernel is extremely backward compatible and the Ubuntu kernel usually has most of those older features enabled.
I know that on Ubuntu 18.04, I've been running Ubuntu 14.04 and 16.04 containers just fine for months and remember trying all the way down to Ubuntu 8.04 for a customer at some point, without it needing much tweaking (just an upstart tweak if I recall correctly).

As for your options above, it's somewhere between 2 and 4 :)
There isn't a very strong userspace/kernelspace relationship on most distros these days, even more so with Ubuntu as Ubuntu itself ships with various kernel releases in a specific Ubuntu release (16.04 currently has 4.4 or 4.13 or 4.15).
Our recommendation is to stick to the latest supported kernel you can get from your distro, that will give you the most compatibility with newer releases in containers and get you any new kernel feature we've been pushing for LXD.


Request for API Version Chaining Feature

Hey all, after discussions with Marsh at API Strat, I'm putting forth a feature request that allows for better API version discovery.  It's basically triplets (aka hypermedia) for versions.
Today, the spec allows for notation of the current version. However, humans and machines have no way of knowing if, when "interrogating" an particular OAS file, if you're looking at the most current version, if there's a previous version,  or if there's a next version. It'd be great if machines/humans could see where in the chain of versions, they are when looking at a specific spec.
So,
info:
   version:                  2.4.1  (this version)
   previousVersion:  <uri to openapi spec for previous version>
   nextVersion:          <uri to openapi spec for next version>

pretty simple.  from there, machines/humans can take care of the rest.
Background here is that tooling should be able to monitor a spec file to spot changes to the API. However, unless it's a super minor change, then those changes trigger a new version and subsequently, those changes are reflected in a new spec file (as opposed to the existing spec file). But currently, there's no way for machines/humans to determine from a current spec file if another spec file exists.
Extra credit might be another field to give some additional status as to the production-level of the current spec file. For example:
info:
   version:                  2.4.1  (this version)
   previousVersion:  <uri to openapi spec for previous version>
   nextVersion:          <uri to openapi spec for next version>
   productionStatus: Pre-Release

This might be more difficult as its effectiveness would require standard vocabulary which might trigger a difficult debate. But, if there's interest in this feature, I do have suggested vocabulary that spans everything from pre-release to deactivated.
Thank you.
David Berlind
ProgrammableWeb

version can be tricky… in this case it's the version of the specification-document itself, not the implementation.
An alternative might be to publish all specs under the same directory whose contents could be queried, not unlike how libraries like jQuery are sometimes made available (example), and possibly with an HTML index page to help orient people. If the provider used a versioning approach like semver, then the latest should be self-evident.

I was not aware that the version in the spec referred only to the version
of the document itself and not the version of the API.  Do you think there
are any real-world instances where the two are out of lockstep? It just
seems like that would create so much confusion. I mean, imagine that you
had two versions of an API in production (versions 2.4 and 3.0) but that
the versions for each in the corresponding OAS description were 9.6 and
11.1? There would be a lot of head scratching. I understand that the spec
allows for that possibility. But, in reality, is that really the practice
or are the two (the doc version and the API version) kept in sync as a
defacto approach?
Regarding directories, semver, etc....IMHO, those ideas venture too far
away from spec or standard and more towards best practice which means that,
in all practicality, we will not see any critical mass let alone
wide-spread adoption. There are plenty of other suggested best practices
for APIs which, as beneficial as they may be, have hardly taken root as a
defacto. I still think the OAS desc file is the best place. And, even if it
only "officially" represents the version of the document and not the API,
it would still be useful to have. That way, the versions of the docs can be
chained together and if the doc versions and API versions happen to be in
sync, then all the better.
Looking forward to a response.
On Fri, Dec 8, 2017 at 11:02 AM, Marsh Gardiner<EMAIL_ADDRESS>wrote:

version can be tricky… in this case it's the version of the
specification-document itself
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#info-object,
not the implementation.
An alternative might be to publish all specs under the same directory
whose contents could be queried, not unlike how libraries like jQuery are
sometimes made available (example)
https://developers.google.com/speed/libraries/#jquery, and possibly
with an HTML index page to help orient people. If the provider used a
versioning approach like semver, then the latest should be self-evident.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OAI/OpenAPI-Specification/issues/1397#issuecomment-350299963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGVduhmFB0ZdUE22nHXiqTuUQUa7yuaOks5s-V2SgaJpZM4QQB6c
.

I'm not disagreeing that chaining versions might be useful in tools like Swagger UI—just observing that there are conventions that providers could adopt in order to work around the lack of version chaining support in the spec itself. I think there is a case to be made for adding this to the spec, we just need to hear from more people that it's a top priority.

Discovery of API Versions is something that the TSC (meeting 2017-12-15) feels is out of scope for the OAS, but part of the bigger topic of API discovery.  There is an OAI Scope Working group that is planning to discuss the broadening of the scope of the OAI to potentially include this topic.

@dberlind I suggest to delegate the maturity status to a lifecycle parameter. Ideas?
info:
  version: 2.4.1
  lifecycle:
    maturity: pre-release  # or whatever, just define an enum
    links:
    - rel: prev
      url: https://prev-oas-spec
    - rel: next
      url: https://next-oas-spec

@loggstream, quite frankly, it can go into any parameter as long as it is in there. The fact that this suggestion was refused as being out-of-scope for OAS is a travesty. API versioning is a major issue. Among the major API providers, we at ProgrammableWeb have observed with interest some evolving maturity in how API versioning is done so as to maintain some degree of continuity with developers. To suggest that version pointers are out of scope (when the spec already allows for the current version #) destroys one of the key objectives of machine-based introspection. Furthermore, to suggest it belongs in some other machine readable file as I believe was suggested here just highlights a key weakness in the REST architectural style vs. up and comers like gRPC and GraphQL (both of which involve "in-band" introspection vs. hunting down some file. Done right, all APIs should have some standard referral to the description and each description should be one link in a chain of descriptions. Anything else is a MAJOR developer inconvenience and my understanding having followed APIs and their predecessors closely for three decades is that developer empathy and experience is a #1 priority.


TypeError when reading tsconfig.json

start tsc in watch mode
change the tsconfig.json to be invalid JSON

You get:
C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31084
            var jsonOptions = json["compilerOptions"];
                                  ^
TypeError: Cannot read property 'compilerOptions' of undefined
    at getCompilerOptions (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31084:35)
    at Object.parseJsonConfigFileContent (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31074:22)
    at parseConfigFile (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31351:40)
    at performCompilation (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31362:45)
    at recompile [as _onTimeout] (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31454:13)
    at Timer.listOnTimeout (timers.js:92:15)

Which version of tsc are you using? Doesn't repro with compiler currently in master.

This repros in 1.7, it has since been fixed by https://github.com/Microsoft/TypeScript/pull/5589.

I've run into the same issue with 1.7.5 today as well.

I Agree Bug is still happen in 1.7.5

In case anyone is still having this problem, in @JPVenson's case it is likely caused by the trailing comma after "noLib" in "compilerOptions".


feat: Write metadata on write

See #346

@eendebakpt  see if this works for you :space_invader:

@giulioungaretti I would make the writing of metadata optional in the DataSet.write, e.g. here https://github.com/QCoDeS/Qcodes/pull/409/commits/83bada893408d9a2f245ca8e04823712f863d018#diff-86f533fd540dcde5df3c6442c5897414R690
Also, why make a new PR? Is that because you cannot add to my PR easily, or some other reason?
In the docstrings I miss this change: https://github.com/QCoDeS/Qcodes/pull/375/files#diff-ca38cb5feb58d38c1bd62ba111978494R15. The metadata is JSON right now, but this is not specified, so there could be other implementations as well.
Besides these minor points, code looks good.

@eendebakpt daamn, yea I will just use your pr! Let's ignore this one.


Use string literal type for CALL_HISTORY_METHOD

Use the string literal '@@router/CALL_HISTORY_METHOD' as the type for CALL_HISTORY_METHOD.
I have a type Action = LocationChangeAction | RouterAction and would like to differentiate between types of actions using a switch statement like this:
switch (action.type) {
case CALL_HISTORY_METHOD:
  // x
case LOCATION_CHANGE:
  // y
}

The type needs to be a string literal rather than a generic string type for this to work.

LGTM. Thanks for your contribution!

Released in 5.0.0! (Beware of the breaking change. Please see the release note https://github.com/supasate/connected-react-router/releases/tag/v5.0.0)


Move div class unquote outside the if tag

@jvanbrug Thanks. :smile_cat:

Thanks! I just read CONTRIBUTING - should I add myself to CONTRIBUTORS?

don't worry, I'm already doing it.

:ship: via https://github.com/pydanny/cookiecutter-django/commit/1d9e0960bc4e689658f12907b33f01dc350251e4 :smiley: :dancers:

:sunglasses: :+1:


When I import a keystore from KeySync it confirms a succesful sync yet my fingerpint hasn't changed

I really love ChatSecure, but this is the last part that prevents us for properly using OTR is having consistent fingerprints across our devices. Without this it's driving me and my friends nuts, with changing fingerprints breaking encryption all the time. In my case I'm trying to import the Adium fingerprint to ChatSecure on Android 4.3 using the KeySync command line tool (the GUI doesn't work for any of us, see: https://dev.guardianproject.info/issues/2894).
Right now exporting to the keystore file and activating the import on ChatSecure all works. But after it gives the small success notification, the client and everyone else still reports I have the same fingerprint.
I really hope this get's fixed soon!

This is part of the 14.2 Milestone but it doesn't seem resolved. Changelog also mentions that keysync was re-implemented, but with this bug it's actually only the UI in place.
Any plans to fix this soon. It's really important for OTR usability.

Problem still present in version 14.2.3


Please provide a keyword: wait_until_element_is_enabled

Dear author
I know that you have provide a keyword: wait_until_element_is_visible, but it's not available for element like button to wait until it is enabled then to click it.
So that. please provide a keyword to wait until element is enabled. Please deal with it in your spare time.
Thanks

pr link:
https://github.com/GDATASoftwareAG/robotframework-flaui/pull/95

Completed


Liquid Template Operation

Adds a LiquidJs templating operation for use in flows.
Helpful in scenarios like custom email templates that we don't support for Cloud users or templates that you'd want to store in the database.

Supports custom templates and saved templates
Single and batch mode to render the same template for multiple objects (bulk email potential use case)

Were you using npm or pnpm?
I too see the build issues if I do pnpm i and then pnpm build. But npm works just fine.

I am using pnpm, using npm does indeed work. This is acceptable so that point can be disregarded.

formatting should be fixed now - along with placeholders for options with templates


Add doc on validation of custom categories

Description of the change:
Add doc on validation of custom categories
Motivation for the change:
Follow up of #4109
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

@varshaprasad96 can you change the commit/PR title to something that reflects these changes, like

docs/olm-integration/generation.md: add optional validator operatorhub docs


Update private-networks.md

Proposed new steps to connect a network to Cloudflare through Tunnel.

An overall comment about where this page is sitting:   it should be within Connect networks in my opinion
Being inside Connect resources -> Configure tunnels -> Private networks (side-by-side with Configuration file and Arguments) is not the right place a user would expect it to be in.


Full fidelity: Find out which properties have mutated

Hello,
I have a question about the upcoming full fidelity feature. If I'm monitoring changes to an item, how would I go about deciding exactly which property has changed? I need to take different actions for different properties. For every mutation, I'd like to know exactly what has mutated. Is this information going to be available to us?
So, if I have a stream coming in that looks like:

Insert item
Update property A
Update property B
Delete item

For step 2, I need a way to compare it to step 1 to conclude that property A has changed.
Please help me understand if something like this will be achievable with full fidelity.

Change Feed Full Fidelity is still in preview so this might change.
Current contract based on my tests show that for replace operations, the Change Feed record contains the previous image.
The item would have a "_metadata" property with an "operationType" property with the value "replace" and another property called "previousImage" containing the document before the replace.
For example:
{
    "id": "4661bff2-329b-45fd-8963-e3f0c9384938",
    "taskNum": 42,
    "cost": 50.0,
    "description": "CreateRandomToDoActivity",
    "status": "TBDf2d440c3-84a4-4789-ba7a-cbe42e70a8fd",
    "_metadata": {
        "operationType": "replace",
        "previousImage": {
            "id": "4661bff2-329b-45fd-8963-e3f0c9384938",
            "taskNum": 42,
            "cost": 1,
            "description": "CreateRandomToDoActivity",
            "status": "TBDf2d440c3-84a4-4789-ba7a-cbe42e70a8fd"
        }
    }
}

This is subject to change before the feature GA

Change Feed Full Fidelity is still in preview so this might change.
Current contract based on my tests show that for replace operations, the Change Feed record contains the previous image.
The item would have a "_metadata" property with an "operationType" property with the value "replace" and another property called "previousImage" containing the document before the replace.
For example:
{
    "id": "4661bff2-329b-45fd-8963-e3f0c9384938",
    "taskNum": 42,
    "cost": 50.0,
    "description": "CreateRandomToDoActivity",
    "status": "TBDf2d440c3-84a4-4789-ba7a-cbe42e70a8fd",
    "_metadata": {
        "operationType": "replace",
        "previousImage": {
            "id": "4661bff2-329b-45fd-8963-e3f0c9384938",
            "taskNum": 42,
            "cost": 1,
            "description": "CreateRandomToDoActivity",
            "status": "TBDf2d440c3-84a4-4789-ba7a-cbe42e70a8fd"
        }
    }
}

This is subject to change before the feature GA

@ealsur Thanks. This is great. How can I get my hands on the preview?

@ealsur Thanks. This is great. How can I get my hands on the preview?

@timsander1 do you know what is the roadmap for FF public preview? @petro2050 I don't think the preview is public yet.

@timsander1 do you know what is the roadmap for FF public preview? @petro2050 I don't think the preview is public yet.

Hi @petro2050, we don't have a preview available yet. This is still in progress.

Hi @petro2050, we don't have a preview available yet. This is still in progress.


Powerplay

Can i switch off my zonneplan inverter through home assistant.

No currently not, is that possible using the app? With powerplay enabled you can let Zonneplan disable the inverter don't think you can do this your self.

Yes you are correct. Only Zonneplan can do that remotely. But would be nice if dynamic electricity prices are negative.
On Monday 22 April 2024 at 14:21:32 GMT+9, Frans Saris @.***> wrote:
No currently not, is that possible using the app? With powerplay enabled you can let Zonneplan disable the inverter don't think you can do this your self.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

closing as this is currently not provided as an option in the API


Fix compare allow untrusted certs

Readme states "true|false" as values for AllowUntrustedCerts, code was checking for "on", and option did never work this way.
To be consisten with other values, change code to compare with "true".

This pull request goes way beyond untrusted certs.

yeah, sorry, only noticed afterwards that this pull-request has other stuff as well
Was not intentional.

You could make one for the cookie sync feature but then a preference would be appreciated


Fix value of __pld_config_key__

We were setting it to __factory__, not the right key.

Coverage remained the same at 100.0% when pulling bb8c6b9efa31366616c09f52abae1b50131b55bd on bugfix/pld-config-key-bad-value into 5f4f793630dd2149998a0a82cd12351f996415df on develop.


Support for Illumina reads?

Would be good to support Illumina reads too.
Probably not your overlap method, but standard "number of unique 24-mers above frequency 3" for example.
And auto-detect the data platform too.

Probably not going to support short reads but I’d be open to adding some documentation suggesting what people can do to estimate genome size from illumina. I already have a section that discusses alternatives and these (mash and genomescope2) would probably fit the bill?


upd(wezterm-bin): 20230408-112425-69ae8472 -> 20230712-072601-f4abf8fd

Wow that was quick :)

That's just how we roll here ;)

Maybe it is because Microsoft is a big corporation, but when I create pr in the winget repo, it takes way more to get approved.


doubt how can I customize the selected item?

if I choose item its append to selected list with cross mark to remove icon. but i want just
" 1 label selected" or "6 labels selected" message only.

It is possible to write your own adapter (overriding CreateSelectedItemContent ) but...
BsMultiSelect is "input style" multi select, all its idea is to have items which look like text, to take an input focus and write filter "inline" as simple text, and use backspace to delete an item. So the idea to have option "6 labels selected" with "inline filter and backspase handled to delete an item" for this concreate plugin is contrproductive. .
But thank you that you take a look on this one.


Fooling OCR Systems with Adversarial Text Images [Published Paper]

Recently, I have read a research paper called Fooling OCR Systems with Adversarial Text Images
Basically, it states that making minor changes to an image could hinder & fool the ocr engine.
They used Tesseract 4 as an example.
My question: is there a way to defend against such thing?

@theraysmith @amitdo @egorpugin @Shreeshrii @stweil

From the paper: "The adversarial examples in this paper were developed for the latest version of Tesseract, a popular open-source OCR system based on deep learning. They do not transfer  to  the  legacy  version  of  Tesseract,  which  employs character-based recognition".
So using both OCR engines might help against such adversarial text images.
I was not able to reproduce the results from the article. It would be good to get the original images, software version and traineddata which were used.

My question: is there a way to defend against such thing?

My guess is that you can solve it by having a certain percent of the images in the training dataset that include this filter.

https://github.com/coallaoh/AIP

I was not able to reproduce the results from the article. It would be good to get the original images, software version and traineddata which were used.

CC: @csong27 (Main author of the said paper)

other than exposures "-3 -2 -1 0 1 2 3" what other commands add degradation to the generated images?

The 'exposures' are meant to be used to train the legacy engine.
For lstm training See #1052.

@amitdo

Do you mean, when training Tesseract 4 lstm there is no use of using exposures "-x+1"?
Also, there is no reference of how to use degradeimage.h or it's various applications in text2image.
So, how can we degrade and add noise filters to the generated images?

`text2image should already do that:
$ text2image --help|grep -i degrade
  --degrade_image  Degrade rendered image with speckle noise, dilation/erosion and rotation  (type:bool default:true)

@stweil,
With --degrade_image this function will be called:
// Degrade the pix as if by a print/copy/scan cycle with exposure > 0
// corresponding to darkening on the copier and <0 lighter and 0 not copied.
// If rotation is not nullptr, the clockwise rotation in radians is saved there.
// The input pix must be 8 bit grey. (Binary with values 0 and 255 is OK.)
// The input image is destroyed and a different image returned.
struct Pix* DegradeImage(struct Pix* input, int exposure, TRand* randomizer,

but together with the new lstm code this new function appeared:
// Creates and returns a Pix distorted by various means according to the bool
// flags. If boxes is not nullptr, the boxes are resized/positioned according to
// any spatial distortion and also by the integer reduction factor box_scale
// so they will match what the network will output.
// Returns nullptr on error. The returned Pix must be pixDestroyed.
Pix* PrepareDistortedPix(const Pix* pix, bool perspective, bool invert,
                      bool white_noise, bool smooth_noise, bool blur,
                         int box_reduction, TRand* randomizer,
                         GenericVector<TBOX>* boxes);

Ray said about PrepareDistortedPix() (newer method):

It is used internally at Google. Text2image could be modified to use it too.

I think PrepareDistortedPix() is similar to the degradations methods ocropy uses.

Do you mean, when training Tesseract 4 lstm there is no use of using exposures "-x+1 ..."?

You can use it, but it seems that the newer method is more suitable for for the lstm model.
Currently, there is no code that actually calls the newer method.

Currently, there is no code that actually calls the newer method.
:sunglasses:

He on the beach right now... :sunglasses:

@jbreiden, what's the value of box_reduction?

Any updates regarding Data Augmentation?

Nvidia labs have some interesting implementation of data degradation
https://github.com/NVlabs/ocrodeg
https://github.com/NVlabs/ocropus3

Info about Calamari OCR at https://github.com/tesseract-ocr/tesseract/issues/1782#issuecomment-411018986
Thanks @christophered for the info.

An interesting research paper have been released by Nvidia called Noise2Noise, it shows a new method of cleaning and de-noising images using a model trained on noised images only, not clean ones, it's amazing!
This means that such model could actually understand What noise is.
@theraysmith @stweil @egorpugin @amitdo  Do you see it ever be implemented in Tesseract?
https://www.youtube.com/watch?v=P0fMwA3X5KI
https://arxiv.org/pdf/1803.04189.pdf
https://news.developer.nvidia.com/ai-can-now-fix-your-grainy-photos-by-only-looking-at-grainy-photos/

If implemented in Tesseract, this would mean that we wont be needing to add noise or degradation to our data while training, Because Tesseract would already have it's own Model to recognize noise and degradation, Tesseract would know what noise is.

who can help me to create an adversarial text image? I have a text imagine and I want to hide some words from bots. I'm super noob about this subject or any coding. I just read about this method and I think I can fool the OCR.   @Mobinfazli is my telegram.


UnboundLocalError: local variable 'pitch' referenced before assignment

Hi!
After typing "python preprocess.py config/LibriTTS/preprocess.yaml" into the terminal, the output i received is this
line 85, in build_from_path
if len(pitch) > 0:
UnboundLocalError: local variable 'pitch' referenced before assignment
how do i debug this?

sorry, it was just an indentation issue.

sorry, it was just an indentation issue.

sorry, it was just an indentation issue.

Hi,
I am faced with same problem. Can you explain your solutions?
Thanks

@wanwen1405 I encountered the same problem. How did you solve it?


Change beforeAll test to beforeEach

This might not be critical for this test as it currently stands, but it's important to run this cleanup before every test, not just before the test suite.
Using beforeAll caused me complications with the ignoreFiles feature because files continued exist after previous test runs had completed which skewed my file checks to have false positives

beforeEach does sound like a good idea for all tests.
The second test here now checks if a cleared directory is still cleared, for this describe block the 2 tests will need to be combined.

I've reviewed all tests and applied beforeEach and beforeAll to clear the directories, different tests needed it done differently to keep the test descriptions helpful

I'm going to close this as it has been covered by another PR, comment if you dont agree

I'm going to close this as it has been covered by another PR, comment if you dont agree


Error: [libs/dml/src/datamodel.rs:178:14] Every RelationInfo should have a complementary RelationInfo on the opposite relation field.

Command: prisma db pull
Version: 4.4.0
Binary Version: f352a33b70356f46311da8b00d83386dd9f145d6
Report: https://prisma-errors.netlify.app/report/14372
OS: arm64 darwin 21.5.0

The data structure responsible for this error (and many errors) is gone for good in sql-introspection-connector as of https://github.com/prisma/prisma-engines/pull/3425


Updating README.md

Hi,
I would like to update the Read me file to add the necessary things.
thanks
Honey

heyy ,
Can I try to  work on this as well ??

ya sure go for it

heyy ,
Can I try to work on this as well ??

sure ..go for it

Hey, @Ayan-thecodeking  Sorry to cut you here !! But @honeybhardwaj  asked in the comment that he will like to work on this issue !! It's not fair to assign an issue who asks second !! This is Ok for this time we all are learning here but this will create big issues when working on real-world projects! Please keep in mind !! You can go with this @Sarthakjain594  If @honeybhardwaj  has no objection !!
Please let @Sarthakjain594  know about this @honeybhardwaj  !!
HAPPY CONTRIBUTIONS !!

heyy  @honeybhardwaj ,
Pls let me know your view .

Hey, @Ayan-thecodeking Sorry to cut you here !! But @honeybhardwaj asked in the comment that he will like to work on this issue !! It's not fair to assign an issue who asks second !! This is Ok for this time we all are learning here but this will create big issues when working on real-world projects! Please keep in mind !! You can go with this @Sarthakjain594 If @honeybhardwaj has no objection !!
Please let @Sarthakjain594 know about this @honeybhardwaj !!
HAPPY CONTRIBUTIONS !!

really i appreciate that @rohan-kulkarni-25 , No issue @Sarthakjain594  you can continue to work on it i dont have any problem

Hey, @Ayan-thecodeking Sorry to cut you here !! But @honeybhardwaj asked in the comment that he will like to work on this issue !! It's not fair to assign an issue who asks second !! This is Ok for this time we all are learning here but this will create big issues when working on real-world projects! Please keep in mind !! You can go with this @Sarthakjain594 If @honeybhardwaj has no objection !!
Please let @Sarthakjain594 know about this @honeybhardwaj !!
HAPPY CONTRIBUTIONS !!

so sry actually I hv assigned someone first time

@honeybhardwaj @rohan-kulkarni-25 @Ayan-thecodeking Thanks I will try my best

Pls give me a gist of what content do we need to add in here .

@Sarthakjain594 whatever that will be useful for the intro page about this repo such as  its description, guidelines, desrciption of directores . contributors at bottom etc

Fixes #18


feat: google docs style suggestion accepting/deletion

Hey @maisonsmd , thanks for creating this awesome plugin! I was wondering from your experience how complicated it would be to allow for google docs style suggestions (ex:
)

A solution I can think of:
Backend: You'll need to send your full text to a server/ API that can give suggestions, this would be complicated if you build from ground up.
UI:

Receive the response from your API, find the texts that have suggestions in the document tree (AST) then wrap it in clickable elements and apply styles.
Render popup on click
Replace the document tree nodes as suggestions accepted.

The UI part is seems to be the easier one.
However, this is not the right place for this question. You can create an issue on the Carta repo and ask for suggestions from the author @BearToCode, he knows his project best.


Windows is not supported

Mention in readme that Windows is not currently supported.

Sure. We should also invite people to submit a PR to fix the issue. Want to make a PR for the README? You're also welcome to make a PR to add windows support if you like. =)

Still have problem:
https://gitter.im/learn-javascript-courses/javascript-questions?at=5817be16806316005ddf2219

Looks like we need a cross-platform clear screen. I believe windows has cls and unix uses clear.

https://github.com/ericelliott/react-pure-component-starter/pull/238


added guide for 3 networks grid deployment

Related Issue

To answer issue #469

Work Done

Added steps to deploy grid instances for main, test and dev at the same time (e.g. dashboard.domain.com, dashboard.test.domain.com, dashboard.dev.domain.com)

Closing in favor of #489


Upload generated controls.pdf as artifact instead of commit

We should also remove controls.pdf from the repo


feat: context propagation for nestjs

This PR
Is a draft for the context propagation in the Nest.js SDK.
This relates to the discussions from https://github.com/open-feature/js-sdk/pull/733#discussion_r1427747322.
Open questions are:

How to scope the contextFactory?  It seems that we should be able to define a common and client specific context factories.
Should the AsyncLocalStorage be used in the FeatureFlagDecorators too as it is in this draft?
Should we merge the injected OpenFeatureClient and the OpenFeatureContextService so that you do not have to inject both into the consuming services as we do in the TestService?

@luizgribeiro this is the draft for what we discussed about, what do you think?

Should we always use a global interceptor? I think this might be the default but it would be good to make it possible to disable it and provide users the ability to use the interceptor at Controller level or route

Ya, this may be interesting for users! Maybe you can sketch out something?

Should we provide a default interceptor that looks for specific (maybe spec wise) headers?

Not sure if this makes sense. I think the data used (from headers, tokens,...) is to diferent from case to case to provide a good default.
Do you have anything concrete in mind?

If not, I can start to work on controller interceptors based on this

What interceptors are you thinking of @luizgribeiro?

Oh, this one @lukas-reining, my bad.

Should we always use a global interceptor? I think this might be the default but it would be good to make it possible to disable it and provide users the ability to use the interceptor at Controller level or route
Ya, this may be interesting for users! Maybe you can sketch out something?

Oh, this one @lukas-reining, my bad.

Ah yes, this would be cool!

I couldn´t find a straightforward way of doing it at module level. By the docs and from this issue I'd say it's not native to Nestjs.
I've opened the #739 for this branch to make it possible to switch off the global OF context interceptor

I feel like we could bring that into the experimental SDK now.
What do you think @luizgribeiro @beeme1mr @toddbaert?

Sounds good to me. I would like to try it out in the playground app to see how it feels to work with.

Sounds good to me. I would like to try it out in the playground app to see how it feels to work with.

Are you doing it? Or should I make a PR for this?

Feel free to get it started if you have time. I've been experimenting with a cli to generate type safe clients. I would like to get that in a better place before shifting my focus.


Allow passing of method keyword to numpy.percentile

🚀 Pull Request
Description

The PERCENTILE fast method will be more versatile if we can choose our interpolation method.

Consult Iris pull request check list

@wjbenfold I promise that after this I am done messing with PERCENTILE!

Does it only make sense to allow passing "method"? It seems like it would be more general to pass all kwargs through, though I don't know enough about what the others do to tell if allowing that would only be letting people shoot themselves in the foot

@wjbenfold that’s a fair point and at the moment I think there is nothing to stop a user passing e.g. limit to the scipy function, even though we haven’t documented that you can.  I did wonder if it would be better to just pass all kwargs down and let the numpy/scipy function raise an error if they get the wrong ones.  The current approach of silently ignoring wrong kwargs could lead to more confusion for the user.
There was some relevant discussion at #3294, but it was somewhat inconclusive.

Happy despite failing test (see #4822)


Update-clarify-sq-cmd

this pr clarifies the resource type flags accepted for saved query.
the --resource flag page  doesn't supportdbt run so this pr also removes dbt run from the current page.
slack thread

hey @b-per - going to come back to this tomorrow to finalize. can you let me know how i can find out what resources supports the resource type flag? i tried looking using --help flag but couldn't narrow it down

Yes, you can use --help.
But you will need to do dbt run --help, dbt build --help etc... to see the parameters for each subcommand.
Or you could check this file in the source code to see which command supports it as well.

Is it normal that some words in this page are singular and some of them plural?

hey @b-per , great flag! thank you and i was going by the page configs but not the core set up. I've updated it now to the core source code-  when you have a sec, can you rereview! ty!

thanks @b-per - always appreciate your insight! ✨


expand UA TLS emulation data

This is blocked however on either switching away from rustls or helping to get that info exposed in their ClientHello: https://github.com/rustls/rustls/issues/1857

Rustls will not support this (on purpose). Given that boringssl will already be integrated into rama as a client backend, we can also integrate it on the server end. With that we can probably get far enough for now.

Blocked by #55.

For 0.2 this is done. In 0.3 we can look into also supporting stuff like ECH. For now we will ignore it.


Issues using Azure Static Website with Outlook Add-in

I was able to deploy my outlook add-in to Azure storage and then set it up as a static website, but outlook is not letting me load the manifest file from the url.  Any specifics on how best to do this would be helpful!

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

ID: 0b9105a4-a164-1e91-11ad-8ccb4f4d6b2d
Version Independent ID: f4e5fae7-ac16-f852-8529-6b0fdd7bdad4
Content: Publish an add-in using Visual Studio Code and Azure - Office Add-ins
Content Source: docs/publish/publish-add-in-vs-code.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @jeff1haupt - What is the error you are getting when trying to load the manifest file with the url?

Thanks for the quick response @peronald! Here's the screenshot of what I'm getting:

A lot of stackoverflow boards talk about this being a DNS issue, but since this is coming from my Azure storage account, I wasn't sure that would be an issue.

Hi @jeff1haupt,
I just wanted to follow up on this issue you opened and whether you are still getting an error when you load the manifest using the URL.


Forks not saved in interactive learning

Rasa Core version:
0.12.4
Python version:
3.6
Operating system (windows, osx, ...):
Ubuntu
Issue:
When I run an interactive learning session to train longer stories with different decisions, it would be useful to be able to use the Fork feature to generate different training stories. However, atm only the current / latest fork at the time of the export is stored in the stories.md. All the others are lost.

Just confirming this is still happening.

@tmbo any ideas what might be going wrong here?

I guess there is a bug in the exporting code of the interactive learning script - def something we need to fix, but I didn't have time to look into it.


Update endpoint

update /signin endpoint to /login

unsure if the /login endpoint should be the landing or if I should have a different page be the landing that directs the user to a signin and register separately


COUNT entities with OneToOne as identifier does not work since 2.5

I have an entity with Id as OneToOne to another entity.
class MailList
{

    /**
     * @ORM\Id
     * @ORM\OneToOne(targetEntity="Product")
     * @ORM\JoinColumn(referencedColumnName="product_id")
     */
    private $product;

ZfcDatagrid uses query builder as data source and creates following query to check if data is available:
SELECT COUNT(m) FROM Setup\Entity\MailList m INNER JOIN m.product p
Starting from 2.5.0 query returns an error:
>vendor\bin\doctrine-module.bat orm:run-dql "SELECT COUNT(m) FROM Setup\Entity\MailList m INNER JOIN m.product p"

  [Doctrine\ORM\Query\QueryException]
  [Semantical Error] line 0, col 13 near 'm) FROM Setup\Entity\MailList': Err
  or: Invalid PathExpression. Must be a StateFieldPathExpression.

The last version where this query is working is 2.4.8.
Please help to find out what is wrong.

Can you try SELECT COUNT(m.id)?

It works on m.product in 2.5.0 and 2.5.4.
Is it expected behavior? Whatever ZfcDatagrid gets is QueryBuilder instance and it may too much work to detect how to count entities.

I have the same issue using FOSElasticaBundle. Like pointed out in #4541, there is a change that fixes this.  But this may break other things. Are there any plans to fix this in the near future?

This seems to be related to https://github.com/doctrine/doctrine2/pull/6701 but kind of unsure, could someone send us a failing test case that reproduces that behaviour? It would help us a lot to identify and fix the issue you're describing.
You can find examples on https://github.com/doctrine/doctrine2/tree/388afb46d0cb3ed0c51332e8df0de9e942c2690b/tests/Doctrine/Tests/ORM/Functional/Ticket

I hit it again. I've created test for 2.7 branch https://github.com/olexp/orm/commit/6a25221328c3c2f98cbeb590f2a02f403aa1d886


Ability to sign the app bundle.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
Give an option to sign the app bundle directly (.app) using sigh. It'd be awesome.Thanks.
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[INSERT OUTPUT HERE]
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.4.1

Bundler?
false

Git
git version 2.14.1

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_2/lib

OpenSSL Version
OpenSSL 1.0.2l  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_AU.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.58.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
2.0.2

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.4

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.4

io-console
0.4.6

openssl
2.0.3

generated on: 2017-09-06

Hello,
Did you take a look at resign ?

Ummm yes I did. Doesn't say anything signing .app files. Please give me the full command to sign an app bundle (.app) please. Let's see.

Indeed, resign do not handle .app files but .ipa ! I guess the easiest solution would be to review your workflow to have an IPA file as input.
Otherwise: I don't see any solution with the current sigh.

That's what. If only sigh can be slightly updated to accept a .app file and resign it, it'd be mind blowing. Try adding the tag "enhancement" to this as this really is a brilliant enhancement. Lmk when it's added by commenting here please. Thanks.


Editor crashes when trying to display the waveform of very short audio files (<=19 samples)

Godot version
4.0 beta 2
System information
linux
Issue description
Note: I assume from the following observations that the crash happens because of the waveform display.
(see mrp for short audio files)
Everything works fine for a stream of 20 samples.
Consider the following:

Loading a stream of less than 20 samples from code works.

The following actions make the editor crash (when using a sample shorter than 20 samples):

double-clicking on an imported short mp3 file. When working, this shows the advanced mp3 import editor which displays among other things a waveform of the audio file.
adding a short file (mp3 or wav) as the stream of an AudioStreamPlayer. The sample waveform has to be displayed on the stream field.
adding a short file (mp3 or wav) in an audio playback track in an AnimationPlayer. The sample waveform has to be displayed on the timeline.

The following similar actions don't make the editor crash:

double-clicking on an imported short wav file. The sample waveform is not displayed because of a currently reported regression which disables the previewing of wav files in the inspector.

As you can see the common and excluding factor is the requirement to display a sample waveform.
Steps to reproduce
Try doing any action that requires the display of the audio file's waveform with one of the provided samples below:

double-click an mp3 file
use any file as a stream of an AudioStreamPlayer
put any stream in an playback track in an animation

Minimal reproduction project
Warning: don't play those samples as they result in very loud and high-pitched sounds.
shortaudiofiles.zip

ERROR: Condition "p_points.size() < 2" is true.
   at: canvas_item_add_multiline (servers/rendering/renderer_canvas_cull.cpp:1059)
ERROR: Index p_index = -1 is out of bounds (size() = 0).
   at: get (./core/templates/cowdata.h:155)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.0.beta.custom_build (18177828ad97286ca88cbdcfb763c967858d051b)
Dumping the backtrace. Please include this when reporting the bug to the project developer.

-- END OF BACKTRACE --
================================================================

Hello! I think I have a fix. What would you expect to see in this instance?
I get this (empty preview) for the 10 samples mp3:


Added a utility class to simplify the integration of Healthchecks with Celery

Through this pull request, I would like to propose a utility to automate the call to Healthchecks when using Celery.
Implementing this feature requires a lot of refactoring, but it does not break the current behavior.
I am proposing this feature because for some of my projects, I want to use Healthchecks with Celery tasks. Instead of developing a new solution, I found it interesting to rely on your library and add support for Celery.
Here are the changes made so far:

moving the send_request and send_request_async functions to a separate module
renaming send_request_async to asend_request (to follow Python naming conventions)
moving the JOB_* constants to a separate module
creating a HealthCheckTaskBase class.

Here is an example of how to use it:
from healthchecks_wrapper.celery import HealthCheckTaskBase

@app.task(
    base=HealthCheckTaskBase,
    health_check_url=" https://hc-ping.com/xxx-xxx-xxx-xxx",
)
def cron_that_do_something():
    ...

A ping to Healthchecks will be sent when the task starts, as well as when it finishes (whether it's a success or an error).
I still need to implement unit tests and improve the handling of the retry system provided by Celery (by offering several options). I will update this PR as I progress.
Aymeric

Of course, I would understand if this feature was not accepted in this library. But since I need it anyway and I will be doing the development, I take this opportunity to propose it to you

Of course, I would understand if this feature was not accepted in this library. But since I need it anyway and I will be doing the development, I take this opportunity to propose it to you

This looks like a nice feature for sure :) Please make it ready for review and add me as a reviewer. Thank you for your contribution!


Upgrade to revert tombstoning of certain validators [Do not merge]

1. Overview
An upgrade that reverts that tombstoning of certain validators.
2. Implementation details
The upgrade loops over the list of specified validators and reverts the tombstone on each of them.
The validators are still in jail afterwards, they need to be unjailed manually.
For each account that had delegated to the validators at the moment of slashing, new coins are minted to roughly reimburse them for the slashing and the lost APR since.
Finally, the coins are sent to their respective addresses.
3. How to test/use

Set up a local net with a few validators.
Double sign with one or more of them (e.g. Copy the priv_validator_key to another validator)
Propose an upgrade to revert the tombstoning
Edit the code and enter the addresses of the tombstoned validators
Build the new binary and contribute it among the validators
After the upgrade has successfully been executed, the validators are no longer tombstoned and the relevent addresses are refunded
The validators still sit in jail and need to be unjailed maunally

4. Checklist

[ ] Does the Readme need to be updated?

5. Limitations (optional)
At it's current state, it was not possible to actually send coins to the affected addresses.
The coins were successfully minted but the program crashed when it tried to send the coins from the mint module to account addresses because of a nil pointer dereference  (app/cos_patch.go:81)
6. Future Work (optional)
The affected validators and accounts need to be queried and added to the patch so they can be reimbursed.
In addition to that, the function to send coins from the mint module to the accounts needs to be debugged.

@monopauli have you tried running the code in debugger mode?


Allow cursors to know whether they can forward/reverse past end/begin based on whether their sequence is meta

To avoid all the passing around of canAdvancePastEnd. This could just be a config param in the constructor.

Meh


Design: config option limits

Is your feature request related to a problem? Please describe.
In #1586, we wanted to let the user know when their config was overridden by Zebra's internal config limits, but we didn't have a standard way of doing that.
For example, we should require that Zebra has at least 1 peer. (Or possibly at least 4 to match the FANOUT setting, or more until we solve #704.)
Describe the solution you'd like
Create a config design that has a standard way of:

defining limits (or performing validation) on each config value
enforcing those limits
handing limit errors

Describe alternatives you've considered
Just panic, silently override the user's config, or do nothing when internal config limits are exceeded.

We should only do this if it becomes a problem.


Update add-a-governance-policy-step-to-a-pipeline.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

remove FEATURE FLAG at request of @sribalij

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


FAILED TO INSTALL FROM URL?!

Hello need help.. I'm using FBI and I'm trying to install some cias. But always have an error with the remote instalations. I was tryed to install that cias with sd card navigating to the folder of cias but for unknow reason I can't because I don't have the options of install and delete  or install.. I don't have any option in the fbi to install the cias. I'm looking for a solution for that and I was think in reinstall it again but don't know how can I do that because it's my first time using cfw on my 3ds. So it's another posibility but the objective it's solve that. I will write you here the error of my 3ds screen when I scan a qr code, please help me ASAP I don't understand what I'm doing wrong..
Failed to install from URL.
https://github.com/DanTheMan827/tik...
Result code: 0xE0E083EC
Level: Usage (28)
Summary: Invalid argument (7)
Module: AM (32)
Desc: Invalid size (1004)

Never seen this before. Have you tried the latest commit?

I tryed with the last version of FBI if you are telling that. And I understand that you never seen this before.. But the question is, what can I do? I'm worried about that..

Problem was solved! Don't buy kingston MICRO SDHC CARD!!!!! That's the problem..  Btw thanks for try to help! ^^


kafl gui is not working

(.venv) zoodasa@HackMachine:~/kAFL$ kafl gui
Traceback (most recent call last):
  File "/home/zoodasa/kAFL/kafl/.venv/bin/kafl", line 11, in <module>
    load_entry_point('kafl-fuzzer', 'console_scripts', 'kafl')()
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/__main__.py", line 34, in main
    args.func(settings)
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/gui/__init__.py", line 814, in start
    curses.wrapper(main)
  File "/usr/lib/python3.8/curses/__init__.py", line 105, in wrapper
    return func(stdscr, *args, **kwds)
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/gui/__init__.py", line 805, in main
    gui = GuiDrawer(settings.workdir, stdscr)
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/gui/__init__.py", line 227, in __init__
    self.data = GuiData(workdir)
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/gui/__init__.py", line 447, in __init__
    self.load_initial()
  File "/home/zoodasa/kAFL/kafl/fuzzer/kafl_fuzzer/gui/__init__.py", line 457, in load_initial
    self.config = load_config()
TypeError: load_config() missing 1 required positional argument: 'keys'

Fuzzer:
Worker-00 Entering fuzz loop..
00:00:09: Got    1 from    0: exit=R, 11/ 0 bits, 11 favs, 1.51msec, 0.2KB (kickstart)
00:00:09: Got    2 from    0: exit=R,  2/ 0 bits, 12 favs, 0.12msec, 0.2KB (kickstart)
00:00:09: Got    3 from    0: exit=R,  2/ 0 bits,  3 favs, 0.12msec, 0.2KB (kickstart)
00:00:12: Got    4 from    0: exit=R,  2/ 0 bits,  2 favs, 0.12msec, 0.2KB (kickstart)
00:00:14: Got    5 from    2: exit=R,  1/ 0 bits,  1 favs, 0.12msec, 0.0KB (trim)
00:03:02: Got    6 from    4: exit=R,  2/ 0 bits,  2 favs, 0.13msec, 0.0KB (afl_splice)
00:03:33: Got    7 from    3: exit=R,  2/ 0 bits,  2 favs, 0.13msec, 0.0KB (afl_splice)
00:03:39: Got    8 from    3: exit=R,  2/ 0 bits,  2 favs, 0.13msec, 0.0KB (afl_splice)
00:07:13: Got    9 from    6: exit=R,  2/ 0 bits,  2 favs, 0.13msec, 0.0KB (afl_splice)
00:08:02: Got   10 from    8: exit=C, 14/ 0 bits,  0 favs, 0.54msec, 0.0KB (afl_splice)
00:10:17: Got   11 from    9: exit=R,  2/ 0 bits,  2 favs, 0.13msec, 0.0KB (afl_flip_2/1)
00:10:38: Got   12 from    2: exit=C,  7/ 0 bits,  0 favs, 0.29msec, 0.0KB (afl_splice)
00:12:50: Got   13 from    9: exit=R,  2/ 0 bits,  2 favs, 0.11msec, 0.0KB (afl_splice)
00:23:13:  5280 exec/s,   30 edges,  0% favs pending, findings: <2, 0, 0>
The Fuzz works smoothly, and the driver used a test driver (as described in the tutorial). However, if I try to use gui after making env in the new terminal, it won't work. What am I missing?

Hi @hyjun0407
and thanks for the bug report.

What am I missing?

You are not missing anything, I overlooked a parameter that should have really been optional (not just with Optional[ ] typing)
I published a fix for this regression, and already merged it.
Since kAFL's playbook is using the fuzzer's master branch, simply redeploying should do the trick ! (make deploy)
Sorry for the incovenience !


about parameters for LoFTR

❓ Question
Can I know all the parameter values for LoFTR algorithm including RANSAC?
Thank you
📎 Additional context

For loftr, find more information here
For RANSAC settings, you can find it here:


GridCtrl layout control has been move to Upp namespace.

Changes:

DropGrid.usc is now under Upp namespace
GridCtrl.usc is now under Upp namespace
GridCtrl references and examples has been ported to new namespace

Thanks, good job.


Still getting "APNS device with this Registration ID already exists." or {"detail": "Not found."}

I have this one in settings: UPDATE_ON_DUPLICATE_REG_ID = True
Logging in as a different User, but want to register the same device.
Receiving this when POSTing to ../apns/
{
  "registration_id": [
    "APNS device with this Registration ID already exists."
  ]
}

Receiving this when PATCHing to ../apns/apns/{registration_id}/
{
  "detail": "Not found."
}

Am I missing something or doing something wrong?
Thanks ahead.

For some reason pip install django-push-notifications did not install the latest version. I mean it installs version 1.4.1, but there's nothing about UPDATE_ON_DUPLICATE_REG_ID setting there.

Yes, see #373. I'll be doing a 1.5.0 release as soon as the last couple of blockers land, hopefully within the next few weeks.

Ah, sweet. I'm gonna be deploying the app just with latest master branch for now.


Manage Environments: second time selection not working

Expected Behavior
Hi, thanks for this great application. I'm attaching a GIF to show what's happening, then describing the steps:

Open Manage Environments, where previously a single Sub Environment has been added
Click on Sub Environment, right pane updates accordingly
Click on Base Environment, right pane updates accordingly
Click again on Sub Environment, right pane should update accordingly again

Actual Behavior

Open Manage Environments, where previously a single Sub Environment has been added
Click on Sub Environment, right pane updates accordingly
Click on Base Environment, right pane updates accordingly
Click again on Sub Environment: nothing happens, right pane still shows Base Env.

Reproduction Steps
See previous fields
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.5.8
What operating system are you using?
Windows
Operating System Version
Windows 11 Pro 23H2 Build 22631.4112
Installation method
Download from site
Last Known Working Insomnia version
No response

The version 2023.5.8 is out of date, you can upgrade to the latest release version. This issue should have been fixed already.

Thanks!


26.0.0

[ ] move archives to final destination 30-60min before release
[ ] adjust paths

tests as expected


Fix bug improve code structure

bug is you add text- field width fix define
i solved this problem

Can u please share the app here?

how can create apk in windows

Not the apk, but the standalone app!
Use the following command to create standalone app,
./gradlew createReleaseDistributable
The app will be present inside:

build/compose/binaries/main-release/app/

./gradlew createReleaseDistributable

not work

Please double click this option, and share the output

welcome


Provide native APIs for I2C/SPI functionality currently handled by<EMAIL_ADDRESS>traits

I was a little unsure of a few things with regard to our SPI driver, so @bjoernQ please let me know if anything doesn't look right here. I think this should be correct, though 😅

I2C was easy, so added that here as well, because why not 😁


[Fix](inverted index) fix inverted index compound reader memory leak

Proposed changes
Issue Number: close #xxx

run buildall

run buildall


⚠ Bofrost.be has degraded performance

In 0466afe, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1204 ms

Resolved: Bofrost.be performance has improved in 8ee5a62 after 303 days, 16 hours, 50 minutes.


Missing support for line highlighting

Hi, first of all thank you for the theme 🙂 I've started using it, but there is one feature that I miss: line highlighting.
Consider this:
```php {hl_lines=[5]}
<?php

class Foo {
    public function shout(): string {
        die('BAR!');
    }
}

die('BAR!'); should be highlighted, but it's not because support for .chroma .hl is missing. I was able to override syntax.scss and add it but it's not that easy since code's content is not full-width and it looks weird:

Probably I need to override whole SASS config and use hugo gen chromastyles for syntax highlighting. Thanks in advance for fixing it.

Ahh… thanks for your feedback! I'll go figure out what these things are and how they work. But I guess it's not possible to fix the line highlighting because those line numbers and codes are in two separate columns generated by hugo, I can do nothing to change it's generated HTML code, but probably I'm missing something. Anyways, I will try to make it right.

For the record, with noClasses = true it's somehow working:

It looks slightly worse because line height is not working. But it is also rendered with 2 tds (line numbers + code) and it's full-width. So most probably it's possible to achieve it with classes 😉

PS: I was able to slightly improve line highlighting by overriding syntax.scss and adding:
.chroma .hl {
  background-color: #585858;
}

.chroma .lnt {
  display: inline;
}

Line number is also highlighted and for now it should be enough. But with full-width it would look much better IMHO 🙂

Sorry for the delay. I just got time to deal with this. Now a full-width line highlighting is available. #5a2a7cc

Thanks! 🍻


Validation Failed (GitHub::Error)

Please follow the general troubleshooting steps first:
Done

[x] Ran brew update and retried your prior step?
Yes
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
Yes

Bug reports:
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/tmp/pybats--homebrew-virtualenv-20161102-71550-1iuyk4/target/lib/python2.7/site-packages/virtualenv.py", line 2332, in <module>
    main()
  File "/tmp/pybats--homebrew-virtualenv-20161102-71550-1iuyk4/target/lib/python2.7/site-packages/virtualenv.py", line 711, in main
    symlink=options.symlink)
  File "/tmp/pybats--homebrew-virtualenv-20161102-71550-1iuyk4/target/lib/python2.7/site-packages/virtualenv.py", line 944, in create_environment
    download=download,
  File "/tmp/pybats--homebrew-virtualenv-20161102-71550-1iuyk4/target/lib/python2.7/site-packages/virtualenv.py", line 900, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/tmp/pybats--homebrew-virtualenv-20161102-71550-1iuyk4/target/lib/python2.7/site-packages/virtualenv.py", line 795, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /usr/local/Cellar/py...ibexec/bin/python2.7 - setuptools pip wheel failed with error code 2
Running virtualenv with interpreter /usr/local/bin/python

READ THIS: https://git.io/brew-troubleshooting

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in `raise_api_error': Validation Failed (GitHub::Error)
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in `open'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:233:in `issues_matching'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:266:in `issues_for_formula'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:323:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:319:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:364:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `<main>'

READ THIS: https://git.io/brew-troubleshooting

Please read this and follow the troubleshooting steps. Thanks!

I tried all of the things in the link

@medyagh And your brew doctor output?

Closing due to no response.


ci: update integration docs

This PR is auto-generated by a nightly GitHub action to update the individual integration pages from the integration READMEs in withastro/astro.

Fool me once, ci update... checked the Netlify preview on this one before merging! :sweat_smile:


Delete manifests/j/JanDeDobbeleer/OhMyPosh/7.58.1 directory

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Update automake config

This resolves a bit of an obscure issue for me. Here's what's happening:
I'm trying to compile a project from source that uses glog. This project needs to be compiled for ARM (aarch64) and the way I'm running this is inside of a container (Docker) on an x86 machine but that has binfmt_misc setup on the kernel to handle ARM binaries through qemu-arm-static. The container starts with a scratch image and just applies Ubuntu's core ARM64 image on top. In the end everything inside is emulated through qemu to mimic an isolated ARM environment.
When the project goes to build its version of glog it runs into:
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2007-07-22, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
and
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to<EMAIL_ADDRESS>in order to provide the needed
information to handle your system.

config.guess timestamp = 2007-07-22

uname -m = aarch64
uname -r = 4.4.0-34-generic
uname -s = Linux
uname -v = #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.4.0-34-generic
UNAME_SYSTEM  = Linux
UNAME_VERSION = #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016
configure: error: cannot guess build type; you must specify one

Updating config.guess and config.sub from the latest versions here http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and here http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD resolved the issue.

This should be signed by Verizon Labs. If not, let me know and I will check back in with them.

Has the CLA not been signed?

I signed it!

Any interest in merging this in?

Obsoleted by #585.


BitLocker and offloading encryption.

> BitLocker supports offloading encryption to encrypted hard drives.
Is this still the case?
https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/ADV180028
and
https://support.microsoft.com/en-us/help/4516071/windows-10-update-kb4516071
Quote from second link:
> Changes the default setting for BitLocker when encrypting a self-encrypting hard drive. Now, the default is to use software encryption for newly encrypted drives. For existing drives, the type of encryption will not change.

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

ID: 29116f85-264f-d031-be7b-e32a1816cd28
Version Independent ID: 640478e6-a367-4e47-a177-3a10dd006d1c
Content: Overview of BitLocker Device Encryption in Windows 10 - Microsoft 365 Security
Content Source: windows/security/information-protection/bitlocker/bitlocker-device-encryption-overview-windows-10.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @Kristof-Mattei ,
yes, it is still supported.
it is not recommended (as it is stated in your first link), but it is still an option, so I think as the article is an overview of features, there is no need to change anything here.
What do you think?
Thank you

While this is indeed still supported, it is not clear in the first link that the default is Software, hence my confusion.

@Kristof-Mattei - Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by MaratMussabekov so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Agree a set of QA KPIs

Sub of #659
User story
As a project manager, and a core developer, i want to be able to benchmark our QA performance against some targets that represent success.
Rationale
We are implementing a new QA strategy and putting a lot of effort into defining new processes and features to support it. We have to define a set of indicators we can use to track whether our strategy and tooling has made a positive difference. We also need to know when we fall short so we can course correct.
Implementation details

[ ] @jmcook1186 to propose a set of KPIs
[ ] round of feedback from others on team and wider org
[ ] team agree, KPIs added to monthly reporting

Priority
4/5
Size
M
What does "done" look like?
KPIs agreed and added to monthly reporting
Deadline
tbc

Closing as not planned


PostgreSQL 12 image

Now that PostgreSQL 12 Beta 1 has been released and the official Docker Postgres 12-beta1 image is available: https://hub.docker.com/_/postgres?tab=description

See #134

Any updates on this?

See #143. I'm not adding new versions to this image


Adds support for ruby 3.0 pattern matching

This is simply done by implementing deconstruct_keys in the context, and will enable one to use interactors like this:
context = MyInteractor.()

case context
in success: true, result: { first:, second: }
  do_stuff(first, second)
in failure: true, error_message:
  log_error(message: error_message)
end

More about pattern matching:
https://docs.ruby-lang.org/en/3.0.0/doc/syntax/pattern_matching_rdoc.html
Obligatory gif:

This seems like a cool use case for Ruby 3 and I love that it's proven backwards compatible in the testing. 👍

Thank you! Sorry that this has sat for so long.


Browser back button?

Nice component - thanks for putting it out!  I tried the live demo and it seems that the browser 'back' button does not move backward in the form, which is something I need in my app - so - how hard is it to make it do that?

I would love to see this as well.

Also interested, what is the best way to go about doing this?

Sorry for the delay - great idea, this feature should be mandatory and I’ll look into to after I get this library to work with hooks

@newbreedofgeek I can help here if you need.

Hi @zeel - thanks! Yes, your help is appreciated.
Let’s do some solution design first between us:
How I would do it:

we need to capture “deep link” state of each step:
E.g:
Step 1 deep link:
mysite.com/stepzilla-page.html#s1

Step 2 deep link:
mysite.com/stepzilla-page.html#s2
...
Step 9 deep link:
mysite.com/stepzilla-page.html#s9
Should be easy to do this by adding an hash. This is so the user can share a deep link to a step if needed.

use “pushState” in the core StepZilla source file where the final “back” / “front” step jump logic happens. This will push a history entry that the browser can use.

PushState has 3 params :
history.pushState([data], [title], [url]);
We can use data to store the step index based on the URL # we used. Title can be ignored I think and url will be the hash based URL
Eg
stepzilla-page.html#s9
So:
history.pushState(9, ‘’, ‘stepzilla-page.html#s9’ );
This should take care of the user going back and front on the webpage and the history will keep up.

we then need to “recover the step” via a event listener which can be attached to the page

window.addEventListener('popstate', function(e) {
// e.state is equal to the data-attribute of the last image we clicked
});
There is a good example here:
https://css-tricks.com/using-the-html5-history-api/
Let me know your thoughts? Or give it a go and let me know if it works?
Thanks!

@newbreedofgeek seems feasible with your approach. maybe whole feature can be added behind one prop so if someone don't want this feature, it won't pollute browser history.
I will try this from master branch and update here. Hope it won't conflict with React hooks development


hrs: kill exponential notation

OK after living with this for awhile, the exponential notation in the human readable serialization (output of tools like noms show, and noms diff) is basically never useful and doesn't get easier to read. And in most cases it's more characters anyway. Let's just print out the value in the normal human way.

@arv pointed out, and after looking at the patch, the numbers still look weird in some circumstances.
Observation #1: Part of the weirdness is that numbers like 1200000 get turned into 1.2e6. It would look better, if perhaps unscientific, to render it as 12e5.
Observation #2: Exponents are most useful in powers of 3, so 1200000 get turned into 1200e3.
Observation #3: By default Go turns anything > 1e6 into an exponent.
Strawman: what if the formatting were: render only an exponent which is a multiple of 3, if that number is >6 or <-6, and don't break up large numbers into decimals.

Ok. I have a patch for this.

Isn't this done now?


Optimize UI for mobile

Not sure if mobile support is needed but viewing on a small screen is currently atrocious. Maybe devote some time and love towards at least viewing datasets in mobile.

Needs more polish, but a lot of initial steps taken in the #126 PR. Still need to optimize the editors and do some cleanup on the miner elements of the UI (within the filteredcatalog components, mainly).


Refactor BoardInfoHelper and Improve Board Detection Mechanism

This pull request addresses and resolves issues outlined in GitHub Issue #421, specifically the error encountered with the execution of commands via sh -c (IOException: Cannot run program "sh": error=13, Permission denied). It introduces a refactored approach to system command execution and board information detection while enhancing code maintainability and testability.
Changes Introduced:

Removal of sh -c for Simple Commands:

Simplified command execution logic using ProcessBuilder directly for straightforward commands like uptime, avoiding unnecessary dependency on shell execution.
For complex commands involving pipes (e.g., cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}'), replaced shell commands with file readers and Java-based processing for better portability and reliability.

Improved Singleton Implementation in BoardInfoHelper:

Refactored the singleton to use the Bill Pugh Singleton Design for thread-safety and lazy initialization.
Added a reinitialize method for controlled reinitialization, facilitating testing and debugging scenarios.

Encapsulation of Commands and System Properties:

Introduced centralized interfaces for system commands (Command) and properties (SystemProperties), ensuring commands and property keys are managed in one place with clear descriptions.

Enhanced Code Maintainability:

Improved JavaDocs for public methods and core components, enhancing clarity for contributors and maintainers.
Modularized logic for better readability and testability (e.g., separate readers for CPU, memory, and board details).

Added Unit Tests:

Developed unit tests for board detection logic, specifically focusing on getBoardModel and related methods.
Ensured file path overrides are testable, enabling reliable validation in different environments.

Improved Board Information Reading:

Replaced error-prone shell commands with efficient Java code for reading system files such as /proc/cpuinfo and /proc/device-tree/model.
Incorporated CommandResult for consistent output across all data readers.

Indeed, great work! You're pushing this code up to a higher level! And I love the unit tests.
Let us know if the nesting can be reduced, and then we can quickly merge and have a 2.7.1-SNAPSHOT that can be tested.


How to run the tests ?

I'm working on #258 and I would like to run the tests for the NodeJS compiler on my machine.
However I have no idea about how to run the tests. I tried a mvn clean install in the ./testing directory and it failed after 30s.

OK, first pull my latest changes. I removed Integer some time ago because it is ambiguous  (compared to e.g. Int16), but it was quite intensively used in the tests...
you may have to mvn clean install in ./testing/framework and ./testing/reportbuilder first, then mvn clean install in ./testing

Also, it is possible to just run the nodejs tests, but I do not remember how...

or in Eclipse, right click on testing project,-> run as JUnit

cd ./testing/framework && mvn clean install
 Failed to execute goal on project testing.framework: Could not resolve dependencies for project org.thingml:testing.framework:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.thingml:compilers.framework:jar:2.0.0-SNAPSHOT -> org.thingml:thingml:jar:2.0.0-SNAPSHOT: Failed to read artifact descriptor for org.thingml:thingml:jar:2.0.0-SNAPSHOT: Could not find artifact org.thingml:language:pom:2.0.0-SNAPSHOT in thingml-snapshot (http://maven.thingml.org/thingml-snapshot/) -> [Help 1]

I did yesterday, but I just did it again to make sure and it doesn't help.

Hmmm...
Try also cd language && mvn clean install

well, the errors when compiling language are indeed not an issue (or at least not a blocking one).
As for the tests themselves, all the tests for which you have the proper setup to run the generated code (e.g. node and npm for NodeJS)  should run (the other should be skipped (probably posix, posixmt and go in your case?). Still, most nodejs tests should pass.... Not quite sure what is wrong, thoug... Is there some useful information from the errors and exceptions being displayed in you terminal?

Yes, posix and go are skipped. I probably don't have enough storage on my laptop to store the error log. I can't see anything in the terminal history, but this one is quite short. I might try again if I found it the alternative to tee in powershell and buy a 2TB SSD.

So the powershell equivalent to tee is tee. Example : mvn clean install | tee -filepath bigdata.log.
Using the latest version, by pulling and not fetching (fuck this fetch button on my Git GUI, so stupid), it runs. A few NodeJS tests fails, but that's expected I guess.

I also decided to ignore the many Timeout while executing 'mvn exec:java' because maven is so slow that it's not relevant.


Include a default Revision History Limit to avoid keeping old RCs / RSs

By default if no Revision History Limit is added to DeploymentConfigs or Deployments spec then all old ReplicationControllers / ReplicaSets will be kept.  This consumes resources in etcd and crowding the output of kubectl get rs / oc get rc source https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#revision-history-limit
Should we add a default value when generating DC / deployment yaml?

@nicolaferraro I'd like to add a default .spec.revisionHistoryLimit to fmp generated deployment.yml and deploymentConfig.yml files. Is this something that can be easily done?  If you're able to give me a starting point I can have a crack myself?

Yes @rawlingsj, I don't think there will be particular problems in implementing it.
I think the best way to do it is to add another enricher. Enrichers should be declared in a manifest file and added to profiles. Imo it can be added at the end of the default profile here. It will be executed after all resources have been generated by other enrichers and it will just add the limits to that resources.
You may use the visitor pattern to augment resources, like here. You can also define specific configuration options for the enricher e.g. to let users set a limit different from the default.

@nicolaferraro perfect! That's exactly what I was after, thanks.  I'll give it a whirl.

I wonder whats a good value to default it to - 2? or 3?

yeah 2 should be a good enough default

@hrishin fancy taking a stab at this one?
figure we could add a new Enricher thats enabled by default which takes an optional configuration (that defaults to 2) that then adds the revision history limit. It'd be nice to enable "2" OOTB without any user configuration (folks can easily opt out by excluding the enricher)

@nicolaferraro

Enrichers should be declared in a manifest file and

Is it "fabric8" or "standard" manifest? could you please confirm?

I guess this would be standard enricher; as its standard stuff and not related to whether fabric8 CI / CD was being used

would also opt for 'standard'

@rhuss

would also opt for 'standard'

Sorry but didn't get it

so it'd go in this package https://github.com/fabric8io/fabric8-maven-plugin/tree/master/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard then be in this  file
https://github.com/fabric8io/fabric8-maven-plugin/blob/master/enricher/standard/src/main/resources/META-INF/fabric8/enricher-default

Yes :+1:

In case of OpenShift we expect revisionHistoryLimit to be present in deploymentconfig?

Fixed


Use singleton enum for tde config name, and add tde list operation

This is needed in order for autorest --azureresourceschema to process the operation.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Hi There,
I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:
File: arm-sql/2014-04-01/swagger/sql.core.json
Before the PR: Warning(s): 18  Error(s): 6
After the PR: Warning(s): 18  Error(s): 6
Know more about AutoRest Linter Guidelines.
Send feedback and make AutoRest Linter Azure Bot smarter day by day!
Thanks for your co-operation.

Hi There,
I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:
File: arm-sql/2014-04-01/swagger/sql.core.json
Before the PR: Warning(s): 18  Error(s): 6
After the PR: Warning(s): 18  Error(s): 6
Know more about AutoRest Linter Guidelines.
Send feedback and make AutoRest Linter Azure Bot smarter day by day!
Thanks for your co-operation.

@mihymel FYI

Looks good to me.

No modification for AutorestCI/azure-sdk-for-node

 https://github.com/Azure/azure-sdk-for-python/pull/1287

 https://github.com/Azure/azure-sdk-for-ruby/pull/830