multiple project (.sln)

Given we have The microservice projects
And for different teams and languages we crated two SLN file with different sub-folders in a special folder
When we execute The "tye init" command in parent folder
Then we must see a tye.yaml file in parent folder

Sure that sounds interesting, many people might have multiple Solutions in for Testing, automated testing, or integration tests.
I'd suggest for now, creating a tye.yaml file in the parent folder, then in each of your sub folders running tye init.
You can use the parent Tye.yaml file to reference the solution specific YAML files like so :
`
#The Name must be the same in each referenced tye.yaml
name: MultipileSolutions
define multiple services here
services:
##This is required for The SDK to run effectivly

name: supportingServices
include: tye-services.yaml

name: solution1
include: /solution1/tye-micro1.yaml

name: solution2
include: /solution2/tye-micro2.yaml
`

I'll experiment with your idea though!

Thank you for your attention to this matter.

In the course of this it would also be desirable if .slnf files could be considered as well.

Interesting @samtrion I haven't  come across slnf files yet.
What would be your desired outcome when using tye with slnf files?

Well, since the .slnf files are just a filter on an existing .sln, they are just the logical extension of multi-sln-repositories.
For example, if I have a .sln with the following projects.
- ProjectA
- ProjectB
- ProjectC

Now if I run withoutB.slnf, Tye would run the filtered .sln accordingly, with the result ProjectA & ProjectC.


how upgrade https to wss

how upgrade https to wss, instead of nginx:
location /wss/ {
proxy_pass https://k8s.tudoucloud.com:6443/apis/subresources.kubevirt.io/v1/namespaces/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
}

Not relevant to this library.


setting Authorization header to avoid authentication redirect

I thought I could provide the bearer token myself using the -H flag to avoid getting prompted to authenticate but it doesn't seem to work
If there is nothing in the cache file, when I run my command, I am still prompted to login
ex
restish local users-list 1 -H "Authorization: bearer eyJhbGciOiJSUzI1NiIsInR..."
am I doing something wrong?  I have a token.  How can I use it to avoid being prompted to authenticate

Short-term you can save the token into the cache file manually. Longer term we need to fix this bug and only prompt if it isn't already given.

@kpayson I made a quick fix for this issue. Please try again.


Automated cherry pick of #4842: fix: 添加安全组操作日志

Cherry pick of #4842 on release/2.14.
#4842: fix: 添加安全组操作日志

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.14@2af5c3e). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.14   #4844   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     523
  Lines                   ?   89189
  Branches                ?       0
==============================================
  Hits                    ?    6117
  Misses                  ?   82563
  Partials                ?     509

Flag
Coverage Δ

#aFlag
6.85% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/secgrouprules.go
4.22% <0%> (ø)

Continue to review full report at Codecov.

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


Unable to select folders

File structure is Movies[movie][movie].mkv
In order to do batch, I have to go through each folder and add the movie individually. Any way to add a folder and the subfolders?

You add a folder you want to add every MKV inside of that folder and its subfolders (recursively)? That's how it currently works (or should work, at least).
You just have to drag and drop, but I may add a button for it, I forgot why I didn't add one.

Yes for some reason when I try to drag and drop it didn't allow it, and when I try to add folders, I select all, and it just unselects them and doesn't add them.

So I just tried dragging and dropping again and it worked! Not sure if it was because I used the exe or the jar before, but it's good now.
Thanks!

Actually it was a permissions issue with running as admin. If I elevate to run as admin, it doesn't allow dragging and dropping. I just modified my user account to have permissions to modify the files.

Yeah running explorer as admin will cause issues with any application running with regular permissions as far as I know (or vice versa).
I added a button in release v1.4.3, by the way!


Allow deploying a subset of features

[x] Enable/disable SQS service
[x] configuring authentication method of API Gateway

Solved as of e003a2c


Ex 11 infracost trigger

done: Ex 10, Ex 11 (persumably) for the tbd-1 workshop.
Included a new directory for the report screenshots.

we can consider using pre-commit in the future, lgtm


Tracking Sales Lead With Python

Proposed title of article
Tracking Sales Lead With Python
Proposed article introduction
Sales lead tracking is a strategy where most sales representatives use to actively monitor where the leads are in the sales and marketing funnel and come up with appropriate actions to move the lead to the next stage and close the sale.
It is important to the marketing department to determine where their leads come from, either from referrals, if they are coming from new customers or if they were found on the web.
In this article, we will not focus on how the leads are generated since the content has been fully covered in some previous articles. We will cover as much concerning the python and some of its libraries and its implementation in getting the leads data and tracking where they are coming from.
Key takeaways
The reader will be able to:

Understand sales lead tracking and its relevance to the business.
Understand sales lead tracking in python.
Understand how some of the python libraries are used in sales lead tracking.

Article quality
There have been documentaries online on what tracking sales lead entails, however non of them have shown how to implement it in python. This article will show our reader how to.
References
N/A

Great topic 🚀 , make sure it matches the following:

Adds value beyond what is in the official docs and what is covered in other blog sites.
To avoid potential article closure, it should not overlap with existing EngEd articles or incoming topic suggestions.

Please reference any relevant EngEd articles in yours and build a unique project - Approved.


Problems loading MapView.

Summary
Problems loading MapView.
Error: Unsupported top level event type "topOnMapReady" dispatched, js engine: hermes
Error: Unsupported top level event type "topOnMapLoaded" dispatched, js engine: hermes
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-maps": "1.6.0",
When building on Android, the following error occurs. Please tell me the solution.
Error: Unsupported top level event type "topOnMapLoaded" dispatched, js engine: hermes
Reproducible sample code
<MapView
      provider={
          Platform.OS === 'android'
          ? PROVIDER_GOOGLE
          : undefined
          }
      style={styles.map}
      initialRegion={{
          latitude: 37.78825,
          longitude: -122.4324,
          latitudeDelta: 0.0922,
          longitudeDelta: 0.0421,
      }}
      moveOnMarkerPress={false}
/>

Steps to reproduce
After MapView is loaded, If I touch or scroll the screen after the map is loaded, that error occurs.
Expected result
A map with initialRegion is displayed.
Actual result
Error: Unsupported top level event type "topOnMapReady" dispatched, js engine: hermes
Error: Unsupported top level event type "topOnMapLoaded" dispatched, js engine: hermes
If you touch or scroll the screen after the map is loaded, that error occurs.
React Native Maps Version
1.6.0
What platforms are you seeing the problem on?
Android
React Native Version
0.72.3
What version of Expo are you using?
Not using Expo
Device(s)
Galaxy note10+
Additional information
No response

Facing the same issue
any update?

facing same issue any update?

I haven't solved it yet..

Hi, thanks for reporting! I'll look into that

@maxform-labs can you please test again with the latest version of the library ? looks like a react-native initialisation issue and could be that it's solved in the latest version

have same troubles with this... now my lib version is 1.15.2

Still no fix or workaround for this?


Addon extensions & package name

Extension addons
@lukebrenton, I've put together two extensions which extend this addon:

Ember Medium Editor Insert - a popular jQuery insert plugin for adding images and embeds to Medium Editor
Ember Medium Editor Button - a plugin which enables fast building of custom buttons for the Medium Editor toolbar

It'd be great to reference them in this repo's README.md, because they both extend the excellent Medium Editor addon you've created.
Extension Building
To encourage further extensions on this addon, perhaps we could figure out a standard way to extend Medium Editor and include documentation in the README?
The way I would suggest is by reopening the medium-content-editable component and using an editorInitialized function - triggered by observing the mediumEditor value. Check out how I've done it in my addon here.
It'd be nice if this addon exposed a plain editorInitialized function, so we could use this._super(...arguments) to initialize extensions. For example, this could be the documentation:
import Ember from 'ember';
import mediumEditor from 'ember-medium-editor/components/medium-editor';

export function initialize() {

  mediumEditor.reopen({

    editorInitialized() {
      this._super(...arguments);
      let editor = this.get('mediumEditor');
     // Initialize your plugin ...

    })
  });
}

export default {
  name: 'medium-editor-plugin',
  initialize: initialize
};

Package Name
A lot of packages are deprecating their ember-cli- prefixed addons for just ember-. Especially those that are runtime focussed - like this one - rather than build-time focussed. That's why I decided not to name the extensions ember-cli-medium-editor-insert and ember-cli-medium-editor-button. Also, the package names are long enough without it!
I suggest deprecating ember-cli-medium-editor in favour of ember-medium-editor.
Further assistance
I'm using this addon in a number of my core projects, so I'd be delighted to help advance the plugin and contribute further.

Closed as development focus is now on Ember Medium Editor.


TypeScript type declarations & various bugfixes

This PR brings in TypeScript type declations, updates all dependencies and fixes some bugs and memory leaks.

Hey @d--j, sorry for checking this PR very late.
But the changes look great. Let me verify them and merge them. Thanks for the PR.

