Converter not running correctly on win 10

use cmd
Converter.exe D:\pointclouds\1608255034200.las  -o D:\pointclouds\data_converted11 --generate-page pageName
Expect to generate a lot of small bin files and some sample HTML, JS files
Actually, generate hierarchy.bin ,metadata.json,octree.bin,tmpChunkRoots.bin
have no html files and octree.bin too big.
is that correctly ?

That is correct.  PotreeConverter 2.0 only makes those files.  Make sure you follow the instructions in potree  In Potree, modify one of the examples with following load command:  If you download the latest PotreeDesktop you should be able to view these files.
PotreeDesktop

That is correct.  PotreeConverter 2.0 only makes those files.  Make sure you follow the instructions in potree  In Potree, modify one of the examples with following load command:  If you download the latest PotreeDesktop you should be able to view these files.
PotreeDesktop

tks for your answer, can you tell me which PotreeConverter's version can generate like example lion_takanawa_las?
split a big las files to many small las files and index file cloud.js.

tks for your answer, can you tell me which PotreeConverter's version can generate like example lion_takanawa_las?
split a big las files to many small las files and index file cloud.js.

@lastshot-E You want PotreeConverter 1.7. The older version has better caching behavior but it is single threaded and is significantly slower during conversion than version 2.0 and up. Also, operations like uploading the LAS/LAZ/binary files to your server can be much, much slower if you have many files.
Hope this helps. Good luck.

@lastshot-E You want PotreeConverter 1.7. The older version has better caching behavior but it is single threaded and is significantly slower during conversion than version 2.0 and up. Also, operations like uploading the LAS/LAZ/binary files to your server can be much, much slower if you have many files.
Hope this helps. Good luck.

tks for your answer,it works to me

tks for your answer,it works to me


Overwatch Bypass Config Osiris

Inspired by this config (here : https://www.youtube.com/watch?v=Oex9kmj_cyQ
I have made an even more legit one that gives non-negligible benefits, all in the right dosage.
Disclaimer: Don't use this config if you're not good at playing without cheat, this config won't give you super powers either, you'll just be better.
Don't use chams/wallhack/glow, you're likely to get banned overwatch, as well as the player's field of view or the triggerbot, even with great care, that's why my config doesn't contain any.
You can activate the bhop, but use it sparingly. I let you discover the rest of the config, good game to you.
https://anonfile.com/Lcy8Qdr6oc/fullegit

Valve has been flagging people with aimbot since, I don't think its a good idea to use aimbot if you want super legit.

vacnet has been flagging people with aimbot since, I don't think its a good idea to use aimbot if you want super legit.

Really, since when? In my config the FOV is super low (0.40), I don't know if it can be flagged by vacnet

vacnet has been flagging people with aimbot since, I don't think its a good idea to use aimbot if you want super legit.

Really, since when? In my config the FOV is super low (0.40), I don't know if it can be flagged by vacnet

That's a bit OTT, I play with 1.5-2 fov on rifles and smg's with 12 smooth and 2.5 on pistols with 8 smooth, for pistols bone is set to head and rifles/smgs to sternum and it's literally undetectable as long as your movement and everything else is great and you don't use wallhack.
I also have standalone rcs code in my osiris paste which makes it look even more legit. I've played like 5-10 matches a day for months with the same config and no ban

its never the config that bypass OW because you will get OW when someone is reporting you and not just 1 person.. if too many player report you, your CSGO account will get Untrusted and will matched up againts well C H E A T E R. im using aimbot, wallhacks(chams, glow, ESP) player who use the cheat  is the problem, remember config doesnt bypass OW

if too many player report you, your CSGO account will get Untrusted and will matched up againts well C H E A T E R.

I've been cheating in csgo since 2015 and I have never once gotten an untrusted ban. And I can assure you I get reported every game*. I was even blacklisted in bansystem and zonerbot on some of my accounts for a limited time. That means I got reportbotted literally every game I played (I checked it myself, bots were connected and matched with the logs. Not some fake reportbot).
Also to mention I'm green trust on my main, as well on my 4 alt/semirage prime accounts. I've been green for about 1 year now. Reports doesn't affect my trustfactor. One of my accounts dropped to red trust for a short period of time after I got grief banned. After playing a few matches I was green again.
 I have NEVER heard of anyone nor gotten myself an untrusted ban due to reports. If it worked like that anyone could reportbot an innocent player and boom, untrusted ban. Untrusted bans are usually applied due to unclamped angles, injectors etc. Reports won't get you untrusted banned nor will it get you matched against cheaters, BUT it can very well affect your trustfactor, which yes might get you matched up against other cheaters but not necessarily. For me personally reports doesn't affect my trustfactor but I have friends who gets red again after x amount of reports. Last time I got banned on a prime accounts was more than a year ago. Afaik vacnet detects banned accounts or something from your pc which might affect your trustfactor. I must have been in overwatch many times without getting banned because I know very well how to hide it. Overwatch can't prove that I am cheating. I think this is why I'm solid green, but what do well I know.
Now if you for some reason don't believe me or whatever lmk. I can of course prove all of this, link my accounts and have people vouch for me.
I thought you should also know that I don't use Osiris. I've been using gamesense for more than one year until I got forum banned a little while back. After that I've been using novolinehook until this day (no sub right now as I'm only playing call of duty).
*I semirage pretty hard in matchmaking every game. legit antiaim, magnettrigger, clantag, name spam and other lua scripts for the memes. I couldn't care less about reports honestly. I also usually always queue in a 5 man cheater stack which again leads to the enemy team report us all most games.

@Shaxzy I think he meant a red trust factor instead of untrused. If too many players report u then your trust factor will be lower and lower. U can't see your trust factor but other member of your lobby can. If their trust factor is also red, then they won't get a message and they'll think that they're green. keep in mind that other factors in-game and outside can impact your trust factor greatly (ex. new account, rank, playtime, etc). Untrusted bans can only happen if vac detects your shitty public injector or the injection is detectable. U can also get a untrusted ban if you have a bad coded aa (unclamped angles) or a bad coded aimbot. Congratulations for hiding your cheats really good and having no overwatch bans.

vacnet has been flagging people with aimbot since, I don't think its a good idea to use aimbot if you want super legit.
Not possible. My legit settings are 1.64 fov rifles and 1.92 fov pistols, 90ms backtrack and i never got banned. Also i've used semirage osiris config for a month on prime alt without getting banned. I literally get reported every match and nothing happens. If you don't use Autowall/very high fov/rage and aa it's really hard to get banned.
[Semirage cfg (https://cdn.discordapp.com/attachments/697676786288558110/701229632829259896/semirage)
Legit cfg
Used both of these on main and alt for 200 hours or more. never been banned.

@Or3nges Fair enough. I was drunk when I read it lol


Allows a client app to supply different strings

Allows a client app to override getMessage(int reason) and/or getForgotText() to supply different strings (possibly for localization).
Squashed PR of "Feature/supply strings #13"

Good idea :)
Could you just make the two functions private instead of public (this is some internal methods of the class, it has not to be public normally).
Is there a reason for you to replace android:text by tools:text?
Thanks in advance.
Cheers,
Olivier

InitText() us called when the layout is instantiated and sets the text value. No need to set it in xml. tools:text shows it in the ide but compiles it away.

The two functions are meant to be overridden in any subclasses to get the desired new functionality. We would not want to make them private. I would think public is acceptable as calling a getText() method would only return you the text you overrode. At very most we could make them protected but I don't see a reason. Thoughts?

Indeed if it is meant to be overridden, then no private allowed.
Protected was a luxe, but it should be ok like that.
I'm merging this one (waiting for the other one to be merged to publish a 1.2.0 on the maven repo).
Thank you!
Cheers,
Olivier


Enable Automatic Package Discovery

edgetest version 2024.2.0
Description
With custom package discovery, Edgetest installations include both the source and the tests directory. Removing configuration of packages in setup.cfg reverts to automatic package discovery, where the tests directory is implictly excluded.
*I believe this is also present in the other edgetest projects (conda, hub, pip-tools), I can make follow-up PRs in those as well after this PR is merged
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] New and existing integration tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ekn111 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.rhaffar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


HPXML updates to pools and spas

There's a coming HPXML breaking change to the inputs for pools and spas that we'll have to handle: https://github.com/orgs/NREL/projects/78?pane=issue&itemId=39882114 .
This is going to break something in ResStock when it gets integrated, that's probably about a month out though. Just wanted to highlight this so when we start seeing hpxml files that break the workflow we know what we'll have to update.

Fixed with #132


[dv/chip] Update chip-level LPG testplan

This PR adds an enhancement to alert's LPG testplan.
It adds to scenarios where rst/clk mgrs can turn off IP's clock or
toggle reset.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

I will discuss with designers then update this PR.

Thanks, LGTM!


Sample Management Pack: vCenter MP extension

Create an easily extensible sample of adding metrics to the vCenter MP

VM Disk Consolidation status
Network stack / gateway properties

[ ] Add to samples
[ ] Add README explaining how to use (focus on build to start, with pointers to our other README guides if they want to extend/edit)

[ ] Add links to pre-reqs
[ ] Add instructions for mp-build
[ ] Add screenshot (and/or nice text description) showing what the sample does by default

[x] Add SSL
[x] Ensure host system uniqueness across VCenter environments

SSL Support is present, but we are disabling certificate verification for now.
We spent some time trying to get it to work, but were unable to force the SSL Context to recognize a custom root certificate, which we would need for verification of a self-signed certificate.


Identify new image providers

Email sent with the details!

I also added did some research and added potential providers to the (internal only) spreadsheet, closing this issue.


Make labels case insensitive

Labels are not yet case insensitive, though they should be to avoid duplicate entries

StringUtil::Lower()

Case insensitive map


If all fields filled in for submit, upload should be enabled

If all fields are initially filled in for a submit, upload should be immediately enabled.

Yup, I noticed this bug too.

Fixed.


إضافة progressbar لسكريبت كليجا

السلام عليكم
Is it possible to add a progressbar to kleeja script when the files are uploaded
thanks

السلام عليكم Is it possible to add a progressbar to kleeja script when the files are uploaded
thanks

وعليكم السلام،
We have added a progress bar feature for file uploads in the upcoming version 3.1.7 of Kleeja. This version is currently in pre-release. Stay tuned for the official release.


source: introduce mock source for unit testing

