New Rule: no-ms-high-contrast

Rule details
Auto fix uses of -ms-high-constrast to forced-colors
What type of rule is this?
Warns about a potential problem
Example code
-ms-high-contrast-adjust: none;
color: WindowText; /* Should be CanvasText */

Participation

[ ] I am willing to submit a pull request to implement this rule.

Additional comments
Additional info: https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/

Thanks for the suggestion. There really isn't enough information in the description to understand what you're suggesting or why. Can you add more details?

Sure thing. -ms-high-contrast refers to a family of properties, keywords, and media rules that were used to style in high contrast mode prior to forced-colors getting standardized. Due to how many different niches there are, I felt it made more sense to have it as a dedicated rule rather than a blanket no-vendor-prefixes rule (primarily for the color keywords I'll outline below).
System color keywords
System colors, similar to named colors like rebeccapurple, can be used anywhere a color value is supported in CSS.
a {
  color: LinkText;
}

Various system colors were used with -ms-high-contrast and have been replaced.

Theme color in Windows high contrast settings
Internet Explorer and Microsoft Edge Legacy
New Microsoft Edge and web standards

Text
WindowText
CanvasText

Hyperlinks
-ms-hotlight
LinkText

Disabled Text
GrayText

Selected Text
HighlightText (foreground), Highlight (background)
HighlightText (foreground), Highlight (background)

Button Text
ButtonText (foreground), ButtonFace (background)
ButtonText (foreground), ButtonFace (background)

Background
Window
Canvas

The linter rule should ban these values and autofix to the modern equivalent. A possible enhancement is to allow the deprecated values as fallbacks (maybe using a rule option like allowFallback).
Before
a {
  color: -ms-hotlight;
}

After
a {
  color: LinkText;
}

/* or with allowFallback */
a {
  color: -ms-hotlight;
  color: LinkText;
}

Going through the docs to find this table, I stumbled on additional deprecated CSS system colors. So maybe this should be its own dedicated no-deprecated-system-colors rule instead.
Property
This one is fairly straightforward. The -ms-high-contrast-adjust property was standardized into forced-colors-adjust. Both use auto and none as the possible values.
Before
img {
  -ms-high-contrast-adjust: none;
}

After
img {
  forced-color-adjust: none;
}

/* or with allowFallback */
img {
  -ms-high-contrast-adjust: none;
  forced-color-adjust: none;
}

Media query
The -ms-high-contast query has been split into forced-colors and prefers-color-scheme.

Internet Explorer and legacy Microsoft Edge
New Microsoft Edge and web standards

@media (-ms-high-contrast: active) {}
@media (forced-colors: active) {}

@media (-ms-high-contrast: black-on-white) {}
@media (forced-colors: active) and (prefers-color-scheme: light) {}

@media (-ms-high-contrast: white-on-black) {}
@media (forced-colors: active) and (prefers-color-scheme: dark) {}

There is also a prefers-contrast media query but I haven't seen it advocated for much.

Thanks for the additional detail, this is very helpful. I'm curious how long ago -ms-high-contrast was superseded? Just weighing the value of having a rule that is only picking up older, outdated things that people may not run into that much.

For what it's worth, I've had to catch this manually in 5+ PRs over the past year. (But I also work at Microsoft where we're more likely to support high contrast mode.) prefers-forced-colors was added in Chrome 89 three years ago.

To be more generalized, this proposal could be split into no-deprecated-system-colors and no-vendor-prefixes. Both of these possible rules can have suggestions or autofixes to use the standardized alternatives.

no-deprecated-system-colors - I also wonder if this would be too specific. Are there other values besides system colors that have been deprecated? Would it better to have a no-deprecated-values rule?
no-vendor-prefixes - I'm not quite sure what this might do. The name sounds like it would ban all vendor prefixes, but from the context of this conversation, it seems like maybe your intent was to flag properties where vendor prefixes are no longer needed?
 My goal here is to ensure this plugin has rules that are as widely-applicable as possible.


Don't push to localStorage on init

Don't try to push to localStorage on init.
Remove isNotEmpty guard for _dumpToLocalStorage becuase we want
localStorage to be updated if we remove items from the cart via
removeItem.

What's the thinking behind removing on('init')?

It seems that when an ArrayProxy is initialized, it initialized with an empty array as the content. When the observer fires on init, its basically overwriting localStorage to an empty cart.

I think that is a race condition issue then, one that can be addressed in the initializer.


docs: Updating GitHub playground links for variables

Thanks, @lurch ref https://github.com/balena-io/docs/pull/1027#issuecomment-562198838
Change-type: patch
Signed-off-by: Gareth Davies<EMAIL_ADDRESS>

@balena-ci retest


Add event emitter caching for votes

Why just votes? can be applied to all other queries too right?

I assume ee.ts stands for (not sure how to name this file but something with) event emitter? But eventEmitter.ts didn't feel perfectly right, because it's not really an event emitter but instead uses one to debounce responses? How about debounceResponse.ts then? 😃

@ChaituVR We can apply it to others queries, I just want to test in votes first, I believe that the most heavy queries

@mktcode Isn't better to use debounce request instead of response? Maybe just "debounce" since it could be used anywhere?

I'll merge this first anyway


API end-point and Home Assistant (wyoming)

Hi there all,
is there a version that have wyoming protocol and also API end-point in order to call it from n8n ?
I need a version that work in same time with Home Assistant calls (wyoming protocol)
and also with API calls via HTTP Request.(n8n)
Someone know please witch version of Piper can make this ?
Thanks

this feels like an abandoned project

Not abandoned, just busy.

I take it back, thank you for your hard work.


Returning Ok(Struct { }) has extra indent in rustfmt 0.8.0.

What I would expect, and what rustfmt 0.7.1 outputs:
fn returns_result() -> Result<Struct, ()> {
    Ok(Struct {
    	var1: 2,
    	var2: 3,
    	var3: 4,
    })
}

0.8.0 now outputs:
fn returns_result() -> Result<Struct, ()> {
    Ok(Struct {
           var1: 2,
           var2: 3,
           var3: 4,
       })
}

If this is a duplicate, or if this is the new preferred style and there's a configuration option that I missed, my apologies.

This is expected. Function arguments are visually indented, which means the indent for Struct here starts after Ok(. I hope to support block indented args properly soon.

Thank you!
I really need to look into the internals of what rustfmt is doing more, this is quite interesting.


[bug] Distributed quantized training test case fails with force_col_wise=true

Description
The distributed quantized training test case added in #5800 fails when force_col_wise=true, which requires further investigation.

Close this as ci tests succeed after removing 'force_row_wise': True in #6092.


Create template for Game

[ ] Add new page with this template with hard coded data

[ ] Optional, use fake data to build this template with loop

This page can be done with css tailwind on a seperate html file to simplify the work with all cdn link to tailwind.
I'll integrate it later.


feat(cli-init): show link to preview base colors

shows a link to preview base colors when initializing shadcn-ui with CLI
this is the preview link: https://tailwindcss.com/docs/customizing-colors
closes #961

okay

https://ui.shadcn.com/themes
the mentioned theme page, for anybody looking for the difference between the colors.


Fix artifacts path for KVM image builds

The artifacts path for the KVM builds, i.e. Raw and Cloudstack builds, did not include the repo name, which caused the image build retry logic to fail since the retry method checks for the Packer log inside the MAKE_ROOT which would be /home/ubuntu/eks-anywhere-build-tooling/projects/kubernetes-sigs/image-builder, but the artifacts (including Packer log) were actually getting placed at /home/ubuntu/projects/kubernetes-sigs/image-builder.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


fix spikeinterface changes

Pierre broke the gui just to keep you on your toes.  This fixes that. And a couple typos.
Working on testing the curation.

@zm711 I find Sam's misspelled sentences kind of reassuring eheheheh

Me too :)
He asked if I tested the curtain which means I'm looking through all the source code now ;)

Merci l'ami.


Aasputa

$ git clone https://github.com/

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!


install-operator.sh is failed due to I don't know how to create secret

$ curl -sL https://raw.githubusercontent.com/IBM/cloud-operators/master/hack/install-operator.sh | bash

Downloading install yaml...
error: error validating "STDIN": error validating data: [unknown object type "nil" in Secret.data.api-key, unknown object type "nil" in Secret.data.region]; if you choose to ignore these errors, turn validation off with --validate=false

Hi @takara9, this means that your IBM Cloud settings have not been initialized properly. Please follow the Requirements section of the README.

I have similar error - I followed requirements.
(base) aslom@m dev-aiwf $ ibmcloud target --cf
Targeted Cloud Foundry (https://api.us-east.bluemix.net)

Targeted org<EMAIL_ADDRESS>

Select a space (or press enter to skip):
1. tutorial2
2. dev01
Enter a number> 2
Targeted space dev01

API endpoint:      https://cloud.ibm.com
Region:            us-east
User<EMAIL_ADDRESS>Account:           Aleksander Slominski's Account (e3a470d882f9e5b9a59f4c98b6cb2b40) <-> 1729777
Resource group:    No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
CF API endpoint:   https://api.us-east.bluemix.net (API version: 2.128.0)
Org<EMAIL_ADDRESS>Space:             dev01
(base) aslom@m dev-aiwf $ curl -sL https://raw.githubusercontent.com/IBM/cloud-operators/master/hack/install-operator.sh | bash
* Downloading install yaml...
secret/seed-secret created
Error from server (BadRequest): error when creating "STDIN": ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap.Data: ReadString: expects " or n, but found f, error found in #10 byte of ...|ceGroup":false,"spac|..., bigger context ...|m@us.ibm.com","region":"us-east","resourceGroup":false,"space":"dev01"},"kind":"ConfigMap","metadata|...

Any idea what may be causing the error?

Hi @aslom,
In the above target context, the Resource Group is nil. This must be a change in IBM Cloud (it used to be set to default if not specified). You need to do the following as well:
ibmcloud target -g default
which will set the resource group to default.
Please try and let me know if if fixes your issue.
We will update the documentation accordingly.

Doc has been updated as described.


'POST' is better than 'GET' method

@ggthename commented on Mon Jan 21 2019
I think that 'POST' is better than 'GET' method.
Because generally, we're using 'GET' method when we read data.
Could you change examples or add a new example?
Thank you!

문서 세부 정보
⚠ 이 섹션을 편집하지 마세요. docs.microsoft.com ➟ GitHub 문제 연결에 필요합니다.

ID: 939101cd-9c92-ed8f-b241-664794db8a0d
Version Independent ID: 21392fd3-c4e7-f785-a660-ebbbf88646e4
Content: Azure Cosmos DB 및 Functions를 사용하여 구조화되지 않은 데이터 저장
Content Source: articles/azure-functions/functions-integrate-store-unstructured-data-cosmosdb.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

This has been changed to POST as some point in the past. #please-close


Update min ssh package versions

When this build completes it will publish 3.7.0 packages:
https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6431540&view=results

When this build completes it will publish 3.7.0 packages: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6431540&view=results

It published 3.7.1 instead. I updated this PR to match


winpr: create a specific winpr nt file handle

There exist two definitions of WINPR_FILE: in file/ and in nt/.
Both are different definitions used differently. Therefore split them
into WINPR_FILE and WINPR_NT_FILE.

LGTM +1

I've re-based the branch.

+1


headless swapchain/readPixels test doesn't work on windows + gl

Describe the bug
I compiled a very small program based on filament_rendering_test.cpp to check why readPixels isn't working as expected in my code. The assert fails as the buffer is filled with 0.
I was having the issue with 1.4.* and I can reproduce it with 1.5.2
To Reproduce
Steps to reproduce the behavior:

here's the code I compiled and tested in debug:
edited: created a gist instead because the code formatting didn't seem to work
https://gist.github.com/teub/0b03062c51332d7772572ba02ee42e40

libraries linked:
lib/x86_64/mdd/filament.lib lib/x86_64/mdd/utils.lib lib/x86_64/mdd/backend.lib lib/x86_64/mdd/filamat.lib lib/x86_64/mdd/filaflat.lib lib/x86_64/mdd/filabridge.lib lib/x86_64/mdd/geometry.lib lib/x86_64/mdd/ibl.lib lib/x86_64/mdd/bluegl.lib opengl32.lib
Expected behavior
Asserts should pass, they correspond to the tests in filament_rendering_test.cpp
Desktop :

OS: Windows
GPU: NVIDIA GTX 1080
Backend: OpenGL

You are calling readPixels() too early, you should call it after endFrame(). Without the call to endFrame() the buffers haven't been swapped so there's nothing for you to read back (if you rendered multiple frames you would probably see something, with a 1 frame latency).

the code was copied directly from https://github.com/google/filament/blob/master/filament/test/filament_rendering_test.cpp, so there's a bug in this file either way.
I made the change you proposed; now the buffer is no longer filled with 0 but the assert still doesn't pass: instead of being filled with 0, it's filled with 221 (or random things)

@pixelflinger Is that an issue with clear color not working?

Actually readPixels() must be called before endFrame() -- sorry about the misinformation here.
I think it's more likely that headless support is broken for Windows (maybe has never worked?) as headless support is platform specific. Will take a look.

@pixelflinger We call it after endFrame in frame_generator and it works there :)

Windows doesn't have headless Swapchain support: https://github.com/google/filament/blob/master/filament/backend/src/opengl/PlatformWGL.cpp#L186-L187
This has been on my todo list for awhile, I can look into it and see how difficult it'd be to add it.

I was going to comment on how I worked around the issue on my side, but I've seen you've already implemented the fix!
If I may, I'm not sure leaking a window each time the swapchain is great; can't the window pointer be stored in some userdata?
Another remark : knowing it wasn't implemented in the first place could have saved me a lot of time (with a log or an assert).
Anyway, thanks.

The leak is temporary, we'll fix it.


If you install it locally though, you probably want to know where the binary is installed:
const ipfs = require('go-ipfs')

console.info('ipfs is installed at', ipfs.path())

Essentially adds the downloading bit of ipfs/npm-go-ipfs-dep to this module, so you can either:
$ npm install --save go-ipfs
// cool, it's in my project as a dep now

or
$ npm install -g go-ipfs
// it's installed globally for my node install!

I've also removed the old jenkins config as we don't use it any more and added similar github actions for publishing to ipfs/npm-go-ipfs-dep.  That module should be retired and this one moved to the main ipfs org.
Closes https://github.com/ipfs/npm-go-ipfs-dep/issues/42

I like the idea but I'm way out of my depth here.

@Stebalien can this be merged & released?

Ah, sorry, I assumed you had write access. cc @daviddias.

@achingbrain I can't cut a new release without a new go-ipfs release, apparently.


Verify check signature

Instead of trying to call both check methods to see if one works, this inspect the class signature to look for the deprecated agentConfig parameter, and call the right init depending on the result.

I think we should first found a solution that always works (if one exists) and then update this PR to save time.

That's fair. We can't detect properly usage of agentConfig obviously with **kwargs (though we could argue that's deprecated, and we can detect that particular usage).
So what's your suggestion? Should we just display the first error when init is failing? Display both equally? Maybe introduce another state when **kwargs is used and display both errors only in that case?

I think we could simply log the first error (as DEBUG ?) if both try fail. WDYT ?

I think we could simply log the first error (as DEBUG ?) if both try fail. WDYT ?

That is what's happening in master currently, no? That's a big source of confusion.

I'm not sure what the best option here, but our main goal is not to break any custom check from our users.
If logging the two error is a source of confusion we can reword it of do something else ? I'm open to other solution. If we go another way we might want to write a quick RFC to validate the approach before implementing it.
Sorry for the waste of time on this.

Opened https://github.com/DataDog/datadog-agent/pull/4478

Let's postpone this for now.


UHF-9576: Linked events keywords [part 2]

UHF-9576

What was done

Change event paragraph widget to select2
Add translations

Other PRs

https://github.com/City-of-Helsinki/drupal-hdbt/pull/920

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 13.01%.  Consider uploading reports for the commit 7105be6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #712   +/-   ##
=========================================
  Coverage     13.01%   13.01%
  Complexity      242      242
=========================================
  Files            28       28
  Lines           945      945
=========================================
  Hits            123      123
  Misses          822      822

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Main Readme updates.

Add routes.json, can not link directly to pages in Sample.

Codecov Report

Merging #13 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   97.07%   97.07%
=======================================
  Files          71       71
  Lines        2842     2842
  Branches      243      243
=======================================
  Hits         2759     2759
  Misses         62       62
  Partials       21       21

Continue to review full report at Codecov.

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


Keep aspect ratio

I don't think is an issue at all, but I would like to keep the original aspect ratio of a video while resizing my player.
In other words, I would like to force having black bars horizontally or vertically to constrain the video having its appropriate aspect ratio. How can I achieve this?
BTW, awesome project. Very useful

Fixed, I was actually displaying y player inside a Grid with Stretch alignement. Back to Stackpanel and VerticalAlignement to Center did the trick.


VM Float API Implementation

Referenced from the Ruby Ver. 2.4.1. Float data type API:

[ ] Constant Float::INFINITE stands for the number is infinite

[ ] Constant Float::NAN stands for "Not a Number"

[ ] Float#modulo Synonym to the % operator (Get the quotient from the divide operation)

[ ] Float#quo Synonym to the / operator (Get the quotient from the divide operation)

[ ] Float#abs Return positive number of the float. "Formally as the distance between 0 to the number of the float in 1-dimensional axis ..."

[ ] Float#angle (and Float#arg) If positive -> return 0; else -> return PI

[ ] Float#ceil Returns smallest number greater than or equal to the receiver

[ ] Float#floor Returns largest number smaller than or equal to the receiver

[ ] Float#round Rounds float to a given precision in decimal digits (default 0 digits). Precision may be negative. Returns a floating point number when n digits is more than zero.

[ ] Float#finite? Returns true if receiver isn't  equal to Float::INFINITE

[ ] Float#infinite? Returns true if receiver is equal to Float::INFINITE

[ ] Float#divmod Returns array which is in format of [ (Integer) Quotient, (Float) Remainder ]

[ ] Float#nan? Returns true if receiver is equal to Float::NAN

[ ] Float#positive? Returns true if float number is larger than 0.0

[ ] Float#negative? Returns true if float number is less than 0.0

[ ] Float#zero? Returns true if float number is equal to 0.0

[ ] Float#rationalize Convert to something called Rational data type (Currently not supported but from my point of view, it is worth being addressed in this issue)

I think modulo and quo should not be implemented would conflict with Goby's policy of no duplicate methods - @st0012 ?

@saveriomiroddi @Maxwell-Alexius I have tested with some float numbers and seems like modulo and quo are really just alias methods. If so then we shouldn't support them.

Then in this case I will cross out those two methods, thanks for the feedback


getting translations from a database

We have a large database (pouchDB) full of translations each languages translations is held in its own db.  Can I use ngx-translate to get the translations directly from the db?

I'm in the same point. Have you found any solution?

Sure. You can create a custom loader and register it with ngx-translate:
export class MyLoader implements TranslateLoader {
  getTranslation(lang: string): Observable<any> {
      ... your code that returns an Observable containing the translations ....
  }
}


[1.16.5] Crash on load with Apotheosis 4.4.1

Crash when loading minecraft :(
crash-2021-04-17_19.00.28-fml.txt

fixed in dev


Nested for loops are confused by "each"

Our general loops work fine:
[$foreach $history]

[$each]

[$end for]

But once nested, the loop won't understand which each is being referred to any more:
[$foreach $history]

[$each]

   [$foreach $history2]

[$each]

   [$end for]
[$end for]

My suggestion would be for normal loops to become:
[$foreach $history]

[$this.each]

[$end for]

And nested loops can become something like this:
[$foreach $history]

[$this.each]

   [$foreach $history2]

[$parent.each]

[$this.each]

   [$end for]
[$end for]

Currently, there is something wrong with 'single' loops, in combination with m-click-events.
Look at this simple failing demo.
Needs some further examination to find the cause...

This is due to #8, in a way.
Basically what happens now is it assigns an ID to each conditional block. That ID is determined by the inner-block's value.
Block: [$foreach $first]
[$each]
[$end for]
Inner block:
[$each]

Since all blocks are the same internally (
[$each]
) they produce the same id. This makes the system confused when it does a lookup of what's changed.
I applied a 'fix' to your bug branch: the value is now generated based on the entire conditional block instead of only the inner block. At least then it should have the condition itself to base the value on, which should at least make that more unique. And if the block occurs multiple times (as is the case), those have the same value (because both should change). I think that makes sense?

Rewrote the rendering part several times, I think I have a good solution now. I've also included functionality for calling [$this.each] and [$parent.each] on the backend side.
I have not done any work yet on the JS side, so the iterations don't change yet upon variable change. That'll be for tomorrow.


CPU usage and GPU usage too little, and parameters don't take effect

hi, professor @mdbarnesUCSD
I run the code in linux for 700 vcf files
sig.sigProfilerExtractor("vcf","example_output/rectum", "/mnt/h/tcgadata/rectum/input", "GRCh38", cpu=8, gpu=True,context_type= "SBS96,DBS78" , min_nmf_iterations= 1, max_nmf_iterations=2,batch_size=32)

then i  look at the usage of CPU and GPU
CPU is 20% usage and GPU is even 0. The cuda is correct and there is no warnings and mitakes.
how can I change the code to increase the speed by increasing the usage of CPU and GPU

Hi @xiaoyaojianghuzai,
The min_nmf_iterations and max_nmf iterations that you are setting is are the bounds for how many iterations each replicate will be updated. Here are the default parameters:

min_nmf_iterations= 10000
max_nmf_iterations=1000000

The values that you set are very small to the point where minimal compute is being used so you are likely not seeing high CPU or GPU usage because of this.


[Issue] I can pull images using docker but can't pull using regctl from private registry

Current Behavior
I can login and pull images from our company private registry using docker client. But When I try to perform same operation with regctl I'm getting unauthorized error.
Expected Behavior
I should pull&push images to the private registry like in the docker client.
Steps To Reproduce
regctl -v debug image copy -v debug  registry-priv.company.com/devops/alpine/jmeter:5.6 swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter

Version
VCSTag:     v0.7.2
VCSRef:     6b1f7bd9a3b2972605f04a534143f7fed522b680
VCSCommit:  6b1f7bd9a3b2972605f04a534143f7fed522b680
VCSState:   clean
VCSDate:    2024-11-04T14:37:25Z
Platform:   linux/amd64
GoVer:      go1.23.2
GoCompiler: gc

Environment

Running as binary or container: Downloaded binary and executed on Ubuntu 22.04 Server Host
Host platform: Linux
Registry description: Harbor based registry

Anything else
Debug Logs:
# Copying image registry-priv ----> SWR
# COMMAND: regctl -v debug image copy -v debug  registry-priv.company.com/devops/alpine/jmeter:5.6 swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=swr.ap-southeast-3.myhuaweicloud.com mirrors="[]" name=swr.ap-southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=enabled user=myswruser
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=false tls=enabled user=myuser
DEBU[0000] Loading host config                           blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=true tls=insecure user=myuser
WARN[0000] Changing login password for registry          host=registry-priv.company.com
WARN[0000] Changing TLS settings for registry            host=registry-priv.company.com new=insecure orig=enabled
DEBU[0000] Loading host config                           blobChunk=524288 blobMax=524288 helper= hostname=swr.ap-southeast-3.myhuaweicloud.com mirrors="[]" name=swr.ap-southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=insecure user=myswruser
DEBU[0000] regclient initialized                         VCSRef=6b1f7bd9a3b2972605f04a534143f7fed522b680 VCSTag=v0.7.2
DEBU[0000] Image copy                                    digest-tags=false recursive=false source="registry-priv.company.com/devops/alpine/jmeter:5.6" target="swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter:latest"
DEBU[0000] Auth request parsed                           challenge="[{bearer map[realm:https://swr.ap-southeast-3.myhuaweicloud.com/swr/auth/v2/registry/auth/ scope:repository:devops/jmeter: service:dockyard]}]"
DEBU[0000] Auth scope added                              host=swr.ap-southeast-3.myhuaweicloud.com scope="repository:devops/jmeter:pull"
DEBU[0002] Auth request parsed                           challenge="[{bearer map[realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Auth request parsed                           challenge="[{bearer map[error:insufficient_scope realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Failed to handle auth request                 Err=unauthorized URL="https://registry-priv.company.com/v2/devops/alpine/jmeter/manifests/5.6"
copy failed, error getting source: failed to get manifest registry-priv.company.com/devops/alpine/jmeter:5.6: unauthorized

Hi @zkryakgul. Please show the output of the following to verify access with docker that doesn't work in regctl:
docker pull registry-priv.company.com/devops/alpine/jmeter:5.6
# verify docker access

regctl -v debug registry logout registry-priv.company.com
# regctl will default to docker credentials

regctl -v debug image copy -v debug  registry-priv.company.com/devops/alpine/jmeter:5.6 swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter
# retry using docker credentials

Outputs of the commands:
root@devserver-ec2:~/scripts# docker pull registry-priv.company.com/devops/alpine/jmeter:5.6
5.6: Pulling from devops/alpine/jmeter
Digest: sha256:3b171d5052ae090a96359cbdb02d95a75bdbf900b72221cdf232aa048e1bfe26
Status: Downloaded newer image for registry-priv.company.com/devops/alpine/jmeter:5.6
registry-priv.company.com/devops/alpine/jmeter:5.6
root@devserver-ec2-ad9d14e9:~/scripts# regctl -v debug registry logout registry-priv.company.com
DEBU[0000] Credentials unset                             registry=registry-priv.company.com
root@devserver-ec2-ad9d14e9:~/scripts# regctl -v debug image copy -v debug  registry-priv.company.com/devops/alpine/jmeter:5.6 swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=false tls=enabled user=myuser
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=swr.ap-southeast-3.myhuaweicloud.com mirrors="[]" name=swr.ap-southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=enabled user=myswruser
DEBU[0000] Loading host config                           blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=true tls=insecure user=
WARN[0000] Changing TLS settings for registry            host=registry-priv.company.com new=insecure orig=enabled
DEBU[0000] Loading host config                           blobChunk=524288 blobMax=524288 helper= hostname=swr.ap-southeast-3.myhuaweicloud.com mirrors="[]" name=swr.ap-southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=insecure user=myswruser
DEBU[0000] regclient initialized                         VCSRef=6b1f7bd9a3b2972605f04a534143f7fed522b680 VCSTag=v0.7.2
DEBU[0000] Image copy                                    digest-tags=false recursive=false source="registry-priv.company.com/devops/alpine/jmeter:5.6" target="swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter:latest"
DEBU[0000] Auth request parsed                           challenge="[{bearer map[realm:https://swr.ap-southeast-3.myhuaweicloud.com/swr/auth/v2/registry/auth/ scope:repository:devops/jmeter: service:dockyard]}]"
DEBU[0000] Auth scope added                              host=swr.ap-southeast-3.myhuaweicloud.com scope="repository:devops/jmeter:pull"
DEBU[0001] Auth request parsed                           challenge="[{bearer map[realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Auth request parsed                           challenge="[{bearer map[error:insufficient_scope realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Failed to handle auth request                 Err=unauthorized URL="https://registry-priv.company.com/v2/devops/alpine/jmeter/manifests/5.6"
copy failed, error getting source: failed to get manifest registry-priv.company.com/devops/alpine/jmeter:5.6: unauthorized

I ran a quick test against https://demo.goharbor.io and wasn't able to reproduce the issue with their current release. Here's an example of the logs with -v trace showing the successful login and pull of the manifest:
DEBU[0000] regclient initialized                         VCSRef=6b1f7bd9a3b2972605f04a534143f7fed522b680 VCSTag=v0.7.2
DEBU[0000] Manifest get                                  host=demo.goharbor.io repo=aaa-test-project-sami/harbor-test tag=v1.0
TRAC[0000] reg http request                              req-headers="map[Accept:[application/vnd.oci.image.index.v1+json application/vnd.oci.image.manifest.v1+json application/vnd.docker.distribution.manifest.list.v2+json application/vnd.docker.distribution.manifest.v2+json application/vnd.docker.distribution.manifest.v1+prettyjws application/vnd.docker.distribution.manifest.v1+json application/vnd.oci.artifact.manifest.v1+json] User-Agent:[regclient/regctl (v0.7.2)]]" req-method=GET req-url="https://demo.goharbor.io/v2/aaa-test-project-sami/harbor-test/manifests/v1.0" resp-headers="map[Content-Length:[152] Content-Type:[application/json; charset=utf-8] Date:[Fri, 29 Nov 2024 15:28:24 GMT] Docker-Distribution-Api-Version:[registry/2.0] Set-Cookie:[sid=209eb1b31f0bbbfc216dddc7504f852b; Path=/; HttpOnly] Strict-Transport-Security:[max-age=31536000; includeSubDomains] Www-Authenticate:[Bearer realm=\"https://demo.goharbor.io/service/token\",service=\"harbor-registry\",scope=\"repository:aaa-test-project-sami/harbor-test:pull\"] X-Request-Id:[f9604647535c6355abaca95847e1e17f]]" resp-status="401 Unauthorized"
DEBU[0000] Auth request parsed                           challenge="[{bearer map[realm:https://demo.goharbor.io/service/token scope:repository:aaa-test-project-sami/harbor-test:pull service:harbor-registry]}]"
TRAC[0000] reg http request                              req-headers="map[Content-Type:[application/x-www-form-urlencoded; charset=utf-8] User-Agent:[regclient/regctl (v0.7.2)]]" req-method=POST req-url="https://demo.goharbor.io/service/token" resp-headers="map[Content-Length:[19] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 29 Nov 2024 15:28:24 GMT] Set-Cookie:[sid=0f8f7b5ab64a13848a0d5b214aff755d; Path=/; HttpOnly] Strict-Transport-Security:[max-age=31536000; includeSubDomains] X-Content-Type-Options:[nosniff] X-Request-Id:[0aea9cb2361dc058ae0deb793b9588ea]]" resp-status="405 Method Not Allowed"
TRAC[0000] reg http request                              req-headers="map[Authorization:[[censored]] User-Agent:[regclient/regctl (v0.7.2)]]" req-method=GET req-url="https://demo.goharbor.io/service/token?account=testuser&client_id=regclient%2Fregctl+%28v0.7.2%29&offline_token=true&scope=repository%3Aaaa-test-project-sami%2Fharbor-test%3Apull&service=harbor-registry" resp-headers="map[Content-Type:[application/json; charset=utf-8] Date:[Fri, 29 Nov 2024 15:28:25 GMT] Set-Cookie:[sid=f4bc12b403c3755e22b2801e5dd4c938; Path=/; HttpOnly] Strict-Transport-Security:[max-age=31536000; includeSubDomains] X-Request-Id:[45191bcc35c2361d6e5ed807d7bf9a25]]" resp-status="200 OK"
TRAC[0000] reg http request                              req-headers="map[Accept:[application/vnd.oci.image.index.v1+json application/vnd.oci.image.manifest.v1+json application/vnd.docker.distribution.manifest.list.v2+json application/vnd.docker.distribution.manifest.v2+json application/vnd.docker.distribution.manifest.v1+prettyjws application/vnd.docker.distribution.manifest.v1+json application/vnd.oci.artifact.manifest.v1+json] Authorization:[[censored]] User-Agent:[regclient/regctl (v0.7.2)]]" req-method=GET req-url="https://demo.goharbor.io/v2/aaa-test-project-sami/harbor-test/manifests/v1.0" resp-headers="map[Content-Length:[1995] Content-Type:[application/vnd.docker.distribution.manifest.v2+json] Date:[Fri, 29 Nov 2024 15:28:25 GMT] Docker-Content-Digest:[sha256:736b088bffa149d14e5a5c3ca79522aa3bbb59b13606f0e39f08c53d727d9677] Docker-Distribution-Api-Version:[registry/2.0] Etag:[\"sha256:736b088bffa149d14e5a5c3ca79522aa3bbb59b13606f0e39f08c53d727d9677\"] Set-Cookie:[sid=b1dbcdbc31a64b77f740e2b3c397c339; Path=/; HttpOnly] Strict-Transport-Security:[max-age=31536000; includeSubDomains] X-Request-Id:[665298f31fb3d01da08df3b38a921eea]]" resp-status="200 OK"

In yours, the challenge raises some attention:
challenge="[{bearer map[realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"

The big concern is the realm isn't https, which may be a misconfiguration on the registry. You'll see the challenge header in www-authenticate if you curl the v2 endpoint, e.g.:
$ curl -i https://demo.goharbor.io/v2/
HTTP/2 401
date: Fri, 29 Nov 2024 15:33:25 GMT
content-type: application/json; charset=utf-8
content-length: 76
docker-distribution-api-version: registry/2.0
set-cookie: sid=fbf074fec9f2f27eef9f2aa4c5543f40; Path=/; HttpOnly
www-authenticate: Bearer realm="https://demo.goharbor.io/service/token",service="harbor-registry"
x-request-id: 50b290d01479ffc9dcffb5d45ea70509
strict-transport-security: max-age=31536000; includeSubDomains

{"errors":[{"code":"UNAUTHORIZED","message":"unauthorized: unauthorized"}]}

If yours doesn't say https there, I'd start checking the harbor install settings.

You are right about that it returns as http:
$ curl -i http://registry-priv.company.com/v2/
HTTP/1.1 401 Unauthorized
Server: nginx
Date: Fri, 29 Nov 2024 17:55:42 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 87
Connection: keep-alive
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Bearer realm="http://registry-priv.company.com/service/token",service="harbor-registry"
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

Maybe this informations also helpful:
Content of /etc/docker/daemon.json:
{
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "args": [],
            "path": "nvidia-container-runtime"
        }
    },
    "insecure-registries": ["registry-priv.company.com"],
    "exec-opts":["native.cgroupdriver=cgroupfs"]
}

Content of /root/.regctl/config.json:
{
  "hosts": {
    "registry-cbu.huawei.com": {
      "tls": "disabled", # --> I also tried insecure in here
      "hostname": "registry-priv.company.com",
      "repoAuth": true,
      "reqConcurrent": 3
    },
    "swr.ap-southeast-3.myhuaweicloud.com": {
      "tls": "insecure",
      "hostname": "swr.cn-southeast-3.myhuaweicloud.com",
      "user": "myswruser",
      "pass": "mypass",
      "blobChunk": 524288,
      "blobMax": 524288,
      "reqConcurrent": 3
    }
  }
}

The debug log of the copy operation after changing repository settigns from tls:insecure to tls:disabled in regctl.json
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=false tls=enabled user=myuser
DEBU[0000] Loading docker config                         blobChunk=0 blobMax=0 helper= hostname=swr.southeast-3.myhuaweicloud.com mirrors="[]" name=swr.southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=enabled user=myswruser
DEBU[0000] Loading host config                           blobChunk=524288 blobMax=524288 helper= hostname=swr.ap-southeast-3.myhuaweicloud.com mirrors="[]" name=swr.ap-southeast-3.myhuaweicloud.com pathPrefix= repoAuth=false tls=insecure user=myswruser
DEBU[0000] Loading host config                           blobChunk=0 blobMax=0 helper= hostname=registry-priv.company.com mirrors="[]" name=registry-priv.company.com pathPrefix= repoAuth=true tls=disabled user=
WARN[0000] Changing TLS settings for registry            host=registry-priv.company.com new=disabled orig=enabled
DEBU[0000] regclient initialized                         VCSRef=6b1f7bd9a3b2972605f04a534143f7fed522b680 VCSTag=v0.7.2
DEBU[0000] Image copy                                    digest-tags=false recursive=false source="registry-priv.company.com/devops/alpine/jmeter:5.6" target="swr.ap-southeast-3.myhuaweicloud.com/devops/jmeter:latest"
DEBU[0000] Auth request parsed                           challenge="[{bearer map[realm:https://swr.ap-southeast-3.myhuaweicloud.com/swr/auth/v2/registry/auth/ scope:repository:devops/jmeter: service:dockyard]}]"
DEBU[0000] Auth scope added                              host=swr.ap-southeast-3.myhuaweicloud.com scope="repository:devops/jmeter:pull"
DEBU[0002] Auth request parsed                           challenge="[{bearer map[realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Auth request parsed                           challenge="[{bearer map[error:insufficient_scope realm:http://registry-priv.company.com/service/token scope:repository:devops/alpine/jmeter:pull service:harbor-registry]}]"
DEBU[0002] Failed to handle auth request                 Err=unauthorized URL="http://registry-priv.company.com/v2/devops/alpine/jmeter/manifests/5.6"
copy failed, error getting source: failed to get manifest registry-priv.company.com/devops/alpine/jmeter:5.6: unauthorized

I'm not sure how much I'll be able to help without a reproducible example. The log messages indicate that it is requesting a token for a given scope from the auth server, but that the registry is rejecting the token. -v trace may give more details of what is happening, and may be useful to compare those vs a working Harbor registry like demo.goharbor.io.
Some possible issues I can think of include the wrong login being used (which I think we've ruled out), a misconfiguration on the registry (rejecting the token from the http realm), some kind of WAF or network policy blocking access based on something like the user agent of the request, a misconfiguration of regctl (I'm not seeing it from what you've provided), or something broken in regclient (I'd need a reproducible example to better understand that).


Fix verify script.

Accidentally missed some quote escaping in #8794.

I think none of the tests will check this anyway; merging. I tested it locally.


feat(key-manager): add generic signing capabilities

This PR extends the signing capabilities of the key-manager plugin.
The key-manager plugin now exposes a keyManagerSign method that accepts extra alg, enc parameters and supports extension of the parameter object.
The enc parameter indicates the encoding of the data string, defaulting to utf-8 if absent.
The alg option should indicate an algorithm to be used.
Depending on the capabilities of the KMS (one of the AbstractKeyManagementSystem implementations), different signatures can be requested.
For example:

a KMS implementation that has direct access to key material for a Secp256k1 key should be able to support:

ES256K, ES256K-R, eth_signTransaction, eth_signTypedData, eth_signMessage

a KMS implementation that is based on a web3 abstraction, would only be able to do:

eth_signTransaction, eth_signTypedData, and eth_signMessage

The capabilities of the KMS are recorded in the IKey.meta.algorithms array during key creation or import.
Further improvements can be made to programmatically filter for KMS or key capabilities.
This PR relates to #468
Examples:
Sign a JWS payload with ES256K:
// header with `"alg": "ES256K"`
const jwsBundle = `${encodedHeader}.${encodedPayload}`
// for this alg,the result is base64url encoded
const signature = await agent.keyManagerSign({
  algorithm: 'EdDSA',
  data: jwsBundle,
  encoding: 'utf-8', // this is the default encoding, so it could be omitted in this case
  keyRef: key.kid
})
const jwsString = `${encodedHeader}..${signature}`

Sign an ETH transaction:
// RLP encode the transaction fields
const txData = serialize({
  to: '0xce31a19193d4b23f4e9d6163d7247243bAF801c3',
  value: 300000,
  gasLimit: 43092000,
  gasPrice:<PHONE_NUMBER>0,
  nonce: 1,
})

// compute the raw transaction string
// for transaction signing, the output is the `0x` prefixed hex string representing the signed raw transaction.
const rawTx = await agent.keyManagerSign({
  algorithm: 'eth_signTransaction',
  data: txData,
  encoding: 'hex',
  keyRef: key.kid
})
// rawTx = '0xf869018504a817c80084029.......'

LGTM. It just strikes me a bit that 'Ed25519' and 'EdDSA' count as two separate algorithms although they are the same.

Yes, they are identical. I added both for compatibility.


[terra-slide-panel-manager] Slide Panel disappearing when viewport size is condensed

Bug Report
Description
When I upgraded the SlidePanelManager/DisclosureManager to the new context-based implementation, I noticed that when I condense the viewport down to what seems to be a medium size, the slide panel disappears. When I expand the viewport to a larger size again, the slide panel does NOT reappear.
Before the upgrade, the slide panel would persist and would eventually take over the screen in smaller viewports. This is the behavior that we want.
We are using the slide panel in the "squish" mode.
Steps to Reproduce

Navigate to the Squish Example on the Slide Panel Manager page of the Terra UI site.
Just to be safe, make sure that your viewport size is at least 3/4 the length of the screen.
Select a "Disclose" button (in size range of tiny-huge).
Verify that the slide panel appears.
Condense the viewport of the screen until you see the slide panel disappear.
Expand the viewport of the screen to its original size, and verify that the slide panel does not reappear.

Expected Behavior
I expect the slide panel to always stay visible unless it is explicitly closed or the page is refreshed.
When the viewport size is condensed, I expect the contents to the left of the slide panel to be "squished" until the viewport is at a small enough size where the slide panel takes over.
When the viewport is expanded, I expect the slide panel to eventually move back to its original position on the right-hand-side of the view and to remain visible until it is closed.
Environment
I experience the issue in both of these browsers:
Safari - version 12.0.2
Chrome - version 70.0.3538.102

Any thoughts on this one @tbiethman

http://www.nooooooooooooooo.com/
I broke it. I'll fix it. Might take me a few minutes.


Update compiler binaries (fix expression bug)

Example bug which is fixed with new bits (I will be sending another PR to update the tests with this soon):
public static object[][] LengthTestCases = new object[][] {
            new object[] { 0, ""u8 },
            new object[] { 4, "1258"u8 },
            new object[] { 3, "\uABCD"u8 },
            new object[] { 3, "\uABEE"u8 },
            new object[] { 4, "a\uABEE"u8 },
            new object[] { 5, "a\uABEEa"u8 },
            new object[] { 8, "a\uABEE\uABCDa"u8 }
        };

results in:
test.cs(5,31): error CS1003: Syntax error, ',' expected
test.cs(6,31): error CS1003: Syntax error, ',' expected
test.cs(7,31): error CS1003: Syntax error, ',' expected
test.cs(8,31): error CS1003: Syntax error, ',' expected
test.cs(9,31): error CS1003: Syntax error, ',' expected

Can you do it in a single PR? Update the binaries and the tests? This way we know the binaries update you are are making are actually good?

I'll reopen whenever this is ready


Develop/efasting/add quickstart

I cut the following text because it doesn't belong in a quick-start guide. It should be in the examples' repo.

We strive to keep the examples updated. However, as changes might occur without our knowledge, we rely on your feedback to address any issues. Feel free to create an issue whenever you come across something that is not working as intended!


Scheduler should not stop one-shot replications

Continuously starting and stopping one-shot (i.e. non-continuous) replications
alters their semantics -- replicating a particular snapshot of the source.
Changes which were made after replication has started, typically would not
be seen on the target. If replication crashes, or is otherwise restarted, that
constraint will be broken, but that those are exceptional cases.
Fix scheduler to treat one-shot replication differently, specifically:

During job rotation, one-shot replication will stay running. And will not be
stopped.

However, pending one-shot replications don't get special treatment, they
follow the basic algorithm of "job started last gets to run first".

One example when one-shot replications will stop, is when user adjusts
max_jobs parameter to a lower value. However, even in that case, first an
attempt is made to evict all continous replications and only if that didn't
satisfy the maximum constraint, some one-shot replication will be stopped.

Because this new behavior complicates scheduler behavior even more, add unit
tests to check various scheduler properties and edge cases.

+1


Can't compile under MSVC2017

Hello,
the keyword _forceinline is not recognized by MSVC2017, which I guess is when you disable the Microsoft specific extension to the ISO C++. Have to be replaced with double underscore prefix instead i.e. __forceinline.
https://github.com/imneme/pcg-cpp/blob/0ca2e8ea6ba212bdfbc6219c2313c45917e34b8d/include/pcg_random.hpp#L96
Best regards.

I thought I looked, but just saw that there is similar issue #11 . Feel free to close due to dublication if you so desire.

see pull request #25
if you need a vs2017 working version you can look into my fork.
PCG Fork
if you use vcpkg you could also use the port file from my vcpkg fork
vcpkg fork
(be aware that the histroy of the branch will be rewritten due to updating/rebasing)

Fixed in merge of #25 (Aug 2018)


_.omit doesn't support number as keys

For example:
const obj = {0:"a", 1:"b"};

// returns {0:"a"}
_.pick(obj, 0);
// returns {0:"a"}
_.pick(obj, "0");
// returns {0:"a", 1:"b"}
_.omit(obj, 0);
// returns {1:"b"}
_.omit(obj, "0");

I saw this PR https://github.com/jashkenas/underscore/pull/2468 but it doesn't seem very related.
If numbers shouldn't be supported as keys at the first place, at least i think omit should have a consistent behaviour as pick.
If this does sound like an issue I can submit a PR to try fixing it.
Thank!

Looks like a  bug to me. We should ToPropertyKey the second parameter. :+1: Looking forward to the PR.

@michaelficarra Hmm I found this at work (it is causing a funny bug: showing an error message everywhere on the webpage because of failing to omit it while passing around) and apparently we are not using the latest version. Just found out that has been fixed in the latest version (1.8.3). Thanks!


unable to rename database without root

On AOSP 5.0 it's not possible to rename the database after creating without root privileges.

Thats a pain. It may take a fairly large redesign on how I handle data to work around that. It will probably take me a couple of days to think about possible solutions.

I use it within my own app like that: https://developer.android.com/training/basics/data-storage/databases.html#WriteDbRow

I've renamed the file over USB but it seem to me it's also not readable.

Looks like sqlite supports table rename. I think I can replace the current create new database file then rename the files when the location process is in a position to close and reopen the database with the following:
Use live database for download but put new data into a new table. Once the download successfully completes, drop old table and rename new table to being the active one.
Busy now on other things so it will probably be a week or so for me to get to this.

It seems to work now. Thanks.


I need to change my token name to FishCoin

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I've made the needed changes into the repository for the token name I need. I need to know if this will be completed or left open.

You need to open a New issue and link your PR to let Solana Developers manually merge it!! Hope this did help you!! If you do have any kind of questions, don't hesitate writing me!!


How i can add github account to keybase?!

Hello!
I create project in github with name: keybase.md and create file keybase.md (inserting confirmation code from feybase), but "your proof could not be found..."
ok, i add new gist (i don't know that is it)) and give name keybase.md and insert code, saved this and "your proof could not be found..."
WTF? How i can confirm my github account on keybase?

Considering all what has been happening in the last week, perhaps your issue is somewhat related to the fact that (AFAIK) it is not possible, for the time being, add either GitHub or HackerNews accounts to your Keybase profile.
Or course, I can be wrong and your issue is something unrelated, but it can be a possibility.

You can add GitHub accounts no problem, they're just not eligible for airdrop.


Data source: FOI requests (Woo-besluiten)

User Story
As a Bron user,
I want to access and search through completed Freedom of Information (FOI) requests and their attached documents published by governments (in Dutch: "Woo-besluiten"),
so that I can access valuable information and insights obtained through FOI requests and enhance my research and understanding of government activities.
Acceptance Criteria

The "Woo-besluiten" data source should be integrated into the product's search functionality, alongside existing data sources.
Users should be able to search for FOI requests and related documents within the "Woo-besluiten" data source.
Search results from the "Woo-besluiten" data source should be presented in a clear and user-friendly manner.
Users should be able to view detailed information about each FOI request, including request details, government entities involved, and related documents.
The "Woo-besluiten" data source should be available as a filter under the "more options" (in Dutch: "meer opties") section.
The data source should be regularly updated (daily?) to ensure the latest FOI requests and documents are available.
Search results should provide a link to the original FOI source.

Additional Information

Possible data sources: Woogle, Open.overheid.nl, Woo-index.

Tasks

[ ]  Research different data sources and their structures to determine their suitability for Bron.
[ ]  Research methods for implementing the data sources into Bron.
[ ]  Test data quality and search performance.
[ ]  Design and implement the user interface for searching and viewing FOI requests from "Woo-besluiten."

[ ] Research Woogle dataset availability (download links and update frequency)
[ ] Run partial import to test data

Woogle:

Update frequency: daily (?) -- municipalities have number of documents so easy to check if something is updated so we can crawl the index more often if necessary.
Type of data: json/pdf

Method of crawling:

First crawl https://woogle.wooverheid.nl/overview (json version of this page results in a timeout)
Then get the nl.gm(\d+) codes and crawl the pages as follows: https://doi.wooverheid.nl/?doi=nl.gm0518&infobox=true

foi_files field points to resource, but they can be pretty much anything. Most common is pdf/html

Open.overheid.nl

Only ministries, not municipalities

Method of crawling

https://open.overheid.nl/zoekresultaten?informatiesoort=c_4f50ca9c&informatiesoort=c_1cf18f83

Detail pagina's op zoekresultaten crawlen
Vooral pdf bestanden


Add raynaldomts's file

This pull request adds a raynaldomts file to the _post folder

This is pull request adds raynaldomts's file to the _posts folder

fail


Add support for win-store playerid "profile" links.

Add support for win-store playerid "profile" links.
Win-store playerids will link to an xboxgamertag.com search. This is a third-party site, but Microsoft does not have a player lookup web service that can be used.Note that gamertags are unique and cost money to change so gamertags should be more stable than steam player names.

update makeSteamProfileLink to detect steam vs. win-store playerids + return appropriate url
update live views to use faWindows icon for win-store playerids

faWindows icon:

Old screenshot (no win-store players the last few days):

Wait, player tag changes cost money at xboxgamertag.com or with Microsoft? 🤔

Microsoft...
As said here (old stuff, btw) : first change is free, then 10$/each
https://www.reddit.com/r/xbox/comments/qmtzi2/its_insane_that_you_have_to_pay_to_change_your/

I think that xboxgamertag.com is using the Microsoft Xbox services API to give real-time information for gamertags since Microsoft doesn't have a service that does that.
My comment on the cost was more a comment on how I think that gamertags are much more stable that steam names since they actual money to change, after the one free change. Gamertags are also unique.
From the official Microsoft support faq (https://support.xbox.com/en-CA/help/account-profile/profile/gamertag-update-faq):
Your first gamertag change is free, regardless of how many changes you made before the update in the past. Subsequent changes are the same as before ($9.99 USD).

yeah, as they seem to be more static, searching for them actually makes much more sense (than steam player names).


website down

Guys, website getting down a lot these times, really painful.
Please fix, or my front-end dev career is dead, haha. Thanks
For info I m based in Thailand, no idea if this could be a reason.

@NielsDom Thanks for letting us know. We are hosted by http://netlify.com/, we have no leverage if to change our hosting. You should be able to run the documentation locally: https://github.com/mui-org/material-ui/issues/17248#issuecomment-548388460.


[CSBindings] If hole originates from code completion token avoid "fixing" it

If the hole is originated from code completion expression
let's not try to add a fix, anything connected to a
code completion is allowed to be a hole because presence
of a code completion token makes constraint system
under-constrained due to e.g. lack of expressions on the
right-hand side of the token, which are required for a
regular type-check.

@swift-ci please smoke test


Implement logging in security system

resolves #6
First, the logger is configured using basicConfig() in init method. The following parameters are passed:

Logging is done in the file "access_logs.log" and filemode is set to default(append).
Logging level is INFO.
The messages are logged in the format specified with asctime in the format "DD-month_name-YYYY H:M:S"

Then, access is logged in the file "access_logs.log" in the format specified.
The timestamp is obtained using time.time() method and person_name and is_authorized are obtained from function parameters.
The time module is imported to get timestamp.

@Nandika-A  Mark your PR ready for review once you are done with changes.

@sanskaromar sir app/access_logs.log is not present. What format should be used for asctime?

@sanskaromar sir app/access_logs.log is not present. What format should be used for asctime?

Here's a sample of log file
2023-10-05 19:06:10,989 - Person: Unknown, Authorized: False
2023-10-05 19:06:11,055 - Person: Madonna, Authorized: True
2023-10-05 19:06:11,120 - Person: Elton John, Authorized: True

@sanskaromar I have made the changes. Please check if further changes are required.


VF VLAN not set when used with DPDK

Using the latest SRIOV-CNI Plugin with Multus
I have a PF with 4 VFs i bind the VFs to dpdk vfio-pci
Now when i create a NAD like below
spec:
config: '{ "cniVersion": "0.3.1", "type": "sriov", "vlan": 1556, "deviceID": "0000:5e:0a.3",
"name": "ani-netdevice-network" }
Everything works fine from container but VLAN is not set on the VF. Why are the VF attributes like VLAN not set when bound to DPDK?

Need to open with SRIOV-CNI


updating a.js-integration

Updating ajs-integration dep

Current coverage is 100% (diff: 100%)

Merging #4 into master will not change coverage

@@           master    #4   diff @@
===================================
  Files           1     1
  Lines          47    47
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits           47    47
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update b1b63d7...e044137


[BUG] Slow index creation on MacOS

Describe the bug
It takes ten times longer to create an index (PUT /my_index) using the MacOS build of OpenSearch than in Docker.
Attempting to create several indexes at once ends up taking several times as long as creating a single index, yet OpenSearch's process does not seem to be CPU or memory bound. There do not appear to be any errors or warnings in the log.
This is not a problem in production, but it is slowing down our automated tests in development.
To Reproduce
Steps to reproduce the behavior:

Install opensearch by running brew install opensearch
Start opensearch
Run time curl -XPUT localhost:9200/my_index

Output:
$ time curl -XPUT localhost:9200/my_index
{"acknowledged":true,"shards_acknowledged":true,"index":"my_index"}
real    0m2.024s

Now, install opensearch using docker pull opensearchproject/opensearch:latest
Start container with docker run -p 9200:9200 -e "discovery.type=single-node" -e "plugins.security.disabled=true" opensearchproject/opensearch:latest
Run time curl -XPUT localhost:9200/my_index

Output:
$ time curl -XPUT localhost:9200/my_index
{"acknowledged":true,"shards_acknowledged":true,"index":"my_index"}
real    0m0.193s

Expected behavior
I would expect the MacOS build to create indexes much faster than the Docker container, seeing as the container is running in the Docker Desktop VM.
Plugins
I used the default installation.
Host/Environment (please complete the following information):

OpenSearch v2.3.0
OS: MacOS 11.4 (Big Sur)
Intel MacBook Pro

@diachedelic is this performance degradation only limited to the index creation API ? or you are facing same issue with other APIs?

I have only noticed it with the index creation API. Populating and querying the index appear to be fast.

This might result from MacOS's excruciatingly slow implementation of the fsync system call, described at https://github.com/golang/go/issues/28739#issuecomment-1042652785.
If so, these would be the hot lines:
https://github.com/opensearch-project/OpenSearch/blob/31a360fc87419cd3a6d5621754f8ad9e8819f1e8/libs/core/src/main/java/org/opensearch/core/internal/io/IOUtils.java#L301
https://github.com/openjdk/jdk/blob/master/src/java.base/macosx/native/libnio/ch/FileDispatcherImpl.c#L51

From the ElasticSearch folks:

The root cause of this is that fsync performance on modern macs is quite slow and Elasticsearch (any many other databases) use this extensively for durability purposes. There's really not a whole lot we can do here and we have the same issue with slow test execution on Macs.

I am not using a modern Mac, but it seems plausible that this also affects older Macs.

@diachedelic You can test it by commenting out that line. Obviously don't do this in production ;)

You need a newer JDK, see https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md

The hot paths might as well be outside IOUtils.java as well.
https://github.com/opensearch-project/OpenSearch/blob/d8e7d87daa84db605360970d210b923c3f4b3117/server/src/main/java/org/opensearch/index/translog/TranslogWriter.java#L510

@dblock What version are you using? I am using JDK 18.

That would be 1.8 in your output.
$ java --version
openjdk 17.0.1 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

Thank you, that was silly of me.
I commented out force(true) everywhere I could find it (in IOUtils.java, Checkpoint.java and TranslogHeader.java), but it did not improve the performance of index creation.

Thanks @diachedelic, sounds like we'll need more profiling! @andrross or @mch2 do you have any suggestions of how to properly construct a benchmark or an existing benchmark that can be run to narrow this down?

@diachedelic  I'd recommend using Java Flight Recorder to profile the VM running OpenSearch. Then just use a simple script calling create index in a loop, something like:
for i in $(seq 0 300) ; do curl -XPUT localhost:9200/my_index_$i ; done

The profiling data generated by Java Flight Recorder will hopefully show what is being slow.

I have had a go with the Java Flight Recorder. My benchmark was to create 10 indexes concurrently - and it took about 20 seconds! Even so, nothing jumps out at me when I view the log in JDK Mission Control. There is this:

The maximum amount of used memory was 97.1 % of the physical memory available.
The maximum amount of memory used was 15.5 GiB. This is 97.1 % of the 16 GiB of physical memory available. Having little free memory may lead to swapping, which is very expensive. To avoid this, either decrease the memory usage or increase the amount of available memory.

But it can't be right - throughout the benchmark, Activity Monitor.app showed 8GB free. The OpenSearch process never went above 23% CPU or 1.25GB memory.
I've attached the Flight Recorder data if somebody else would like to take a look.
opensearch-scrubbed.tar.gz

I also noticed this in OpenSearch's output:

[2022-11-05T11:18:13,960][WARN ][o.o.c.r.a.DiskThresholdMonitor] flood stage disk watermark [95%] exceeded

I mean, I have 13GB free disk space so it's not like OpenSearch is actually running out of space. But maybe it has something to do with it?

@diachedelic Can you try this again where you're below that 95% threshold? It is possible that it is related.

I reduced my disk space usage to 81% (below both the high and low watermarks) but I did not see any improvement.

Here are some benchmark results. Each run consists of creating count indexes concurrently.
MacOS build:
count 1
total 1823ms
average 1823ms

count 3
total 5867ms
average 1956ms

count 10
total 17215ms
average 1722ms

count 50
total 35412ms
average 708ms

Linux build, running inside the Docker VM:
count 1
total 419ms
average 419ms

count 3
total 838ms
average 279ms

count 10
total 1802ms
average 180ms

count 50
total 5073ms
average 101ms


[oadp-1.0] fix: CI unit test (envtest version) (#1375)

This is a cherry-pick of https://github.com/openshift/oadp-operator/pull/1375

Can we skip the e2e ? I think those are flakes, and the 1.0 is reworked in another release PR.


Initial commit of vSphere cloud provider

this includes

vSphere cloud provider skeleton
implementation of authentication to vSphere
vmware/govmomi package added to godep workspace
godep.json update for vmware/govmomi

lgtm


[Devportal] Subscription available and get 409 when initially do try out

Description:
Subscription with DefaultApplication is available after initially try out for an API. When the subscribe button is clicked it doesn't give any error messages in the UI. But upon inspection 409 response is coming for the subscribe API.

Steps to reproduce:

Create an API and publish.
Click try out from the devportal.
Navigate to the subscriptions.

Affected Product Version:

Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Couldn't reproduce in the latest pack.


"after: [*]" broken?

It seems that the line
   after: [desktop/*]
makes snapcraft abort with
'NoneType' object is not subscriptable
I tested this with my own attempt to build a gtk3 snap as well as with openttd (qt5) and some others from this repository.
My snapcraft version is 2.19 on ubuntu 16.04.
Is that syntax deprecated or is snapcraft broken?

Can you try [desktop-gtk3] (with a -) for example?

I tried both - and / for qt and gtk, they all give the same output.

just had a similar issue, try running snapcraft update and attempt again.

Thank you, that solves it!
Maybe snapcraft should check for this and automatically update if a part is not found?

Maybe you could file a bug at https://bugs.launchpad.net/snapcraft/+filebug about it? (Maybe this is what https://bugs.launchpad.net/snapcraft/+bug/1590934 is about?)


[WIP] Loki showcase

A new showcase to replace our homepage carousel.
Things that still need work:

[ ] Copy

[ ] Section header
[ ] Mail
[ ] Calendar
[ ] Files
[ ] Terminal
[ ] Scratch
[ ] Camera

[ ] Screenshots

[ ] Midori
[ ] Mail
[ ] Camera

All files in the /images should be compressed when we are ready to merge

I feel like the icon and copy should go above the apps. Currently, on smaller displays, you could click an icon and not even see the copy.

As far as the copy, the reason I did it below the screenshot was because it follows convention for the rest of the page, where copy would be below the image on smaller viewports.
Animating would me amazing. Slingshot's getting all the love at the bottom of the page :P, I'll put on my creative hat on and start thinking of code for that.

Some minor nitpicks about Terminal:

[ ] There should be a space after the ":" in the tab and title name. As in "Home: rm -rf" and not "Home:rm -rf"
[ ] Looks like we're not currently loading the bold font weight (700) for open sans in the site
[ ] Non-interactive elements (titlebar buttons, tab buttons) should probably not be click-able
[ ] Should we replace "user" with "ellie" as a subtle nod to our fictitious demo user
[ ] The Terminal is way wider than tall on my 13" display. Any way to make it a bit more of a golden rectangle?

[ ] Need to add and use the 48px Terminal icon instead of scaling the larger one

[ ] Fix midori-browser.org address. It isn't https

[ ] We should take HiDPI screenshots for apps that support it


/attach command ... when I try attach something where is nothing loaded

Enter your message: /attach
Traceback (most recent call last):
File "/Users/zdendos/developing/local/MemGPT/main.py", line 3, in
app()
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/typer/main.py", line 328, in call
raise e
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/typer/main.py", line 311, in call
return get_command(self)(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/typer/core.py", line 778, in main
return _main(
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/typer/core.py", line 216, in _main
rv = self.invoke(ctx)
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
return callback(**use_params)  # type: ignore
File "/Users/zdendos/developing/local/MemGPT/memgpt/cli/cli.py", line 205, in run
run_agent_loop(memgpt_agent, first, no_verify, config)  # TODO: add back no_verify
File "/Users/zdendos/developing/local/MemGPT/memgpt/main.py", line 460, in run_agent_loop
data_source = questionary.select("Select data source", choices=data_source_options).ask()
File "/opt/homebrew/Caskroom/miniconda/base/envs/memgpt310/lib/python3.10/site-packages/questionary/prompts/select.py", line 133, in select
raise ValueError("A list of choices needs to be provided.")
ValueError: A list of choices needs to be provided.

This only happend, when I will forget call "python3 main.py load directory ..." before I call "/attach" command

And there is opposite issue. I am able to attach same source many times ( I forgot, that I attached it already ). Each time will increase number of embeddings.

Thanks for reporting this! You need to run memgpt load ... to load in a data source before you can attach it to an agent. However, we definitely should throw a warning instead of an error (fixed in  #513).
We don't really keep metadata about loaded data (this will be fixed soon), so if you run /attach multiple times, it'll just ingest the embeddings into the agent's archival memory and you'll have duplicated data.


Added scrollBehavior dragDevices to allow drag scroll on web & desktop

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

Could you please explain what that fix does?

The fix allows you to scroll any scrollable component (mainly column & listview) on the Web build with the mouse pointer to drag down/up instead of only having to use the mouse scroll wheel or touchpad to scroll a view.  So basically it adds the drag scroll feature that is in the native apps on a phone/tablet into the web app, which also applies to web view in a phone browser.  It's a simple feature that should of been turned on by default because there's no reason you wouldn't want it on, and makes the web ui feel more like a native app ui.  It's also particularly needed for web browser since the arrow keys (along with page up/down) doesn't scroll a flutter app like you can with HTML, so it's a needed capability.
Hope I made my case for that addition well enough, but I think other people running Flet on the web browser would appreciate having that ability turned on.  If you're still on the fence about turning drag scroll gestures on by default, it could be added as an option, but it'd be much easier to just enable for all, no downside since it doesn't affect any other scrolling method negatively.  Thanks.

I think this should be an option and not a default behavior.

MaterialScrollBehavior is deprecated with a notice Use ThemeData.useMaterial3 or override ScrollBehavior.buildOverscrollIndicator. This feature was deprecated after v2.13.0-0.0.pre.. I also found this: https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag

Didn't notice MaterialScrollBehavior got depreciated, but still worked.  I just updated it with the new method making the class to include all the PointerDeviceKinds as dragDevices.
I understand if you'd rather make it as an option to set instead of default scroll behavior for everyone, even though I think it's practical enough to enable for all.  If you want it as settable option, I'd recommend something like page.enable_web_drag_scrolling = True
and if it's False, to just have scrollBehavior: enable_web_drag_scrolling ? DragScrollBehavior : none,
Either way.. In my web app, I'm constantly finding myself trying to drag the scroll view down with my mouse and disappointed when I have to use the mouse wheel or grabbing the scrollbar.  It feels much more natural to have the feature enabled, but that may not be for everyone, can't speak for the average user.

Another case scenario in support of enabling this feature is when I shrink the width of my web app, the Tabs are cut off on the right and I can't scroll the TabBar to get to the ones on the end, however it does work on the mobile to drag it to get to the hidden Tabs.  Makes a difference for functionality, not just an alternative to dragging the small scroll bar or mouse wheel which gets tiring on the long lists..

Do you mean this: https://api.flutter.dev/flutter/material/TabBar/isScrollable.html ?

It seemed that the TabBar was already set to Scrollable because on a mobile with Touch Gesture, the tabs were able to scroll sideways, but on desktop or web with Mouse Gesture you can't scroll tabs horizontally with the mouse wheel.  It'd work with that  PointerDeviceKind.mouse set on dragDevices as per my PR, in addition to being able to drag any other scroll controller with the mouse.

scrollBehavior is applied to a wrong "MaterialApp". The one that displays entire application is here: https://github.com/flet-dev/flet/blob/main/package/lib/src/controls/page.dart#L438

I'm looking at this page
Could you please comment on "Enabling this for PointerDeviceKind.mouse will make it difficult or impossible to select text in scrollable containers and is not recommended."?
Would it be another reason to have scrollBehavior optional/configurable?

So this means, Flutter itself doesn't make use of this Behavior.

I'm not sure what's going on with this PR? Is it mix with ImageViewer? Shall we close it and start over?

Opps, sorry I should have kept things in a separate branch, so it got mixed with the ImageViewer changes.  What was modified for the scrollBehavior is just in package/lib/src/flet_app_main.dart so you can scrap my PR and start over since it was simple enough.  The only thing missing from this is a way to turn it on & off with a flag to enable it, and I didn't know the best way to set that.  All this PR adds is this to the bottom of flet_app_main.dart:
class DragScrollBehavior extends MaterialScrollBehavior {
  @override
  Set<PointerDeviceKind> get dragDevices => {
        PointerDeviceKind.touch,
        PointerDeviceKind.mouse,
        PointerDeviceKind.stylus,
        PointerDeviceKind.unknown,
      };
}

And on the top adding import 'package:flutter/gestures.dart';
And on MaterialApp( to add scrollBehavior: enable_drag_scrolling ? DragScrollBehavior() : null,
But I don't know your preferred way to add a bool flag arg for enable_drag_scrolling... Maybe that's an attribute that can be set in page.py or elsewhere, I'm not an expert in that.  I'd appreciate if someone can work that little part out and implement this simple change. It's still a useful addition that I'm sure more folks than just me would like to enable on their desktop/web app.

Closing as stale. Re-open and resolve conflicts if decide to work on this PR further.


cannot parse ISOString such as 2015-11-06T03:25:34.265Z

I get '2015-11-06T03:25:34.265Z' from new Date().toISOString() without using Datejs. Standard js feature.
However, when use Datejs to parse it with Date.parse('2015-11-06T03:25:34.265Z'); I got null string. Remove datejs, then parse works fine.

I'm unable to reproduce this. I just ran the provided string through parse and it worked fine. Are you using the version from here? From NPM? What version is it?

I am using the version from NPM. I just uninstalled it locally today. I can reproduce it with
var date = Date.parse('2015-11-06T03:25:34.265Z'); console.log(date);
using jsfiddle and
https://cdnjs.cloudflare.com/ajax/libs/datejs/1.0/date.min.js

Well the CDNJS version is NOT 1.0, that's a total lie and I've opened up a ticket with them there and well... they don't care. So that's not, sadly, very helpful.
I just tested with the production minified version here (so it should be the same as npm) https://github.com/abritinthebay/datejs/blob/master/build/production/date-en-US.min.js
...and it works fine.
Sounds like you might be pulling in an old version..? The original version by Geoff didn't support the microsecond ISO times.

Make sure you're installing via npm the latest version which would be npm install<EMAIL_ADDRESS>

Given that it works with the current code I'm closing this, but let me know if you can get a consistent repro case with the current code.

It works now, thanks
On Fri, Nov 6, 2015 at 3:55 PM, Gregory Wild-Smith<EMAIL_ADDRESS>
wrote:

Given that it works with the current code I'm closing this, but let me
know if you can get a consistent repro case with the current code.
—
Reply to this email directly or view it on GitHub
https://github.com/abritinthebay/datejs/issues/252#issuecomment-154531408
.

--
Jay Ma
<EMAIL_ADDRESS>


Comment

In this milestone:

I created "comment" branch
I checked the linters
I add styles
I add JavaScript modules for comments
I add dynamic html file

✔ Status: APPROVED 🏆 🎉 🎊
Hi @ elad237,
You did a really great job! 💯
Congratulations! 🎉 🎉 🎉
I reviewed your code and I see you completed your assigned tasks:
-Comments popup
When the popup loads, the webapp retrieves data from:
✅The selected API and shows details about the selected item.
✅The Involvement API to show the item comments.
✅When the user clicks on the "Comment" button, the data is recorded in the
✅Involvement API and the screen is updated.
You may now close this Pull Request and merge the changes!
Other highlights:
✅ Descriptive pull request message
✅ Linter error checks validated
✅ Documented work professionally
✅ Commit messages are meaningful.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.


Travis CI - Building

starts fixing #8

Looks alright, I'll give it a test after starting the rewrite. I think we can merge for now?

Yeah, sounds good.


Backport "HBASE-26474 Implement connection-level attributes (addendum)" to branch-2

Addressing additional comments raised in branch-2 backport PR #4014

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

-0 :warning:
yetus
0m  8s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
3m 55s
branch-2 passed

+1 :green_heart:
compile
0m 28s
branch-2 passed

+1 :green_heart:
shadedjars
6m 32s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 27s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 35s
the patch passed

+1 :green_heart:
compile
0m 29s
the patch passed

+1 :green_heart:
javac
0m 29s
the patch passed

+1 :green_heart:
shadedjars
6m 31s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 24s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 57s
hbase-client in the patch passed.

27m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4059

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 6ca57f30bbae 4.15.0-161-generic #169-Ubuntu SMP Fri Oct 15 13:41:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 5aa0fd2651

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/testReport/

Max. process+thread count
349 (vs. ulimit of 12500)

modules
C: hbase-client U: hbase-client

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 36s
branch-2 passed

+1 :green_heart:
compile
0m 32s
branch-2 passed

+1 :green_heart:
shadedjars
7m 15s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 31s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 16s
the patch passed

+1 :green_heart:
compile
0m 33s
the patch passed

+1 :green_heart:
javac
0m 33s
the patch passed

+1 :green_heart:
shadedjars
7m 19s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 30s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 57s
hbase-client in the patch passed.

30m 29s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4059

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux e5e3f718b6c6 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 5aa0fd2651

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/testReport/

Max. process+thread count
296 (vs. ulimit of 12500)

modules
C: hbase-client U: hbase-client

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 49s
branch-2 passed

+1 :green_heart:
compile
1m 19s
branch-2 passed

+1 :green_heart:
checkstyle
0m 38s
branch-2 passed

+1 :green_heart:
spotbugs
1m 28s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 28s
the patch passed

+1 :green_heart:
compile
1m 15s
the patch passed

+1 :green_heart:
javac
1m 15s
the patch passed

+1 :green_heart:
checkstyle
0m 37s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
15m 27s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
1m 38s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

42m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4059

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 995999915eaa 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 5aa0fd2651

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
86 (vs. ulimit of 12500)

modules
C: hbase-client U: hbase-client

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4059/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


What does module.hot.decline in index.ts do?

I'm really curious about the purpose of this code, can you say more?
https://github.com/storybookjs/addon-kit/blob/4c3224fbbe9d3c663e88d11f563c91ebc10b0b4f/src/index.ts#L1-L3

I believe it rejects HMR updates for the addon when the story/component code changes. @shilman @ndelangen  could you confirm.

yes

Thank you both! 🙏🏻


validation during experiment 0 exhausts whole ram memory

validation during experiment 0 exhausts whole ram memory. Could you please have a look at that

You need more RAM, because I'm store in memory all validation masks (with probabilities)
I can turn off this option for using fix triplet on validation.
Another option: save in memory masks with lower resolution (for example 512x512 for 1024x1024 images)

@sneddy Thanks for your work!
And where should I modify with 512x512 replace 1024x1024? Thanks!

@sneddy And my GPU is 1080Ti (11176MiB), how much capacity does your ram have?

@PumayHui Thank you for feedback. I use the same gpu
Scores in main dashboard obtained after all steps of my pipeline: I mean train_config_part0, part1 and part2
I really uptrained my model A LOT

@sneddy Thanks so much!
Could you train 10241024 data with the same GPU?
When I train 10241024 data, it shows out of memory.
But when I use 512*512 data, the Dice coefficient of  train_config_part0 is only 0.79.  And I see you said your part0 is 0.835. Do you have any suggestions? Thanks!

It's a result of 1024x1024 images.
Memory error related to RAM, I have 64GB RAM on my machine.
I know that's really large amount of memory and I will try to fix it in the coming days

@sneddy Emmm…, my RAM is 32GB…
Do you have any suggestions for me with such RAM? Thanks so much!

you can use trained model (I load my weights) because I use smart pseudolabeling technique for uptraining.
Also you can turn off validation by triplets - all memory used on validation step

@sneddy Emmm…, my RAM is 32GB…
I update my solution and configs files.
Updated pipeline must work on 16 GB RAM

Wow! Thank a lot!!!

@PumayHui I seem to encounter similar problems. I tried the previous configuration file. I also use 512 * 512 resolution images, but I can't get about 0.85 local validation score. In my experiment, I used pre-train on 512 * 512 image first, then fine-tune on 1024 *1024 image. However it seemed to fall into the local minimum value, with only 0.80 local validation score. Maybe the update of the code can save me. In a word, thanks for the continuous update of the author. @sneddy


Typescript

Add support for typescript

Hi! We're not quite ready to consider TypeScript yet (see #142 for updates).
We have yet to complete our Flow integration (which we will suggest as first option for type safety).
Additionally, there's really interesting things going on right now. See https://github.com/babel/babylon/issues/320 and https://github.com/babel/babylon/pull/444.
TypeScript may soon be parsed by Babylon (and compiled by Babel).
Microsoft has interest in seeing this happen, and are working on a WIP themselves, too.
This consideration is probably still a few months out. Sorry!

TypeScript is now officially supported as of Create React App 2.1. Read the release notes to get started!


change database import message

When you have selected a subset, the status bar still says “Dataset plotted is: Fixed270”  it needs to be “Dataset plotted is selection from Fixed270” to indicate you’re not seeing the full dataset.

done

done


palindromes

write a code of palindromes

@MooohamedAli thanks for posting this issue!
Please edit the title and the description of this issue to make them more informative, or else it will be closed, thanks.

Please review the Guidelines for Contributing, thank you!.

Closing. Please feel free to re-open with steps and a description on how to reproduce the issue.
Happy Coding!


Hj

Please remove this issue

issue is not real issue. @fogleman take action

I am concerned with the large amount of spam on this Issues tab.
Unfortunately, @fogleman  does not actively monitor this repo anymore.

No one else that has collab powers still does anything with this project.
Its basically abandoned.

It's the same with @fogleman/craft, and all his other MC clone repos.

Unfortunately these are new accounts made just for spamming:


 Just generate the icon when pressing ok

Good suggestion! Thanks!
I'll remove the dialog on next release 😉

@konifar are you open for a PR on this one?

Sorry, I haven't done this yet 🙇

Gentle push.

Ready yet? 😄


Steps for turning a 2.0.8 cluster into multi-region

Hi
I have a cluster running in a region, and I'm trying to turn it into multi-region, but I haven't found any documentation for that. Is there any?
Meanwhile, checking the available properties in https://github.com/Netflix/Priam/wiki/2.0 I made some changes in simpledb:

I changed 'priam.multiregion.enable' to 'true'
I added the new AZs to 'priam.zones.available'.
Changed priam.endpoint_snitch to 'org.apache.cassandra.locator.Ec2MultiRegionSnitch'

Now, when the servers in the new region start, they call "get_seeds" in the API and get 10.0.x.x private addresses, and obviously they can't connect to those IPs, so cassandra startup log shows "Unable to gossip with any seeds" error.
Checking the security groups in both regions I see Priam has added new rules, but always using the private addresses, not the public ones.
Also I've tried starting from scratch, with no data in the servers, just the info in simpledb (after changing multiregion, endpoint_snitch and the new AZs),but I get the same error.
What am I missing? How can I make Priam use public IP addresses for inter-region communication insead of private IPs?
I'm using version 2.0.8 for Cassandra and Priam, com.netflix.priam.cassandra.extensions.NFSeedProvider and org.apache.cassandra.dht.RandomPartitioner. For the rest I'm using mostly the defaults.
Any hint?
Thanks in advance,
Tomàs

did you ever get this working?

You need to update Priam's SimpleDb or whatever you are using with Public IP before launching a new region.


Add lint checks to CI (without Stickler CI)

Using flake8 for example.
It seems Stickler CI only checks new changes but does not check old code, so there are pieces that could be cleaned (i.e.: unused parameters/imports/variables).
Also, this would allow for local lint check execution.

Tox could be used as well to ease local vs. CI reproducibility.

I think this issue could have been prevented with lint checks (unused parameters):
https://github.com/pvlib/pvlib-python/issues/1215


Optimize for Javascript engines

Imported from monifu/monifu.js#9.
Should eliminate synchronization concerns.
Even though such synchronization is usually light, we've got instances in which logic is in place to deal with JVM-specific concurrency problems, including usage of atomic references that on top of Javascript is totally unneeded and amounts to unnecessary boxing of primitives.
Also investigate do profiling and optimize where needed.

Work related to this already happened, more work is needed, however I'm closing this because more specific issues need to be opened.