All working great. Merged changes. Thanks again. There is another PR which adds a React Wrapper for the lib. Will release these changes together.


Meta: ES Modules for documentation / distributed artifacts

TL;DR Please consider distributing the DAT SDK as an ES Module, and prefer documentation that demonstrates how to use it as an ES Module.
The frontier of the JavaScript library-building community is moving towards expressing distributed libraries as ES Modules. Tools like Rollup.js and Node.js¹ are creating cowpaths for a package ecosystem where modules can be more easily/consistently imported in multiple environments by adopting the standard JavaScript module syntax.
On the one hand, I'm sure that a full-conversion to ES Modules would be a lot of work, and is likely not feasible given the sheer number of dependencies involved. On the other hand, it seems like it would be feasible to distribute an artifact that uses ES Modules so that others can consume the SDK that way, and to reflect that mode of usage in documentation.
In the long run, preferring ES Module-based packages will make it easier for dependent projects to apply optimizations such as sharing dependency packages with the SDK, tree shaking and code splitting. These optimizations may be possible today, but in order to apply them effectively we would need a comparatively intimate knowledge of the DAT SDK's dependency graph and all the errata to correctly bundle it.
The DAT SDK is a massive body of JavaScript. The more of it that can be consumed in a standard, consistent module format, the easier it will be to accept the byte cost it brings as a dependency.
Thank you for your consideration, and I look forward to hearing your thoughts on this issue.
¹ Node v12.17.0 "--experimental-modules flag is no longer necessary to use ECMAScript modules (ESM)"

Yeah, I'm super excited to use ESM more in the field.
However, I don't think it'd be possible to rewrite all the dependencies to use ESM since it's a pretty huge undertaking. A good place to start would be to ping the hypercore-protocol module authors about the rewrite first to see if they'd be into it.
I'd be happy to accept a PR to add some sort of ESM support in the meantime. 😁

@cdata Thanks. Agree with @RangerMauve, this would be a massive undertaking and there are no funds for much work on dat beyond basic maintenance.

@okdistribute @RangerMauve thanks for your enthusiasm and prompt and constructive feedback. As suggested above, I agree that rewriting the whole dependency graph would be an unrealistic goal.
That said, it should be feasible to start from the outside and incrementally work our way through the graph. If the dat-sdk package could be published with an ESM bundle, it would be one small step down the road of progress.
One approach could be to continue publishing as you are today, but also take advantage of the "exports" field in package.json to publish CommonJS and ESM in a way that advertises a different entrypoint depending on the context (legacy Node.js, modern Node.js or bundling tool).
I'll ping the upstream dependencies and try to read the temperature in the room for this kind of change. Thanks again!

Ah cool. A PR with the "exports" field and some docs in the README would be more than welcome. 💜

Thanks @RangerMauve . I have filed a few upstream issues on this topic, and I will rely on the maintainer's best judgement for when it is most appropriate to pursue publishing ESM artifacts in the various Hypercore packages.
In the mean time, I'm just getting to know the Dat SDK so I have some exploring to do. I will look for an opportunity to suggest a PR like the one you described, and we can continue the discussion at that time.
Kind regards,
Chris

Gonna close this for now since it's mostly dependent on upstream. Once all the Hypercore stuff supports ESM, I'll be more than happy to migrate the SDK over.


sig-storage: Set some ownership

What this PR does / why we need it:
This PR is clarifying the ownership of two pkgs.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
A follow up question could be: Should disk hotplug belong into storage?
And: What about the other storage-y things like hostpath, containerdisk, etc
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[x] Design: A design document was considered and is present (link) or not required
[x] PR: The PR description is expressive enough and will help future contributors
[x] Code: Write code that humans can understand and Keep it simple
[x] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[x] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[x] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[x] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[x] Community: Announcement to kubevirt-dev was considered

Release note:

NONE

@mhenriks @awels @akalenyu wdyt?
@aglitke fyi

/approve
/hold

Fixed, thanks.

@mhenriks @awels @akalenyu wdyt?
@aglitke fyi

thanks!

/cc @vladikr

Rebased
/unhold
@mhenriks @vladikr @davidvossel concerns or approvals?

/retest

@dhiller can you help with an lgtm?


90 enhance exception instruction

Resolves #90. I intentionally added more than was necessary but I figured it's easier to remove than add. It also might be too opinionated in places; it definitely encourages using exceptions much more freely than before. I suggest multiple people review it before merging

@ThanGerlek - Thanks for proposing all of these. I'm still thinking about how to properly implement this and enhance the instruction.


Deployment tasks when running a databox with a custom ami

When running ./databox.sh -a ami-dca37ea5 -r eu-west-1 -i p2.xlarge up the following error occurs, and deployment tasks (like formatting the EBS volume fails).
aws_instance.box (remote-exec): E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Error applying plan:

1 error(s) occurred:

* aws_instance.box: 1 error(s) occurred:

* Script exited with non-zero exit status: 100

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
The state file either has no outputs defined, or all the defined
outputs are empty. Please define an output in your configuration
with the `output` keyword and run `terraform refresh` for it to
become available. If you are using interpolation, please verify
the interpolated value is not empty. You can use the
`terraform console` command to assist.
SUDO password:
 [WARNING]: provided hosts list is empty, only localhost is available```

Also:
fatal: [<IP_ADDRESS>]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failed to auto-install python-apt. Error was: ‘E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)\nE: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?’“}``


'duplicated mapping key' error occurred, during pagenation

If you use this code:
dashboard/starter-example/app/ui/invoices/pagination.tsx
when the number of pages is more than 7, the error 'duplicated mapping key' will appear. Because, under certain conditions, the generatePagination function returns an array in which there may be identical elements "...", which are then used as a key.
Also, it would be worth adding two more conditions to the generatePagination function, when the current page = 3 and the current page = total pages - 2:
export const generatePagination = (currentPage: number, totalPages: number) => {
  if (totalPages <= 7) {
    return Array.from({ length: totalPages }, (_, i) => i + 1);
  }

  if (currentPage < 3) {
    return [1, 2, 3, "...", totalPages - 2, totalPages - 1, totalPages];
  }

  if (currentPage === 3) {
    return [
      1,
      currentPage - 1,
      currentPage,
      currentPage + 1,
      "...",
      totalPages - 1,
      totalPages,
    ];
  }

  if (currentPage > totalPages - 2) {
    return [1, 2, 3, "...", totalPages - 2, totalPages - 1, totalPages];
  }

  if (currentPage === totalPages - 2) {
    return [
      1,
      2,
      "...",
      currentPage - 1,
      currentPage,
      currentPage + 1,
      totalPages,
    ];
  }

  return [
    1,
    "...",
    currentPage - 1,
    currentPage,
    currentPage + 1,
    "...",
    totalPages,
  ];
};

This option removes the problem of the lack of a button to page 4 when page 3 is active and the same effect at the end, and also makes the pagination always the same length of 7 cells.

Rather than doing this I implemented the following in the Pagination.tsx file
return (
  <PaginationNumber
    key={index}
    href={createPageURL(page)}
    page={page}
    position={position}
    isActive={currentPage === page}
  />
);

this will fix that duplicate key issue, since each index should be unique.
The second issue you mentioned I noticed as well and resolved that by keeping it a standard 7 navigation tiles across the board.
export const generatePagination = (currentPage: number, totalPages: number) => {
  // If the total number of pages is 7 or less,
  // display all pages without any ellipsis.
  if (totalPages <= 7) {
    return Array.from({ length: totalPages }, (_, i) => i + 1);
  }

  // If the current page is among the first 3 pages,
  // show the first 4, an ellipsis, and the last 2 pages.
  if (currentPage <= 3) {
    return [1, 2, 3, 4, '...', totalPages - 1, totalPages];
  }

  // If the current page is among the last 3 pages,
  // show the first 2, an ellipsis, and the last 4 pages.
  if (currentPage >= totalPages - 2) {
    return [1, 2, '...', totalPages -3, totalPages - 2, totalPages - 1, totalPages];
  }

  // If the current page is somewhere in the middle,
  // show the first page, an ellipsis, the current page and its neighbors,
  // another ellipsis, and the last page.
  return [
    1,
    '...',
    currentPage - 1,
    currentPage,
    currentPage + 1,
    '...',
    totalPages,
  ];
};


[th2-2535] added dependency to common/store-common with cradleapi 2.20.0

Related to mstore PR 21, store-common PR 11, common PR 141.


Generic types wrapped with Partial cannot be assigned to empty objects

TypeScript Version:  2.1.4
Code

interface I {
	a: string;
}

function f1<T extends Partial<I>>() {
	// Error TS2322
	let i: T = {};
}

function f2<T extends I>() {
	// Error TS2322
	let i: Partial<T> = {};
}

Expected behavior:
No errors
Actual behavior:
Error TS2322: Type '{}' is not assignable to type 'T' / 'Partial'
Forgive me if this is simply a limitation of the Typescript engine and the implementation of Partial, but I don't know enough about the internals to make a judgement there.

The first example is not a bug. Being constrained by a partial type does not mean that you don't have additional required properties. Remember that a constraint is an upper bound on a type, not a lower bound - the concrete type of T at any call site may have additional properties and those properties may be required; the Partial<I> constraint only means that any properties in T which match those of I must have types which are assignable to the corresponding types in I
The second example is fixed in master.

Thanks Ryan, you're totally right about the first case.


CSS hacks for Web Developers

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2819

@mosesmoses12 Welcome to the EngEd program 🎉. Thank you for submitting your article for review.

Thanks for the ping @geoffrey45, looking forward to cooperate.

plagiarism check done

@geoffrey45, Am done with the requested changes. Please have a look at my last commit.

@mosesmoses12 Please check the changes I made in this commit.
Thank you for contributing to the EngEd community.

Overall nice work gents 🚀

Be sure to go over any suggestions / changes made by your peer reviewer to improve future articles.


Face detection

How can i detec faces on the preview camera? Thanks in advance

This is a duplicate to Issue 36, I suggest you close this one.

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


results extract is not the same with the results show up in SWMM5

Hi Tim.
I use your swmmtoolbox to extract my SWMM5 output.
However i found that the extracted results from swmmtoolbox is not the samw with results showing in the program.
I want to extract the Node flooding (which is in the summary Results) during the time series of each nodes.
What i did with SWMM:
I run the model and create the time series by objects, i chose 1 node that supposed to be flooded
With the swmmtoolbox i did it in jupyter notebook:
from swmmtoolbox import swmmtoolbox as sw
filename = 'D:\***\15.10.out'
g = sw.extract(filename,[['node','N31-17-1', '']])
g.to_excel(r'abc_2.xlsx')
Then i compare that timeseries made by SWMM with the time series which create by swmmtoolbox
And it is not fit with each other.
This is the result from the model (the starting time)
Table - Node N31-17-1
Depth           	Head            	Volume          	Lateral Inflow  	Total Inflow    	Flooding
Days      	Hours     	(m)             	(m)             	(m3)            	(CMS)           	(CMS)           	(CMS)
0         	00:01:00  	0.00            	5.77            	0.00            	0.00            	0.00            	0.00
node_N31-17-1_Depth_above_invert	node_N31-17-1_Hydraulic_head	node_N31-17-1_Volume_stored_ponded	node_N31-17-1_Lateral_inflow	node_N31-17-1_Total_inflow	node_N31-17-1_Flow_lost_flooding

2020-10-14 00:01:00	0.000103365	5.773803711	0	2.41268E-05	2.82158E-05	0
So, as we can se that only the Head is fit, but the Depth and the other are not.
I come further than that, then even the head completely is not fit.
Table - Node N31-17-1
Depth           	Head            	Volume          	Lateral Inflow  	Total Inflow    	Flooding
Days      	Hours     	(m)             	(m)             	(m3)            	(CMS)           	(CMS)           	(CMS)
1         	18:37:00  	1.34            	7.12            	58.23           	0.00            	0.10            	0.04
node_N31-17-1_Depth_above_invert	node_N31-17-1_Hydraulic_head	node_N31-17-1_Volume_stored_ponded	node_N31-17-1_Lateral_inflow	node_N31-17-1_Total_inflow	node_N31-17-1_Flow_lost_flooding
2020-10-15 18:37:00	0.391102254	6.164802551	0	8.8702E-05	0.006102621	0
i dont know if i run the code wrong?
I use the CMS flow units in the model.
Thank you !

I have seen this before and the swmmtoolbox output matched what was in the report file so I took that to mean the bug was in the SWMM interface.  Could you check in the report file for the same time-series and see which it matches?
Kind regards,
Tim

Hi Tim,
Thank you for your respond. I have just check it. It was 2 issues

as you said - the time series was not the same (one is elapsed time and ones is Date time). I re run the model this morning and check it again. It seem looked better than yesterday.
SWMM5 interface report also round up the number into 2 decimals after the point. Therefore, sometime, it is not the really similar with the result extract by swmmtoolbox. I tried to round extracted result and it gave the same pattern comparing with SWMM5.
Thank you! Issues are solved!


Rails/Date detects strings as Date objects

When I have this code:
      value = '2001-10-20T10:22:22Z'
      value.to_time

then rubycop reports this fault:
C: Rails/Date: Do not use to_time on Date objects, because they know nothing about the time zone in use.
      value.to_time
            ^^^^^^^

Expected behavior
Clearly that's not a date object, it's a string object.  It should not insist that it is a Date.
Actual behavior
It says a String is a Date.
Steps to reproduce the problem
      value = '2001-10-20T10:22:22Z'
      value.to_time

RuboCop version
$ bundle exec rubocop -V
0.60.0 (using Parser <IP_ADDRESS>, running on ruby 2.5.1 x86_64-darwin17)

Unfortunately runtime type inference is outside the scope of what we can take on with static analysis. The case where #to_time is sent directly to a string literal, e.g.:
'2001-10-20T10:22:22Z'.to_time

is already handled as a special case by the cop.

@Drenmi if that is the case, then why does Rails/Date use type inferencing?  Wouldn't it be better to remove that cop than to have it break in some situations?


SmaliDebugging has been removed

Information

Apktool Version (apktool -version) -
Operating System (Mac, Linux, Windows) -
APK From? (Playstore, ROM, Other) -

Stacktrace/Logcat
Include stacktrace here

Steps to Reproduce

apktool

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything?
If you are trying to install a modified apk, did you resign it?
Are you using the latest apktool version?

I don't see anything reported?

I don't really use it   apktool d 出现了那个错误


Plot.groupX({filter: () => true})

follow-up on #499: using Plot.groupX({filter: () => true}…) creates empty points where there is no data
todo:

[ ] the code is a bit ugly
[ ] for feature parity with binX, the filter should receive the data, not just the index
[ ] motivate with a meaningful example
[ ] use filter: "all" as a shorthand for {filter: () => true}?
[ ] optimize: we can probably sort once instead of sorting each group

Yeah, nice, this is what I was imagining with the Cartesian product idea. Not sure how urgently we should tackle this but I like the direction. 🙂

obsolete since v0.2!


Add missing db indexes

This PR contains other (unrelated, but hopefully good) changes.
It might be easier to follow the commits one-by-one.

Thanks @vfonic 👍


[Bug] Terrastorage sort breaks playerhead data

What happened?
Using Terrastorage 1.1.1 on Minecraft 1.21.1 along with a number of quality of life / performance mods and datapacks (no content adding mods). Specifically using some Vanilla Tweaks datapacks that make playerheads with custom block textures and mob head textures. When I went to use the item sorting feature on my chest of playerheads, it deleted much of the data of the playerheads in order to stack them together.
Before clicking sort button:
After:
Terrastorage Version
1.1.1
Fabric API Version
0.107.0+1.21.1
Minecraft Version
1.21.1
Relevant Log Output
No response
Other Mods
Auto Clicker (https://modrinth.com/mod/r8axuw4u) [21.1.0]
Blur+ (Fabric) (https://modrinth.com/mod/NK39zBp2) [5.0.0]
Cherished Worlds (https://modrinth.com/mod/3azQ6p0W) [10.1.0+1.21.1]
Concurrent Chunk Management Engine (https://modrinth.com/mod/VSNURh3q) [0.3.0+alpha.0.293+1.21.1]
Enhanced Block Entities (https://modrinth.com/mod/OVuFYfre) [0.10.2+1.21]
EntityCulling (https://modrinth.com/mod/NNAgCjsB) [1.7.0]
Fabric API (https://modrinth.com/mod/P7dR8mSH) [0.107.0+1.21.1]
Fabric Language Kotlin (https://modrinth.com/mod/Ha28R6CL) [1.12.3+kotlin.2.0.21]
FerriteCore (https://modrinth.com/mod/uXXizFIs) [7.0.2-hotfix]
ImmediatelyFast (https://modrinth.com/mod/5ZwdcRci) [1.3.0+1.21.1]
Indium (https://modrinth.com/mod/Orvt0mRa) [1.0.35+mc1.21]
Iris (https://modrinth.com/mod/YL57xq9U) [1.8.0-beta.4+mc1.21.1]
Lithium (https://modrinth.com/mod/gvQqBUqZ) [0.14.0-snapshot+mc1.21.1-build.88]
MaLiLib (https://modrinth.com/mod/GcWjdA9I) [0.21.0]
MiniHUD (https://modrinth.com/mod/UMxybHE8) [0.32.50]
Mod Menu (https://modrinth.com/mod/mOgUt4GM) [11.0.3]
Mouse Tweaks (https://modrinth.com/mod/aC3cM3Vq) [2.26]
Placeholder API (https://modrinth.com/mod/eXts2L7r) [2.4.1+1.21]
Replay Mod (https://modrinth.com/mod/Nv2fQJo5) [1.21-2.6.19]
Sodium (https://modrinth.com/mod/AANobbMI) [0.6.0-beta.2+mc1.21.1]
Sodium Extra (https://modrinth.com/mod/PtjYWJkn) [0.6.0-beta.3+mc1.21.1]
Terrastorage (https://modrinth.com/mod/QKXofFZC) [1.1.1]
Xaero's Minimap (https://modrinth.com/mod/1bokaNcj) [24.5.0]
Xaero's World Map (https://modrinth.com/mod/NcUtCpym) [1.39.0]
YetAnotherConfigLib (https://modrinth.com/mod/1eAoo2KR) [3.6.1+1.21-fabric]
Zoomify (https://modrinth.com/mod/w7ThoJFB) [2.14.2+1.21.1]

Hey, thank you for taking the time to report this bug, and for providing this level of detail about it, appreciate it very much!
The issue was that item sorting completely ignored any component data that was unique to an item stack, and instead focused on the item of the stack only. While all other Terrastorage features take component data into account, I unfortunately overlooked this in the item sorting logic, sorry about that.
I just released version 1.1.2, which addresses this issue:

[Modrinth] Terrastorage 1.1.2+1.20-1.20.1
[CurseForge] Terrastorage 1.1.2+1.20-1.20.1

I also went ahead and tested it with the same Vanilla Tweaks player heads and mob heads datapacks that you were using, and everything seems to be working properly now.
With that said, I will now close this issue as completed, if you run into any other problems, don’t hesitate to submit a new issue.
Once again, thank you for your help in reporting this bug, and I wish you a great day!


Make control plane endpoint default registration method

What this PR does / why we need it:
Fixes: #343
From the list of available registration methods, control plane one seems to be the most suitable for a default. It will not work for all cases, but for those which do, namely clusters without restrictions on accessing public API and address of CP endpoint, this should work out of the box as a quickstart method.
Users may decide to define a different registrationMethod, where one edit of the value is intentionally allowed.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[x] adds unit tests
[ ] adds or updates e2e tests

This needs an update as discussed offline with @Danil-Grigorev, please hold off merging it manually.

Upon checking crust-gather archive after test run, it seems the field is emptied, as expected. Just added e2e tests after all, leaving the rest of the logic unchanged. Should be good to merge now @furkatgofurov7 @salasberryfin

spec:
  agentConfig:
    additionalUserData: {}
    format: cloud-config
    nodeAnnotations:
      test: 'true'
  infrastructureRef:
    apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    kind: DockerMachineTemplate
    name: caprke2-e2e-yqwygg-control-plane
  machineTemplate:
    infrastructureRef: {}
    metadata: {}
  manifestsConfigMapReference: {}
  nodeDrainTimeout: 30s
  privateRegistriesConfig: {}
  replicas: 1
  rolloutStrategy:
    rollingUpdate:
      maxSurge: 1
    type: RollingUpdate
  serverConfig:
    disableComponents:
      kubernetesComponents:
      - cloudController
    etcd:
      backupConfig: {}
  version: v1.28.12+rke2r1
status:
…


Lpm rebuild

lpm test has been changed to follow the structure of the delay test

Can you run ./build.sh fmt to fix formatting.
https://travis-ci.com/NetSys/NetBricks/jobs/62241976 failed for that.

Pull request #40 ated this one -- sorry


[GHSA-hmvj-gc9q-mg9p] ** DISPUTED ** The DebuggingInterceptor component in...

Updates

Affected products
References
Source code location
Summary

Comments
Add source code link and patch links and affected product related to CVE-2012-0394.

HI @sunSUNQ, https://cwiki.apache.org/confluence/display/WW/S2-008 says that CVE-2012-0394 is related to Jira ticket WW-3729.  Thank you for your contribution!


leapp dnfplugin.py conflicts on salt python3 packages

Some cPanel customers are reporting this issue while upgrading from CentOS 7 to AlmaLinux 8.
The error seems to come from the leapp-repository
This happened on a customer’s server where they removed the salt repository, but not the salt packages causing an error:
Process Process-476:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
    actor_instance.run(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 290, in run
    self.process(*args)
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/dnfpackagedownload/actor.py", line 51, in process
    xfs_info=xfs_info, storage_info=storage_info, plugin_info=plugin_info, on_aws=on_aws
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py", line 385, in perform_rpm_download
    test=True, on_aws=on_aws
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py", line 219, in _transaction
    e.stdout = e.stdout.encode('utf-8', 'xmlcharrefreplace')
AttributeError: can't set attribute{code}
This is due to the conflict:
{code}# grep -A5 'Transaction test error' /var/log/leapp/leapp-upgrade.log
2022-12-08 03:24:30.847 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download: Error: Transaction test error:
2022-12-08 03:24:30.849 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download:   file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.opt-1.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
2022-12-08 03:24:30.850 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download:   file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
2022-12-08 03:24:30.852 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download:   file /usr/lib/python3.6/site-packages/six.py from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
2022-12-08 03:24:30.853 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download:   file /usr/lib/python3.6/site-packages/urllib3/__init__.py from install of python3-urllib3-1.24.2-5.el8.noarch conflicts with file from package python36-urllib3-1.25.6-2.el7.noarch
2022-12-08 03:24:30.854 DEBUG    PID: 11736 leapp.workflow.Download.dnf_package_download:   file /usr/lib/python3.6/site-packages/urllib3/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-urllib3-1.24.2-5.el8.noarch conflicts with file from package python36-urllib3-1.25.6-2.el7.noarch

Caused by salt packages:
[03:55:04 sau-41805-vs root@94509955 /var/log/leapp]cPs# yum list installed | grep @salt-py3-latest
libsodium.x86_64                                1.0.18-1.el7           @salt-py3-latest
python3.x86_64                                  3.6.8-18.el7           @salt-py3-latest
python3-libs.x86_64                             3.6.8-18.el7           @salt-py3-latest
python36-PyYAML.x86_64                          3.13-1.el7             @salt-py3-latest
python36-chardet.noarch                         3.0.4-12.el7           @salt-py3-latest
python36-contextvars.noarch                     2.4-1.el7              @salt-py3-latest
python36-idna.noarch                            2.10-1.el7             @salt-py3-latest
python36-immutables.x86_64                      0.14-1.el7             @salt-py3-latest
python36-jinja2.noarch                          2.11.1-1.el7           @salt-py3-latest
python36-m2crypto.x86_64                        0.35.2-5.el7           @salt-py3-latest
python36-markupsafe.x86_64                      0.23-4.el7             @salt-py3-latest
python36-msgpack.x86_64                         0.6.2-2.el7            @salt-py3-latest
python36-psutil.x86_64                          5.6.7-1.el7            @salt-py3-latest
python36-pycurl.x86_64                          7.43.0-8.el7           @salt-py3-latest
python36-pysocks.noarch                         1.6.8-7.el7            @salt-py3-latest
python36-requests.noarch                        2.14.2-2.el7           @salt-py3-latest
python36-urllib3.noarch                         1.25.6-2.el7           @salt-py3-latest
python36-zmq.x86_64                             18.0.1-1.el7           @salt-py3-latest
salt.noarch                                     3005.1-1.el7           @salt-py3-latest
zeromq.x86_64                                   4.1.4-7.el7            @salt-py3-latest

Refs: CPANEL-42014

@atoomic , I have same problem.
My current solution is to remove salt-minion package and disable salt repo first before  running leapp {preupgrade|upgrade}. All the salt-minion config/data can be re-used after salt-minion re-install on new OS.


HBASE-24315 Remove hadoop-two-compat.xml in hbase-assembly

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

_ master Compile Tests _

+0 :ok:
mvndep
0m 48s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

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

_ Other Tests _

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

26m 52s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense xml hadoopcheck

uname
Linux dd1d6800f6bd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 3d59e328c8

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

modules
C: . hbase-assembly U: .

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

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

+1 :green_heart:
compile
2m 43s
the patch passed

+1 :green_heart:
javac
2m 43s
the patch passed

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

-0 :warning:
javadoc
0m 18s
root in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
158m 32s
root in the patch passed.

188m 33s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux d88ab317663f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 3d59e328c8

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/testReport/

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

modules
C: hbase-assembly . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

_ master Compile Tests _

+0 :ok:
mvndep
0m 33s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

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

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

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

_ Other Tests _

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

19m 37s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense xml hadoopcheck

uname
Linux 3db2764153ca 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0632e9893f

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

modules
C: hbase-assembly . U: .

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s
Maven dependency ordering for patch

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

+1 :green_heart:
compile
2m 59s
the patch passed

+1 :green_heart:
javac
2m 59s
the patch passed

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

-0 :warning:
javadoc
0m 18s
root in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
238m  2s
root in the patch passed.

271m  3s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a0df7010434a 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0632e9893f

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/testReport/

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

modules
C: hbase-assembly . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 48s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 56s
master passed

+1 :green_heart:
compile
2m 52s
master passed

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

+1 :green_heart:
javadoc
2m 57s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 19s
Maven dependency ordering for patch

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

+1 :green_heart:
compile
2m 54s
the patch passed

+1 :green_heart:
javac
2m 54s
the patch passed

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

+1 :green_heart:
javadoc
2m 57s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
369m 33s
root in the patch passed.

406m 34s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 06e348c267d7 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0632e9893f

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/testReport/

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

modules
C: hbase-assembly . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1638/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.


WinAppDriver - PageSource of specific element

Hi
I noticed that the PageSource is available only for the session (For example desktop session)
How can I get the PageSource of specific element?
Best Regards,
Nadeem Bader

No you cannot, but what the use case for getting the page source of the element?

Ok, I understand - thank you.


Net::HTTP::Request isn't thread safe (due to an apparent rakudo bug)

I was able to narrow down concurrency bugs I've been having with Net::HTTP to this issue: https://rt.perl.org/Public/Bug/Display.html?id=131985.
While this is definitely a bug in Rakudo, it'd be nice if Net::HTTP::Request worked around it in the short term (by removing {} interpolating from header2str, start-line and path.)
Reproducing the problem is straightforward:
#!/usr/bin/env perl6

use v6.c;

use Net::HTTP::Request;
use Net::HTTP::URL;

await((1 .. 5).map: -> $tid {
   start {
      for (1 .. 100) -> $index {
         my $request = Net::HTTP::Request.new(:url(Net::HTTP::URL.new("http://www.google.com/$tid/$index/")), :method('GET'), :body(), :header({
            'Tid'   => $tid,
            'Index' => $index,
         }));
         my $s = ~$request;
         say "GET /$tid/$index ???? $s" unless $s ~~ /GET\s\/$tid\/$index\//;
         say "Tid: $tid        ???? $s" unless $s ~~ /Tid\:\s$tid/;
         say "Index: $index    ???? $s" unless $s ~~ /Index\:\s$index/;
      }
   }
});

Thanks for discovering this as well as digging in to find the issue. I've added a test for this here

Excellent, thanks for the quick fix :)

@dlowe just as a heads up Cro was released for Perl 6 in the last few days, which contains a http/http2 client among other things. An example request.
Net::HTTP still may be what you want to use though. For one, Cro is asynchronous - and while this is usually a good thing (will scale infinitely-ish better) its probably easier for most to write things using blocking code. Additionally Net::HTTP has no dependencies (save for IO::Socket::SSL/OpenSSL if you visit https sites), while Cro has quite a few (some of which fail their tests; their site recommends installing with the --/test no test flag for what I presume is test failures resulting from optional features).
Ultimately Net::HTTP would do some things similarly, like returning a Response once the header is received and only blocking again if the response body is requested before the rest of the request is received (this simply wasn't possible until the 2017.07 release of moarvm, which allowed a socket to be read from a thread besides the one it originated from - a libuv limitation).

Thanks for the pointer. For now, Net::HTTP is a better match for my use case, but I will keep an eye on Cro :)

Fixed in rakudo with https://github.com/rakudo/rakudo/commit/59454b03cc3e12fd9236ecb980669f8712961141


Random Quote

Description
I would like to add a Random Random Quote Generator.

Thanks @thepranaygupta but i am not SWOC participant 😅.

@7ORP3DO assigned to you 👍 are you a SWOC participant?

Thanks @thepranaygupta but i am not SWOC participant 😅.

okay cool

@7ORP3DO what's the update on this?

Can I work on this issue..?

I am SWOC participant...and also 10 days of code participant.

@nandini7637, I apologize for late reply.  I have completed this project so now can I send pull request for it? Or  I have to wait or open a new issue?

I am SWOC participant...and also 10 days of code participant.

What's the update?

@nandini7637, I apologize for late reply. I have completed this project so now can I open a pull request for it? Or I have to wait or open a new issue?

Wait for some time

@nandini7637 working on it...I'll complete it soon..by the evening..

@nandini7637 I have completed but facing some issue while pushing my files in the main branch..

@nandini7637 I have completed but facing some issue while pushing my files in the main branch..

You have to make a PR, you can't directly push to main branch

Yes I was facing problem in that only... I have sent you snapshot on discord.. Please have a look at that..


FR: Do not Remove Empty List Markers on Cursor Line

As I often take notes with lists, while writing with Remove Empty List Markers enabled, I've often paused on a new list item when I hit ctrl-s with Lint on save. That removes the line the cursor is currently on, breaking the flow of the list. I would prefer the linting to not remove an empty list marker that has the cursor located on it.
Example (cursor position: ▒)
Original state
- one
- two
- ▒

Current linting behavior
- one
- two▒

Requested behavior, no change from original state
- one
- two
- ▒

Negative case (no change requested)
Original state
- one
- two
-
▒

Current & expected linting behavior
- one
- two
▒

I am going to go ahead and close this. I do not believe there is currently enough interest in this feature to justify adding the maintenance overhead to account for this scenario. So for the time being, I am going to close this issue. We can revisit this if this is indeed something users would like.


Error: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats'

I tried to run the code in the Quick Start.  When I got to this step,
optimizer = torch.optim.Adam(task.parameters(), lr=1e-3)
solver = core.Engine(task, train_set, valid_set, test_set, optimizer,
                     batch_size=1024)
solver.train(num_epoch=5)

I got the bug
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-46cb357a6598> in <module>
      2 solver = core.Engine(task, train_set, valid_set, test_set, optimizer,
      3                      batch_size=1024)
----> 4 solver.train(num_epoch=5)

~/torch_drug_test/torchdrug/torchdrug/core/engine.py in train(self, num_epoch, batch_per_epoch)
    129         model.train()
    130
--> 131         for epoch in self.meter(num_epoch):
    132             sampler.set_epoch(epoch)
    133

~/torch_drug_test/torchdrug/torchdrug/core/meter.py in __call__(self, num_epoch)
    100                 logger.warning(pretty.separator)
    101                 logger.warning("Epoch %d end" % epoch)
--> 102             self.step()

~/torch_drug_test/torchdrug/torchdrug/core/meter.py in step(self)
     82         logger.warning("ETA: %s" % pretty.time(eta))
     83         logger.warning("max GPU memory: %.1f MiB" % (torch.cuda.max_memory_allocated() / 1e6))
---> 84         torch.cuda.reset_peak_memory_stats()
     85
     86         logger.warning(pretty.line)

~/anaconda3/envs/torchdrug/lib/python3.8/site-packages/torch/cuda/memory.py in reset_peak_memory_stats(device)
    236     """
    237     device = _get_device_index(device, optional=True)
--> 238     return torch._C._cuda_resetPeakMemoryStats(device)
    239
    240

AttributeError: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats'

It's likely because I'm using the CPU install, and it was easy enough for me to comment out the line
torch.cuda.reset_peak_memory_stats()

in
/torchdrug/core/meter.py.  So perhaps one could just add an if statement to see if the GPU is enabled?
Broadly speaking, is this code repo robust for CPU users or is it targeted at GPU only?

That's a good suggestion! The library is designed for both CPUs and GPUs, but we only tested on CPUs for debug purpose. I think we need to cover more real test scenarios for CPUs.

Update
Fixed. Now it tests well on basic training and inference. Please tell us if you find new issues about CPU installation.

@KiddoZhu, I have confirmed that the CPU bug was fixed with a fresh install.
However, when I was installing freshly, I still encountered some problems with Conda.  Before going into them (note they were different from the other issue report I raised  https://github.com/DeepGraphLearning/torchdrug/issues/1), where is the best place to document them?  I feel this thread is inappropriate.  Should I open a brand new thread?  Whatever you prefer.
For reference, I managed to install using the "from source" instructions.
conda create -n torchdrug2 python=3.7
conda activate torchdrug2
conda install pytorch torchvision torchaudio cpuonly -c pytorch-lts

conda install -c conda-forge rdkit

cd ~
git clone https://github.com/DeepGraphLearning/torchdrug
cd torchdrug

pip install -r requirements.txt
python setup.py install

Then I ran through the test steps in my original installation tutorial
except this time without needing to manually comment out "torch.cuda.reset_peak_memory_stats()".  It worked!

@rmurphy2718 Sorry for missing the reply. You can just open a new thread for that.
If you find some bugs in installation and have some (relatively) elegant solutions, you can also directly open a pull request to modify the document for installation : )


⚠ T:Riza Docs has degraded performance

In e41ea28, T:Riza Docs (https://docs.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 3992 ms

Resolved: T:Riza Docs performance has improved in 47eaef7.


Getting Invalid Column Name 'Created'

I have verified that the column exists and is set up in SSMS correctly. I have full functions of adminUI connected to an existing identity server, with this exception. I cannot edit or delete Clients from the adminUI without getting an error ==> Invalid Column Name 'Created'
ConfigurationController.cs
`        [HttpGet]
[Route("[controller]/[action]")]
[Route("[controller]/[action]/{id:int}")]
public async Task Client(int id)
{
if (id == 0)
{
var clientDto = _clientService.BuildClientViewModel();
return View(clientDto);
}
        var client = await _clientService.GetClientAsync(id);
        client = _clientService.BuildClientViewModel(client);

        return View(client);
    }