Is your feature request related to a problem? Please describe.
Currently, there is no way to write unit tests for streaming source in source executor.
Describe the solution you'd like
A MockSource could be introduced, which mocks the behavior of external source.
Describe alternatives you've considered
No response
Additional context
No response

Then what is the expected behavior? I think datagen is what you are looking for.

Then what is the expected behavior? I think datagen is what you are looking for.

datagen is not friendly for UT.

Due to our code design, if we are to construct a mock source for source executor, we must pass a Receiver (or sth. alike) into connector properties (which impls Serialization & Deserialization) before the construction of the source executor. Via the offline discussion with @tabVersion , there are 2 solutions for now:

Pass an HTTP endpoint (not good to include such network stuff in unit testing)
Construct the Receiver beforehand and pass its memory address (seems hack)

Wonder if there's any better solution for this.
cc. @xxchan @fuyufjh @BugenZhao

To test the streaming operators, I think "append-only table source" is enough, which allows you to insert values to form an append-only stream.
Can you please explain more about the motivation for this issue?
By the way, Tao has once proposed to introduce an HTTP endpoint to allow users to POST data (e.g. JSON) into RisingWave. It sounds similar, but it's a user-facing feature rather than designed for testing.

Just guess: If you are thinking about testing watermark, the append-only table source should support it after https://github.com/risingwavelabs/risingwave/issues/6952 is done.

To test the streaming operators, I think "append-only table source" is enough, which allows you to insert values to form an append-only stream.
Can you please explain more about the motivation for this issue?
By the way, Tao has once proposed to introduce an HTTP endpoint to allow users to POST data (e.g. JSON) into RisingWave. It sounds similar, but it's a user-facing feature rather than designed for testing.

This is just for testing source executor, and is not for testing watermark. For now, we use datagen for source executor ut, which generates data in a background task asynchronously following a predefined pattern. I'm actually thinking of a foreground way of generating source data, and this issue limits the scope to unit testing.
Actually, datagen is working well in source executor ut (though not perfect). Maybe we can keep this as it is, and instead of implementing the mock source, we could broaden the scope beyond unit testing by introducing the HTTP source.


RQ worker class with cross platform compatibility

Added rq-win class to flojoy package so that we don't need to check and install it when running on Windows platform.

There are Windows GitHub runners that we can use
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
On Wed, Jun 28, 2023 at 10:54 AM Sharif Corinaldi @.***>
wrote:

@.**** requested changes on this pull request.
Thanks for doing this! Could you add testing of some kind? Ideally
something that shows the behavior before and after your fix?
(There are so few folks running Windows on this team, so I'm very keen to
make sure there's an automated, easy way to verify FJ works on Windows as
expected)
In requirements.txt
https://github.com/flojoy-io/python/pull/46#discussion_r1245351143:

@@ -64,3 +64,4 @@ uptime==3.0.1
urllib3==1.26.15
wrapt==1.15.0
zope.interface==6.0
+times

No version?
—
Reply to this email directly, view it on GitHub
https://github.com/flojoy-io/python/pull/46#pullrequestreview-1503314327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOHQ2WRBAK7CGXOXS5NJPLXNRARFANCNFSM6AAAAAAZWGXGHA
.
You are receiving this because your review was requested.Message ID:
@.***>

Got rid of Redis and RQ workers, so this is redundant now.


Allow testing only one dialect

As more dialects are added, external contributors might be interested in fixing something with one dialect and might not even have access to the others (i.e. BigQuery, Snowflake, etc.). It would be great if they could easily test their one dialect.
The interface could be yarn test-postgres or yarn test --dialect=postgres or something.

Yup, our testing "framework" is "barely enough framework to run tests".
We don't really have a generic framework for running tests against multiple dialects. Each spec file has come copy pasted code which runs against a static list of dialect. I'd love to see us formalize this. Once that is in place, it totally makes sense to have some way to control the list .. environment variables, package configs, command line options.

That's an interesting idea! I guess it would recompute the cache on merges to main in case of bug fixes? It would be great if test-db-cache.lock is updated by the CI pipeline. Agree that it might be better to use a file for an open-source project.

I am not sure how the maintenance of the file would work. My guess was there is a manual step to update it like you would do with the package lock file, but maybe it makes sense for CI to maintain it instead.

No objections to something quick and dirty for now though, like a command or environment variable, if you are running into this problem yourself. If you are just worried about theoretical future people, then I want to think about doing the more complex but possibly better thing.

Yeah I am liking the cache idea. I personally can run BQ via a personal project, but maybe not Redshift, Snowflake, etc.


Layout Design for Data Visualization

Design Idea

By Cambridge Intelligence
Algorithm
After much consideration and planning, we figured the best algorithm for our layout would be based on Sugiyama's Layered Graph and Brandes-Kopf's Horizontal Coordinate Assignment.
Implementation
To implement these algorithms, we are using the Dagre library. While the layout is somewhat similar to what we expected before choosing the algorithm's, the complexity increases drastically as the number of events increases. One reason for this is that the library cannot calculate the layers or ranks of nodes until it knows how many nodes and relations exist, which means that the calculation is done recursively instead of being done iteratively.
There are two ways to fix this which we will be working on.

Trampolining
Using Web Workers to decrease calculation times

Looks very nice. Let's hope performance doesn't become a showstopper.

Here is what we might be settling on, pictures taken from private conversation.
A very simplistic but bullet proof algorithm that might actually just work.
x axis is time, y axis is events sharing the same time
2 examples below:
A more friendly event set, events generated with a short allowed history to link to:

A pretty harsh event set where events can link as far as 100 events back:

Same settings as above, less events:

The real killer here is when new events links back to "very" old events


nodec build.js --skip-npm-install

Failed running ["./configure --debug --xcode"]

What's your version of Node.js?

nodec be from node-packer
see：https://github.com/pmq20/node-packer


URL Proxy autocompletion toolbox

refs #55

[x] Search with Simple URL, same query argument, no data transformation,
[x] selected items correctly loaded with the Autocomplete.selected() method
[x] same query argument, a little data transformation,
[ ] different query argument,
[x] support for other arguments (pagination?)
[x] authentication,

[x] via headers
[x] via query args
[ ] correctly handling authentication errors in core.py -- http_call

[ ] support GET/POST methods

@amessinger I'd like to have your input on how to handle an eventual error when calling the 3rd party HTTP API. at the moment, we're just raising an HTTP exception that's trapped on agnocomplete end and transmitted to the front. So, if there's any HTTP problem (wrong authentication, rate limit has been reached, HTTP 500 error on this end, whatever) the AJAX response will be thrown at the front-end the same way.
Basically, the User will search for something, and will have a blank list, because the AJAX call won't succeed.
I'm thinking about a more "user-friendly" way to handle this status. Maybe it's possible to work on a format that the front-end could proceed, a specific payload with the appropriate elements to give feedback to the user about their search, the fact that it failed, and why did it fail.
Any input?

@amessinger thinking out loud: I think we need to address the error handling globally, rather than "just" on this URL Proxy toolbox, since I think that we may have to send error messages with every kind of Autocomplete class and allow the integrator to override it the easy way.
Opening a new issue right now.

:tada:


Terminal tab cwd not being restored correctly

Only 2 of these were in the workspace directory, pressing enter in each fixes it

also reproduces with shell integration disabled

/verified


Button style on press

would be nice to have some visual feedback on the buttons when pressed, the bee caste buttons in particular

Style change when buttons are active in this commit https://github.com/ruthmoog/bee/commit/18c9dc98f4e2b458349711020e41eb76debbe2ae


Recent Emojis

can you please add a tab where there are recent emojis used
great app thank you!

How about a top row[s] instead? I like Slacks method of accomplishing this by having a "frequently used" area immediately available at the top. Check it out:


Issue with kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/

This is a Bug Report
Problem:
Can not run this command:
curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/
it returns this: Error trying to reach service: 'dial tcp <IP_ADDRESS>:80: connect: connection refused'
Proposed Solution:
Implement any of the solutions suggested in #18079
Page to Update:
https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/
Additional Information: This bug was already reported in #18079 and went stale while the interactive tutorial existed. With the demise of the interactive option, this bug will now affect all users, which makes it worth fixing IMHO.

Page: https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/
/language en


Incorrect fixe version listed for CVE-2023-41419 (gevent/PYSEC-2023-177)

The fix version is listed incorrectly as 23.19.1, instead of 23.9.0 under vulns/gevent/PYSEC-2023-177.yaml
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-41419
https://github.com/advisories/GHSA-x7m3-jprg-wc5g
Location of file with issue
vulns/gevent/PYSEC-2023-177.yaml

@zanghani Could you submit an update to the file?


Update MD file on new branch 2017-36-11_01-12-10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


z-index

I want to put a logo image on the right in front of collapsed nav menu bar can any one help z-index is not working on nav bar
I want to do it in only HTML & CSS (Bootstrap). No javascript

per the contributing guidelines https://github.com/twbs/bootstrap/blob/master/.github/CONTRIBUTING.md#using-the-issue-tracker you should ask on StackOverflow or similar. thanks.


Official Docker image to hub.docker.com

Hi,
any change to add automatic build to hub.docker.com by Gitbook? I don't want to maintain a fork just for this.
The docker run command in documentation doesn't work because gitbook/nuts image not found.
Would make getting started easier, thanks!

@AaronO Can you setup a webhook on Bob for this?

