Improve Unit Test Experience for Functionality using Azure CLI Configuration

Is your feature request related to a problem? Please describe.

When writing unit test for functionality that leverages Azure CLI Configuration, the config is persisted across tests leading to misleading results.
Most recently, new functionality in the az bicep sub-command leveraged Azure CLI Configuration but a bug slipped through the tests due to the config value not being reset with each test, causing numerous build pipeline failures for customers.
Describe the solution you'd like

Better unit testing experience for such functionality. Based on this last experience, here are some thoughts I had:

Reset config for each test or In-Memory Config for DummyCLI
Should Config API throw error for No Section
Lint Rule for cli_ctx.config.get() without default value. Warning at the minimum.

@wangzelin007 for awareness

Hi @PramodValavala-MSFT,

Reset config for each test or In-Memory Config for DummyCLI
Our test framework already supports setUp and tearDown for each test
Should Config API throw error for No Section
@jiasli for awareness
Lint Rule for cli_ctx.config.get() without default value. Warning at the minimum.
@jiasli for awareness

Sorry but I didn't really get the questions here. The behavior of cli_ctx.config.get() is internally implemented by the configparser built-in library.

Should Config API throw error for No Section

Is this a question or conditional?
The current behavior of cli_ctx.config.get('aaa', 'bbb') is to raise configparser.NoSectionError:
  File "D:\cli\py310\lib\site-packages\knack\config.py", line 208, in get
    return self.config_parser.get(section, option)
  File "C:\Users\jiasli\AppData\Local\Programs\Python\Python310\lib\configparser.py", line 783, in get
    d = self._unify_values(section, vars)
  File "C:\Users\jiasli\AppData\Local\Programs\Python\Python310\lib\configparser.py", line 1154, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'aaa'

Lint Rule for cli_ctx.config.get() without default value. Warning at the minimum.

Without specifying fallback kwarg, cli_ctx.config.get('core', 'bbb') errs:
  File "D:\cli\py310\lib\site-packages\knack\config.py", line 208, in get
    return self.config_parser.get(section, option)
  File "C:\Users\jiasli\AppData\Local\Programs\Python\Python310\lib\configparser.py", line 794, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'bbb' in section: 'core'

It can't simply warns since it doesn't know which value to use.

After this PR is merged, each test can use random config dir.
https://github.com/Azure/azure-cli/pull/25689

@jiasli Thanks for the insights! This behavior is difficult to catch in tests, which led to the issue here, because the config file is re-used across tests, and in our case, we never got the NoSectionError.
Since this is the expected behavior and I assume authors either must ensure a fallback value is present or handle the NoSectionError exception, I was thinking it would be good to have a linter rule to highlight this as a warning that this line might throw this exception without the fallback value provided.
Since this was the first time I was using this API, it wasn't obvious to me that this line could raise an exception and testing it missed as well since the config file was being shared.
@bebound Yes. I think that should help. So, will we be able to change the config dir for each test as part of the setUp method or would it be automatic as part of the test framework?
Also, considering there is a performance impact, wouldn't it make sense to make the config file in-memory and have an API to clear it before each test to speed things up?

IMHO, most test only read config. Modifying specific tests is more efficient than using dedicate config directory for each test. We need to add random_config_dir param in __init__ method in tests class.
I don't know if there is an easy and cross-platform way to create in-memory folders.