`

Did you correctly apply new db changes via migrations?

I did. I ran updates hoping this would correct the issue, and it did not. I have verified that I can create new records into the db, delete, update, etc.. just not for clients.
I used the Debug>Windows>Exception Settings> Common Language Runtime Exceptions checked on and was getting breaks due to cannot find 'dbo.logs' which is where I am currently inspecting why this is. I used a different schema name => 'IdentityServer' so it should be looking for IdentityServer.Logs not 'dbo'. I applied the builder.HasDefaultSchema("IdentityServer"); changes to my dbContext as well as the configuration/persisted grant db context files storeOptions.DefaultSchema = "IdentityServer";
Thanks btw for your fast response! This is awesome! I've learned a ton through trying to setup this adminUI!

as soon as it hits the line
`var client = await _clientService.GetClientAsync(id);
client = _clientService.BuildClientViewModel(client);
        return View(client);`

it breaks. I have confirmed that it knows the id of the client.

I tried adding a client to see if in the db, there was a record in the Created Column.
When I hit the Save button to create a new client, I get the invalid column name error,
however, when i look in the db, the client i tried to create is there, with a value in the Created column.
and when I run the adminUI again, the created client is there..

Solved: I had an existing identity server, with custom schema, and not all the tables had the columns the adminUI was expecting. Needed to add a 'Created' column in ClientSecrets and ApiSecrets, but was able to get everything up and running.
Thanks for the help!

Thanks for your feedback.


significant performance improvement by making availableMethods in MethodPool a Map/HashMap

We are using jaxrs-analyzer-maven-plugin/jaxrs-analyzer to generate swagger for our service endpoints.
The generation process got exponentially slower with every service class we added to the scanned packages.
When it got unbearable we investigated and found the culprit in the class
com.sebastian_daschner.jaxrs_analyzer.analysis.bytecode.simulation.MethodPool
There the LinkedList availableMethods is being used as 'cache' which scanned/iterated completely for every get(MethodIdentifier) in the worst case => O(n).
Also addProjectMethod does not check if a method is already in the list, which results in duplicate entries.
This resulted in a runtime of
~ 160s with 28512 entries.
Making availableMethods a Map/HashMap resulted in a runtime of
~ 14s with now only 7769 entries.
=> both faster and smaller memorywise
To make using a HashMap possible we introduced a method
MethodIdentifier getIdentifier()
in the interface com.sebastian_daschner.jaxrs_analyzer.model.methods.IdentifiableMethod
and implemented it for all classes implementing IdentifiableMethod.
The resulting swagger.json was almost the same but for one minor difference;
On of the scanned services returns a object with a member
private Map<Integer, List<Message>> messages
With the original code this was translated to
"messages": {
      "type": "array",
      "items": {
            "$ref": "#/definitions/Messages"
      }
}

which is close, but still...
in the changed code it became
"messages": {
      "type": "object"
}

really can't explain is the reason for this is...
If you are interested I could create a pull request, but since it changes your design I wanted to run it by you.
Cheers & thanks for this very nice tool!

Hi there,
Thanks for using this tool and raising awareness! Yes, a PR would help me a lot, either for merging it directly or as a starting point.

Ok - we are nearing a release, so time is a little short, but i'll try to do a PR with our modifications next week.


neon: 0.31.0 -> 0.31.2

Motivation for this change
https://github.com/notroj/neon/blob/0.31.2/NEWS
Things done

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

[x] NixOS

[x] Fits CONTRIBUTING.md.

That can go straight to master.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111877 run on x86_64-darwin 1

25 packages marked as broken and skipped:

almanah
aravis
fractal
gnome-podcasts
gnome-recipes
gnome3.nautilus-python
gtk4
gtkd
mate.atril
mate.mate-user-guide
mopidy-musicbox-webclient
newsflash
odpdown
onboard
picard
python37Packages.wxPython_4_1
python38Packages.wxPython_4_1
python39Packages.wxPython_4_1
radiotray-ng
run-scaled
setzer
surf
termplay
vuze
yaxg

9 packages failed to build and already failed to build on hydra master:

balsa: log was empty
webkitgtk: log was empty
gnvim: log was empty
libmusicbrainz: log was empty
luakit: log was empty
pdfpc: log was empty
pithos: log was empty
rednotebook: log was empty
sayonara: log was empty

25 packages failed to build and are new build failures:

(gnome3.webkitgtk): log was empty
gnvim-unwrapped: log was empty
gst_all_1.gst-editing-services: log was empty
gst_all_1.gst-plugins-bad: log was empty
gst_all_1.gst-rtsp-server: log was empty
haskellPackages.reflex-dom: log was empty
haskellPackages.webkit2gtk3-javascriptcore: log was empty
(libmusicbrainz3): log was empty
libmusicbrainz5: log was empty
mopidy-iris: log was empty
mopidy-local: log was empty
mopidy-mopify: log was empty
mopidy-mpd: log was empty
mopidy-mpris: log was empty
mopidy-scrobbler: log was empty
mopidy-somafm: log was empty
mopidy-soundcloud: log was empty
mopidy-spotify-tunigo: log was empty
mopidy-tunein: log was empty
mopidy-youtube: log was empty
neon: log was empty
python37Packages.pysvn: log was empty
python38Packages.pysvn: log was empty
python39Packages.pysvn: log was empty
qutebrowser: log was empty

builder for '/nix/store/446m0w4dj9gwnaxpw3va3bkm55vy451m-libcanberra-0.30.drv' failed with exit code 2; last 10 log lines:
CC       libcanberra_gtk3_module_la-canberra-gtk-module.lo
canberra-gtk-module.c:28:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
^~~~~~~~~~~~
1 error generated
.
make[2]: *** [Makefile:1326: libcanberra_gtk3_module_la-canberra-gtk-module.lo] Error 1
make[2]: Leaving directory '/private/tmp/nix-build-libcanberra-0.30.drv-0/libcanberra-0.30/src'
make[1]: *** [Makefile:546: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-libcanberra-0.30.drv-0/libcanberra-0.30'
make: *** [Makefile:408: all] Error 2
error: --- Error -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
nixbuilder for '/nix/store/fd3h25c6yg5sg5wbi7sz045lqaxx8910-libspotify-12.1.51-Darwin-universal.zip.drv' failed with exit code 1; last 7 log lines:
trying https://developer.spotify.com/download/libspotify/libspotify-12.1.51-Darwin-universal.zip
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download libspotify-12.1.51-Darwin-universal.zip from any mirror
error: --- InvalidPath -----------------------------------------------------------------------------------------------------------------------------------------------------------------
nixpath '/nix/store/qyq452k41n0diyyr117zvrd34wqyhv6b-libspotify-12.1.51-Darwin-universal.zip' is not valid


Better handling of Ceramic Gateway errors

Ceramic seems to throw random 502 Bad Gateway error messages.
See here:
/data/apps/verida-js/node_modules/@ceramicnetwork/http-client/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13
            throw err;
            ^

Error: HTTP request to 'https://ceramic-clay.3boxlabs.com/api/v0/streams/k2t6wyfsu4pg08bfcq1kq7ceunq5392pw4w4mzwkasflbc6u9w4yd5z5hcn1ay?sync=0' failed with status 'Bad Gateway':
<title>502 Bad Gateway</title>

502 Bad Gateway

    at Object.fetchJson (/data/apps/verida-js/node_modules/@ceramicnetwork/common/src/utils/http-utils.ts:19:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at Function._load (/data/apps/verida-js/node_modules/@ceramicnetwork/http-client/src/document.ts:109:23)
    at Document._syncState (/data/apps/verida-js/node_modules/@ceramicnetwork/http-client/src/document.ts:59:19)
[nodemon] app crashed - waiting for file changes before starting...

Need to explore how to handle these and eventually log / track them for monitoring purposes.
Need to consider spinning up our own Ceramic testnet infrastructure.

I think this is resolved, but will wait and see how it goes in the test environment before closing this issue.

No resolved, still occurring.

Testnet has been updated with this branch to try and catch this error:
https://github.com/verida/vault-auth-server/tree/bug/9-ceramic-gateway-error

Still not working.

For now, will start the service using PM2 so it will auto-restart.
https://pm2.keymetrics.io/

PM2 is installed on testnet server.
Example script added to the feature branch: https://github.com/verida/vault-auth-server/blob/bug/9-ceramic-gateway-error/prod.sh
Logs can be checked by:
cat ~/.pm2/logs/vault-auth-server-error.log
cat ~/.pm2/logs/vault-auth-server-out.log

That still didn't work.
The server crashed and PM2 didn't detect it and restart.

Have created a new babel build process and a package.json script to run the server directly via node instead of nodemon.
This is now running on testnet.

This still didn't work either.
The server crashed and PM2 still didn't detect it and restart.

Logs indicated contextConfig was undefined after catching a Ceramic error which caused the crash.
Have applied a fix and deployed to testnet.

There were multiple issues, however I believe all the errors are now being caught and handled with better error messages which prevents the application from crashing.
It appears pm2 doesn't detect when the app actually crashes, however it's a useful tool so I'll leave it as the recommended way to run the server.


Added search and filter options for contributions table

Description

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Changes

Please which part of the project your changes affect ?

[ x] Frontend (Templates, CSS, JS)
[ ] Backend (Dancer2, api-docs, Dockerfile)

Thanks for your contributions. @fahad-albasrawie


More Metadata?

Would it be possible to view other track metadata? For example, release date, composer, record label, barcode, catalog number, genre.
-Thank you

A couple questions that could help getting this feature right (one day):

What format do you use to encode said metadata? (I assume ID3v2)
Do you usually look this up for songs you are currently listening to, or while browsing the collection looking for something to play?

What format do you use to encode said metadata? (I assume ID3v2)

Yes, exactly. I'm thinking of ID3v2. I'm using Beets quite a bit where ID3v2.4 is the current default.

Do you usually look this up for songs you are currently listening to, or while browsing the collection looking for something to play?

A typical use case is browsing the collection looking for a specific recording to play or while building a playlist.
Since Polaris is so good at handling large collections I'm thinking it would be especially useful in musical archives, radio stations and libraries. To that end I imagine an Advanced Search option that offers various metadata as search fields.


Configurable food

Instead of hard coding food types why not make it configurable? We started feeding baby with different food now, vegetables, and found out that there is no way to add any other food but milk or formula. It would be great if we could add custom food types.

PR #80 would add some more hardcoded food, but I am inclined to lean more towards this approach (configurable foods) if this change is to be made. This would be a decently significant change and I'm open to a PR if someone wants to take it on.


Security issue raised with OSVDB

Please see http://www.osvdb.org/show/osvdb/117461 for more details.

Sorry. Dupe.


FB Canvas support is not compatible with Python3

In https://github.com/omab/python-social-auth/blob/master/social/backends/facebook.py#L177-L196 the code confuses str with bytes many times, requiring several fixes to work with Python3.

PR merged.


[BUG] no ui option to choose

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
i checked everywhere for the option in the settings and couldn't find it. earlier versions it was there but now its gone. please help
Bloxstrap Log
No response

Roblox removed/disabled all of the fastflags related to the old UI's.

oh okay thank you


Complete docs examples and unit tests

We haven't jsdoc examples for many methods, all marked with // TODO.
Actually, these examples are intended not only for documentation but also unit tests, so we need them to release v1.

v1 released without all docs, still needing it


fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected convertion to conversion
Please review the changes and let me know if any additional changes are needed.

@skaunov Hi! Apologies for the inconvenience. I just wanted to check if there’s anything I can improve in my pull request. Please feel free to ask any questions or let me know if any changes are needed to meet the project's merge requirements. I’m happy to make adjustments!

No problem! I hash-tagged that for quick orientation to a relevant part, hence I bet there's more occurrences of that. Could you change them together in this contribution?

No problem! I hash-tagged that for quick orientation to a relevant part, hence I bet there's more occurrences of that. Could you change them together in this contribution?

Yes, of course! What exactly needs to be changed?

other occurrences of "#convertion"
On 2024-12-03 16:34, leopardracer wrote:

No problem! I hash-tagged that for quick orientation to a relevant
part, hence I bet there's more occurrences of that. Could you change
them together in this contribution?

Yes, of course! What exactly needs to be changed?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you were mentioned.Message ID:
@.***>

Links:
[1]
https://github.com/plume-sig/zk-nullifier-sig/pull/119#issuecomment-2514898862
[2]
https://github.com/notifications/unsubscribe-auth/APXLOT47G54NV2VKHDY2WPT2DXFSHAVCNFSM6AAAAABSZ2Y32WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJUHA4TQOBWGI

@leopardracer please stop submitting typo correction PRs and wasting maintainer time.


[Event Request] codeunit 5705 "TransferOrder-Post Receipt" OnRunPostGenJnlLineBuffer

        TransLine.LockTable();
        if WhsePosting then
            WhseEntry.LockTable();

        TransLine.SetFilter(Quantity, '<>0');
        TransLine.SetFilter("Qty. to Receive", '<>0');
        if TransLine.Find('-') then
            repeat
                TransLine.Validate("Quantity Received", TransLine."Quantity Received" + TransLine."Qty. to Receive");
                TransLine.UpdateWithWarehouseShipReceive;
                ReservMgt.SetReservSource(ItemJnlLine);
                ReservMgt.SetItemTrackingHandling(1); // Allow deletion
                ReservMgt.DeleteReservEntries(true, 0);
                TransLine.Modify();
                OnAfterTransLineUpdateQtyReceived(TransLine, SuppressCommit);
            until TransLine.Next() = 0;
        // DINNL <<
        DINOnRunPostGenJnlLineBuffer(ItemJnlPostLine);
        // DINNL >>

        if WhseReceive then
            WhseRcptLine.LockTable();
        LockTable();
        if WhseReceive then begin

[IntegrationEvent(false, false)]
local procedure DINOnRunPostGenJnlLineBuffer(var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Exception processing small tail

Sometimes what is left over after completing a packet is not long enough to be the packet header for the next packet, leading to seemingly random errors. The same query may even succeed the next time.
The larger the return data the more likely this bug could slip in.
Example exception looks like:
Tds.Connection.query(pid, "SELECT TOP(1000) * FROM [Clients] ORDER BY [ClientId] ASC", [])
** (EXIT from #PID<0.110.0>) an exception was raised:
  ** (MatchError) no match of right hand side value: <<4, 0, 16, 0, 0, 52>>
    (tds) lib/tds/connection.ex:286: Tds.Connection.new_data/2
    (tds) lib/tds/connection.ex:229: Tds.Connection.handle_info/2
    (stdlib) gen_server.erl:593: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:659: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:237: :proc_lib.init_p_do_apply/3

PR #9

Merged


how can i change the key to open it?

how can i change the key to open it? i need help

There is currently no way to set a custom key to open. The global hot keys are listed in the settings and cannot be changed. I'll add this suggestion as an enhancement.


I have a question about editProps action in column-formatting.schema

Hi all,
I am trying to use the following sample in order to add a button in a list view to open the edit property form (without having to navigate to contextual item menu):
https://github.com/pnp/sp-dev-list-formatting/blob/master/column-samples/generic-rowactions/README.md
The action editProps works great on SP Online but not in SP 2019 on-prem. I have investigate the following schema for SP2019:
https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json
and I cannot find the editProps action. I imagine that's the main reason it's not working on SP2019.
Do you know if there is a way to make the editProps working in SP2019 ?
Otherwise, is there a library or an action in spfx to achieve that ?
Thank you very much for your help
David

As you stated, editProps is not defined in the schema and therefore not available in SharePoint Server 2019.
SPFx, but please check the following sample collection for the one you are looking for. If not, sorry, please create an issue in the SPFx repository.
https://pnp.github.io/sp-dev-fx-webparts/
https://github.com/pnp/sp-dev-fx-webparts/
https://github.com/pnp/sp-dev-fx-extensions


Correctly display <author> tag in section headers

Steps to Reproduce

Add factorio blog RSS: https://www.factorio.com/blog/rss
Go to latest blogpost
Scroll down and check section headings

Expected behavior
Section headings contain author name in the <author> tag.
This should be rendered underneath the heading.
Screenshots or screen recording
In that case boskid is the author

Device, Operating system, and app version
No response

@wvffle Thanks for the feed url and the detailed bug report. I have a fix that I'll include in the next release. Here's a sneak peek of the new styling that solves for the author tag.

Fix is in the latest release, 2024.07.1016. It'll be visible in full content mode.


Image resizer - allow multiple resize at once

Description of the new feature / enhancement
A small improvement would be to allow ticking multiple resize at once in Image Resizer
Scenario when this would be used?
My workflow requires to generate multiple size of the pictures, which needs to go in and out of image resizer a few times. Getting in once, ticking all the good sizes and having it generated at once would be a nice quality of life improvement.
Supporting information
No response

Issue is a duplicate
Thank you for your issue! We've linked your report against another issue #4207
Thanks for helping us to make PowerToys a better piece of software.


Add Heatmap to legacy

Checklist

[ ] For UI or styling changes, I have added a screenshot or gif showing before & after
[ ] I have added a changeset

Should this be pointing to legacy branch instead of next?

@ItsMeBrianD presumably this needs a changeset too?
Or do we want to manually version legacy changes?

Dev workspace is going to fail because USQL adds build:sources step which does not exist in legacy

Or do we want to manually version legacy changes?

We can try changesets but we might want to fall back to manual versioning to ensure we don't conflict


Bfellows/but could this work

can we reference config objects?

Seems to work. Integrating.

Seems to work. Integrating.


Update srdf, srdf4j, srdfjena to 0.1.104

Updates

es.weso:srdf
es.weso:srdf4j
es.weso:srdfjena

from 0.1.102 to 0.1.104.
GitHub Release Notes
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!

Files still referring to the old version number
The following files still refer to the old version number (0.1.102).
You might want to review and update them manually.
version.sbt

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "es.weso" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #463.


Unable to install appmetrics

Hello All,
I could able to install appmetrics on windows laptop. I am using the node V10.20.1
I am encountering the below error which attempting to install appmetrics
internal/modules/cjs/loader.js:807
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified procedure could not be found.
\?\C:\Users\janaki\node_modules\appmetrics\appmetrics.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (C:\Users\F2531472\node_modules\appmetrics\index.js:44:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
Looking for your resolution. Can someone please guide if i am missing any.

Hi @Janakiramkjr,
This looks like you haven't installed appmetrics. To do so, you either need to run npm install appmetrics in the directory where your Node.js application code is, or if you want to install globally (so all applications anywhere can use appmetrics) then run npm install -g appmetrics.
If you have done this already can you tell me where your Node.js application is (directory), and if there were any errors encountered during npm installation.

Hello Matt,
Thank you for the quick response. I have done in installation directory but still i could able to see the same error.
C:\Program Files\nodejs>npm install -g appmetrics
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Hi @Janakiramkjr,
Can you post the console output you got from npm install -g appmetrics please?
Also can you post the lines in your Node.js code where you are requiring and setting up appmetrics please.

Hello Matt,
Please find the below console output when i have install appmetrics
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
I was trying start a service in IBM API Connect.
Please do let me know if you need any information.

Hi @Janakiramkjr,
I think the output above is what you get when you try to start your service.
I would like the output obtained when you ran npm install -g appmetrics, to check to see if the installation went smoothly.
I don't know anything about IBM API Connect, but if you can also send me anything about the service you are trying to start (like it's name, or maybe a documentation page on how to use it) that would assist me.

Hello Matt,
No this error is not related when i am starting the service, i am getting this error when i am trying to install appmetrics.
Below is the link which i am following for creating a loopback service in API Connect.
https://www.ibm.com/support/knowledgecenter/en/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/tapim_cli_install.html
Please let me know if you need more information.

Hello @Janakiramkjr ,
So when you issued the command npm install -g appmetrics in an Administrator shell, you got the output about not being able to find appmetrics/start? And that's the whole output? I ask because I am expecting to see some native code compilation in the output of that command.
The link above does not mention installing appmetrics, only apiconnect. I am not sure what you are trying to do.

Hello Matt,
Yes you are right i am issuing a command npm install -g appmetrics in a command prompt (which i have opened as an administrator) i am getting the error.
I dont know why it was referring to appmetrics.

Hello Matt,
I have installed Node version v10.20.1 in my laptop. Do we have any issue with this version of node. Please advice.

Hi @Janakiramkjr
So here's what I get when I issue that command - this is the kind of output I'm expecting:
npmAppmetricsInstall.txt
There are no known issues with appmetrics on Node.JS v10.21.1 (https://travis-ci.org/github/RuntimeTools/appmetrics/jobs/686469656)
Perhaps try running npm uninstall -g appmetrics to clean up what's there and then install again?

Hello Matt,
Please find my log
Microsoft Windows [Version 10.0.18363.778]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>node -v
v10.20.1
C:\WINDOWS\system32>npm install -g appmetrics
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
C:\WINDOWS\system32>
Even when i am trying to issue uninstall please console log
C:\WINDOWS\system32>npm uninstall -g appmetrics
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'appmetrics/start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
C:\WINDOWS\system32>
I dont know what has happend. Do you want me to uninstall node and restart the laptop and install back the same node please advice.

@Janakiramkjr Please try running npm uninstall -g appmetrics to clean up what's there and then install again.
If that doesn't work, please try deleting C:\Users<userName>\AppData\Roaming\npm\node_modules\appmetrics and then installing again.

Hello Matt,
No luck. I followed the steps stated in your message but no luck. Something messed up. I have search node_modules in my C drive and i dont find any but still i dont know the reason why i am getting this error.
Any inputs please

Hello Matt,
Found the issue. I have set the Node_Options in environment variable which is creating the issue. I have removed it and when i have issued the command it worked. I have to see whether i can start my service or not. Thank you for your prompt responses.

Glad you finally got to the bottom of it @Janakiramkjr - I have to admit I was running out of ideas! If your problem is solved would you close this issue please?


BL808 running problem

Hello!
I have a Pine64's Ox64 board (with 2MB flash) and I don't run helloworld app.
I have:

bl_mcu_sdk master branch
riscv64-unknown-elf-gcc (Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906) 10.2.0
bflb-mcu-tool 1.8.1

What I do:

clone bl_mcu_sdk
copy bsp/board/bl808bk to bsp/board/Ox64
change xip_memory LENGTH from 32M to 2M in both linker scripts
enter into examples/helloworld
make CHIP=bl808 CPU_ID=m0 BOARD=Ox64
bflb-mcu-tool --chipname=bl808 --port=/dev/ttyUSB0 --baudrate=2000000 --firmware build/build_out/helloworld_bl808_m0.bin
flash writing and verifying success
after reboot board I have not any messages in serial monitor (GPIO14/15 2000000 baud)

I don't have JTAG adapter for debug MCU startup yet.

Hi @elektro-NIK , this is due Flash memory misconfiguration.
Try this: https://github.com/bouffalolab/bl_mcu_sdk/issues/32#issuecomment-1345646038

@gamelaster I try your instruction, but my board still not work.
cat $HOME/.local/lib/python3.10/site-packages/bflb_mcu_tool/utils/flash/bl808/flashcfg_list.csv | grep ef6015

ef6015,W25Q64JW_ef6017.conf

cat $HOME/.local/lib/python3.10/site-packages/bflb_mcu_tool/chips/bl808/eflash_loader/eflash_loader_cfg.ini | grep -A 4 FLASH_CFG

[FLASH_CFG]
flash_id = ef6015
#bit 7-4 flash_clock_type: 0:120M wifipll, 1:xtal, 2:128M cpupll, 3:80M wifipll, 4:bclk, 5:96M wifipll
#bit 3-0 flash_clock_div
flash_clock_cfg = 0x43

I see on Pine64 wiki page are wrong datasheets for flash chips: GigaDevice instead of Winbond on the board. I will try to edit this page.

Hmm, that's weird. Can you please take a picture of SPI Flash chip? Thanks

I have managed to compile and flash the Hello World example on the 16MB version but it didn't work on the 2MB version.
Do you have the 16MB version available to test that one?

Yep, I have the same behavior. All works on 16MB and not works on 2MB board.

I'm working on it. It is 100% issue with flash configuration, because BootROM can both read and write to SPI Flash.
Only when the firmware is executed, the special configuration is used to use higher speed clocks and flash related modes to have higher transfer speeds, and this is not properly configured, so flash don't work at all.


Removing the call to the deprecated Interpreter constructor on the Speech Command example for Android

Replacing the Interpreter constructor with the deprecated signature public Interpreter(MappedByteBuffer byteBuffer) by the one with the supported signature public Interpreter(ByteBuffer byteBuffer), by just updating the returned type of the method loadModelFile(AssetManager assets, String modelFilename) to ByteBuffer.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Hi Michel,
MappedByteBuffer is a subclass of ByteBuffer. There is no problem when deprecated function Interpreter(MappedByteBuffer) is deleted, and it will call the equivalent Interpreter(ByteBuffer) directly. So it is not needed to make a change essentially.

Hi Tian,
I see. If that is the case I am going to close this PR.
Thank you!


DDcloud find image by name not working

API backend has changed. It could no longer find OS image by name.

Discovered issue with api version. Upgrade to use v2.9. OS could be found by name successfully.


Add links to menu

Link documentation to the website menu (using parent and grand_parent).

I no longer want the file "Design your own run protocol" to be visible, because we've gone away from the idea of letting people design their own and instead created several options to pick from. That's why I removed the header info. I left the document just in case we ever decide to go back to that concept. Do I need to delete the file entirely in order to prevent errors with the website? Or is there a way to edit the header so it won't show up?

The website uses all md files for the documentation. Without the header, this page shows up as a top menu item next to "Generation 2…4".
For the advanced users, this documentation is very helpful. Maybe you can just add a big "warning: only for advanced users" on top.
If you really want to remove it, you should delete the file.

Okay, I will leave it up but I'll need to update it and make sure it's noted at top that it's not recommended except for advanced users. I'll add a github issue to remind myself to get it updated, when it is updated I'll let you know to refresh the website. Thanks!