In the mid time, I manually pushed gitbook/nuts:3.1.1 (https://hub.docker.com/r/gitbook/nuts/)

Sweet thanks, I'll start using that!
Btw. automated build would be nice so it doesn't get outdated.


How to include the GDAL extension in my project (to read all types of raster files)

I have created a console application project with DotSpatial examples, taken from the documentation page:
https://github.com/xavierpena/DotSpatialExamples
A strong limitation is that, with the "out of the box" utilities provided by the NuGet packages, I could only use .bgd raster files (extensive explanation about this issue here).
From the examples: "Be sure to install the GDAL extension if you want to view different types of files". So I have been trying to integrate the GDAL extensions so I can load other types of raster files, with no success so far...
Things I've tried:

Tutorial "Accessing GDAL data provider in DotSpatial" (from the codeplex page)

Blog post: "How to support extensions in dotspatial"

Using the project DotSpatial.Data.Rasters.GdalExtension from your project and adding it as a project in my solution (I made it compile, which wasn't easy, but it wouldn't load new raster extensions either)

Are there any hints that could let me succeed in reading those other kinds of raster files in my c# project?

Also, the use of DotSpatial.Data.Rasters.GdalExtension through nuget seems to have existed at some point? =>
https://www.myget.org/feed/dotspatial/package/nuget/DotSpatial.Data.Rasters.GdalExtension

I think your main problem could be that you're trying to use a consol application project instead of a Windows Forms Application. All the sources you have shown work with Windows Forms Applications.
Just because I'm curious: Do you really need a console application? It doesn't make much sense to me to do gis without seeing what you're doing.

@jany-tenaj Thanks for your answer.

Do you really need a console application?

My goal is to perform some complex scripting operations, and eventually I would like to integrate those to a bigger "parent" project (which is also in .NET). That's why I'd like to keep my code as lightweight as possible.
I first wrote those scripts in MapWindow ~7 years ago, and it has been very unpractical to deal with the whole big project, for various reasons.

Hi, I have the same problem. Tried tutorial for windows forms application and have not succeed in including GDAL extension. Have anybody found the solution?

I compiled the GdalExtension package and referenced it in my project. Since that did not do anything, I tried to call GdalConfiguration.ConfigureGdal();. Now I am getting:
System.IO.FileNotFoundException: Could not load file or assembly 'gdal_csharp, Version=1.0.5387.28601, Culture=neutral, PublicKeyToken=db5a52b08dc5b321' or one of its dependencies.
any ideas?

@thinking-aloud  Hi, Just copy contents of gdalextention including gdal folder and 4 dlls into your applications root and it will work

For future reference, this answer to a relevant question might be of help.

@VectorZita That is a good link that has the steps for hooking up the GDal raster data providers. I got it work in my application, now I have the following providers:

However, it still can NOT open large geotiff files, I was only able to open a 4MB grid, larger ones (200MB etc), it will generate the legend entry, but cannot display on the map (after refresh, turning on/off visibility etc).

Is it possible that it hangs, or opens the files but is too slow due to low memory availability? Do you have any information about the raster size (how many rows and columns there are)?

Because a number of problems may occur, which have to do with memory, one thing that might help you is to hint to DotSpatial that you want your Raster file visualized as Pyramid images, if it is larger than some pre-specified size. To do that, you have to let DotSpatial know what "too large" means to you.
So, anywhere in the startup code of your application, use:
RasterLayer.MaxCellsInMemory = ... ;
Try to use a small number, at first, for example 480000 (= 800 * 600), to force it to always employ Pyramid images. So set it as:
RasterLayer.MaxCellsInMemory = 800 * 600;
because 480000 may be confusing. Try to open your raster afterwards and see what happens. If everything goes fine, you should get a small wait immediately after loading (takes some time to create the Pyramid images, typically takes less than 10 seconds for a 200 MB raster, sometimes much less, but it generally depends on the CPU power and Disk I/O speed). Thereafter, you should be able to see your file properly (or almost properly).
Warning: Creating pyramid layers will lead to the creation of a few files in the same folder as your original raster, which will be multiple times larger than the original raster and, in your case, they could easily trump 0.5 GB in size. These are necessary for DotSpatial to be able to visualize the file as smoothly as possible!

@VectorZita The large geotiff I tried is 250MB and 11276 Columns by 12800 Rows, and it did generate two very large files when after setting the DotSpatial.Symbology.RasterLayer.MaxCellsInMemory, .mwh file (751MB) and .mwi file (265MB), but still doesn't display in the map, it did generate the legend entry, and it looks like it got the data range from the gradient entries in the legend, but doesn't display in map.

Tried this on a 41MB geotif, still the same behavior, generated legend entry, but doesnot display in map

Actually, after messing with that MaxCellsInMemory property, even the small grid (4MB) wouldn't display anymore, so I have to remove that setting in my app. Yeah, this is definitely an issue.

@TongZhai I see. Yes, the default value for MaxCellsInMemory is 8000 * 8000, so it was loading your raster using Pyramid layers anyway. Unfortunately, in the current version, there are a couple of problems with handling these. There are very specific things that have to be fixed, but you have to address them in the main source code, unfortunately.
Are you prepared to alter and recompile the source code in your own machine? If you are, there are two things that need fixing and if you fix them and recompile, you should be OK. Let me know, so that I can guide you through the process. One of the problems I have already linked to earlier. The other one I have not yet mentioned, but I will create a separate issue now, as I see it is relatively important.

@TongZhai If you can take care of this and this issue in your own repository, you should be OK with Pyramid Images (and, therefore, visualization of large Rasters in general).

@VectorZita Thanks for the tips, yes, I can definitely modify and recompile DS from source, so let me try these two steps and will report back how it goes.

@VectorZita I just verified the effectiveness of your two fixes and they are good. When they are applied in the code, I was able to open and display the 265 MB grid that it failed to display previously. It also can reproject grids on the fly to match loaded rasters. So, I think these should be applied into the repo. I was not able to open a very large grid  (2GB+), it failed in DotSpatial.Data.PyramidImage.WriteWindow function as shown below:

I suppose that's a different issue.

Great, I think this is important, because relatively large rasters are quite "mainstream" in GIS analysis nowadays.
Regarding the other bug, it appears to be important. Whenever you have some more time, it would be very helpful if you could open a new issue with as much information as possible. I will try to take a look into this as soon as possible.

Now that I think about it, I have a pretty good guess as to what your new problem is, which should be obvious just by your posted code... However, this still requires a recompilation on your part...
Does your grid have more than about 23000 rows or columns (or both)? If startRow and ph.NumColumns are int values (signed, by default), then the value startRow * ph.NumColumns * 4 can be larger than (2^31 - 1) (i.e. signed int.MaxValue). In the absence of a checked scope, you will not get an exception but the value automatically overflows. Integer overflow practically means that<PHONE_NUMBER> + 1 = -2147483648... Therefore, silently, fs.Seek(...) tries to seek to a negative position, which causes the rather aptly described exception you see there.
I propose the simplest of fixes, if you would like to try it... rewrite the line as:
fs.Seek((startRow * ph.NumColumns) * 4L, SeekOrigin.Current);
This way, the 4L literal (i.e. a long value) will result in a widening conversion and the entire value will not overflow! Hopefully, you will not have a problem with the file being 4+ GB (pyramid files, containing serially "halved" resolutions, usually take about twice the size of the original file).

I just tried increase to the 4L literal in these Seek calls, it got further, there are another place, I will come back to run it through later today. I think this could be a track to get over this. But I tried opening this same large grid in QGis, and man was it fast, it's like instantaneous. In contrast, DS took almost 10 minutes to get to 68% according to the progress bar, this has to do better, would love to get this up to speed. Anyway, will report back later.

But I tried opening this same large grid in QGis, and man was it fast, it's like instantaneous. In contrast, DS took almost 10 minutes to get to 68% according to the progress bar.

10 minutes??? Yes, I know, I have also been so audacious as to "test" QGIS with huge rasters in the past. It handles huge rasters lightning fast, indeed. We have to check what it is that is taking all that time. I could assume this is related to all the I/O taking place, but 10 minutes is a tremendous amount of time, I cannot believe that it's just I/O... Do you have any draft example of where we could find a huge GeoTiff raster to test this?

@VectorZita I'd be greatful if you'd get this running, as I have no idea how to accomplish that. If I remember correctly the MapWindow people got this running quite fast as well but I don't know enough C/C++ to find out why it works for them but not for us.

@jany-tenaj I promise I will do my best. I am not completely familiar with the lowest-level details, but I can certainly try to work my way through these.
Let's take this to #1334. @TongZhai If this is not much trouble, could you rename #1334 to also reference the problem of very slow loading as well?


Power level defaults

http://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-power-levels describes three fields that have default values if they are not specified, this PR adds those default values.

ban, invite, redact and kick should be also 50.

Thanks


Translate the README into other language

Description
Translate the README into Bahasa Indonesia and other languages.
Guides

Save the translation files in docs folder and named it with README_{2 letter of language code}.md the language code must follows the ISO 639-1 code languages, e.g. README_id.md for Indonesian (Bahasa Indonesia).
Create new PR and fill the form by following the contribution guide. Make sure you reference this issue in your PR.
Make sure all links is working, especially link in TOC and link to other file in this repo.

The links in the table of content (TOC) also need to be translated to make it work. The link is a snake-case version of the header without any symbol.
Use relative paths for links that go to other files (see the following article).

DON'T translate blocks of code, unless there are comments that need to be translated.

For everyone who wants to contribute to this issue, please fork this repo, make changes, and create a new PR. When ready, ask me to review your work. I will not assign each person individually.

Hi I want to help for Bahasa Indonesia

Hey! I want to translate it in hindi, please assign me this PR, or if you want me to translate in any other language, do let me know


Fixed "Parameter count missmatch" exception for setup of QueryAsync in LuisTestBase.

Hi,
I was trying to write tests for a bot I'm building. I was looking for an inspiration in your tests. Specifically AlarmBotTests.
In my tests I was running into issues with "Parameter count mismatch" exceptions when invoking tests classes, so I looked at you tests more closely.
As far as I can tell, you are not actually using mocked LUIS services even though they are set up in the test. AlarmModule registers actual LuisService implementation. But that is another issue.
When using actual mocked service setup should be like this, otherwise it will fails with "Parameter count missmatch" exception.

Hi @grbinho, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@grbinho thank you for the contribution - I fixed the alarm bot tests in this commit: https://github.com/Microsoft/BotBuilder/commit/d7ea6cfcfcfa515210c5f7771ca01f12ab427ea8
As you pointed out, it wasn't even using the mock service, so I added the mock verification at the end of the test as well as fixed a bunch of other issues.


Docs for galley show Pilot's environment variables

When viewing the Galley docs on preliminary.istio.io, you can see listed all of Pilot's environment variables. This is because Galley is pulling in Pilot code for validation. The Pilot code needs to be refactored in order to prevent this overagressive transitive import problem.

@therealmitchconnors Could you please take a look?

I have been investigating the possibility of separating Galley's dependencies from the larger pilot/pkg/model, which also imports the rest of Galley.  I think I am making progress, but it's quite a web of dependencies.  What priority should we assign to this work?

Medium I suppose. It's mostly a case of "silly docs".

Darn, I closed the window before publishing my comment. Oh well.
This can be separated into two parts:

Documentation (silly docs as @geeknoid ) put it. This part is the most important one, and hopefully should be straightforward to fix for 1.2
Break Galley's simple dependencies. I suspect some of the stuff here is low-hanging fruit, so if we can get them done, it is great. It may not need go to 1.2 but that's fine. That work needs to be done anyways.
Break Galley's complicated dependencies. This is a gnarly one, and requires some careful planning and consensus. This one is probably the long tail and not urgent in the "do we need this for 1.2" sense.


Improvements to BodySync portion of Sync phases

This PR has a fairly large amount of changes, so we will detail them commit-by-commit below.
Cumulatively, the results of these are:

Dramatically improved sync performance, particularly with respect to BodySync phase
Much greater granularity for user settings (custom levels of PoW verification)
More efficient peer comms, as they pertain to block_sync
Better handling of OphanBlockPool, which is a RwLock<HashMap> type, to minimize prohibitive locking
Dynamic thresholds near chaintip to force full verification of short-term blockchain history

Commit-Wise Summary of Changes:
1. Refactor BlockchainCheckpoints code for easier readability https://github.com/EpicCash/epic/commit/929b3e93eb72725e71533bf50511de117efe4b4d

This improves upon the code added here to allow us to also skip pow verification when syncing block bodies.  Prior commit added a disable_checkpoints setting in config file to skip pow checking all the way to chaintip, for block headers in HeaderSync phase.  This refactoring makes the checkpoint code available to function in BodySync phase as well. It wraps all of this into a check_header_against_checkpoints function.

2. Add dynamic threshold (wrt to chaintip) for pow checking https://github.com/EpicCash/epic/commit/6ff082566d42ea5112295362ae16758202362bd8

Forces full block verification (including resource-intensive PoW checking) for blocks within a pre-defined threshold to chaintip.    Later commit makes this "x blocks" value more clear.

3. Remove looping logic in check_orphans func https://github.com/EpicCash/epic/commit/b3eeb265f7247beab4c0e01fcc7c7658eebd2a83

Modifies behavior of OrphanBlockPool checking substantially, when receiving new blocks.
Previously, check_orphans was only called when we successfully processed a new block.  Once called, check_orphans was looping infinitely until we failed to find an orphan to process next.  This meant the loop in check_orphans was executing hundreds of times before process_block function exited.
Now, we check orphan list once and only once for each block we receive.  This check occurs whether we can process the received block properly, or not.  Orphan list is checked for either new_tip_height + 1 on successful process, or current_tip_height + 1 on unsuccessful processing.

4. Don't accept new blocks (compact/full) while syncing https://github.com/EpicCash/epic/commit/8ac4e1ecebcb2963918044e9240747a5a29dc3a7

Ignores new block or compact block broadcasts while we are syncing, if we are less than MAX_ORPHAN_SIZE * 2 blocks from chaintip.
This resolves most printed errors "Block is Unfit at this time", that were visible while syncing

5. Don't use peers.iter().next() in bodysync https://github.com/EpicCash/epic/commit/eb8e73ec2aca6c85cdd566f0de93d3eabdd32cb7

Prior to this change, our 'most_work_peers' list was being cycled.  So if we have 10 connected peers, and need 20 blocks...

The blocks at entry no. 1 and no. 11 would be requested from Peer A
2 and 12 from Peer B
3 and 13 from Peer C, So on, and etc.

This change ensures we don't make multiple requests to a peer at a single time.  Goal is to lock up our iostreams in peer comms less often, as it appears to be a particularly slow area of code
Coupled with the smaller MAX_ORPHAN_SIZE added in a later commit, this makes peer comms a lot more efficient and less spammy.

6. Add clear_orphans(), call prior to BodySync->HeaderSync switch back https://github.com/EpicCash/epic/commit/bf3577555958538345984ed9166c1a114e90c0de

Adds the ability to switch back to HeaderSync phase, if we are in BodySync and many more blocks are found on network while we are syncing block bodies.  Previously, this state was irrecoverable, and required a node restart to trigger HeaderSync again.  Epic nodes will now switch back automatically.
Adds a clear_orphans function, to completely clear OprhanBlockPool.  This function is called ONLY PRIOR to a phase switch to HeaderSync from BodySync state.  This was done to ensure a clean BodySync/OrphanBlockPool state when we finish syncing new headers.

7. use explictly named constants for thresholds in adapters https://github.com/EpicCash/epic/commit/bf3577555958538345984ed9166c1a114e90c0de

Provides more readable, explcitly named constants for the dynamic thresholds in prior commits in this PR.
Adds POW_VERIFICATION_THRESHOLD = 1000 to force full verification of last 1000 blocks to chaintip
Adds BLOCK_BROADCAST_IGNORE_THRESHOLD = 200 to ignore broadcasts of new blocks at chaintip until we are within 200 blocks to chaintip.

8. Revert commit eb8e73e, was causing deadlock https://github.com/EpicCash/epic/commit/3123e62152dc4c3b5c7f0deedfc4a4d6e87d549b

Reverts a small change from the commit mentioned above, which caused a deadlock.  No actual changes in this, respective to our current codebase.  Just reverted those prior changes.
Peers are still not cycled, and we request 1 block from 1 peer at a time

9. Merge upstream changes for 'process_block_single' https://github.com/EpicCash/epic/commit/bbbb61014c0c95734ce3ad262c1da4b898b687b8

Pulls updated logic (more readable, maybe a small speedup) for process_block_single function from upstream Grin codebase
Adds check_orphan function, for adding orphans to OrphanBlockPool
Adds is_known function, for checking if we already know about the block we are attempting to process, exiting function early if so
Removes unnecessary and hard-to-read code, replacing it instead with Rusts ? trailing symbol, which exits function early if unsuccessful

10. Reduce MAX_ORPHAN_SIZE to 60 https://github.com/EpicCash/epic/commit/68cc172f90e6e1e986f0e0705517236e0886c994

Shortens the maximum length of our LRUCache, to hold only 60 blocks in OrphanBlockPool
Speeds up our write calls to OrphanBlockPool due to reduced size of data, and makes our chain::process_block calls more efficient as a result
Combined with removal of looping logic in check_orphans, speedup is significant when compared to holding 200 entries in our orphan list
Additionally, speeds up last MAX_ORPHAN_SIZE blocks when syncing to chaintip.  This is the one area where things slow down compared to old logic.  Since we no longer unwind our OrphanBlockPool with a loop, orphan list will be cleared 1-by-1 as we approach chaintip.  Last MAX_ORPHAN_SIZE blocks are synced as fast as we receive new block protocol messages from peers, as we only process one orphan with each received block now.

Added 1 more commit: https://github.com/EpicCash/epic/pull/105/commits/91b59661c651c59a15f83519e9b3b674a598a255
This simply cleans up OrphanBlockPool::clear() function, and resets evicted count as well (originally omitted).

Rebased against master branch to pull in new commits

force-pushed to include all changes from master and update-deps-rebase branch.

Rebased to master.


ENH Recognize 's3n' and 's3a' as an S3 address

This PR allows read_csv to recognize that "s3n://" designates a valid AWS S3 address. Partially addresses issue #11070 .

Fixed. I also realized (reading the links I added for issue #11070 ) that "s3a" is a valid S3 designator as well, so I added that too.

The one test failure appears unrelated to the code change in this PR:
FAIL: test_numeric_column_names (pandas.io.tests.test_stata.TestStata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/pydata/pandas/pandas/io/tests/test_stata.py", line 480, in test_numeric_column_names
    original.to_stata(path)
  File "/home/travis/miniconda/envs/pandas/lib/python3.3/contextlib.py", line 55, in __exit__
    next(self.gen)
  File "/home/travis/build/pydata/pandas/pandas/util/testing.py", line 2021, in assert_produces_warning
    % extra_warnings)
AssertionError: Caused unexpected warning(s): ['ResourceWarning'].

no it's just hitting the actual error there
you have something failing

add a whatsnew note in 0.17.0 (enhancements section)

@jreback , green here too!

thanks!


dart.code auto intellisense is not work

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.93.1
OS Version:

Steps to Reproduce:

all things is in the image. I use Bisect to found the Dart.Code extension's bug. just like memory leak?

And I can't click the "Preview on Github" button, so just report it manually. I belive it's happen same when I use vscode not cursor

/causedByExtension
Doesn't look like you are using VS Code editor itself, but another editor.

issue should be reported in extension's repo, not here


RuntimeError: cuda runtime error (30) : unknown error at /media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu:103

❓ Questions and Help
Thanks for your great contributions!
When I run the demo as follows,
python webcam.py --min-image-size 800

an error happened as this:
Downloading: "https://s3-us-west-2.amazonaws.com/detectron/35858933/12_2017_baselines/e2e_mask_rcnn_R-50-FPN_1x.yaml.01_48_14.DzEQe4wC/output/train/coco_2014_train%3Acoco_2014_valminusminival/generalized_rcnn/model_final.pkl" to /home/xavier/.torch/models/_detectron_35858933_12_2017_baselines_e2e_mask_rcnn_R-50-FPN_1x.yaml.01_48_14.DzEQe4wC_output_train_coco_2014_train%3Acoco_2014_valminusminival_generalized_rcnn_model_final.pkl
100%|████████████████████████| 362433370/362433370 [05:41<00:00, 1062580.14it/s]
THCudaCheck FAIL file=/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu line=103 error=30 : unknown error
Traceback (most recent call last):
  File "webcam.py", line 80, in <module>
    main()
  File "webcam.py", line 71, in main
    composite = coco_demo.run_on_opencv_image(img)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/demo/predictor.py", line 169, in run_on_opencv_image
    predictions = self.compute_prediction(image)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/demo/predictor.py", line 200, in compute_prediction
    predictions = self.model(image_list)
  File "/home/xavier/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 50, in forward
    proposals, proposal_losses = self.rpn(images, features, targets)
  File "/home/xavier/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/rpn.py", line 96, in forward
    return self._forward_test(anchors, objectness, rpn_box_regression)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/rpn.py", line 122, in _forward_test
    boxes = self.box_selector_test(anchors, objectness, rpn_box_regression)
  File "/home/xavier/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 138, in forward
    sampled_boxes.append(self.forward_for_single_feature_map(a, o, b))
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 118, in forward_for_single_feature_map
    score_field="objectness",
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/structures/boxlist_ops.py", line 27, in boxlist_nms
    keep = _box_nms(boxes, score, nms_thresh)
RuntimeError: cuda runtime error (30) : unknown error at /media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu:103

Is there anything I've made wrong? How could I solve this problem? Thanks for your help!

Thanks for you patient reply!

Checklist are as follows

PyTorch Version (1.0.0a0+87b47ff):
OS (Ubuntu 16.04 LTS):
How you installed PyTorch (I install caffe2 by source as caffe2 install):
Build command you used (caffe2 Build from source):
Python version: 3.6
CUDA/cuDNN version: cuda 9.0, cuDNN 7.2
GPU models and configuration: GTX1060(6G)
 I can't run webcam.py, but I can run Mask_R-CNN_demo.ipynb successfully. BUT NOW, I reinstall pytorch from conda as official step like this:

conda install pytorch torchvision -c pytorch

When I run webcam.py, Another errors happened as follows:
Traceback (most recent call last):
  File "webcam.py", line 6, in <module>
    from predictor import COCODemo
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/demo/predictor.py", line 6, in <module>
    from maskrcnn_benchmark.modeling.detector import build_detection_model
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/__init__.py", line 2, in <module>
    from .detectors import build_detection_model
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/detectors.py", line 2, in <module>
    from .generalized_rcnn import GeneralizedRCNN
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 11, in <module>
    from ..backbone import build_backbone
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/__init__.py", line 2, in <module>
    from .backbone import build_backbone
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/backbone.py", line 7, in <module>
    from . import resnet
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/resnet.py", line 19, in <module>
    from maskrcnn_benchmark.layers import FrozenBatchNorm2d
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/layers/__init__.py", line 8, in <module>
    from .nms import nms
  File "/media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/layers/nms.py", line 3, in <module>
    from maskrcnn_benchmark import _C
ImportError: /media/xavier/SSD256/caffe2_notebooks/maskrcnn-benchmark/maskrcnn_benchmark/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at5ErrorC1ENS_14SourceLocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

And Now, I can't even run Mask_R-CNN_demo.ipynb!

Hi,
Please follow the installation instructions from https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/INSTALL.md.
You need to install PyTorch nightly, and you probably have conflicting libraries in your system.
I'd suggest creating a new conda environment.

Also, this library runs on PyTorch, and not the caffe2 backend. There might be conflicts if you try to install and old version of caffe2 in the same environment as PyTorch.
I'm closing this issue as it seems like following the installation instructions from INSTALL.md should solve your issue, but let me know if that's not the case.

Excuse me, are you solving this problem now?I have same problem as  you.
Traceback (most recent call last):
File "C:/Users/rrrr/Desktop/maskrcnn-benchmark-master/demo/predictor.py", line 6, in
from maskrcnn_benchmark.modeling.detector import build_detection_model
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\detector_init_.py", line 2, in
from .detectors import build_detection_model
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\detector\detectors.py", line 2, in
from .generalized_rcnn import GeneralizedRCNN
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\detector\generalized_rcnn.py", line 11, in
from ..backbone import build_backbone
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\backbone_init_.py", line 2, in
from .backbone import build_backbone
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\backbone\backbone.py", line 7, in
from maskrcnn_benchmark.modeling.make_layers import conv_with_kaiming_uniform
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\modeling\make_layers.py", line 10, in
from maskrcnn_benchmark.layers import Conv2d
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\layers_init_.py", line 10, in
from .nms import nms
File "C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark\layers\nms.py", line 3, in
from maskrcnn_benchmark import _C
ImportError: cannot import name 'C' from 'maskrcnn_benchmark' (C:\Users\rrrr\Desktop\maskrcnn-benchmark-master\maskrcnn_benchmark_init.py)


fix: gelocation of peers

update to webui v2.3.1, which updates ipfs-geoip and re-enables locating peers on the map.

fixes #774
License: MIT
Signed-off-by: Oli Evans<EMAIL_ADDRESS>

@hacdias let's cut a patch release for ipfs-desktop with this in... will be a good first test of the auto-update mechanism.

@olizilla merging this, if we also merged #764 it would be awesome and then a pre-release. 0.6.1 sounds good? Or 0.7.0?

@olizilla I'm releasing a patch version (0.6.1) now 😄


Optimize "Export as SQL" output format

Using "Export as SQL" on a query with 14k rows and 13 result columns produced a file 15MB in size.  More than 10MB of this is the INSERT INTO ... VALUES prefix on every line.
Preferable would be to output INSERT INTO ... VALUES just once on the first line, end all lines except the last with a comma instead of a semicolon (thus creating a single VALUES list), and have all lines after the first consist only of the parenthesized value list for each row.  Doing the corresponding text replacement on my sample output described above, produces a still-valid SQL file only 4MB in size.
A possible enhancement would be to repeat the line-ending semicolon followed by INSERT INTO every N lines, or every X bytes of output, to avoid generating a single statement too long for a mysql client to process.

Forgive me for responding now but I have had several setbacks in the last few months and only now have some respite.
I assume you are talking about PostgreSQL, but correct me if I am wrong.
If all goes well in the next update you will find this feature.

Work in progress.


For some reason h1–6 are 'dfn' refs, not 'element' refs.

I was surprised that <{h1}> failed to autolink.
If I run bikeshed refs  --spec=html --type=element --text=track, I get this:
status:    snapshot
for:       []
level:     1
url:       https://html.spec.whatwg.org/multipage/media.html#the-track-element
type:      element
export:    True
text:      track
shortname: html
normative: True
spec:      html

But if I run bikeshed refs  --spec=html --type=element --text=h1, I get this:
[]

Instead, bikeshed refs --spec=html --type=dfn --text=h1 returns something usable:
status:    snapshot
for:       []
level:     1
url:       https://html.spec.whatwg.org/multipage/sections.html#the-h1-element
type:      dfn
export:    False
text:      h1
shortname: html
normative: True
spec:      html

It's a problem with HTML's markup, so I've filed an issue. Closing here, as it'll automatically be correct after HTML fixes themselves.


[CLOSED] Add link to content preview for draft items.

 Issue by danielroseman
Thursday 06 August 2015 at 08:22 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/534

Don't merge until the change has been communicated to departments.
Modifies the show page for manuals and specialist docs so that the slug
is no longer a link, and add "View on website" and "Preview draft" links
next to it. The former only shows if the item has been published, and
the latter only if there is an unpublished draft.

danielroseman included the following code: https://github.com/alphagov/specialist-publisher/pull/534/commits

 Comment by tommyp
Thursday 06 August 2015 at 08:44 GMT

What's the language we're using when differentiating the environments to editors? Would live GOV.UK and draft GOV.UK be better?

 Comment by elliotcm
Thursday 06 August 2015 at 08:42 GMT

Should we more clearly distinguish between live and draft links? eg
"View on live website - Preview on draft website"

 Comment by elliotcm
Thursday 06 August 2015 at 08:47 GMT

General concept :+1:
Implementation :+1:
Specifics - some comments and questions

 Comment by danielroseman
Thursday 06 August 2015 at 09:41 GMT

Naming is difficult, this is the best that Paula and I could come up with. I wanted to avoid calling it specifically "draft" or "preview"; currently "preview" is the name of an environment which some editors use for scratch and training, but in the long term that will become something like "integration". We're not really using the "draft GOV.UK" name.

 Comment by elliotcm
Thursday 06 August 2015 at 09:44 GMT

OK, we can always change it if it proves confusing to users.

 Comment by elliotcm
Thursday 06 August 2015 at 09:45 GMT

Did you mention that we shouldn't be merging this yet in standup?  If so could you add a note or checkbox to the description.

 Comment by elliotcm
Thursday 06 August 2015 at 09:54 GMT

:+1: to go when ready

 Comment by bradwright
Thursday 06 August 2015 at 10:06 GMT

Has @fofr looked at this?

 Comment by fofr
Thursday 06 August 2015 at 11:16 GMT

@bradleywright I spoke with @danielroseman about the change yesterday and it looks good.
Regarding copy, we'll need to see how users interpret this.


Programmatically Close Accordion

Bug description:
I would like to know if there is documented way to "close" and "open" the accordion.  This would basically require applying the same methods that are used in the click scenarios.  But I think that this is important that this be documented from a user perspective as many people have inquired.
Version of Angular, ng2-semantic-ui, and Semantic UI:
Angular: 4.3.3 +
ng2-semantic-ui: current
Semantic UI: current

You're able to control the accordion by binding a variable to the isOpen property of each panel. If you use 2-way binding ([(isOpen)]) you're able to always use panelControlVariable = true / false to open / close it.
When you say it's important it be documented - do you mean it would be good to include an example? As the isOpen property is currently documented.


GUI doesn't seem to work (irresponsive) on Manjaro XFCE

When issuing the hawck-ui command following the README-instructions, the GUI comes up. However it seems unusable; the different sections are clickable, but it seems unable to change values within the sections. I get the following response in the terminal:
(hawck-ui:2205): Gtk-CRITICAL **: 14:20:24.901: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
1898
1901
<hawck_ui.window.Settings object at 0x7f7a20a101c0> autostart_switch False
<hawck_ui.window.Settings object at 0x7f7a20a101c0> unsafe_mode_switch False
handler_name: on_notify_on_err_chk_toggled
Unable to retrieve config.stop_on_err
handler_name: on_eval_keydown_chk_toggled
handler_name: on_eval_keyup_chk_toggled
Unable to retrieve config.eval_keyrepeat
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 110, in _builder_connect_callback
    handler, args = _extract_handler_and_args(obj_or_map, handler_name)
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 90, in _extract_handler_and_args
    raise AttributeError('Handler %s not found' % handler_name)
AttributeError: Handler on_stop_on_err_chk_toggled not found
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 110, in _builder_connect_callback
    handler, args = _extract_handler_and_args(obj_or_map, handler_name)
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 90, in _extract_handler_and_args
    raise AttributeError('Handler %s not found' % handler_name)
AttributeError: Handler on_eval_keyrepeat_chk_toggled not found

Sorry for the late response, been too busy to check the issues here.
Nothing in the terminal output indicates a serious problem, the errors are related to a mismatch between the UI XML and the Python code, but this mismatch isn't serious enough that it actually causes any problems (I get the same output as you.)
So unfortunately I don't really know where to go from here to debug this, the output does show "Focus change" which means that the Python callbacks are actually running and changing the state of the UI. The UI not rendering its changes to the screen could be caused by a newer version of GTK+ that my code is incompatible with, or something else entirely.
Basically I have no idea what causes this with the available information.
Hope you were able to resolve it somehow, if it doesn't resolve itself, then you can also use Hawck without the UI: https://github.com/snyball/Hawck/issues/13#issuecomment-524439345

Closing this issue as I'm planning to deprecate the UI by version 1.0


Update elliptic for CVE-2024-48949

https://nvd.nist.gov/vuln/detail/CVE-2024-48949
https://security.snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303

Same as PR 94 but without the library semver updated.


[Java] Support addition of gradient operations in a graph

This calls the C-api TF_AddGradients method through a new JNI binding for adding gradient nodes to a graph. It also includes an AddGradients wrapper for invoking this operation smoothly while building a graph using the new Java Ops API.

Windows build failure seems to be a flaky. Submitting now.


Add QP capability for Gurobi

Okay, here is my proposal. Was not really complicated since a large part was already implemented. Just some additions to parse the expression.
For now seems to work:
In [1]: from cobra.test import create_test_model
   ...: from optlang.symbolics import Zero
   ...:
   ...: def test_qp(solver):
   ...:     mod = create_test_model("textbook")
   ...:     mod.solver = solver
   ...:     mod.objective = Zero
   ...:     for r in mod.reactions:
   ...:         mod.objective += (r.flux_expression**2).expand()
   ...:     mod.objective_direction = "min"
   ...:     return mod.optimize()
   ...:

In [2]: test_qp("cplex")
Out[2]: <Solution 179.719 at 0x7ff5657a4d68>

In [3]: test_qp("gurobi")
Academic license - for non-commercial use only
Out[3]: <Solution 179.719 at 0x7ff56575ce48>

Nice! Can you also copy the QuadraticProgrammingTestCase from test_cplex_interface.py and see if all the unittests pass?
I don't know if gurobi handles non-convex QP's, so a few of the tests might need to be adjusted.

Regarding the methods I think it's fine that the two parameters overwrite each other. Alternatively it could just implement a method parameter.

Agree with all comments. Hope to get to it tomorrow :)

Okay added most of it. Getting rid of the expression parsing in the model constructor did not work for me though. Added and adapted the tests (gurobi does not support non-convex objectives) and they pass for me.
As a side-note: many of the MIPLIB tests (in slow_tests) do not pass for cplex nor gurobi for me...

@cdiener Sorry for sleeping on this for so long. It looks good!


fix: use the right codeowners syntax

Use the right CODEOWNERS syntax
Description of the Change
cf09c9f - fix: use the right codeowners syntax
/cc @jleveugle @Jisay @frenautvh @cbourgois

Already done :)