@bebound Thanks for the work here! I've noticed the PR for this has been merged but is not extended to LiveScenarioTests though.
As part of this PR (#26374), I've included the change for that as well. Could you please review?
Closing this issue since the initial ask has been completed.


[BUG] in_list

According with the in_list docs:
// Description: Returns true if value `val` is in list `list`. When `val==NAN` the answer will be false for any list.
// Arguments:
//   val = The simple value to search for.
//   list = The list to search.
//   idx = If given, searches the given subindexes for matches for `val`.
// Example:
//   in_list("bar", ["foo", "bar", "baz"]);  // Returns true.
//   in_list("bee", ["foo", "bar", "baz"]);  // Returns false.
//   in_list("bar", [[2,"foo"], [4,"bar"], [3,"baz"]], idx=1);  // Returns true.

it should return true for:
in_list(val=2, list=[[0,1],[1,2]], idx=[0,1])
however its result is false.
The point is that function search doesn't work for a list of indices just for a single index.
We have two alternatives:

restrict idx to be either undef or a number
when idx is a list of numbers call search for each element in idx.

I could not find any place in the library where in_list is called with a list idx.

I don't think I ever considered a non-scalar idx value for this.
Would it be useful to allow for a vector idx?  What would it mean?  I can see either of:

"search for val in any of these subindexes" any([for (i=idx) ...]) or
"search for val in these recursive subindexes" subindex(subindex(list,idx[0]),idx[1]...)

If you have never considered non-scalar idx, then we just need to correct the doc and include an argument check on idx.


`final_exception': stack level too deep (SystemStackError)

This error is happening in all rspec-rails 3.x versions I tested here. since 3.0 until 3.4
/Users/luciano/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.1/lib/rspec/core/formatters/exception_presenter.rb:97:in final_exception': stack level too deep (SystemStackError)`
https://github.com/rspec/rspec-core/blob/master/lib/rspec/core/formatters/exception_presenter.rb#L97
note my ruby version. 2.2.3.
I teste in the ruby 2.1.3 and happen the same.

I just removed the if/else test and works fine here:
before:
        def final_exception(exception)
          if exception.cause
            final_exception(exception.cause)
          else
            exception
          end
        end

after:
        def final_exception(exception)
          exception
        end

Any particular reason to this check?

The code is there to support the feature required in #2044 and implemented in #2074.  Getting infinite recursion is very odd here -- it suggests that you've got an exception for which cause returns itself.  I'm not sure how you'd get that.  Can you put together a repro so we can trouble shoot?  A simple fix could be written to only recurse if exception.cause != exception.


Python: statement groups

Nice to have: write multiple commands in one line with semicolon.
Shouldn't be too hard to implement, but I have to lookup how python syntax behaves

Did some research, this syntax seems to be discouraged - interesting. I can live without it, keeps the syntax cleaner.
Rejected


Twitch integration no longer functions

Twitch integration currently does not function due to the wrapper not being updated to support the current Twitch API.

Consider https://github.com/tsifrer/python-twitch-client


Fixing support for mpirun (and similar)

Checking MPI environment before initializing the runtime
flyby: handling stack size problem for newly created threads

@khuck wrote in an email (Tue 5/19/2020 5:55 PM):

I can confirm that the branch works for me…thanks!  I am able to run MPI programs again.

Thanks @hkaiser for opening the new issue. I'll take care of that one. Let's go with this since having the MPI parcelport broken is suboptimal...


Fix For Issue #952 / Formatting on admin pirep page

Removed unnecessary div tags to fix the broken display problem, defined the div class with a php code.

Thank you!


Can't view reports with JDK8

My server running Jenkins, can't upgrade jdk 16
Acrarium can't  run on jdk 8. When click view report, i m see nothing!

Acrarium supports Java 11+. Compatibility with Java 8 is coincidential if present.


Suggestion: Improve Performance by precomputing full table

to improve the performance of choose, you should rebuild an array of the weighted choices.
This will front load all performance cost to the construction of the loot pool (ideally, once) instead of it being rebuilt every loot choice.
Then choose can be a simple return this.cachedArray[randomIndex];

Happy to accept a pull request.

Why was this closed?

Nothing personal, it's just that I don't think it's an issue and I know I will never do this. If you want to do it, go for it.


Making this plugin work in pycharm

Any chance this could be done?

We don't plan to add support for any IDEs beyond the current three (IntelliJ (UE and CE), Android Studio, CLion).
That's because each additional IDE we support adds extra maintenance burden, and the other IDEs (pycharm, goland, webstorm, etc.) are functional subsets of these three. For example, IntelliJ CE/UE + the python plugin is a functional superset of PyCharm CE/UE.
There's some previous discussion in https://github.com/bazelbuild/intellij/issues/37 and https://github.com/bazelbuild/intellij/issues/61.


Why do we need to set port here?

Hello folks! Could somebody explain why do we need to use port here even we are using uds?
https://github.com/hyperium/tonic/blob/0b03b30cccc67d517b05587614405d63d942b1bb/examples/src/uds/client.rs#L20

Its just an inconvenience with the current API. Its ignored internally but you still have to set it. Something we should fix at some point probably 😬

thanks for response!


Better CSS

Plus, remove all Substance CSS dependencies.

Merging this 🐮boy-style. To be tweaked tomorrow...


RDKDEV-259 :Security agent : Bug fix in security agent plugin's configuration and url for token creation in injected bundle

This commits adds the configuration of acl file name in Securityagent plugin.
Sets value of PLUGIN_SECURITYAGENT_ACL_FILE_NAME to acl if it is defined else set default file name acl.json also fixes the bug in the SecurityAgent.config file previously it used map instead of kv to pair acl with the acl file name.
Also formatting url to json for creating token, after decoding the token, securityagent plugin expecting "url" string with url while checking the url in the acl configuration file.
This PR is the rebased version of https://github.com/rdkcentral/rdkservices/pull/2357

Internal ticket for tracking https://ccp.sys.comcast.net/browse/RDKCOM-3132


RTIO: buffer const qualifiers for TX buffers

Is your enhancement proposal related to a problem? Please describe.
It is quite common for higher level API's to define their TX buffers with const qualifers. For example:
int modem_pipe_transmit(struct modem_pipe *pipe, const uint8_t *buf, size_t size);
int flash_write(const struct device *dev, off_t offset, const void *data, size_t len);
int disk_access_write(const char *pdrv, const uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector);

When implementing drivers for these API's using RTIO, users are forced to explicitly discard the const qualifiers due to the internal types of the RTIO interface and its underlying storage structure (struct rtio_sqe):
static inline void rtio_sqe_prep_write(
    struct rtio_sqe *sqe, const struct rtio_iodev *iodev, int8_t prio, uint8_t *buf, uint32_t len, void *userdata);
static inline void rtio_sqe_prep_transceive(
    struct rtio_sqe *sqe, const struct rtio_iodev *iodev, int8_t prio, uint8_t *tx_buf, uint8_t *rx_buf, uint32_t buf_len, void *userdata)

Apart from the added casting, there is also the loss of compiler checking that the buffer is indeed not modified.
Describe the solution you'd like
Proper const qualifiers on buffers marked for transmission.

We could make tx_buf const, that would be fine and likely add some minimal safety.


Fix bug between edit patients and hide

Codecov Report

Merging #286 (b3e4c5e) into master (2e63818) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #286      +/-   ##
============================================
+ Coverage     70.42%   70.44%   +0.02%
  Complexity      816      816
============================================
  Files           111      111
  Lines          2749     2751       +2
  Branches        356      356
============================================
+ Hits           1936     1938       +2
  Misses          703      703
  Partials        110      110

Impacted Files
Coverage Δ

...edu/address/logic/commands/EditPatientCommand.java
93.82% <100.00%> (+0.15%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


What about isLoading instead of loading?

What about isLoading instead of loading?

I went with the vue-select API here where they also called it loading. What's your reason for preferring isLoading? Make it clearer it's a boolean?

Make it clearer it's a boolean?

Exactly that.

Will consider it.

I decided against renaming to isLoading to avoid another breaking change and since loading is a bit more flexible for future API changes in case we ever need the prop to be more than just a boolean. Thanks for the suggestion though.


TypeScript definition included dependency on redux-actions

Version: 3.0.0-beta.10
When compiling a TypeScript application that references this library - we receive the following error:
 ERROR in [at-loader] ./node_modules/redux-oidc/index.d.ts:3:40
          TS2307: Cannot find module 'redux-actions'.

This appears to be caused by the fact that the TypeScript definition file includes an import for 'redux-actions', yet 'redux-actions' is not listed as a dependency in package.json.
Two possible solutions would be to either add a dependency on 'redux-actions' to this library, or remove the references to it from the TypeScript definition file. We would be happy to submit a PR if you could indicate a preference.

I'm personally not using TypeScript so I don't have an opinion about how to approach this. If you want to submit a PR fixing this issue, you are more than welcome to do so :).


Sidebar fits viewport method need to take top/Bottom spacing into the equation

Heys, first thanks for the awesome work on this!
Context
I detected a small bug on the calculation. In lookalike "scrollable example" my sidebar was bigger that viewport by just a few pixels and got cropped ( didn't scroll through and affix bottom)
So a viewport with 500px height, a sidebar with 499px height with a topSpacing of, for example 100px, doesn't produce the "scrollable effect", because isSidebarFitsViewport() returns true
Current and Expected behaviour
(expected after code editing)

A Pen is available for testing. For this demo, just resize the window to something between 500px < x < 572px ( sidebar height + TopSpacing)
Fix
I didn't go through the entire codebase but, i assume that top and bottom spacing should be added to the equation depending on the this.scrollDirection.
/**
  * Determine whether the sidebar is bigger than viewport.
  * @public
  * @return {Boolean}
 */
isSidebarFitsViewport(){
let offset = this.scrollDirection === 'down' ? this.dimensions.lastBottomSpacing : this.dimensions.lastTopSpacing;

 return this.dimensions.sidebarHeight + offset < this.dimensions.viewportHeight;
}

Thanks once again!

Same problem here, I have a sidebar that dynamically loads content, and some times that content is just a little bit bigger than the viewport (by a factor of options.topSpacing or less) and, in those cases, the sidebar gets cropped. After some looking at the code I came to the same conclusion than @renatodeleao, that the code needs to take into consideration the top and bottom spacing (defined on the initialization options) when calculating if the sidebar actually fits the viewport. By no means did I go through all the code base, so I might been overlooking something, but in my tests, the change proposed by @renatodeleao, seems to do the trick.

Can you give a pen on codepen.io that has this issue? i tried same scenario on my examples and i didn't see this issue at all.

@abouolia => https://codepen.io/ohsimtabem/pen/GyrmaK
Here's a video explaining before and after fix: https://cl.ly/2R1S1h3k3X1p

Great contribution @renatodeleao, It fixed as you suggested, Thanks a lot.

@abouolia no prob, thank you for this awesome piece of code!


Documentation: When are type aliases required?

For instance, the github example requires type URI = String; or else a rather cryptic error like
error[E0412]: cannot find type `URI` in module `super`
   |
   | #[derive(GraphQLQuery)]
   |          ^^^^^^^^^^^^ not found in `super`
   |
   = note: possible candidate is found in another module, you can import it into scope:
           crate::repo_view::URI

is raised at compile time.  It would be nice if the documentation mentioned this error message somewhere and explained how to solve it by defining an appropriate type alias.

Definitely!


Data update should not skip unchanged rows

The data update methods should not exclude unchanged rows.

This makes the responses confusing by potentially skipping rows that the client supplied.
This might interfere with situations where a trigger might want to change row values before they are applied, since the check for changes happens before the triggers fire.

I don't think anybody should depend on the current behavior, so we can just make this change within the current API.  The api docs do not specify this level of detail, rather they say this should be clarified...
@hongsudt @howdyjessie @jrchudy @robes @RFSH

This is now implemented in master. Please confirm that it works in your own tests.

This works on RecordEdit when I attempt to update a row with no changes and ERMrest response did return the unchanged row.


CI: eks cluster creation fails with "The maximum number of internet gateways/VPCs has been reached."

Bug Description
As seen here, eks cluster fails with the following error https://github.com/canonical/bundle-kubeflow/actions/runs/12130614512/job/33821313708#step:11:47.
To Reproduce
Rerun CI with all 3 supported versions
Environment
EKS 1.29
Relevant Log Output
2024-12-03 00:39:55 [ℹ]  eksctl version 0.196.0
2024-12-03 00:39:55 [ℹ]  using region eu-central-1
2024-12-03 00:39:55 [ℹ]  subnets for eu-central-1a - public:<IP_ADDRESS>/19 private:<IP_ADDRESS>/19
2024-12-03 00:39:55 [ℹ]  subnets for eu-central-1b - public:<IP_ADDRESS>/19 private:<IP_ADDRESS>/19
2024-12-03 00:39:55 [ℹ]  nodegroup "ng-d06bd84e" will use "ami-015db95d8173273e9" [Ubuntu2004/1.29]
2024-12-03 00:39:55 [ℹ]  using Kubernetes version 1.29
2024-12-03 00:39:55 [ℹ]  creating EKS cluster "kubeflow-test-latest" in "eu-central-1" region with managed nodes
2024-12-03 00:39:55 [ℹ]  1 nodegroup (ng-d06bd84e) was included (based on the include/exclude rules)
2024-12-03 00:39:55 [ℹ]  will create a CloudFormation stack for cluster itself and 1 managed nodegroup stack(s)
2024-12-03 00:39:55 [ℹ]  if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=eu-central-1 --cluster=kubeflow-test-latest'
2024-12-03 00:39:55 [ℹ]  Kubernetes API endpoint access will use default of {publicAccess=true, privateAccess=false} for cluster "kubeflow-test-latest" in "eu-central-1"
2024-12-03 00:39:55 [ℹ]  CloudWatch logging will not be enabled for cluster "kubeflow-test-latest" in "eu-central-1"
2024-12-03 00:39:55 [ℹ]  you can enable it with 'eksctl utils update-cluster-logging --enable-types={SPECIFY-YOUR-LOG-TYPES-HERE (e.g. all)} --region=eu-central-1 --cluster=kubeflow-test-latest'
2024-12-03 00:39:55 [ℹ]  default addons coredns, vpc-cni, kube-proxy were not specified, will install them as EKS addons
2024-12-03 00:39:55 [ℹ]
2 sequential tasks: { create cluster control plane "kubeflow-test-latest",
    2 sequential sub-tasks: {
        2 sequential sub-tasks: {
            1 task: { create addons },
            wait for control plane to become ready,
        },
        create managed nodegroup "ng-d06bd84e",
    }
}
2024-12-03 00:39:55 [ℹ]  building cluster stack "eksctl-kubeflow-test-latest-cluster"
2024-12-03 00:39:56 [ℹ]  deploying stack "eksctl-kubeflow-test-latest-cluster"
2024-12-03 00:40:26 [ℹ]  waiting for CloudFormation stack "eksctl-kubeflow-test-latest-cluster"
2024-12-03 00:40:27 [✖]  unexpected status "ROLLBACK_IN_PROGRESS" while waiting for CloudFormation stack "eksctl-kubeflow-test-latest-cluster"
2024-12-03 00:40:27 [✖]  unexpected status "ROLLBACK_IN_PROGRESS" while waiting for CloudFormation stack "eksctl-kubeflow-test-latest-cluster"
2024-12-03 00:40:27 [ℹ]  fetching stack events in attempt to troubleshoot the root cause of the failure
2024-12-03 00:40:27 [!]  AWS::EC2::EIP/NATIP: DELETE_IN_PROGRESS
Error: failed to create cluster "kubeflow-test-latest"
2024-12-03 00:40:27 [!]  AWS::IAM::Role/ServiceRole: DELETE_IN_PROGRESS
2024-12-03 00:40:27 [✖]  AWS::IAM::Role/ServiceRole: CREATE_FAILED – "Resource creation cancelled"
2024-12-03 00:40:27 [✖]  AWS::EC2::EIP/NATIP: CREATE_FAILED – "Resource creation cancelled"
2024-12-03 00:40:27 [✖]  AWS::EC2::InternetGateway/InternetGateway: CREATE_FAILED – "Resource handler returned message: \"The maximum number of internet gateways has been reached. (Service: Ec2, Status Code: 400, Request ID: a97f20de-a1fa-4fd2-8a2f-f83ef2ccfaf9)\" (RequestToken: 933fc990-1bed-f543-4a69-ac24808072f5, HandlerErrorCode: ServiceLimitExceeded)"
2024-12-03 00:40:27 [✖]  AWS::EC2::VPC/VPC: CREATE_FAILED – "Resource handler returned message: \"The maximum number of VPCs has been reached. (Service: Ec2, Status Code: 400, Request ID: d75bf6ea-669a-4723-b056-cfa10de61ad8)\" (RequestToken: 99f79551-eabf-93fe-f5f8-4a65e599edb6, HandlerErrorCode: GeneralServiceException)"
2024-12-03 00:40:27 [!]  1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console
2024-12-03 00:40:27 [ℹ]  to cleanup resources, run 'eksctl delete cluster --region=eu-central-1 --name=kubeflow-test-latest'
2024-12-03 00:40:27 [✖]  ResourceNotReady: failed waiting for successful resource state
Error: Process completed with exit code 1.

Additional Context
No response

When reran, it failed with
https://github.com/canonical/bundle-kubeflow/actions/runs/12130614512/job/33838826606#step:11:40
2024-12-03 09:38:10 [✖]  creating CloudFormation stack "eksctl-kubeflow-test-latest-cluster": operation error CloudFormation: CreateStack, https response error StatusCode: 400, RequestID: 2a8e4224-5f7b-4f7b-881b-a99e0e15d5b0, AlreadyExistsException: Stack [eksctl-kubeflow-test-latest-cluster] already exists

which probably means that the above failure exits with leftover resources.


Error while trying to print the Left hand and right hand landmarks.

I am using a Holistic solution and trying to get the left hand, right hand and pose landmarks. I am giving my webcam feed as input.
When I run the code below, there are no errors and everything is good:
cap = cv2.VideoCapture(0)
//Set mediapipe model
with mp_holistic.Holistic(min_detection_confidence=0.5, min_tracking_confidence=0.5) as holistic:
while cap.isOpened():
    //Read feed
    ret, frame = cap.read()

    // Make detections
    image, results = mediapipe_detection(frame, holistic)
    print(results)

    // Draw landmarks
    draw_styled_landmarks(image, results)

    // Show to screen
    cv2.imshow('OpenCV Feed', image)

    // Break
    if cv2.waitKey(10) & 0xFF == ord('q'):
        break
cap.release()
cv2.destroyAllWindows()

After this, I was trying to check if I got the landmarks by using "results.left_hand_landmarks.landmark" and length of the landmarks using "len(results.left_hand_landmarks.landmark)" I am getting this "AttributeError: 'NoneType' object has no attribute 'landmark'"
The funny part is the problem is only with left hand and right hand landmarks. I was able to get the Pose landmarks and its length. Please help.
I am on windows, using jupyter notebook, Holistic Solution, Python

Hi @Dilipraj6 ,
Did you get a chance to check this closed issue https://github.com/google/mediapipe/issues/1803.

I am using a Holistic solution and trying to get the left hand, right hand and pose landmarks. I am giving my webcam feed as input.
When I run the code below, there are no errors and everything is good:
cap = cv2.VideoCapture(0) //Set mediapipe model with mp_holistic.Holistic(min_detection_confidence=0.5, min_tracking_confidence=0.5) as holistic: while cap.isOpened():
    //Read feed
    ret, frame = cap.read()

    // Make detections
    image, results = mediapipe_detection(frame, holistic)
    print(results)

    // Draw landmarks
    draw_styled_landmarks(image, results)

    // Show to screen
    cv2.imshow('OpenCV Feed', image)

    // Break
    if cv2.waitKey(10) & 0xFF == ord('q'):
        break
cap.release()
cv2.destroyAllWindows()

After this, I was trying to check if I got the landmarks by using "results.left_hand_landmarks.landmark" and length of the landmarks using "len(results.left_hand_landmarks.landmark)" I am getting this "AttributeError: 'NoneType' object has no attribute 'landmark'"
The funny part is the problem is only with left hand and right hand landmarks. I was able to get the Pose landmarks and its length. Please help.
I am on windows, using jupyter notebook, Holistic Solution, Python

same issue is happening with me. Plz give us the solution

same issue occurred to me , i dont what is the reason
i didnt got any answers
pls help me

same issue occurred to me , i dont know what is the reason i didnt got any answers pls help me

Hi everyone!, This is not a code issue actually rather its more of an operation issue. The reason you are not getting the landmarks because you are not showing your hand in the feed. Once you show that, landmarks will show up in ur code. I hope this clears it up.

Hello @Dilipraj6,
We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.
You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you


System.AccessViolationException: Attempted to read or write protected memory when performing OCR Extraction on pdf files

Hi team,
When we are calling:

string getContent = currentPage.GetText();

It gives error below mentioned in some of the pdf documents when trying to perform OCR Text Extraction.
Please update the solution if it is available.
Environment
Tesseract Version: <IP_ADDRESS>-beta3
Platform: Windows 64-bit
Current Behavior:
giving below error in some documents:
[ERROR] 2019-09-30 14:14:51.43,Attempted to read or write protected memory. This is often an indication that other memory is corrupt.,(:0)
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Imaging.OCR.TExtraction.RecognizeandExtractText(String inputFile, String outputFile, Boolean isReduceToBitonal)
at Imaging.IG.ConsumerTest.FormMain.OCRExtraction()
Expected Behavior:
It should give text content available in pdf file when perform OCR Text Extraction.
Suggested Fix:
Same issue was in tesseract 3.0v which was resolved in 3.0.2-alpha1

Please use a current Tesseract version, either 4.1.0 or the latest version from Git master.
Your error report also indicates that you don't run the Tesseract executable, but some third party software, so you should report any problems there.
Please use the user forum for additional questions.

https://github.com/tesseract-ocr/tesseract

Thanks @stweil
actually, I am looking for Tesseract.dll for .net c#
Please share if any available.

We provide only source code. You need to create binary file for yourself or take it from other projects.


Generate cilium upgrade manifest with compatibility version value

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Revert "copy TAP if child is UNSTABLE"

Reverts AdoptOpenJDK/openjdk-tests#1990

I got a false-positive result in my parallel run. Both my child job failed, but the parent status is SUCCESS
Running on ub16x64rt-1-10 in /home/jenkins/workspace/Grinder
[Pipeline] {
[Pipeline] echo
Grinder_iteration_0 #185 completed with status UNSTABLE
[Pipeline] copyArtifacts
[Pipeline] echo
Cannot copy TestTargetResult.tap from Grinder_iteration_0 with buildid 185 . Skipping copyArtifacts...
[Pipeline] echo
Grinder_iteration_1 #183 completed with status UNSTABLE
[Pipeline] copyArtifacts
[Pipeline] echo
Cannot copy TestTargetResult.tap from Grinder_iteration_1 with buildid 183 . Skipping copyArtifacts...
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
Finished: SUCCESS

Revert this PR, so we can investigate this issue.
FYI @OscarQQ


Add SQL VM script to upgrade extension from LightWeight to Full

Description
This script finds all SQL VMs currently running lightweight mode and identifies if they're candidate to upgrade to Full mode. If SQL VM is candidate, it will upgraded without downtime.
Checklist

[x] This pull request was tested on both of:

[x] PowerShell 5.1 (Windows)
[ ] PowerShell 6.x
[ ] PowerShell 7.x (Latest PowerShell)

[x] Scripts do not contain static passwords or other secret tokens.
[x] All Azure resource identifiers which must be universally unique are guaranteed to be so.

Testing information

Platform and PowerShell version:
Name                           Value

PSVersion                      5.1.19041.1237
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1237
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Az version: 6.4.0

@mikefrobbins to my understanding, this script will be used in Microsoft official documentation. I believe the documentation has not been published because we needed the script in order to announce (what the script is intending to do). The PMs of these feature Aditya Badramraju and Pam Lamhoud have been asked to confirm the usage of this script/ and provide links if necessary.
Will update accordingly.


Add "Getting Started" guide for KerasNLP

@fchollet imgur seems a little weird. What if we used our GCP bucket? I don't have access to our the keras-io bucket but here is an example upload to a test bucket (link).

(in particular, using absolute URLs for links, which is necessary since many folks use the tutorial interactively via the Colab link where relative URLs wouldn't work)

Oops, my bad! I asked for this. Thought relative would be better for previews, but the colab issue makes sense.

What a well-written guide! Love it.
Thanks @jbischof  👍


Debugging Typescript

Is it possible to debug the typescript code in VS/VSCode?

No. I tried playing with chrome debugger and some extensions to code but no way

I'm not aware of a way to do that. You might want to take this up with the VS/VS Code projects, since they would be the ones to implement anything like that.

The problem with debugging TS in the browser is that sometimes the syntax coloring is way off. Debugging original ES6 files works well because ES6 is actually partially supported by chrome.
But Chrome doesn't recognize the special TypeScript syntax and sometimes you end up going though a block of code that is colored like it was a comment.
Hopefully somebody would write a Chrome extension for proper TS syntax highlighting now that TS is becoming more popular.


npm run dev returns 404s for accessible-autocomplete

$ node -v
v9.5.0

$ npm -v
5.6.0

OS X 10.12.5
When I clone the repo, check out the tip of the master branch (64b07d76b), run npm install and npm run dev, I get 404s for accessible-autocomplete, and the examples are currently not working, with "Uncaught ReferenceError: accessibleAutocomplete is not defined" appearing in the console.

Hey @codekiln :)
I think I know why this is broken, PR incoming.
Thanks for raising!


Capture team and track revisions in metrics metadata

Still missing track revision info.
Closes https://github.com/elastic/rally/issues/664

re: abstracting the git operations I read #664 that this PR references and observed there is some guidance there about where each value (esp. for teams) could be retrieved:

For teams, the because is checked out on the target nodes where Elasticsearch is deployed but I think we should derive this info in MechanicActor#receiveMsg_StartEngine() when we are about to load the team. We then need to communicate this information back to the benchmark coordinator actor (BenchmarkActor) in MechanicActor#on_cluster_started() as an additional property in the EngineStarted message.

For tracks, we load the track in BenchmarkActor#setup() and can derive the revision there.

@dliappis Thank you for all the reviews!


[BUG] Incorrect Timing Kebbit Bolts

Fletching kebbit spikes into kebbit bolts takes 3 ticks. Action Progress calculates it as 2 ticks so the progress bar ends early.

Do you know if only the kebbit bolts are off? I can change those, but I wonder if the other ones would need to be changed too. I couldn't find the info on the wiki for the other

Updated the kebbit bolts timing. The fix is waiting for review on Runelite. Should be live in few days.

I haven't tried, but the wiki does show the sunlight and moonlight bolts being 3 ticks.

Sunlight and moonlight bolts will be included as part of the following change https://github.com/runelite/plugin-hub/pull/6296


Correct e.g. ("for example") to i.e. ("in other words")

That's intentionally "e.g."
There are multiple browsers each with their own flavor of developer tools, and I was just using the Chrome DevTools as one example.
It is missing a trailing '.', though, so if you want to change e.g to e.g. via this PR, I'm in favor of that.

I know this isn't exactly what you asked. In my experience people frequently get these mixed up. That's why I misread it. That and the fact that the context doesn't clearly support one interpretation over the other. Using English clarifies it.

:+1:


Timing issue for Rolling logs

For really busy servers OldestEventTime & NewestEventTime call to WMI may be executed between log-roll.
If so the Event rate based on time cannot be trusted.

If the servers are rolling that fast, the user probably should increase the size of the event log.  Otherwise they would be pretty well useless anyways as by the time an issue was reported the logs would have rolled when you go to look at the event logs.

Also not that WMI is only used for old OS's i.e. Server 2003 and XP which are EOL as per Msft.


Update circe-generic to 0.14.0

Updates io.circe:circe-generic from 0.13.0 to 0.14.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe", artifactId = "circe-generic" } ]

labels: library-update, semver-minor

Superseded by #80.


metric mAP is not supported

Command line:python tools/test.py configs/pascal_voc/faster_rcnn_r50_fpn_1x_voc.py checkpoints/SOME_CHECKPOINT.pth --eval mAP
Data folder:data/coco/train2017 data/coco/test2017 data/coco/val2017 data/coco/annotations
Others not changed****first run getting started

you can see allowed metrics in dataset configs, and for coco I found that:
allowed_metrics = ['bbox', 'segm', 'proposal', 'proposal_fast']
in line 396 of mmdet/datasets/coco.py file.

you can see allowed metrics in dataset files, and for coco I found that:
allowed_metrics = ['bbox', 'segm', 'proposal', 'proposal_fast']
in line 396 of mmdet/datasets/coco.py file.

But  in configs_base_\dataset\coco_detection.py  line48:evaluation = dict(interval=1, metric='bbox')
I think it should be allowed.And can you tell me why I can't debug this command using pycharm.It automatically runs.

Sorry, I did not fully understand you. Why can't you debug?
In the line 48 of coco_detection.py, they have just passed one of the supported metric, metric='bbox'.
If you set metric='mAP' instead of that, it will finally be passed as a metric argument of a function in mmdet/datasets/coco.py file (a function having line 396). Since mAP is not in the supported metric list, you get a message saying "metric mAP is not supported".
If you really want mAP, maybe you can implement and add your own.

you can see allowed metrics in dataset files, and for coco I found that:
allowed_metrics = ['bbox', 'segm', 'proposal', 'proposal_fast']
in line 396 of mmdet/datasets/coco.py file.

But in configs_base_\dataset\coco_detection.py line48:evaluation = dict(interval=1, metric='bbox')
I think it should be allowed.And can you tell me why I can't debug this command using pycharm.It automatically runs.

Sorry, I did not fully understand you. Why can't you debug?
In the line 48 of coco_detection.py, they have just passed one of the supported metric, metric='bbox'.
If you set metric='mAP' instead of that, it will finally be passed as a metric argument of a function in mmdet/datasets/coco.py file (a function having line 396). Since mAP is not in the supported metric list, you get a message saying "metric mAP is not supported".
If you really want mAP, maybe you can implement and add your own.

bbox means the bbox mAP for COCO.


library: exit on user creation failure

When the ceph dashboard user creation fails then the issue is hidden
as we don't check the return code and don't print the error message
in the module output.
This ends up with a failure on the ceph dashboard set roles command saying
that the user doesn't exist.
By failing on the user creation, we will have an explicit explaination of
the issue (like weak password).
Closes: #6197
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-container-all_daemons


Attachments not converting on custom objects?

Hi,
Thanks for posting this! I ran it in my sandbox and it worked great for my standard objects, but attachments were not converted to files for my custom objects. Any idea why that might happen? I enabled convert if feed tracking is disabled and confirmed that the attachments are not private.
Melissa

Hi Melissa,
Glad it worked for you (somewhat)! Thanks for clarifying that it does work for your standard objects and what options you have enabled.
Some questions to help troubleshoot:

Did you receive any error emails or do you see any error messages in the Debug Logs when you run conversion for the custom objects? To receive a success/error email you may need to set the custom setting Convert_Attachments_to_Files_Settings__c.Conversion_Result_Email_Notifications__c to your email address.
Are the owners of the attachments active users?
Did you set the custom setting Convert_Attachments_to_Files_Settings__c.Convert_in_Near_Real_Time__c to true? The Attachment trigger looks for that value to be true to enqueue the conversion job otherwise waits for you to manually perform the conversion by executing the batch job.
You mention you enabled "convert if feed tracking is disabled", if indeed the custom objects do not have Feed Tracking enabled then the files will only appear in the Chatter Files tab, they won't have been shared to the records and displayed in the Files related list. Can you confirm how you were testing that the files were converted?
What volume of attachments are you trying to convert? Do note there is a 36,000 limit of ContentVersions that can be created in a 24/hour period.

Thanks,
Doug

Thanks for the help! The owners weren't active, so I'll try again with
active owners.
Melissa
On Sun, Feb 19, 2017 at 3:46 PM, Doug Ayers<EMAIL_ADDRESS>wrote:

Hi Melissa,
Glad it worked for you (somewhat)! Thanks for clarifying that it does work
for your standard objects and what options you have enabled.
Some questions to help troubleshoot:

Did you receive any error emails or do you see any error messages in
the Debug Logs when you run conversion for the custom objects? To receive a
success/error email you may need to set the custom setting
Convert_Attachments_to_Files_Settings__c.Conversion_Result_
Email_Notifications__c to your email address.
Are the owners of the attachments active users?
Did you set the custom setting Convert_Attachments_to_Files_
Settings__c.Convert_in_Near_Real_Time__c to true? The Attachment
trigger looks for that value to be true to enqueue the conversion job
otherwise waits for you to manually perform the conversion by executing the
batch job.
You mention you enabled "convert if feed tracking is disabled", if
indeed the custom objects do not have Feed Tracking enabled then the files
will only appear in the Chatter Files tab, they won't have been shared to
the records and displayed in the Files related list. Can you confirm how
you were testing that the files were converted?
What volume of attachments are you trying to convert? Do note there
is a 36,000 limit of ContentVersions that can be created in a 24/hour
period.

Thanks,
Doug
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DouglasCAyers/sfdc-convert-attachments-to-chatter-files/issues/11#issuecomment-280956256,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI8uoZ0e29t1dO3ELlTQVAa_b2SLoKpVks5reMY5gaJpZM4MFnBm
.

Hi Melissa,
Did trying with active owners resolve your issue?
Thanks,
Doug

Yes it did. Thanks for your help!
Melissa
On Sat, Feb 25, 2017 at 10:52 PM, Doug Ayers<EMAIL_ADDRESS>wrote:

Hi Melissa,
Did trying with active owners resolve your issue?
Thanks,
Doug
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DouglasCAyers/sfdc-convert-attachments-to-chatter-files/issues/11#issuecomment-282535124,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI8uofqfGtS7gC19OaAcpI0yBSHpEEW8ks5rgRMtgaJpZM4MFnBm
.


ping-blocker

https://github.com/dessant/ping-blocker

Currently Adguard cannot remove only properties from HTML? @ameshkov
 Click me!

Help! @ameshkov

@optomux no, that's not possible in the current implementation.
It might be a nice addition, though. Thanks for the idea!


[SPARK-32303][PYTHON][TESTS] Remove leftover from editable mode installation in PIP test

What changes were proposed in this pull request?
Currently the Jenkins PIP packaging test fails as below intermediately:
Installing dist into virtual env
Processing ./python/dist/pyspark-3.1.0.dev0.tar.gz
Collecting py4j==0.10.9 (from pyspark==3.1.0.dev0)
  Downloading https://files.pythonhosted.org/packages/9e/b6/6a4fb90cd235dc8e265a6a2067f2a2c99f0d91787f06aca4bcf7c23f3f80/py4j-0.10.9-py2.py3-none-any.whl (198kB)
Installing collected packages: py4j, pyspark
  Found existing installation: py4j 0.10.9
    Uninstalling py4j-0.10.9:
      Successfully uninstalled py4j-0.10.9
  Found existing installation: pyspark 3.1.0.dev0
Exception:
Traceback (most recent call last):
  File "/home/anaconda/envs/py36/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/home/anaconda/envs/py36/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 393, in run
    use_user_site=options.use_user_site,
  File "/home/anaconda/envs/py36/lib/python3.6/site-packages/pip/_internal/req/__init__.py", line 50, in install_given_reqs
    auto_confirm=True
  File "/home/anaconda/envs/py36/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 816, in uninstall
    uninstalled_pathset = UninstallPathSet.from_dist(dist)
  File "/home/anaconda/envs/py36/lib/python3.6/site-packages/pip/_internal/req/req_uninstall.py", line 505, in from_dist
    '(at %s)' % (link_pointer, dist.project_name, dist.location)
AssertionError: Egg-link /home/jenkins/workspace/SparkPullRequestBuilder@3/python does not match installed

https://github.com/apache/spark/pull/29099#issuecomment-658073453 (amp-jenkins-worker-04)
https://github.com/apache/spark/pull/29090#issuecomment-657819973 (amp-jenkins-worker-03)

Seems like the previous installation of editable mode affects other PRs.
This PR simply works around by removing the symbolic link from the previous editable installation. This is a common workaround up to my knowledge.
Why are the changes needed?
To recover the Jenkins build.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
Jenkins build will test it out.

Seems like this only happens in worker 4.

Test build #125823 has started for PR 29102 at commit fc648af.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30434/
Test PASSed.

Test build #125825 has started for PR 29102 at commit 49a827f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30436/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30440/
Test PASSed.

Test build #125829 has started for PR 29102 at commit 5879260.

Test build #125823 has finished for PR 29102 at commit fc648af.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125823/
Test FAILed.

retest this please

Test build #125837 has started for PR 29102 at commit 5879260.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30448/
Test PASSed.

Test build #125825 has finished for PR 29102 at commit 49a827f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125825/
Test PASSed.

Test build #125829 has finished for PR 29102 at commit 5879260.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125829/
Test FAILed.

retest this please

Test build #125837 has finished for PR 29102 at commit 5879260.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125837/
Test FAILed.

Retest this please.

Test build #125855 has started for PR 29102 at commit 5879260.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30465/
Test PASSed.

I re-trigger Jenkins because this PR should be tested on Jenkins.

Test build #125855 has finished for PR 29102 at commit 5879260.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125855/
Test PASSed.

Thanks @dongjoon-hyun. I will keep monitoring this.


modification towards the idea of "Separate Dynamic and Static L1 Attributes"

Close since moved to upstream.


Add files via upload

I'm going to close this PR for now. You're welcome to submit again when you've had a chance to modify the game more. Thanks for participating!


Update defaultMemoize cache even if resultEqualityCheck is a hit

I tried out resultEqualityCheck and it caused my selector to keep recalculating because the cache doesn't get updated.

Thanks, could you add a test for this behavior as well?

Thanks!


Inputs labeled "not running" are actually running

Hi!
I am New to Graylog, got completely lost during initial setup.
I am running Graylog as instructed in the Documentation, using docker-compose.
I am trying to configure inputs that they are all labelled as "not running", If I try to click on start input there is an error on the web UI asking me to check the logs.
However the last log I see related to the input is that it is "RUNNING".
Messages are arriving, extractors are been procesed. Yet all my inputs are labelled as "not running" in red.
is that normal? did I miss something?

I noticed other people reporting a similar condition in the graylog community forum.
I found out what the problem is.
I have setup a GRAYLOG_HTTP_PROXY_URI and Graylog is forwarding internal requests the proxy, such as for checking the status of the runners or computing the messaging rates.
I had to add 172.* to the comma separated list of GRAYLOG_HTTP_NON_PROXY_HOSTS for this condition to be fixed.


missing /tmp/data01 on pod

I get the following when I deploy OrientDB into the cluster:
Error: lstat /tmp/data01: no such file or directory
Error syncing pod

I am using the "lite" cluster and have executed
$ kubectl apply -f local-volumes.yaml
persistentvolume "pv-volume" created

Hi Scott,
Can you please try deleting the persistent volumes (PV) along with any running OrientDB pods/services and then try recreating the PVs and OrientDB pods/services as per below commands. I have noticed the problem "Error: lstat /tmp/data01: no such file or directory. Error syncing pod" when we re-create a service without deleting the previously created/linked PV.
Delete the OrientDB service from your Bluemix Kubernetes cluster:
$ kubectl delete -f orientdb.yaml
Delete your local persistent volume:
$ kubectl delete -f local-volumes.yaml
Create a hostPath PersistentVolume
$ kubectl apply -f local-volumes.yaml
Deploy OrientDB into Kubernetes cluster
$ kubectl apply -f orientdb.yaml

I have performed the steps you've recommended and still get the same error:
Error: lstat /tmp/data01: no such file or directory
Error syncing pod
Did the Docker container change in some way, such that the /tmp/data01 file is missing? Or is that created dynamically? Could it be a timing issue around the creation of that file?

@shivahr @scottdangelo For what it's worth, I tried to run this and am getting the same error. I also tried the steps you mentioned earlier in the bug report @shivahr -- no luck.
I notice the error on step 1.5 when I'm asking to launch the orientdb dashboard (it fails to load), and when i launch the kube dashboard I see the same /tmp/data01 error that @scottdangelo mentioned. I'm also using a lite version of our container service.
Here's the exact log message from the kube admin console.
"orientdbservice" in pod "orientdbservice-1899052631-l1htv" is waiting to start: lstat /tmp/data01: no such file or director
The message is not very helpful :(
(Just another side note, the steps were really easy to follow, thanks for that!)

@stevemart @scottdangelo this is now fixed. Bluemix is now using Kubernetes server version 1.7.4 and this needed an additional configuration to be added in local-volume.yaml type: DirectoryOrCreate

I have committed the changes to local-volumes.yaml. Please run as below:
$ kubectl apply -f local-volumes.yaml --validate=false
And please run cleanup commands before running above command:
$ kubectl delete -f local-volumes.yaml```

@shivahr thanks, I was able to go to Step 2. In the future please use PRs so we can test things out and review, too.

I still have the issue, despite using a brand new cluster:
Error: lstat /tmp/data01: no such file or directory
Error syncing pod

reopening at the request of @scottdangelo

I had further discussion with Bluemix Kubernetes team on this. It seems type: DirectoryOrCreate will be supported from Kubernetes server version v1.8.x . Until then the safest alternative is to use an existing directory such as /tmp as hostPath volume directory.

I have tested and this works. Nice job tracking down the bug.


Setup script has errors.

The previous travis build reports errors with the setup.py script, it needs a review.

done.
urllib3 had an update, and it restricts python versions, so we stick with version 1.10.2 instead of 1.18


Google Colab CMake Warning

Hi @nagadomi, I got an error to run  Torch Lua in Google Colab.
I have tried to downgrade the cuda to version 10, but I didn't succeed.
I had that error

CMake Warning (dev) in CMakeLists.txt:
No project() command is present.  The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command.  Add a line of
code such as
project(ProjectName)

near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call.  Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at exe/luajit-rocks/CMakeLists.txt:9 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

I did downgrade with that code
!wget https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
!dpkg -i cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
!apt-key add /var/cuda-repo-10-2-local-10.2.89-440.33.01/7fa2af80.pub
!apt-get update
!apt-get install cuda-10-2
!export CUDA_PATH=/usr/local/cuda-10.2/
!nvcc --version

Could you help me?
Thank you!

This repo does not support Ubuntu 22.04 (Colab's runtime).
ubuntu20.04-ppa branch supports Ubuntu 20.04 #12 .
default branch only supports Ubuntu 18.04.


[3256] - Add attributes to the AllocationSerializer

Context
This is so that we can display allocation statuses on Publish.
Following attributes have been added to AllocationSerializer

provider_id
accrediting_body_id

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [L] 2d. Status labels on "Request PE courses for 2020/21" page

Closing this PR as it violates the JSON API spec
Will raise another doing it the correct way

Closing in favour of https://github.com/DFE-Digital/teacher-training-api/pull/1332


Provide method to parse an SVG from a roxmltree::Document?

I'd like to split "parsing the XML file" and "constructing the SVG file from the XML document" into two separate steps, so that I can re-use parts of my XML API. Currently there's no easy way to create a usvg::Tree from a roxmltree::Document, even though usvg uses roxmltree / xmlparser for parsing. Could this be added to the API? Thanks.

So basically: usvg::Tree::from_roxmltree(tree: &roxmltree::Tree)? it shouldn't be a problem.


how to run application via Grunt on localhost ?

hi
I am new to this, please help me, how can run to application via Grunt on localhost ?

Grunt is a task runner, so what it does is runs tasks like: concatenate all JavaScript files into one file. Grunt isn't really meant to act as a server (although there are Grunt plugins that can do that).
I just added a page to the wiki describing a really simple server that comes pre-installed on most computers. See if that helps you.

Thanks you so much.....
On Tue, Feb 10, 2015 at 8:57 PM, Tobias Davis<EMAIL_ADDRESS>wrote:

Grunt is a task runner, so what it does is runs tasks like: concatenate
all JavaScript files into one file. Grunt isn't really meant to act as a
server (although there are Grunt plugins that can do that).
I just added a page to the wiki
https://github.com/ngbp/ngbp/wiki/Simple-file-server describing a
really simple server that comes pre-installed on most computers. See if
that helps you.
—
Reply to this email directly or view it on GitHub
https://github.com/ngbp/ngbp/issues/353#issuecomment-73718142.


Why don't we use SKOS instead of gist Categories?

Opening this issue to start a discussion.

SKOS did not exist at the time. So the better question is whether we should use skos:Concept instead of gist:Category.   I think the former is infinitely broad. Mathematicians say that there  different kind of infinity, and some are 'greater than' others. So while there are also indefinitely many uses for gist:Category, I'd say its narrower than skos:Concept.

I strongly favour continuing with GIST:Category. I use it extensively in our ontology and it's a very natural fit for categorisation in general, and small taxonomic distinctions specifically.

I strongly favour continuing with GIST:Category. I use it extensively in our ontology and it's a very natural fit for categorisation in general, and small taxonomic distinctions specifically.

Nobody seem to want to remove gist:Category.  Ontologicaly, it would seem that gist:Category is a subclass of skos:Concept, but that might bring a lot of baggage from skos itself. I propose we stay thecurrent course.

No one has answered the question, which is why gist invented its own category structure rather than using SKOS, and is distinct from the issue of keeping things as is to avoid disruption. I've reworded the title of the issue slightly to clarify that. Note that agreeing that new ontologies should use SKOS doesn't entail removing the current terms.
However, if we use gist:Category, I would prefer that, like SKOS, we define a superproperty of gist:hasSuperCategory which is transitive. (The ideal naming would be gist:hasSuperCategory as the transitive superproperty, and gist:hasDirectSuperCategory as the intransitive subproperty, but that would change the entailments in the current use of gist:hasSuperCategory, so not advisable.)

Offhand I don't see any undesirable entailments resulting from making gist:Category a subclass of skos:Concept; there is no requirement that the latter belong to a skos:ConceptScheme, for example. This would also allow us to use the SKOS predicates.
Frankly, I'm more interested in having a transitive predicate than I am in using SKOS

I like the use of the British spelling “favour”!
From: Michael Uschold<EMAIL_ADDRESS>Reply-To: semanticarts/gist<EMAIL_ADDRESS>Date: Monday, April 13, 2020 at 12:21 PM
To: semanticarts/gist<EMAIL_ADDRESS>Cc: Rebecca Younes<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [semanticarts/gist] Why don't we use SKOS instead of gist Categories? (#135)
I strongly favour continuing with GIST:Category. I use it extensively in our ontology and it's a very natural fit for categorisation in general, and small taxonomic distinctions specifically.
Nobody seem to want to remove gist:Category. Ontologicaly, it would seem that gist:Category is a subclass of skos:Concept, but that might bring a lot of baggage from skos itself. I propose we stay thecurrent course.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/semanticarts/gist/issues/135#issuecomment-612971098, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAM5PZEB7MABAHO47EA5IT3RMM3XPANCNFSM4KCPN4EA.

However, if we use gist:Category, I would prefer that, like SKOS, we define a superproperty of gist:hasSuperCategory which is transitive.

This would be re-creating skos braoder and broaderTransitive.  At Platts, we already use skos:broader. So maybe Category subclass of skos:Concept not such a bad idea.
New proposal:

make gist:Category a subclass of skos:Concept
remove gist:hasSuper(Sub)Category and use skos:braoder(Transitive) instead.

Are there any good reasons to not do this?

I like this proposal, adding that we could also use skos:broader/narrower for the direct relationships.

I thought there have been several comments that the direction-ality of skos:broader/narrower is not clear and is confusing.

That is true. Fortunately, the label make is clear: "has broader". That makes it not as bad.

@Jamie-SA Yes, as Michael says, you're right, but in this case I believe it to be overridden by the functionality and the widespread use of the ontology. We are already moving in the direction of replacing RDFS annotations with SKOS annotations, so adopting these predicates represents some consistency in that regard.

Relates to broader issue of #161

I don't like gist:Category sub skos:Concept, b/c to me skos:Concept is almost like owl:Thing.   Isn't gist:Person also concept?  Wouldn't every class in gist also be a skos:Concept?   skos: is good for thesauri, but imo NOT for "good" ontologies that are NOT about "terms,"

Wouldn't every class in gist also be a skos:Concept?

Conceptually, yes, but we generally would not want it to be both ways in the owl/rdf.   This is the flip side of the question: "Couldn 't every instance of gist:Category" be an owl:Class? The answer is, yes it could.  Our usual guideline for this is to make it a class only if there are specific things that you will be saying about it.

skos: is good for thesauri, but imo NOT for "good" ontologies that are NOT about "terms,"

Exactly. That is why I'm proposing to use it for JUST the subclasses of gist:Category - which, because we say nothing about each category, they live in term world.

Isn't gist:Person also [a] [skos:C]oncept?

If a folksonomy, one might create a tag for Person. In that context it would be a skos:Concept. If gist, we'd have that as an instance of gist:Category.

I am now convinced of the difference, so closing this issue.


nokogiri requires Ruby version < 3.1.dev, >= 2.5

Context
OS: Ubuntu 16.04 x64
Unable to run $ RAILS_ENV=development bundle exec rake db:create from official docs here
Steps to Reproduce

Follow steps from official docs from official docs here until Initialize the metadata database step
Attempt to run $ RAILS_ENV=development bundle exec rake db:create
You should now get Could not find nokogiri-1.11.3 in any of the sources
Attempt to install nokogiri $  sudo gem install nokogiri -v '1.11.3'
You should get Gem::InstallError: nokogiri requires Ruby version < 3.1.dev, >= 2.5.
Run $ sudo gem install nokogiri -v '1.10.9', this should now work
However rerunning $ RAILS_ENV=development bundle exec rake db:create will yield Could not find nokogiri-1.11.3 in any of the sources

Current Result
Could not find nokogiri-1.11.3 in any of the sources when running $ RAILS_ENV=development bundle exec rake db:create

Hello any hot fix for this ? I am trying to install it but no success so far

Have you tried to make sure you are using a release tag or are you on master?

facin the same problem, made sure to git checkout tags/v4.45.0 not in master.

this solved the issue thanks a lot

Facing the same problem, made sure to git checkout tags/v4.45.0 not in master.

I have the same problem, and download cartodb-4.45.0.tar.gz.
Either try the command:
git clone --recursive https://github.com/CartoDB/cartodb/releases/tag/v4.45.0
But not working...
Can you help please?


Update Craig's (cji) email address

I've changed companies and would like to update my current e-mail address.

/lgtm
/approve


Neo-gui testnet

neo-gui.testnet.config file is missing from zip, switch to test network from neo-gui can't be done. Do older versions have it?

I so in pull requests, it is no longer needed, in that case, pls update documentation instead. thx!


关闭屏蔽开关

一个快捷键关闭所有的聊天软件：
微信
rtx
邮箱
qq

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.
adriaanbalt, @xyths, @cemevin, @caioariede, @4ley, @bytjn1416124, @jirichmel, @marcofaggian, @austinfennacy, @netwood, @jonathanleang, @kardm, @Rob911120, @nick0lay, @minellogiacomo, @progressus4, @xuanhan863, @fnuts, @bj-mckay, @KelSolaar


Update RBAC to support approve verb

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind bug

/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind feature

What this PR does / why we need it:
With Kubernetes v1.18+ there's a new approve verb for RBAC (more info here)
Without this change, MagTape install will fail on k8s 1.18+
Which issue(s) this PR fixes:

Fixes #30
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Adds new `approve` verb to existing cluster RBAC controls to align with upstream changes in the certificates API

Additional documentation e.g., usage docs, etc.:

/lgtm


Enabled more NLog features for NETSTANDARD1_3

Enabled the following features for NETSTANDARD1_3:

Enabled auto-retry when using FileTarget.KeepFileOpen = false
Enabled file-watcher when using FileTarget.KeepFileOpen = true
Fixed FileTarget.EnableFileDelete so it works with FileTarget.KeepFileOpen = true
BaseDirLayoutRenderer (basedir) can now also use ProcessDir-property
ProcessIdLayoutRenderer (processid) has been enabled
ProcessInfoLayoutRenderer (processinfo) has been enabled
ProcessNameLayoutRenderer (processname) has been enabled
TraceTarget (trace) has been enabled
NLogViewerTarget (NLogViewer) has been enabled
ChainsawTarget (Chainsaw) has been enabled

Also enabled a lot of unit tests.
Attempted to rename NETSTANDARD1_0 to NETSTANDARD
Attempted to rename NETSTANDARD_1plus to NETSTANDARD1_3
Added reference to System.Diagnostics.Process": "4.1.0" in project.json

Great!
Unfortunately appveyor isn't reporting the unit tests correctly to github. There are always 10 failed tests, but we always see the in gitgub green badge. Dunno what's the problem.

I'm guess the exit code from the test-runner is not handled properly.
I converted the project.json to VS2017-projects so I could run the tests myself, and they worked on my machine. But with the many new tests, then I guess more tests will now be failing, if the dotnet-test is more sensitive.

If the vs2017 format is working, please send a PR.
Ps. Tried vs2017 format on appveyor weeks ago, but could not get it working. See https://github.com/NLog/NLog.Web/pull/114

If the vs2017 format is working, please send a PR

Not sure I have a perfect conversion. I find the multi-target-frameworks very confusing, as the normal build within the IDE doesn't show what specific target-framework is having issues.
Also I received errors regarding duplicate AssemblyTitle, where I just set GenerateAssemblyInfo=false. It didn't react to GenerateAssemblyTitleAttribute=false. Not sure what the correct solution is there.

Unfortanly more unit tests are failing (now 17 instead of 10), including NLog.UnitTests.LayoutRenderers.MdlcLayoutRendererTests.given_item_exists_when_rendering_item_and_message_should_render_item_and_message
Could you look at that?

Could you look at that?

Think it is parallel execution that xUnit2 performs by default for different test-classes. This doesn't work well with the NLog-singleton-pattern. Have now changed the classes to inherit from NlogTestBase that disables parallel execution for xUnit2.

great! Will try to fix the build and fix/disable the last tests so appveyor gives a correct green


misc: add default api_server_url for api_client

Motivation
as titled, trivial modification
cc @AllentDan @grimoire @lvhan028
Modification
as titled
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

I recently used the interactive mode for testing and found that the api_client was not very user-friendly, so I made some slight modifications.


fix(assemble): Add missing template option bindings to jlink

Fix missing template variable binding in jlink assembler.
Add distributionJavaMainModule, distributionJavaMainClass and distributionJavaMainJar to template context in JlinkAssemblerProcessor similarly it's done in JavaArchiveAssemblerProcessor.
This fix don't try to add distributionJavaOptions as that's not used in a jlink template and assembler structure seems to be slightly different compared to java-archive.
Fixes #1496
I didn't find any tests to tweak.

 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.

What I'm kinda questioning if these changes should go toAbstractJavaAssembler.props().

Thanks. I'll think it's OK to keep the changes where they are at the moment. There are a couple of updates planned for 2.x that will removed duplication like this but requires breaking compatibility.

Thank you! 😄


Update emission to v1.4.0 beta.1

Messaging!!

          2 Errors

:no_entry_sign:
No CHANGELOG changes made

:no_entry_sign:
Could not find the commit 344a9dec9c21dad964f38d46e21c678762b6812d in artsy/eigen-artefacts.
You need to git push in the Pods dir.

          1 Warning

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: Danger

Looking into this:
$ bundle exec pod install

Analyzing dependencies
Fetching podspec for `Keys` from `Pods/CocoaPodsKeys`
Downloading dependencies
Using AFNetworkActivityLogger (2.0.4)
Using AFNetworking (2.5.4)
Using AFOAuth1Client (0.4.0)
Using ALPValidator (0.0.3)
Using ARAnalytics (3.9.0)
Using ARCollectionViewMasonryLayout (2.1.2)
Using ARGenericTableViewController (1.0.2)
Using ARTiledImageView (1.2.0)
Using Adjust (4.11.4)
Using Aerodramus (0.3.1)
Using Analytics (3.0.7)
Using AppHub (0.5.1)
Using Artsy+UIColors (3.1.0)
Using Artsy+UIFonts (3.1.1)
Using Artsy+UILabels (2.2.0)
Using Artsy-UIButtons (2.1.0)
Using Bolts (1.7.0)
Using CocoaLumberjack (2.0.1)
Using DHCShakeNotifier (0.2.0)
Using EDColor (1.0.0)
Installing Emission 1.4.0-beta.1 (was 1.3.9)
Using Expecta (1.0.5)
Using Expecta+Snapshots (3.0.0)
Using Extraction (1.2.3)
Using FBSDKCoreKit (4.10.1)
Using FBSDKLoginKit (4.10.1)
Using FBSnapshotTestCase (2.1.4)
Using FLKAutoLayout (1.0.0)
Using FXBlurView (1.6.1)
Using Forgeries (1.0.0)
Using HockeySDK-Source (4.1.5)
Using ISO8601DateFormatter (0.7.1)
Using Interstellar (2.0.0)
Using JLRoutes (2.0.0)
Using JSBadgeView (1.4.1)
Using JSDecoupledAppDelegate (1.2.0)
Using JWTDecode (2.0.0)
Installing KSCrash 1.15.11 (was 1.15.8)
Using KSDeferred (0.2.0)
Using Keys (1.0.0)
Using MARKRangeSlider (1.0.1)
Using MMMarkdown (0.4)
Using Mantle (1.5.6)
Using MultiDelegate (0.0.2)
Using NAMapKit (3.2.0)
Using NPKeyboardLayoutGuide (1.0.0)
Using Nimble (5.1.1)
Using Nimble-Snapshots (4.3.0)
Using OCMock (2.2.4)
Using OHHTTPStubs (3.1.2)
Using ORKeyboardReactingApplication (0.5.3)
Using ORStackView (2.0.3)
Using ObjectiveSugar (1.1.0)
Using Quick (0.10.0)
Using RSSwizzle (0.1.0)
Installing React 0.45.0-rc.2 (was 0.42.0)
Using ReactiveCocoa (2.5)
Using SDWebImage (3.7.3)
Using SSFadingScrollView (1.1.0)
Installing Sentry 3.1.2 (was 2.1.9)
Installing SentryReactNative 0.14.5 (was 0.8.3)
Using Specta (1.0.5)
Using Starscream (2.0.4)
Using SwiftyJSON (3.1.4)
Using Then (2.1.0)
Using UICKeyChainStore (1.0.5)
Using UIView+BooleanAnimations (1.0.2)
Using VCRURLConnection (0.2.0)
Using XCTest+OHHTTPStubSuiteCleanUp (1.0.0)
Installing Yoga 0.45.0-rc.2.React (was 0.42.0.React)

[!] Error installing Yoga
[!] /usr/local/bin/git clone /Users/eloy/Code/React/react-native /var/folders/xk/xbld2_2511b3xc5_8fsfddx40000gn/T/d20170707-51756-rphm74 --template= --single-branch --depth 1 --branch v0.45.0-rc.2

fatal: repository '/Users/eloy/Code/React/react-native' does not exist

I don't see anything implying a local path for Yoga in the Podspec: https://github.com/artsy/Specs/commit/682709e07b8696a482a8c1b41e48e3509eccb4da

There's nothing about it in the Podfile, or Podfile.lock which could override the Yoga dep

Gonna try specifying Yoga, maybe this should move into Emission too

Converting to use release'd Yoga in Podfile:
  pod 'Yoga', {    :git => 'https://github.com/facebook/yoga.git',    :tag => '1.5.0',  }

Gives:
[!] Unable to satisfy the following requirements:

- `Yoga (from `https://github.com/facebook/yoga.git`, tag `1.5.0`)` required by `Podfile`
- `Yoga (= 0.45.0-rc.2.React)` required by `Emission (1.4.0-beta.1)`

Specs satisfying the `Yoga (from `https://github.com/facebook/yoga.git`, tag `1.5.0`), Yoga (= 0.45.0-rc.2.React)` dependency were found, but they required a higher minimum deployment target.

They recommend explicitly adding Yoga: http://facebook.github.io/react-native/releases/0.46/docs/integration-with-existing-apps.html#3-install-cocoapods

OK, I get it now: https://github.com/artsy/Specs/blob/master/Yoga/0.45.0-rc.2.React/Yoga.podspec.json
We ship our own Yoga, which resolves first. This one is what has the bad URL.

OK, looks like I can just change that URL to facebook/react-native - will do that

That worked, re-running build.

Tests are failing because emission has looser requirements on nullability than Eigen:

❌  /Users/distiller/eigen/derived_data/Build/Products/Debug-iphonesimulator/Emission/Emission.framework/Headers/ARInboxComponentViewController.h:5:4: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

- (instancetype)initWithInbox;
   ^

❌  /Users/distiller/eigen/derived_data/Build/Products/Debug-iphonesimulator/Emission/Emission.framework/Headers/ARInboxComponentViewController.h:8:44: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

                      moduleName:(NSString *)moduleName
                                           ^

❌  /Users/distiller/eigen/derived_data/Build/Products/Debug-iphonesimulator/Emission/Emission.framework/Headers/ARInquiryComponentViewController.h:5:50: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

@property (nonatomic, strong, readonly) NSString *artworkID;
                                                 ^

❌  /Users/distiller/eigen/Artsy/App/ARAppDelegate+Emission.m:24:9: could not build module 'Emission'

#import <Emission/AREmission.h>

Looks like someone missed the NS_ASSUME_NONNULL_BEGIN etc on that class, will look to see if I can it turned on in emission, and I'll see if I can temporarily turn it off for this PR on Eigen

Got a meeting, cause is likely because these VCs are in a pod - those warnings are harder to see. Got an idea.

Cool, this is now only red on Danger.

Alright, this is looking 👍


⚠ Bofrost.at has degraded performance

In dca67b5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1343 ms

Resolved: Bofrost.at performance has improved in 16731c7 after 6 minutes.


Error when trying to use vue example

git clone https://github.com/twbs/examples.git
cd examples/vue/
npm install

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/vue
npm ERR!   vue@"file:" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@vitejs/plugin-vue
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/vue
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@vitejs/plugin-vue
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Hello @dioubernardo
Just tried the same manipulation and it works on my side. It also works directly in StackBlitz: https://stackblitz.com/github/twbs/examples/tree/main/vue?file=index.html.
Maybe you're using an old version of Node/npm?

In Windows 10

node --version
v22.12.0

npm --version
10.2.5

I don't have a Windows environment set up, but perhaps @louismaximepiton or another user could help by trying to reproduce the issue.


[Run][Calculator plugin] Wrong result when there are lots of decimal places

ℹ Computer information

PowerToys version: 0.29.3
PowerToy Utility: Run
Running PowerToys as Admin: Yes
Windows build number: 20H2 19042.746

📝 Provide detailed reproduction steps (if any)

Press Alt+Space to open search box
Enter 89/58.36, you can get answer 1.5250171350
Continue to append 6
When the input is 89/58.366666666666666666 (and more 6) the result becomes totally wrong

✔ Expected result
1.5248429469
❌ Actual result
29.4075426386
75.3113975135
1187.3728567606
...
📷 Screenshots

betting this is some type of mage issue with string to datatype.  i don't know how much we'll be able to do here as we are string in, data out.

betting this is some type of mage issue with string to datatype.  i don't know how much we'll be able to do here as we are string in, data out.

betting this is some type of mage issue with string to datatype.  i don't know how much we'll be able to do here as we are string in, data out.

@crutkas
This is not correct. We do conversation from double to decimal. But I think you are correct that the overflow cause is within mages or better said that mages uses double instead of decimal. (Decimal is more precise.)
I can check if this can be configured in mages.

What line?  If I remember correctly we pass in a string to their engine. Data types is up to them

What line?  If I remember correctly we pass in a string to their engine. Data types is up to them

https://github.com/microsoft/PowerToys/blob/368c7756efb8481ff1a762135d445b8fe7ffb2b4/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/CalculateEngine.cs#L56
The problem is that we can't tell mages to use decimal. But we could check if the rounding code in this class works correct.
Btw. I can reproduce a overflow in the plugin that makes number incorrect. If you input =0.5555555555 and much more decimal digits after the point there will be some point where the result becomes different to the input.
And please have in mind that there is a PR awaiting review that fixes many bugs in the calc plugin: #18159

What line?  If I remember correctly we pass in a string to their engine. Data types is up to them

https://github.com/microsoft/PowerToys/blob/368c7756efb8481ff1a762135d445b8fe7ffb2b4/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/CalculateEngine.cs#L56
The problem is that we can't tell mages to use decimal. But we could check if the rounding code in our class works correct.
Btw. I can reproduce a overflow in the plugin that makes number incorrect. If you input =0.5555555555 (as example) and much more decimal digits after the point there will be some point where the result becomes different to the input.
And please have in mind that there is a PR awaiting review that fixes many bugs in the calc plugin: #18159


edit and update of createproject.md

Edited for clarity and updated to include descriptions for all four current templates.

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/593/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/593/


Setting the CaptchaGID

Hello! This is not an issue as such more of a improvement.
I was using this library to create a new steam account in one of my projects and ended up with the following:
    public function postCreate(Request $request) {

        $username = $request->username;
        $password = $request->password;
        $email    = $request->email;
        $captcha  = $request->captcha;
        $captchaid= $request->captchagid;

        if(!$username || !$password || !$email) {
            return array('error' => 'You\'re missing a required field');
        }

        $settings = [];
        $settings["username"] = $username;
        $settings["password"] = $password;

        $steam = new SteamCommunity($settings, dirname(__FILE__));

        if($captcha) {
            $steam->setCaptchaText($captcha, $captchaid);
        }

        $response = $steam->createAccount($email);

        if ($response == "NeedCaptcha") {
            return array(
                'error' => 'Need captcha',
                'CaptchaID' => $steam->getCaptchaGID(),
                'CaptchaLink' => $steam->getCaptchaLink()
            );
        }

        return $response;
    }

Note the line
 $steam->setCaptchaText($captcha, $captchaid);
I had to modify your library so I could set the captcha GID as when you just use setCaptchaText it seems to fail without having the ID set. I understand you probably intended it to be used with ask() however I'm building it as an API so I can go to a single url with the required info and voilla.
I didn't want to create a pull request because I didn't know if you wanted to make a setter method as you have done with other things or wanted to add it in with the setCaptchaText I've included it with the function becuase if you're needing to set the captcha GID you're going to be entering some text presumably. But anyway here's my temp fix for now:
    /**
     * Set this after a captcha is encountered when logging in or creating an account.
     * @param string $captchaText
     * @param string $captchaGID
     */
    public function setCaptchaText($captchaText, $captchaGID = false)
    {
        if($captchaGID) {
            $this->captchaGID = $captchaGID;
        }

        $this->captchaText = $captchaText;
    }

I'll make a little PR if you want but I figured it was a small addition so why bother :p

That's odd, because the captcha GID should be automatically set, as per this linke: https://github.com/waylaidwanderer/PHP-SteamCommunity/blob/master/SteamCommunity.php#L185
Can you try to reproduce this and then log the $captchaUrlResponse?


(re-revert) feat: add silencing notification

re-revert the PR #167

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

614 of 790 (77.72%)  changed or added relevant lines in 26 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.003%) to 77.209%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/notification/notification.go
21
22
95.45%

internal/api/v1beta1/alert.go
12
13
92.31%

internal/store/postgres/subscription.go
3
6
50.0%

core/notification/dispatch_subscriber_service.go
107
111
96.4%

core/silence/silence.go
37
41
90.24%

internal/api/v1beta1/silence.go
62
66
93.94%

internal/store/postgres/alerts.go
9
13
69.23%

core/notification/service.go
46
51
90.2%

plugins/providers/cortex/service.go
0
5
0.0%

core/silence/type.go
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/notification/notification.go
1
91.67%

plugins/queues/postgresq/queue.go
2
72.62%

core/notification/service.go
3
82.29%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
3381

Relevant Lines:
4379

💛  - Coveralls


Documentation: API for Component groups

From the source code i see that it is possible to create component groups by API: https://github.com/cachethq/Cachet/blob/master/app/Http/Controllers/Api/ComponentGroupController.php
I would love to see a documentation about this to be able to update the golang client and make this feature possible.

Done https://docs.cachethq.io/docs/get-componentgroups

Thx. Will update the go client library asaps


Add missing language parsers

Right now, only Swift, OCaml, Go, and Markdown are included. Missing:
Bash
C
C++
C#
Clojure
CSS
Diff
Elixir
Elm
go mod
Haskell
HCL
HTML
Java
JavaScript
JSON
Julia
Lua
Perl
PHP
Python
Ruby
Rust
Scala
SQL
TypeScript
YAML
Zig

Clojure, Elixir, Go, Python, Ruby, Rust all have extensions. Makes sense to start with those first.

af70d7a8f2b43ddbb940b9f9b4cf8bdaa1b1d9b7 adds elixir support

3388faf50bf01535541060b1dfa2f8ddca67ceec for Go

Ok languages with extensions are done, except for Ruby. It's extension is quite complex and I'm not sure exactly how to support it or if it is worth it. Right now.

List of languages

[x] Bash
[x] C
[ ] C++
[ ] C#
[x] Clojure
[ ] CSS
[ ] Diff
[x] Elixir
[ ] Elm
[x] go
[x] mod
[ ] Haskell
[ ] HCL
[ ] HTML
[ ] Java
[ ] JavaScript
[ ] JSON
[ ] Julia
[ ] Lua
[x] Markdown
[x] OCaml
[ ] Perl
[ ] PHP
[x] Python
[ ] Ruby
[x] Rust
[ ] Scala
[ ] SQL
[x] Swift
[ ] TypeScript
[ ] YAML
[ ] Zig

A specific request for TypeScript came in so I'm going to look into that.

@MattMassicotte, is it possible for you to update the table (in my comment above) to include the information for TypeScript?

@unnamedd wow I didn't realize we could both edit this, but yes I can!


Package request: bruno-cli

Project description
cli for bruno

cli alternative to bruno, the IDE for testing APIs
Metadata

homepage URL: https://docs.usebruno.com/
source URL: https://github.com/usebruno/bruno/tree/main/packages/bruno-cli
license: mit
platforms: unix, linux, darwin

Add a :+1: reaction to issues you find important.

The existing bruno package includes only the graphical application. There is also a CLI interface that is available from the same source.
The current build process does create the bru executable at node_packages/.bin/bru, but it only includes a reference to the source folder calling its run command. I tried to create a PR to package the CLI executable in a separate output, but I could not figure out how to get an executable version that wasn't just a symlink back to the original file.

I'll try to do this in a few hours/days, thanks for bumping this!
Even if they are built from the same source, I think we should create a different derivation for it. I'm looking at the output of bruno and I all the files look related to the GUI application, so sharing those files with bruno-cli wouldn't help with disk space. Maybe with build time it would be more efficient, but I (and presumably most end users and some maintainers) am not familiar with making a package produce multiple outputs where the user can choose which outputs he wants. And merging bruno and bruno-cli into one package would cause other bruno users to download extra files which they'll probably never use.
I'd love to hear other maintainers' opinions on how we should split the GUI and the CLI app. cc @mattpolzin @lucasew @kashw2 @water-sucks @redyf


network：Configuration network problem

When the first configuration network is successful, the WiFi  turned off. Then the system is powered off and restarted, the device will not send out the configure network prompt, and the app on the mobile phone can not search the device to configure the network.

IMO this is an issue related to the app rather than YODART. Since YODA devices would have network successfully and properly configured, the app cannot detect the final status of YODA devices nor prompt failure of network configuration process for disconnected from the YODA devices.


Inconsistent/incorrect value provided for release-version in the 2.1 releases.json file

Issue Title
A change to 2.1 releases.json yesterday bucked the convention for releases.
General
I wrote a script for enumerating dotnetcore assets by version and type (sdk, runtime, hosting bundle) and it produced an uncharacteristic value for runtime version that is not consistent with previous releases. This  only seems to affect releases.json for 2.1 which was updated yesterday.

Previous release entries were predicated by an update in the runtime or at least pegged to a runtime version. Thus, it is possible to have 2 or more sdk versions for the same runtime release. In yesterday's update, it is now possible to have a release with only an SDK component in it. Not only that, it introduces a runtime-version in the sdk object which is not present in previous releases of the sdk object. We would prefer a predictable pattern for parsing these json files or an enhanced install-dotnet.ps1 that can install sdk, runtime, or hosting bundle.
I have a related but general issue posted as well.

Thanks @tristanbarcelon . I left a longer reply in the other issue. As mentioned there it is possible to have an SDK release which includes previously released runtimes. Discussion in https://github.com/dotnet/core/issues/2134 to work through solutions.
cc @vivmishra


Multipart upload support

Does this library support multipart uploads? I need to be able to break up uploading across multiple page loads for large files. OneDrive supports this as seen here: https://dev.onedrive.com/items/upload_post.htm
I need this because my app runs on users' shared hosting accounts which tend to have unmodifiable maximum execution time limits and slow speeds so I need to be able to break it up. I do this with Amazon S3, Dropbox, Google Drive, Rackspace, etc within my app but I'd like to use this library to add OneDrive support but this is critical for my use case.

The SDK uses multipart body to upload the file. See Line 722 in Client.php.  However, according to your use case, that involves chunking a large file into smaller parts and uploading it through multiple requests involves a separate endpoint: Uploading large files on OneDrive. This method can be used to create a session to upload a large file by splitting it into chunks, which is not supported at the moment.


Cannot use pagination cursor on auto-incremented id

Bug description
We are trying to do paginated searches with cursors. Our table does not contain any natural candidate column for the cursor (not sequential and/or not unique), so we created an additional column for this purpose, like this (called id):
model MyEntity {
  id        BigInt   @db.BigInt @default(autoincrement())
  A         String   @id @db.VarChar(64)
  B         String   @db.VarChar(64)
  // other columns
}

In the generated client, the type of the cursor is defined as:
export type MyEntityWhereUniqueInput = Prisma.AtLeast<{
    id?: BigIntFilter<"MyEntity"> | bigint | number,
    A?: string,
    B?: string,
  }, "A" | "B">

So providing at least (and only) id in my cursor does not work, as id is not in the "at least list", only "A" | "B". Manually fixing the generated code with "id" | "A" | "B" fixes the typescript typing error, but this is definitely not a convenient solution :-)
How to reproduce
See bug description
Expected behavior
See bug description
Prisma information
Cannot share the full schema publicly.
Environment & setup

OS: Windows
Database: PostgreSQL
Node.js version: 20.11.0

Prisma Version
5.9.0

OK, nevermind. I fogot to add the @unique constraint on the extra id field. I did not interprete the unique constraint as a strict uniqueness constraints defined on the database itself. In particular, the documentation mentionned that we should be able to use cursors on date, which we may also consider doing, and I am a bit reluctant to add a @unique constraint on dates, since potentially several things can happen "at the same time" (depending on the resolution of timestamp), so having a @unique constraint there would force us to handle those exceptions, which we would rather not handled...


Windows container memory limit

Is the Windows container suppose to have 1GB memory limit by default? When following the above example to create a containerized web app in the portal (or using ARM templates) using one of the cached base images, it seem to crash quickly with out of memory error around 1GB, despite the app service plan have 32GB memory. This only affects Hyper-V container app service plan ("Xenon" kind).
Example from Windows container:
PS C:> systeminfo | findstr "Memory"
Total Physical Memory: 1,023 MB
Available Physical Memory: 529 MB
Virtual Memory: Max Size: 1,023 MB
Virtual Memory: Available: 555 MB
Virtual Memory: In Use: 468 MB
PS C:> wmic OS get FreePhysicalMemory /Value
FreePhysicalMemory=530860
PS C:> wmic computersystem get TotalPhysicalMemory
TotalPhysicalMemory
1072742400

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

ID: 705f9cf9-9bdd-c0e6-8170-062c62b6e12b
Version Independent ID: 8de37e15-ccfb-e619-69b1-d8918dcb0b3e
Content: Run a custom Windows container in Azure (Preview)
Content Source: articles/app-service/app-service-web-get-started-windows-container.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

Thanks for your feedback! We will investigate and update as appropriate.

@joakimhellum-in We had to reach out to the product group in order to get you a response. Windows containers are brand new and still in preview state.

We will change the defaults to match the setting of the Hyper-V host to take full advantage of the selected App Service Plan compute power.

Currently, we don’t allow customers to control the limits per container but thanks for the feedback
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

The fix has been checked in and will be deployed soon. It should be available by end of September

Not sure what the "fix" was, but we had the same problem. It seems Windows Containers on AppService are "limited" to 1.5GB RAM per default.
I searched and found a comment from @apwestgarth that there is a config key available: http://disq.us/p/26gru0x
With the "CONTAINER_MEMORY" (see here) switch I could successfully increase the memory limit. Wouldn't it make sense to document this properly? @BryanTrach-MSFT

For GA, those settings will be renamed as:
WEBSITE_CPU_CORES_LIMIT and WEBSITE_MEMORY_LIMIT_MB

What is the current default size for memory? Is it 1GB or 1.5GB? I tested it yesterday, but wasn't sure if I read the values correct.

The default is 1GB per container.