Workflow Can Only Turn Focus Off, Not On

Hello,
I can't seem to get the workflow to work properly. I imported it in Alfred and let it add the shortcut to Shortcuts. But when I type dnd into Alfred, the only option it ever offers me is to "Turn off status Focus" (even when dnd is not on). I can not use the workflow to turn DND on, however if it is already on it does work to turn it off.   Alfred 5.0.6 [2110] MacOS 12.6.3
Combined with the other dnf workflow (which you posted in the the other, now closed issue here on github) I can activate dnd. So, in the meantime, I can use dnf to activate DND and then dnd to turn it off again using dnd when needed. But I'm sure it should be much easier than that. However, I do like the dnf functionality of turning DND off and then turning back on for the new duration, so perhaps I will continue to use that even if we get this resolved.
Here's the output of the debugger.  Thanks!

Make sure you’re on version 2023.1 of the workflow and that you have the correct version of the shortcut installed. To confirm the latter, reinstall it: go into the Shortcuts app and delete Calm Notifications; next time you dnd the workflow will offer the option to reinstall the shortcut.
If the problem persists after that, please submit a new bug report via the template, as I’ll need the information requested in there.

Yep, as downloaded from Latest Releases here on github. I submitted via the template, although I'm not sure there's any new information there. Appreciate your help!

although I'm not sure there's any new information there.

There is! I think the macOS version holds the key.


ToolbarAndroid action title color

in ToolbarAndroid  actions
var toolbarActions = [
{title: 'Create', icon: require('image!ic_create_black_48dp'), show: 'always'},
{title: 'Filter'},
{title: 'Settings', icon: require('image!ic_settings_black_48dp'), show: 'always'},
];
how to change the action title color

There's no built in way in react-native to do that but it is possible to do it by changing the styles.xml file of your app.
See this for examples of how to do it http://stackoverflow.com/questions/28352963/change-toolbar-menu-item-color-non-hidden-action

@facebook-github-bot answered


Looking at the logs for the local celestia devnet shows that the first failed submission occurs because of ERR Error on broadcastTxCommit err="timed out waiting for tx to be included in a block" module=rpc, while any future attempt by Rollkit to submit the data fails because ERR Error on broadcastTxCommit err="tx already exists in cache" module=rpc.
While it might be possible to change the timeout_commit value locally and resolve the issue, Rollkit might be better off using something like BroadcastTxSync or BrodcastTxAsync, or perhaps the change from go-cnc to open-rpc will fix this issue by allowing Rollkit to wait for the context deadline of the request more accurately, avoiding further attempts to submit a tx already in cache

We will revisit this after the move to open-rpc to see if it resolves the issue. Thank you

This won't be fixed in RPC until https://github.com/celestiaorg/celestia-app/issues/1885 is fixed

@Ferret-san now that the move to open-rpc is done and https://github.com/celestiaorg/celestia-app/issues/1885 is fixed, is this issue resolved? cc: @Wondertan @nashqueue

We didn't integrate that feature into the node yet. @cmwater is on it

Bumping this for revisiting @Wondertan

This is reproducible if blocks are full, currently tested by mocking Submit. A potential fix can be to use a context timeout so that we can retry without having to wait for tx to time out on the app.


Buildbot sometimes checks out the wrong revision for try runs

https://github.com/servo/servo/pull/13957#issuecomment-257116847 links to a log with a compilation error that is actually from https://github.com/servo/servo/pull/13956#issuecomment-257115718 . This really confused me!

I'm unable to reproduce - when I click through to the stdio and warnings logs for those comments, they have different contents - different lengths, file paths, headers, etc. (although they both end in the same error). Can you provide direct links to the logs you are seeing or maybe upload some screenshots?
There may be a caching problem somewhere, although I'm doubtful as one is for a windows-dev build and the other is for a linux-dev build.

However, you're absolutely right that http://build.servo.org/builders/windows-dev/builds/1770/steps/compile/logs/stdio and http://build.servo.org/builders/windows-dev/builds/1772/steps/compile/logs/stdio are different logs with different contents. This may be a problem of the code on the try branch not being updated correctly?

http://build.servo.org/builders/windows-dev/builds/1770/steps/git/logs/stdio and http://build.servo.org/builders/windows-dev/builds/1772/steps/git/logs/stdio show the same hash being used when updating the branch, which would explain why this occurred.

http://build.servo.org/builders/windows-dev/builds/1770 and http://build.servo.org/builders/windows-dev/builds/1772 show that different revisions should have been used.

OK, that makes more sense and matches what I'm seeing, thanks for looking again.
http://build.servo.org/builders/windows-dev/builds/1772 has different values for revision (the revision triggering the build request, in this case a06cb1ca) and got_revision (the revision that was actually used during the build, in this case 59e651b7). Checking the git log, it seems like Buildbot fetched the try branch, tried to check out the commit from revision, did both of those steps again, then gave up and just used the current value of try as the got_revision branch.
I can see two potential problems here:

Something force-pushing to try such that a06cb1ca was not available - this may be due to multiple restarts of Buildbot soon after each other when fixing #524 yesterday.
Buildbot accepting whatever commit it found on the try branch (aka 59e651b7) instead of erroring out.

I'll look into some potential solutions.

I made a PR that will fix the second problem, but I'm not sure about a good way to fix the first one; I think just manually retrying if we encounter this again is the most practical solution.

Thanks!

Should be fixed by #531 and #554.


Fix: diff history against active branch in Branch dashboard

GsCompareCommit have been changed to WindowCommand

@stoivo this is meant to fix issue 500 right? If so, please update description so it autocloses it.

@asfaltboy, no this only fixes H not the M key

O alright, my bad, this one's ok though!


Meta for linting features

Meta issue to track what we would hope would be fixed by some potential work.