According to the patch it was done after that PR but nervermind. Thanks you!


Add Kubernetes compatibility documentation

Marked for backport on all branches so that users are clarify about this on all Cilium versions. Ping me if the backport didn't apply correctly.

Coverage increased (+0.008%) to 36.874% when pulling 243a0365f19fa3bfc77d05bc593f4e4e4830a702 on aanm:pr/add-k8s-docs into d80e66fd95fe07976197575abf4e982220e61388 on cilium:master.


1 object malloc for actor attributes

All actor attributes follow the lifetime of the actor itself, so I think it should be possible to malloc all attributes as one big chunk. Less stuff to scan, fewer references to keep track of. Win-win-win, right?
Possibly tricky because we could have references deep into this actor object, like at offset 1KB. Will the GC understand which object this it?
No analysis at all is necessary for this, just a bit of a rewrite, right?

Closing in preference of #1670 which I think is better worded.


Define format for datepicker on Widgets

This PR fixes a bug on django admin preventing to submit dates, because the default datepicker date format wasn't accepted by Django (defined in settings.DATE_INPUT_FORMATS) unless overriden in django settings or formats.
So I solve the issue by defining the formats in Widgets themselves and passing the value to input elements and using it to initialize the Datepicker. This allows even overriding the value for different dates, if needed

fixed in 7101e9a02f1866cce5941057bb2bc0bc32390020


Be more tolerant to startup behavior

If avahi2dns starts up, it will happily run, even if it cannot connect to the avahi server, because avahi is still starting up, or hasn't started up yet.
While we have certainly a dependency here, avahi2dns should still try to connect on the dbus when connections fail/are not possible.

Hi @oliv3r,
Could you give an example of the avahi2dns logs when you get such an error?
FYI we use https://github.com/holoplot/go-avahi to connect to Avahi. We could add a retry mechanism here if Avahi hasn't started but the issue should probably handled there.

See #8 maybe? The logs don't really print anything. But if avahi2dns starts first and before avahi itself, avahi2dns should 'notice' this and connect when avahi is available. I would expect that avahi itself emits something on the dbus to notify itself on the dbus? But you are probably right that maybe upstream should do this?

Ok, I will close this if it's the same issue as #8 then.


Website (https://www.zipline.io/) down?

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: (Windows Version or $ uname --all)
Python Version: $ python --version
Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
How did you install Zipline: (pip, conda, or other (please explain))
Python packages: $ pip freeze or $ conda list

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
What happened instead?

Here is how you can reproduce this issue on your machine:
Reproduction Steps

...
What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
$ whoami

How long will it take to be back again?

A:  Zipline.io probably is not coming back.
Full answer with alternatives:
In late October 2020, Quantopian's founder/CEO John Fawcett announced that they would be winding down their free community offering and the site was shut down in mid November 2020.  The underlying technology for Quantopian was called Zipline, which allowed individual users to download the code and run their own trading systems (it required additional data for it to operate).  The entire project was open sourced, with source code being available on Github.  The documentation for Zipline was provided on Zipline.io.
Certain staff were going to Robinhood, but there was no direct indication that RH were going to continue any aspect of Quantopian.
In Nov 2020 Quantopian.com went offline.
In Feburary 2021, Zipline.io went quiet - possible either the hosting went unpaid and/or the domain expired.
Since the initial communication given by Quantopian by closed they have not communicated regarding open issues or provided any further guidance on any mailing list.  There have been no further changes to the source code but ownership of the project on Github still remains with them.  Nobody can make any direct changes to their code.  The Zipline project that is in stasis is here:
https://github.com/quantopian/zipline
Given we have had radio silence from Quantopian since Oct 2020, and their domains/web sites have lapsed without even just a basic landing page, I don't think that it will come back at all.
However, by virtue of being an open source project, means that the project could  be duplicated (forked) - and a number of parties have done this.
The most advanced version, in terms of modernizing Zipline so it supports current versions of Python and other packages such as Pandas, has been done by Stefan Jansen.  He advanced the version to 2.0 and dubbed it "Zipline Reloaded", and also updated various other packages that Zipline relies upon too.
The source code can be found here:
https://github.com/stefan-jansen/zipline-reloaded
and documentation here:
https://zipline.ml4trading.io/
and announced here:
https://www.linkedin.com/posts/applied-ai_stefan-jansenzipline-reloaded-activity-6785002708299522048-OI0t/
Another fork of Zipline is Zipline Trader (by Shlomi Kushchi) which has taken a different approach to bundle management and data storage:
https://github.com/shlomikushchi/zipline-trader
I hope that helps.
Best regards,
Richard Dale
https://NorgateData.com/

Yes, I agree with @RichardDale above.
Yet another fork (slightly older, yet useful) for live trading, with documentation and further history of zipline is at :
https://github.com/hotchilianalytics/zipline-broker
An examples directory is at:
https://github.com/hotchilianalytics/hca-resources
alan


New restic upstream version is available

restic v0.17.0 was released on 2024-07-26, see https://github.com/restic/restic/releases/tag/v0.17.0

Closed via jkirk/ansible-restic#4 (31d75395e50d61816227e9892f0c4b3d1b724726).


Fix/reviews development instructions

This PR just contains some minor improvements of the development instructions.

Fixes headline to pass Markdown specification

Fixes npm install command

Prevents an install error due to esbuild version missmatch

Error Message: Expected "0.18.20" but got "0.19.8"

Hey @dkastl ,
Thank you very much!


Run fixupParentReferences when parsing isolated jsDocComment

Fix https://github.com/Microsoft/TypeScript/issues/8676

:+1:

:+1:


doc/devices/usb: add link to video and some explanation

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.11468/


fix: UInt256: Divide, Lsh, Rsh, Exp, ExpMod, SubtractMod; Int256: Multiply - when in and out params are referenced to the same struct

fixes #32

Could you add test?

Added some tests - found much more bugs. I checked Nethermind - it is not affected

last commit failed because this code gives different output in different OS
double x = ulong.MaxValue;
Console.WriteLine(x);
Console.WriteLine((ulong)x);

On Linux 22.04 (7.0.305) this will result in:
1.8446744073709552E+19
0

And on MacOS (7.0.203)
1,8446744073709552E+19
18446744073709551615

Is it expected behaviour?

last commit failed because this code gives different output in different OS
double x = ulong.MaxValue;
Console.WriteLine(x);
Console.WriteLine((ulong)x);

On Linux 22.04 (7.0.305) this will result in:
1.8446744073709552E+19
0

And on MacOS (7.0.203)
1,8446744073709552E+19
18446744073709551615

Is it expected behaviour?

That sounds very weird


Fix loading issue on IE11

Fix issue  #83. As suggested i tried to invert lines xhr.open('GET', url); xhr.responseType = 'text';
It's OK on Chrome, Firefox, Chronium, Edge.. and it's OK also on IE11.
I didn't try the loader on Safari and Opera

+1

thanks for your fix

I tried it, but it didn't work


Add AssumedWorkloads to cache.ClusterQueue

What would you like to be added:
Currently cache.assumedWorkloads contains the whole admitted workloads, however, we can't easily tell whether a clusterQueue holds admitted workloads or not from this struct. This is useful in reconciling for clusterQueue holding admitted workloads should not be deleted directly. https://github.com/kubernetes-sigs/kueue/issues/134#issuecomment-1108177974
So I'd like to add a new field AssumeWorkloads to ClusterQueue:
type ClusterQueue struct {
	Name                 string
	Cohort               *Cohort
	RequestableResources map[corev1.ResourceName][]FlavorLimits
	UsedResources        Resources
	Workloads            map[string]*workload.Info
	AssumedWorkloads     sets.String
	NamespaceSelector    labels.Selector
	// The set of key labels from all flavors of a resource.
	// Those keys define the affinity terms of a workload
	// that can be matched against the flavors.
	LabelKeys map[corev1.ResourceName]sets.String
	Status    ClusterQueueStatus
}

When we assume a workload, we'll insert the workload name to AssumedWorkloads, when we delete/forget workload, we'll remove it.
Why is this needed:
Completion requirements:
This enhancement requires the following artifacts:

[x] Design doc
[ ] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

/assign

We hold the deletion until the admitted workloads finished, for unadmitted workloads, they may  never have change to run e.g. insufficient resources, if so, clusterQueue will stuck in terminating. But the problem left here is these workloads are isolated, but we can collect them again if we create a same name clusterQueue.

Not sure my question is answered.
IIUC, you are saying that when an assumed workload gets forgotten, it doesn't change the status of the workload, then we wouldn't reconcile the clusterQueue again to remove the finalizer.
How does the PR for this issue solved that?
I think we can use a generic event for when a workload is forgotten to reconcile the clusterqueue

I am not following the reasoning as well, but the highlevel semantics we are looking for is described in https://github.com/kubernetes-sigs/kueue/pull/284/files#r902946904

What we need to do is the following: delay the removal of the finalizer until all running workloads are finished, not wait for assumed workloads to be bound. During this time, no new workloads should be admitted, but we should continue to update CQ status (the counters etc.); and so we need to continue to have the CQ in the cache, but in Pending state (may be we need to change the name to suspended).

Let me explain this more clearly:

Firstly, just want to make sure all running workloads including admitted workloads and inadmissible workloads, right?
To @alculquicondor question: Why did we need to know if a workload was assumed?, I used to decide whether a clusterQueue can be deleted by the number of admitted workloads, if they all finished, then the clusterQueue will be deleted. I have two reasons:

workloads inadmissible may never have change to run, e.g. insufficient resources, if so, clusterQueue will never be deleted successfully until we delete the workload
Considering clusterQueues should be managed by administrators, they may delete the clusterQueue for special reasons, like reallocating the cluster resources, I don't think they would like to wait for all workloads finishing running, especially some workloads will never run to completion. 🤔

When a clusterQueue is stuck in terminating, we should forbid other workloads get admitted any longer. I totally agree with this, I have implemented this in a follow up PR, do you think we should combine them together into one PR?
Different with the idea of changing the clusterQueue's status back to Pending, I added a new status named suspended, WDYT?
A new question, when clusterQueue is in terminating, we will not forbid creating new corresponding workloads like we do today, right?

lets have this discussion on the issue.

Revert the commit https://github.com/kubernetes-sigs/kueue/pull/286 after talking with ahg-g


Documentation is out of date

Describe the Problem
It seems that step 7 is not valid anymore and documentation need to be updated: https://github.com/Azure/iotedge-eflow/blob/main/samples/interop-textmsg-consoleapp/Documentation/Configuring the IoT Edge Device.MD
Expected behavior
Customer reported an issue when following the steps, it seems that id_rsa is missing, instead they should use: Copy-EflowVmFile that replaced the scp procedure.

HI @ancaantochi ,
Thanks for noticing that. I have already updated the documentation to use our latest EFLOW PowerShell functions.


Wrong url preperation

When I want to pass along 'custom_fields[Name#3]', it gets sent as the invalid custom_fields/Name#3

Hey @Zaab1t. Unfortunately I cannot reproduce. Can you provide more details - which API are you trying to use?
I created a Deal Custom Field named "Name#3" and I was able to query Deals with:
client.deals.list(**{'custom_fields[Name#3]': 'value'})


Add scNym as an external tool sce.tl.scnym

Hi scanpy folks,
This PR adds our cell identity classification model scnym as a tool in sc.external.tl.scnym.
The scnym API was inspired by scanpy and intended to be compatible, so the implementation in external/_scnym.py is simply a wrapper.
I also added a test in tests/external/test_scnym.py that passes.
Everything was linted with black,flake8,autopep8 through pre-commit.
Please let me know if there are any issues or changes you'd like to see.
Thanks for building a great ecosystem!
Best,
Jacob

@jacobkimmel thanks for the PR!
Question: why do you want this to be in external and not ecosystem? Generally, I think of external as a place to put provide a "scanpy like" API, but scNym already provides this kind of API.

Hey @ivirshup,
Thanks for the feedback.

why do you want this to be in external and not ecosystem? Generally, I think of external as a place to put provide a "scanpy like" API, but scNym already provides this kind of API.

Two reasons:

This is my first introduction to ecosystem, so I hadn't actually considered it.
Given that the scnym API is a single function, adding an sce.tl endpoint seems like a parsimonious way to improve discoverability for users.

Happy to remove this PR and suggest an edit to ecosystem.rst instead if that's preferable to the team.
All the best,
Jacob

So, we discussed this at the last team meeting and are in agreement that this would be a better fit for the Ecosystem page. We're going to try to increase the visibility of this page to make it more discoverable (#1801).
For the entry, I think including a link to a tutorial as well as the main project page under the entry in ecosystem would be helpful for getting users to check it out.

this would be a better fit for the Ecosystem page

Understood, I'll go ahead and close this PR and open a clean one that modifies ecosystem.rst alone.
Thanks for taking the time to find the right place for this!
Best,
jacob


why a unique constraint is generated as an index?

Hello, I would thank you for helping me.
I have a table T that has a unique constraint (associated with a column)
when I generated the entities, the unique constraint of this table is translated by the generator as a unique index: @Index ("uk_token", ["token",], {unique: true})
This is not correct because when I do the opposite (use this entity to generate a table in my DB with typeorm), the created table has an index and not a unique constraint like the original table T.
how to generate this constraint as a unique constraint with its name and not as an index?

Implemented in<EMAIL_ADDRESS>


Adds bytes counting as a trigger to the cache_promote LRU

[approve ci autest]

[approve ci autest]


Mast: Watch kvm-avaustralia.com.au

Mast requests the watch of the watch_keyword kvm-avaustralia\.com\.au. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

kvm-avaustralia\.com\.au has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Daniil in Charcoal HQ

Approved by Daniil in Charcoal HQ


Inputs don't resize on height

@chasturansky Do we allow resizing on other inputs? (Calendar Input for example)

Or do we just want this freedom for all elements in the Fields submenu?

I think they should be like the new buttons since we allow them to resize. Fewer complexities for us.


Policy for copy editing - push access required

From APW:

We wrote up a policy for copy editing:
When a pull request is feature-complete and has touched the documentation:
Maintainer assesses whether the docs change is “substantial” and requires copy-editing (i.e. single-character changes or fixes generally don’t require copy-editing)
Add “needs-copyedit” label
Request review from @lglattly
@lglattly reviews pull request:
If a small number of changes required, submit as requested changes
If many changes required, push changes directly to author’s branch
Both of these require a subsequent review from @adrn to verify changes
When copy-editing is complete, @lglattly removes “needs-copyedit” label, adds “copyedited” label
Copy-editing should not be a long blocker for merging, so if a PR is merged with “needs-copyedit” it can be found later and acted upon (if necessary)
Right now, the point 4.2 "If many changes required, push changes directly to author’s branch" is needed because GitHub can't handle committing a large batch of suggested changes. Also, maintainers can't accept and commit the changes as a batch. However, I believe the only way to enable Lauren push to another users branch would be if we give her write access.
Do you have any ideas or thoughts here?
Thanks!

Adrian

We do not have a copy editor for a long time. No longer relevant.


(PUP-3827) Return errors matching schema from indirected routes

But with feeling this time....    ...so many feelings....
Originally the merged PR for PUP-3827 (#4875) had its acceptance tests ran locally with SHA=$(git rev-parse HEAD) TEST_TARGET=ubuntu1404-64a bundle exec rake ci:test:git
That line is crucially missing a PUPPET_FORK=justinstoller and instead of running code from the local git checkout will instead look for the current SHA in puppetlabs/puppet and when it doesn't find it, it happily runs code from the current HEAD of master.
Some selected commit messages from the past month that this ticket has been in progress:
Prior to this the indirected routes would intercept any issues that
arose in processing the request and format them into a plain text
response with the proper error code.

All other routes pass issues up to the generic route handler which will
format them according to a documented schema.

This moves the indirected routes handler from never raising to always
raising on error, similar to other route handlers. This allows the
indirected routes to share the error handling code with other routes
and provides consistently formatted errors throughout the rest api.

In 363d36e we brought the IndirectedRoutes into consistency with
other API handlers. However, we regressed in no longer catching
Puppet::Network::AuthorizationErrors (which is handled by additional
middleware for other route handlers).

IndirectedRoutes cannot use the same middleware as other handlers
without a larger refactor because the URI supplied to the middleware
must first be coerced and validated (logic which currently lives within
IndirectedRoutes) before it can be authorized.

Therefore, this patch leaves the authorization check within
IndirectedRoutes, but ensure that it catches any
Puppet::Network::AuthorizationError and raises
Puppet::Network::HTTP::Error::HTTPNotAuthorizedError in its place.

Previously, we threw ArgumentErrors when we received a malformed request
for the IndirectedRoutes class. This conflated an error in calling a
Ruby method and an error by the consumer calling an API endpoint, and
consequently always returned 400 statuses for internal errors.

As part of PUP-3827, higher level middleware now handles the response
formatting for errors. The higher level middleware, however, makes the
distinction between ArgumentErrors to Ruby functions and BadRequests to
the API endpoint (and expects throwers to as well).

Since IndirectedRoutes did not make this distinction all invalid
environment requests were then being treated as ServerErrors, and
returning 500 statuses.

This patch updates IndirectedRoutes to throw proper HTTPErrors instead
of ArgumentErrors when a client has submitted a BadRequest, used a
MethodNotAllowed, or the environment is NotFound.

Plus attendant test updates.

Running locally I get this set of failures:
21:37:36 hobo:acceptance justin (PUP-3827-this-time-with-feeling) ‖ bundle exec rake ci:test:git SHA=`git rev-parse HEAD` TEST_TARGET=ubuntu1404-64a PUPPET_FORK=justinstoller

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 3061.94 seconds
      Average Test Time: 10.17 seconds
              Attempted: 301
                 Passed: 242
                 Failed: 0
                Errored: 4
                Skipped: 54
                Pending: 1
                  Total: 301

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
                Test Case tests/direct_puppet/static_catalog_env_control.rb reported: #<Beaker::Host::CommandFailure: Host 'nbr7kz9zy4sf5wi.delivery.puppetlabs.net' exited with 1 running:
               mv /etc/puppetserver/conf.d/puppetserver.conf.bak /etc/puppetserver/conf.d/puppetserver.conf
              Last 10 lines of output were:
                mv: cannot stat ‘/etc/puppetserver/conf.d/puppetserver.conf.bak’: No such file or directory>
                Test Case tests/direct_puppet/supports_utf8.rb reported: #<Beaker::Host::CommandFailure: Host 'nbr7kz9zy4sf5wi.delivery.puppetlabs.net' exited with 1 running:
               ln -sf /tmp/supports_utf8_i6rumvd1 /etc/puppetlabs/code/environments/supports_utf8_i6rumvd1
              Last 10 lines of output were:
                ln: failed to create symbolic link ‘/etc/puppetlabs/code/environments/supports_utf8_i6rumvd1’: No such file or directory>
                Test Case tests/language/exported_resources.rb reported: #<Beaker::Host::CommandFailure: Host 'nbr7kz9zy4sf5wi.delivery.puppetlabs.net' exited with 1 running:
               ln -sf /tmp/exported_resources_9235h4rk /etc/puppetlabs/code/environments/exported_resources_9235h4rk
              Last 10 lines of output were:
                ln: failed to create symbolic link ‘/etc/puppetlabs/code/environments/exported_resources_9235h4rk’: No such file or directory>
                Test Case tests/parser_functions/no_exception_in_reduce_with_bignum.rb reported: #<RuntimeError: PuppetAcceptance::DSL::Helpers.with_puppet_running_on failed (check backtrace for location) because: Host 'nszn6bb4f3f3xfw.delivery.puppetlabs.net' exited with 1 running:
               puppet agent -t --environment no_exception_in_reduce_with_bignum_ugtok9ny --server nbr7kz9zy4sf5wi.delivery.puppetlabs.net
              Last 10 lines of output were:
                Info: Retrieving pluginfacts
                Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: {"message":"Server Error: Permission denied - /etc/puppetlabs/code/environments/no_exception_in_reduce_with_bignum_ugtok9ny/environment.conf","issue_kind":"RUNTIME_ERROR"

I believe those are issues from the fact that it is a git checkout, but I would love someone from the Client team to confirm that.
cat log/latest/hosts_preserved.yml
---
HOSTS:
  nbr7kz9zy4sf5wi.delivery.puppetlabs.net: !ruby/hash:Beaker::Options::OptionsHash
    :pe_dir:
    :pe_ver:
    :pe_upgrade_dir:
    :pe_upgrade_ver:
    :hypervisor: vmpooler
    :platform: !ruby/string:Beaker::Platform
      str: el-7-x86_64
      variant: !ruby/string:Beaker::Platform el
      arch: !ruby/string:Beaker::Platform x86_64
      version: !ruby/string:Beaker::Platform '7'
      codename:
    :template: redhat-7-x86_64
    :roles:
    - master
    - default
    :user: root
    :group: puppet
    :pathseparator: ":"
    :host_tags: !ruby/hash:Beaker::Options::OptionsHash {}
    :vmhostname: nbr7kz9zy4sf5wi.delivery.puppetlabs.net
    :puppetserver-confdir: "/etc/puppetserver/conf.d"
    :puppetservice: puppetmaster
    :puppetpath: "/etc/puppet"
    :puppetconfdir: "/etc/puppet"
    :puppetvardir: "/var/lib/puppet"
    :puppetbin: "/usr/bin/puppet"
    :puppetbindir: "/usr/bin"
    :privatebindir: "/usr/bin"
hieralibdir: "/opt/puppet-git-repos/hiera/lib"
    :hierapuppetlibdir: "/opt/puppet-git-repos/hiera-puppet/lib"
    :hierabindir: "/opt/puppet-git-repos/hiera/bin"
    :hieradatadir: "/etc/puppet/hieradata"
    :hieraconf: "/etc/puppet/hiera.yaml"
    :distmoduledir: "/etc/puppetlabs/code/modules"
    :sitemoduledir: "/opt/puppetlabs/puppet/modules"
    :type: foss
  nszn6bb4f3f3xfw.delivery.puppetlabs.net: !ruby/hash:Beaker::Options::OptionsHash
    :pe_dir:
    :pe_ver:
    :pe_upgrade_dir:
    :pe_upgrade_ver:
    :hypervisor: vmpooler
    :platform: !ruby/string:Beaker::Platform
      str: ubuntu-14.04-amd64
      variant: !ruby/string:Beaker::Platform ubuntu
      arch: !ruby/string:Beaker::Platform amd64
      version: !ruby/string:Beaker::Platform '14.04'
      codename: trusty
    :template: ubuntu-1404-x86_64
    :roles:
    - agent
    :user: root
    :group: puppet
    :pathseparator: ":"
    :host_tags: !ruby/hash:Beaker::Options::OptionsHash {}
    :vmhostname: nszn6bb4f3f3xfw.delivery.puppetlabs.net
    :puppetserver-confdir: "/etc/puppetserver/conf.d"
    :puppetservice: puppetmaster
    :puppetpath: "/etc/puppet"
    :puppetconfdir: "/etc/puppet"
    :puppetvardir: "/var/lib/puppet"
    :puppetbin: "/usr/bin/puppet"
    :puppetbindir: "/usr/bin"
    :privatebindir: "/usr/bin"
    :hieralibdir: "/opt/puppet-git-repos/hiera/lib"
    :hierapuppetlibdir: "/opt/puppet-git-repos/hiera-puppet/lib"
    :hierabindir: "/opt/puppet-git-repos/hiera/bin"
    :hieradatadir: "/etc/puppet/hieradata"
    :hieraconf: "/etc/puppet/hiera.yaml"
    :distmoduledir: "/etc/puppetlabs/code/modules"
    :sitemoduledir: "/opt/puppetlabs/puppet/modules"
    :type: foss
CONFIG: !ruby/hash:Beaker::Options::OptionsHash
  :nfs_server: none
  :consoleport: 443
  :pooling_api: http://vmpooler.delivery.puppetlabs.net/
  :project: Beaker
  :department: unknown
  :created_by: justin
  :host_tags: !ruby/hash:Beaker::Options::OptionsHash {}
  :openstack_api_key:
  :openstack_username:
  :openstack_auth_url: "/tokens"
  :openstack_tenant:
  :openstack_keyname:
  :openstack_network:
  :openstack_region:
  :jenkins_build_url:
  :validate: true
  :configure: true
  :log_level: debug
  :trace_limit: 10
  :master-start-curl-retries: 30
  :masterless: false
  :options_file: merged_options.rb
  :type: git
  :provision: false
  :preserve_hosts: onfail
  :root_keys: true
  :quiet: false
  :project_root: "/Users/justin/Backup/code/work/puppet/acceptance/.bundle/gems/gems/beaker-2.41.0/lib/beaker"
  :xml_dir: junit
  :xml_file: beaker_junit.xml
  :xml_time: beaker_times.xml
  :xml_time_enabled: false
  :xml_stylesheet: junit.xsl
  :log_dir: log
  :log_sut_event: sut.log
  :color: false
  :dry_run: false
  :tag_includes: []
  :tag_excludes: []
  :timeout: 900
  :fail_mode: slow
  :accept_all_exit_codes: false
  :timesync: false
  :disable_iptables: false                                                                                [9/9333]
  :set_env: true
  :disable_updates: true
  :repo_proxy: true
  :package_proxy: false
  :add_el_extras: false
  :epel_url: http://mirrors.kernel.org/fedora-epel
  :epel_arch: i386
  :epel_7_pkg: epel-release-7-6.noarch.rpm
  :epel_6_pkg: epel-release-6-8.noarch.rpm
  :epel_5_pkg: epel-release-5-4.noarch.rpm
  :pe_dir: "/opt/enterprise/dists"
  :pe_version_file: LATEST
  :pe_version_file_win: LATEST-win
  :host_env: !ruby/hash:Beaker::Options::OptionsHash {}
  :host_name_prefix:
  :ssh_env_file: "~/.ssh/environment"
  :profile_d_env_file: "/etc/profile.d/beaker_env.sh"
  :dot_fog: "/Users/justin/.fog"
  :ec2_yaml: config/image_templates/ec2.yaml
  :help: false
  :collect_perf_data: none
  :puppetdb_port_ssl: 8081
  :puppetdb_port_nonssl: 8080
  :puppetserver_port: 8140
  :nodeclassifier_port: 4433
  :cache_files_locally: true
  :aws_keyname_modifier: '7954764593'
  :ssh: !ruby/hash:Beaker::Options::OptionsHash
    :config: false
    :paranoid: false
    :auth_methods:
    - publickey
    :port: 22
    :forward_agent: true
    :keys:
    - id_rsa_acceptance
    - "/Users/justin/.ssh/id_rsa-acceptance"
    :user_known_hosts_file: "/Users/justin/.ssh/known_hosts"
    :keepalive: true
  :helper:
  - lib/helper.rb
  :tests: []
  :xml: true
  :forge_host: forge-aio01-petest.puppetlabs.com
  :install:
  - https://github.com/puppetlabs/facter.git#2.x
  - https://github.com/puppetlabs/hiera.git#1.3.4
  - https://github.com/justinstoller/puppet.git#3bb5db6363df7d1bfb1e0a9784afb489101f0340
  :pre_suite: []
  :hosts_file: "/Users/justin/Backup/code/work/puppet/acceptance/tmp/redhat7-64m-ubuntu1404-64a-7da37d39-31e6-43b0-9fa8-37be7c30d78d.yaml"
  :command_line: "/Users/justin/Backup/code/work/puppet/acceptance/.bundle/gems/bin/beaker
    --options-file merged_options.rb --hosts=tmp/redhat7-64m-ubuntu1404-64a-7da37d39-31e6-43b0-9fa8-37be7c30d78d.yaml"
  :home: "/Users/justin"
  :load_path: []
  :post_suite: []
  :pre_cleanup: []
  :modules: []
  :beaker_version: 2.41.0

CLA signed by all contributors.

@branan @whopper Puppet Agent release has gone out, right? Is the master branch open to merges?

@justinstoller Should #4947 be closed?

Yeah, thanks. Closed.

Updated the indirector rest terminus to properly format messages for error responses in [PJ]SON. Also rebased onto master.

LGTM. Sorry we missed your ping on the PR two weeks ago - yes, master is open for business again. Woot!