[X] [Automatically respect .pylintrc files #442]
[ ] [Question/Idea: Lint full directory/project #82]
[ ] [Pylint message template overridden by linter #382]
[ ] [Implement linting on change #408]
[X] [print statement is highlighted by pylint #722]

Open ones are part of PTVS work


Update "help and other questions" issue template

Summary
Replace "nightly build" phrase with "non-release build".
Resolves #3174

Pushed new commit to use "alpha" instead of "non-release".


D3D12: Dynamically load D3D12, DXGI and D3DCompiler

Linking against their .lib makes loading Dawn fail on systems that don't
have the DLLs. This happens for example on Windows7 that doesn't have
d3d12.dll. Instead we dynamically load functions pointers from these
DLLs at d3d12::Device startup.
PTAL @SenorBlanco @kainino0x I noticed this issue because of a flake on the Dawn buildbots that were flaking but only when running on the Windows 7 bot.

Also fixed the leaking of PlatformFunctions and added the files to the CMakeLists (I only put them in BUILD.gn)

Thanks for the reviews!


Fix115

Fixed the KeyError['linux'] error and ['ri'] errors
The previous pull request was closed, as it was modified on a different branch.( older version)
Corrected few bugs reported in reserved_counters and instance_counters
Enhancements:
A new column is added "Region" in the output
Added new options for location (multiple) and save for both list and report outputs in csv and json . Table format will not be saved.
Added JSON format as an output option
Enhanced table output format to a stylish format

Hi!
Thank you for your contribution. I have some doubts to solve. Commenting these online.

Hi!
In first place, sorry for such late reply on this issue.
Second, I really appreciate your contribution and interest, thanks!
Following I will point some issues, some would be needed to merge this, others would be things to avoided next time.

Issues required to get merged

Tests are not passing on these changes, this is a must to get this merged. I think this needs a fixture change.
Shebang should be kept as #!/usr/bin/env python.
The style should be enforced (PEP8).

Avoid next time

When using debugging tools and code, and commenting useless code, it would be great to avoid committing this, even when these are removed in later commits, to keep these out of the history.

Great!

Having this working again, GJ!
I realized we need some contribution instruction and style guidelines ;)

Looking forward to see these changed and merge this.
Thank you so much!

@arunjayanth Would you mind if I take the fixes into code in a separate PR?


[WARNING PPL-0036] Number of sections is 1404 while the maximum recommended value is 600 this may negatively affect performance.

Description
Improve error message. What is a "section" and how does it relate to floorplan area?
Suggested Solution
The error message should give some actionable advice, like "increase area such that width + height is n% greater" or somesuch.
Additional Context
No response

Is this with the old ppl?

Is this with the old ppl?

Yes. The error is correct, the area is too small(not enough space on the edges).
This feature request is about.making the error more immediately actionable.

@oharboe Could you share the complete PPL log? I want to understand the flow of messages you're having in this design.

I will reopen if I have the complete logs.


Upload files to create a new project

Description
This PR makes it possible to create a project by uploading files/folders from user's computer.
Fixes: #870
Checklist

[x] The PR branch is set up to merge into dev instead of master.

Great work @iannbing
Some strange behaviours
I get a strange behaviour where it hangs on 98% when trying to upload a folder...
https://user-images.githubusercontent.com/6852479/166452862-9a3a88b6-6482-4ce5-aeb2-a123fd11ea68.mp4
I then refresh the page (because there's no cancel button) and get some strange values in the project list...

When git repo text input clicked and exited with no URL - error input text appears... this should only happen when there is text in the box...

Proposed changes
Project list page

[ ] Restyle drag & drop incoming to this

Import project dialog

[ ] Change git repo text field error text to "Not a valid HTTPS git repository URL"
[ ] When clicking out of git repo text field and it is empty... do not display error message
[ ] When hovering over drag & drop box change icon colour to same colour as border
[ ] Reduce vertical spacing between icon and "drag & drop" text from 8px ➡ 0px
[ ] Change drag & drop box border style to dash 4, gap 4

Uploading project dialog

[ ] Is it possible to align the top of this dialog and previous dialog so the transition is less jarring?
[ ] Add "Cancel" text button next to "Save" button
[ ] Change icon colour to light/action/active (54p)
[ ] Change text size to "body 2"
[ ] Change text colour to light/secondary/dark
[ ] Will there actually ever be any Jobs shown from imported folder? If not, should we remove that icon?

Upload complete dialog

[ ] Is it possible to align the top of this dialog and previous dialog so the transition is less jarring?
[ ] Change dialog heading to "Upload complete"
[ ] When hitting save - open up new project rather than showing project list

@ncspost

Restyle drag & drop incoming to this

The current styling is aligned with File Manager. I'd rather change them altogether.

Change drag & drop box border style to dash 4, gap 4

This requires some dirty hack. I'm not sure if it's worth it to achieve this.

Is it possible to align the top of this dialog and previous dialog so the transition is less jarring?

Unfortunately MUI dialog doesn't offer an API to do this. I'd rather not to hack it because we might break its built-in responsiveness.

When hitting save - open up new project rather than showing project list

It should have already be functioning as such (Once you hit "SAVE" it should navigate to PIpelineEditor and open the first pipeline if any.). Could you confirm it? Let me know if you found a bug.

This requires some dirty hack. I'm not sure if it's worth it to achieve this.

np!

Unfortunately MUI dialog doesn't offer an API to do this. I'd rather not to hack it because we might break its built-in responsiveness.

np!

The # of pipelines indicator gets stuck for me. No error in network tab or console.

and the button makes it feel like you're already "done". The button should probably be named "Save".

This change was proposed earlier by @ncspost. I had similar concerns, but then I was not super against it ("View project" tells user what's coming, i.e. immediately redirect to the project). I might opt for "Save and go to project", but it's quite verbose.
@ricklamers @ncspost could we make a decision here?

I think this is ready! Great job all (mainly @iannbing ofc)


PublishTrimmed and reflection-based serialization

Fixes #37730

Internal previews

📄 File
🔗 Preview link

docs/core/compatibility/8.0.md
Breaking changes in .NET 8

docs/core/compatibility/serialization/8.0/publishtrimmed.md
PublishedTrimmed projects fail reflection-based serialization

docs/core/deploying/trimming/prepare-libraries-for-trimming.md
Prepare .NET libraries for trimming

@eiriktsarpalis Can you review this when you get a chance?


typo fix

addresses https://github.com/leap-stc/data-management/pull/109#issuecomment-2073682902

@jbusecke, can you merge this when you get a chance?


Mention INFRA_PELICAN_COMMIT in Dockerfile build instructions

The INFRA_PELICAN_COMMIT argument can be specified at image build time, that's of course standard for ARG in a Dockerfile, but users might not be aware of that.


Missing information about resource group limitations

According to this answer, there is a limitation with regards to resource group, not only a single app service: "The requested app service plan cannot be created in the current resource group because it is hosting Linux Apps. Please choose a different Resource Group or create a new one".
I cannot see this limitation mentioned on this doc page, only "You cannot create Web App for Containers in an App Service plan already hosting non-Linux Web Apps.", which only mentions different OS web apps in the same App Service plan.

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

ID: ef9002ed-c817-c615-fe32-05ad4cc78b61
Version Independent ID: 72295255-8d90-a2c6-0995-0e1208fcdcab
Content: Introduction to App Service on Linux
Content Source: articles/app-service/containers/app-service-linux-intro.md
Service: app-service
Product: unspecified
GitHub Login: @naziml
Microsoft Alias: wesmc

@geirsagberg We have gone ahead and added that clarification. The change should be reflected publicly within 24 hours.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and tag me in your reply. We will gladly continue the discussion.


⚠ Bofrost.de has degraded performance

In 839c504, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1114 ms

Resolved: Bofrost.de performance has improved in 69365c4 after 309 days, 10 hours.


[Feature Request] Center cursor

Keep the cursor centered vertically on the screen. Something like set scrolloff=999 in Vim.

Thanks for the suggestion!


Please invite me to the GitHub Community Organization

Name
Mobasherah Falak
Discord Username (if applicable)
Mobasherah Falak#2383
Additional Context
Hi, I am a web developer and interested in being a part of this community.

Check your email or visit org page

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Running Swimmer, HalfCheeta, Humanoid etc

Hi,
Thank you very much for releasing your code. Could you please tell me how to run this code on other environments like HalfCheeta.
Thanks

Oh, I found the way. For standard environments, we need to use GymEnv instead of CustomGymEnv. Thanks


Prevent title from changing to the page name

This prevents the application from having its title change to 'home-page', 'lists-page', etc. and instead uses the title 'Fair Chair'. This pull request is meant to be more of a request-for-comments rather than an actual fix. The question being:
Do we want the title to stay 'Fair Chair', or do we want it to be dynamic, e.g.: 'Fair Chair | List', when on the list page and 'Fair Chair' when on the home page?
Changes will be made appropriately depending on the decision.

Hi @meme ,
Thanks for the PR! I think this is an improvement over the previous functionality already, so I'll merge it into master. I think just having "Fair Chair" as the title is fine. Thanks for the help!


💡 [REQUEST] - Refresh access token without resetting the refresh token

Summary
Hello, thank you for the convenient library.
This feature request is to support Amazon Cognito's token refresh behavior.
Cognito's token endpoint returns a refresh_token as expected when the grant_type is authorization_code, but it does not return a refresh_token when the grant_type is refresh_token (Cognito reference).
The library currently expects the token response during refresh to always include the access_token and refresh_token, meaning that refreshing the token with Cognito can only be performed once, after which the refresh_token is undefined (library code reference).
Thanks for the consideration.
Basic Example
An example configuration flag could allow retaining the existing unexpired refresh token.
Drawbacks
Cognito's token endpoint behavior is admittedly atypical.
Unresolved questions
No response
Implementation PR
No response
Reference Issues
No response

Hi, thanks for the report @rning
Think this should be an easy change, which won't do much harm.
I'll get a fix out :slightly_smiling_face:


doc: release-notes-3.7: complete LED release notes

This patch completes the release notes for LED and LED strip subsystems.
https://github.com/zephyrproject-rtos/zephyr/issues/75933

Just 2 minor things. Thanks

Just 2 minor things. Thanks

Thanks for spotting them.


In dockerised environment how can I implement SMS and Webhook alert.

Hi,
I am trying to implement alerting features in pinpoint apm and I have implemented mail alert but don't know how can i implement SMS alert in the dockerized environment and also for webhook. Please provide steps so that I could implement them. I am working in a production environment, it is a bit urgent. I hope you can understand. It would be very helpful.
Thank you

You can manually build your own batch application, and modify the Dockerfile script to use the JAR you made instead of downloading github release.
I recommend to create a new maven project which has dependency of this pinpoint maven project.
Please refer docs for details of how to override default SmsSender, WebhookSender


Failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.

Hi, found this warning while running curl_ff95 (I guess happens on others too):
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work

Downloaded and ran the binary without installing anything else. Not sure if it affects anything.

Confirmed this warning also shows on the compiled version.

Are you on Ubuntu? Could you try installing NSS before? sudo apt install libnss3

Was already installed.
jd@MSI:/tmp$ curl_ff95 -vvv https://api.ipify.org
*   Trying <IP_ADDRESS>:443...
* Connected to api.ipify.org (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: none
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.
*  CAfile: none
*  CApath: none
* loaded libnssckbi.so
* ALPN/NPN, server did not agree to a protocol
* SSL connection using TLS_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=*.ipify.org
*  start date: Feb 07 00:00:00 2022 GMT
*  expire date: Mar 10 23:59:59 2023 GMT
*  common name: *.ipify.org
*  issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> GET / HTTP/1.1
> Host: api.ipify.org
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate, br
> Upgrade-Insecure-Requests: 1
> Sec-Fetch-Dest: document
> Sec-Fetch-Mode: navigate
> Sec-Fetch-Site: none
> Sec-Fetch-User: ?1
> TE: Trailers
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Cowboy
< Connection: keep-alive
< Content-Type: text/plain
< Vary: Origin
< Date: Sun, 15 May 2022 15:24:36 GMT
< Content-Length: 11
< Via: 1.1 vegur
<
* Connection #0 to host api.ipify.org left intact
[redacted]
jd@MSI:/tmp$ sudo apt install libnss3
[sudo] password for jd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnss3 is already the newest version (2:3.49.1-1ubuntu1.6).
libnss3 set to manually installed.
The following packages were automatically installed and are no longer required:
  libfwupdplugin1 libnvidia-compute-495
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
jd@MSI:/tmp$ curl_ff95 -vvv https://api.ipify.org
*   Trying <IP_ADDRESS>:443...
* Connected to api.ipify.org (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: none
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.
*  CAfile: none
*  CApath: none
* loaded libnssckbi.so
* ALPN/NPN, server did not agree to a protocol
* SSL connection using TLS_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=*.ipify.org
*  start date: Feb 07 00:00:00 2022 GMT
*  expire date: Mar 10 23:59:59 2023 GMT
*  common name: *.ipify.org
*  issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> GET / HTTP/1.1
> Host: api.ipify.org
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate, br
> Upgrade-Insecure-Requests: 1
> Sec-Fetch-Dest: document
> Sec-Fetch-Mode: navigate
> Sec-Fetch-Site: none
> Sec-Fetch-User: ?1
> TE: Trailers
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Cowboy
< Connection: keep-alive
< Content-Type: text/plain
< Vary: Origin
< Date: Sun, 15 May 2022 15:24:55 GMT
< Content-Length: 11
< Via: 1.1 vegur```

Seems to me that it works ok?
This line means that curl loaded the nss library with the TLS certificates it needs:
* loaded libnssckbi.so

and the following warning can be ignored:
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.

Good. Will just ignore it then.
Thanks

Alright :+1:


Create Sample - Facebook Adapter - C#

Create Sample - Facebook Adapter - C#

PR open for sample #1861


feat: Introduce endpoint authMethods

Closes https://github.com/seamapi/blueprint/issues/118

Add endpoint authMethods
Add security schemas to fixture openapi spec

@razor-x I did a small refactor in fb72c605a2557eaad1f4d216709e04f5a21db07a. Hope it's okay that I merged it with another approval.


tmpop: make it possible to handle multiple versions for Transaction

Transactions should have a version identifier so that we can update the transaction format and have tmpop able to handle old AND new transactions.

fixed by go-chainscript


Help wanted. OIDC Certification fee

The server pass the oidcc-basic-certification-test-plan with some warnings. It is anticipated that it will pass the certification process, but we need your assistance. Please sponsor this project to help us pay the required certification fee.
Choose your favorite:

issuehunts
github sponsor,
liberapay

Once I can get past the error "PII of type 'System.String' is hidden." and can demo this to my CTO, I'm going to push my company to see the value and contribute too.

@BrianMinister "PII of type 'System.String' is hidden." is usually an issuer configuration issue. https://stackoverflow.com/a/62008969/2940908


update version to 5.3.1

Codecov Report

Merging #12 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #12      +/-   ##
=========================================
+ Coverage   49.22%   49.4%   +0.18%
=========================================
  Files          45      45
  Lines        1093    1093
  Branches      183     183
=========================================
+ Hits          538     540       +2
+ Misses        433     430       -3
- Partials      122     123       +1

Impacted Files
Coverage Δ

...fa/rpc/boot/container/ProviderConfigContainer.java
74% <0%> (+4%)
:arrow_up:

Continue to review full report at Codecov.

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


How did you get the collision map?

Hey,
I can't find a way to contact you, so I'm trying this way.
As part of my bachelor thesis I'm working on a runelite project, which involves pathing around the map. Naturally your shortest-path plugin has been very helpful to me.
As I can tell, the entire Collision Map has been saved in collision-map.zip
Runelite API has the option to give you a collision map, but for the current scene only. So my question is, what was your method to get a collision map which covers the entire osrs map? How do your update the collision-map.zip if the map updates in future?
Thank you very much

I can't find a way to contact you, so I'm trying this way.

If you want a more chat-like conversation with me (Skretzo#1303) then Discord private messages is a good place.

what was your method to get a collision map which covers the entire osrs map?

TL;DR: I run some sloppy code on some map data by Mejrs to find walls and fully blocked tiles, but the proper way is to generate it directly from the game cache files.
I will now briefly explain 3 methods to generate a collision map of OSRS with their pros and cons:

The future method of the shortest-path plugin
My snapshot method
The proper snapshot method

The future method of this plugin involves using the RuneLite API for the scene and storing this data locally as you run around exploring the game. This is the only way to get get rid of the static collision-map-zip, which is just a snapshot of the collision map at the time of its creation. My understanding is that in-game objects can only be changed roughly once every week, possibly also through intra-weekly coldfixes (following unannounced in-game countdowns), but not through hotfixes (silent updates without in-game countdowns), meaning I actually should push a new collision map every week. Another advantage of instead using the current scene is that it is the only way to know whether a gate/door is currently open or closed, which will have an impact on the in-game path (even if the door changed after you started pathfinding). I highly recommend you check out GeChallengeM's Path Marker if you want to know the technical details of correct OSRS pathfinding, but do know that OSRS does not use up-to-date technology for pathfinding (no A* or Dijkstra, it's most likely flood-fill [info from Mod Ash] or Breadth-first search [info on the OSRS Wiki]).
My current method of generating the collision map is a bit weird, but it was the first idea I came up with when the original developer of this plugin (Runemoro) disappeared without documenting the creation process (looks like I did not learn from his mistake, hehe). I download the image data used in Mejrs's OSRS map, in particular the purple nomove and the red and yellow locations[Jagex name for game objects]. Each image represents a 64x64 tile area (called a region) in OSRS with 4x4 pixels to draw doors and walls on each tile. That gives 256x256 images named according to which region they refer to (z_regionX_regionY.png, e.g. 0_50_50.png for Lumbridge). I then run some Python code over these images to find where movement in west, east, south, north, south-west, south-east, north-west and north-east is possible/not possible. Due to a total file size limit of 10 MB for RuneLite plugin-hub plugins and the RuneLite creator Adam urging plugin-hub plugins to reduce download bandwidth usage (the plugins are re-downloaded on every update) Runemoro made the collision map as small as possible while almost preserving perfect OSRS pathfinding by limiting to only 2 bits per tile (is west-east movement possible and is north-south movement possible?). From this you can also determine diagonal movement (checking west-east and north-south for the neighbour tiles), but not edge case one-way diagonal movement. There are also 4 possible z-levels for each tile so we end up with 8 bits per tile (see this code for the full details). I should maybe document and upload my silly collision map generation method somewhere, but don't expect it to happen soon.
The proper way to generate a collision map file (or even read the collision map data only on demand?) is to rely on the OSRS game cache files. However retrieving collision map data from the cache does require fetching and using up-to-date XTEA decryption keys from the OpenRS2 Archive. This is the only way to get weekly up-to-date collision map data without actually running around in-game. The reason I don't use this method is simply that I have not looked into how to do it yet. The code to do it can probably be extracted and modified from the MapImageDumper in the RuneLite cache tools.

If your project is more about pathfinding and less about collision maps then I would recommend you check out the OSRS Wiki Pathfinding project. I am not sure what kind of state that project is in, but wiki admin Cook Me Plox will probably answer questions about that project and graph theory (or anything technical about OSRS really) if that is your cup of tea :)

I don't know if it would help with the third method but the code used to generate the osrs wiki's maps is available here and the wiki page about it is here.
I'd give it a go but Java hurts me

A follow up to 3) Generating a collision map from the cache:
I have now modified the MapImageDumper in RuneLite to create a Collision Map Dumper.

Download a cache and XTEA keys from a specific point in time (e.g. latest) from https://archive.openrs2.org/caches.

Replace all instances of the words mapsquares with regions and key with keys in the keys.json file.

Run the CollisionMapDumper with program arguments --cachedir "input-path" --xteapath "keys.json" --outputdir "output-path".

Finally, I recommend removing empty collision maps which are typically inaccessible mapsquares out in the ocean or the void that are filled with only nomove tiles. This is about 600 mapsquares or so of the current total of roughly 2100 mapsquares.

A follow up to 3) Generating a collision map from the cache:
I have now modified the MapImageDumper in RuneLite to create a Collision Map Dumper.
1. Download a cache and XTEA keys from a specific point in time (e.g. latest) from https://archive.openrs2.org/caches.

2. Replace all instances of the words `mapsquare` with `region` and `key` with `keys` in the `keys.json` file.

3. Run the [CollisionMapDumper](https://github.com/Skretzo/runelite/blob/f5a286d71c8a7e083accc2035078cc1b738a86b9/cache/src/main/java/net/runelite/cache/CollisionMapDumper.java#L88) with program arguments `--cachedir "input-path" --xteapath "keys.json" --outputdir "output-path"`.

4. Finally, I recommend removing empty collision maps which are typically inaccessible mapsquares out in the ocean or the void that are filled with only nomove tiles. This is about 600 mapsquares or so of the current total of roughly 2100 mapsquares.

Just learning all the stuff and how items are working.
Did you had the issues to run the dumper?
`
[main] INFO net.runelite.cache.util.XteaKeyManager - Loaded 1772 keys
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "net.runelite.cache.fs.Index.getArchive(int)" because "index" is null
at net.runelite.cache.ObjectManager.load(ObjectManager.java:60)
at net.runelite.cache.CollisionMapDumper.load(CollisionMapDumper.java:74)
at net.runelite.cache.CollisionMapDumper.main(CollisionMapDumper.java:125)
`
It look like this cache file is empty and not existing.
main_file_cache.idx255


Issue with command to enable DDoS protection

When I'm trying to enable DDoS protection for single IP mode using the built-in example using PowerShell (I'm trying with Azure Cloud Shell)
and running the command New-AzPublicIpAddress -Name myStandardPublicIP -ResourceGroupName MyResourceGroup -Sku Standard -Location "East US" -AllocationMethod Static -DdosProtectionMode Enabled
I get this error message.
New-AzPublicIpAddress: A parameter cannot be found that matches parameter name 'DdosProtectionMode'.
Do we need a new version of the Azure Network module to use the feature?

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

ID: cfa10ea5-7442-848a-d93b-11ffe3ba598e
Version Independent ID: b0c3bb02-6feb-824a-9767-85b5a7c0f22e
Content: Quickstart: Create and configure Azure DDoS IP Protection using PowerShell
Content Source: articles/ddos-protection/manage-ddos-protection-powershell-ip.md
Service: ddos-protection
GitHub Login: @AbdullahBell
Microsoft Alias: abell

Hello, version 4.21.0 of Az.Network is required for these cmdlets. Thank you for your question.

Hi @AbdullahBell
Thanks for your quick response.

#please-close


Convert code to flems link

I'm thinking for blog posts that it might be better to show a code block normally using <pre><code>... and having a link to flems.io. Obviously, I can go to flems.io, copy/paste code and then copy the link, but that's a bit tedious.
An additional API. similar to Flems(element, options) that builds a link would be helpful.

Ah, that's a good idea.. Perhaps a flems.io package would be better suited for that though?
Until then you can easily build it yourself like this
'https://flems.io/#0=' + LZString.compressToEncodedURIComponent(JSON.stringify(state))

Would also love to hear your thoughts on why you think it's better to show a code block?

I find the page jumps around when a bit. See http://mike-ward.net/2018/05/09/mithril-rising/. I ended up adding a scroll(0,0) to force it to the top. Seems to have something to do with the ajax call in one of my examples.
I got three down votes on EchoJS for my article. I've never seen that before. I think it must be something to do with the code sample. This is essentially an update to a previous article that got lots of upvotes and downs. I might be reading to much into it, but then again...
The narrow format of my blog does not play well with the side-by-side code output view.
Question about 'https://flems.io/#0=' + LZString.compressToEncodedURIComponent(JSON.stringify(state))
How do I include packages?

state in that example is the same state as you provide to Flems(domElement, state), so something like:
'https://flems.io/#0=' + LZString.compressToEncodedURIComponent(JSON.stringify({
  files: [{
    name: '.js',
    content: 'm.render(document.body, m("h1", "hello"))'
  }],
  links: [{
    url: 'https://unpkg.com/mithril',
    type: 'script'
  }]
}))

Oh, I see. That's perfectly acceptable. API not needed. Might be worth documenting.

Whoa.. yeah, weird that it starts out at the middle of the page..
Also weird with the downvotes.. It's a pity there's no comments about why...
On a side note you'll be able to specify layout in the next update to force either side by side or stacked instead of auto (as currently where it adjusts depending on container ratio).

Yeah, I'll need to document and write about all of this, but it's so much more fun building it :D I want to get persistence on flems.io finished first, and then I might be able to pull myself together for it ;)

OK, update the page to show code blocks with links. Kind of dull but less noisy I suppose.

Another thought (maybe a separate issue), maybe Flems could be smart about loading npm packages from import statements?
import m from 'mithril'

Yeah, that actually works for packages that has "module": "target" in their package json ;) Mithril just isn't compiled to esm :-(
Here's a sample

The sample you posted with "import" works in safari and chrome, but not in firefox. Hm... That's strange...

This example lacks a scrollbars in the .JS file. Did I do something wrong?

@tormodvm If you're not on Firefox 60 yet that's the reason.. They didn't enable esm modules in firefox before 60 ;)

@mike-ward It's actually on flems.io that I don't force autoHeight to be false.. You can set it to false, but I'll also fix it on flems.io right away..

Of course. I had autoheight on when I was displaying inline.

It's also fixed on flems.io now, so it'll be ignored unless it's iframed ;)

@porsager Updating to Firefox 60 did the trick. Thanks! :)

@mike-ward re

I find the page jumps around sometimes when rendering. See http://mike-ward.net/2018/05/09/mithril-rising/. I ended up adding a scroll(0,0) to force it to the top. Seems to have something to do with the AJAX call in the last example.

I found out the issue was due to a hack inside codemirror. I've prevented codemirror from scrolling the window now, so you shouldn't see this issue any more.. Sorry about that!


Crime execution improvements

Adds stealing from smelters and storage tanks.
Until #974 is resolved, the way resources are stolen will be fairly uninteresting.
One may be able to argue that stealing raw materials is a bit silly...

Yikes, 100 units of refined resources? That's like... 100 truck loads of materials lost 0.0

@ldicker83, good point. I hadn't thought of the balance yet. What do you think about RANDOM between 1-5 resources then? Maybe make it a bit higher on hard difficulty.
Also, the Agridome losing 100 food is probably too high as well now that I think about it.
-Brett

@ldicker83, good point. I hadn't thought of the balance yet. What do you think about RANDOM between 1-5 resources then? Maybe make it a bit higher on hard difficulty.

Also, the Agridome losing 100 food is probably too high as well now that I think about it.

1 - 5 works for me, that makes a lot more sense. Food could probably be a bit more, like 10 - 15 units per event and more for higher difficulties. These would probably be accounted for as organized criminal activity and underground / black-market transfer of goods.

Anyway, I'm fine with you using std::clamp. I just think constant clamp values should be the 2nd and 3rd parameter, while the variable value should be the 1st parameter. That will always be safe, regardless of range. (Unless the constant values are wrong, in which case it's always wrong, so you'll know very quickly).

@ldicker83, I'm hoping this was closed without merge by accident? I was planning on pulling in the random number generator before merging as recommended in some of the comments. However, if your intention was to merge as is, I'm happy adding the random number generator in a separate PR, just don't want to see these changes lost.
-Brett

Hmm, odd. There was no comment, so I assume that was done by accident?

OK, I'm ready to merge this branch unless there are any remaining issues someone else notes. I would like to make the actual resource quantities stolen random but that can be in a separate PR.
Below is an shot of rare metals being stolen during play testing.

@ldicker83, I'm hoping this was closed without merge by accident? I was planning on pulling in the random number generator before merging as recommended in some of the comments. However, if your intention was to merge as is, I'm happy adding the random number generator in a separate PR, just don't want to see these changes lost.
-Brett

I don't remember closing this so I probably hit something by mistake. Whoops? I might have hit Close with comment by mistake.


Folder Changes and MNEDC Config to YAML

Signed-off-by: Sunchit Sharma<EMAIL_ADDRESS>Description

"samples" Folder had been removed and 2 new folders : "configs" and "examples" have been created.
"datastorage" and "mnedc" configuration moved to configs and Native examples moved to examples
client.config ->client-config.yaml , corresponding code changes have been made

Fixes #209
Type of change
Please delete options that are not relevant.

[X] Code cleanup/refactoring
[X] Documentation update

How Has This Been Tested?

Set Up one system in Main NAT as MNEDC server
Set up 2 system in Sub NAT as MNEDC Client
Checked the logs for connection
Requested Service from Sub NAT system to Main NAT system
Worked Properly as expected.

Test Configuration:

Firmware version: Ubuntu 16.04
Hardware: x86-64
Edge Orchestration Release: Coconut

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Thank you for this contribution!
I recommend you to split the PR for ease of discussion and understanding like below.

Applying yaml to the MNEDC config file
Changing folder structure

Thank you for this contribution!
I recommend you to split the PR for ease of discussion and understanding like below.

Applying yaml to the MNEDC config file
Changing folder structure

Thank you for this contribution!
I recommend you to split the PR for ease of discussion and understanding like below.

Applying yaml to the MNEDC config file
Changing folder structure

@sun-sharma Please refer to CONTRIBUTING session 11. We recommend that the PR would be good in a feature basis.

Thank you for this contribution!
I recommend you to split the PR for ease of discussion and understanding like below.

Applying yaml to the MNEDC config file
Changing folder structure

@sun-sharma Please refer to CONTRIBUTING session 11. We recommend that the PR would be good in a feature basis.

Sure, I would do that. Thank you.

Sure, I would do that. Thank you.

I am closing this PR and splitting into two.

I am closing this PR and splitting into two.


Escape LIKE parameters containing wildcard characters like % (and _)

Your Question
In GORM documentation there is an example how to use LIKE conditions:
// LIKE
db.Where("name LIKE ?", "%jin%").Find(&users)
// SELECT * FROM users WHERE name LIKE '%jin%';

The problem that I have with this approach is that if jin is user input variable it can contain wildcard symbols like %. How can I escape such wildcard symbols?
For me these symbols must be used in the left part like:
db.Where("name LIKE %?%", "jin").Find(&users)

OR
db.Where("name LIKE '%' || ? || '%'", "jin").Find(&users)

and the ORM should escape automatically the parameter, but this is not how it behaves.
What is the right solution?
The document you expected this should be explained
https://gorm.io/docs/query.html#String-Conditions
Expected answer
Probably some postgresql function should be called to escape the input variable or this should be done by GORM

refer to https://gorm.cn/docs/security.html


maddpg

High Level Description
[Describe what your goal is]
Desired SMARTS version
[ 0.4.16]
Operating System
[ ubuntu 18.04]
Problems
When I use maddpg in the benchmark, the following errors occured. Could you please help me?

Hi, I am having same problem, did you manage to solve it?


rbenv install 3.2.2 fails with cannot load such file -- rubygems/gem_runner (LoadError)

Steps to reproduce the behavior
I expect to install new Ruby
Expected vs. actual behavior
Installation fails
Logs

compiling parser.c
compiling ruby_objs.c
linking shared-object json/ext/parser.so
compiling unescape.c
make[2]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2/ext/json/parser'
linking shared-object rbs_extension.so
linking shared-object ripper.so
make[2]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2/ext/ripper'
make[2]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2/.bundle/gems/rbs-2.8.2/ext/rbs_extension'
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2/ext/json/generator'
make[2]: Entering directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2'
RubyGems' were not loaded. error_highlight' was not loaded.
did_you_mean' was not loaded. syntax_suggest' was not loaded.
/home/jacekp/.rbenv/versions/3.2.1/bin/gem:8:in require': cannot load such file -- rubygems/gem_runner (LoadError) 	from /home/jacekp/.rbenv/versions/3.2.1/bin/gem:8:in '
make[2]: *** [uncommon.mk:1224: .revision.time] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2'
make[1]: *** [exts.mk:93: ruby] Error 2
make[1]: Leaving directory '/tmp/ruby-build.20230612155657.206151.QNtlZi/ruby-3.2.2'
make: *** [uncommon.mk:331: build-ext] Error 2

rbenv uninstall 3.2.1
and
rbenv install 3.2.1
works

but trying to install ruby 3.2.2
fails again
/home/jacekp/.rbenv/versions/3.2.1/bin/gem:8:in require': cannot load such file -- rubygems/gem_runner (LoadError)`


support for 1.0.9 (without dbus)

version 1.0.9 has no dbus support. a workaround is needed, i think the only possibility is xprop/wmctrl/xwininfo and blacklists...

thanks, i was waiting for the beta client. seems like its time to take a look.
regards

@mikar where did you read that it will be reintroduced?

@ysangkok Here you go.

Latest beta now has DBus support again, https://community.spotify.com/t5/Spotify-Announcements/Spotify-beta-1-0-13-for-Linux-released/td-p/1197675.

Thanks for the heads up
I'll check it out and see what needs fixing to adjust blockify soon


Available for sylius 1.12

Hello,
Thank you for everything you do.
Soon a capability with sylius 1.12?
Best regard

Hi @qhayat,

Thank you for everything you do.

No problem :)

Soon a capability with sylius 1.12?

Yes, we are working currently on upgrading our plugins to Sylius 1.12. I'll be back to you when have more details :)

Hi @senghe,
Thanks.
see you soon :)

Hi @senghe,
Could you tell me when this plugins will be available for Sylius 1.12?

Any update here ?

https://github.com/BitBagCommerce/SyliusCmsPlugin/releases/tag/v3.3.0

https://github.com/BitBagCommerce/SyliusCmsPlugin/releases/tag/v3.3.0

This tag is 7 commits behind master and does not include 1.12 support
Maybe @senghe can look into it ?

https://github.com/BitBagCommerce/SyliusCmsPlugin/releases/tag/v3.3.0

This tag is 7 commits behind master and does not include 1.12 support
Maybe @senghe can look into it ?

my bad, miss read, thank you

When I'm trying to install:
 Problem 1
    - Root composer.json requires bitbag/cms-plugin ^3.3 -> satisfiable by bitbag/cms-plugin[v3.3.0].
    - bitbag/cms-plugin v3.3.0 requires sylius/sylius ~1.8.0 || ~1.9.0 || ~1.10.0 || ~1.11.0 -> found sylius/sylius[v1.8.0-RC.1, ..., 1.11.x-dev] but it conflicts with your root composer.json require (^1.12).

@baatarchuluun You can use bitbah/cms-plugin:dev-master while we wait for the plugin to be correctly tagged

Support 1.12 into release 4.0


FBI dont install .cias

Hello, I tried to download a .cia from Animal Crossing on the FBI and there on the FBI there is no option to download when I select the .cia, I downloaded it from 2 different sites and it didn't work, can someone
to help?

Repeated #531


Cyberchef hangs on JSON Beautify (and maybe others)

Elasticsearch version: 7.5 (also exhibited with 7.4.x
Moloch version: 2.1.1
OS name and version: CentOS 7
How was Moloch built/installed: RPM
Provide logs, stack traces and steps to reproduce:
From browser JS Console:
8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209 Refused to execute script from 'http://<IP_ADDRESS>:8005/modules/Code.js' because its MIME type ('text/html') is not executable.
Uncaught (in promise) DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://<IP_ADDRESS>:8005/modules/Code.js' failed to load.
    at blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:2370
    at Array.forEach (<anonymous>)
    at self.loadRequiredModules (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:2211)
    at blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:432
    at u (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:3924)
    at Generator._invoke (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:3712)
    at Generator.A.forEach.e.<computed> [as next] (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:4347)
    at u (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:3924)
    at t (blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:4485)
    at blob:http://<IP_ADDRESS>:8005/8166f25f-6e25-4c1c-8e03-54a1d9d0dc9d:209:4789

When selecting the "JSON Beautify" module, the CyberChef instance hangs, showing only the processing animation.  I'm not sure if this happens with others (I've tested a few handfuls and it seems to be common with several JSON-related modules, but that's not exhaustive.)

I should also add that pasting the same hex bytes into a standalone CyberChef instance performs as expected, with the decode (or error) coming up immediately. (Tested with 9.11.5 and 9.11.14)

fixed in 2.1.2


Rails/UniqueValidationWithoutIndex errors on namespaced models

Expected behavior
Rubocop-rails should not output any errors
Actual behavior
Running rubocop outputs
An error occurred while Rails/UniqueValidationWithoutIndex cop was inspecting /Users/tim.landwerth/*/app/models/measuring_point_concept/sensor_import.rb:4:2.
undefined method `with_column?' for nil:NilClass

An error occurred while Rails/UniqueValidationWithoutIndex cop was inspecting /Users/tim.landwerth/*/app/models/measuring_point_concept/sensor_import.rb:4:2.
undefined method `with_column?' for nil:NilClass
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/mixin/active_record_helper.rb:55:in `resolve_relation_into_column'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:84:in `block in column_names'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:82:in `map!'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:82:in `column_names'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:50:in `find_schema_information'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:38:in `on_send'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:113:in `with_cop_error_handling'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:89:in `each'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in '
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in '
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:101:in `on_class'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in '
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:14:in `walk'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/commissioner.rb:74:in `investigate'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/team.rb:151:in `investigate_partial'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cop/team.rb:83:in `investigate'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:295:in `inspect_file'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:245:in `block in do_inspection_loop'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:277:in `block in iterate_until_no_changes'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:270:in `loop'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:270:in `iterate_until_no_changes'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:241:in `do_inspection_loop'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:121:in `block in file_offenses'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:146:in `file_offense_cache'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:120:in `file_offenses'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:111:in `process_file'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:90:in `block in each_inspected_file'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:89:in `each'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:89:in `reduce'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:89:in `each_inspected_file'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:78:in `inspect_files'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/runner.rb:39:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli/command/execute_runner.rb:21:in `execute_runner'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli/command/execute_runner.rb:13:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli/command.rb:10:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli/environment.rb:17:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli.rb:65:in `run_command'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli.rb:72:in `execute_runners'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/lib/rubocop/cli.rb:41:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/exe/rubocop:13:in `block in '
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.88.0/exe/rubocop:12:in `'
/Users/tim.landwerth/.rbenv/versions/2.6.6/bin/rubocop:23:in `load'
/Users/tim.landwerth/.rbenv/versions/2.6.6/bin/rubocop:23:in `'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:46:in `block in '
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/Users/tim.landwerth/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:34:in `'
/Users/tim.landwerth/.rbenv/versions/2.6.6/bin/bundle:23:in `load'
/Users/tim.landwerth/.rbenv/versions/2.6.6/bin/bundle:23:in `'

Steps to reproduce the problem
Sorry, I do not have a reproducible example yet - but I would think that namespaced models cause the problem, since it errors on a few files, which all have a namespace - e.g.:
class MeasuringPointConcept::SensorImport < ApplicationRecord
  belongs_to :node_import, class_name: "MeasuringPointConcept::NodeImport", optional: true

  validates :channel_number, presence: true, numericality: true, uniqueness: { scope: :node_import_id }
  validates :sensor_name, presence: true

  ...
end

RuboCop version
0.88.0 (using Parser <IP_ADDRESS>, rubocop-ast 0.3.0, running on ruby 2.6.6 x86_64-darwin18)

Thanks and keep up the great work 👍

I am also seeing this problem on Rubocop v0.90.0. Not sure what @Timmitry means by namespaced model, but the error happens on a model using single table inheritance in my project.

@Bialogs With namespaced I meant that the model is in a module, as can be seen by the MeasuringPointConcept::-prefix.
And if the schema might help, here it is:
  create_table "measuring_point_concept_sensor_imports", force: :cascade do |t|
    t.bigint "node_import_id"
    t.string "name"
    t.integer "channel_number"
    t.string "sensor_name"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["node_import_id"], name: "index_measuring_point_concept_sensor_imports"
  end

#349 fixes an error when the related table is not found.

I can confirm this behaviour. With my code it happens exactly after updating rubocop-rails from 2.7.1. (no error) to 2.8.0 (error mentioned above, undefined method 'with_column?' for nil:NilClass). It did not update any other gems or dependencies at the same time, so it seems to be related exactly to this minor update.
For me, it also seems to have to do with nested classes (models defined inside a module) and probably some mistake when resolving table names from that nested class name?
@Tietew: I can confirm your fix removes the error. But I am not sure if this implements the correct behaviour. See, the table does exist in our cases and is also declared in the schema.rb. Simply not running the cop against the concerned model/table seems like a hack. I believe, if I would add a validation without the unique index in such a nested class it would not be detected as an offense. If I have the time I will take a look into it myself and maybe comment your PR.

@Jay-Schneider Yes, you're right. But my PR just fixes the error -- in my case, the table really doesn't exist. This issue seems to be false negative problem.

Seeing this problem as well, in my case it is an extremely simple model:
class Achievement < FeedItem
  validates :text, presence: true, uniqueness: true
end

However, since it is using STI, the associated database table is called feed_items, not achievements.
  create_table "feed_items", id: :serial, force: :cascade do |t|
    t.integer "user_id"
    t.integer "team_id"
    t.integer "division_id"
    t.string "text"
    t.integer "challenge_id"
    t.integer "point_value"
    t.integer "flag_id"
    t.string "type"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
  end

This problem also occurs with Modules using ActiveRecord:
# rubocop:disable Rails/UniqueValidationWithoutIndex
module Sluggable
  extend ActiveSupport::Concern

  included do
    validates :slug, uniqueness: true, format: { with: /\A[\w-]*\z/ }, length: { maximum: 255 }

    # Generates not-yet-taken slug by appending numbers if necessary.
    def self.generate_unique_slug(slug)
      new_slug = slug.parameterize

      # XXX: LENGTH + 1 because PostgreSQL indexes characters in strings from 1
      max_duplicate = where("slug SIMILAR TO ?", "#{new_slug}-[0123456789]+")
                      .pick(
                        Arel.sql(format("MAX(CAST(SUBSTRING(slug FROM LENGTH(%<slug>s) + 1) AS numeric))",
                                        slug: ActiveRecord::Base.connection.quote("#{new_slug}-")))
                      )&.to_i
      # This loop should not be needed anymore, but let's keep it for the peace of mind.
      i = (max_duplicate || 0) + 1
      while find_by_slug(new_slug)
        new_slug = "#{slug} #{i}".parameterize
        i += 1
      end
      new_slug
    end

    def generate_slug
      if slug.blank? && name.present?
        self.slug = self.class.generate_unique_slug(name)
      end
    end
  end
end
# rubocop:enable Rails/UniqueValidationWithoutIndex

Error:
An error occurred while Rails/UniqueValidationWithoutIndex cop was inspecting /Users/olivar/RubymineProjects/customink-for-business/app/models/concerns/sluggable.rb:6:4.
undefined method `each_node' for nil:NilClass
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/mixin/active_record_helper.rb:14:in `find_set_table_name'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/mixin/active_record_helper.rb:35:in `each'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/mixin/active_record_helper.rb:35:in `to_a'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/mixin/active_record_helper.rb:35:in `table_name'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:49:in `find_schema_information'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-rails-2.8.0/lib/rubocop/cop/rails/unique_validation_without_index.rb:38:in `on_send'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:99:in `block (2 levels) in trigger_responding_cops'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:152:in `with_cop_error_handling'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:98:in `block in trigger_responding_cops'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:97:in `each'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:97:in `trigger_responding_cops'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:70:in `on_send'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:72:in `on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:173:in `on_block'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:72:in `on_block'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:72:in `on_begin'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:159:in `on_while'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:72:in `on_module'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-ast-0.3.0/lib/rubocop/ast/traversal.rb:14:in `walk'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/commissioner.rb:85:in `investigate'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/team.rb:152:in `investigate_partial'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cop/team.rb:83:in `investigate'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:296:in `inspect_file'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:246:in `block in do_inspection_loop'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:278:in `block in iterate_until_no_changes'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:271:in `loop'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:271:in `iterate_until_no_changes'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:242:in `do_inspection_loop'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:122:in `block in file_offenses'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:147:in `file_offense_cache'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:121:in `file_offenses'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:112:in `process_file'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:91:in `block in each_inspected_file'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:90:in `each'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:90:in `reduce'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:90:in `each_inspected_file'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:79:in `inspect_files'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/runner.rb:40:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli/command/execute_runner.rb:22:in `execute_runner'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli/command/execute_runner.rb:14:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli/command.rb:11:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli/environment.rb:18:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli.rb:65:in `run_command'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli.rb:72:in `execute_runners'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/lib/rubocop/cli.rb:41:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/exe/rubocop:13:in `block in <top (required)>'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/2.7.0/benchmark.rb:308:in `realtime'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-0.90.0/exe/rubocop:12:in `<top (required)>'
/Users/olivar/.rbenv/versions/2.7.1/bin/rubocop:23:in `load'
/Users/olivar/.rbenv/versions/2.7.1/bin/rubocop:23:in `<top (required)>'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/Users/olivar/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/Users/olivar/.rbenv/versions/2.7.1/bin/bundle:23:in `load'
/Users/olivar/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'

As you can see from the code-snippet, trying to disable the Cop has no effect

@coding-bunny That's strange... if you move the RuboCop directives to only around the validates lines, does it still occur? i.e.
# rubocop:disable Rails/UniqueValidationWithoutIndex
validates :slug, uniqueness: true, format: { with: /\A[\w-]*\z/ }, length: { maximum: 255 }
# rubocop:enable Rails/UniqueValidationWithoutIndex

@coding-bunny @andyw8 #349 has been merged. It also fixed an error when validates is not in class.

@coding-bunny That's strange... if you move the RuboCop directives to only around the validates lines, does it still occur? i.e.
# rubocop:disable Rails/UniqueValidationWithoutIndex
validates :slug, uniqueness: true, format: { with: /\A[\w-]*\z/ }, length: { maximum: 255 }
# rubocop:enable Rails/UniqueValidationWithoutIndex

Yes, it doesn't matter at all where those comments were placed.
Actually RuboCop threw me a warning saying that they are "useless" and should be removed even.

@coding-bunny @andyw8 #349 has been merged. It also fixed an error when validates is not in class.

Thank you!
Will wait on the next release then

@coding-bunny I had success disabling the check at the .rubocop.yml level.

Yeah but I don't want the check disabled or the file ignored.

I have a situation in which this is coming up in which I have the proper index, but I'm using a scoped unique constraint, AND the table is in a secondary database.

This issue has been resolved by https://github.com/rubocop-hq/rubocop-rails/pull/349 and RuboCop Rails 2.8.1 has been released. Can you upgrade to the latest RuboCop Rails?

@koic Do you have any thoughts on @Jay-Schneider critique of that PR in his message above?

@Tietew: I can confirm your fix removes the error. But I am not sure if this implements the correct behaviour. See, the table does exist in our cases and is also declared in the schema.rb. Simply not running the cop against the concerned model/table seems like a hack. I believe, if I would add a validation without the unique index in such a nested class it would not be detected as an offense. If I have the time I will take a look into it myself and maybe comment your PR.

I tend to agree with @Jay-Schneider. If the class that the validation is crashing on is actually a subclass of a model with a table in the database, shouldn't the real fix be to walk the inheritance up to the ActiveRecord Base class and check for a matching table?

I think the undefined method 'with_column?' for nil:NilClass error that is the subject of the issue has been resolved. Please open another issue or a PR to improve the message. This is a technical note. Since RuboCop is a static analysis tool, it cannot use run-time analysis like Module#ancestors. Thank you.


Publish 0.5.28

Still not available in Maven Central yet: http://mvnrepository.com/artifact/com.trueaccord.scalapb/scalapb-runtime_2.11/0.5.28

It is available, actually:
http://repo1.maven.org/maven2/com/trueaccord/scalapb/scalapb-runtime_2.11/0.5.28/
Just mvnrepository is slow to index.
On Sat, Jun 4, 2016 at 2:30 AM, Binh Nguyen<EMAIL_ADDRESS>wrote:

Still not available in Maven Central yet:
http://mvnrepository.com/artifact/com.trueaccord.scalapb/scalapb-runtime_2.11/0.5.28
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/trueaccord/ScalaPB/issues/124, or mute the thread
https://github.com/notifications/unsubscribe/AA-W_lUDHz4O5aBzXEI4YyqmGFEwDboIks5qIGTJgaJpZM4Itvcy
.

Sorry, I meant the sbt plugin:
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.trueaccord.scalapb#sbt-scalapb;0.5.28: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

I'll release 0.5.29 this weekend.

Released 0.5.29.


[feature] Config option for blog URI

It would be nice if there is a config option to set custom blog URI rather than the hard coded 'blog' used in all blog links..

You can host the blog anywhere you want, just change the blog view bane and update the cofnigs file for key postsListView

What about the hardcoded pagination links vendor/themsaid/katana-core/src/BlogPaginationBuilder.php?

It's just a prefix blog-page, if you think customising it is useful I'd be glad to merge a PR on that :) Just try to make it backward compatible by providing a default value blog-page in case of the absence of the new config key you'll be adding.

Cool, I'll send it this week.. Keep up the good work..

I'll close this for now as I'll rethink this feature and others..


Some tools missing

I have created a point cloud web visualization but the following tools are not visible or available:

circle measurement
north angle measurement
circular volume measurement
annotation

Any idea about what happened?
I am doing this with potree converter 1.6
Thank you in advance

Hi there. The version of Potree that PotreeConverter used to generate a page is an older version. I believe @m-schuetz will release version 1.7 very soon, which will include these features. If you would like to have them, they're already available on the develop branch of potree/potree. You will need to replace the potree library located in PotreeConverter\resources\page_template\libs\potree\ with a built version of the develop branch. Or, for your already-generated page, just replace the appropriate Potree assets with the latest versions.
If you need further assistance, lemme know. And be sure to check back in a couple weeks, because a new release is on the horizon. PotreeConverter will likely see some more attention soon after 🤞

Hi there. The version of Potree that PotreeConverter used to generate a page is an older version. I believe @m-schuetz will release version 1.7 very soon, which will include these features. If you would like to have them, they're already available on the develop branch of potree/potree. You will need to replace the potree library located in PotreeConverter\resources\page_template\libs\potree\ with a built version of the develop branch. Or, for your already-generated page, just replace the appropriate Potree assets with the latest versions.
If you need further assistance, lemme know. And be sure to check back in a couple weeks, because a new release is on the horizon. PotreeConverter will likely see some more attention soon after 🤞

Dear all,
thank you for all the contributions!
I have tried to use PotreeConverter version 1.7, I tried to insert an annotation and some measurements. Then I exported the Scene (Export-Potree) and I tried the "Viewer.loadProject". When I load the new file.html I can see the measurements but not the annotations.
Thank you in advance!

Dear all,
thank you for all the contributions!
I have tried to use PotreeConverter version 1.7, I tried to insert an annotation and some measurements. Then I exported the Scene (Export-Potree) and I tried the "Viewer.loadProject". When I load the new file.html I can see the measurements but not the annotations.
Thank you in advance!

@EucentreMM I think this has more to do with the core potree/potree project. PotreeConverter is the C++ point cloud writer which includes Potree for convenience. Your question would get more attention as an issue in the core repository.
Regardless, I'll try to help here. Did you use the same version of Potree when you exported the project as when you imported it with loadProject()? I ask because the save & load methods definitely attempt to save & load annotations. However, there may have been an inconsistency in the format between version 1.6 and 1.7 (beta). When I get back to my workstation, I'll look into this, but it would greatly help if you could share the exported JSON file and the console logs (if you know what these are - if not, that's okay).

Dear all,
thank you for all the contributions!
I have tried to use PotreeConverter version 1.7, I tried to insert an annotation and some measurements. Then I exported the Scene (Export-Potree) and I tried the "Viewer.loadProject". When I load the new file.html I can see the measurements but not the annotations.
Thank you in advance!

@EucentreMM I think this has more to do with the core potree/potree project. PotreeConverter is the C++ point cloud writer which includes Potree for convenience. Your question would get more attention as an issue in the core repository.
Regardless, I'll try to help here. Did you use the same version of Potree when you exported the project as when you imported it with loadProject()? I ask because the save & load methods definitely attempt to save & load annotations. However, there may have been an inconsistency in the format between version 1.6 and 1.7 (beta). When I get back to my workstation, I'll look into this, but it would greatly help if you could share the exported JSON file and the console logs (if you know what these are - if not, that's okay).

@midnight-dev
Thank you very much for the answer and the support. I have checked and I could confirm to you that I have used Potree Converter 1.7. Once I have converted the point cloud, I exported the Json file and then I modified the html file adding the  `loadProject()' command.  Propably I did something wrong in editing the html file. Please find attached the JSON file and a screen of the html file.
Thanks very much in advance.
Martina
Load_Project_issue.zip

@EucentreMM Hey Martina, so I took a peek. There's nothing wrong with your HTML. It's the JSON. There's just no annotation data inside it whatsoever.
This means that no annotation is being exported when you try to save the project data. I'm going to have to look into this, because even with an older JSON that has valid annotations has trouble loading.
The format and loader revisions may have broke the save functionality for annotations, and whatever changed is making the load feature skip over annotations anyway. Later today, I'll file a dedicated issue on the main repo if I don't find an existing one, and I'll link the issue here so you can follow it there.
@ismael3d Did the latest release address your original issue, or do you still have missing tools?

@midnight-dev thank you very much!

@EucentreMM Sorry for the delay, Martina. The last couple of days had a few unexpected events.
I noticed something seems off with the current build's handling of annotations, but I don't think it actually relates to this issue. More to the point, I found there was a difference in export functions. While I assumed everything was saved regardless of format, my local build only saves annotation data if exporting in the Potree format. The JSON option only saves the measurements, which explains why it outputs a file named something like "measure.json" - on the other hand, the "potree.json" file contains basically everything.
Try out the Potree export option that's located in the same area, on the right of JSON & DXF. Please lemme know if that works for you.

@midnight-dev
Thank you for the support.
I have tried to download the Potree.json file (as you kindly suggested). Even if the annotations are now present in the json file, loading the project  all the tools are loaded (measurements, section ...), with the excepiton of annotations (unfortunally).
Please find attached the Json file (if useful).
Thanks in advance,
Martina
potree.zip

@EucentreMM I've been able to confirm that this unexpected behavior with annotations exists on the current build of Potree (using your JSON and my own saved Potree data too), but I need a bit more time to pinpoint if it's the import or export that's to blame. I'll open up a proper issue with relevant details; hopefully, I'll have a solution by then, though I'm going to be busy working at the office all weekend.
Sorry for the delay, as I initially thought this would pretty quick to diagnose. May be a few more days - stay tuned.

Hi, i have a problem with a 1.6 version, the intensity doesn't upload
and in 1.7 version how "resources" folder i have to use?

and in 1.7 version how "resources" folder i have to use?

@patrimoniodigitale Try copying the binary file (e.g. PotreeConverter.exe on Windows) from its original location /PotreeConverter/ to the "resources" directory, meaning /PotreeConverter/resources/. Then run the binary file from that location (the resources folder) if you want to be able to generate HTML pages.
If you don't need to or don't want to generate pages, you shouldn't have to do this. Regardless, you can try this anyway because having an extra executable file in a different directory should not create any unwanted side effects.
If you're seeing an error or warning message regarding resources, please post it with the issue.

@midnight-dev thanks...
I copied the resources folder in to the binary file folder

the conversion works, but now linear measurements doesn't works,
volumetric ones yes

But if i use 1.6 version, works well the measurment but i don't have a intensity scalar field..
it possible to merge the both version?
if i change the "tool of measurment" from folder 1.6 to folder 1.7?
im a ignorant of this...
thanks a lot

I have solved for now, with a 1.7beta version

@patrimoniodigitale Glad to hear that! Did it work for you only after re-running the 1.7beta converter on your point cloud data, or did you include the 1.7beta core Potree JavaScript build in the /resources/page_template/libs/ path?
I want to make sure the solution is clear for anyone experiencing this with an older pre-release. Depending on what actually fixed it, we could write up instructions on how to backport a patch to an older version if someone can't upgrade to the latest release. 👌

Hi, i used directly the 1.7beta version...
Im testing the 1.7Desktp-master, work well for now, but it doesn't have a nodule_modules folder.. I imported the folder nodule_modules from PotreeDesktop_1.7PRE_2019.11.10_windows.
And after for upload the project i had copied the libs folder from 1.7Desktp-master.

i wrote a instructions but in italian language!!!

Hi,
Closing this because PotreeConverer 1.7 is now replaced by a complete rewrite, PotreeConverter 2.0, and the old version will no longer be worked on. The requested feature or issue may not apply to PotreeConverter 2.0, either because it is fixed or the feature is not yet ported.


(Dev Build) latexes get stuck on door hinges and repetitively spam open the door

https://user-images.githubusercontent.com/117211742/206879735-6bb97bec-454d-439e-b5cd-e6881fda5f7e.mp4

Reccomend watching with sound on


PIE is missing proxy auth

I will review your code and see If I can provide an update

Thanks for passing this along! I'll take a look into adding proxy authentication as well.


(Carbon) button icons are supposed to have 75% opacity and render incorrectly if the opacity is 100%

this might be the case for MW too but I'm not 100% sure

I'm not sure what you mean by this. Could you clarify?  Here's a comparison between Xbox 360 (Xenia) and PC.

Icons aside, they look exactly the same.

Not sure about this one either... I'll check against a real PS2 and PS3 but if you're comparing against PCSX2 it is probably an alpha blend bug.

I'm comparing against texture dumps, they're 75% opacity, and when I made it 100% when making my icons, they came out way too bright (so much that it started to wash out the colors)

And how are you dumping the textures exactly?
Here's the same spot on a real PS2 (captured with a camera):

Whatever you're doing is not a bug related to this project...

Circle image opened in GIMP.
This is the texture ripped from the PS3 version, but is the same one used in the PS2 version anyway.
No opacity is really visible here on any pixel other than the ones used for smoothing the image.
Whatever you did clipped the color values and caused them to be washed out in the resulting image. Maybe it is a TPK setting but that does not concern this project directly.
Closing.


Option for custom templates

For better customization of the generated output we want to use our own Slim templates. Please provide an option to customize the template folder.
At the moment the template folder is hardcoded in AsciidocConfluenceConverter.java
private static final String TEMPLATE_ROOT_CLASS_PATH_LOCATION = "org/sahli/asciidoc/confluence/publisher/converter/templates";
// ...
URL templateRootUrl = AsciidocConfluencePage.class.getClassLoader().getResource(TEMPLATE_ROOT_CLASS_PATH_LOCATION);

Hi @masooh, thank you for opening this ticket. What would be your need for customizing the Slim templates? In general, we try to keep the use of the Slim templates as an internal implementation detail, and not expose it for customization. For some features, there is a tight coupling between the markup generated by the Slim templates and the post-processing done by the code. This might break in case of Slim template customizations.
If we could better understand your need for customization, maybe there would be another way of supporting this customization.

Hi @cstettler, thank you for the feedback.
First use case is table of contents.

The Links of the generated table of contents are broken, therefore we want to use the TOC makro, see also #87
We want to make our TOC collapsible with the expand macro, probably realated to #157

Our block_toc.html.slim looks at the moment like this:
ac:structured-macro ac:name="expand" ac:schema-version="1"
  ac:parameter ac:name="title" Inhaltsverzeichnis
  ac:rich-text-body
    p
      ac:structured-macro ac:name="toc" ac:schema-version="1"
        ac:parameter ac:name="outline" true

So maybe this can be solved via the other mechanisms.
Second use case is the usage of the PlantUML render macro (https://avono-support.atlassian.net/wiki/spaces/PUML/pages/33816578/Macro+plantumlrender+and+flowchartrender):
At the moment plantuml diagrams are rendered by asciidoctor-diagram. We want the Confluence macro to do the rendering. Therefore we would have to change probably the block_listing.html.slim template.

Im chasing same use case where plantuml macro is used instead of standard ac:image.
One way to do this is to use some Maven tricks to override the default templates. Most likely everyone is aware of such hack, but I'm sharing here just in case:
`

4.0.0
com.1nce
ng-platform
0.0.0-SNAPSHOT
jar

org.apache.maven.plugins
maven-jar-plugin
3.3.0

jar

generate-sources

**/*.slim

org.sahli.asciidoc.confluence.publisher
asciidoc-confluence-publisher-maven-plugin
0.21.0

publishDoc

publish

test

com.1nce
ng-platform
0.0.0-SNAPSHOT
system
${project.build.directory}/ng-platform-0.0.0-SNAPSHOT.jar

org.asciidoctor
asciidoctorj
2.5.10
compile

org.asciidoctor
asciidoctorj-diagram
2.2.9
compile

org.asciidoctor
asciidoctorj-chart
1.0.0

./
UTF-8
https://1ncegmbh.atlassian.net/wiki
false
5
${env.CONFLUENCE_SPACE}
${env.CONFLUENCE_ANCESTOR}
${env.CONFLUENCE_USER}
${env.CONFLUENCE_TOKEN}
NG

Version ${env.VERSION_TAG}
false
KEEP_ORPHANS
${env.CONVERT_ONLY}

`
With this pom, a local jar file will be generated with your custom templates under "src/main/resources". You need to copy paste the whole converter "org" directory, and make your changes there. Then the confluence publisher plugin is overridden with a system path pointing to generated jar file. I know this looks hacky and nasty, but it will work with minimal involvement (no separate maven project and deployment into server to resolve dependency) and works in any CI pipeline, since there is no hardcoded paths. If you want to reuse your templates in multiple projects, you can of course have a dedicated maven project generating the jar file and push it to your private artefact registry...


Don't show the time-stamp if the messages received / sent   within 1 min difference.

Is there a way to show the time-stamp on messages with time difference of 1 or more minutes as for the messages in iPhone

At present that would be something you would have to customize yourself by changing the code in History.tsx, perhaps starting here: https://github.com/Microsoft/BotFramework-WebChat/blob/master/src/History.tsx#L214

Fixed in v4, please check out our Sample called timestamp-grouping for implementation!


missing "Bearer " prefix in "Authorization" header

CORS problem, browser won't send headers over http to another domain.


poetry run behaves incorrectly

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: macos 10.14.1
Poetry version: 0.12.8

Issue
poetry behaves incorrectly when I try to run poetry run whatever_command. There are different usecases I want to show.
Just getting the help
» poetry run --help

[FileNotFoundError]
[Errno 2] No such file or directory: '/Users/sobolev/Documents/github/wemake-djang
o-template/.venv/bin/--help': '/Users/sobolev/Documents/github/wemake-django-templ
ate/.venv/bin/--help'

run <args> (<args>)...

The same with debug mode:
» poetry run --help -vvv

[FileNotFoundError]
[Errno 2] No such file or directory: '/Users/sobolev/Documents/github/wemake-djang
o-template/.venv/bin/--help': '/Users/sobolev/Documents/github/wemake-django-templ
ate/.venv/bin/--help'

run <args> (<args>)...

Getting python location
Now let's move to shell commands:
» poetry run which python

[FileNotFoundError]
[Errno 2] No such file or directory: '/Users/sobolev/Documents/github/wemake-djang
o-template/.venv/bin/which': '/Users/sobolev/Documents/github/wemake-django-templa
te/.venv/bin/which'

run <args> (<args>)...

Executing python binaries
This is working fine:
» poetry run python --version
Python 3.6.6

» poetry run pytest --version
This is pytest version 4.0.0, imported from /Users/sobolev/Documents/github/wemake-django-template/.venv/lib/python3.6/site-packages/pytest.py
setuptools registered plugins:
  pytest-randomly-1.2.3 at /Users/sobolev/Documents/github/wemake-django-template/.venv/lib/python3.6/site-packages/pytest_randomly.py
  pytest-isort-0.2.1 at /Users/sobolev/Documents/github/wemake-django-template/.venv/lib/python3.6/site-packages/pytest_isort.py
  pytest-flake8-1.0.2 at /Users/sobolev/Documents/github/wemake-django-template/.venv/lib/python3.6/site-packages/pytest_flake8.py
  pytest-cookies-0.3.0 at /Users/sobolev/Documents/github/wemake-django-template/.venv/lib/python3.6/site-packages/pytest_cookies.py

Installation details
poetry is installed via curl. Here are my PATH and which poetry:
» echo $PATH | grep poetry
/Users/sobolev/.pyenv/shims:/Users/sobolev/.local/bin:/usr/local/opt/python2/libexec/bin:/usr/local/opt/gpg-agent/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/local/opt/php56/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:**/Users/sobolev/.poetry/bin**:/usr/local/opt/fzf/bin

» which poetry
/Users/sobolev/.poetry/bin/poetry

There was a regression in 0.12.8. This is already fixed on master and I will make a new bugfix release on Monday.